Skip to content

NotificationConsentStatus

Defined in: src/client/notification-consent.ts:30

Whether the user has allowed this application to notify them.

A record rather than a bare boolean, mirroring what the canister answers: a second fact about the decision can then be reported without a breaking change to anything that already reads granted.

granted: boolean

Defined in: src/client/notification-consent.ts:31