2024-11-20 12:39:34 +00:00
|
|
|
import Model, { attr } from '@ember-data/model'
|
|
|
|
|
2024-11-20 15:11:11 +00:00
|
|
|
export default class OriginServer extends Model {
|
2024-11-20 12:39:34 +00:00
|
|
|
@attr() declare serverType: string
|
|
|
|
@attr() declare name: string
|
|
|
|
@attr() declare iconUrl: string
|
|
|
|
@attr() declare isSelf: boolean
|
|
|
|
}
|
2024-11-20 15:11:11 +00:00
|
|
|
|
|
|
|
declare module 'ember-data/types/registries/model' {
|
|
|
|
export default interface ModelRegistry {
|
|
|
|
originServer: OriginServer
|
|
|
|
}
|
|
|
|
}
|