InterfaceSDK v0.2.1

PapierOptions

import type { PapierOptions } from '@usepapier/client/base';

Declaration #

types.tsTypeScript
export interface PapierOptions {
    project: string;
    apiKey?: string;
    environment?: string;
    defaultLocale?: string;
    emailConfig?: EmailConfig;
    smsConfig?: SMSConfig;
    onSchemaMismatch?: {
        behavior: SchemaMismatchBehavior;
    };
}

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

Members 7

project: string;

packages/client/src/core/types.ts:93

apiKey

Optional
apiKey?: string;

packages/client/src/core/types.ts:94

environment

Optional
environment?: string;

packages/client/src/core/types.ts:95

defaultLocale?: string;

packages/client/src/core/types.ts:96

emailConfig

Optional
emailConfig?: EmailConfig;

packages/client/src/core/types.ts:98

smsConfig

Optional
smsConfig?: SMSConfig;

packages/client/src/core/types.ts:100

onSchemaMismatch?: {
    behavior: SchemaMismatchBehavior;
};

packages/client/src/core/types.ts:102

Generated from TypeScript source.d65ea8f71fbf