Updated tiles logics
This commit is contained in:
13
src/types.ts
13
src/types.ts
@ -10,6 +10,14 @@ export type Asset = {
|
||||
type: 'base64' | 'link'
|
||||
}
|
||||
|
||||
export type Tile = {
|
||||
id: string
|
||||
name: string
|
||||
tags: string[]
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
}
|
||||
|
||||
export type Object = {
|
||||
id: string
|
||||
name: string
|
||||
@ -65,11 +73,6 @@ export type CharacterItem = {
|
||||
quantity: number
|
||||
}
|
||||
|
||||
export type TileTag = {
|
||||
tile: string
|
||||
tags: any // Using 'any' for Json type, consider using a more specific type if possible
|
||||
}
|
||||
|
||||
export type Zone = {
|
||||
id: number
|
||||
name: string
|
||||
|
Reference in New Issue
Block a user