Implement existing API types
This commit is contained in:
parent
e76490f637
commit
a6291fd098
14 changed files with 108 additions and 21 deletions
9
frontend-reactive/app/models/reaction.ts
Normal file
9
frontend-reactive/app/models/reaction.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
import Model, { attr } from '@ember-data/model'
|
||||
import type EmoteModel from './emote'
|
||||
|
||||
export default class ReactionModel extends Model {
|
||||
@attr declare noteId: string
|
||||
@attr declare reactorId: string
|
||||
@attr declare emoteId: number
|
||||
@attr declare emote: EmoteModel
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue