JS frontend stuff
Move old ember frontend to properly named folder Add vue based new frontend
This commit is contained in:
parent
8947d97825
commit
88398334fe
254 changed files with 837 additions and 0 deletions
15
frontend-old-ember/app/models/reaction.ts
Normal file
15
frontend-old-ember/app/models/reaction.ts
Normal file
|
@ -0,0 +1,15 @@
|
|||
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;
|
||||
}
|
||||
|
||||
declare module 'ember-data/types/registries/model' {
|
||||
export default interface ModelRegistry {
|
||||
reaction: Reaction;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue