@cloudquery/plugin-config-ui-lib
Version:
Plugin configuration UI library for CloudQuery Cloud App
38 lines • 1.2 kB
TypeScript
import { ReactNode } from 'react';
/**
* @public
*/
export interface CloudAppMockProps {
children: ReactNode;
/** Initial values for the form */
initialValues?: {
name: string;
migrateMode?: 'forced' | 'safe' | undefined;
envs: Array<{
name: string;
value: string;
}>;
spec: Record<string, any> | undefined;
tables?: string[] | undefined;
skipTables?: string[] | undefined;
writeMode?: 'append' | 'overwrite' | 'overwrite-delete-stale' | undefined;
};
/** CloudQuery auth token for the form (required only if you plan to make API calls from the form) */
authToken?: string;
/** Team name for the form */
teamName: string;
/** User information */
user: {
id: string;
name: string;
email: string;
};
}
/**
* This component is used in the development mode of the custom plugin config UI
* and is used to mock the Cloud App.
*
* @public
*/
export declare function CloudAppMock({ children, initialValues, authToken, teamName, user, }: CloudAppMockProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=cloudAppMock.d.ts.map