Convert secrets, complete secrets in called workflow

This commit is contained in:
Beth Brennan
2023-03-07 15:11:16 -05:00
parent 94e537e072
commit 87e3131958
11 changed files with 226 additions and 14 deletions
@@ -158,10 +158,10 @@ export type WorkflowDispatchConfig = {
};
export type WorkflowCallConfig = {
inputs: {[inputName: string]: InputConfig};
inputs?: {[inputName: string]: InputConfig};
secrets?: {[secretName: string]: SecretConfig};
// TODO - these are supported in C# and Go but not in TS yet
// outputs: { [outputName: string]: OutputConfig }
// secrets: { [secretName: string]: SecretConfig }
};
export enum InputType {
@@ -179,6 +179,11 @@ export type InputConfig = {
options?: string[];
};
export type SecretConfig = {
description?: string;
required?: boolean;
};
export type ScheduleConfig = {
cron: string;
};