Refactor subscription format

Place the actual push subscription data into a push property on the
subscription so that other properties can be added to it.
This commit is contained in:
Hornwitser 2025-03-07 12:30:39 +01:00
parent b4934005ae
commit abdcc83eb9
5 changed files with 29 additions and 11 deletions

4
shared/types/account.d.ts vendored Normal file
View file

@ -0,0 +1,4 @@
export interface Subscription {
type: "push",
push: PushSubscriptionJSON,
}