windmill-components 1.22.0 → 1.28.2

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.
Files changed (252) hide show
  1. package/components/AppConnect.svelte +93 -47
  2. package/components/AppConnect.svelte.d.ts +2 -2
  3. package/components/ArgInfo.svelte +0 -5
  4. package/components/ArgInput.svelte +91 -64
  5. package/components/ArgInput.svelte.d.ts +8 -3
  6. package/components/Button.svelte +4 -4
  7. package/components/CenteredPage.svelte +1 -1
  8. package/components/CollapseLink.svelte +12 -0
  9. package/components/CollapseLink.svelte.d.ts +19 -0
  10. package/components/CronInput.svelte +84 -0
  11. package/components/CronInput.svelte.d.ts +18 -0
  12. package/components/DisplayResult.svelte +28 -15
  13. package/components/Editor.svelte +144 -61
  14. package/components/Editor.svelte.d.ts +2 -0
  15. package/components/EditorBar.svelte +215 -0
  16. package/components/EditorBar.svelte.d.ts +23 -0
  17. package/components/FlowBuilder.svelte +155 -79
  18. package/components/FlowEditor.svelte +75 -200
  19. package/components/FlowEditor.svelte.d.ts +3 -2
  20. package/components/FlowJobResult.svelte +1 -1
  21. package/components/FlowPreview.svelte +18 -24
  22. package/components/FlowPreviewContent.svelte +68 -0
  23. package/components/FlowPreviewContent.svelte.d.ts +21 -0
  24. package/components/FlowStatusViewer.svelte +85 -37
  25. package/components/FlowStatusViewer.svelte.d.ts +3 -2
  26. package/components/FlowViewer.svelte +98 -26
  27. package/components/FlowViewer.svelte.d.ts +2 -2
  28. package/components/IconedResourceType.svelte +30 -5
  29. package/components/InputTransformForm.svelte +209 -0
  30. package/components/InputTransformForm.svelte.d.ts +26 -0
  31. package/components/InputTransformsViewer.svelte +19 -0
  32. package/components/InputTransformsViewer.svelte.d.ts +17 -0
  33. package/components/InviteGlobalUser.svelte +2 -2
  34. package/components/InviteUser.svelte +2 -2
  35. package/components/JobStatus.svelte +32 -25
  36. package/components/Modal.svelte +44 -42
  37. package/components/ModuleStep.svelte +99 -76
  38. package/components/ObjectResourceInput.svelte +58 -38
  39. package/components/ObjectTypeNarrowing.svelte +4 -19
  40. package/components/Path.svelte +1 -1
  41. package/components/Path.svelte.d.ts +1 -1
  42. package/components/RadioButton.svelte +11 -96
  43. package/components/RadioButton.svelte.d.ts +4 -2
  44. package/components/ResourceEditor.svelte +4 -5
  45. package/components/ResourceEditor.svelte.d.ts +2 -2
  46. package/components/ResourcePicker.svelte +25 -2
  47. package/components/ResourcePicker.svelte.d.ts +3 -0
  48. package/components/ResourceTypePicker.svelte +17 -29
  49. package/components/ResourceTypePicker.svelte.d.ts +1 -0
  50. package/components/RunForm.svelte +14 -15
  51. package/components/RunForm.svelte.d.ts +1 -1
  52. package/components/SchemaEditor.svelte +87 -71
  53. package/components/SchemaEditor.svelte.d.ts +2 -0
  54. package/components/SchemaEditorProperty.svelte +11 -0
  55. package/components/SchemaEditorProperty.svelte.d.ts +17 -0
  56. package/components/SchemaForm.svelte +21 -127
  57. package/components/SchemaForm.svelte.d.ts +3 -4
  58. package/components/SchemaModal.svelte +20 -33
  59. package/components/SchemaModal.svelte.d.ts +1 -1
  60. package/components/SchemaViewer.svelte +5 -7
  61. package/components/ScriptBuilder.svelte +40 -43
  62. package/components/ScriptEditor.svelte +76 -248
  63. package/components/ScriptPicker.svelte +13 -26
  64. package/components/ScriptPicker.svelte.d.ts +1 -1
  65. package/components/ScriptSchema.svelte +0 -5
  66. package/components/ShareModal.svelte +1 -1
  67. package/components/SharedBadge.svelte +12 -10
  68. package/components/StringTypeNarrowing.svelte +8 -4
  69. package/components/StringTypeNarrowing.svelte.d.ts +1 -0
  70. package/components/TableCustom.svelte +7 -9
  71. package/components/TableSimple.svelte +1 -1
  72. package/components/Toggle.svelte +8 -10
  73. package/components/Toggle.svelte.d.ts +5 -11
  74. package/components/Tooltip.svelte +3 -2
  75. package/components/VariableEditor.svelte +21 -6
  76. package/components/flows/CopyFirstStepSchema.svelte +7 -5
  77. package/components/flows/DynamicInputHelpBox.svelte +1 -1
  78. package/components/flows/FlowBox.svelte +3 -0
  79. package/components/flows/FlowBox.svelte.d.ts +23 -0
  80. package/components/flows/FlowBoxHeader.svelte +9 -0
  81. package/components/flows/FlowBoxHeader.svelte.d.ts +18 -0
  82. package/components/flows/FlowInput.svelte +20 -0
  83. package/components/flows/FlowInput.svelte.d.ts +14 -0
  84. package/components/flows/FlowInputs.svelte +7 -3
  85. package/components/flows/FlowModuleHeader.svelte +44 -41
  86. package/components/flows/FlowModuleHeader.svelte.d.ts +1 -1
  87. package/components/flows/FlowSettings.svelte +174 -0
  88. package/components/flows/FlowSettings.svelte.d.ts +21 -0
  89. package/components/flows/flowStore.d.ts +5 -2
  90. package/components/flows/flowStore.js +65 -9
  91. package/components/flows/pickers/FlowScriptPicker.svelte +6 -1
  92. package/components/flows/pickers/FlowScriptPicker.svelte.d.ts +1 -0
  93. package/components/flows/utils.d.ts +11 -11
  94. package/components/flows/utils.js +111 -64
  95. package/components/icons/AirtableIcon.svelte +17 -0
  96. package/components/icons/AirtableIcon.svelte.d.ts +17 -0
  97. package/components/icons/GCloudIcon.svelte +16 -0
  98. package/components/icons/GCloudIcon.svelte.d.ts +17 -0
  99. package/components/icons/GItlabIcon.svelte +16 -0
  100. package/components/icons/GItlabIcon.svelte.d.ts +17 -0
  101. package/components/icons/GSheetsIcon.svelte +16 -0
  102. package/components/icons/GSheetsIcon.svelte.d.ts +17 -0
  103. package/components/icons/GcalIcon.svelte +16 -0
  104. package/components/icons/GcalIcon.svelte.d.ts +17 -0
  105. package/components/icons/GdriveIcon.svelte +16 -0
  106. package/components/icons/GdriveIcon.svelte.d.ts +17 -0
  107. package/components/icons/GmailIcon.svelte +16 -0
  108. package/components/icons/GmailIcon.svelte.d.ts +17 -0
  109. package/components/icons/PostgresIcon.svelte +8 -49
  110. package/components/icons/Slack.svelte +9 -18
  111. package/components/icons/TogglIcon.svelte +59 -0
  112. package/components/icons/TogglIcon.svelte.d.ts +17 -0
  113. package/components/propertyPicker/ObjectViewer.svelte +35 -37
  114. package/components/propertyPicker/ObjectViewer.svelte.d.ts +1 -0
  115. package/components/propertyPicker/OverlayPropertyPicker.svelte +53 -53
  116. package/components/propertyPicker/OverlayPropertyPicker.svelte.d.ts +5 -2
  117. package/components/propertyPicker/PropPicker.svelte +13 -15
  118. package/components/propertyPicker/PropPicker.svelte.d.ts +1 -1
  119. package/components/propertyPicker/WarningMessage.svelte +14 -41
  120. package/components/propertyPicker/WarningMessage.svelte.d.ts +11 -8
  121. package/components/propertyPicker/utils.d.ts +1 -0
  122. package/components/propertyPicker/utils.js +25 -0
  123. package/gen/core/OpenAPI.js +1 -1
  124. package/gen/index.d.ts +12 -2
  125. package/gen/index.js +1 -2
  126. package/gen/models/CompletedJob.d.ts +1 -1
  127. package/gen/models/Flow.d.ts +3 -13
  128. package/gen/models/FlowMetadata.d.ts +9 -0
  129. package/gen/models/FlowMetadata.js +4 -0
  130. package/gen/models/FlowModuleValue.d.ts +5 -22
  131. package/gen/models/FlowModuleValue.js +1 -15
  132. package/gen/models/ForloopFlow.d.ts +8 -0
  133. package/gen/models/ForloopFlow.js +4 -0
  134. package/gen/models/InputTransform.d.ts +3 -12
  135. package/gen/models/InputTransform.js +1 -8
  136. package/gen/models/JavascriptTransform.d.ts +4 -0
  137. package/gen/models/JavascriptTransform.js +4 -0
  138. package/gen/models/MainArgSignature.d.ts +1 -1
  139. package/gen/models/NewSchedule.d.ts +1 -0
  140. package/gen/models/OpenFlow.d.ts +7 -0
  141. package/gen/models/OpenFlow.js +4 -0
  142. package/gen/models/OpenFlowWPath.d.ts +4 -0
  143. package/gen/models/OpenFlowWPath.js +4 -0
  144. package/gen/models/PathFlow.d.ts +4 -0
  145. package/gen/models/PathFlow.js +4 -0
  146. package/gen/models/PathScript.d.ts +4 -0
  147. package/gen/models/PathScript.js +4 -0
  148. package/gen/models/RawScript.d.ts +12 -0
  149. package/gen/models/RawScript.js +11 -0
  150. package/gen/models/Schedule.d.ts +1 -1
  151. package/gen/models/StaticTransform.d.ts +4 -0
  152. package/gen/models/StaticTransform.js +4 -0
  153. package/gen/models/TokenResponse.d.ts +3 -3
  154. package/gen/models/Usage.d.ts +5 -0
  155. package/gen/models/Usage.js +4 -0
  156. package/gen/models/User.d.ts +2 -0
  157. package/gen/schemas/$AuditLog.d.ts +32 -0
  158. package/gen/schemas/$AuditLog.js +35 -0
  159. package/gen/schemas/$CompletedJob.d.ts +98 -0
  160. package/gen/schemas/$CompletedJob.js +103 -0
  161. package/gen/schemas/$ContextualVariable.d.ts +16 -0
  162. package/gen/schemas/$ContextualVariable.js +19 -0
  163. package/gen/schemas/$CreateResource.d.ts +22 -0
  164. package/gen/schemas/$CreateResource.js +25 -0
  165. package/gen/schemas/$CreateVariable.d.ts +26 -0
  166. package/gen/schemas/$CreateVariable.js +29 -0
  167. package/gen/schemas/$CreateWorkspace.d.ts +20 -0
  168. package/gen/schemas/$CreateWorkspace.js +23 -0
  169. package/gen/schemas/$EditResource.d.ts +13 -0
  170. package/gen/schemas/$EditResource.js +16 -0
  171. package/gen/schemas/$EditResourceType.d.ts +10 -0
  172. package/gen/schemas/$EditResourceType.js +13 -0
  173. package/gen/schemas/$EditSchedule.d.ts +20 -0
  174. package/gen/schemas/$EditSchedule.js +23 -0
  175. package/gen/schemas/$EditVariable.d.ts +16 -0
  176. package/gen/schemas/$EditVariable.js +19 -0
  177. package/gen/schemas/$EditWorkspaceUser.d.ts +7 -0
  178. package/gen/schemas/$EditWorkspaceUser.js +10 -0
  179. package/gen/schemas/$Flow.d.ts +23 -0
  180. package/gen/schemas/$Flow.js +26 -0
  181. package/gen/schemas/$FlowMetadata.d.ts +31 -0
  182. package/gen/schemas/$FlowMetadata.js +34 -0
  183. package/gen/schemas/$FlowPreview.d.ts +80 -0
  184. package/gen/schemas/$FlowPreview.js +83 -0
  185. package/gen/schemas/$GlobalUserInfo.d.ts +26 -0
  186. package/gen/schemas/$GlobalUserInfo.js +29 -0
  187. package/gen/schemas/$Group.d.ts +23 -0
  188. package/gen/schemas/$Group.js +26 -0
  189. package/gen/schemas/$Job.d.ts +17 -0
  190. package/gen/schemas/$Job.js +20 -0
  191. package/gen/schemas/$ListableVariable.d.ts +35 -0
  192. package/gen/schemas/$ListableVariable.js +38 -0
  193. package/gen/schemas/$Login.d.ts +12 -0
  194. package/gen/schemas/$Login.js +15 -0
  195. package/gen/schemas/$MainArgSignature.d.ts +50 -0
  196. package/gen/schemas/$MainArgSignature.js +53 -0
  197. package/gen/schemas/$NewSchedule.d.ts +30 -0
  198. package/gen/schemas/$NewSchedule.js +33 -0
  199. package/gen/schemas/$NewToken.d.ts +11 -0
  200. package/gen/schemas/$NewToken.js +14 -0
  201. package/gen/schemas/$NewUser.d.ts +16 -0
  202. package/gen/schemas/$NewUser.js +19 -0
  203. package/gen/schemas/$Preview.d.ts +19 -0
  204. package/gen/schemas/$Preview.js +22 -0
  205. package/gen/schemas/$QueuedJob.d.ts +139 -0
  206. package/gen/schemas/$QueuedJob.js +144 -0
  207. package/gen/schemas/$Resource.d.ts +31 -0
  208. package/gen/schemas/$Resource.js +34 -0
  209. package/gen/schemas/$ResourceType.d.ts +17 -0
  210. package/gen/schemas/$ResourceType.js +20 -0
  211. package/gen/schemas/$Schedule.d.ts +47 -0
  212. package/gen/schemas/$Schedule.js +50 -0
  213. package/gen/schemas/$Script.d.ts +77 -0
  214. package/gen/schemas/$Script.js +80 -0
  215. package/gen/schemas/$ScriptArgs.d.ts +6 -0
  216. package/gen/schemas/$ScriptArgs.js +9 -0
  217. package/gen/schemas/$SlackToken.d.ts +24 -0
  218. package/gen/schemas/$SlackToken.js +27 -0
  219. package/gen/schemas/$TokenResponse.d.ts +23 -0
  220. package/gen/schemas/$TokenResponse.js +26 -0
  221. package/gen/schemas/$TruncatedToken.d.ts +25 -0
  222. package/gen/schemas/$TruncatedToken.js +28 -0
  223. package/gen/schemas/$Usage.d.ts +13 -0
  224. package/gen/schemas/$Usage.js +16 -0
  225. package/gen/schemas/$User.d.ts +42 -0
  226. package/gen/schemas/$User.js +45 -0
  227. package/gen/schemas/$UserWorkspaceList.d.ts +28 -0
  228. package/gen/schemas/$UserWorkspaceList.js +31 -0
  229. package/gen/schemas/$WorkerPing.d.ts +31 -0
  230. package/gen/schemas/$WorkerPing.js +34 -0
  231. package/gen/schemas/$Workspace.d.ts +19 -0
  232. package/gen/schemas/$Workspace.js +22 -0
  233. package/gen/schemas/$WorkspaceInvite.d.ts +16 -0
  234. package/gen/schemas/$WorkspaceInvite.js +19 -0
  235. package/gen/services/FlowService.d.ts +30 -16
  236. package/gen/services/FlowService.js +25 -0
  237. package/gen/services/JobService.d.ts +1 -1
  238. package/gen/services/ScriptService.d.ts +13 -8
  239. package/gen/services/WorkspaceService.d.ts +1 -1
  240. package/gen/services/WorkspaceService.js +1 -1
  241. package/infer.js +8 -1
  242. package/package.json +88 -16
  243. package/script_helpers.d.ts +1 -1
  244. package/script_helpers.js +11 -13
  245. package/sql.d.ts +89 -0
  246. package/sql.js +817 -0
  247. package/stores.d.ts +1 -1
  248. package/stores.js +0 -6
  249. package/utils.d.ts +26 -6
  250. package/utils.js +94 -7
  251. package/components/RadioButtonV2.svelte +0 -33
  252. package/components/RadioButtonV2.svelte.d.ts +0 -20
@@ -0,0 +1,80 @@
1
+ export declare const $FlowPreview: {
2
+ readonly properties: {
3
+ readonly value: {
4
+ readonly properties: {
5
+ readonly modules: {
6
+ readonly type: "array";
7
+ readonly contains: {
8
+ readonly type: "paths_1w_1_workspace_1jobs_1run_1preview_flow_post_requestBody_content_application_1json_schema_properties_value_properties_failure_module";
9
+ };
10
+ readonly isRequired: true;
11
+ };
12
+ readonly failure_module: {
13
+ readonly properties: {
14
+ readonly input_transform: {
15
+ readonly type: "dictionary";
16
+ readonly contains: {
17
+ readonly properties: {
18
+ readonly type: {
19
+ readonly type: "Enum";
20
+ };
21
+ readonly step: {
22
+ readonly type: "number";
23
+ };
24
+ readonly value: {
25
+ readonly properties: {};
26
+ };
27
+ readonly expr: {
28
+ readonly type: "string";
29
+ };
30
+ };
31
+ };
32
+ readonly isRequired: true;
33
+ };
34
+ readonly value: {
35
+ readonly properties: {
36
+ readonly value: {
37
+ readonly type: "FlowPreview_properties_value";
38
+ };
39
+ readonly iterator: {
40
+ readonly type: "paths_1flows_1hub_1get_1_id_get_responses_200_content_application_1json_schema_properties_flow_properties_value_properties_modules_items_properties_input_transform_additionalProperties";
41
+ };
42
+ readonly skip_failures: {
43
+ readonly type: "boolean";
44
+ };
45
+ readonly path: {
46
+ readonly type: "string";
47
+ };
48
+ readonly content: {
49
+ readonly type: "string";
50
+ };
51
+ readonly language: {
52
+ readonly type: "Enum";
53
+ };
54
+ readonly type: {
55
+ readonly type: "Enum";
56
+ readonly isRequired: true;
57
+ };
58
+ };
59
+ readonly isRequired: true;
60
+ };
61
+ readonly stop_after_if_expr: {
62
+ readonly type: "string";
63
+ };
64
+ readonly skip_if_stopped: {
65
+ readonly type: "boolean";
66
+ };
67
+ };
68
+ };
69
+ };
70
+ readonly isRequired: true;
71
+ };
72
+ readonly path: {
73
+ readonly type: "string";
74
+ };
75
+ readonly args: {
76
+ readonly type: "ScriptArgs";
77
+ readonly isRequired: true;
78
+ };
79
+ };
80
+ };
@@ -0,0 +1,83 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export const $FlowPreview = {
5
+ properties: {
6
+ value: {
7
+ properties: {
8
+ modules: {
9
+ type: 'array',
10
+ contains: {
11
+ type: 'paths_1w_1_workspace_1jobs_1run_1preview_flow_post_requestBody_content_application_1json_schema_properties_value_properties_failure_module',
12
+ },
13
+ isRequired: true,
14
+ },
15
+ failure_module: {
16
+ properties: {
17
+ input_transform: {
18
+ type: 'dictionary',
19
+ contains: {
20
+ properties: {
21
+ type: {
22
+ type: 'Enum',
23
+ },
24
+ step: {
25
+ type: 'number',
26
+ },
27
+ value: {
28
+ properties: {},
29
+ },
30
+ expr: {
31
+ type: 'string',
32
+ },
33
+ },
34
+ },
35
+ isRequired: true,
36
+ },
37
+ value: {
38
+ properties: {
39
+ value: {
40
+ type: 'FlowPreview_properties_value',
41
+ },
42
+ iterator: {
43
+ type: 'paths_1flows_1hub_1get_1_id_get_responses_200_content_application_1json_schema_properties_flow_properties_value_properties_modules_items_properties_input_transform_additionalProperties',
44
+ },
45
+ skip_failures: {
46
+ type: 'boolean',
47
+ },
48
+ path: {
49
+ type: 'string',
50
+ },
51
+ content: {
52
+ type: 'string',
53
+ },
54
+ language: {
55
+ type: 'Enum',
56
+ },
57
+ type: {
58
+ type: 'Enum',
59
+ isRequired: true,
60
+ },
61
+ },
62
+ isRequired: true,
63
+ },
64
+ stop_after_if_expr: {
65
+ type: 'string',
66
+ },
67
+ skip_if_stopped: {
68
+ type: 'boolean',
69
+ },
70
+ },
71
+ },
72
+ },
73
+ isRequired: true,
74
+ },
75
+ path: {
76
+ type: 'string',
77
+ },
78
+ args: {
79
+ type: 'ScriptArgs',
80
+ isRequired: true,
81
+ },
82
+ },
83
+ };
@@ -0,0 +1,26 @@
1
+ export declare const $GlobalUserInfo: {
2
+ readonly properties: {
3
+ readonly email: {
4
+ readonly type: "string";
5
+ readonly isRequired: true;
6
+ };
7
+ readonly login_type: {
8
+ readonly type: "Enum";
9
+ readonly isRequired: true;
10
+ };
11
+ readonly super_admin: {
12
+ readonly type: "boolean";
13
+ readonly isRequired: true;
14
+ };
15
+ readonly verified: {
16
+ readonly type: "boolean";
17
+ readonly isRequired: true;
18
+ };
19
+ readonly name: {
20
+ readonly type: "string";
21
+ };
22
+ readonly company: {
23
+ readonly type: "string";
24
+ };
25
+ };
26
+ };
@@ -0,0 +1,29 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export const $GlobalUserInfo = {
5
+ properties: {
6
+ email: {
7
+ type: 'string',
8
+ isRequired: true,
9
+ },
10
+ login_type: {
11
+ type: 'Enum',
12
+ isRequired: true,
13
+ },
14
+ super_admin: {
15
+ type: 'boolean',
16
+ isRequired: true,
17
+ },
18
+ verified: {
19
+ type: 'boolean',
20
+ isRequired: true,
21
+ },
22
+ name: {
23
+ type: 'string',
24
+ },
25
+ company: {
26
+ type: 'string',
27
+ },
28
+ },
29
+ };
@@ -0,0 +1,23 @@
1
+ export declare const $Group: {
2
+ readonly properties: {
3
+ readonly name: {
4
+ readonly type: "string";
5
+ readonly isRequired: true;
6
+ };
7
+ readonly summary: {
8
+ readonly type: "string";
9
+ };
10
+ readonly members: {
11
+ readonly type: "array";
12
+ readonly contains: {
13
+ readonly type: "string";
14
+ };
15
+ };
16
+ readonly extra_perms: {
17
+ readonly type: "dictionary";
18
+ readonly contains: {
19
+ readonly type: "boolean";
20
+ };
21
+ };
22
+ };
23
+ };
@@ -0,0 +1,26 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export const $Group = {
5
+ properties: {
6
+ name: {
7
+ type: 'string',
8
+ isRequired: true,
9
+ },
10
+ summary: {
11
+ type: 'string',
12
+ },
13
+ members: {
14
+ type: 'array',
15
+ contains: {
16
+ type: 'string',
17
+ },
18
+ },
19
+ extra_perms: {
20
+ type: 'dictionary',
21
+ contains: {
22
+ type: 'boolean',
23
+ },
24
+ },
25
+ },
26
+ };
@@ -0,0 +1,17 @@
1
+ export declare const $Job: {
2
+ readonly type: "all-of";
3
+ readonly contains: readonly [{
4
+ readonly type: "one-of";
5
+ readonly contains: readonly [{
6
+ readonly type: "CompletedJob";
7
+ }, {
8
+ readonly type: "QueuedJob";
9
+ }];
10
+ }, {
11
+ readonly properties: {
12
+ readonly type: {
13
+ readonly type: "Enum";
14
+ };
15
+ };
16
+ }];
17
+ };
@@ -0,0 +1,20 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export const $Job = {
5
+ type: 'all-of',
6
+ contains: [{
7
+ type: 'one-of',
8
+ contains: [{
9
+ type: 'CompletedJob',
10
+ }, {
11
+ type: 'QueuedJob',
12
+ }],
13
+ }, {
14
+ properties: {
15
+ type: {
16
+ type: 'Enum',
17
+ },
18
+ },
19
+ }],
20
+ };
@@ -0,0 +1,35 @@
1
+ export declare const $ListableVariable: {
2
+ readonly properties: {
3
+ readonly workspace_id: {
4
+ readonly type: "string";
5
+ readonly isRequired: true;
6
+ };
7
+ readonly path: {
8
+ readonly type: "string";
9
+ readonly isRequired: true;
10
+ };
11
+ readonly value: {
12
+ readonly type: "string";
13
+ };
14
+ readonly is_secret: {
15
+ readonly type: "boolean";
16
+ readonly isRequired: true;
17
+ };
18
+ readonly description: {
19
+ readonly type: "string";
20
+ };
21
+ readonly account: {
22
+ readonly type: "string";
23
+ };
24
+ readonly is_oauth: {
25
+ readonly type: "boolean";
26
+ };
27
+ readonly extra_perms: {
28
+ readonly type: "dictionary";
29
+ readonly contains: {
30
+ readonly type: "boolean";
31
+ };
32
+ readonly isRequired: true;
33
+ };
34
+ };
35
+ };
@@ -0,0 +1,38 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export const $ListableVariable = {
5
+ properties: {
6
+ workspace_id: {
7
+ type: 'string',
8
+ isRequired: true,
9
+ },
10
+ path: {
11
+ type: 'string',
12
+ isRequired: true,
13
+ },
14
+ value: {
15
+ type: 'string',
16
+ },
17
+ is_secret: {
18
+ type: 'boolean',
19
+ isRequired: true,
20
+ },
21
+ description: {
22
+ type: 'string',
23
+ },
24
+ account: {
25
+ type: 'string',
26
+ },
27
+ is_oauth: {
28
+ type: 'boolean',
29
+ },
30
+ extra_perms: {
31
+ type: 'dictionary',
32
+ contains: {
33
+ type: 'boolean',
34
+ },
35
+ isRequired: true,
36
+ },
37
+ },
38
+ };
@@ -0,0 +1,12 @@
1
+ export declare const $Login: {
2
+ readonly properties: {
3
+ readonly email: {
4
+ readonly type: "string";
5
+ readonly isRequired: true;
6
+ };
7
+ readonly password: {
8
+ readonly type: "string";
9
+ readonly isRequired: true;
10
+ };
11
+ };
12
+ };
@@ -0,0 +1,15 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export const $Login = {
5
+ properties: {
6
+ email: {
7
+ type: 'string',
8
+ isRequired: true,
9
+ },
10
+ password: {
11
+ type: 'string',
12
+ isRequired: true,
13
+ },
14
+ },
15
+ };
@@ -0,0 +1,50 @@
1
+ export declare const $MainArgSignature: {
2
+ readonly properties: {
3
+ readonly star_args: {
4
+ readonly type: "boolean";
5
+ readonly isRequired: true;
6
+ };
7
+ readonly star_kwargs: {
8
+ readonly type: "boolean";
9
+ };
10
+ readonly args: {
11
+ readonly type: "array";
12
+ readonly contains: {
13
+ readonly properties: {
14
+ readonly name: {
15
+ readonly type: "string";
16
+ readonly isRequired: true;
17
+ };
18
+ readonly typ: {
19
+ readonly type: "one-of";
20
+ readonly contains: readonly [{
21
+ readonly type: "Enum";
22
+ }, {
23
+ readonly properties: {
24
+ readonly resource: {
25
+ readonly type: "string";
26
+ readonly isRequired: true;
27
+ };
28
+ };
29
+ }, {
30
+ readonly properties: {
31
+ readonly list: {
32
+ readonly type: "Enum";
33
+ readonly isRequired: true;
34
+ };
35
+ };
36
+ }];
37
+ readonly isRequired: true;
38
+ };
39
+ readonly has_default: {
40
+ readonly type: "boolean";
41
+ };
42
+ readonly default: {
43
+ readonly properties: {};
44
+ };
45
+ };
46
+ };
47
+ readonly isRequired: true;
48
+ };
49
+ };
50
+ };
@@ -0,0 +1,53 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export const $MainArgSignature = {
5
+ properties: {
6
+ star_args: {
7
+ type: 'boolean',
8
+ isRequired: true,
9
+ },
10
+ star_kwargs: {
11
+ type: 'boolean',
12
+ },
13
+ args: {
14
+ type: 'array',
15
+ contains: {
16
+ properties: {
17
+ name: {
18
+ type: 'string',
19
+ isRequired: true,
20
+ },
21
+ typ: {
22
+ type: 'one-of',
23
+ contains: [{
24
+ type: 'Enum',
25
+ }, {
26
+ properties: {
27
+ resource: {
28
+ type: 'string',
29
+ isRequired: true,
30
+ },
31
+ },
32
+ }, {
33
+ properties: {
34
+ list: {
35
+ type: 'Enum',
36
+ isRequired: true,
37
+ },
38
+ },
39
+ }],
40
+ isRequired: true,
41
+ },
42
+ has_default: {
43
+ type: 'boolean',
44
+ },
45
+ default: {
46
+ properties: {},
47
+ },
48
+ },
49
+ },
50
+ isRequired: true,
51
+ },
52
+ },
53
+ };
@@ -0,0 +1,30 @@
1
+ export declare const $NewSchedule: {
2
+ readonly properties: {
3
+ readonly path: {
4
+ readonly type: "string";
5
+ readonly isRequired: true;
6
+ };
7
+ readonly schedule: {
8
+ readonly type: "string";
9
+ readonly isRequired: true;
10
+ };
11
+ readonly offset: {
12
+ readonly type: "number";
13
+ };
14
+ readonly script_path: {
15
+ readonly type: "string";
16
+ readonly isRequired: true;
17
+ };
18
+ readonly is_flow: {
19
+ readonly type: "boolean";
20
+ readonly isRequired: true;
21
+ };
22
+ readonly args: {
23
+ readonly type: "ScriptArgs";
24
+ readonly isRequired: true;
25
+ };
26
+ readonly enabled: {
27
+ readonly type: "boolean";
28
+ };
29
+ };
30
+ };
@@ -0,0 +1,33 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export const $NewSchedule = {
5
+ properties: {
6
+ path: {
7
+ type: 'string',
8
+ isRequired: true,
9
+ },
10
+ schedule: {
11
+ type: 'string',
12
+ isRequired: true,
13
+ },
14
+ offset: {
15
+ type: 'number',
16
+ },
17
+ script_path: {
18
+ type: 'string',
19
+ isRequired: true,
20
+ },
21
+ is_flow: {
22
+ type: 'boolean',
23
+ isRequired: true,
24
+ },
25
+ args: {
26
+ type: 'ScriptArgs',
27
+ isRequired: true,
28
+ },
29
+ enabled: {
30
+ type: 'boolean',
31
+ },
32
+ },
33
+ };
@@ -0,0 +1,11 @@
1
+ export declare const $NewToken: {
2
+ readonly properties: {
3
+ readonly label: {
4
+ readonly type: "string";
5
+ };
6
+ readonly expiration: {
7
+ readonly type: "string";
8
+ readonly format: "date-time";
9
+ };
10
+ };
11
+ };
@@ -0,0 +1,14 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export const $NewToken = {
5
+ properties: {
6
+ label: {
7
+ type: 'string',
8
+ },
9
+ expiration: {
10
+ type: 'string',
11
+ format: 'date-time',
12
+ },
13
+ },
14
+ };
@@ -0,0 +1,16 @@
1
+ export declare const $NewUser: {
2
+ readonly properties: {
3
+ readonly email: {
4
+ readonly type: "string";
5
+ readonly isRequired: true;
6
+ };
7
+ readonly username: {
8
+ readonly type: "string";
9
+ readonly isRequired: true;
10
+ };
11
+ readonly is_admin: {
12
+ readonly type: "boolean";
13
+ readonly isRequired: true;
14
+ };
15
+ };
16
+ };
@@ -0,0 +1,19 @@
1
+ /* istanbul ignore file */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export const $NewUser = {
5
+ properties: {
6
+ email: {
7
+ type: 'string',
8
+ isRequired: true,
9
+ },
10
+ username: {
11
+ type: 'string',
12
+ isRequired: true,
13
+ },
14
+ is_admin: {
15
+ type: 'boolean',
16
+ isRequired: true,
17
+ },
18
+ },
19
+ };
@@ -0,0 +1,19 @@
1
+ export declare const $Preview: {
2
+ readonly properties: {
3
+ readonly content: {
4
+ readonly type: "string";
5
+ readonly isRequired: true;
6
+ };
7
+ readonly path: {
8
+ readonly type: "string";
9
+ };
10
+ readonly args: {
11
+ readonly type: "ScriptArgs";
12
+ readonly isRequired: true;
13
+ };
14
+ readonly language: {
15
+ readonly type: "Enum";
16
+ readonly isRequired: true;
17
+ };
18
+ };
19
+ };