1
0
forked from noxious/server
This commit is contained in:
2025-02-07 20:07:36 +01:00
parent 37f2cd90e6
commit fae428f239
10 changed files with 38 additions and 43 deletions

View File

@ -22,7 +22,7 @@ export class BaseMap extends BaseEntity {
height = 10
@Property({ type: 'json', nullable: true })
tiles?: any
tiles: Array<Array<string>> = []
@Property()
pvp = false

View File

@ -1,6 +1,6 @@
import { randomUUID } from 'node:crypto'
import { Entity, ManyToOne, PrimaryKey, Property } from '@mikro-orm/core'
import { ManyToOne, PrimaryKey, Property } from '@mikro-orm/core'
import { BaseEntity } from '#application/base/baseEntity'
import { UUID } from '#application/types'