linstrom/frontend-reactive/app/models/custom-account-field.ts

17 lines
454 B
TypeScript
Raw Normal View History

import Model, { attr } from '@ember-data/model';
2024-11-20 14:39:24 +00:00
export default class CustomAccountField extends Model {
@attr declare createdAt: Date;
@attr declare updatedAt: Date;
@attr declare key: string;
@attr declare value: string;
@attr declare verified?: boolean;
@attr declare belongsToId: string;
2024-11-20 14:39:24 +00:00
}
declare module 'ember-data/types/registries/model' {
export default interface ModelRegistry {
customAccountField: CustomAccountField;
}
}