@prefecthq/prefect-ui-library 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +57 -0
- package/dist/circle.svg +34 -0
- package/dist/constellations.svg +78 -0
- package/dist/index-5e1667e6.mjs +58953 -0
- package/dist/index-5e1667e6.mjs.map +1 -0
- package/dist/prefect-ui-library.mjs +593 -0
- package/dist/prefect-ui-library.mjs.map +1 -0
- package/dist/prefect-ui-library.umd.js +1079 -0
- package/dist/prefect-ui-library.umd.js.map +1 -0
- package/dist/style.css +1 -0
- package/dist/types/demo/App.vue.d.ts +2 -0
- package/dist/types/demo/components/ComponentPage.vue.d.ts +27 -0
- package/dist/types/demo/components/ContextSidebar.vue.d.ts +2 -0
- package/dist/types/demo/components/HashLink.vue.d.ts +22 -0
- package/dist/types/demo/components/ResizableSection.vue.d.ts +9 -0
- package/dist/types/demo/components/contextAccordionChildItem.d.ts +5 -0
- package/dist/types/demo/components/router.d.ts +3 -0
- package/dist/types/demo/compositions/useBlockDocumentMock.d.ts +3 -0
- package/dist/types/demo/compositions/useBlockSchemaCapabilitiesMock.d.ts +2 -0
- package/dist/types/demo/compositions/useBlockSchemaMock.d.ts +3 -0
- package/dist/types/demo/compositions/useBlockTypeMock.d.ts +3 -0
- package/dist/types/demo/compositions/useFlowMock.d.ts +3 -0
- package/dist/types/demo/compositions/useFlowRunGraphMock.d.ts +2 -0
- package/dist/types/demo/compositions/useFlowRunsMock.d.ts +3 -0
- package/dist/types/demo/compositions/useSeeds.d.ts +20 -0
- package/dist/types/demo/compositions/useTaskRunsMock.d.ts +3 -0
- package/dist/types/demo/compositions/useWorkPoolMock.d.ts +3 -0
- package/dist/types/demo/compositions/useWorkPoolQueueMock.d.ts +3 -0
- package/dist/types/demo/compositions/useWorkersMock.d.ts +3 -0
- package/dist/types/demo/main.d.ts +2 -0
- package/dist/types/demo/router/index.d.ts +3 -0
- package/dist/types/demo/router/menu.d.ts +4 -0
- package/dist/types/demo/router/routeRecords.d.ts +5 -0
- package/dist/types/demo/router/routeRecordsFlat.d.ts +4 -0
- package/dist/types/demo/sections/TimezoneSupport.vue.d.ts +2 -0
- package/dist/types/demo/sections/WelcomePage.vue.d.ts +2 -0
- package/dist/types/demo/sections/blocks/BlockCapabilityBlockDocumentInput.vue.d.ts +2 -0
- package/dist/types/demo/sections/blocks/BlockDocumentCard.vue.d.ts +2 -0
- package/dist/types/demo/sections/blocks/BlockDocumentInput.vue.d.ts +2 -0
- package/dist/types/demo/sections/blocks/BlockDocumentKeyValue.vue.d.ts +2 -0
- package/dist/types/demo/sections/blocks/BlockDocumentMenu.vue.d.ts +2 -0
- package/dist/types/demo/sections/blocks/BlockDocumentsSelect.vue.d.ts +2 -0
- package/dist/types/demo/sections/blocks/BlockDocumentsTable.vue.d.ts +2 -0
- package/dist/types/demo/sections/blocks/BlockIconText.vue.d.ts +2 -0
- package/dist/types/demo/sections/blocks/BlockSchemaCapabilities.vue.d.ts +2 -0
- package/dist/types/demo/sections/blocks/BlockSchemaCapabilitiesSelect.vue.d.ts +2 -0
- package/dist/types/demo/sections/blocks/BlockSchemaCreateForm.vue.d.ts +2 -0
- package/dist/types/demo/sections/blocks/BlockSchemaEditForm.vue.d.ts +2 -0
- package/dist/types/demo/sections/blocks/BlockTypeCard.vue.d.ts +2 -0
- package/dist/types/demo/sections/blocks/BlockTypeCardLayout.vue.d.ts +2 -0
- package/dist/types/demo/sections/blocks/BlockTypeCardPreview.vue.d.ts +2 -0
- package/dist/types/demo/sections/blocks/BlockTypeList.vue.d.ts +2 -0
- package/dist/types/demo/sections/blocks/BlockTypeSelect.vue.d.ts +2 -0
- package/dist/types/demo/sections/blocks/BlockTypeSnippet.vue.d.ts +2 -0
- package/dist/types/demo/sections/blocks/BlocksPageEmptyState.vue.d.ts +2 -0
- package/dist/types/demo/sections/blocks/index.d.ts +2 -0
- package/dist/types/demo/sections/concurrency/ConcurrencyLimitDetails.vue.d.ts +2 -0
- package/dist/types/demo/sections/concurrency/ConcurrencyLimitModal.vue.d.ts +2 -0
- package/dist/types/demo/sections/concurrency/ConcurrencyLimitsPageEmptyState.vue.d.ts +2 -0
- package/dist/types/demo/sections/concurrency/ConcurrencyLimitsTable.vue.d.ts +2 -0
- package/dist/types/demo/sections/concurrency/index.d.ts +2 -0
- package/dist/types/demo/sections/deployments/CronScheduleForm.vue.d.ts +2 -0
- package/dist/types/demo/sections/deployments/index.d.ts +2 -0
- package/dist/types/demo/sections/flowRuns/FlowRunDetails.vue.d.ts +2 -0
- package/dist/types/demo/sections/flowRuns/FlowRunList.vue.d.ts +2 -0
- package/dist/types/demo/sections/flowRuns/FlowRunListItem.vue.d.ts +2 -0
- package/dist/types/demo/sections/flowRuns/FlowRunRadar.vue.d.ts +2 -0
- package/dist/types/demo/sections/flowRuns/FlowRunsFilterGroup.vue.d.ts +2 -0
- package/dist/types/demo/sections/flowRuns/index.d.ts +2 -0
- package/dist/types/demo/sections/general/CodeBanner.vue.d.ts +2 -0
- package/dist/types/demo/sections/general/CodeSnippet.vue.d.ts +2 -0
- package/dist/types/demo/sections/general/ColorModeSelect.vue.d.ts +2 -0
- package/dist/types/demo/sections/general/ColorModeSelectOption.vue.d.ts +2 -0
- package/dist/types/demo/sections/general/ConfirmDeleteModal.vue.d.ts +2 -0
- package/dist/types/demo/sections/general/CopyOverflowMenuItem.vue.d.ts +2 -0
- package/dist/types/demo/sections/general/LogoImage.vue.d.ts +2 -0
- package/dist/types/demo/sections/general/index.d.ts +2 -0
- package/dist/types/demo/sections/index.d.ts +2 -0
- package/dist/types/demo/sections/logs/RunLogs.vue.d.ts +2 -0
- package/dist/types/demo/sections/logs/index.d.ts +2 -0
- package/dist/types/demo/sections/notifications/NotificationForm.vue.d.ts +2 -0
- package/dist/types/demo/sections/notifications/index.d.ts +2 -0
- package/dist/types/demo/sections/states/StateNameSelect.vue.d.ts +2 -0
- package/dist/types/demo/sections/states/index.d.ts +2 -0
- package/dist/types/demo/sections/workers/WorkPoolCard.vue.d.ts +2 -0
- package/dist/types/demo/sections/workers/WorkPoolTables.vue.d.ts +2 -0
- package/dist/types/demo/sections/workers/WorkerHeadings.vue.d.ts +2 -0
- package/dist/types/demo/sections/workers/WorkersTable.vue.d.ts +2 -0
- package/dist/types/demo/sections/workers/index.d.ts +2 -0
- package/dist/types/demo/services/KeyedDataStore.d.ts +35 -0
- package/dist/types/demo/services/MockApi.d.ts +16 -0
- package/dist/types/demo/services/SimpleDataStore.d.ts +21 -0
- package/dist/types/demo/services/mockWorkspaceBlockCapabilitiesApi.d.ts +5 -0
- package/dist/types/demo/services/mockWorkspaceBlockDocumentsApi.d.ts +10 -0
- package/dist/types/demo/services/mockWorkspaceBlockSchemasApi.d.ts +8 -0
- package/dist/types/demo/services/mockWorkspaceBlockTypesApi.d.ts +9 -0
- package/dist/types/demo/services/mockWorkspaceConcurrencyLimitsApi.d.ts +13 -0
- package/dist/types/demo/services/mockWorkspaceDeploymentsApi.d.ts +14 -0
- package/dist/types/demo/services/mockWorkspaceFlowRunsApi.d.ts +16 -0
- package/dist/types/demo/services/mockWorkspaceFlowsApi.d.ts +10 -0
- package/dist/types/demo/services/mockWorkspaceTaskRunsApi.d.ts +11 -0
- package/dist/types/demo/services/mockWorkspaceWorkPoolQueuesApi.d.ts +13 -0
- package/dist/types/demo/services/mockWorkspaceWorkPoolWorkerApi.d.ts +6 -0
- package/dist/types/demo/services/mockWorkspaceWorkPoolsApi.d.ts +15 -0
- package/dist/types/demo/services/mockWorkspaceWorkQueuesApi.d.ts +16 -0
- package/dist/types/demo/types/demoSection.d.ts +4 -0
- package/dist/types/demo/types/flowRunGraphMock.d.ts +5 -0
- package/dist/types/demo/utilities/api.d.ts +21 -0
- package/dist/types/demo/utilities/colorMode.d.ts +2 -0
- package/dist/types/demo/utilities/data.d.ts +38 -0
- package/dist/types/src/components/ActivityChart.vue.d.ts +22 -0
- package/dist/types/src/components/BetaBadge.vue.d.ts +2 -0
- package/dist/types/src/components/BlockCapabilityBlockDocumentInput.vue.d.ts +21 -0
- package/dist/types/src/components/BlockDocument.vue.d.ts +24 -0
- package/dist/types/src/components/BlockDocumentCard.vue.d.ts +16 -0
- package/dist/types/src/components/BlockDocumentInput.vue.d.ts +21 -0
- package/dist/types/src/components/BlockDocumentKeyValue.vue.d.ts +15 -0
- package/dist/types/src/components/BlockDocumentMenu.vue.d.ts +20 -0
- package/dist/types/src/components/BlockDocumentsSelect.vue.d.ts +29 -0
- package/dist/types/src/components/BlockDocumentsTable.vue.d.ts +20 -0
- package/dist/types/src/components/BlockIconText.vue.d.ts +15 -0
- package/dist/types/src/components/BlockSchemaCapabilities.vue.d.ts +17 -0
- package/dist/types/src/components/BlockSchemaCapabilitySelect.vue.d.ts +19 -0
- package/dist/types/src/components/BlockSchemaCreateForm.vue.d.ts +24 -0
- package/dist/types/src/components/BlockSchemaEditForm.vue.d.ts +29 -0
- package/dist/types/src/components/BlockTypeCard.vue.d.ts +23 -0
- package/dist/types/src/components/BlockTypeCardLayout.vue.d.ts +23 -0
- package/dist/types/src/components/BlockTypeCardPreview.vue.d.ts +23 -0
- package/dist/types/src/components/BlockTypeList.vue.d.ts +22 -0
- package/dist/types/src/components/BlockTypeSelect.vue.d.ts +19 -0
- package/dist/types/src/components/BlockTypeSnippet.vue.d.ts +17 -0
- package/dist/types/src/components/BlocksPageEmptyState.vue.d.ts +2 -0
- package/dist/types/src/components/CodeBanner.vue.d.ts +27 -0
- package/dist/types/src/components/CodeHighlighting.vue.d.ts +19 -0
- package/dist/types/src/components/CodeLines.vue.d.ts +17 -0
- package/dist/types/src/components/CodeSnippet.vue.d.ts +19 -0
- package/dist/types/src/components/ColorModeSelect.vue.d.ts +19 -0
- package/dist/types/src/components/ColorModeSelectOption.vue.d.ts +16 -0
- package/dist/types/src/components/ConcurrencyLimitActiveRuns.vue.d.ts +15 -0
- package/dist/types/src/components/ConcurrencyLimitDetails.vue.d.ts +18 -0
- package/dist/types/src/components/ConcurrencyLimitMenu.vue.d.ts +20 -0
- package/dist/types/src/components/ConcurrencyLimitsCreateModal.vue.d.ts +26 -0
- package/dist/types/src/components/ConcurrencyLimitsPageEmptyState.vue.d.ts +2 -0
- package/dist/types/src/components/ConcurrencyLimitsTable.vue.d.ts +2 -0
- package/dist/types/src/components/ConcurrencyTableActiveSlots.vue.d.ts +15 -0
- package/dist/types/src/components/ConfirmDeleteModal.vue.d.ts +54 -0
- package/dist/types/src/components/ConfirmDeleteModalWithSlot.vue.d.ts +8 -0
- package/dist/types/src/components/ConfirmStateChangeModal.vue.d.ts +46 -0
- package/dist/types/src/components/CopyOverflowMenuItem.vue.d.ts +17 -0
- package/dist/types/src/components/CronScheduleForm.vue.d.ts +51 -0
- package/dist/types/src/components/DateInput.vue.d.ts +35 -0
- package/dist/types/src/components/DateRangeInput.vue.d.ts +34 -0
- package/dist/types/src/components/DateRangeInputWithFlowRunHistory.vue.d.ts +2 -0
- package/dist/types/src/components/DayOrDescriptionModal.vue.d.ts +2 -0
- package/dist/types/src/components/DeploymentCombobox.vue.d.ts +42 -0
- package/dist/types/src/components/DeploymentComboboxOption.vue.d.ts +17 -0
- package/dist/types/src/components/DeploymentCustomRunOverflowMenuItem.vue.d.ts +22 -0
- package/dist/types/src/components/DeploymentDeprecatedMessage.vue.d.ts +2 -0
- package/dist/types/src/components/DeploymentDescription.vue.d.ts +15 -0
- package/dist/types/src/components/DeploymentDescriptionEmptyState.vue.d.ts +16 -0
- package/dist/types/src/components/DeploymentDetails.vue.d.ts +22 -0
- package/dist/types/src/components/DeploymentForm.vue.d.ts +23 -0
- package/dist/types/src/components/DeploymentIconText.vue.d.ts +15 -0
- package/dist/types/src/components/DeploymentMenu.vue.d.ts +22 -0
- package/dist/types/src/components/DeploymentQuickRunOverflowMenuItem.vue.d.ts +22 -0
- package/dist/types/src/components/DeploymentToggle.vue.d.ts +20 -0
- package/dist/types/src/components/DeploymentsCount.vue.d.ts +15 -0
- package/dist/types/src/components/DeploymentsDeleteButton.vue.d.ts +19 -0
- package/dist/types/src/components/DeploymentsPageEmptyState.vue.d.ts +2 -0
- package/dist/types/src/components/DeploymentsTable.vue.d.ts +20 -0
- package/dist/types/src/components/DocumentationButton.vue.d.ts +22 -0
- package/dist/types/src/components/DurationIconText.vue.d.ts +15 -0
- package/dist/types/src/components/ExtraInfoModal.vue.d.ts +19 -0
- package/dist/types/src/components/FlowActivityChart.vue.d.ts +16 -0
- package/dist/types/src/components/FlowCombobox.vue.d.ts +36 -0
- package/dist/types/src/components/FlowDetails.vue.d.ts +18 -0
- package/dist/types/src/components/FlowIconText.vue.d.ts +15 -0
- package/dist/types/src/components/FlowMenu.vue.d.ts +29 -0
- package/dist/types/src/components/FlowRouterLink.vue.d.ts +27 -0
- package/dist/types/src/components/FlowRunCancelButton.vue.d.ts +16 -0
- package/dist/types/src/components/FlowRunCancelModal.vue.d.ts +24 -0
- package/dist/types/src/components/FlowRunCreateForm.vue.d.ts +25 -0
- package/dist/types/src/components/FlowRunDetails.vue.d.ts +20 -0
- package/dist/types/src/components/FlowRunFilteredList.vue.d.ts +24 -0
- package/dist/types/src/components/FlowRunIconText.vue.d.ts +15 -0
- package/dist/types/src/components/FlowRunList.vue.d.ts +24 -0
- package/dist/types/src/components/FlowRunListItem.vue.d.ts +25 -0
- package/dist/types/src/components/FlowRunLogs.vue.d.ts +16 -0
- package/dist/types/src/components/FlowRunMenu.vue.d.ts +19 -0
- package/dist/types/src/components/FlowRunPauseButton.vue.d.ts +16 -0
- package/dist/types/src/components/FlowRunPauseModal.vue.d.ts +21 -0
- package/dist/types/src/components/FlowRunPopOver.vue.d.ts +15 -0
- package/dist/types/src/components/FlowRunPopOverContent.vue.d.ts +15 -0
- package/dist/types/src/components/FlowRunResumeButton.vue.d.ts +16 -0
- package/dist/types/src/components/FlowRunResumeModal.vue.d.ts +21 -0
- package/dist/types/src/components/FlowRunRetryButton.vue.d.ts +16 -0
- package/dist/types/src/components/FlowRunRetryModal.vue.d.ts +27 -0
- package/dist/types/src/components/FlowRunStartTime.vue.d.ts +16 -0
- package/dist/types/src/components/FlowRunSubFlows.vue.d.ts +15 -0
- package/dist/types/src/components/FlowRunTagsInput.vue.d.ts +24 -0
- package/dist/types/src/components/FlowRunTaskCount.vue.d.ts +24 -0
- package/dist/types/src/components/FlowRunTaskRuns.vue.d.ts +15 -0
- package/dist/types/src/components/FlowRunTimeline.vue.d.ts +16 -0
- package/dist/types/src/components/FlowRunTimelineOptions.vue.d.ts +25 -0
- package/dist/types/src/components/FlowRunsDeleteButton.vue.d.ts +19 -0
- package/dist/types/src/components/FlowRunsFilterGroup.vue.d.ts +2 -0
- package/dist/types/src/components/FlowRunsPageEmptyState.vue.d.ts +2 -0
- package/dist/types/src/components/FlowRunsScatterPlot.vue.d.ts +20 -0
- package/dist/types/src/components/FlowRunsSort.vue.d.ts +20 -0
- package/dist/types/src/components/FlowsDeleteButton.vue.d.ts +19 -0
- package/dist/types/src/components/FlowsPageEmptyState.vue.d.ts +2 -0
- package/dist/types/src/components/FlowsTable.vue.d.ts +20 -0
- package/dist/types/src/components/FourZeroFour.vue.d.ts +11 -0
- package/dist/types/src/components/HelpIconModal.vue.d.ts +25 -0
- package/dist/types/src/components/IntervalScheduleForm.vue.d.ts +51 -0
- package/dist/types/src/components/JsonInput.vue.d.ts +26 -0
- package/dist/types/src/components/LogLevelLabel.vue.d.ts +16 -0
- package/dist/types/src/components/LogLevelSelect.vue.d.ts +20 -0
- package/dist/types/src/components/LogRow.vue.d.ts +16 -0
- package/dist/types/src/components/LogoImage.vue.d.ts +28 -0
- package/dist/types/src/components/LogsContainer.vue.d.ts +27 -0
- package/dist/types/src/components/LogsSort.vue.d.ts +20 -0
- package/dist/types/src/components/MarketingBanner.vue.d.ts +27 -0
- package/dist/types/src/components/NotificationDetails.vue.d.ts +21 -0
- package/dist/types/src/components/NotificationForm.vue.d.ts +29 -0
- package/dist/types/src/components/NotificationMenu.vue.d.ts +20 -0
- package/dist/types/src/components/NotificationStatusSelect.vue.d.ts +20 -0
- package/dist/types/src/components/NotificationToggle.vue.d.ts +20 -0
- package/dist/types/src/components/NotificationsPageEmptyState.vue.d.ts +2 -0
- package/dist/types/src/components/NotificationsTable.vue.d.ts +23 -0
- package/dist/types/src/components/PageHeading.vue.d.ts +33 -0
- package/dist/types/src/components/PageHeadingAccountSettings.vue.d.ts +2 -0
- package/dist/types/src/components/PageHeadingApiKeys.vue.d.ts +2 -0
- package/dist/types/src/components/PageHeadingBlock.vue.d.ts +20 -0
- package/dist/types/src/components/PageHeadingBlockEdit.vue.d.ts +16 -0
- package/dist/types/src/components/PageHeadingBlocks.vue.d.ts +2 -0
- package/dist/types/src/components/PageHeadingBlocksCatalog.vue.d.ts +2 -0
- package/dist/types/src/components/PageHeadingBlocksCatalogCreate.vue.d.ts +16 -0
- package/dist/types/src/components/PageHeadingBlocksCatalogView.vue.d.ts +16 -0
- package/dist/types/src/components/PageHeadingConcurrencyLimit.vue.d.ts +16 -0
- package/dist/types/src/components/PageHeadingConcurrencyLimits.vue.d.ts +2 -0
- package/dist/types/src/components/PageHeadingDeployment.vue.d.ts +23 -0
- package/dist/types/src/components/PageHeadingDeploymentEdit.vue.d.ts +16 -0
- package/dist/types/src/components/PageHeadingDeployments.vue.d.ts +2 -0
- package/dist/types/src/components/PageHeadingFlow.vue.d.ts +20 -0
- package/dist/types/src/components/PageHeadingFlowRun.vue.d.ts +19 -0
- package/dist/types/src/components/PageHeadingFlowRunCreate.vue.d.ts +16 -0
- package/dist/types/src/components/PageHeadingFlowRunRadar.vue.d.ts +18 -0
- package/dist/types/src/components/PageHeadingFlowRuns.vue.d.ts +15 -0
- package/dist/types/src/components/PageHeadingFlows.vue.d.ts +2 -0
- package/dist/types/src/components/PageHeadingNotificationCreate.vue.d.ts +2 -0
- package/dist/types/src/components/PageHeadingNotificationEdit.vue.d.ts +2 -0
- package/dist/types/src/components/PageHeadingNotifications.vue.d.ts +2 -0
- package/dist/types/src/components/PageHeadingTaskRun.vue.d.ts +17 -0
- package/dist/types/src/components/PageHeadingWorkPool.vue.d.ts +23 -0
- package/dist/types/src/components/PageHeadingWorkPoolCreate.vue.d.ts +2 -0
- package/dist/types/src/components/PageHeadingWorkPoolEdit.vue.d.ts +16 -0
- package/dist/types/src/components/PageHeadingWorkPoolQueue.vue.d.ts +25 -0
- package/dist/types/src/components/PageHeadingWorkPoolQueueCreate.vue.d.ts +15 -0
- package/dist/types/src/components/PageHeadingWorkPoolQueueEdit.vue.d.ts +17 -0
- package/dist/types/src/components/PageHeadingWorkPools.vue.d.ts +2 -0
- package/dist/types/src/components/PageHeadingWorkQueue.vue.d.ts +23 -0
- package/dist/types/src/components/PageHeadingWorkQueueCreate.vue.d.ts +2 -0
- package/dist/types/src/components/PageHeadingWorkQueueEdit.vue.d.ts +16 -0
- package/dist/types/src/components/PageHeadingWorkQueues.vue.d.ts +2 -0
- package/dist/types/src/components/PageHeadingWorkspaceSettings.vue.d.ts +2 -0
- package/dist/types/src/components/ParametersTable.vue.d.ts +16 -0
- package/dist/types/src/components/ProcessTypeBadge.vue.d.ts +15 -0
- package/dist/types/src/components/PythonInput.vue.d.ts +24 -0
- package/dist/types/src/components/RadarApp.vue.d.ts +15 -0
- package/dist/types/src/components/RadarNode.vue.d.ts +66 -0
- package/dist/types/src/components/RadarNodeFlowRun.vue.d.ts +16 -0
- package/dist/types/src/components/RadarNodePlaceholder.vue.d.ts +2 -0
- package/dist/types/src/components/RadarNodeSubFlowRun.vue.d.ts +16 -0
- package/dist/types/src/components/RadarNodeTaskRun.vue.d.ts +16 -0
- package/dist/types/src/components/RadarSmall.vue.d.ts +15 -0
- package/dist/types/src/components/ResultsCount.vue.d.ts +28 -0
- package/dist/types/src/components/RunMenu.vue.d.ts +16 -0
- package/dist/types/src/components/SaveFilterModal.vue.d.ts +30 -0
- package/dist/types/src/components/SavedFilters.vue.d.ts +2 -0
- package/dist/types/src/components/SavedFiltersDeleteModal.vue.d.ts +25 -0
- package/dist/types/src/components/SavedFiltersMenu.vue.d.ts +20 -0
- package/dist/types/src/components/ScheduleFieldset.vue.d.ts +22 -0
- package/dist/types/src/components/ScheduleFormModal.vue.d.ts +30 -0
- package/dist/types/src/components/SchemaForm.vue.d.ts +25 -0
- package/dist/types/src/components/SchemaFormFields.vue.d.ts +18 -0
- package/dist/types/src/components/SchemaFormInput.vue.d.ts +18 -0
- package/dist/types/src/components/SchemaFormProperties.vue.d.ts +18 -0
- package/dist/types/src/components/SchemaFormProperty.vue.d.ts +18 -0
- package/dist/types/src/components/SchemaFormPropertyAllOf.vue.d.ts +18 -0
- package/dist/types/src/components/SchemaFormPropertyAnyOf.vue.d.ts +18 -0
- package/dist/types/src/components/SchemaPropertiesKeyValues.vue.d.ts +18 -0
- package/dist/types/src/components/SchemaPropertyBlockKeyValue.vue.d.ts +19 -0
- package/dist/types/src/components/SchemaPropertyKeyValue.vue.d.ts +18 -0
- package/dist/types/src/components/SearchInput.vue.d.ts +37 -0
- package/dist/types/src/components/SelectedCount.vue.d.ts +28 -0
- package/dist/types/src/components/SeparatedList.vue.d.ts +24 -0
- package/dist/types/src/components/StateBadge.vue.d.ts +26 -0
- package/dist/types/src/components/StateIcon.vue.d.ts +30 -0
- package/dist/types/src/components/StateListItem.vue.d.ts +37 -0
- package/dist/types/src/components/StateNameSelect.vue.d.ts +21 -0
- package/dist/types/src/components/StateSelect.vue.d.ts +23 -0
- package/dist/types/src/components/SubmitButton.vue.d.ts +27 -0
- package/dist/types/src/components/TaskRunDetails.vue.d.ts +18 -0
- package/dist/types/src/components/TaskRunList.vue.d.ts +24 -0
- package/dist/types/src/components/TaskRunListItem.vue.d.ts +25 -0
- package/dist/types/src/components/TaskRunLogs.vue.d.ts +16 -0
- package/dist/types/src/components/TaskRunPanel.vue.d.ts +19 -0
- package/dist/types/src/components/TaskRunsSort.vue.d.ts +20 -0
- package/dist/types/src/components/TimezoneSelect.vue.d.ts +28 -0
- package/dist/types/src/components/ToastFlowRunCreate.vue.d.ts +26 -0
- package/dist/types/src/components/WorkPoolCard.vue.d.ts +20 -0
- package/dist/types/src/components/WorkPoolCombobox.vue.d.ts +36 -0
- package/dist/types/src/components/WorkPoolCreateForm.vue.d.ts +2 -0
- package/dist/types/src/components/WorkPoolDetails.vue.d.ts +18 -0
- package/dist/types/src/components/WorkPoolEditForm.vue.d.ts +16 -0
- package/dist/types/src/components/WorkPoolIconText.vue.d.ts +15 -0
- package/dist/types/src/components/WorkPoolLateIndicator.vue.d.ts +15 -0
- package/dist/types/src/components/WorkPoolList.vue.d.ts +23 -0
- package/dist/types/src/components/WorkPoolMenu.vue.d.ts +20 -0
- package/dist/types/src/components/WorkPoolQueueCombobox.vue.d.ts +38 -0
- package/dist/types/src/components/WorkPoolQueueCreateForm.vue.d.ts +15 -0
- package/dist/types/src/components/WorkPoolQueueDetails.vue.d.ts +20 -0
- package/dist/types/src/components/WorkPoolQueueEditForm.vue.d.ts +18 -0
- package/dist/types/src/components/WorkPoolQueueMenu.vue.d.ts +22 -0
- package/dist/types/src/components/WorkPoolQueuePriorityLabel.vue.d.ts +2 -0
- package/dist/types/src/components/WorkPoolQueueToggle.vue.d.ts +22 -0
- package/dist/types/src/components/WorkPoolQueueUpcomingFlowRunsList.vue.d.ts +18 -0
- package/dist/types/src/components/WorkPoolQueuesDeleteButton.vue.d.ts +22 -0
- package/dist/types/src/components/WorkPoolQueuesTable.vue.d.ts +15 -0
- package/dist/types/src/components/WorkPoolToggle.vue.d.ts +20 -0
- package/dist/types/src/components/WorkPoolTypeSelect.vue.d.ts +19 -0
- package/dist/types/src/components/WorkPools.vue.d.ts +6 -0
- package/dist/types/src/components/WorkPoolsPageEmptyState.vue.d.ts +2 -0
- package/dist/types/src/components/WorkQueueCombobox.vue.d.ts +36 -0
- package/dist/types/src/components/WorkQueueCreateForm.vue.d.ts +10 -0
- package/dist/types/src/components/WorkQueueDetails.vue.d.ts +18 -0
- package/dist/types/src/components/WorkQueueEditForm.vue.d.ts +31 -0
- package/dist/types/src/components/WorkQueueFlowRunsList.vue.d.ts +16 -0
- package/dist/types/src/components/WorkQueueIconText.vue.d.ts +19 -0
- package/dist/types/src/components/WorkQueueLastPolled.vue.d.ts +15 -0
- package/dist/types/src/components/WorkQueueLateIndicator.vue.d.ts +15 -0
- package/dist/types/src/components/WorkQueueMenu.vue.d.ts +29 -0
- package/dist/types/src/components/WorkQueueStatusBadge.vue.d.ts +16 -0
- package/dist/types/src/components/WorkQueueStatusIcon.vue.d.ts +15 -0
- package/dist/types/src/components/WorkQueueToggle.vue.d.ts +20 -0
- package/dist/types/src/components/WorkQueuesDeleteButton.vue.d.ts +20 -0
- package/dist/types/src/components/WorkQueuesPageEmptyState.vue.d.ts +2 -0
- package/dist/types/src/components/WorkQueuesTable.vue.d.ts +23 -0
- package/dist/types/src/components/WorkersLateIndicator.vue.d.ts +17 -0
- package/dist/types/src/components/WorkersTable.vue.d.ts +15 -0
- package/dist/types/src/components/index.d.ts +238 -0
- package/dist/types/src/compositions/index.d.ts +27 -0
- package/dist/types/src/compositions/useBlockDocument.d.ts +3 -0
- package/dist/types/src/compositions/useBlockSchema.d.ts +4 -0
- package/dist/types/src/compositions/useBlockType.d.ts +4 -0
- package/dist/types/src/compositions/useCan.d.ts +2 -0
- package/dist/types/src/compositions/useComponent.d.ts +14 -0
- package/dist/types/src/compositions/useDeployment.d.ts +3 -0
- package/dist/types/src/compositions/useDeploymentFilter.d.ts +15 -0
- package/dist/types/src/compositions/useFavicon.d.ts +3 -0
- package/dist/types/src/compositions/useFilter.d.ts +22 -0
- package/dist/types/src/compositions/useFlow.d.ts +3 -0
- package/dist/types/src/compositions/useFlowFilter.d.ts +13 -0
- package/dist/types/src/compositions/useFlowRun.d.ts +3 -0
- package/dist/types/src/compositions/useFlowRunFilter.d.ts +7 -0
- package/dist/types/src/compositions/useFlowRunFilterFromRoute.d.ts +23 -0
- package/dist/types/src/compositions/useForm.d.ts +2 -0
- package/dist/types/src/compositions/useOptionalRules.d.ts +5 -0
- package/dist/types/src/compositions/usePaginatedSubscription.d.ts +10 -0
- package/dist/types/src/compositions/useReactiveField.d.ts +3 -0
- package/dist/types/src/compositions/useReactiveForm.d.ts +3 -0
- package/dist/types/src/compositions/useScrollLinking.d.ts +22 -0
- package/dist/types/src/compositions/useShowModal.d.ts +10 -0
- package/dist/types/src/compositions/useTabs.d.ts +6 -0
- package/dist/types/src/compositions/useTaskRun.d.ts +3 -0
- package/dist/types/src/compositions/useTaskRunsCount.d.ts +2 -0
- package/dist/types/src/compositions/useWorkQueueStatus.d.ts +3 -0
- package/dist/types/src/compositions/useWorkspaceApi.d.ts +2 -0
- package/dist/types/src/compositions/useWorkspaceRoutes.d.ts +253 -0
- package/dist/types/src/index.d.ts +17 -0
- package/dist/types/src/localization/index.d.ts +93 -0
- package/dist/types/src/localization/locale/en.d.ts +93 -0
- package/dist/types/src/maps/blockDocument.d.ts +6 -0
- package/dist/types/src/maps/blockDocumentCreate.d.ts +4 -0
- package/dist/types/src/maps/blockDocumentFilter.d.ts +4 -0
- package/dist/types/src/maps/blockDocumentReferences.d.ts +3 -0
- package/dist/types/src/maps/blockDocumentUpdate.d.ts +4 -0
- package/dist/types/src/maps/blockSchema.d.ts +4 -0
- package/dist/types/src/maps/blockSchemaFilter.d.ts +4 -0
- package/dist/types/src/maps/blockSchemaReferences.d.ts +4 -0
- package/dist/types/src/maps/blockType.d.ts +4 -0
- package/dist/types/src/maps/blockTypeFilter.d.ts +4 -0
- package/dist/types/src/maps/concurrencyLimit.d.ts +4 -0
- package/dist/types/src/maps/concurrencyLimitCreate.d.ts +4 -0
- package/dist/types/src/maps/createdOrUpdatedBy.d.ts +4 -0
- package/dist/types/src/maps/date.d.ts +3 -0
- package/dist/types/src/maps/deployment.d.ts +7 -0
- package/dist/types/src/maps/divergingBarChartItem.d.ts +4 -0
- package/dist/types/src/maps/empiricalPolicy.d.ts +7 -0
- package/dist/types/src/maps/flow.d.ts +5 -0
- package/dist/types/src/maps/flowRun.d.ts +4 -0
- package/dist/types/src/maps/flowRunFilter.d.ts +4 -0
- package/dist/types/src/maps/flowRunGraph.d.ts +5 -0
- package/dist/types/src/maps/flowRunHistory.d.ts +5 -0
- package/dist/types/src/maps/flowRunTimeline.d.ts +4 -0
- package/dist/types/src/maps/index.d.ts +347 -0
- package/dist/types/src/maps/logs.d.ts +5 -0
- package/dist/types/src/maps/notification.d.ts +4 -0
- package/dist/types/src/maps/notificationCreate.d.ts +4 -0
- package/dist/types/src/maps/notificationUpdate.d.ts +4 -0
- package/dist/types/src/maps/number.d.ts +3 -0
- package/dist/types/src/maps/savedSearch.d.ts +4 -0
- package/dist/types/src/maps/savedSearchCreate.d.ts +4 -0
- package/dist/types/src/maps/scatterPlotItem.d.ts +10 -0
- package/dist/types/src/maps/schedule.d.ts +5 -0
- package/dist/types/src/maps/schema.d.ts +7 -0
- package/dist/types/src/maps/schemaValuesRequest.d.ts +8 -0
- package/dist/types/src/maps/schemaValuesResponse.d.ts +10 -0
- package/dist/types/src/maps/state.d.ts +7 -0
- package/dist/types/src/maps/stateDetails.d.ts +9 -0
- package/dist/types/src/maps/stateHistory.d.ts +5 -0
- package/dist/types/src/maps/stateType.d.ts +4 -0
- package/dist/types/src/maps/stateUpdate.d.ts +3 -0
- package/dist/types/src/maps/taskInput.d.ts +5 -0
- package/dist/types/src/maps/taskRun.d.ts +5 -0
- package/dist/types/src/maps/uiFlowRunHistory.d.ts +4 -0
- package/dist/types/src/maps/workPool.d.ts +6 -0
- package/dist/types/src/maps/workPoolQueue.d.ts +6 -0
- package/dist/types/src/maps/workPoolWorker.d.ts +4 -0
- package/dist/types/src/maps/workQueue.d.ts +6 -0
- package/dist/types/src/maps/workQueueFilter.d.ts +5 -0
- package/dist/types/src/maps/workQueueHealthPolicy.d.ts +3 -0
- package/dist/types/src/maps/workQueueStatus.d.ts +3 -0
- package/dist/types/src/maps/workerScheduledFlowRun.d.ts +4 -0
- package/dist/types/src/mocks/UiFlowRunHistory.d.ts +3 -0
- package/dist/types/src/mocks/any.d.ts +2 -0
- package/dist/types/src/mocks/blockDocument.d.ts +3 -0
- package/dist/types/src/mocks/blockDocumentData.d.ts +5 -0
- package/dist/types/src/mocks/blockSchema.d.ts +3 -0
- package/dist/types/src/mocks/blockSchemaCapabilities.d.ts +2 -0
- package/dist/types/src/mocks/blockSchemaCapability.d.ts +2 -0
- package/dist/types/src/mocks/blockType.d.ts +3 -0
- package/dist/types/src/mocks/blockTypeSnippet.d.ts +2 -0
- package/dist/types/src/mocks/boolean.d.ts +2 -0
- package/dist/types/src/mocks/concurrencyLimit.d.ts +3 -0
- package/dist/types/src/mocks/createdOrUpdatedBy.d.ts +3 -0
- package/dist/types/src/mocks/date.d.ts +4 -0
- package/dist/types/src/mocks/deployment.d.ts +3 -0
- package/dist/types/src/mocks/email.d.ts +2 -0
- package/dist/types/src/mocks/flow.d.ts +3 -0
- package/dist/types/src/mocks/flowResponse.d.ts +3 -0
- package/dist/types/src/mocks/flowRun.d.ts +3 -0
- package/dist/types/src/mocks/flowRunGraph.d.ts +15 -0
- package/dist/types/src/mocks/flowRunHistory.d.ts +3 -0
- package/dist/types/src/mocks/flowRunStateHistory.d.ts +3 -0
- package/dist/types/src/mocks/id.d.ts +2 -0
- package/dist/types/src/mocks/image.d.ts +7 -0
- package/dist/types/src/mocks/index.d.ts +60 -0
- package/dist/types/src/mocks/log.d.ts +4 -0
- package/dist/types/src/mocks/notification.d.ts +3 -0
- package/dist/types/src/mocks/notificationCreate.d.ts +3 -0
- package/dist/types/src/mocks/number.d.ts +2 -0
- package/dist/types/src/mocks/parameters.d.ts +3 -0
- package/dist/types/src/mocks/schedule.d.ts +7 -0
- package/dist/types/src/mocks/schemas.d.ts +5 -0
- package/dist/types/src/mocks/sentences/generateText.d.ts +4 -0
- package/dist/types/src/mocks/sentences/sample.d.ts +13 -0
- package/dist/types/src/mocks/sentences/utils.d.ts +7 -0
- package/dist/types/src/mocks/starnames/generateStarName.d.ts +2 -0
- package/dist/types/src/mocks/starnames/index.d.ts +4 -0
- package/dist/types/src/mocks/starnames/names.d.ts +2 -0
- package/dist/types/src/mocks/starnames/prefixes.d.ts +2 -0
- package/dist/types/src/mocks/starnames/suffixes.d.ts +2 -0
- package/dist/types/src/mocks/state.d.ts +3 -0
- package/dist/types/src/mocks/stateType.d.ts +3 -0
- package/dist/types/src/mocks/string.d.ts +10 -0
- package/dist/types/src/mocks/taskRun.d.ts +3 -0
- package/dist/types/src/mocks/url.d.ts +2 -0
- package/dist/types/src/mocks/workPool.d.ts +3 -0
- package/dist/types/src/mocks/workPoolQueue.d.ts +3 -0
- package/dist/types/src/mocks/workQueue.d.ts +5 -0
- package/dist/types/src/mocks/workQueueCreate.d.ts +3 -0
- package/dist/types/src/mocks/workQueueHealthPolicy.d.ts +3 -0
- package/dist/types/src/mocks/workQueueStatus.d.ts +3 -0
- package/dist/types/src/mocks/worker.d.ts +3 -0
- package/dist/types/src/models/ApiRouteParams.d.ts +7 -0
- package/dist/types/src/models/BlockDocument.d.ts +37 -0
- package/dist/types/src/models/BlockDocumentCreate.d.ts +12 -0
- package/dist/types/src/models/BlockDocumentFilter.d.ts +8 -0
- package/dist/types/src/models/BlockDocumentUpdate.d.ts +7 -0
- package/dist/types/src/models/BlockSchema.d.ts +23 -0
- package/dist/types/src/models/BlockSchemaFilter.d.ts +9 -0
- package/dist/types/src/models/BlockType.d.ts +23 -0
- package/dist/types/src/models/BlockTypeFilter.d.ts +9 -0
- package/dist/types/src/models/ConcurrencyLimit.d.ts +8 -0
- package/dist/types/src/models/ConcurrencyLimitCreate.d.ts +4 -0
- package/dist/types/src/models/ConcurrencyLimitsFilter.d.ts +4 -0
- package/dist/types/src/models/CreatedOrUpdatedBy.d.ts +6 -0
- package/dist/types/src/models/CronSchedule.d.ts +18 -0
- package/dist/types/src/models/CronStringLengthError.d.ts +3 -0
- package/dist/types/src/models/Deployment.d.ts +57 -0
- package/dist/types/src/models/DeploymentFlowRunCreate.d.ts +23 -0
- package/dist/types/src/models/DeploymentUpdate.d.ts +20 -0
- package/dist/types/src/models/EmpiricalPolicy.d.ts +13 -0
- package/dist/types/src/models/ExistingHandleError.d.ts +6 -0
- package/dist/types/src/models/FilterDateError.d.ts +3 -0
- package/dist/types/src/models/FilterPrefixError.d.ts +3 -0
- package/dist/types/src/models/FilterRelativeDateUnitError.d.ts +3 -0
- package/dist/types/src/models/Flow.d.ts +15 -0
- package/dist/types/src/models/FlowRun.d.ts +77 -0
- package/dist/types/src/models/FlowRunHistoryMap.d.ts +8 -0
- package/dist/types/src/models/GraphNode.d.ts +29 -0
- package/dist/types/src/models/ISchedule.d.ts +7 -0
- package/dist/types/src/models/IntervalSchedule.d.ts +27 -0
- package/dist/types/src/models/InvalidSchemaValueError.d.ts +3 -0
- package/dist/types/src/models/Log.d.ts +25 -0
- package/dist/types/src/models/NoSchemaPropertyDefaultValueError.d.ts +3 -0
- package/dist/types/src/models/Notification.d.ts +21 -0
- package/dist/types/src/models/NotificationCreate.d.ts +6 -0
- package/dist/types/src/models/NotificationUpdate.d.ts +6 -0
- package/dist/types/src/models/PublicCron.d.ts +15 -0
- package/dist/types/src/models/RRuleSchedule.d.ts +15 -0
- package/dist/types/src/models/RunHistory.d.ts +12 -0
- package/dist/types/src/models/SavedSearch.d.ts +24 -0
- package/dist/types/src/models/Schedule.d.ts +9 -0
- package/dist/types/src/models/ServerSettings.d.ts +42 -0
- package/dist/types/src/models/State.d.ts +11 -0
- package/dist/types/src/models/StateCreate.d.ts +9 -0
- package/dist/types/src/models/StateDetails.d.ts +10 -0
- package/dist/types/src/models/StateDetailsCreate.d.ts +8 -0
- package/dist/types/src/models/StateHistory.d.ts +16 -0
- package/dist/types/src/models/StateType.d.ts +13 -0
- package/dist/types/src/models/StateUpdate.d.ts +11 -0
- package/dist/types/src/models/TaskInput.d.ts +29 -0
- package/dist/types/src/models/TaskRun.d.ts +58 -0
- package/dist/types/src/models/TimelineNode.d.ts +15 -0
- package/dist/types/src/models/UiFlowRunHistory.d.ts +8 -0
- package/dist/types/src/models/WorkPool.d.ts +26 -0
- package/dist/types/src/models/WorkPoolCreate.d.ts +7 -0
- package/dist/types/src/models/WorkPoolEdit.d.ts +5 -0
- package/dist/types/src/models/WorkPoolQueue.d.ts +23 -0
- package/dist/types/src/models/WorkPoolQueueCreate.d.ts +7 -0
- package/dist/types/src/models/WorkPoolQueueEdit.d.ts +7 -0
- package/dist/types/src/models/WorkPoolWorker.d.ts +17 -0
- package/dist/types/src/models/WorkQueue.d.ts +27 -0
- package/dist/types/src/models/WorkQueueCreate.d.ts +6 -0
- package/dist/types/src/models/WorkQueueEdit.d.ts +5 -0
- package/dist/types/src/models/WorkQueueFilter.d.ts +9 -0
- package/dist/types/src/models/WorkQueueHealthPolicy.d.ts +4 -0
- package/dist/types/src/models/WorkQueueStatus.d.ts +14 -0
- package/dist/types/src/models/WorkerScheduledFlowRun.d.ts +6 -0
- package/dist/types/src/models/WorkerScheduledFlowRuns.d.ts +6 -0
- package/dist/types/src/models/api/BlockDocumentCreateRequest.d.ts +23 -0
- package/dist/types/src/models/api/BlockDocumentFilterRequest.d.ts +12 -0
- package/dist/types/src/models/api/BlockDocumentResponse.d.ts +25 -0
- package/dist/types/src/models/api/BlockDocumentUpdateRequest.d.ts +4 -0
- package/dist/types/src/models/api/BlockSchemaFilterRequest.d.ts +9 -0
- package/dist/types/src/models/api/BlockSchemaResponse.d.ts +12 -0
- package/dist/types/src/models/api/BlockTypeFilterRequest.d.ts +9 -0
- package/dist/types/src/models/api/BlockTypeResponse.d.ts +11 -0
- package/dist/types/src/models/api/ConcurrencyLimitCreateRequest.d.ts +4 -0
- package/dist/types/src/models/api/ConcurrencyLimitResponse.d.ts +8 -0
- package/dist/types/src/models/api/CreatedOrUpdatedByResponse.d.ts +6 -0
- package/dist/types/src/models/api/DeploymentFlowRunRequest.d.ts +13 -0
- package/dist/types/src/models/api/DeploymentResponse.d.ts +29 -0
- package/dist/types/src/models/api/DeploymentUpdateRequest.d.ts +15 -0
- package/dist/types/src/models/api/EmpiricalPolicyRequest.d.ts +6 -0
- package/dist/types/src/models/api/EmpiricalPolicyResponse.d.ts +6 -0
- package/dist/types/src/models/api/FlowResponse.d.ts +7 -0
- package/dist/types/src/models/api/FlowRunGraphResponse.d.ts +17 -0
- package/dist/types/src/models/api/FlowRunHistoryResponse.d.ts +6 -0
- package/dist/types/src/models/api/FlowRunResponse.d.ts +39 -0
- package/dist/types/src/models/api/LogResponse.d.ts +12 -0
- package/dist/types/src/models/api/LogsRequestFilter.d.ts +23 -0
- package/dist/types/src/models/api/NotificationCreateRequest.d.ts +6 -0
- package/dist/types/src/models/api/NotificationFilter.d.ts +5 -0
- package/dist/types/src/models/api/NotificationResponse.d.ts +9 -0
- package/dist/types/src/models/api/NotificationUpdateRequest.d.ts +6 -0
- package/dist/types/src/models/api/SavedSearchResponse.d.ts +19 -0
- package/dist/types/src/models/api/ScheduleRequest.d.ts +18 -0
- package/dist/types/src/models/api/ScheduleResponse.d.ts +18 -0
- package/dist/types/src/models/api/SchemaResponse.d.ts +41 -0
- package/dist/types/src/models/api/StateDetailsRequest.d.ts +11 -0
- package/dist/types/src/models/api/StateDetailsResponse.d.ts +11 -0
- package/dist/types/src/models/api/StateHistoryResponse.d.ts +8 -0
- package/dist/types/src/models/api/StateRequest.d.ts +9 -0
- package/dist/types/src/models/api/StateResponse.d.ts +11 -0
- package/dist/types/src/models/api/StateUpdateRequest.d.ts +11 -0
- package/dist/types/src/models/api/TaskInputResponse.d.ts +16 -0
- package/dist/types/src/models/api/TaskRunResponse.d.ts +31 -0
- package/dist/types/src/models/api/UiFlowRunHistoryResponse.d.ts +8 -0
- package/dist/types/src/models/api/WorkPoolQueueRequest.d.ts +14 -0
- package/dist/types/src/models/api/WorkPoolQueueResponse.d.ts +12 -0
- package/dist/types/src/models/api/WorkPoolRequest.d.ts +12 -0
- package/dist/types/src/models/api/WorkPoolResponse.d.ts +12 -0
- package/dist/types/src/models/api/WorkPoolWorkerFilter.d.ts +13 -0
- package/dist/types/src/models/api/WorkPoolWorkerResponse.d.ts +9 -0
- package/dist/types/src/models/api/WorkQueueFilterResponse.d.ts +4 -0
- package/dist/types/src/models/api/WorkQueueHealthPolicyResponse.d.ts +4 -0
- package/dist/types/src/models/api/WorkQueueRequest.d.ts +11 -0
- package/dist/types/src/models/api/WorkQueueResponse.d.ts +14 -0
- package/dist/types/src/models/api/WorkQueueStatusResponse.d.ts +9 -0
- package/dist/types/src/models/api/WorkerScheduledFlowRunResponse.d.ts +6 -0
- package/dist/types/src/models/api/WorkerScheduledFlowRunsRequest.d.ts +6 -0
- package/dist/types/src/models/api/index.d.ts +51 -0
- package/dist/types/src/models/index.d.ts +66 -0
- package/dist/types/src/router/index.d.ts +1 -0
- package/dist/types/src/router/routes.d.ts +277 -0
- package/dist/types/src/services/AdminApi.d.ts +7 -0
- package/dist/types/src/services/Api.d.ts +35 -0
- package/dist/types/src/services/BatchProcessor/BatchProcessor.d.ts +28 -0
- package/dist/types/src/services/BatchProcessor/index.d.ts +1 -0
- package/dist/types/src/services/HealthApi.d.ts +5 -0
- package/dist/types/src/services/Mapper.d.ts +373 -0
- package/dist/types/src/services/Mocker.d.ts +75 -0
- package/dist/types/src/services/RouteGuardExecutioner.d.ts +10 -0
- package/dist/types/src/services/SimpleIdManager.d.ts +4 -0
- package/dist/types/src/services/UiApi.d.ts +9 -0
- package/dist/types/src/services/WorkspaceApi.d.ts +27 -0
- package/dist/types/src/services/WorkspaceBlockCapabilitiesApi.d.ts +8 -0
- package/dist/types/src/services/WorkspaceBlockDocumentsApi.d.ts +20 -0
- package/dist/types/src/services/WorkspaceBlockSchemasApi.d.ts +14 -0
- package/dist/types/src/services/WorkspaceBlockTypesApi.d.ts +17 -0
- package/dist/types/src/services/WorkspaceConcurrencyLimitsApi.d.ts +21 -0
- package/dist/types/src/services/WorkspaceDeploymentsApi.d.ts +27 -0
- package/dist/types/src/services/WorkspaceFlowRunsApi.d.ts +32 -0
- package/dist/types/src/services/WorkspaceFlowsApi.d.ts +16 -0
- package/dist/types/src/services/WorkspaceLogsApi.d.ts +7 -0
- package/dist/types/src/services/WorkspaceNotificationsApi.d.ts +13 -0
- package/dist/types/src/services/WorkspaceSavedSearchesApi.d.ts +9 -0
- package/dist/types/src/services/WorkspaceTaskRunsApi.d.ts +19 -0
- package/dist/types/src/services/WorkspaceWorkPoolQueuesApi.d.ts +23 -0
- package/dist/types/src/services/WorkspaceWorkPoolWorkersApi.d.ts +9 -0
- package/dist/types/src/services/WorkspaceWorkPoolsApi.d.ts +26 -0
- package/dist/types/src/services/WorkspaceWorkQueuesApi.d.ts +29 -0
- package/dist/types/src/services/can.d.ts +14 -0
- package/dist/types/src/services/index.d.ts +26 -0
- package/dist/types/src/services/schemas/constants.d.ts +1 -0
- package/dist/types/src/services/schemas/index.d.ts +4 -0
- package/dist/types/src/services/schemas/properties/SchemaPropertyAny.d.ts +13 -0
- package/dist/types/src/services/schemas/properties/SchemaPropertyArray.d.ts +9 -0
- package/dist/types/src/services/schemas/properties/SchemaPropertyBlock.d.ts +10 -0
- package/dist/types/src/services/schemas/properties/SchemaPropertyBoolean.d.ts +9 -0
- package/dist/types/src/services/schemas/properties/SchemaPropertyInteger.d.ts +9 -0
- package/dist/types/src/services/schemas/properties/SchemaPropertyNull.d.ts +8 -0
- package/dist/types/src/services/schemas/properties/SchemaPropertyNumber.d.ts +10 -0
- package/dist/types/src/services/schemas/properties/SchemaPropertyObject.d.ts +11 -0
- package/dist/types/src/services/schemas/properties/SchemaPropertyService.d.ts +63 -0
- package/dist/types/src/services/schemas/properties/SchemaPropertyString.d.ts +15 -0
- package/dist/types/src/services/schemas/properties/factory.d.ts +3 -0
- package/dist/types/src/services/schemas/properties/index.d.ts +10 -0
- package/dist/types/src/services/schemas/resolvers/blockReferences.d.ts +3 -0
- package/dist/types/src/services/schemas/resolvers/definitions.d.ts +5 -0
- package/dist/types/src/services/schemas/resolvers/index.d.ts +3 -0
- package/dist/types/src/services/schemas/resolvers/meta.d.ts +2 -0
- package/dist/types/src/services/schemas/resolvers/schemas.d.ts +4 -0
- package/dist/types/src/services/schemas/utilities.d.ts +28 -0
- package/dist/types/src/types/ColorMode.d.ts +2 -0
- package/dist/types/src/types/RouteGuard.d.ts +7 -0
- package/dist/types/src/types/SortOptionTypes.d.ts +34 -0
- package/dist/types/src/types/UnionFilters.d.ts +131 -0
- package/dist/types/src/types/buttons.d.ts +1 -0
- package/dist/types/src/types/classes.d.ts +2 -0
- package/dist/types/src/types/cron.d.ts +33 -0
- package/dist/types/src/types/css.d.ts +1 -0
- package/dist/types/src/types/dates.d.ts +3 -0
- package/dist/types/src/types/filter.d.ts +30 -0
- package/dist/types/src/types/index.d.ts +14 -0
- package/dist/types/src/types/reactivity.d.ts +2 -0
- package/dist/types/src/types/schemas.d.ts +65 -0
- package/dist/types/src/types/states.d.ts +3 -0
- package/dist/types/src/types/tabs.d.ts +19 -0
- package/dist/types/src/types/tailwind.d.ts +1 -0
- package/dist/types/src/types/utilities.d.ts +7 -0
- package/dist/types/src/utilities/api.d.ts +38 -0
- package/dist/types/src/utilities/arrays.d.ts +19 -0
- package/dist/types/src/utilities/cache.d.ts +4 -0
- package/dist/types/src/utilities/colorMode.d.ts +4 -0
- package/dist/types/src/utilities/components.d.ts +19 -0
- package/dist/types/src/utilities/copy.d.ts +1 -0
- package/dist/types/src/utilities/dates.d.ts +14 -0
- package/dist/types/src/utilities/delete.d.ts +5 -0
- package/dist/types/src/utilities/httpStatus.d.ts +74 -0
- package/dist/types/src/utilities/index.d.ts +27 -0
- package/dist/types/src/utilities/inject.d.ts +2 -0
- package/dist/types/src/utilities/json.d.ts +7 -0
- package/dist/types/src/utilities/languageDefinitions/json.d.ts +3 -0
- package/dist/types/src/utilities/languageDefinitions/python.d.ts +2 -0
- package/dist/types/src/utilities/logs.d.ts +2 -0
- package/dist/types/src/utilities/math.d.ts +6 -0
- package/dist/types/src/utilities/numbers.d.ts +1 -0
- package/dist/types/src/utilities/object.d.ts +9 -0
- package/dist/types/src/utilities/parameters.d.ts +4 -0
- package/dist/types/src/utilities/processTypes.d.ts +1 -0
- package/dist/types/src/utilities/routes.d.ts +5 -0
- package/dist/types/src/utilities/savedFilters.d.ts +8 -0
- package/dist/types/src/utilities/seconds.d.ts +9 -0
- package/dist/types/src/utilities/state.d.ts +6 -0
- package/dist/types/src/utilities/strings.d.ts +12 -0
- package/dist/types/src/utilities/subscriptions.d.ts +11 -0
- package/dist/types/src/utilities/timeIntervals.d.ts +4 -0
- package/dist/types/src/utilities/timezone.d.ts +434 -0
- package/dist/types/src/utilities/validation.d.ts +30 -0
- package/dist/types/src/utilities/variables.d.ts +3 -0
- package/dist/types/vite.config.d.ts +2 -0
- package/dist/viewport.es-a6380c41-3517fd0a.mjs +1537 -0
- package/dist/viewport.es-a6380c41-3517fd0a.mjs.map +1 -0
- package/package.json +78 -0
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
import { InjectionKey } from 'vue';
|
|
2
|
+
import { RouteComponent, RouteLocationRaw, RouteRecordRaw } from 'vue-router';
|
|
3
|
+
export type Route = Exclude<RouteLocationRaw, string>;
|
|
4
|
+
type CreateWorkspaceRoutesConfig = {
|
|
5
|
+
accountId: string;
|
|
6
|
+
workspaceId: string;
|
|
7
|
+
};
|
|
8
|
+
export declare function createWorkspaceRoutes(config?: CreateWorkspaceRoutesConfig): {
|
|
9
|
+
flowRuns: () => {
|
|
10
|
+
readonly name: "workspace.flow-runs";
|
|
11
|
+
readonly params: {
|
|
12
|
+
readonly accountId?: string | undefined;
|
|
13
|
+
readonly workspaceId?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
flowRun: (flowRunId: string) => {
|
|
17
|
+
readonly name: "workspace.flow-runs.flow-run";
|
|
18
|
+
readonly params: {
|
|
19
|
+
readonly accountId?: string | undefined;
|
|
20
|
+
readonly workspaceId?: string | undefined;
|
|
21
|
+
readonly flowRunId: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
flowRunRadar: (flowRunId: string) => {
|
|
25
|
+
readonly name: "workspace.flow-runs.flow-run-radar";
|
|
26
|
+
readonly params: {
|
|
27
|
+
readonly accountId?: string | undefined;
|
|
28
|
+
readonly workspaceId?: string | undefined;
|
|
29
|
+
readonly flowRunId: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
taskRun: (taskRunId: string) => {
|
|
33
|
+
readonly name: "workspace.flow-runs.task-run";
|
|
34
|
+
readonly params: {
|
|
35
|
+
readonly accountId?: string | undefined;
|
|
36
|
+
readonly workspaceId?: string | undefined;
|
|
37
|
+
readonly taskRunId: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
flows: () => {
|
|
41
|
+
readonly name: "workspace.flows";
|
|
42
|
+
readonly params: {
|
|
43
|
+
readonly accountId?: string | undefined;
|
|
44
|
+
readonly workspaceId?: string | undefined;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
flow: (flowId: string) => {
|
|
48
|
+
readonly name: "workspace.flows.flow";
|
|
49
|
+
readonly params: {
|
|
50
|
+
readonly accountId?: string | undefined;
|
|
51
|
+
readonly workspaceId?: string | undefined;
|
|
52
|
+
readonly flowId: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
deployments: () => {
|
|
56
|
+
readonly name: "workspace.deployments";
|
|
57
|
+
readonly params: {
|
|
58
|
+
readonly accountId?: string | undefined;
|
|
59
|
+
readonly workspaceId?: string | undefined;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
deployment: (deploymentId: string) => {
|
|
63
|
+
readonly name: "workspace.deployments.deployment";
|
|
64
|
+
readonly params: {
|
|
65
|
+
readonly accountId?: string | undefined;
|
|
66
|
+
readonly workspaceId?: string | undefined;
|
|
67
|
+
readonly deploymentId: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
deploymentEdit: (deploymentId: string) => {
|
|
71
|
+
readonly name: "workspace.deployments.deployment-edit";
|
|
72
|
+
readonly params: {
|
|
73
|
+
readonly accountId?: string | undefined;
|
|
74
|
+
readonly workspaceId?: string | undefined;
|
|
75
|
+
readonly deploymentId: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
deploymentFlowRunCreate: (deploymentId: string, parameters?: Record<string, unknown>) => {
|
|
79
|
+
readonly name: "workspace.deployments.deployment-flow-run-create";
|
|
80
|
+
readonly params: {
|
|
81
|
+
readonly accountId?: string | undefined;
|
|
82
|
+
readonly workspaceId?: string | undefined;
|
|
83
|
+
readonly deploymentId: string;
|
|
84
|
+
};
|
|
85
|
+
readonly query: {
|
|
86
|
+
parameters: string;
|
|
87
|
+
} | {
|
|
88
|
+
parameters?: undefined;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
workQueues: () => {
|
|
92
|
+
readonly name: "workspace.work-queues";
|
|
93
|
+
readonly params: {
|
|
94
|
+
readonly accountId?: string | undefined;
|
|
95
|
+
readonly workspaceId?: string | undefined;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
workQueue: (workQueueId: string) => {
|
|
99
|
+
readonly name: "workspace.work-queues.work-queue";
|
|
100
|
+
readonly params: {
|
|
101
|
+
readonly accountId?: string | undefined;
|
|
102
|
+
readonly workspaceId?: string | undefined;
|
|
103
|
+
readonly workQueueId: string;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
workQueueCreate: () => {
|
|
107
|
+
readonly name: "workspace.work-queues.work-queue-create";
|
|
108
|
+
readonly params: {
|
|
109
|
+
readonly accountId?: string | undefined;
|
|
110
|
+
readonly workspaceId?: string | undefined;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
workQueueEdit: (workQueueId: string) => {
|
|
114
|
+
readonly name: "workspace.work-queues.work-queue-edit";
|
|
115
|
+
readonly params: {
|
|
116
|
+
readonly accountId?: string | undefined;
|
|
117
|
+
readonly workspaceId?: string | undefined;
|
|
118
|
+
readonly workQueueId: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
blocks: () => {
|
|
122
|
+
readonly name: "workspace.blocks";
|
|
123
|
+
readonly params: {
|
|
124
|
+
readonly accountId?: string | undefined;
|
|
125
|
+
readonly workspaceId?: string | undefined;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
blocksCatalog: () => {
|
|
129
|
+
readonly name: "workspace.blocks.catalog";
|
|
130
|
+
readonly params: {
|
|
131
|
+
readonly accountId?: string | undefined;
|
|
132
|
+
readonly workspaceId?: string | undefined;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
blocksCatalogView: (blockTypeSlug: string) => {
|
|
136
|
+
readonly name: "workspace.blocks.catalog-view";
|
|
137
|
+
readonly params: {
|
|
138
|
+
readonly accountId?: string | undefined;
|
|
139
|
+
readonly workspaceId?: string | undefined;
|
|
140
|
+
readonly blockTypeSlug: string;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
blockCreate: (blockTypeSlug: string) => {
|
|
144
|
+
readonly name: "workspace.blocks.block-create";
|
|
145
|
+
readonly params: {
|
|
146
|
+
readonly accountId?: string | undefined;
|
|
147
|
+
readonly workspaceId?: string | undefined;
|
|
148
|
+
readonly blockTypeSlug: string;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
block: (blockDocumentId: string) => {
|
|
152
|
+
readonly name: "workspace.blocks.block";
|
|
153
|
+
readonly params: {
|
|
154
|
+
readonly accountId?: string | undefined;
|
|
155
|
+
readonly workspaceId?: string | undefined;
|
|
156
|
+
readonly blockDocumentId: string;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
blockEdit: (blockDocumentId: string) => {
|
|
160
|
+
readonly name: "workspace.blocks.block-edit";
|
|
161
|
+
readonly params: {
|
|
162
|
+
readonly accountId?: string | undefined;
|
|
163
|
+
readonly workspaceId?: string | undefined;
|
|
164
|
+
readonly blockDocumentId: string;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
notifications: () => {
|
|
168
|
+
readonly name: "workspace.notifications";
|
|
169
|
+
readonly params: {
|
|
170
|
+
readonly accountId?: string | undefined;
|
|
171
|
+
readonly workspaceId?: string | undefined;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
notificationCreate: () => {
|
|
175
|
+
readonly name: "workspace.notifications.create";
|
|
176
|
+
readonly params: {
|
|
177
|
+
readonly accountId?: string | undefined;
|
|
178
|
+
readonly workspaceId?: string | undefined;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
notificationEdit: (notificationId: string) => {
|
|
182
|
+
readonly name: "workspace.notifications.notification-edit";
|
|
183
|
+
readonly params: {
|
|
184
|
+
readonly accountId?: string | undefined;
|
|
185
|
+
readonly workspaceId?: string | undefined;
|
|
186
|
+
readonly notificationId: string;
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
concurrencyLimit: (concurrencyLimitId: string) => {
|
|
190
|
+
readonly name: "workspace.concurrency-limits.concurrency-limit";
|
|
191
|
+
readonly params: {
|
|
192
|
+
readonly accountId?: string | undefined;
|
|
193
|
+
readonly workspaceId?: string | undefined;
|
|
194
|
+
readonly concurrencyLimitId: string;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
concurrencyLimits: () => {
|
|
198
|
+
readonly name: "workspace.concurrency-limits";
|
|
199
|
+
readonly params: {
|
|
200
|
+
readonly accountId?: string | undefined;
|
|
201
|
+
readonly workspaceId?: string | undefined;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
workPools: () => {
|
|
205
|
+
readonly name: "workspace.work-pools";
|
|
206
|
+
readonly params: {
|
|
207
|
+
readonly accountId?: string | undefined;
|
|
208
|
+
readonly workspaceId?: string | undefined;
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
workPool: (workPoolName: string) => {
|
|
212
|
+
readonly name: "workspace.work-pools.work-pool";
|
|
213
|
+
readonly params: {
|
|
214
|
+
readonly accountId?: string | undefined;
|
|
215
|
+
readonly workspaceId?: string | undefined;
|
|
216
|
+
readonly workPoolName: string;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
workPoolCreate: () => {
|
|
220
|
+
readonly name: "workspace.work-pools.work-pool-create";
|
|
221
|
+
readonly params: {
|
|
222
|
+
readonly accountId?: string | undefined;
|
|
223
|
+
readonly workspaceId?: string | undefined;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
workPoolEdit: (workPoolName: string) => {
|
|
227
|
+
readonly name: "workspace.work-pools.work-pool-edit";
|
|
228
|
+
readonly params: {
|
|
229
|
+
readonly accountId?: string | undefined;
|
|
230
|
+
readonly workspaceId?: string | undefined;
|
|
231
|
+
readonly workPoolName: string;
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
workPoolQueue: (workPoolName: string, workPoolQueueName: string) => {
|
|
235
|
+
readonly name: "workspace.work-pools.work-pool.work-pool-queue";
|
|
236
|
+
readonly params: {
|
|
237
|
+
readonly accountId?: string | undefined;
|
|
238
|
+
readonly workspaceId?: string | undefined;
|
|
239
|
+
readonly workPoolName: string;
|
|
240
|
+
readonly workPoolQueueName: string;
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
workPoolQueueCreate: (workPoolName: string) => {
|
|
244
|
+
readonly name: "workspace.work-pools.work-pool.work-pool-queue-create";
|
|
245
|
+
readonly params: {
|
|
246
|
+
readonly accountId?: string | undefined;
|
|
247
|
+
readonly workspaceId?: string | undefined;
|
|
248
|
+
readonly workPoolName: string;
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
workPoolQueueEdit: (workPoolName: string, workPoolQueueName: string) => {
|
|
252
|
+
readonly name: "workspace.work-pools.work-pool.work-pool-queue-edit";
|
|
253
|
+
readonly params: {
|
|
254
|
+
readonly accountId?: string | undefined;
|
|
255
|
+
readonly workspaceId?: string | undefined;
|
|
256
|
+
readonly workPoolName: string;
|
|
257
|
+
readonly workPoolQueueName: string;
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
type WorkspaceRoutes = ReturnType<typeof createWorkspaceRoutes>;
|
|
262
|
+
type WorkspaceRouteKey = keyof WorkspaceRoutes;
|
|
263
|
+
type WorkspaceRoute = ReturnType<WorkspaceRoutes[WorkspaceRouteKey]>;
|
|
264
|
+
type WorkspaceNamedRoute = WorkspaceRoute['name'];
|
|
265
|
+
type WorkspaceRouteRecordParent = {
|
|
266
|
+
name?: WorkspaceNamedRoute;
|
|
267
|
+
children: WorkspaceRouteRecord[];
|
|
268
|
+
};
|
|
269
|
+
type WorkspaceRouteRecordChild = {
|
|
270
|
+
name: WorkspaceNamedRoute;
|
|
271
|
+
};
|
|
272
|
+
type WorkspaceRouteRecord = Omit<RouteRecordRaw, 'name' | 'children'> & WorkspaceRouteRecordParent | WorkspaceRouteRecordChild;
|
|
273
|
+
export declare const workspaceRoutesKey: InjectionKey<WorkspaceRoutes>;
|
|
274
|
+
type WorkspaceComponent = () => Promise<RouteComponent>;
|
|
275
|
+
type WorkspaceRouteComponents = Record<WorkspaceRouteKey, WorkspaceComponent>;
|
|
276
|
+
export declare function createWorkspaceRouteRecords(components: Partial<WorkspaceRouteComponents>): WorkspaceRouteRecord[];
|
|
277
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
|
+
import { ApiRouteParams } from '../models/ApiRouteParams';
|
|
3
|
+
import { Require } from '../types/utilities';
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated
|
|
6
|
+
*/
|
|
7
|
+
export type ApiRoute = string | ((params?: ApiRouteParams) => string);
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated
|
|
10
|
+
*/
|
|
11
|
+
export type ApiServer = string | Promise<string>;
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated
|
|
14
|
+
*/
|
|
15
|
+
export declare abstract class Api {
|
|
16
|
+
protected server: ApiServer;
|
|
17
|
+
protected route: ApiRoute;
|
|
18
|
+
private _config;
|
|
19
|
+
private _instance;
|
|
20
|
+
private _params;
|
|
21
|
+
constructor(config?: AxiosRequestConfig);
|
|
22
|
+
protected instance(): Promise<AxiosInstance>;
|
|
23
|
+
protected config(): Promise<AxiosRequestConfig>;
|
|
24
|
+
protected request<T = any, R = AxiosResponse<T>>(config: Require<AxiosRequestConfig, 'url' | 'method'>): Promise<R>;
|
|
25
|
+
protected get<T = any, R = AxiosResponse<T>>(url: string, config?: AxiosRequestConfig): Promise<R>;
|
|
26
|
+
protected delete<T = any, R = AxiosResponse<T>>(url: string, config?: AxiosRequestConfig): Promise<R>;
|
|
27
|
+
protected head<T = any, R = AxiosResponse<T>>(url: string, config?: AxiosRequestConfig): Promise<R>;
|
|
28
|
+
protected options<T = any, R = AxiosResponse<T>>(url: string, config?: AxiosRequestConfig): Promise<R>;
|
|
29
|
+
protected post<T = any, R = AxiosResponse<T>>(url: string, data?: any, config?: AxiosRequestConfig): Promise<R>;
|
|
30
|
+
protected put<T = any, R = AxiosResponse<T>>(url: string, data?: any, config?: AxiosRequestConfig): Promise<R>;
|
|
31
|
+
protected patch<T = any, R = AxiosResponse<T>>(url: string, data?: any, config?: AxiosRequestConfig): Promise<R>;
|
|
32
|
+
protected withParams(params?: ApiRouteParams): this;
|
|
33
|
+
protected getRoute(params?: ApiRouteParams): string;
|
|
34
|
+
private withRoute;
|
|
35
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { MaybePromise } from '../../types';
|
|
2
|
+
export type BatchCallbackLookup<V, R> = (value: V) => MaybePromise<R>;
|
|
3
|
+
export type BatchCallback<V, R> = (values: V[]) => MaybePromise<Map<V, R>> | BatchCallbackLookup<V, R>;
|
|
4
|
+
export type BatchOptions = {
|
|
5
|
+
maxBatchSize?: number;
|
|
6
|
+
maxWaitMilliseconds?: number;
|
|
7
|
+
};
|
|
8
|
+
export declare class BatchProcessor<V, R> {
|
|
9
|
+
private readonly callback;
|
|
10
|
+
private readonly options;
|
|
11
|
+
private readonly queue;
|
|
12
|
+
private timeout;
|
|
13
|
+
private waitingSince;
|
|
14
|
+
constructor(callback: BatchCallback<V, R>, options?: BatchOptions);
|
|
15
|
+
batch(value: V): Promise<R>;
|
|
16
|
+
process(): void;
|
|
17
|
+
private requestProcessQueue;
|
|
18
|
+
private waitToProcessQueue;
|
|
19
|
+
private shouldProcessNow;
|
|
20
|
+
private maxBatchSizeReached;
|
|
21
|
+
private maxWaitReached;
|
|
22
|
+
private getBatchToProcess;
|
|
23
|
+
private processQueue;
|
|
24
|
+
private resolveBatchUsingMap;
|
|
25
|
+
private resolveBatchUsingLookup;
|
|
26
|
+
private rejectBatch;
|
|
27
|
+
private isBatchCallbackLookup;
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './BatchProcessor';
|