Updated entities

This commit is contained in:
Dennis Postma 2024-12-24 22:56:12 +01:00
parent 42e7b7312e
commit cfae96bde8
4 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
import { Collection, Entity, ManyToOne, OneToMany, PrimaryKey, Property } from '@mikro-orm/core'; import { Collection, Entity, ManyToOne, OneToMany, PrimaryKey, Property } from '@mikro-orm/core';
import { Character } from './character'; import { Character } from './character';
import { Sprite } from './sprite'; import { Sprite } from './sprite';
import { CharacterGender } from '../utilities/enums'; import { CharacterGender } from '#utilities/enums';
@Entity() @Entity()
export class CharacterHair { export class CharacterHair {

View File

@ -1,7 +1,7 @@
import { Collection, Entity, ManyToOne, OneToMany, PrimaryKey, Property } from '@mikro-orm/core'; import { Collection, Entity, ManyToOne, OneToMany, PrimaryKey, Property } from '@mikro-orm/core';
import { Character } from './character'; import { Character } from './character';
import { Sprite } from './sprite'; import { Sprite } from './sprite';
import { CharacterGender, CharacterRace } from '../utilities/enums'; import { CharacterGender, CharacterRace } from '#utilities/enums';
@Entity() @Entity()
export class CharacterType { export class CharacterType {

View File

@ -1,7 +1,7 @@
import { Collection, Entity, ManyToOne, OneToMany, PrimaryKey, Property } from '@mikro-orm/core'; import { Collection, Entity, ManyToOne, OneToMany, PrimaryKey, Property } from '@mikro-orm/core';
import { Sprite } from './sprite'; import { Sprite } from './sprite';
import { CharacterItem } from './characterItem'; import { CharacterItem } from './characterItem';
import { ItemType, ItemRarity } from '../utilities/enums'; import { ItemType, ItemRarity } from '#utilities/enums';
@Entity() @Entity()
export class Item { export class Item {

View File

@ -1,4 +1,4 @@
import { Collection, Entity, OneToMany, PrimaryKey, Property } from '@mikro-orm/core'; import { Collection, Entity, OneToMany, PrimaryKey } from '@mikro-orm/core';
import { Character } from './character'; import { Character } from './character';
import { Chat } from './chat'; import { Chat } from './chat';