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
|
@@ -50,7 +50,7 @@ async function loadTemplateScripts() {
|
|
|
50
50
|
<div class="flex flex-row gap-2">
|
|
51
51
|
<ButtonPopup size="sm" startIcon={{ icon: faPlus }} href="/scripts/add">
|
|
52
52
|
<svelte:fragment slot="main">New script</svelte:fragment>
|
|
53
|
-
<ButtonPopupItem on:click={() => drawers.hub?.
|
|
53
|
+
<ButtonPopupItem on:click={() => drawers.hub?.openDrawer()}>
|
|
54
54
|
Import script from WindmillHub
|
|
55
55
|
</ButtonPopupItem>
|
|
56
56
|
<ButtonPopupItem on:click={() => drawers.template?.toggleDrawer()}>
|
|
@@ -108,7 +108,7 @@ async function loadTemplateScripts() {
|
|
|
108
108
|
<!-- Raw JSON -->
|
|
109
109
|
<Drawer bind:this={drawers.json} size="800px">
|
|
110
110
|
<DrawerContent title="Import JSON" on:close={() => drawers.json?.toggleDrawer()}>
|
|
111
|
-
<div class="p-2"><Button size="sm" on:click={importJson}>Import</Button></div>
|
|
112
111
|
<SimpleEditor bind:code={pendingJson} lang="json" class="h-full" />
|
|
112
|
+
<span slot="submission"><Button size="sm" on:click={importJson}>Import</Button></span>
|
|
113
113
|
</DrawerContent>
|
|
114
114
|
</Drawer>
|
|
@@ -34,7 +34,7 @@ const thirdMenuLinks = [
|
|
|
34
34
|
export let isCollapsed = false;
|
|
35
35
|
</script>
|
|
36
36
|
|
|
37
|
-
<div class="flex-1 flex flex-col py-4 overflow-
|
|
37
|
+
<div class="flex-1 flex flex-col py-4 overflow-x-hidden scrollbar-hidden">
|
|
38
38
|
<nav class="h-full flex justify-between flex-col px-2">
|
|
39
39
|
<div class="space-y-2">
|
|
40
40
|
{#each mainMenuLinks as menuLink}
|
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
import { userStore, usersWorkspaceStore, superadmin } from '../../stores';
|
|
3
3
|
import { classNames } from '../../utils';
|
|
4
4
|
import { faCrown, faUser } from '@fortawesome/free-solid-svg-icons';
|
|
5
|
+
import { createEventDispatcher } from 'svelte';
|
|
5
6
|
import Icon from 'svelte-awesome';
|
|
6
7
|
import Menu from '../common/menu/Menu.svelte';
|
|
8
|
+
let dispatch = createEventDispatcher();
|
|
7
9
|
export let isCollapsed = false;
|
|
8
10
|
</script>
|
|
9
11
|
|
|
@@ -39,7 +41,8 @@ export let isCollapsed = false;
|
|
|
39
41
|
</div>
|
|
40
42
|
<div class="py-1" role="none">
|
|
41
43
|
<a
|
|
42
|
-
|
|
44
|
+
on:click={() => dispatch('user-settings')}
|
|
45
|
+
href="#user-settings"
|
|
43
46
|
class="text-gray-700 block px-4 py-2 text-sm hover:bg-gray-100 hover:text-gray-900"
|
|
44
47
|
role="menuitem"
|
|
45
48
|
tabindex="-1"
|
|
@@ -47,6 +50,19 @@ export let isCollapsed = false;
|
|
|
47
50
|
Account settings
|
|
48
51
|
</a>
|
|
49
52
|
</div>
|
|
53
|
+
{#if $superadmin}
|
|
54
|
+
<div class="py-1" role="none">
|
|
55
|
+
<a
|
|
56
|
+
on:click={() => dispatch('superadmin-settings')}
|
|
57
|
+
href="#superadmin-settings"
|
|
58
|
+
class="text-gray-700 block px-4 py-2 text-sm hover:bg-gray-100 hover:text-gray-900"
|
|
59
|
+
role="menuitem"
|
|
60
|
+
tabindex="-1"
|
|
61
|
+
>
|
|
62
|
+
Superadmin settings
|
|
63
|
+
</a>
|
|
64
|
+
</div>
|
|
65
|
+
{/if}
|
|
50
66
|
<div class="py-1" role="none">
|
|
51
67
|
<button
|
|
52
68
|
type="button"
|
|
@@ -25,20 +25,22 @@ export let isCollapsed = false;
|
|
|
25
25
|
</button>
|
|
26
26
|
|
|
27
27
|
<div class="divide-y divide-gray-100" role="none">
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
28
|
+
<table class="w-full">
|
|
29
|
+
{#each $usersWorkspaceStore?.workspaces ?? [] as workspace}
|
|
30
|
+
<tr
|
|
31
|
+
class="text-xs cursor-pointer"
|
|
32
|
+
on:click={() => {
|
|
33
|
+
workspaceStore.set(workspace.id)
|
|
34
|
+
close()
|
|
35
|
+
}}
|
|
36
|
+
>
|
|
37
|
+
<td class="text-gray-300 font-mono pl-4 pr-1 py-2 text-xs whitespace-nowrap"
|
|
38
|
+
>{workspace.id}</td
|
|
39
|
+
>
|
|
40
|
+
<td class="text-gray-500 pr-4 py-2 w-full">{workspace.name}</td>
|
|
41
|
+
</tr>
|
|
42
|
+
{/each}
|
|
43
|
+
</table>
|
|
42
44
|
<div class="py-1" role="none">
|
|
43
45
|
<a
|
|
44
46
|
href="/user/create_workspace"
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<script>import { afterUpdate } from 'svelte';
|
|
2
|
+
import { Splitpanes } from 'svelte-splitpanes';
|
|
3
|
+
/**
|
|
4
|
+
* This component should be used instead of `Splitpanes` if the wrapper `Splitpanes`
|
|
5
|
+
* has elements that are **NOT** `Pane` above the place of this component.
|
|
6
|
+
*/
|
|
7
|
+
/** This element will act as the reference point to the `Splitpanes`
|
|
8
|
+
* and the top difference will be calculated from it. */
|
|
9
|
+
export let refElement = undefined;
|
|
10
|
+
export let panesClass = '';
|
|
11
|
+
let wrapper;
|
|
12
|
+
let gap = 0;
|
|
13
|
+
function getTopDifference() {
|
|
14
|
+
const parent = refElement || wrapper.parentElement;
|
|
15
|
+
if (!(wrapper && parent))
|
|
16
|
+
return 0;
|
|
17
|
+
const wrapperTop = wrapper.getBoundingClientRect().top;
|
|
18
|
+
const parentTop = parent.getBoundingClientRect().top;
|
|
19
|
+
return wrapperTop - parentTop;
|
|
20
|
+
}
|
|
21
|
+
afterUpdate(() => {
|
|
22
|
+
gap = getTopDifference();
|
|
23
|
+
});
|
|
24
|
+
</script>
|
|
25
|
+
|
|
26
|
+
<div
|
|
27
|
+
bind:this={wrapper}
|
|
28
|
+
class="h-full {$$props.class || ''}"
|
|
29
|
+
style="max-height: calc(100% - {gap}px) !important;"
|
|
30
|
+
>
|
|
31
|
+
<Splitpanes class={panesClass} {...$$restProps}>
|
|
32
|
+
<slot />
|
|
33
|
+
</Splitpanes>
|
|
34
|
+
</div>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
refElement?: HTMLElement | undefined;
|
|
6
|
+
panesClass?: string | undefined;
|
|
7
|
+
};
|
|
8
|
+
events: {
|
|
9
|
+
[evt: string]: CustomEvent<any>;
|
|
10
|
+
};
|
|
11
|
+
slots: {
|
|
12
|
+
default: {};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare type SplitPanesWrapperProps = typeof __propDef.props;
|
|
16
|
+
export declare type SplitPanesWrapperEvents = typeof __propDef.events;
|
|
17
|
+
export declare type SplitPanesWrapperSlots = typeof __propDef.slots;
|
|
18
|
+
export default class SplitPanesWrapper extends SvelteComponentTyped<SplitPanesWrapperProps, SplitPanesWrapperEvents, SplitPanesWrapperSlots> {
|
|
19
|
+
}
|
|
20
|
+
export {};
|
package/editorUtils.js
CHANGED
package/gen/core/OpenAPI.js
CHANGED
package/gen/index.d.ts
CHANGED
|
@@ -2,8 +2,10 @@ export { ApiError } from './core/ApiError';
|
|
|
2
2
|
export { CancelablePromise, CancelError } from './core/CancelablePromise';
|
|
3
3
|
export { OpenAPI } from './core/OpenAPI';
|
|
4
4
|
export type { OpenAPIConfig } from './core/OpenAPI';
|
|
5
|
+
export { AppWithLastVersion } from './models/AppWithLastVersion';
|
|
5
6
|
export { AuditLog } from './models/AuditLog';
|
|
6
|
-
export type {
|
|
7
|
+
export type { BranchAll } from './models/BranchAll';
|
|
8
|
+
export type { BranchOne } from './models/BranchOne';
|
|
7
9
|
export { CompletedJob } from './models/CompletedJob';
|
|
8
10
|
export type { ContextualVariable } from './models/ContextualVariable';
|
|
9
11
|
export type { CreateResource } from './models/CreateResource';
|
|
@@ -25,9 +27,11 @@ export type { FlowValue } from './models/FlowValue';
|
|
|
25
27
|
export type { ForloopFlow } from './models/ForloopFlow';
|
|
26
28
|
export { GlobalUserInfo } from './models/GlobalUserInfo';
|
|
27
29
|
export type { Group } from './models/Group';
|
|
30
|
+
export type { Identity } from './models/Identity';
|
|
28
31
|
export type { InputTransform } from './models/InputTransform';
|
|
29
32
|
export type { JavascriptTransform } from './models/JavascriptTransform';
|
|
30
33
|
export { Job } from './models/Job';
|
|
34
|
+
export { ListableApp } from './models/ListableApp';
|
|
31
35
|
export type { ListableVariable } from './models/ListableVariable';
|
|
32
36
|
export type { Login } from './models/Login';
|
|
33
37
|
export type { MainArgSignature } from './models/MainArgSignature';
|
|
@@ -37,6 +41,7 @@ export type { NewUser } from './models/NewUser';
|
|
|
37
41
|
export type { OpenFlow } from './models/OpenFlow';
|
|
38
42
|
export type { OpenFlowWPath } from './models/OpenFlowWPath';
|
|
39
43
|
export type { PathScript } from './models/PathScript';
|
|
44
|
+
export { Policy } from './models/Policy';
|
|
40
45
|
export { Preview } from './models/Preview';
|
|
41
46
|
export { QueuedJob } from './models/QueuedJob';
|
|
42
47
|
export { RawScript } from './models/RawScript';
|
|
@@ -57,7 +62,9 @@ export type { WorkerPing } from './models/WorkerPing';
|
|
|
57
62
|
export type { Workspace } from './models/Workspace';
|
|
58
63
|
export type { WorkspaceInvite } from './models/WorkspaceInvite';
|
|
59
64
|
export { AdminService } from './services/AdminService';
|
|
65
|
+
export { AppService } from './services/AppService';
|
|
60
66
|
export { AuditService } from './services/AuditService';
|
|
67
|
+
export { CaptureService } from './services/CaptureService';
|
|
61
68
|
export { FlowService } from './services/FlowService';
|
|
62
69
|
export { GranularAclService } from './services/GranularAclService';
|
|
63
70
|
export { GroupService } from './services/GroupService';
|
package/gen/index.js
CHANGED
|
@@ -4,17 +4,22 @@
|
|
|
4
4
|
export { ApiError } from './core/ApiError';
|
|
5
5
|
export { CancelablePromise, CancelError } from './core/CancelablePromise';
|
|
6
6
|
export { OpenAPI } from './core/OpenAPI';
|
|
7
|
+
export { AppWithLastVersion } from './models/AppWithLastVersion';
|
|
7
8
|
export { AuditLog } from './models/AuditLog';
|
|
8
9
|
export { CompletedJob } from './models/CompletedJob';
|
|
9
10
|
export { FlowStatusModule } from './models/FlowStatusModule';
|
|
10
11
|
export { GlobalUserInfo } from './models/GlobalUserInfo';
|
|
11
12
|
export { Job } from './models/Job';
|
|
13
|
+
export { ListableApp } from './models/ListableApp';
|
|
14
|
+
export { Policy } from './models/Policy';
|
|
12
15
|
export { Preview } from './models/Preview';
|
|
13
16
|
export { QueuedJob } from './models/QueuedJob';
|
|
14
17
|
export { RawScript } from './models/RawScript';
|
|
15
18
|
export { Script } from './models/Script';
|
|
16
19
|
export { AdminService } from './services/AdminService';
|
|
20
|
+
export { AppService } from './services/AppService';
|
|
17
21
|
export { AuditService } from './services/AuditService';
|
|
22
|
+
export { CaptureService } from './services/CaptureService';
|
|
18
23
|
export { FlowService } from './services/FlowService';
|
|
19
24
|
export { GranularAclService } from './services/GranularAclService';
|
|
20
25
|
export { GroupService } from './services/GroupService';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Policy } from './Policy';
|
|
2
|
+
export declare type AppWithLastVersion = {
|
|
3
|
+
id?: number;
|
|
4
|
+
workspace_id?: string;
|
|
5
|
+
path?: string;
|
|
6
|
+
summary?: string;
|
|
7
|
+
versions?: Array<number>;
|
|
8
|
+
created_by?: string;
|
|
9
|
+
created_at?: string;
|
|
10
|
+
value?: any;
|
|
11
|
+
policy?: Policy;
|
|
12
|
+
execution_mode?: AppWithLastVersion.execution_mode;
|
|
13
|
+
extra_perms?: Record<string, boolean>;
|
|
14
|
+
};
|
|
15
|
+
export declare namespace AppWithLastVersion {
|
|
16
|
+
enum execution_mode {
|
|
17
|
+
VIEWER = "viewer",
|
|
18
|
+
PUBLISHER = "publisher",
|
|
19
|
+
ANONYMOUS = "anonymous"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* istanbul ignore file */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
export var AppWithLastVersion;
|
|
5
|
+
(function (AppWithLastVersion) {
|
|
6
|
+
let execution_mode;
|
|
7
|
+
(function (execution_mode) {
|
|
8
|
+
execution_mode["VIEWER"] = "viewer";
|
|
9
|
+
execution_mode["PUBLISHER"] = "publisher";
|
|
10
|
+
execution_mode["ANONYMOUS"] = "anonymous";
|
|
11
|
+
})(execution_mode = AppWithLastVersion.execution_mode || (AppWithLastVersion.execution_mode = {}));
|
|
12
|
+
})(AppWithLastVersion || (AppWithLastVersion = {}));
|
|
File without changes
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import type { FlowModule } from './FlowModule';
|
|
2
|
-
export declare type
|
|
2
|
+
export declare type BranchOne = {
|
|
3
3
|
branches: Array<{
|
|
4
4
|
summary?: string;
|
|
5
5
|
expr: string;
|
|
6
6
|
modules: Array<FlowModule>;
|
|
7
7
|
}>;
|
|
8
|
-
default:
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
type: 'branches';
|
|
8
|
+
default: Array<FlowModule>;
|
|
9
|
+
type: 'branchone';
|
|
12
10
|
};
|
|
@@ -41,11 +41,13 @@ export declare namespace CompletedJob {
|
|
|
41
41
|
DEPENDENCIES = "dependencies",
|
|
42
42
|
FLOW = "flow",
|
|
43
43
|
FLOWPREVIEW = "flowpreview",
|
|
44
|
-
SCRIPT_HUB = "script_hub"
|
|
44
|
+
SCRIPT_HUB = "script_hub",
|
|
45
|
+
IDENTITY = "identity"
|
|
45
46
|
}
|
|
46
47
|
enum language {
|
|
47
48
|
PYTHON3 = "python3",
|
|
48
49
|
DENO = "deno",
|
|
49
|
-
GO = "go"
|
|
50
|
+
GO = "go",
|
|
51
|
+
BASH = "bash"
|
|
50
52
|
}
|
|
51
53
|
}
|
|
@@ -11,11 +11,13 @@ export var CompletedJob;
|
|
|
11
11
|
job_kind["FLOW"] = "flow";
|
|
12
12
|
job_kind["FLOWPREVIEW"] = "flowpreview";
|
|
13
13
|
job_kind["SCRIPT_HUB"] = "script_hub";
|
|
14
|
+
job_kind["IDENTITY"] = "identity";
|
|
14
15
|
})(job_kind = CompletedJob.job_kind || (CompletedJob.job_kind = {}));
|
|
15
16
|
let language;
|
|
16
17
|
(function (language) {
|
|
17
18
|
language["PYTHON3"] = "python3";
|
|
18
19
|
language["DENO"] = "deno";
|
|
19
20
|
language["GO"] = "go";
|
|
21
|
+
language["BASH"] = "bash";
|
|
20
22
|
})(language = CompletedJob.language || (CompletedJob.language = {}));
|
|
21
23
|
})(CompletedJob || (CompletedJob = {}));
|
|
@@ -2,7 +2,8 @@ import type { FlowModuleValue } from './FlowModuleValue';
|
|
|
2
2
|
import type { InputTransform } from './InputTransform';
|
|
3
3
|
import type { Retry } from './Retry';
|
|
4
4
|
export declare type FlowModule = {
|
|
5
|
-
|
|
5
|
+
id: string;
|
|
6
|
+
input_transforms?: Record<string, InputTransform>;
|
|
6
7
|
value: FlowModuleValue;
|
|
7
8
|
stop_after_if?: {
|
|
8
9
|
skip_if_stopped?: boolean;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { BranchAll } from './BranchAll';
|
|
2
|
+
import type { BranchOne } from './BranchOne';
|
|
2
3
|
import type { ForloopFlow } from './ForloopFlow';
|
|
4
|
+
import type { Identity } from './Identity';
|
|
3
5
|
import type { PathScript } from './PathScript';
|
|
4
6
|
import type { RawScript } from './RawScript';
|
|
5
|
-
export declare type FlowModuleValue = (RawScript | PathScript | ForloopFlow |
|
|
7
|
+
export declare type FlowModuleValue = (RawScript | PathScript | ForloopFlow | BranchOne | BranchAll | Identity);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare type FlowStatusModule = {
|
|
2
2
|
type: FlowStatusModule.type;
|
|
3
|
+
id?: string;
|
|
3
4
|
job?: string;
|
|
4
5
|
count?: number;
|
|
5
6
|
iterator?: {
|
|
@@ -7,11 +8,19 @@ export declare type FlowStatusModule = {
|
|
|
7
8
|
itered?: Array<any>;
|
|
8
9
|
args?: any;
|
|
9
10
|
};
|
|
10
|
-
|
|
11
|
+
flow_jobs?: Array<string>;
|
|
11
12
|
branch_chosen?: {
|
|
12
|
-
type
|
|
13
|
+
type: FlowStatusModule.type;
|
|
13
14
|
branch?: number;
|
|
14
15
|
};
|
|
16
|
+
branchall?: {
|
|
17
|
+
branch: number;
|
|
18
|
+
len: number;
|
|
19
|
+
};
|
|
20
|
+
approvers?: Array<{
|
|
21
|
+
resume_id: number;
|
|
22
|
+
approver: string;
|
|
23
|
+
}>;
|
|
15
24
|
};
|
|
16
25
|
export declare namespace FlowStatusModule {
|
|
17
26
|
enum type {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare type ListableApp = {
|
|
2
|
+
id?: number;
|
|
3
|
+
workspace_id?: string;
|
|
4
|
+
path?: string;
|
|
5
|
+
summary?: string;
|
|
6
|
+
version?: number;
|
|
7
|
+
extra_perms?: Record<string, boolean>;
|
|
8
|
+
execution_mode?: ListableApp.execution_mode;
|
|
9
|
+
};
|
|
10
|
+
export declare namespace ListableApp {
|
|
11
|
+
enum execution_mode {
|
|
12
|
+
VIEWER = "viewer",
|
|
13
|
+
PUBLISHER = "publisher",
|
|
14
|
+
ANONYMOUS = "anonymous"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* istanbul ignore file */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
export var ListableApp;
|
|
5
|
+
(function (ListableApp) {
|
|
6
|
+
let execution_mode;
|
|
7
|
+
(function (execution_mode) {
|
|
8
|
+
execution_mode["VIEWER"] = "viewer";
|
|
9
|
+
execution_mode["PUBLISHER"] = "publisher";
|
|
10
|
+
execution_mode["ANONYMOUS"] = "anonymous";
|
|
11
|
+
})(execution_mode = ListableApp.execution_mode || (ListableApp.execution_mode = {}));
|
|
12
|
+
})(ListableApp || (ListableApp = {}));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare type Policy = {
|
|
2
|
+
triggerables?: Record<string, any>;
|
|
3
|
+
execution_mode?: Policy.execution_mode;
|
|
4
|
+
on_behalf_of?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare namespace Policy {
|
|
7
|
+
enum execution_mode {
|
|
8
|
+
VIEWER = "viewer",
|
|
9
|
+
PUBLISHER = "publisher",
|
|
10
|
+
ANONYMOUS = "anonymous"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* istanbul ignore file */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
export var Policy;
|
|
5
|
+
(function (Policy) {
|
|
6
|
+
let execution_mode;
|
|
7
|
+
(function (execution_mode) {
|
|
8
|
+
execution_mode["VIEWER"] = "viewer";
|
|
9
|
+
execution_mode["PUBLISHER"] = "publisher";
|
|
10
|
+
execution_mode["ANONYMOUS"] = "anonymous";
|
|
11
|
+
})(execution_mode = Policy.execution_mode || (Policy.execution_mode = {}));
|
|
12
|
+
})(Policy || (Policy = {}));
|
package/gen/models/Preview.d.ts
CHANGED
package/gen/models/Preview.js
CHANGED
|
@@ -39,11 +39,13 @@ export declare namespace QueuedJob {
|
|
|
39
39
|
DEPENDENCIES = "dependencies",
|
|
40
40
|
FLOW = "flow",
|
|
41
41
|
FLOWPREVIEW = "flowpreview",
|
|
42
|
-
SCRIPT_HUB = "script_hub"
|
|
42
|
+
SCRIPT_HUB = "script_hub",
|
|
43
|
+
IDENTITY = "identity"
|
|
43
44
|
}
|
|
44
45
|
enum language {
|
|
45
46
|
PYTHON3 = "python3",
|
|
46
47
|
DENO = "deno",
|
|
47
|
-
GO = "go"
|
|
48
|
+
GO = "go",
|
|
49
|
+
BASH = "bash"
|
|
48
50
|
}
|
|
49
51
|
}
|
package/gen/models/QueuedJob.js
CHANGED
|
@@ -11,11 +11,13 @@ export var QueuedJob;
|
|
|
11
11
|
job_kind["FLOW"] = "flow";
|
|
12
12
|
job_kind["FLOWPREVIEW"] = "flowpreview";
|
|
13
13
|
job_kind["SCRIPT_HUB"] = "script_hub";
|
|
14
|
+
job_kind["IDENTITY"] = "identity";
|
|
14
15
|
})(job_kind = QueuedJob.job_kind || (QueuedJob.job_kind = {}));
|
|
15
16
|
let language;
|
|
16
17
|
(function (language) {
|
|
17
18
|
language["PYTHON3"] = "python3";
|
|
18
19
|
language["DENO"] = "deno";
|
|
19
20
|
language["GO"] = "go";
|
|
21
|
+
language["BASH"] = "bash";
|
|
20
22
|
})(language = QueuedJob.language || (QueuedJob.language = {}));
|
|
21
23
|
})(QueuedJob || (QueuedJob = {}));
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import type { InputTransform } from './InputTransform';
|
|
1
2
|
export declare type RawScript = {
|
|
3
|
+
input_transforms: Record<string, InputTransform>;
|
|
2
4
|
content: string;
|
|
3
5
|
language: RawScript.language;
|
|
4
6
|
path?: string;
|
|
@@ -8,6 +10,7 @@ export declare namespace RawScript {
|
|
|
8
10
|
enum language {
|
|
9
11
|
DENO = "deno",
|
|
10
12
|
PYTHON3 = "python3",
|
|
11
|
-
GO = "go"
|
|
13
|
+
GO = "go",
|
|
14
|
+
BASH = "bash"
|
|
12
15
|
}
|
|
13
16
|
}
|
package/gen/models/RawScript.js
CHANGED
package/gen/models/Script.d.ts
CHANGED
|
@@ -26,12 +26,14 @@ export declare namespace Script {
|
|
|
26
26
|
enum language {
|
|
27
27
|
PYTHON3 = "python3",
|
|
28
28
|
DENO = "deno",
|
|
29
|
-
GO = "go"
|
|
29
|
+
GO = "go",
|
|
30
|
+
BASH = "bash"
|
|
30
31
|
}
|
|
31
32
|
enum kind {
|
|
32
33
|
SCRIPT = "script",
|
|
33
34
|
FAILURE = "failure",
|
|
34
35
|
TRIGGER = "trigger",
|
|
35
|
-
COMMAND = "command"
|
|
36
|
+
COMMAND = "command",
|
|
37
|
+
APPROVAL = "approval"
|
|
36
38
|
}
|
|
37
39
|
}
|
package/gen/models/Script.js
CHANGED
|
@@ -8,6 +8,7 @@ export var Script;
|
|
|
8
8
|
language["PYTHON3"] = "python3";
|
|
9
9
|
language["DENO"] = "deno";
|
|
10
10
|
language["GO"] = "go";
|
|
11
|
+
language["BASH"] = "bash";
|
|
11
12
|
})(language = Script.language || (Script.language = {}));
|
|
12
13
|
let kind;
|
|
13
14
|
(function (kind) {
|
|
@@ -15,5 +16,6 @@ export var Script;
|
|
|
15
16
|
kind["FAILURE"] = "failure";
|
|
16
17
|
kind["TRIGGER"] = "trigger";
|
|
17
18
|
kind["COMMAND"] = "command";
|
|
19
|
+
kind["APPROVAL"] = "approval";
|
|
18
20
|
})(kind = Script.kind || (Script.kind = {}));
|
|
19
21
|
})(Script || (Script = {}));
|