Type aliasSDK v0.3.0

PushTarget

import type { PushTarget } from '@usepapier/client/base';

Declaration #

types.tsTypeScript
export type PushTarget = {
    type: "web-push";
    subscription: WebPushSubscription;
} | {
    type: "fcm";
    token: string;
} | {
    type: "papier-subscription";
    id: string;
} | {
    type: "papier-user";
    userId: string;
};

Source: packages/client/src/push/types.ts:9

Generated from TypeScript source.b1e9ee529902