Start work on account display
Also no idea wtf is going on with the models
This commit is contained in:
parent
9acecfd7f6
commit
5fb5dae31e
14 changed files with 225 additions and 152 deletions
|
@ -1,15 +1,15 @@
|
|||
import Model, { attr } from '@ember-data/model'
|
||||
import type EmoteModel from './emote'
|
||||
import Model, { attr } from '@ember-data/model';
|
||||
import type EmoteModel from './emote';
|
||||
|
||||
export default class Reaction extends Model {
|
||||
@attr declare noteId: string
|
||||
@attr declare reactorId: string
|
||||
@attr declare emoteId: number
|
||||
@attr declare emote: EmoteModel
|
||||
@attr declare noteId: string;
|
||||
@attr declare reactorId: string;
|
||||
@attr declare emoteId: number;
|
||||
@attr declare emote: EmoteModel;
|
||||
}
|
||||
|
||||
declare module 'ember-data/types/registries/model' {
|
||||
export default interface ModelRegistry {
|
||||
reaction: Reaction
|
||||
reaction: Reaction;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue