component-dbs-core
Version:
DTO objects shared among device backend
12 lines (11 loc) • 348 B
TypeScript
import { AWSAppSyncClient, AUTH_TYPE } from 'aws-appsync';
import 'isomorphic-fetch';
export declare const oidcAuth: {
type: AUTH_TYPE;
jwtToken: () => string | undefined;
};
export declare const apiKeyAuth: {
type: AUTH_TYPE;
apiKey: string;
};
export declare const createClient: (url: string, auth: any) => AWSAppSyncClient<any>;