Updated entities
This commit is contained in:
parent
42e7b7312e
commit
cfae96bde8
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
@ -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';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user