type: "notification";packages/client/src/core/surfaces.ts:31
import type { BuiltNotificationPayload } from '@usepapier/client/base';export interface BuiltNotificationPayload<TPayload = any> {
type: "notification";
templateName: string;
projectName: string;
to: {
fcmToken?: string;
apnToken?: string;
webPushSubscription?: {
endpoint: string;
keys: {
p256dh: string;
auth: string;
};
};
};
data?: TPayload;
}Source: packages/client/src/core/surfaces.ts:30
type: "notification";packages/client/src/core/surfaces.ts:31
templateName: string;packages/client/src/core/surfaces.ts:32
projectName: string;packages/client/src/core/surfaces.ts:33
to: {
fcmToken?: string;
apnToken?: string;
webPushSubscription?: {
endpoint: string;
keys: {
p256dh: string;
auth: string;
};
};
};packages/client/src/core/surfaces.ts:34
data?: TPayload;packages/client/src/core/surfaces.ts:39
d65ea8f71fbf