2024-11-21 15:34:20 +00:00
|
|
|
import Model, { attr } from '@ember-data/model';
|
|
|
|
import type MediaMetadataModel from './media-metadata';
|
|
|
|
import type OriginServer from './origin-server';
|
2024-11-20 14:39:24 +00:00
|
|
|
|
2024-11-20 15:11:11 +00:00
|
|
|
export default class Emote extends Model {
|
2024-11-21 15:34:20 +00:00
|
|
|
@attr declare metadataId: string;
|
|
|
|
@attr declare metadata: MediaMetadataModel;
|
|
|
|
@attr declare name: string;
|
|
|
|
@attr declare serverId: number;
|
|
|
|
@attr declare server: OriginServer;
|
2024-11-20 15:11:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
declare module 'ember-data/types/registries/model' {
|
|
|
|
export default interface ModelRegistry {
|
2024-11-21 15:34:20 +00:00
|
|
|
emote: Emote;
|
2024-11-20 15:11:11 +00:00
|
|
|
}
|
2024-11-20 14:39:24 +00:00
|
|
|
}
|