feat: add 'amount' & 'message' to NotificationRecord normalizer - ditto:zap

This commit is contained in:
P. Reis 2024-09-02 09:20:08 -03:00
parent 6560dac86d
commit a825925193
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@ export const NotificationRecord = ImmutableRecord({
emoji_url: null as string | null, // pleroma:emoji_reaction
id: '',
name: '', // ditto:name_grant
amount: 0, // ditto:zap
message: '', // ditto:zap
status: null as EmbeddedEntity<Status>,
target: null as EmbeddedEntity<Account>, // move
type: '',