InterfaceSDK v0.2.1

BaseAdapter

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

Declaration #

types.tsTypeScript
export interface BaseAdapter<InputType> {
    name: string;
    send: (input: InputType) => Promise<{
        id?: string;
        provider?: string;
    }>;
}

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

Members 2

name: string;

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

send: (input: InputType) => Promise<{
    id?: string;
    provider?: string;
}>;

Parameters

input
InputType

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

Generated from TypeScript source.d65ea8f71fbf