linstrom/frontend-reactive/app/models/origin-server.ts
mStar 5fb5dae31e Start work on account display
Also no idea wtf is going on with the models
2024-11-21 16:34:20 +01:00

14 lines
377 B
TypeScript

import Model, { attr } from '@ember-data/model';
export default class OriginServer extends Model {
@attr() declare serverType: string;
@attr() declare name: string;
@attr() declare iconUrl: string;
@attr() declare isSelf: boolean;
}
declare module 'ember-data/types/registries/model' {
export default interface ModelRegistry {
originServer: OriginServer;
}
}