Type aliasSDK v0.2.1

SchemaMismatchBehavior

A supporting type used in public signatures. It is not exported from the SDK’s public entry point.

Declaration #

types.tsTypeScript
export type SchemaMismatchBehavior = "throw" | "resend-queue" | ((error: unknown, context: {
    templateName: string;
    templateType: "email" | "sms" | "document" | "notification";
    environment: string;
    project: string;
    apiKey?: string;
    templateVersion?: string;
    variables: unknown;
    sendToResendQueue: () => Promise<void>;
}) => void | Promise<void>);

Source: packages/client/src/core/types.ts:5

Generated from TypeScript source.d65ea8f71fbf