@parallelworks/ui 0.17.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +86 -6
- package/dist/ai/adapter/memoryStore.d.ts +8 -0
- package/dist/ai/adapter/mock/index.d.ts +2 -0
- package/dist/ai/adapter/mock/index.js +81 -0
- package/dist/ai/adapter/mock/mockAdapter.d.ts +4 -0
- package/dist/ai/adapter/openai/createOpenAIStream.d.ts +9 -0
- package/dist/ai/adapter/openai/errors.d.ts +3 -0
- package/dist/ai/adapter/openai/index.d.ts +6 -0
- package/dist/ai/adapter/openai/index.js +334 -0
- package/dist/ai/adapter/openai/openaiAdapter.d.ts +9 -0
- package/dist/ai/adapter/openai/responses.d.ts +4 -0
- package/dist/ai/adapter/openai/sse.d.ts +24 -0
- package/dist/ai/adapter/openai/wire.d.ts +40 -0
- package/dist/ai/adapter/types.d.ts +131 -0
- package/dist/ai/agent/classifier.d.ts +2 -0
- package/dist/ai/agent/diff.d.ts +35 -0
- package/dist/ai/agent/diffHighlight.d.ts +6 -0
- package/dist/ai/agent/index.d.ts +6 -0
- package/dist/ai/agent/permissions.d.ts +11 -0
- package/dist/ai/agent/toolfmt.d.ts +18 -0
- package/dist/ai/agent/transcript.d.ts +38 -0
- package/dist/ai/ai.css +325 -0
- package/dist/ai/components/AllocationSelector.d.ts +4 -0
- package/dist/ai/components/AttachmentManager.d.ts +1 -0
- package/dist/ai/components/AttachmentUpload.d.ts +24 -0
- package/dist/ai/components/BlockedGroupBanner.d.ts +1 -0
- package/dist/ai/components/BranchNavigator.d.ts +8 -0
- package/dist/ai/components/ChatEmptyState.d.ts +3 -0
- package/dist/ai/components/ChatInput.d.ts +45 -0
- package/dist/ai/components/ChatLayout.d.ts +5 -0
- package/dist/ai/components/ChatMessage.d.ts +24 -0
- package/dist/ai/components/ChatMessageList.d.ts +35 -0
- package/dist/ai/components/ChatSidebar.d.ts +5 -0
- package/dist/ai/components/ChatThread.d.ts +3 -0
- package/dist/ai/components/ComposerChrome.d.ts +18 -0
- package/dist/ai/components/ComposerFrame.d.ts +16 -0
- package/dist/ai/components/DragOverlay.d.ts +5 -0
- package/dist/ai/components/ModelSelector.d.ts +6 -0
- package/dist/ai/components/ShareDialog.d.ts +11 -0
- package/dist/ai/components/SlashMenu.d.ts +28 -0
- package/dist/ai/components/agent/ActivityLine.d.ts +21 -0
- package/dist/ai/components/agent/AgentMessageParts.d.ts +54 -0
- package/dist/ai/components/agent/PermissionPicker.d.ts +11 -0
- package/dist/ai/components/attachmentKeys.d.ts +4 -0
- package/dist/ai/core/ChatProvider.d.ts +66 -0
- package/dist/ai/core/KeyboardShortcutsProvider.d.ts +5 -0
- package/dist/ai/core/chatReducer.d.ts +114 -0
- package/dist/ai/core/config.d.ts +47 -0
- package/dist/ai/core/events.d.ts +1 -0
- package/dist/ai/core/exportConversation.d.ts +4 -0
- package/dist/ai/core/greeting.d.ts +3 -0
- package/dist/ai/core/parts.d.ts +11 -0
- package/dist/ai/core/useDragDrop.d.ts +14 -0
- package/dist/ai/core/useKeyboardShortcuts.d.ts +12 -0
- package/dist/ai/core/useSSEStream.d.ts +34 -0
- package/dist/ai/index.d.ts +40 -0
- package/dist/ai/index.js +6645 -0
- package/dist/ai/strings.d.ts +167 -0
- package/dist/ai/types.d.ts +236 -0
- package/dist/ai/ui/Avatar.d.ts +8 -0
- package/dist/ai/ui/Dropdown.d.ts +31 -0
- package/dist/ai/ui/Markdown.d.ts +8 -0
- package/dist/ai/ui/Notice.d.ts +21 -0
- package/dist/ai/ui/buttons.d.ts +1 -0
- package/dist/ai/ui/codeBreaks.d.ts +16 -0
- package/dist/ai/ui/prose.d.ts +1 -0
- package/dist/ai/ui/sidebar.d.ts +81 -0
- package/dist/ai/utils.d.ts +4 -0
- package/dist/assets/{editor.worker-CuBRIwi-.js → editor.worker-BmHUIVG4.js} +194 -163
- package/dist/assets/{json.worker-8ytS02vz.js → json.worker-D8bJ92nw.js} +384 -338
- package/dist/assets/{yaml.worker-DJC-VUcv.js → yaml.worker-C4gyGAko.js} +15657 -13823
- package/dist/chunks/{CodePreviewEditor-UAtnpmOV.js → CodePreviewEditor-YqQBz1YL.js} +2 -2
- package/dist/chunks/ConfirmModal-aOR4O1QE.js +79 -0
- package/dist/chunks/{lib-CUTRDpa6.js → FieldWrapper-Cszwg-4B.js} +52 -55
- package/dist/chunks/{CreateModal-BbV5cTj7.js → Markdown-CM-FenNE.js} +25 -97
- package/dist/chunks/Monaco-DJ8MW-Dq.js +110 -0
- package/dist/chunks/{PageHeader-MxuOs9cH.js → PageHeader-0kG_iypP.js} +170 -105
- package/dist/chunks/{Provider-DHmZ3v9i.js → Provider-CDYurraE.js} +60 -24
- package/dist/chunks/{SwitchToggle-BRQoEwLZ.js → SwitchToggle-DShNdcao.js} +143 -140
- package/dist/chunks/{Table-C6JdFFiJ.js → Table-DU2MW8xz.js} +6 -4
- package/dist/chunks/{Tooltip-n9w7Tkt1.js → Tooltip-K5HJr4_p.js} +32 -5
- package/dist/chunks/duration-BOv8Phl8.js +17 -0
- package/dist/chunks/{editor-mNznodJN.js → editor-Dk1rbV75.js} +33 -19
- package/dist/chunks/focus-D_iZJTW1.js +7 -0
- package/dist/chunks/{list-7k0eaI5N.js → list-CJm875m7.js} +497 -379
- package/dist/chunks/logviewer-BTKuQWzw.js +828 -0
- package/dist/chunks/memoryStore-CC91S5LP.js +152 -0
- package/dist/chunks/types-Yy0NrerF.js +11 -0
- package/dist/components/AddMenu.d.ts +1 -0
- package/dist/components/Avatar.d.ts +13 -0
- package/dist/components/Breadcrumbs.d.ts +1 -1
- package/dist/components/Dropdown.d.ts +3 -1
- package/dist/components/EmptyState.d.ts +1 -1
- package/dist/components/Indicator.d.ts +2 -2
- package/dist/components/Input.d.ts +1 -1
- package/dist/components/LetterBadge.d.ts +1 -1
- package/dist/components/MarkdownImpl.d.ts +1 -1
- package/dist/components/Provider.d.ts +18 -65
- package/dist/components/SettingRow.d.ts +1 -1
- package/dist/components/SettingsGroup.d.ts +1 -1
- package/dist/components/focus.d.ts +2 -0
- package/dist/components/keys.d.ts +12 -0
- package/dist/duration.d.ts +3 -0
- package/dist/editor/Monaco.d.ts +1 -20
- package/dist/editor/index.d.ts +2 -1
- package/dist/editor/index.js +2 -2
- package/dist/editor/yaml.d.ts +5 -0
- package/dist/engine.d.ts +98 -0
- package/dist/file-explorer/FileExplorer.d.ts +11 -2
- package/dist/file-explorer/FileExplorerContext.d.ts +1 -1
- package/dist/file-explorer/FilePreview/CodePreviewEditor.d.ts +1 -1
- package/dist/file-explorer/FilePreview/previewType.d.ts +1 -1
- package/dist/file-explorer/FileRow.d.ts +1 -1
- package/dist/file-explorer/helpers.d.ts +4 -4
- package/dist/file-explorer/index.d.ts +3 -3
- package/dist/file-explorer/index.js +632 -665
- package/dist/file-explorer/lib/types.d.ts +6 -1
- package/dist/file-explorer/lib/utils.d.ts +1 -3
- package/dist/file-explorer/useNearEnd.d.ts +1 -1
- package/dist/form/FieldWrapper.d.ts +2 -1
- package/dist/form/Fields/ResourceOptionIcon.d.ts +1 -1
- package/dist/form/Form.d.ts +7 -22
- package/dist/form/index.d.ts +11 -12
- package/dist/form/index.js +1333 -1454
- package/dist/form/lib.d.ts +6 -1
- package/dist/form/types/fieldComponentTypes.d.ts +4 -2
- package/dist/form/types/fieldTypes.d.ts +6 -20
- package/dist/form/useParsedOpts.d.ts +2 -2
- package/dist/form/utils/{slurmDuration.d.ts → duration.d.ts} +2 -2
- package/dist/{workflow → graph}/MatrixGroup.d.ts +2 -2
- package/dist/{workflow → graph}/index.d.ts +1 -1
- package/dist/{workflow → graph}/index.js +220 -185
- package/dist/{workflow → graph}/types.d.ts +3 -3
- package/dist/icons.d.ts +20 -21
- package/dist/icons.js +3 -3
- package/dist/index.d.ts +38 -39
- package/dist/index.js +355 -354
- package/dist/list/ListTable.d.ts +1 -1
- package/dist/list/ListViewControls.d.ts +2 -2
- package/dist/list/RowContextMenu.d.ts +9 -9
- package/dist/list/UserHoverCard.d.ts +45 -0
- package/dist/list/index.d.ts +9 -8
- package/dist/list/index.js +3 -3
- package/dist/logviewer/LogViewer.d.ts +1 -1
- package/dist/logviewer/index.d.ts +1 -0
- package/dist/logviewer/index.js +2 -742
- package/dist/logviewer/segments.d.ts +9 -0
- package/dist/styles/Geist-Variable.woff2 +0 -0
- package/dist/styles/GeistMono-Variable.woff2 +0 -0
- package/dist/styles/base.css +57 -0
- package/dist/styles/fonts.css +15 -0
- package/dist/styles/theme.css +9 -41
- package/dist/styles.css +1 -1
- package/dist/theme/index.js +2 -2
- package/package.json +45 -20
- package/LICENSE +0 -21
- package/dist/chunks/Monaco-DVyIpyv4.js +0 -1046
- package/dist/editor/usesGitlab.d.ts +0 -97
- package/dist/form/Fields/BucketReadOnlyField.d.ts +0 -7
- package/dist/form/types/workflow-schema.d.ts +0 -1145
- package/dist/form/utils/pwResolver.d.ts +0 -18
- package/dist/chunks/{BareModal-BqroLbZ5.js → BareModal-BtRiQezg.js} +1 -1
- package/dist/chunks/{MarkdownImpl-Bq4QhrtA.js → MarkdownImpl-CyeTVvSt.js} +1 -1
- /package/dist/{workflow → graph}/AnnotationBanner.d.ts +0 -0
- /package/dist/{workflow → graph}/Collapse.d.ts +0 -0
- /package/dist/{workflow → graph}/DependencyGraph.d.ts +0 -0
- /package/dist/{workflow → graph}/JobSummary.d.ts +0 -0
- /package/dist/{workflow → graph}/Reveal.d.ts +0 -0
- /package/dist/{workflow → graph}/TreeView.d.ts +0 -0
|
@@ -1,1145 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
/**
|
|
3
|
-
* This file was automatically generated by json-schema-to-typescript.
|
|
4
|
-
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
5
|
-
* and run json-schema-to-typescript to regenerate this file.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
export type Timeout = {
|
|
9
|
-
[k: string]: unknown;
|
|
10
|
-
};
|
|
11
|
-
export type Timeout1 = string;
|
|
12
|
-
/**
|
|
13
|
-
* The field's label
|
|
14
|
-
*/
|
|
15
|
-
export type Label = string;
|
|
16
|
-
/**
|
|
17
|
-
* A description of the field
|
|
18
|
-
*/
|
|
19
|
-
export type Description = string;
|
|
20
|
-
/**
|
|
21
|
-
* Whether the field will be hidden in the inputs form (default: false)
|
|
22
|
-
*/
|
|
23
|
-
export type Hidden = string | boolean;
|
|
24
|
-
/**
|
|
25
|
-
* A string that pops up when user hovers over field
|
|
26
|
-
*/
|
|
27
|
-
export type Tooltip = string;
|
|
28
|
-
/**
|
|
29
|
-
* Whether the value of the field is not stored on submission (default: false)
|
|
30
|
-
*/
|
|
31
|
-
export type Ignore = string | boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Whether the field is optional or not (default: false)
|
|
34
|
-
*/
|
|
35
|
-
export type Optional = string | boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Whether the field will be disabled/locked in the inputs form (default: false)
|
|
38
|
-
*/
|
|
39
|
-
export type Disabled = string | boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Whether this field will auto select the first option on the list (default: false)
|
|
42
|
-
*/
|
|
43
|
-
export type Autoselect =
|
|
44
|
-
| string
|
|
45
|
-
| {
|
|
46
|
-
[k: string]: unknown;
|
|
47
|
-
}
|
|
48
|
-
| boolean;
|
|
49
|
-
/**
|
|
50
|
-
* The minimum value of the field
|
|
51
|
-
*/
|
|
52
|
-
export type Min = string | number;
|
|
53
|
-
/**
|
|
54
|
-
* The maximum value of the field
|
|
55
|
-
*/
|
|
56
|
-
export type Max = string | number;
|
|
57
|
-
/**
|
|
58
|
-
* The step value of the field
|
|
59
|
-
*/
|
|
60
|
-
export type Step = string | number;
|
|
61
|
-
/**
|
|
62
|
-
* A placeholder for the field. If not specified, the default value will be used as placeholder. To opt-out, explicitly set placeholder to an empty string. (default: none)
|
|
63
|
-
*/
|
|
64
|
-
export type Placeholder = string;
|
|
65
|
-
export type Csp =
|
|
66
|
-
| ("aws" | "azure" | "google" | "openstack")
|
|
67
|
-
| {
|
|
68
|
-
[k: string]: unknown;
|
|
69
|
-
};
|
|
70
|
-
export type Csp1 = string;
|
|
71
|
-
/**
|
|
72
|
-
* The resource from which we get options for slurm accounts, paritions, or qos
|
|
73
|
-
*/
|
|
74
|
-
export type Resource = string;
|
|
75
|
-
/**
|
|
76
|
-
* The account to be used for slurm paritions or qos
|
|
77
|
-
*/
|
|
78
|
-
export type Account = string;
|
|
79
|
-
|
|
80
|
-
export interface WorkflowSchema {
|
|
81
|
-
permissions?: string[];
|
|
82
|
-
sessions?: {
|
|
83
|
-
/**
|
|
84
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
85
|
-
* via the `patternProperty` "^.*$".
|
|
86
|
-
*/
|
|
87
|
-
[k: string]: null | {
|
|
88
|
-
/**
|
|
89
|
-
* If null, the user will be prompted to name the session before workflow execution. If default is defined, the passed default will be used.
|
|
90
|
-
*/
|
|
91
|
-
"prompt-for-name"?: null | {
|
|
92
|
-
/**
|
|
93
|
-
* The default name for the session
|
|
94
|
-
*/
|
|
95
|
-
default?: string;
|
|
96
|
-
[k: string]: unknown;
|
|
97
|
-
};
|
|
98
|
-
/**
|
|
99
|
-
* If true, the user will be redirected to this session once the workflow is executed. Only one session is allowed to have this set to true.
|
|
100
|
-
*/
|
|
101
|
-
redirect?: string | boolean;
|
|
102
|
-
/**
|
|
103
|
-
* If true, will use HTTPS to connect to the session. This should only be enabled if the app requires it.
|
|
104
|
-
*/
|
|
105
|
-
useTLS?: string | boolean;
|
|
106
|
-
/**
|
|
107
|
-
* The type of session to be created. (default: tunnel)
|
|
108
|
-
*/
|
|
109
|
-
type?: "tunnel" | "link";
|
|
110
|
-
/**
|
|
111
|
-
* If true, will use a custom domain to connect to the session. This should only be enabled if the app requires it.
|
|
112
|
-
*/
|
|
113
|
-
useCustomDomain?: string | boolean;
|
|
114
|
-
/**
|
|
115
|
-
* If true, will mark the session as providing an OpenAI API, and connect it to the built-in chat interface.
|
|
116
|
-
*/
|
|
117
|
-
openAI?: string | boolean;
|
|
118
|
-
/**
|
|
119
|
-
* If true, the session will persist when the workflow run reaches a terminal status (completed, error, canceled). It will only be removed if the user manually deletes the session. Default: false.
|
|
120
|
-
*/
|
|
121
|
-
detach?: string | boolean;
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
/**
|
|
125
|
-
* Links the run page shows, pointing at sessions the workflow registers itself or at addresses elsewhere.
|
|
126
|
-
*/
|
|
127
|
-
links?: {
|
|
128
|
-
/**
|
|
129
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
130
|
-
* via the `patternProperty` "^[a-z0-9_-]*[a-z0-9]$".
|
|
131
|
-
*/
|
|
132
|
-
[k: string]:
|
|
133
|
-
| {
|
|
134
|
-
/**
|
|
135
|
-
* Name of the endpoint session the workflow registers, resolved once it comes online.
|
|
136
|
-
*/
|
|
137
|
-
endpoint: string;
|
|
138
|
-
/**
|
|
139
|
-
* If true, the user is redirected to this link once the workflow runs. Only one session or link may set it.
|
|
140
|
-
*/
|
|
141
|
-
redirect?: string | boolean;
|
|
142
|
-
/**
|
|
143
|
-
* If true, the session this link names outlives the run instead of being removed with it.
|
|
144
|
-
*/
|
|
145
|
-
detach?: string | boolean;
|
|
146
|
-
}
|
|
147
|
-
| {
|
|
148
|
-
/**
|
|
149
|
-
* An http:// or https:// address to link to directly. A value with no scheme is read as https.
|
|
150
|
-
*/
|
|
151
|
-
url: string;
|
|
152
|
-
/**
|
|
153
|
-
* If true, the user is redirected to this link once the workflow runs. Only one session or link may set it.
|
|
154
|
-
*/
|
|
155
|
-
redirect?: string | boolean;
|
|
156
|
-
/**
|
|
157
|
-
* If true, a session this link addresses outlives the run instead of being removed with it.
|
|
158
|
-
*/
|
|
159
|
-
detach?: string | boolean;
|
|
160
|
-
};
|
|
161
|
-
};
|
|
162
|
-
/**
|
|
163
|
-
* environment variables to use for this workflow
|
|
164
|
-
*/
|
|
165
|
-
env?: {
|
|
166
|
-
/**
|
|
167
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
168
|
-
* via the `patternProperty` "^[a-zA-Z0-9_]+$".
|
|
169
|
-
*/
|
|
170
|
-
[k: string]: string;
|
|
171
|
-
};
|
|
172
|
-
needs?: {
|
|
173
|
-
/**
|
|
174
|
-
* Organization variables that must be set for this workflow to run
|
|
175
|
-
*
|
|
176
|
-
* @minItems 1
|
|
177
|
-
*/
|
|
178
|
-
organizationVariables?: [string, ...string[]];
|
|
179
|
-
/**
|
|
180
|
-
* User variables this workflow needs access to. Can be an object where each key is a variable name mapping to {hint: string}, or a simple array of variable name strings.
|
|
181
|
-
*/
|
|
182
|
-
userVariables?:
|
|
183
|
-
| {
|
|
184
|
-
/**
|
|
185
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
186
|
-
* via the `patternProperty` "^[a-zA-Z0-9_-]+$".
|
|
187
|
-
*/
|
|
188
|
-
[k: string]: {
|
|
189
|
-
/**
|
|
190
|
-
* A message explaining why the workflow needs access to this variable
|
|
191
|
-
*/
|
|
192
|
-
hint?: string;
|
|
193
|
-
};
|
|
194
|
-
}
|
|
195
|
-
| string[]
|
|
196
|
-
| string;
|
|
197
|
-
};
|
|
198
|
-
/**
|
|
199
|
-
* Maximum amount of time allowed, as bare seconds (300) or a suffixed duration (200s, 10m, 2h). After the timeout passes, the running command will automatically be killed and will fail.
|
|
200
|
-
*/
|
|
201
|
-
timeout?: Timeout & Timeout1;
|
|
202
|
-
/**
|
|
203
|
-
* The jobs this workflow will run. Each job must define a list of steps to be executed using the `steps` field. By default, all jobs run in parallel. If a job needs to depend on the completion of another job, it can be specified using the `needs` field.
|
|
204
|
-
*/
|
|
205
|
-
jobs: {
|
|
206
|
-
/**
|
|
207
|
-
* A job to be run in the workflow. The name of the job must be unique within the workflow.
|
|
208
|
-
*
|
|
209
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
210
|
-
* via the `patternProperty` "^[a-z0-9_-]{1,255}$".
|
|
211
|
-
*/
|
|
212
|
-
[k: string]: {
|
|
213
|
-
/**
|
|
214
|
-
* environment variables to use for this job
|
|
215
|
-
*/
|
|
216
|
-
env?: {
|
|
217
|
-
/**
|
|
218
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
219
|
-
* via the `patternProperty` "^[a-zA-Z0-9_]+$".
|
|
220
|
-
*/
|
|
221
|
-
[k: string]: string;
|
|
222
|
-
};
|
|
223
|
-
/**
|
|
224
|
-
* prevents a job from running unless conditional evaluates to true.
|
|
225
|
-
*/
|
|
226
|
-
if?: boolean | string;
|
|
227
|
-
/**
|
|
228
|
-
* Directory that this command is run in, path will be created if it does not exist.
|
|
229
|
-
*/
|
|
230
|
-
"working-directory"?: string;
|
|
231
|
-
/**
|
|
232
|
-
* Execute this job on a remote host.
|
|
233
|
-
*/
|
|
234
|
-
ssh?: {
|
|
235
|
-
/**
|
|
236
|
-
* The jump node's hostname or IP address for the SSH connection. Optional, defaults to no jump node.
|
|
237
|
-
*/
|
|
238
|
-
jumpNodeHost?: string;
|
|
239
|
-
/**
|
|
240
|
-
* The username we use when we attempt to connect to the jump node. Defaults to your pw username.
|
|
241
|
-
*/
|
|
242
|
-
jumpNodeUser?: string;
|
|
243
|
-
/**
|
|
244
|
-
* The remote host's hostname or IP address for the SSH connection.
|
|
245
|
-
*/
|
|
246
|
-
remoteHost: string;
|
|
247
|
-
/**
|
|
248
|
-
* The username we use when we attempt to connect to the remote host. Defaults to your pw username.
|
|
249
|
-
*/
|
|
250
|
-
remoteUser?: string;
|
|
251
|
-
/**
|
|
252
|
-
* How long to tolerate a lost connection to the remote host before failing the step: bare seconds (300) or a suffixed duration (5m, 2h); an invalid value fails the step. Default 300s; 0 fails on the first drop; a negative value retries indefinitely. The timer resets on each successful reconnect. May be a `${{ }}` expression.
|
|
253
|
-
*/
|
|
254
|
-
"disconnect-timeout"?: number | string;
|
|
255
|
-
};
|
|
256
|
-
/**
|
|
257
|
-
* Step outputs to be published such that other jobs can access them. For example, `published_name: ${{ needs.build.steps.step_id.outputs.output_name }}`
|
|
258
|
-
*/
|
|
259
|
-
outputs?: {
|
|
260
|
-
/**
|
|
261
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
262
|
-
* via the `patternProperty` "^[a-zA-Z0-9_-]+$".
|
|
263
|
-
*/
|
|
264
|
-
[k: string]: string;
|
|
265
|
-
};
|
|
266
|
-
/**
|
|
267
|
-
* A list of steps to be executed. These are executed in order, and if any step fails, the job will fail. Each step can be a command to run using the `run` field, or another workflow to run by using the `uses` field.
|
|
268
|
-
*/
|
|
269
|
-
steps: {
|
|
270
|
-
[k: string]: unknown;
|
|
271
|
-
}[];
|
|
272
|
-
/**
|
|
273
|
-
* A list of jobs that must complete before this job can start. If a job fails, all jobs that depend on it will not run. For matrix jobs, append ':any' to wait for any instance instead of all (e.g. 'build:any').
|
|
274
|
-
*/
|
|
275
|
-
needs?: string[] | string;
|
|
276
|
-
/**
|
|
277
|
-
* Maximum amount of time allowed, as bare seconds (300) or a suffixed duration (200s, 10m, 2h). After the timeout passes, the running command will automatically be killed and will fail.
|
|
278
|
-
*/
|
|
279
|
-
timeout?: Timeout & Timeout1;
|
|
280
|
-
/**
|
|
281
|
-
* Matrix strategy for running a job with multiple configurations. The job runs once for every combination of matrix values.
|
|
282
|
-
*/
|
|
283
|
-
strategy?: {
|
|
284
|
-
/**
|
|
285
|
-
* Matrix variables. Each key maps to an array of values. The job runs for every combination of all variables.
|
|
286
|
-
*/
|
|
287
|
-
matrix: {
|
|
288
|
-
/**
|
|
289
|
-
* Additional matrix combinations to include or augment. Entries matching existing combinations on all regular keys merge extra keys; non-matching entries are added as new combinations.
|
|
290
|
-
*/
|
|
291
|
-
include?:
|
|
292
|
-
| {
|
|
293
|
-
[k: string]: unknown;
|
|
294
|
-
}[]
|
|
295
|
-
| string;
|
|
296
|
-
/**
|
|
297
|
-
* Matrix combinations to exclude. Any combination matching all fields in an exclude entry is removed.
|
|
298
|
-
*/
|
|
299
|
-
exclude?:
|
|
300
|
-
| {
|
|
301
|
-
[k: string]: unknown;
|
|
302
|
-
}[]
|
|
303
|
-
| string;
|
|
304
|
-
[k: string]: unknown[] | string;
|
|
305
|
-
};
|
|
306
|
-
/**
|
|
307
|
-
* If true (default), cancel in-progress matrix jobs when any one fails.
|
|
308
|
-
*/
|
|
309
|
-
"fail-fast"?: boolean | string;
|
|
310
|
-
/**
|
|
311
|
-
* Maximum number of matrix jobs that can run simultaneously.
|
|
312
|
-
*/
|
|
313
|
-
"max-parallel"?: number | string;
|
|
314
|
-
};
|
|
315
|
-
};
|
|
316
|
-
};
|
|
317
|
-
/**
|
|
318
|
-
* Events that trigger the workflow. The workflow will run when any of the events occur.
|
|
319
|
-
*/
|
|
320
|
-
on?: {
|
|
321
|
-
/**
|
|
322
|
-
* This event is triggered when the workflow is manually executed.
|
|
323
|
-
*/
|
|
324
|
-
execute: {
|
|
325
|
-
inputs: Inputs;
|
|
326
|
-
};
|
|
327
|
-
};
|
|
328
|
-
/**
|
|
329
|
-
* An array of predefined configurations to execute a workflow
|
|
330
|
-
*/
|
|
331
|
-
configurations?: {
|
|
332
|
-
/**
|
|
333
|
-
* Name of the configuration
|
|
334
|
-
*
|
|
335
|
-
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
336
|
-
* via the `patternProperty` "^[a-z0-9_-]{1,255}$".
|
|
337
|
-
*/
|
|
338
|
-
[k: string]: {
|
|
339
|
-
/**
|
|
340
|
-
* The input values of the configuration. Must match inputs defined in on.execute.inputs
|
|
341
|
-
*/
|
|
342
|
-
inputs?: {
|
|
343
|
-
[k: string]: unknown;
|
|
344
|
-
};
|
|
345
|
-
[k: string]: unknown;
|
|
346
|
-
};
|
|
347
|
-
};
|
|
348
|
-
}
|
|
349
|
-
/**
|
|
350
|
-
* The inputs for the workflow, which will be available in all jobs as the `inputs` context whenever the workflow is manually executed.
|
|
351
|
-
*/
|
|
352
|
-
export interface Inputs {
|
|
353
|
-
/**
|
|
354
|
-
* JSON Schema reference for IDE validation
|
|
355
|
-
*/
|
|
356
|
-
$schema?: string;
|
|
357
|
-
$meta?: {
|
|
358
|
-
labelPosition?: "left" | "top";
|
|
359
|
-
wizard?: {
|
|
360
|
-
/**
|
|
361
|
-
* Enable wizard mode for multi-step input collection
|
|
362
|
-
*/
|
|
363
|
-
mode: "wizard";
|
|
364
|
-
navigation?: {
|
|
365
|
-
/**
|
|
366
|
-
* Show step indicator (default: true)
|
|
367
|
-
*/
|
|
368
|
-
showSteps?: boolean | string;
|
|
369
|
-
/**
|
|
370
|
-
* Allow jumping to visited steps (default: false)
|
|
371
|
-
*/
|
|
372
|
-
allowJump?: boolean | string;
|
|
373
|
-
/**
|
|
374
|
-
* Hide step numbers in indicator (default: false)
|
|
375
|
-
*/
|
|
376
|
-
hideStepNumbers?: boolean | string;
|
|
377
|
-
};
|
|
378
|
-
/**
|
|
379
|
-
* Label for final submit button (default: 'Execute')
|
|
380
|
-
*/
|
|
381
|
-
submitLabel?: string;
|
|
382
|
-
/**
|
|
383
|
-
* Flatten step fields into the top-level inputs object (default: true). Set to false to preserve step keys as nested objects.
|
|
384
|
-
*/
|
|
385
|
-
flatten?: boolean;
|
|
386
|
-
};
|
|
387
|
-
};
|
|
388
|
-
/**
|
|
389
|
-
* This interface was referenced by `Inputs`'s JSON-Schema definition
|
|
390
|
-
* via the `patternProperty` "^[a-zA-Z0-9_-]+$".
|
|
391
|
-
*/
|
|
392
|
-
[k: string]:
|
|
393
|
-
| KubernetesClustersField
|
|
394
|
-
| KubernetesNamespacesField
|
|
395
|
-
| KubernetesPodsField
|
|
396
|
-
| KubernetesPvcField
|
|
397
|
-
| KubernetesSecretsField
|
|
398
|
-
| KubernetesConfigmapsField
|
|
399
|
-
| KubernetesStatefulsetsField
|
|
400
|
-
| KubernetesDeploymentsField
|
|
401
|
-
| KubernetesServicesField
|
|
402
|
-
| KubernetesWorkloadsField
|
|
403
|
-
| NumberField
|
|
404
|
-
| BooleanField
|
|
405
|
-
| StringField
|
|
406
|
-
| DropdownField
|
|
407
|
-
| DynamicDropdownField
|
|
408
|
-
| RegionField
|
|
409
|
-
| ZoneField
|
|
410
|
-
| MultiDropdownField
|
|
411
|
-
| ListField
|
|
412
|
-
| EditorField
|
|
413
|
-
| GroupField
|
|
414
|
-
| InstanceTypeField
|
|
415
|
-
| ComputeResourceField
|
|
416
|
-
| BucketField
|
|
417
|
-
| ColorPickerField
|
|
418
|
-
| HeaderField
|
|
419
|
-
| OrganizationGroupsField
|
|
420
|
-
| SlurmAccountsField
|
|
421
|
-
| SlurmPartitionsField
|
|
422
|
-
| SlurmQosField
|
|
423
|
-
| PbsQueuesField
|
|
424
|
-
| StepField
|
|
425
|
-
| PasswordField;
|
|
426
|
-
}
|
|
427
|
-
export interface KubernetesClustersField {
|
|
428
|
-
type?: "kubernetes-clusters";
|
|
429
|
-
default?:
|
|
430
|
-
| string
|
|
431
|
-
| {
|
|
432
|
-
[k: string]: unknown;
|
|
433
|
-
};
|
|
434
|
-
label?: Label;
|
|
435
|
-
description?: Description;
|
|
436
|
-
hidden?: Hidden;
|
|
437
|
-
tooltip?: Tooltip;
|
|
438
|
-
ignore?: Ignore;
|
|
439
|
-
optional?: Optional;
|
|
440
|
-
disabled?: Disabled;
|
|
441
|
-
autoselect?: Autoselect;
|
|
442
|
-
}
|
|
443
|
-
export interface KubernetesNamespacesField {
|
|
444
|
-
type: "kubernetes-namespaces";
|
|
445
|
-
default?:
|
|
446
|
-
| string
|
|
447
|
-
| {
|
|
448
|
-
[k: string]: unknown;
|
|
449
|
-
};
|
|
450
|
-
label?: Label;
|
|
451
|
-
description?: Description;
|
|
452
|
-
hidden?: Hidden;
|
|
453
|
-
tooltip?: Tooltip;
|
|
454
|
-
ignore?: Ignore;
|
|
455
|
-
optional?: Optional;
|
|
456
|
-
disabled?: Disabled;
|
|
457
|
-
clusterName: string;
|
|
458
|
-
autoselect?: Autoselect;
|
|
459
|
-
}
|
|
460
|
-
export interface KubernetesPodsField {
|
|
461
|
-
type: "kubernetes-pods";
|
|
462
|
-
default?:
|
|
463
|
-
| string
|
|
464
|
-
| {
|
|
465
|
-
[k: string]: unknown;
|
|
466
|
-
};
|
|
467
|
-
label?: Label;
|
|
468
|
-
description?: Description;
|
|
469
|
-
hidden?: Hidden;
|
|
470
|
-
tooltip?: Tooltip;
|
|
471
|
-
ignore?: Ignore;
|
|
472
|
-
optional?: Optional;
|
|
473
|
-
disabled?: Disabled;
|
|
474
|
-
clusterName: string;
|
|
475
|
-
namespace: string;
|
|
476
|
-
autoselect?: Autoselect;
|
|
477
|
-
}
|
|
478
|
-
export interface KubernetesPvcField {
|
|
479
|
-
type: "kubernetes-pvc";
|
|
480
|
-
default?:
|
|
481
|
-
| string
|
|
482
|
-
| {
|
|
483
|
-
[k: string]: unknown;
|
|
484
|
-
};
|
|
485
|
-
label?: Label;
|
|
486
|
-
description?: Description;
|
|
487
|
-
hidden?: Hidden;
|
|
488
|
-
tooltip?: Tooltip;
|
|
489
|
-
ignore?: Ignore;
|
|
490
|
-
optional?: Optional;
|
|
491
|
-
disabled?: Disabled;
|
|
492
|
-
clusterName: string;
|
|
493
|
-
namespace: string;
|
|
494
|
-
autoselect?: Autoselect;
|
|
495
|
-
}
|
|
496
|
-
export interface KubernetesSecretsField {
|
|
497
|
-
type: "kubernetes-secrets";
|
|
498
|
-
default?:
|
|
499
|
-
| string
|
|
500
|
-
| {
|
|
501
|
-
[k: string]: unknown;
|
|
502
|
-
};
|
|
503
|
-
label?: Label;
|
|
504
|
-
description?: Description;
|
|
505
|
-
hidden?: Hidden;
|
|
506
|
-
tooltip?: Tooltip;
|
|
507
|
-
ignore?: Ignore;
|
|
508
|
-
optional?: Optional;
|
|
509
|
-
disabled?: Disabled;
|
|
510
|
-
clusterName: string;
|
|
511
|
-
namespace: string;
|
|
512
|
-
autoselect?: Autoselect;
|
|
513
|
-
}
|
|
514
|
-
export interface KubernetesConfigmapsField {
|
|
515
|
-
type: "kubernetes-configmaps";
|
|
516
|
-
default?:
|
|
517
|
-
| string
|
|
518
|
-
| {
|
|
519
|
-
[k: string]: unknown;
|
|
520
|
-
};
|
|
521
|
-
label?: Label;
|
|
522
|
-
description?: Description;
|
|
523
|
-
hidden?: Hidden;
|
|
524
|
-
tooltip?: Tooltip;
|
|
525
|
-
ignore?: Ignore;
|
|
526
|
-
optional?: Optional;
|
|
527
|
-
disabled?: Disabled;
|
|
528
|
-
clusterName: string;
|
|
529
|
-
namespace: string;
|
|
530
|
-
autoselect?: Autoselect;
|
|
531
|
-
}
|
|
532
|
-
export interface KubernetesStatefulsetsField {
|
|
533
|
-
type: "kubernetes-statefulsets";
|
|
534
|
-
default?:
|
|
535
|
-
| string
|
|
536
|
-
| {
|
|
537
|
-
[k: string]: unknown;
|
|
538
|
-
};
|
|
539
|
-
label?: Label;
|
|
540
|
-
description?: Description;
|
|
541
|
-
hidden?: Hidden;
|
|
542
|
-
tooltip?: Tooltip;
|
|
543
|
-
ignore?: Ignore;
|
|
544
|
-
optional?: Optional;
|
|
545
|
-
disabled?: Disabled;
|
|
546
|
-
clusterName: string;
|
|
547
|
-
namespace: string;
|
|
548
|
-
autoselect?: Autoselect;
|
|
549
|
-
}
|
|
550
|
-
export interface KubernetesDeploymentsField {
|
|
551
|
-
type: "kubernetes-deployments";
|
|
552
|
-
default?:
|
|
553
|
-
| string
|
|
554
|
-
| {
|
|
555
|
-
[k: string]: unknown;
|
|
556
|
-
};
|
|
557
|
-
label?: Label;
|
|
558
|
-
description?: Description;
|
|
559
|
-
hidden?: Hidden;
|
|
560
|
-
tooltip?: Tooltip;
|
|
561
|
-
ignore?: Ignore;
|
|
562
|
-
optional?: Optional;
|
|
563
|
-
disabled?: Disabled;
|
|
564
|
-
clusterName: string;
|
|
565
|
-
namespace: string;
|
|
566
|
-
autoselect?: Autoselect;
|
|
567
|
-
}
|
|
568
|
-
export interface KubernetesServicesField {
|
|
569
|
-
type: "kubernetes-services";
|
|
570
|
-
default?:
|
|
571
|
-
| string
|
|
572
|
-
| {
|
|
573
|
-
[k: string]: unknown;
|
|
574
|
-
};
|
|
575
|
-
label?: Label;
|
|
576
|
-
description?: Description;
|
|
577
|
-
hidden?: Hidden;
|
|
578
|
-
tooltip?: Tooltip;
|
|
579
|
-
ignore?: Ignore;
|
|
580
|
-
optional?: Optional;
|
|
581
|
-
disabled?: Disabled;
|
|
582
|
-
clusterName: string;
|
|
583
|
-
namespace: string;
|
|
584
|
-
autoselect?: Autoselect;
|
|
585
|
-
}
|
|
586
|
-
export interface KubernetesWorkloadsField {
|
|
587
|
-
type: "kubernetes-workloads";
|
|
588
|
-
default?:
|
|
589
|
-
| string
|
|
590
|
-
| {
|
|
591
|
-
[k: string]: unknown;
|
|
592
|
-
};
|
|
593
|
-
label?: Label;
|
|
594
|
-
description?: Description;
|
|
595
|
-
hidden?: Hidden;
|
|
596
|
-
tooltip?: Tooltip;
|
|
597
|
-
ignore?: Ignore;
|
|
598
|
-
optional?: Optional;
|
|
599
|
-
disabled?: Disabled;
|
|
600
|
-
clusterName: string;
|
|
601
|
-
namespace: string;
|
|
602
|
-
autoselect?: Autoselect;
|
|
603
|
-
}
|
|
604
|
-
export interface NumberField {
|
|
605
|
-
type: "number";
|
|
606
|
-
default?: string | number;
|
|
607
|
-
label?: Label;
|
|
608
|
-
description?: Description;
|
|
609
|
-
hidden?: Hidden;
|
|
610
|
-
tooltip?: Tooltip;
|
|
611
|
-
ignore?: Ignore;
|
|
612
|
-
optional?: Optional;
|
|
613
|
-
disabled?: Disabled;
|
|
614
|
-
min?: Min;
|
|
615
|
-
max?: Max;
|
|
616
|
-
step?: Step;
|
|
617
|
-
/**
|
|
618
|
-
* Whether we have a numerical slider or not for the field (default: false). When true, min, max, and step are required.
|
|
619
|
-
*/
|
|
620
|
-
slider?: string | boolean;
|
|
621
|
-
}
|
|
622
|
-
export interface BooleanField {
|
|
623
|
-
type: "boolean";
|
|
624
|
-
default?: string | boolean;
|
|
625
|
-
label?: Label;
|
|
626
|
-
description?: Description;
|
|
627
|
-
hidden?: Hidden;
|
|
628
|
-
tooltip?: Tooltip;
|
|
629
|
-
ignore?: Ignore;
|
|
630
|
-
optional?: Optional;
|
|
631
|
-
disabled?: Disabled;
|
|
632
|
-
}
|
|
633
|
-
export interface StringField {
|
|
634
|
-
type: "string";
|
|
635
|
-
default?: string;
|
|
636
|
-
/**
|
|
637
|
-
* If true, this field's default value will be prefilled in the form. If false, the default value will not be prefilled.
|
|
638
|
-
*/
|
|
639
|
-
prefillDefault?: string | boolean;
|
|
640
|
-
label?: Label;
|
|
641
|
-
description?: Description;
|
|
642
|
-
hidden?: Hidden;
|
|
643
|
-
tooltip?: Tooltip;
|
|
644
|
-
ignore?: Ignore;
|
|
645
|
-
optional?: Optional;
|
|
646
|
-
disabled?: Disabled;
|
|
647
|
-
placeholder?: Placeholder;
|
|
648
|
-
/**
|
|
649
|
-
* Whether a string field is a text area (default: false)
|
|
650
|
-
*/
|
|
651
|
-
textarea?: boolean;
|
|
652
|
-
}
|
|
653
|
-
export interface DropdownField {
|
|
654
|
-
type: "dropdown";
|
|
655
|
-
default?:
|
|
656
|
-
| string
|
|
657
|
-
| {
|
|
658
|
-
[k: string]: unknown;
|
|
659
|
-
};
|
|
660
|
-
label?: Label;
|
|
661
|
-
description?: Description;
|
|
662
|
-
hidden?: Hidden;
|
|
663
|
-
tooltip?: Tooltip;
|
|
664
|
-
ignore?: Ignore;
|
|
665
|
-
optional?: Optional;
|
|
666
|
-
disabled?: Disabled;
|
|
667
|
-
/**
|
|
668
|
-
* Whether a dropdown field is auto selected (default: false)
|
|
669
|
-
*/
|
|
670
|
-
autoselect?:
|
|
671
|
-
| string
|
|
672
|
-
| {
|
|
673
|
-
[k: string]: unknown;
|
|
674
|
-
}
|
|
675
|
-
| boolean;
|
|
676
|
-
placeholder?: Placeholder;
|
|
677
|
-
/**
|
|
678
|
-
* The options of a selection based field
|
|
679
|
-
*/
|
|
680
|
-
options: unknown[] | string;
|
|
681
|
-
}
|
|
682
|
-
export interface DynamicDropdownField {
|
|
683
|
-
type: "dropdown";
|
|
684
|
-
default?:
|
|
685
|
-
| string
|
|
686
|
-
| {
|
|
687
|
-
[k: string]: unknown;
|
|
688
|
-
};
|
|
689
|
-
label?: Label;
|
|
690
|
-
description?: Description;
|
|
691
|
-
hidden?: Hidden;
|
|
692
|
-
tooltip?: Tooltip;
|
|
693
|
-
ignore?: Ignore;
|
|
694
|
-
optional?: Optional;
|
|
695
|
-
disabled?: Disabled;
|
|
696
|
-
/**
|
|
697
|
-
* The options of a dropdown
|
|
698
|
-
*/
|
|
699
|
-
options:
|
|
700
|
-
| {
|
|
701
|
-
[k: string]: (
|
|
702
|
-
| {
|
|
703
|
-
[k: string]: unknown;
|
|
704
|
-
}
|
|
705
|
-
| string
|
|
706
|
-
)[];
|
|
707
|
-
}
|
|
708
|
-
| string;
|
|
709
|
-
/**
|
|
710
|
-
* An expression with which to select a set of options (i.e. options[option-key] is the desired set of options)
|
|
711
|
-
*/
|
|
712
|
-
"option-key": string;
|
|
713
|
-
}
|
|
714
|
-
export interface RegionField {
|
|
715
|
-
type: "region";
|
|
716
|
-
default?:
|
|
717
|
-
| string
|
|
718
|
-
| {
|
|
719
|
-
[k: string]: unknown;
|
|
720
|
-
};
|
|
721
|
-
label?: Label;
|
|
722
|
-
description?: Description;
|
|
723
|
-
hidden?: Hidden;
|
|
724
|
-
tooltip?: Tooltip;
|
|
725
|
-
ignore?: Ignore;
|
|
726
|
-
optional?: Optional;
|
|
727
|
-
disabled?: Disabled;
|
|
728
|
-
/**
|
|
729
|
-
* Cloud Service Provider
|
|
730
|
-
*/
|
|
731
|
-
csp: Csp & Csp1;
|
|
732
|
-
autoselect?: Autoselect;
|
|
733
|
-
}
|
|
734
|
-
export interface ZoneField {
|
|
735
|
-
type: "zone";
|
|
736
|
-
default?:
|
|
737
|
-
| string
|
|
738
|
-
| {
|
|
739
|
-
[k: string]: unknown;
|
|
740
|
-
};
|
|
741
|
-
label?: Label;
|
|
742
|
-
description?: Description;
|
|
743
|
-
hidden?: Hidden;
|
|
744
|
-
tooltip?: Tooltip;
|
|
745
|
-
ignore?: Ignore;
|
|
746
|
-
optional?: Optional;
|
|
747
|
-
disabled?: Disabled;
|
|
748
|
-
/**
|
|
749
|
-
* Cloud Service Provider
|
|
750
|
-
*/
|
|
751
|
-
csp: Csp & Csp1;
|
|
752
|
-
region: string;
|
|
753
|
-
autoselect?: Autoselect;
|
|
754
|
-
}
|
|
755
|
-
export interface MultiDropdownField {
|
|
756
|
-
type: "multi-dropdown";
|
|
757
|
-
default?:
|
|
758
|
-
| string
|
|
759
|
-
| {
|
|
760
|
-
label?: string;
|
|
761
|
-
value?: unknown;
|
|
762
|
-
[k: string]: unknown;
|
|
763
|
-
}[];
|
|
764
|
-
label?: Label;
|
|
765
|
-
description?: Description;
|
|
766
|
-
hidden?: Hidden;
|
|
767
|
-
tooltip?: Tooltip;
|
|
768
|
-
ignore?: Ignore;
|
|
769
|
-
optional?: Optional;
|
|
770
|
-
disabled?: Disabled;
|
|
771
|
-
/**
|
|
772
|
-
* The options of a multi dropdown
|
|
773
|
-
*/
|
|
774
|
-
options: unknown[] | string;
|
|
775
|
-
}
|
|
776
|
-
export interface ListField {
|
|
777
|
-
type: "list";
|
|
778
|
-
default?:
|
|
779
|
-
| string
|
|
780
|
-
| {
|
|
781
|
-
[k: string]: unknown;
|
|
782
|
-
};
|
|
783
|
-
label?: Label;
|
|
784
|
-
description?: Description;
|
|
785
|
-
hidden?: Hidden;
|
|
786
|
-
tooltip?: Tooltip;
|
|
787
|
-
ignore?: Ignore;
|
|
788
|
-
optional?: Optional;
|
|
789
|
-
disabled?: Disabled;
|
|
790
|
-
/**
|
|
791
|
-
* Format of items in list
|
|
792
|
-
*/
|
|
793
|
-
template:
|
|
794
|
-
| string
|
|
795
|
-
| {
|
|
796
|
-
[k: string]: unknown;
|
|
797
|
-
};
|
|
798
|
-
/**
|
|
799
|
-
* Whether items are collapsible
|
|
800
|
-
*/
|
|
801
|
-
"items-collapsible"?: string | boolean;
|
|
802
|
-
/**
|
|
803
|
-
* Minimum number of items the list must contain
|
|
804
|
-
*/
|
|
805
|
-
min?: string | number;
|
|
806
|
-
/**
|
|
807
|
-
* Maximum number of items the list may contain
|
|
808
|
-
*/
|
|
809
|
-
max?: string | number;
|
|
810
|
-
}
|
|
811
|
-
export interface EditorField {
|
|
812
|
-
type: "editor";
|
|
813
|
-
default?: string;
|
|
814
|
-
label?: Label;
|
|
815
|
-
description?: Description;
|
|
816
|
-
hidden?: Hidden;
|
|
817
|
-
tooltip?: Tooltip;
|
|
818
|
-
ignore?: Ignore;
|
|
819
|
-
optional?: Optional;
|
|
820
|
-
disabled?: Disabled;
|
|
821
|
-
/**
|
|
822
|
-
* Language of document for editor
|
|
823
|
-
*/
|
|
824
|
-
language?: string;
|
|
825
|
-
}
|
|
826
|
-
export interface GroupField {
|
|
827
|
-
type: "group";
|
|
828
|
-
label?: Label;
|
|
829
|
-
description?: Description;
|
|
830
|
-
hidden?: Hidden;
|
|
831
|
-
tooltip?: Tooltip;
|
|
832
|
-
ignore?: Ignore;
|
|
833
|
-
/**
|
|
834
|
-
* Whether a group is collapsed or not (default: false)
|
|
835
|
-
*/
|
|
836
|
-
collapsed?: boolean | string;
|
|
837
|
-
items: Inputs;
|
|
838
|
-
}
|
|
839
|
-
export interface InstanceTypeField {
|
|
840
|
-
type: "instance-type";
|
|
841
|
-
default?:
|
|
842
|
-
| string
|
|
843
|
-
| {
|
|
844
|
-
[k: string]: unknown;
|
|
845
|
-
};
|
|
846
|
-
label?: Label;
|
|
847
|
-
description?: Description;
|
|
848
|
-
hidden?: Hidden;
|
|
849
|
-
tooltip?: Tooltip;
|
|
850
|
-
ignore?: Ignore;
|
|
851
|
-
optional?: Optional;
|
|
852
|
-
disabled?: Disabled;
|
|
853
|
-
/**
|
|
854
|
-
* Cloud Service Provider
|
|
855
|
-
*/
|
|
856
|
-
csp: Csp & Csp1;
|
|
857
|
-
region: string;
|
|
858
|
-
autoselect?: Autoselect;
|
|
859
|
-
}
|
|
860
|
-
export interface ComputeResourceField {
|
|
861
|
-
type: "compute-clusters" | "compute-resources";
|
|
862
|
-
default?:
|
|
863
|
-
| string
|
|
864
|
-
| {
|
|
865
|
-
[k: string]: unknown;
|
|
866
|
-
}
|
|
867
|
-
| unknown[];
|
|
868
|
-
label?: Label;
|
|
869
|
-
description?: Description;
|
|
870
|
-
hidden?: Hidden;
|
|
871
|
-
tooltip?: Tooltip;
|
|
872
|
-
ignore?: Ignore;
|
|
873
|
-
optional?: Optional;
|
|
874
|
-
disabled?: Disabled;
|
|
875
|
-
autoselect?: Autoselect;
|
|
876
|
-
/**
|
|
877
|
-
* Include user workspace in options (default: false)
|
|
878
|
-
*/
|
|
879
|
-
"include-workspace"?: boolean | string;
|
|
880
|
-
/**
|
|
881
|
-
* Include unprovisioned clusters in options (default: false)
|
|
882
|
-
*/
|
|
883
|
-
"include-unprovisioned"?: boolean | string;
|
|
884
|
-
/**
|
|
885
|
-
* Cloud Service Provider
|
|
886
|
-
*/
|
|
887
|
-
csp?: Csp & Csp1;
|
|
888
|
-
provider?: unknown[] | string;
|
|
889
|
-
/**
|
|
890
|
-
* Allow selecting multiple compute resources (default: false)
|
|
891
|
-
*/
|
|
892
|
-
multi?: boolean;
|
|
893
|
-
}
|
|
894
|
-
export interface BucketField {
|
|
895
|
-
type: "bucket";
|
|
896
|
-
default?:
|
|
897
|
-
| string
|
|
898
|
-
| {
|
|
899
|
-
[k: string]: unknown;
|
|
900
|
-
}
|
|
901
|
-
| unknown[];
|
|
902
|
-
label?: Label;
|
|
903
|
-
description?: Description;
|
|
904
|
-
hidden?: Hidden;
|
|
905
|
-
tooltip?: Tooltip;
|
|
906
|
-
ignore?: Ignore;
|
|
907
|
-
optional?: Optional;
|
|
908
|
-
disabled?: Disabled;
|
|
909
|
-
/**
|
|
910
|
-
* Cloud Service Provider
|
|
911
|
-
*/
|
|
912
|
-
csp?: Csp & Csp1;
|
|
913
|
-
/**
|
|
914
|
-
* Whether to generate cloud credentials for this bucket and include them in the input value
|
|
915
|
-
*/
|
|
916
|
-
generateCredentials?: boolean | string;
|
|
917
|
-
/**
|
|
918
|
-
* Allow selecting multiple buckets (default: false)
|
|
919
|
-
*/
|
|
920
|
-
multi?: boolean;
|
|
921
|
-
}
|
|
922
|
-
export interface ColorPickerField {
|
|
923
|
-
type: "color-picker";
|
|
924
|
-
default?: string;
|
|
925
|
-
label?: Label;
|
|
926
|
-
description?: Description;
|
|
927
|
-
hidden?: Hidden;
|
|
928
|
-
tooltip?: Tooltip;
|
|
929
|
-
ignore?: Ignore;
|
|
930
|
-
optional?: Optional;
|
|
931
|
-
disabled?: Disabled;
|
|
932
|
-
}
|
|
933
|
-
export interface HeaderField {
|
|
934
|
-
type: "header";
|
|
935
|
-
label?: Label;
|
|
936
|
-
description?: Description;
|
|
937
|
-
hidden?: Hidden;
|
|
938
|
-
tooltip?: Tooltip;
|
|
939
|
-
/**
|
|
940
|
-
* The size of a header
|
|
941
|
-
*/
|
|
942
|
-
size?: string | number;
|
|
943
|
-
/**
|
|
944
|
-
* The text content of a header
|
|
945
|
-
*/
|
|
946
|
-
text: string;
|
|
947
|
-
/**
|
|
948
|
-
* Whether a header is bold (default: false)
|
|
949
|
-
*/
|
|
950
|
-
bold?: string | boolean;
|
|
951
|
-
}
|
|
952
|
-
export interface OrganizationGroupsField {
|
|
953
|
-
type: "organization-groups";
|
|
954
|
-
default?:
|
|
955
|
-
| string
|
|
956
|
-
| {
|
|
957
|
-
[k: string]: unknown;
|
|
958
|
-
};
|
|
959
|
-
label?: Label;
|
|
960
|
-
description?: Description;
|
|
961
|
-
hidden?: Hidden;
|
|
962
|
-
tooltip?: Tooltip;
|
|
963
|
-
ignore?: Ignore;
|
|
964
|
-
optional?: Optional;
|
|
965
|
-
disabled?: Disabled;
|
|
966
|
-
}
|
|
967
|
-
export interface SlurmAccountsField {
|
|
968
|
-
type: "slurm-accounts";
|
|
969
|
-
default?:
|
|
970
|
-
| string
|
|
971
|
-
| {
|
|
972
|
-
[k: string]: unknown;
|
|
973
|
-
};
|
|
974
|
-
label?: Label;
|
|
975
|
-
description?: Description;
|
|
976
|
-
hidden?: Hidden;
|
|
977
|
-
tooltip?: Tooltip;
|
|
978
|
-
ignore?: Ignore;
|
|
979
|
-
optional?: Optional;
|
|
980
|
-
disabled?: Disabled;
|
|
981
|
-
resource: Resource;
|
|
982
|
-
}
|
|
983
|
-
export interface SlurmPartitionsField {
|
|
984
|
-
type: "slurm-partitions";
|
|
985
|
-
default?:
|
|
986
|
-
| string
|
|
987
|
-
| {
|
|
988
|
-
[k: string]: unknown;
|
|
989
|
-
};
|
|
990
|
-
label?: Label;
|
|
991
|
-
description?: Description;
|
|
992
|
-
hidden?: Hidden;
|
|
993
|
-
tooltip?: Tooltip;
|
|
994
|
-
ignore?: Ignore;
|
|
995
|
-
optional?: Optional;
|
|
996
|
-
disabled?: Disabled;
|
|
997
|
-
resource: Resource;
|
|
998
|
-
account?: Account;
|
|
999
|
-
}
|
|
1000
|
-
export interface SlurmQosField {
|
|
1001
|
-
type: "slurm-qos";
|
|
1002
|
-
default?:
|
|
1003
|
-
| string
|
|
1004
|
-
| {
|
|
1005
|
-
[k: string]: unknown;
|
|
1006
|
-
};
|
|
1007
|
-
label?: Label;
|
|
1008
|
-
description?: Description;
|
|
1009
|
-
hidden?: Hidden;
|
|
1010
|
-
tooltip?: Tooltip;
|
|
1011
|
-
ignore?: Ignore;
|
|
1012
|
-
optional?: Optional;
|
|
1013
|
-
disabled?: Disabled;
|
|
1014
|
-
resource: Resource;
|
|
1015
|
-
account?: Account;
|
|
1016
|
-
/**
|
|
1017
|
-
* The partitions to be used for slurm qos
|
|
1018
|
-
*/
|
|
1019
|
-
partition?: string;
|
|
1020
|
-
}
|
|
1021
|
-
export interface PbsQueuesField {
|
|
1022
|
-
type: "pbs-queues";
|
|
1023
|
-
default?:
|
|
1024
|
-
| string
|
|
1025
|
-
| {
|
|
1026
|
-
[k: string]: unknown;
|
|
1027
|
-
};
|
|
1028
|
-
label?: Label;
|
|
1029
|
-
description?: Description;
|
|
1030
|
-
hidden?: Hidden;
|
|
1031
|
-
tooltip?: Tooltip;
|
|
1032
|
-
ignore?: Ignore;
|
|
1033
|
-
optional?: Optional;
|
|
1034
|
-
disabled?: Disabled;
|
|
1035
|
-
resource: Resource;
|
|
1036
|
-
}
|
|
1037
|
-
export interface StepField {
|
|
1038
|
-
type: "step";
|
|
1039
|
-
/**
|
|
1040
|
-
* The title of this wizard step
|
|
1041
|
-
*/
|
|
1042
|
-
title: string;
|
|
1043
|
-
/**
|
|
1044
|
-
* The description of this wizard step
|
|
1045
|
-
*/
|
|
1046
|
-
description?: string;
|
|
1047
|
-
/**
|
|
1048
|
-
* Custom label for next button (default: 'Next →')
|
|
1049
|
-
*/
|
|
1050
|
-
nextLabel?: string;
|
|
1051
|
-
/**
|
|
1052
|
-
* Custom label for previous button (default: '← Previous')
|
|
1053
|
-
*/
|
|
1054
|
-
prevLabel?: string;
|
|
1055
|
-
options: Inputs1;
|
|
1056
|
-
}
|
|
1057
|
-
/**
|
|
1058
|
-
* Input fields for this step
|
|
1059
|
-
*/
|
|
1060
|
-
export interface Inputs1 {
|
|
1061
|
-
/**
|
|
1062
|
-
* JSON Schema reference for IDE validation
|
|
1063
|
-
*/
|
|
1064
|
-
$schema?: string;
|
|
1065
|
-
$meta?: {
|
|
1066
|
-
labelPosition?: "left" | "top";
|
|
1067
|
-
wizard?: {
|
|
1068
|
-
/**
|
|
1069
|
-
* Enable wizard mode for multi-step input collection
|
|
1070
|
-
*/
|
|
1071
|
-
mode: "wizard";
|
|
1072
|
-
navigation?: {
|
|
1073
|
-
/**
|
|
1074
|
-
* Show step indicator (default: true)
|
|
1075
|
-
*/
|
|
1076
|
-
showSteps?: boolean | string;
|
|
1077
|
-
/**
|
|
1078
|
-
* Allow jumping to visited steps (default: false)
|
|
1079
|
-
*/
|
|
1080
|
-
allowJump?: boolean | string;
|
|
1081
|
-
/**
|
|
1082
|
-
* Hide step numbers in indicator (default: false)
|
|
1083
|
-
*/
|
|
1084
|
-
hideStepNumbers?: boolean | string;
|
|
1085
|
-
};
|
|
1086
|
-
/**
|
|
1087
|
-
* Label for final submit button (default: 'Execute')
|
|
1088
|
-
*/
|
|
1089
|
-
submitLabel?: string;
|
|
1090
|
-
/**
|
|
1091
|
-
* Flatten step fields into the top-level inputs object (default: true). Set to false to preserve step keys as nested objects.
|
|
1092
|
-
*/
|
|
1093
|
-
flatten?: boolean;
|
|
1094
|
-
};
|
|
1095
|
-
};
|
|
1096
|
-
/**
|
|
1097
|
-
* This interface was referenced by `Inputs`'s JSON-Schema definition
|
|
1098
|
-
* via the `patternProperty` "^[a-zA-Z0-9_-]+$".
|
|
1099
|
-
*/
|
|
1100
|
-
[k: string]:
|
|
1101
|
-
| KubernetesClustersField
|
|
1102
|
-
| KubernetesNamespacesField
|
|
1103
|
-
| KubernetesPodsField
|
|
1104
|
-
| KubernetesPvcField
|
|
1105
|
-
| KubernetesSecretsField
|
|
1106
|
-
| KubernetesConfigmapsField
|
|
1107
|
-
| KubernetesStatefulsetsField
|
|
1108
|
-
| KubernetesDeploymentsField
|
|
1109
|
-
| KubernetesServicesField
|
|
1110
|
-
| KubernetesWorkloadsField
|
|
1111
|
-
| NumberField
|
|
1112
|
-
| BooleanField
|
|
1113
|
-
| StringField
|
|
1114
|
-
| DropdownField
|
|
1115
|
-
| DynamicDropdownField
|
|
1116
|
-
| RegionField
|
|
1117
|
-
| ZoneField
|
|
1118
|
-
| MultiDropdownField
|
|
1119
|
-
| ListField
|
|
1120
|
-
| EditorField
|
|
1121
|
-
| GroupField
|
|
1122
|
-
| InstanceTypeField
|
|
1123
|
-
| ComputeResourceField
|
|
1124
|
-
| BucketField
|
|
1125
|
-
| ColorPickerField
|
|
1126
|
-
| HeaderField
|
|
1127
|
-
| OrganizationGroupsField
|
|
1128
|
-
| SlurmAccountsField
|
|
1129
|
-
| SlurmPartitionsField
|
|
1130
|
-
| SlurmQosField
|
|
1131
|
-
| PbsQueuesField
|
|
1132
|
-
| StepField
|
|
1133
|
-
| PasswordField;
|
|
1134
|
-
}
|
|
1135
|
-
export interface PasswordField {
|
|
1136
|
-
type: "password";
|
|
1137
|
-
default?: string;
|
|
1138
|
-
label?: Label;
|
|
1139
|
-
description?: Description;
|
|
1140
|
-
hidden?: Hidden;
|
|
1141
|
-
tooltip?: Tooltip;
|
|
1142
|
-
ignore?: Ignore;
|
|
1143
|
-
optional?: Optional;
|
|
1144
|
-
disabled?: Disabled;
|
|
1145
|
-
}
|