windmill-components 1.37.0 → 1.46.1
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/common.d.ts +1 -0
- package/components/AppConnect.svelte +45 -49
- package/components/ArgInfo.svelte +37 -15
- package/components/ArgInput.svelte +33 -34
- package/components/ArgInput.svelte.d.ts +3 -1
- package/components/ButtonAndDropdown.svelte +1 -1
- package/components/CenteredPage.svelte +2 -2
- package/components/CronInput.svelte +24 -20
- package/components/CronInput.svelte.d.ts +1 -0
- package/components/DisplayResult.svelte +2 -2
- package/components/Dropdown.svelte +10 -13
- package/components/Dropdown.svelte.d.ts +4 -1
- package/components/Editor.svelte +27 -3
- package/components/Editor.svelte.d.ts +3 -1
- package/components/EditorBar.svelte +77 -30
- package/components/EditorBar.svelte.d.ts +3 -1
- package/components/FieldHeader.svelte +6 -5
- package/components/FlowBuilder.svelte +52 -55
- package/components/FlowBuilder.svelte.d.ts +2 -0
- package/components/FlowJobResult.svelte +11 -18
- package/components/FlowJobResult.svelte.d.ts +2 -2
- package/components/FlowMetadata.svelte +65 -0
- package/components/FlowMetadata.svelte.d.ts +17 -0
- package/components/FlowModulesViewer.svelte +18 -4
- package/components/FlowPreviewContent.svelte +88 -50
- package/components/FlowPreviewContent.svelte.d.ts +1 -0
- package/components/FlowStatusViewer.svelte +123 -61
- package/components/FlowStatusViewer.svelte.d.ts +8 -3
- package/components/FlowViewer.svelte +84 -9
- package/components/FlowViewer.svelte.d.ts +1 -0
- package/components/GroupModal.svelte +43 -44
- package/components/GroupModal.svelte.d.ts +2 -2
- package/components/HighlightCode.svelte +4 -1
- package/components/HighlightCode.svelte.d.ts +1 -1
- package/components/IconedResourceType.svelte +6 -4
- package/components/IconedResourceType.svelte.d.ts +1 -0
- package/components/InputTransformForm.svelte +38 -27
- package/components/InputTransformsViewer.svelte +2 -1
- package/components/InviteGlobalUser.svelte +6 -10
- package/components/InviteGlobalUser.svelte.d.ts +1 -4
- package/components/InviteUser.svelte +4 -8
- package/components/InviteUser.svelte.d.ts +1 -4
- package/components/ItemPicker.svelte +50 -43
- package/components/ItemPicker.svelte.d.ts +2 -2
- package/components/JobArgs.svelte +33 -0
- package/components/JobArgs.svelte.d.ts +16 -0
- package/components/JobStatus.svelte +21 -17
- package/components/LogViewer.svelte +11 -6
- package/components/Modal.svelte +5 -5
- package/components/Modal.svelte.d.ts +4 -4
- package/components/ModulePreview.svelte +47 -63
- package/components/ModulePreview.svelte.d.ts +0 -1
- package/components/PageHeader.svelte +6 -6
- package/components/Password.svelte +1 -1
- package/components/Path.svelte +28 -7
- package/components/Path.svelte.d.ts +3 -3
- package/components/Popover.svelte +61 -0
- package/components/Popover.svelte.d.ts +17 -0
- package/components/Required.svelte +4 -4
- package/components/Required.svelte.d.ts +1 -0
- package/components/ResourceEditor.svelte +105 -116
- package/components/ResourceEditor.svelte.d.ts +0 -1
- package/components/ResourcePicker.svelte +9 -6
- package/components/ResourceTypePicker.svelte +3 -1
- package/components/RunChart.svelte +102 -0
- package/components/RunChart.svelte.d.ts +20 -0
- package/components/RunForm.svelte +58 -40
- package/components/RunForm.svelte.d.ts +13 -0
- package/components/SchemaEditor.svelte +5 -5
- package/components/SchemaEditorProperty.svelte +1 -1
- package/components/SchemaForm.svelte +3 -1
- package/components/SchemaForm.svelte.d.ts +1 -0
- package/components/SchemaModal.svelte +113 -105
- package/components/SchemaModal.svelte.d.ts +4 -4
- package/components/SchemaViewer.svelte +7 -4
- package/components/ScriptBuilder.svelte +143 -163
- package/components/ScriptBuilder.svelte.d.ts +1 -0
- package/components/ScriptEditor.svelte +117 -114
- package/components/ScriptEditor.svelte.d.ts +1 -0
- package/components/ScriptPicker.svelte +16 -24
- package/components/ScriptSchema.svelte +33 -32
- package/components/ShareModal.svelte +74 -68
- package/components/ShareModal.svelte.d.ts +2 -2
- package/components/SimpleEditor.svelte +4 -2
- package/components/SuperadminSettings.svelte +134 -0
- package/components/SuperadminSettings.svelte.d.ts +19 -0
- package/components/TableCustom.svelte +1 -1
- package/components/TableSimple.svelte +1 -1
- package/components/TestJobLoader.svelte +14 -6
- package/components/TestJobLoader.svelte.d.ts +4 -2
- package/components/Toggle.svelte +5 -3
- package/components/Toggle.svelte.d.ts +2 -0
- package/components/Tooltip.svelte +9 -64
- package/components/UserSettings.svelte +241 -0
- package/components/UserSettings.svelte.d.ts +19 -0
- package/components/VariableEditor.svelte +80 -74
- package/components/common/actionRow/ActionRow.svelte +5 -4
- package/components/common/alert/Alert.svelte +1 -1
- package/components/common/alert/Alert.svelte.d.ts +1 -0
- package/components/common/badge/Badge.svelte +2 -2
- package/components/common/breadcrumb/Breadcrumb.svelte +24 -0
- package/components/common/breadcrumb/Breadcrumb.svelte.d.ts +22 -0
- package/components/common/button/Button.svelte +20 -8
- package/components/common/button/Button.svelte.d.ts +1 -0
- package/components/common/button/model.d.ts +1 -1
- package/components/common/confirmationModal/ConfirmationModal.svelte +1 -0
- package/components/common/drawer/Drawer.svelte +38 -7
- package/components/common/drawer/Drawer.svelte.d.ts +6 -0
- package/components/common/drawer/DrawerContent.svelte +21 -7
- package/components/common/drawer/DrawerContent.svelte.d.ts +4 -0
- package/components/common/index.d.ts +1 -0
- package/components/common/index.js +1 -0
- package/components/common/kbd/Kbd.svelte +1 -1
- package/components/common/languageIcons/Bash.svelte +18 -0
- package/components/common/languageIcons/Bash.svelte.d.ts +27 -0
- package/components/common/languageIcons/Go.svelte +34 -0
- package/components/common/languageIcons/Go.svelte.d.ts +27 -0
- package/components/common/languageIcons/LanguageIcon.svelte +19 -0
- package/components/common/languageIcons/LanguageIcon.svelte.d.ts +21 -0
- package/components/common/languageIcons/Python.svelte +51 -0
- package/components/common/languageIcons/Python.svelte.d.ts +27 -0
- package/components/common/languageIcons/TypeScript.svelte +31 -0
- package/components/common/languageIcons/TypeScript.svelte.d.ts +27 -0
- package/components/common/languageIcons/index.d.ts +5 -0
- package/components/common/languageIcons/index.js +5 -0
- package/components/common/menu/Menu.svelte +15 -19
- package/components/common/skeleton/Skeleton.svelte +1 -2
- package/components/common/skeleton/Skeleton.svelte.d.ts +0 -1
- package/components/common/skeleton/SkeletonElement.svelte +1 -1
- package/components/common/tabs/TabContent.svelte +2 -1
- package/components/common/tabs/TabContent.svelte.d.ts +1 -0
- package/components/common/tabs/Tabs.svelte +8 -6
- package/components/common/tabs/Tabs.svelte.d.ts +1 -0
- package/components/flows/FlowEditor.svelte +11 -20
- package/components/flows/FlowProgressBar.svelte +55 -0
- package/components/flows/FlowProgressBar.svelte.d.ts +21 -0
- package/components/flows/common/FlowCardHeader.svelte +5 -6
- package/components/flows/content/CapturePayload.svelte +112 -0
- package/components/flows/content/CapturePayload.svelte.d.ts +17 -0
- package/components/flows/content/DynamicInputHelpBox.svelte +6 -10
- package/components/flows/content/FlowBranchAllWrapper.svelte +21 -0
- package/components/flows/content/FlowBranchAllWrapper.svelte.d.ts +21 -0
- package/components/flows/content/FlowBranchOneWrapper.svelte +49 -0
- package/components/flows/content/FlowBranchOneWrapper.svelte.d.ts +23 -0
- package/components/flows/content/FlowBranchesWrapper.svelte +140 -0
- package/components/flows/content/FlowBranchesWrapper.svelte.d.ts +19 -0
- package/components/flows/content/FlowEditorPanel.svelte +8 -6
- package/components/flows/content/FlowFailureModule.svelte +4 -6
- package/components/flows/content/FlowInput.svelte +31 -5
- package/components/flows/content/FlowInputs.svelte +119 -50
- package/components/flows/content/FlowInputs.svelte.d.ts +5 -4
- package/components/flows/content/FlowLoop.svelte +85 -142
- package/components/flows/content/FlowLoop.svelte.d.ts +2 -1
- package/components/flows/content/FlowModuleComponent.svelte +231 -0
- package/components/flows/content/FlowModuleComponent.svelte.d.ts +20 -0
- package/components/flows/content/FlowModuleEarlyStop.svelte +45 -48
- package/components/flows/content/FlowModuleEarlyStop.svelte.d.ts +1 -0
- package/components/flows/content/FlowModuleHeader.svelte +11 -40
- package/components/flows/content/FlowModuleHeader.svelte.d.ts +0 -1
- package/components/flows/content/FlowModuleScript.svelte +7 -12
- package/components/flows/content/FlowModuleScript.svelte.d.ts +1 -2
- package/components/flows/content/FlowModuleSuspend.svelte +31 -15
- package/components/flows/content/FlowModuleSuspend.svelte.d.ts +1 -0
- package/components/flows/content/FlowModuleWrapper.svelte +138 -38
- package/components/flows/content/FlowModuleWrapper.svelte.d.ts +6 -1
- package/components/flows/content/FlowRetries.svelte +13 -2
- package/components/flows/content/FlowRetries.svelte.d.ts +1 -0
- package/components/flows/content/FlowSchedules.svelte +0 -2
- package/components/flows/content/FlowSettings.svelte +103 -72
- package/components/flows/flowState.d.ts +8 -8
- package/components/flows/flowState.js +32 -17
- package/components/flows/flowStateUtils.d.ts +21 -38
- package/components/flows/flowStateUtils.js +86 -158
- package/components/flows/flowStore.d.ts +3 -2
- package/components/flows/flowStore.js +60 -7
- package/components/flows/header/FlowImportExportMenu.svelte +12 -22
- package/components/flows/header/FlowPreviewButtons.svelte +11 -11
- package/components/flows/map/FlowBranchAllMap.svelte +90 -0
- package/components/flows/map/FlowBranchAllMap.svelte.d.ts +17 -0
- package/components/flows/map/FlowBranchOneMap.svelte +116 -0
- package/components/flows/map/FlowBranchOneMap.svelte.d.ts +17 -0
- package/components/flows/map/FlowErrorHandlerItem.svelte +14 -11
- package/components/flows/map/FlowInputsItem.svelte +19 -0
- package/components/flows/map/FlowInputsItem.svelte.d.ts +14 -0
- package/components/flows/map/FlowModuleSchemaItem.svelte +53 -36
- package/components/flows/map/FlowModuleSchemaItem.svelte.d.ts +5 -5
- package/components/flows/map/FlowModuleSchemaMap.svelte +73 -144
- package/components/flows/map/FlowModuleSchemaMap.svelte.d.ts +2 -3
- package/components/flows/map/FlowSettingsItem.svelte +29 -0
- package/components/flows/map/FlowSettingsItem.svelte.d.ts +14 -0
- package/components/flows/map/InsertModuleButton.svelte +11 -0
- package/components/flows/map/InsertModuleButton.svelte.d.ts +16 -0
- package/components/flows/map/MapItem.svelte +105 -0
- package/components/flows/map/MapItem.svelte.d.ts +22 -0
- package/components/flows/pickers/FlowScriptPicker.svelte +14 -4
- package/components/flows/pickers/FlowScriptPicker.svelte.d.ts +1 -1
- package/components/flows/pickers/PickHubScript.svelte +5 -4
- package/components/flows/pickers/PickHubScript.svelte.d.ts +1 -0
- package/components/flows/pickers/PickScript.svelte +6 -5
- package/components/flows/pickers/PickScript.svelte.d.ts +1 -0
- package/components/flows/previousResults.d.ts +14 -0
- package/components/flows/previousResults.js +118 -0
- package/components/flows/propPicker/PropPickerWrapper.svelte +22 -15
- package/components/flows/propPicker/PropPickerWrapper.svelte.d.ts +6 -2
- package/components/flows/utils.d.ts +8 -5
- package/components/flows/utils.js +86 -56
- package/components/graph/FlowGraph.svelte +259 -0
- package/components/graph/FlowGraph.svelte.d.ts +20 -0
- package/components/graph/index.d.ts +3 -0
- package/components/graph/index.js +3 -0
- package/components/graph/model.d.ts +20 -0
- package/components/graph/model.js +9 -0
- package/components/graph/util.d.ts +9 -0
- package/components/graph/util.js +14 -0
- package/components/icons/WindmillIcon.svelte +85 -52
- package/components/icons/WindmillIcon.svelte.d.ts +2 -0
- package/components/jobs/JobDetail.svelte +40 -30
- package/components/landing/FlowGettingStarted.svelte +4 -3
- package/components/landing/FlowLandingBox.svelte +23 -53
- package/components/landing/RessourceGettingStarted.svelte +1 -1
- package/components/landing/ScriptBox.svelte +25 -27
- package/components/landing/ScriptGettingStarted.svelte +4 -3
- package/components/preview/FlowPreviewStatus.svelte +1 -1
- package/components/progressBar/ProgressBar.svelte +89 -0
- package/components/{ProgressBar.svelte.d.ts → progressBar/ProgressBar.svelte.d.ts} +5 -2
- package/components/progressBar/ProgressBarGeneralPart.svelte +22 -0
- package/components/progressBar/ProgressBarGeneralPart.svelte.d.ts +19 -0
- package/components/progressBar/ProgressBarLoopAccessor.svelte +14 -0
- package/components/progressBar/ProgressBarLoopAccessor.svelte.d.ts +19 -0
- package/components/progressBar/ProgressBarLoopPart.svelte +34 -0
- package/components/progressBar/ProgressBarLoopPart.svelte.d.ts +19 -0
- package/components/progressBar/index.d.ts +2 -0
- package/components/progressBar/index.js +2 -0
- package/components/progressBar/model.d.ts +32 -0
- package/components/progressBar/model.js +14 -0
- package/components/propertyPicker/ObjectViewer.svelte +18 -13
- package/components/propertyPicker/ObjectViewer.svelte.d.ts +1 -0
- package/components/propertyPicker/PropPicker.svelte +90 -44
- package/components/propertyPicker/PropPicker.svelte.d.ts +4 -1
- package/components/propertyPicker/PropPickerResult.svelte +12 -0
- package/components/propertyPicker/PropPickerResult.svelte.d.ts +18 -0
- package/components/propertyPicker/utils.d.ts +1 -1
- package/components/propertyPicker/utils.js +4 -1
- package/components/{script_editor → scriptEditor}/LogPanel.svelte +30 -20
- package/components/{script_editor → scriptEditor}/LogPanel.svelte.d.ts +0 -0
- package/components/scripts/CreateActions.svelte +2 -2
- package/components/sidebar/SidebarContent.svelte +1 -1
- package/components/sidebar/UserMenu.svelte +17 -1
- package/components/sidebar/UserMenu.svelte.d.ts +3 -0
- package/components/sidebar/WorkspaceMenu.svelte +16 -14
- package/components/splitPanes/SplitPanesWrapper.svelte +34 -0
- package/components/splitPanes/SplitPanesWrapper.svelte.d.ts +20 -0
- package/editorUtils.js +2 -0
- package/gen/core/OpenAPI.js +1 -1
- package/gen/index.d.ts +8 -1
- package/gen/index.js +5 -0
- package/gen/models/AppWithLastVersion.d.ts +21 -0
- package/gen/models/AppWithLastVersion.js +12 -0
- package/gen/models/BranchAll.d.ts +10 -0
- package/gen/models/{Branches.js → BranchAll.js} +0 -0
- package/gen/models/{Branches.d.ts → BranchOne.d.ts} +3 -5
- package/gen/models/BranchOne.js +4 -0
- package/gen/models/CompletedJob.d.ts +4 -2
- package/gen/models/CompletedJob.js +2 -0
- package/gen/models/FlowModule.d.ts +2 -1
- package/gen/models/FlowModuleValue.d.ts +4 -2
- package/gen/models/FlowStatusModule.d.ts +11 -2
- package/gen/models/ForloopFlow.d.ts +1 -0
- package/gen/models/Identity.d.ts +3 -0
- package/gen/models/Identity.js +4 -0
- package/gen/models/ListableApp.d.ts +16 -0
- package/gen/models/ListableApp.js +12 -0
- package/gen/models/ListableVariable.d.ts +1 -1
- package/gen/models/PathScript.d.ts +2 -0
- package/gen/models/Policy.d.ts +12 -0
- package/gen/models/Policy.js +12 -0
- package/gen/models/Preview.d.ts +2 -1
- package/gen/models/Preview.js +1 -0
- package/gen/models/QueuedJob.d.ts +4 -2
- package/gen/models/QueuedJob.js +2 -0
- package/gen/models/RawScript.d.ts +4 -1
- package/gen/models/RawScript.js +1 -0
- package/gen/models/Script.d.ts +4 -2
- package/gen/models/Script.js +2 -0
- package/gen/services/AppService.d.ts +31 -0
- package/gen/services/AppService.js +49 -0
- package/gen/services/CaptureService.d.ts +30 -0
- package/gen/services/CaptureService.js +52 -0
- package/gen/services/FlowService.d.ts +90 -0
- package/gen/services/FlowService.js +72 -0
- package/gen/services/JobService.d.ts +57 -8
- package/gen/services/JobService.js +78 -10
- package/gen/services/OauthService.d.ts +6 -15
- package/gen/services/OauthService.js +6 -19
- package/gen/services/ResourceService.d.ts +10 -1
- package/gen/services/ResourceService.js +16 -1
- package/gen/services/ScriptService.d.ts +28 -3
- package/gen/services/ScriptService.js +27 -0
- package/gen/services/UserService.d.ts +14 -6
- package/gen/services/UserService.js +25 -11
- package/infer.d.ts +1 -1
- package/infer.js +35 -18
- package/logout.d.ts +1 -1
- package/logout.js +7 -9
- package/package.json +74 -68
- package/script_helpers.d.ts +5 -3
- package/script_helpers.js +42 -12
- package/scripts.js +9 -4
- package/utils.d.ts +8 -9
- package/utils.js +42 -81
- package/components/AutosizedTextarea.svelte +0 -34
- package/components/AutosizedTextarea.svelte.d.ts +0 -19
- package/components/ProgressBar.svelte +0 -31
- package/components/ProgressBarPart.svelte +0 -20
- package/components/ProgressBarPart.svelte.d.ts +0 -20
- package/components/Switch.svelte +0 -61
- package/components/Switch.svelte.d.ts +0 -31
- package/components/flows/content/CopyFirstStepSchema.svelte +0 -13
- package/components/flows/content/CopyFirstStepSchema.svelte.d.ts +0 -14
- package/components/flows/content/FlowLoopWrapper.svelte +0 -9
- package/components/flows/content/FlowLoopWrapper.svelte.d.ts +0 -14
- package/components/flows/content/FlowModule.svelte +0 -217
- package/components/flows/content/FlowModule.svelte.d.ts +0 -29
- package/gen/schemas/$AuditLog.d.ts +0 -32
- package/gen/schemas/$AuditLog.js +0 -35
- package/gen/schemas/$CompletedJob.d.ts +0 -98
- package/gen/schemas/$CompletedJob.js +0 -103
- package/gen/schemas/$ContextualVariable.d.ts +0 -16
- package/gen/schemas/$ContextualVariable.js +0 -19
- package/gen/schemas/$CreateResource.d.ts +0 -22
- package/gen/schemas/$CreateResource.js +0 -25
- package/gen/schemas/$CreateVariable.d.ts +0 -26
- package/gen/schemas/$CreateVariable.js +0 -29
- package/gen/schemas/$CreateWorkspace.d.ts +0 -20
- package/gen/schemas/$CreateWorkspace.js +0 -23
- package/gen/schemas/$EditResource.d.ts +0 -13
- package/gen/schemas/$EditResource.js +0 -16
- package/gen/schemas/$EditResourceType.d.ts +0 -10
- package/gen/schemas/$EditResourceType.js +0 -13
- package/gen/schemas/$EditSchedule.d.ts +0 -20
- package/gen/schemas/$EditSchedule.js +0 -23
- package/gen/schemas/$EditVariable.d.ts +0 -16
- package/gen/schemas/$EditVariable.js +0 -19
- package/gen/schemas/$EditWorkspaceUser.d.ts +0 -7
- package/gen/schemas/$EditWorkspaceUser.js +0 -10
- package/gen/schemas/$Flow.d.ts +0 -23
- package/gen/schemas/$Flow.js +0 -26
- package/gen/schemas/$FlowMetadata.d.ts +0 -31
- package/gen/schemas/$FlowMetadata.js +0 -34
- package/gen/schemas/$FlowPreview.d.ts +0 -80
- package/gen/schemas/$FlowPreview.js +0 -83
- package/gen/schemas/$GlobalUserInfo.d.ts +0 -26
- package/gen/schemas/$GlobalUserInfo.js +0 -29
- package/gen/schemas/$Group.d.ts +0 -23
- package/gen/schemas/$Group.js +0 -26
- package/gen/schemas/$Job.d.ts +0 -17
- package/gen/schemas/$Job.js +0 -20
- package/gen/schemas/$ListableVariable.d.ts +0 -35
- package/gen/schemas/$ListableVariable.js +0 -38
- package/gen/schemas/$Login.d.ts +0 -12
- package/gen/schemas/$Login.js +0 -15
- package/gen/schemas/$MainArgSignature.d.ts +0 -50
- package/gen/schemas/$MainArgSignature.js +0 -53
- package/gen/schemas/$NewSchedule.d.ts +0 -30
- package/gen/schemas/$NewSchedule.js +0 -33
- package/gen/schemas/$NewToken.d.ts +0 -11
- package/gen/schemas/$NewToken.js +0 -14
- package/gen/schemas/$NewUser.d.ts +0 -16
- package/gen/schemas/$NewUser.js +0 -19
- package/gen/schemas/$Preview.d.ts +0 -19
- package/gen/schemas/$Preview.js +0 -22
- package/gen/schemas/$QueuedJob.d.ts +0 -139
- package/gen/schemas/$QueuedJob.js +0 -144
- package/gen/schemas/$Resource.d.ts +0 -31
- package/gen/schemas/$Resource.js +0 -34
- package/gen/schemas/$ResourceType.d.ts +0 -17
- package/gen/schemas/$ResourceType.js +0 -20
- package/gen/schemas/$Schedule.d.ts +0 -47
- package/gen/schemas/$Schedule.js +0 -50
- package/gen/schemas/$Script.d.ts +0 -77
- package/gen/schemas/$Script.js +0 -80
- package/gen/schemas/$ScriptArgs.d.ts +0 -6
- package/gen/schemas/$ScriptArgs.js +0 -9
- package/gen/schemas/$SlackToken.d.ts +0 -24
- package/gen/schemas/$SlackToken.js +0 -27
- package/gen/schemas/$TokenResponse.d.ts +0 -23
- package/gen/schemas/$TokenResponse.js +0 -26
- package/gen/schemas/$TruncatedToken.d.ts +0 -25
- package/gen/schemas/$TruncatedToken.js +0 -28
- package/gen/schemas/$Usage.d.ts +0 -13
- package/gen/schemas/$Usage.js +0 -16
- package/gen/schemas/$User.d.ts +0 -42
- package/gen/schemas/$User.js +0 -45
- package/gen/schemas/$UserWorkspaceList.d.ts +0 -28
- package/gen/schemas/$UserWorkspaceList.js +0 -31
- package/gen/schemas/$WorkerPing.d.ts +0 -31
- package/gen/schemas/$WorkerPing.js +0 -34
- package/gen/schemas/$Workspace.d.ts +0 -19
- package/gen/schemas/$Workspace.js +0 -22
- package/gen/schemas/$WorkspaceInvite.d.ts +0 -16
- package/gen/schemas/$WorkspaceInvite.js +0 -19
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
<script context="module">export {};
|
|
2
|
-
</script>
|
|
3
|
-
|
|
4
|
-
<script>import { VSplitPane } from 'svelte-split-pane';
|
|
5
|
-
import Tab from '../../common/tabs/Tab.svelte';
|
|
6
|
-
import TabContent from '../../common/tabs/TabContent.svelte';
|
|
7
|
-
import Tabs from '../../common/tabs/Tabs.svelte';
|
|
8
|
-
import Editor from '../../Editor.svelte';
|
|
9
|
-
import EditorBar from '../../EditorBar.svelte';
|
|
10
|
-
import ModulePreview from '../../ModulePreview.svelte';
|
|
11
|
-
import FlowInputs from './FlowInputs.svelte';
|
|
12
|
-
import { createInlineScriptModule, createLoop, createScriptFromInlineScript, fork, getStepPropPicker, isEmptyFlowModule, pickScript } from '../flowStateUtils';
|
|
13
|
-
import { flowStore } from '../flowStore';
|
|
14
|
-
import SchemaForm from '../../SchemaForm.svelte';
|
|
15
|
-
import { RawScript } from '../../../gen';
|
|
16
|
-
import FlowCard from '../common/FlowCard.svelte';
|
|
17
|
-
import FlowModuleHeader from './FlowModuleHeader.svelte';
|
|
18
|
-
import { flowStateStore } from '../flowState';
|
|
19
|
-
import { scriptLangToEditorLang } from '../../../utils';
|
|
20
|
-
import PropPickerWrapper from '../propPicker/PropPickerWrapper.svelte';
|
|
21
|
-
import { getContext, setContext } from 'svelte';
|
|
22
|
-
import { loadSchemaFromModule, selectedIdToIndexes } from '../utils';
|
|
23
|
-
import { writable } from 'svelte/store';
|
|
24
|
-
import FlowModuleScript from './FlowModuleScript.svelte';
|
|
25
|
-
import FlowModuleEarlyStop from './FlowModuleEarlyStop.svelte';
|
|
26
|
-
import FlowModuleSuspend from './FlowModuleSuspend.svelte';
|
|
27
|
-
import FlowRetries from './FlowRetries.svelte';
|
|
28
|
-
const { selectedId, select, previewArgs } = getContext('FlowEditorContext');
|
|
29
|
-
export let flowModule;
|
|
30
|
-
export let flowModuleState;
|
|
31
|
-
export let failureModule;
|
|
32
|
-
$: [parentIndex, childIndex] = selectedIdToIndexes($selectedId);
|
|
33
|
-
let editor;
|
|
34
|
-
let modulePreview;
|
|
35
|
-
let websocketAlive = { pyright: false, black: false, deno: false, go: false };
|
|
36
|
-
let selected = 'inputs';
|
|
37
|
-
$: shouldPick = isEmptyFlowModule(flowModule);
|
|
38
|
-
$: stepPropPicker = failureModule
|
|
39
|
-
? { pickableProperties: { previous_result: { error: 'the error message' } }, extraLib: '' }
|
|
40
|
-
: getStepPropPicker([parentIndex, childIndex], $flowStore.schema, $flowStateStore, $previewArgs);
|
|
41
|
-
function onKeyDown(event) {
|
|
42
|
-
if ((event.ctrlKey || event.metaKey) && event.key == 'Enter') {
|
|
43
|
-
event.preventDefault();
|
|
44
|
-
selected = 'test';
|
|
45
|
-
modulePreview?.runTestWithStepArgs();
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
async function apply(fn, arg) {
|
|
49
|
-
const [module, moduleState] = await fn(arg);
|
|
50
|
-
if (JSON.stringify(flowModule) != JSON.stringify(module) ||
|
|
51
|
-
JSON.stringify(flowModuleState) != JSON.stringify(moduleState)) {
|
|
52
|
-
flowModule = module;
|
|
53
|
-
flowModuleState = moduleState;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
async function reload(flowModule) {
|
|
57
|
-
const { input_transforms, schema } = await loadSchemaFromModule(flowModule);
|
|
58
|
-
flowModuleState.schema = schema;
|
|
59
|
-
flowModule.input_transforms = input_transforms;
|
|
60
|
-
$flowStore = $flowStore;
|
|
61
|
-
}
|
|
62
|
-
async function applyCreateLoop() {
|
|
63
|
-
await apply(createLoop, null);
|
|
64
|
-
}
|
|
65
|
-
export const FLOW_MODULE_WIDTH_THRESHOLD = 768;
|
|
66
|
-
const width = writable(0);
|
|
67
|
-
setContext('FlowModuleWidth', {
|
|
68
|
-
width,
|
|
69
|
-
threshold: FLOW_MODULE_WIDTH_THRESHOLD
|
|
70
|
-
});
|
|
71
|
-
</script>
|
|
72
|
-
|
|
73
|
-
<svelte:window on:keydown={onKeyDown} />
|
|
74
|
-
|
|
75
|
-
<div class="flex flex-col h-full" bind:clientWidth={$width}>
|
|
76
|
-
<FlowCard bind:flowModule>
|
|
77
|
-
<svelte:fragment slot="header">
|
|
78
|
-
<FlowModuleHeader
|
|
79
|
-
bind:module={flowModule}
|
|
80
|
-
on:delete
|
|
81
|
-
on:toggleSuspend={() => (selected = 'suspend')}
|
|
82
|
-
on:toggleRetry={() => (selected = 'retries')}
|
|
83
|
-
on:toggleStopAfterIf={() => (selected = 'early-stop')}
|
|
84
|
-
on:fork={() => apply(fork, flowModule)}
|
|
85
|
-
on:createScriptFromInlineScript={() => {
|
|
86
|
-
apply(createScriptFromInlineScript, {
|
|
87
|
-
flowModule: flowModule,
|
|
88
|
-
suffix: $selectedId,
|
|
89
|
-
schema: flowModuleState.schema
|
|
90
|
-
})
|
|
91
|
-
}}
|
|
92
|
-
/>
|
|
93
|
-
</svelte:fragment>
|
|
94
|
-
{#if shouldPick}
|
|
95
|
-
<FlowInputs
|
|
96
|
-
shouldDisableTriggerScripts={parentIndex != 0}
|
|
97
|
-
shouldDisableLoopCreation={childIndex !== undefined ||
|
|
98
|
-
parentIndex === 0 ||
|
|
99
|
-
$selectedId.includes('failure')}
|
|
100
|
-
on:loop={() => {
|
|
101
|
-
applyCreateLoop()
|
|
102
|
-
select(['loop', $selectedId].join('-'))
|
|
103
|
-
}}
|
|
104
|
-
on:pick={(e) => apply(pickScript, e.detail.path)}
|
|
105
|
-
on:new={(e) =>
|
|
106
|
-
apply(createInlineScriptModule, {
|
|
107
|
-
language: e.detail.language,
|
|
108
|
-
kind: e.detail.kind,
|
|
109
|
-
subkind: e.detail.subkind
|
|
110
|
-
})}
|
|
111
|
-
{failureModule}
|
|
112
|
-
/>
|
|
113
|
-
{:else}
|
|
114
|
-
{#if flowModule.value.type === 'rawscript'}
|
|
115
|
-
<div class="flex-shrink-0 border-b p-1">
|
|
116
|
-
<EditorBar
|
|
117
|
-
{editor}
|
|
118
|
-
lang={flowModule.value['language'] ?? 'deno'}
|
|
119
|
-
{websocketAlive}
|
|
120
|
-
iconOnly={$width < FLOW_MODULE_WIDTH_THRESHOLD}
|
|
121
|
-
/>
|
|
122
|
-
</div>
|
|
123
|
-
{/if}
|
|
124
|
-
|
|
125
|
-
<div class="overflow-hidden flex-grow">
|
|
126
|
-
<VSplitPane
|
|
127
|
-
topPanelSize={flowModule.value.type === 'rawscript' ? '50%' : '0%'}
|
|
128
|
-
downPanelSize={flowModule.value.type === 'rawscript' ? '50%' : '100%'}
|
|
129
|
-
minTopPaneSize="20%"
|
|
130
|
-
minDownPaneSize="20%"
|
|
131
|
-
>
|
|
132
|
-
<top slot="top">
|
|
133
|
-
{#if flowModule.value.type === 'rawscript'}
|
|
134
|
-
<div on:mouseleave={() => reload(flowModule)} class="h-full overflow-auto">
|
|
135
|
-
<Editor
|
|
136
|
-
bind:websocketAlive
|
|
137
|
-
bind:this={editor}
|
|
138
|
-
class="h-full px-2"
|
|
139
|
-
bind:code={flowModule.value.content}
|
|
140
|
-
deno={flowModule.value.language === RawScript.language.DENO}
|
|
141
|
-
lang={scriptLangToEditorLang(flowModule.value.language)}
|
|
142
|
-
automaticLayout={true}
|
|
143
|
-
cmdEnterAction={() => {
|
|
144
|
-
selected = 'test'
|
|
145
|
-
modulePreview?.runTestWithStepArgs()
|
|
146
|
-
}}
|
|
147
|
-
formatAction={() => reload(flowModule)}
|
|
148
|
-
/>
|
|
149
|
-
</div>
|
|
150
|
-
{:else if flowModule.value.type === 'script'}
|
|
151
|
-
<FlowModuleScript {flowModule} />
|
|
152
|
-
{/if}
|
|
153
|
-
</top>
|
|
154
|
-
|
|
155
|
-
<down slot="down" class="flex flex-col flex-1 h-full">
|
|
156
|
-
<Tabs bind:selected>
|
|
157
|
-
<Tab value="inputs">Inputs</Tab>
|
|
158
|
-
<Tab value="test">Test</Tab>
|
|
159
|
-
<Tab value="retries">Retries</Tab>
|
|
160
|
-
{#if !$selectedId.includes('failure')}
|
|
161
|
-
<Tab value="early-stop">Early Stop</Tab>
|
|
162
|
-
<Tab value="suspend">Sleep/Suspend</Tab>
|
|
163
|
-
{/if}
|
|
164
|
-
|
|
165
|
-
<svelte:fragment slot="content">
|
|
166
|
-
<div class="overflow-hidden bg-white" style="height:calc(100% - 32px);">
|
|
167
|
-
<TabContent value="inputs" class="flex flex-col flex-1 h-full">
|
|
168
|
-
<PropPickerWrapper pickableProperties={stepPropPicker.pickableProperties}>
|
|
169
|
-
<!-- <pre class="text-xs">{JSON.stringify($flowStateStore, null, 4)}</pre> -->
|
|
170
|
-
<p class="items-baseline text-xs text-gray-700 italic hidden md:block mb-2">
|
|
171
|
-
Move the focus outside of the text editor to recompute the inputs or press
|
|
172
|
-
Ctrl/Cmd+S
|
|
173
|
-
</p>
|
|
174
|
-
<SchemaForm
|
|
175
|
-
schema={flowModuleState.schema}
|
|
176
|
-
inputTransform={true}
|
|
177
|
-
importPath={$selectedId}
|
|
178
|
-
bind:args={flowModule.input_transforms}
|
|
179
|
-
bind:extraLib={stepPropPicker.extraLib}
|
|
180
|
-
/>
|
|
181
|
-
</PropPickerWrapper>
|
|
182
|
-
</TabContent>
|
|
183
|
-
<TabContent value="test" class="flex flex-col flex-1 h-full" alwaysMounted={true}>
|
|
184
|
-
<ModulePreview
|
|
185
|
-
bind:this={modulePreview}
|
|
186
|
-
mod={flowModule}
|
|
187
|
-
schema={flowModuleState.schema}
|
|
188
|
-
indices={[parentIndex, childIndex]}
|
|
189
|
-
/>
|
|
190
|
-
</TabContent>
|
|
191
|
-
|
|
192
|
-
<TabContent value="retries" class="flex flex-col flex-1 h-full">
|
|
193
|
-
<div class="p-4 overflow-y-auto">
|
|
194
|
-
<FlowRetries bind:flowModule />
|
|
195
|
-
</div>
|
|
196
|
-
</TabContent>
|
|
197
|
-
|
|
198
|
-
<TabContent value="early-stop" class="flex flex-col flex-1 h-full">
|
|
199
|
-
<div class="p-4 overflow-y-auto">
|
|
200
|
-
<FlowModuleEarlyStop bind:flowModule />
|
|
201
|
-
</div>
|
|
202
|
-
</TabContent>
|
|
203
|
-
|
|
204
|
-
<TabContent value="suspend" class="flex flex-col flex-1 h-full">
|
|
205
|
-
<div class="p-4 overflow-y-auto">
|
|
206
|
-
<FlowModuleSuspend bind:flowModule />
|
|
207
|
-
</div>
|
|
208
|
-
</TabContent>
|
|
209
|
-
</div>
|
|
210
|
-
</svelte:fragment>
|
|
211
|
-
</Tabs>
|
|
212
|
-
</down>
|
|
213
|
-
</VSplitPane>
|
|
214
|
-
</div>
|
|
215
|
-
{/if}
|
|
216
|
-
</FlowCard>
|
|
217
|
-
</div>
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
export declare type FlowModuleWidthContext = {
|
|
3
|
-
width: Writable<number>;
|
|
4
|
-
threshold: number;
|
|
5
|
-
};
|
|
6
|
-
import { type FlowModule } from '../../../gen';
|
|
7
|
-
import { type FlowModuleState } from '../flowState';
|
|
8
|
-
import { type Writable } from 'svelte/store';
|
|
9
|
-
declare const __propDef: {
|
|
10
|
-
props: {
|
|
11
|
-
flowModule: FlowModule;
|
|
12
|
-
flowModuleState: FlowModuleState;
|
|
13
|
-
failureModule: boolean;
|
|
14
|
-
FLOW_MODULE_WIDTH_THRESHOLD?: 768 | undefined;
|
|
15
|
-
};
|
|
16
|
-
events: {
|
|
17
|
-
delete: CustomEvent<any>;
|
|
18
|
-
} & {
|
|
19
|
-
[evt: string]: CustomEvent<any>;
|
|
20
|
-
};
|
|
21
|
-
slots: {};
|
|
22
|
-
};
|
|
23
|
-
export declare type FlowModuleProps = typeof __propDef.props;
|
|
24
|
-
export declare type FlowModuleEvents = typeof __propDef.events;
|
|
25
|
-
export declare type FlowModuleSlots = typeof __propDef.slots;
|
|
26
|
-
export default class FlowModule extends SvelteComponentTyped<FlowModuleProps, FlowModuleEvents, FlowModuleSlots> {
|
|
27
|
-
get FLOW_MODULE_WIDTH_THRESHOLD(): number;
|
|
28
|
-
}
|
|
29
|
-
export {};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare const $AuditLog: {
|
|
2
|
-
readonly properties: {
|
|
3
|
-
readonly id: {
|
|
4
|
-
readonly type: "number";
|
|
5
|
-
readonly isRequired: true;
|
|
6
|
-
readonly format: "int32";
|
|
7
|
-
};
|
|
8
|
-
readonly timestamp: {
|
|
9
|
-
readonly type: "string";
|
|
10
|
-
readonly isRequired: true;
|
|
11
|
-
readonly format: "date-time";
|
|
12
|
-
};
|
|
13
|
-
readonly username: {
|
|
14
|
-
readonly type: "string";
|
|
15
|
-
readonly isRequired: true;
|
|
16
|
-
};
|
|
17
|
-
readonly operation: {
|
|
18
|
-
readonly type: "Enum";
|
|
19
|
-
readonly isRequired: true;
|
|
20
|
-
};
|
|
21
|
-
readonly action_kind: {
|
|
22
|
-
readonly type: "Enum";
|
|
23
|
-
readonly isRequired: true;
|
|
24
|
-
};
|
|
25
|
-
readonly resource: {
|
|
26
|
-
readonly type: "string";
|
|
27
|
-
};
|
|
28
|
-
readonly parameters: {
|
|
29
|
-
readonly properties: {};
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
};
|
package/gen/schemas/$AuditLog.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/* istanbul ignore file */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
export const $AuditLog = {
|
|
5
|
-
properties: {
|
|
6
|
-
id: {
|
|
7
|
-
type: 'number',
|
|
8
|
-
isRequired: true,
|
|
9
|
-
format: 'int32',
|
|
10
|
-
},
|
|
11
|
-
timestamp: {
|
|
12
|
-
type: 'string',
|
|
13
|
-
isRequired: true,
|
|
14
|
-
format: 'date-time',
|
|
15
|
-
},
|
|
16
|
-
username: {
|
|
17
|
-
type: 'string',
|
|
18
|
-
isRequired: true,
|
|
19
|
-
},
|
|
20
|
-
operation: {
|
|
21
|
-
type: 'Enum',
|
|
22
|
-
isRequired: true,
|
|
23
|
-
},
|
|
24
|
-
action_kind: {
|
|
25
|
-
type: 'Enum',
|
|
26
|
-
isRequired: true,
|
|
27
|
-
},
|
|
28
|
-
resource: {
|
|
29
|
-
type: 'string',
|
|
30
|
-
},
|
|
31
|
-
parameters: {
|
|
32
|
-
properties: {},
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
};
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
export declare const $CompletedJob: {
|
|
2
|
-
readonly properties: {
|
|
3
|
-
readonly workspace_id: {
|
|
4
|
-
readonly type: "string";
|
|
5
|
-
};
|
|
6
|
-
readonly id: {
|
|
7
|
-
readonly type: "string";
|
|
8
|
-
readonly isRequired: true;
|
|
9
|
-
readonly format: "uuid";
|
|
10
|
-
};
|
|
11
|
-
readonly parent_job: {
|
|
12
|
-
readonly type: "string";
|
|
13
|
-
readonly format: "uuid";
|
|
14
|
-
};
|
|
15
|
-
readonly created_by: {
|
|
16
|
-
readonly type: "string";
|
|
17
|
-
readonly isRequired: true;
|
|
18
|
-
};
|
|
19
|
-
readonly created_at: {
|
|
20
|
-
readonly type: "string";
|
|
21
|
-
readonly isRequired: true;
|
|
22
|
-
readonly format: "date-time";
|
|
23
|
-
};
|
|
24
|
-
readonly started_at: {
|
|
25
|
-
readonly type: "string";
|
|
26
|
-
readonly isRequired: true;
|
|
27
|
-
readonly format: "date-time";
|
|
28
|
-
};
|
|
29
|
-
readonly duration_ms: {
|
|
30
|
-
readonly type: "number";
|
|
31
|
-
readonly isRequired: true;
|
|
32
|
-
};
|
|
33
|
-
readonly success: {
|
|
34
|
-
readonly type: "boolean";
|
|
35
|
-
readonly isRequired: true;
|
|
36
|
-
};
|
|
37
|
-
readonly script_path: {
|
|
38
|
-
readonly type: "string";
|
|
39
|
-
};
|
|
40
|
-
readonly script_hash: {
|
|
41
|
-
readonly type: "string";
|
|
42
|
-
};
|
|
43
|
-
readonly args: {
|
|
44
|
-
readonly type: "ScriptArgs";
|
|
45
|
-
};
|
|
46
|
-
readonly result: {
|
|
47
|
-
readonly properties: {};
|
|
48
|
-
};
|
|
49
|
-
readonly logs: {
|
|
50
|
-
readonly type: "string";
|
|
51
|
-
};
|
|
52
|
-
readonly deleted: {
|
|
53
|
-
readonly type: "boolean";
|
|
54
|
-
};
|
|
55
|
-
readonly raw_code: {
|
|
56
|
-
readonly type: "string";
|
|
57
|
-
};
|
|
58
|
-
readonly canceled: {
|
|
59
|
-
readonly type: "boolean";
|
|
60
|
-
readonly isRequired: true;
|
|
61
|
-
};
|
|
62
|
-
readonly canceled_by: {
|
|
63
|
-
readonly type: "string";
|
|
64
|
-
};
|
|
65
|
-
readonly canceled_reason: {
|
|
66
|
-
readonly type: "string";
|
|
67
|
-
};
|
|
68
|
-
readonly job_kind: {
|
|
69
|
-
readonly type: "Enum";
|
|
70
|
-
readonly isRequired: true;
|
|
71
|
-
};
|
|
72
|
-
readonly schedule_path: {
|
|
73
|
-
readonly type: "string";
|
|
74
|
-
};
|
|
75
|
-
readonly permissioned_as: {
|
|
76
|
-
readonly type: "string";
|
|
77
|
-
readonly description: "The user (u/userfoo) or group (g/groupfoo) whom\n the execution of this script will be permissioned_as and by extension its DT_TOKEN.\n ";
|
|
78
|
-
readonly isRequired: true;
|
|
79
|
-
};
|
|
80
|
-
readonly flow_status: {
|
|
81
|
-
readonly type: "QueuedJob_properties_flow_status";
|
|
82
|
-
};
|
|
83
|
-
readonly raw_flow: {
|
|
84
|
-
readonly type: "FlowPreview_properties_value";
|
|
85
|
-
};
|
|
86
|
-
readonly is_flow_step: {
|
|
87
|
-
readonly type: "boolean";
|
|
88
|
-
readonly isRequired: true;
|
|
89
|
-
};
|
|
90
|
-
readonly language: {
|
|
91
|
-
readonly type: "Enum";
|
|
92
|
-
};
|
|
93
|
-
readonly is_skipped: {
|
|
94
|
-
readonly type: "boolean";
|
|
95
|
-
readonly isRequired: true;
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
};
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
/* istanbul ignore file */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
export const $CompletedJob = {
|
|
5
|
-
properties: {
|
|
6
|
-
workspace_id: {
|
|
7
|
-
type: 'string',
|
|
8
|
-
},
|
|
9
|
-
id: {
|
|
10
|
-
type: 'string',
|
|
11
|
-
isRequired: true,
|
|
12
|
-
format: 'uuid',
|
|
13
|
-
},
|
|
14
|
-
parent_job: {
|
|
15
|
-
type: 'string',
|
|
16
|
-
format: 'uuid',
|
|
17
|
-
},
|
|
18
|
-
created_by: {
|
|
19
|
-
type: 'string',
|
|
20
|
-
isRequired: true,
|
|
21
|
-
},
|
|
22
|
-
created_at: {
|
|
23
|
-
type: 'string',
|
|
24
|
-
isRequired: true,
|
|
25
|
-
format: 'date-time',
|
|
26
|
-
},
|
|
27
|
-
started_at: {
|
|
28
|
-
type: 'string',
|
|
29
|
-
isRequired: true,
|
|
30
|
-
format: 'date-time',
|
|
31
|
-
},
|
|
32
|
-
duration_ms: {
|
|
33
|
-
type: 'number',
|
|
34
|
-
isRequired: true,
|
|
35
|
-
},
|
|
36
|
-
success: {
|
|
37
|
-
type: 'boolean',
|
|
38
|
-
isRequired: true,
|
|
39
|
-
},
|
|
40
|
-
script_path: {
|
|
41
|
-
type: 'string',
|
|
42
|
-
},
|
|
43
|
-
script_hash: {
|
|
44
|
-
type: 'string',
|
|
45
|
-
},
|
|
46
|
-
args: {
|
|
47
|
-
type: 'ScriptArgs',
|
|
48
|
-
},
|
|
49
|
-
result: {
|
|
50
|
-
properties: {},
|
|
51
|
-
},
|
|
52
|
-
logs: {
|
|
53
|
-
type: 'string',
|
|
54
|
-
},
|
|
55
|
-
deleted: {
|
|
56
|
-
type: 'boolean',
|
|
57
|
-
},
|
|
58
|
-
raw_code: {
|
|
59
|
-
type: 'string',
|
|
60
|
-
},
|
|
61
|
-
canceled: {
|
|
62
|
-
type: 'boolean',
|
|
63
|
-
isRequired: true,
|
|
64
|
-
},
|
|
65
|
-
canceled_by: {
|
|
66
|
-
type: 'string',
|
|
67
|
-
},
|
|
68
|
-
canceled_reason: {
|
|
69
|
-
type: 'string',
|
|
70
|
-
},
|
|
71
|
-
job_kind: {
|
|
72
|
-
type: 'Enum',
|
|
73
|
-
isRequired: true,
|
|
74
|
-
},
|
|
75
|
-
schedule_path: {
|
|
76
|
-
type: 'string',
|
|
77
|
-
},
|
|
78
|
-
permissioned_as: {
|
|
79
|
-
type: 'string',
|
|
80
|
-
description: `The user (u/userfoo) or group (g/groupfoo) whom
|
|
81
|
-
the execution of this script will be permissioned_as and by extension its DT_TOKEN.
|
|
82
|
-
`,
|
|
83
|
-
isRequired: true,
|
|
84
|
-
},
|
|
85
|
-
flow_status: {
|
|
86
|
-
type: 'QueuedJob_properties_flow_status',
|
|
87
|
-
},
|
|
88
|
-
raw_flow: {
|
|
89
|
-
type: 'FlowPreview_properties_value',
|
|
90
|
-
},
|
|
91
|
-
is_flow_step: {
|
|
92
|
-
type: 'boolean',
|
|
93
|
-
isRequired: true,
|
|
94
|
-
},
|
|
95
|
-
language: {
|
|
96
|
-
type: 'Enum',
|
|
97
|
-
},
|
|
98
|
-
is_skipped: {
|
|
99
|
-
type: 'boolean',
|
|
100
|
-
isRequired: true,
|
|
101
|
-
},
|
|
102
|
-
},
|
|
103
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare const $ContextualVariable: {
|
|
2
|
-
readonly properties: {
|
|
3
|
-
readonly name: {
|
|
4
|
-
readonly type: "string";
|
|
5
|
-
readonly isRequired: true;
|
|
6
|
-
};
|
|
7
|
-
readonly value: {
|
|
8
|
-
readonly type: "string";
|
|
9
|
-
readonly isRequired: true;
|
|
10
|
-
};
|
|
11
|
-
readonly description: {
|
|
12
|
-
readonly type: "string";
|
|
13
|
-
readonly isRequired: true;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/* istanbul ignore file */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
export const $ContextualVariable = {
|
|
5
|
-
properties: {
|
|
6
|
-
name: {
|
|
7
|
-
type: 'string',
|
|
8
|
-
isRequired: true,
|
|
9
|
-
},
|
|
10
|
-
value: {
|
|
11
|
-
type: 'string',
|
|
12
|
-
isRequired: true,
|
|
13
|
-
},
|
|
14
|
-
description: {
|
|
15
|
-
type: 'string',
|
|
16
|
-
isRequired: true,
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export declare const $CreateResource: {
|
|
2
|
-
readonly properties: {
|
|
3
|
-
readonly path: {
|
|
4
|
-
readonly type: "string";
|
|
5
|
-
readonly isRequired: true;
|
|
6
|
-
};
|
|
7
|
-
readonly value: {
|
|
8
|
-
readonly properties: {};
|
|
9
|
-
readonly isRequired: true;
|
|
10
|
-
};
|
|
11
|
-
readonly description: {
|
|
12
|
-
readonly type: "string";
|
|
13
|
-
};
|
|
14
|
-
readonly resource_type: {
|
|
15
|
-
readonly type: "string";
|
|
16
|
-
readonly isRequired: true;
|
|
17
|
-
};
|
|
18
|
-
readonly is_oauth: {
|
|
19
|
-
readonly type: "boolean";
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/* istanbul ignore file */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
export const $CreateResource = {
|
|
5
|
-
properties: {
|
|
6
|
-
path: {
|
|
7
|
-
type: 'string',
|
|
8
|
-
isRequired: true,
|
|
9
|
-
},
|
|
10
|
-
value: {
|
|
11
|
-
properties: {},
|
|
12
|
-
isRequired: true,
|
|
13
|
-
},
|
|
14
|
-
description: {
|
|
15
|
-
type: 'string',
|
|
16
|
-
},
|
|
17
|
-
resource_type: {
|
|
18
|
-
type: 'string',
|
|
19
|
-
isRequired: true,
|
|
20
|
-
},
|
|
21
|
-
is_oauth: {
|
|
22
|
-
type: 'boolean',
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export declare const $CreateVariable: {
|
|
2
|
-
readonly properties: {
|
|
3
|
-
readonly path: {
|
|
4
|
-
readonly type: "string";
|
|
5
|
-
readonly isRequired: true;
|
|
6
|
-
};
|
|
7
|
-
readonly value: {
|
|
8
|
-
readonly type: "string";
|
|
9
|
-
readonly isRequired: true;
|
|
10
|
-
};
|
|
11
|
-
readonly is_secret: {
|
|
12
|
-
readonly type: "boolean";
|
|
13
|
-
readonly isRequired: true;
|
|
14
|
-
};
|
|
15
|
-
readonly description: {
|
|
16
|
-
readonly type: "string";
|
|
17
|
-
readonly isRequired: true;
|
|
18
|
-
};
|
|
19
|
-
readonly account: {
|
|
20
|
-
readonly type: "number";
|
|
21
|
-
};
|
|
22
|
-
readonly is_oauth: {
|
|
23
|
-
readonly type: "boolean";
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/* istanbul ignore file */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
export const $CreateVariable = {
|
|
5
|
-
properties: {
|
|
6
|
-
path: {
|
|
7
|
-
type: 'string',
|
|
8
|
-
isRequired: true,
|
|
9
|
-
},
|
|
10
|
-
value: {
|
|
11
|
-
type: 'string',
|
|
12
|
-
isRequired: true,
|
|
13
|
-
},
|
|
14
|
-
is_secret: {
|
|
15
|
-
type: 'boolean',
|
|
16
|
-
isRequired: true,
|
|
17
|
-
},
|
|
18
|
-
description: {
|
|
19
|
-
type: 'string',
|
|
20
|
-
isRequired: true,
|
|
21
|
-
},
|
|
22
|
-
account: {
|
|
23
|
-
type: 'number',
|
|
24
|
-
},
|
|
25
|
-
is_oauth: {
|
|
26
|
-
type: 'boolean',
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare const $CreateWorkspace: {
|
|
2
|
-
readonly properties: {
|
|
3
|
-
readonly id: {
|
|
4
|
-
readonly type: "string";
|
|
5
|
-
readonly isRequired: true;
|
|
6
|
-
};
|
|
7
|
-
readonly name: {
|
|
8
|
-
readonly type: "string";
|
|
9
|
-
readonly isRequired: true;
|
|
10
|
-
};
|
|
11
|
-
readonly username: {
|
|
12
|
-
readonly type: "string";
|
|
13
|
-
readonly isRequired: true;
|
|
14
|
-
};
|
|
15
|
-
readonly domain: {
|
|
16
|
-
readonly type: "string";
|
|
17
|
-
readonly isRequired: true;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
};
|