@cloudquery/plugin-ui-sdk
Version:
SDK for CloudQuery Plugin UI configuration
16 lines • 592 B
TypeScript
import { PluginConfigFormStep } from '../types';
/**
* Prepare secret values for the deployment
*/
export declare function prepareSecretValues(configSteps: PluginConfigFormStep[], values: Record<string, any>): {
envs: {
name: string;
value: string;
}[];
spec: Record<string, string | undefined>;
};
/**
* Find all the shouldRender functions for a given field name
*/
export declare function findShouldRenderFunctions(configSteps: PluginConfigFormStep[], fieldName: string): Array<(formValues: any) => boolean>;
//# sourceMappingURL=prepareSecretValues.d.ts.map