2024-11-20 14:39:24 +00:00
|
|
|
import Model, { attr } from '@ember-data/model'
|
|
|
|
import type MediaMetadataModel from './media-metadata'
|
2024-11-20 15:11:11 +00:00
|
|
|
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-20 14:39:24 +00:00
|
|
|
@attr declare metadataId: string
|
|
|
|
@attr declare metadata: MediaMetadataModel
|
|
|
|
@attr declare name: string
|
|
|
|
@attr declare serverId: number
|
2024-11-20 15:11:11 +00:00
|
|
|
@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
|
|
|
}
|