1
0
forked from noxious/server

Temp. fix for populating

This commit is contained in:
2025-01-03 21:41:37 +01:00
parent 4d50edd5dd
commit e843213b0a
4 changed files with 8 additions and 9 deletions

View File

@ -23,7 +23,7 @@ export class CharacterHair extends BaseEntity {
@Property()
isSelectable = false
@ManyToOne({ nullable: true })
@ManyToOne()
sprite?: Sprite
setId(id: UUID) {

View File

@ -26,7 +26,7 @@ export class CharacterType extends BaseEntity {
@Property()
isSelectable = false
@ManyToOne({ nullable: true })
@ManyToOne()
sprite?: Sprite
@Property()

View File

@ -17,7 +17,7 @@ export class Item extends BaseEntity {
@Property()
name!: string
@Property({ nullable: true })
@Property()
description?: string
@Enum(() => ItemType)
@ -29,7 +29,7 @@ export class Item extends BaseEntity {
@Enum(() => ItemRarity)
rarity: ItemRarity = ItemRarity.COMMON
@ManyToOne(() => Sprite, { nullable: true })
@ManyToOne(() => Sprite, )
sprite?: Sprite
@Property()