Beignet API reference
    Preparing search index...

    Interface NotificationPreferenceArgs<Payload, Ctx>

    Arguments passed to an app-owned notification preference evaluator.

    interface NotificationPreferenceArgs<
        Payload extends StandardSchema = StandardSchema,
        Ctx = unknown,
    > {
        channel: string;
        ctx: Ctx;
        metadata?: Record<string, unknown>;
        notification: NotificationDef<string, Payload, Ctx>;
        payload: InferSchemaOutput<Payload>;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index
    channel: string

    Channel name being delivered.

    ctx: Ctx

    Handler context.

    metadata?: Record<string, unknown>

    Optional metadata supplied by the notification sender.

    notification: NotificationDef<string, Payload, Ctx>

    Notification definition being delivered.

    Parsed notification payload.