linstrom/frontend-reactive/app/models/emote.ts
mStar 5fb5dae31e Start work on account display
Also no idea wtf is going on with the models
2024-11-21 16:34:20 +01:00

17 lines
505 B
TypeScript

import Model, { attr } from '@ember-data/model';
import type MediaMetadataModel from './media-metadata';
import type OriginServer from './origin-server';
export default class Emote extends Model {
@attr declare metadataId: string;
@attr declare metadata: MediaMetadataModel;
@attr declare name: string;
@attr declare serverId: number;
@attr declare server: OriginServer;
}
declare module 'ember-data/types/registries/model' {
export default interface ModelRegistry {
emote: Emote;
}
}