Start work on account display

Also no idea wtf is going on with the models
This commit is contained in:
Melody Becker 2024-11-21 16:34:20 +01:00
parent 9acecfd7f6
commit 5fb5dae31e
14 changed files with 225 additions and 152 deletions

View file

@ -1,16 +1,16 @@
import Model, { attr } from '@ember-data/model'
import Model, { attr } from '@ember-data/model';
export default class Relation extends Model {
@attr declare createdAt: Date
@attr declare updatedAt: Date
@attr declare fromId: string
@attr declare toId: string
@attr declare requested: boolean
@attr declare accepted: boolean
@attr declare createdAt: Date;
@attr declare updatedAt: Date;
@attr declare fromId: string;
@attr declare toId: string;
@attr declare requested: boolean;
@attr declare accepted: boolean;
}
declare module 'ember-data/types/registries/model' {
export default interface ModelRegistry {
relation: Relation
relation: Relation;
}
}