Skip to content

Commit

Permalink
Add UnlockableItem interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Gigabyte5671 committed Jan 15, 2023
1 parent 0cfbd59 commit b753cf2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions interfaces/Items.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@ export interface Item {
type: string,
category?: string
}

export interface UnlockableItem extends Item {
id: number,
purchaseIndex: number,
unlocked: boolean
}
2 changes: 1 addition & 1 deletion interfaces/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export type { Credentials, HashedCredentials } from './Credentials.js';
export type { HiRezAccount, HiRezCustomGameServer } from './Data.js';
export type { EnumTree } from './Enumfields.js';
export type { Item } from './Items.js';
export type { Item, UnlockableItem } from './Items.js';
export type { Map } from './Maps.js';
export type { Region } from './Regions.js';
export type { LoginServer, GameServer } from './Servers.js';
Expand Down

0 comments on commit b753cf2

Please sign in to comment.