Skip to content

Commit

Permalink
chore: add type
Browse files Browse the repository at this point in the history
  • Loading branch information
cinnabarhorse committed Sep 13, 2024
1 parent b240713 commit 0b4f0eb
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion scripts/itemTypeHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,19 @@ export type rarityLevel =
| "mythical"
| "godlike";

export type Author =
| "GFA"
| "z_tef"
| "Laggin"
| "XIBOT"
| "xibot"
| "oggysk"
| "Oliver Spoon"
| "[GFA] z_tef"
| "THE FORGE"
| "soju"
| "SOJU";

export interface ItemTypeInputNew {
name: string;
description: string;
Expand All @@ -88,7 +101,7 @@ export interface ItemTypeInputNew {
canBeTransferred: boolean;
rarityLevel: rarityLevel;
setId: BigNumberish[];
author: string;
author: Author;
dimensions: Dimensions;
allowedCollaterals: BigNumberish[];
ghstPrice: BigNumberish | BigNumberish;
Expand Down

0 comments on commit 0b4f0eb

Please sign in to comment.