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

18 lines
496 B
TypeScript
Raw Normal View History

2024-11-20 14:39:24 +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
export default class Emote extends Model {
2024-11-20 14:39:24 +00:00
@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
}