Anchorage API reference
    Preparing search index...
    interface SubscriptionRouterOptions {
        audit?: SignalProviderAuditSink;
        basePath?: string;
        knownProviders?: readonly string[];
        maxBodyBytes?: number;
        reconcilePolling?: ReconcileSignalProviderPolling;
        resolve: TenantResolver;
        roles?: readonly ApprovalRole[];
        subscriptions: SubscriptionStoreFactory;
    }
    Index

    Properties

    basePath?: string

    Route prefix. Default '/api/threads'. Routes: <base>/:threadId/subscriptions.

    knownProviders?: readonly string[]

    The provider ids a subscription may name. Absent ⇒ any PROVIDER_ID_PATTERN slug.

    maxBodyBytes?: number

    Max request body in bytes. Must be a nonnegative safe integer; zero denies every non-empty mutation body. Default 4096.

    Reconcile the tenant provider-host alarm after a subscription row commits. Absent preserves the original row-only behavior.

    Authenticate, validate the tenant ID, and bind it; undefined means 401.

    roles?: readonly ApprovalRole[]

    Who may manage subscriptions. Default RUN_START_ROLES (operator/admin).

    Tenant-bound store factory, bound per request to the resolved tenant.