@archastro/sdk
    Preparing search index...

    Interface NotificationPreference

    A single per-channel notification preference for the authenticated viewer, scoped to a notification type and optional app.

    interface NotificationPreference {
        app_id?: string;
        channel: string;
        created_at?: string;
        enabled: boolean;
        id: string;
        type: string;
        updated_at?: string;
    }
    Index

    Properties

    app_id?: string

    App this preference is scoped to (app_...). null indicates a system-level (no-app) slot that applies across all apps.

    channel: string

    Delivery channel for this preference, e.g. "email". The in_app channel is always active and never has a preference row.

    created_at?: string

    When this preference record was created (ISO 8601).

    enabled: boolean

    Whether delivery over this channel is enabled for the given type-and-app combination. false suppresses delivery even when the notification is triggered.

    id: string

    Preference record ID (ntfp_...).

    type: string

    Notification type in wire-format. Built-in types use their atom name, e.g. "app_info" or "billing_alert". Custom notification types use the form "custom:<lookup_key>".

    updated_at?: string

    When this preference record was last modified (ISO 8601).