linstrom/frontend-reactive/app/models/media-metadata.ts

19 lines
501 B
TypeScript
Raw Normal View History

import Model, { attr } from '@ember-data/model';
2024-11-20 14:39:24 +00:00
export default class MediaMetadata extends Model {
@attr declare createdAt: Date;
@attr declare updatedAt: Date;
@attr declare isRemote: boolean;
@attr declare url: string;
@attr declare mimeType: string;
@attr declare name: string;
@attr declare altText: string;
@attr declare blurred: boolean;
2024-11-20 14:39:24 +00:00
}
declare module 'ember-data/types/registries/model' {
export default interface ModelRegistry {
mediaMetadata: MediaMetadata;
}
}