linstrom/frontend-reactive/app/models/emote.ts

18 lines
505 B
TypeScript
Raw Normal View History

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
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;
}
2024-11-20 14:39:24 +00:00
}