@trigger.dev/core 0.0.0-prerelease-20250503193704 → 0.0.0-prerelease-20250703115146
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/dist/commonjs/logger.d.ts +2 -1
- package/dist/commonjs/logger.js +6 -1
- package/dist/commonjs/logger.js.map +1 -1
- package/dist/commonjs/v3/apiClient/core.d.ts +2 -1
- package/dist/commonjs/v3/apiClient/core.js.map +1 -1
- package/dist/commonjs/v3/apiClient/getBranch.d.ts +5 -0
- package/dist/commonjs/v3/apiClient/getBranch.js +25 -0
- package/dist/commonjs/v3/apiClient/getBranch.js.map +1 -0
- package/dist/commonjs/v3/apiClient/index.d.ts +49 -41
- package/dist/commonjs/v3/apiClient/index.js +44 -5
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/apiClient/runStream.d.ts +1 -0
- package/dist/commonjs/v3/apiClient/runStream.js +7 -7
- package/dist/commonjs/v3/apiClient/runStream.js.map +1 -1
- package/dist/commonjs/v3/apiClient/stream.js +9 -3
- package/dist/commonjs/v3/apiClient/stream.js.map +1 -1
- package/dist/commonjs/v3/apiClient/types.d.ts +2 -0
- package/dist/commonjs/v3/apiClientManager/index.d.ts +1 -0
- package/dist/commonjs/v3/apiClientManager/index.js +10 -2
- package/dist/commonjs/v3/apiClientManager/index.js.map +1 -1
- package/dist/commonjs/v3/apiClientManager/types.d.ts +4 -0
- package/dist/commonjs/v3/build/extensions.d.ts +1 -0
- package/dist/commonjs/v3/config.d.ts +70 -0
- package/dist/commonjs/v3/consoleInterceptor.d.ts +2 -1
- package/dist/commonjs/v3/consoleInterceptor.js +6 -1
- package/dist/commonjs/v3/consoleInterceptor.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/duration.d.ts +3 -0
- package/dist/commonjs/v3/isomorphic/duration.js +124 -35
- package/dist/commonjs/v3/isomorphic/duration.js.map +1 -1
- package/dist/commonjs/v3/lifecycleHooks/manager.d.ts +1 -0
- package/dist/commonjs/v3/lifecycleHooks/manager.js +5 -0
- package/dist/commonjs/v3/lifecycleHooks/manager.js.map +1 -1
- package/dist/commonjs/v3/limits.d.ts +8 -8
- package/dist/commonjs/v3/limits.js +16 -8
- package/dist/commonjs/v3/limits.js.map +1 -1
- package/dist/commonjs/v3/locals/manager.d.ts +1 -0
- package/dist/commonjs/v3/locals/manager.js +3 -1
- package/dist/commonjs/v3/locals/manager.js.map +1 -1
- package/dist/commonjs/v3/otel/tracingSDK.d.ts +3 -1
- package/dist/commonjs/v3/otel/tracingSDK.js +60 -1
- package/dist/commonjs/v3/otel/tracingSDK.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +76 -0
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.js +18 -2
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/queueConsumer.d.ts +1 -0
- package/dist/commonjs/v3/runEngineWorker/supervisor/queueConsumer.js +25 -11
- package/dist/commonjs/v3/runEngineWorker/supervisor/queueConsumer.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +600 -3
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.js +16 -7
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/session.d.ts +2 -0
- package/dist/commonjs/v3/runEngineWorker/supervisor/session.js +22 -27
- package/dist/commonjs/v3/runEngineWorker/supervisor/session.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/types.d.ts +1 -0
- package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +72 -0
- package/dist/commonjs/v3/runEngineWorker/workload/http.js +8 -0
- package/dist/commonjs/v3/runEngineWorker/workload/http.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +571 -3
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.js +2 -1
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.js.map +1 -1
- package/dist/commonjs/v3/runMetadata/manager.d.ts +3 -2
- package/dist/commonjs/v3/runMetadata/manager.js +33 -7
- package/dist/commonjs/v3/runMetadata/manager.js.map +1 -1
- package/dist/commonjs/v3/runMetadata/operations.d.ts +38 -0
- package/dist/commonjs/v3/runMetadata/operations.js +96 -0
- package/dist/commonjs/v3/runMetadata/operations.js.map +1 -1
- package/dist/commonjs/v3/runTimelineMetrics/runTimelineMetricsManager.d.ts +2 -1
- package/dist/commonjs/v3/runTimelineMetrics/runTimelineMetricsManager.js +8 -4
- package/dist/commonjs/v3/runTimelineMetrics/runTimelineMetricsManager.js.map +1 -1
- package/dist/commonjs/v3/runtime/{managedRuntimeManager.d.ts → sharedRuntimeManager.d.ts} +14 -6
- package/dist/commonjs/v3/runtime/sharedRuntimeManager.js +280 -0
- package/dist/commonjs/v3/runtime/sharedRuntimeManager.js.map +1 -0
- package/dist/commonjs/v3/schemas/api.d.ts +223 -62
- package/dist/commonjs/v3/schemas/api.js +29 -17
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +108 -0
- package/dist/commonjs/v3/schemas/build.js +9 -0
- package/dist/commonjs/v3/schemas/build.js.map +1 -1
- package/dist/commonjs/v3/schemas/checkpoints.d.ts +14 -4
- package/dist/commonjs/v3/schemas/common.d.ts +378 -0
- package/dist/commonjs/v3/schemas/common.js +32 -1
- package/dist/commonjs/v3/schemas/common.js.map +1 -1
- package/dist/commonjs/v3/schemas/messages.d.ts +3769 -4881
- package/dist/commonjs/v3/schemas/messages.js +9 -54
- package/dist/commonjs/v3/schemas/messages.js.map +1 -1
- package/dist/commonjs/v3/schemas/resources.d.ts +12 -0
- package/dist/commonjs/v3/schemas/runEngine.d.ts +139 -0
- package/dist/commonjs/v3/schemas/runEngine.js +2 -0
- package/dist/commonjs/v3/schemas/runEngine.js.map +1 -1
- package/dist/commonjs/v3/schemas/schemas.d.ts +301 -23
- package/dist/commonjs/v3/schemas/schemas.js +3 -13
- package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
- package/dist/commonjs/v3/schemas/webhooks.d.ts +42 -0
- package/dist/commonjs/v3/schemas/webhooks.js +4 -0
- package/dist/commonjs/v3/schemas/webhooks.js.map +1 -1
- package/dist/commonjs/v3/semanticInternalAttributes.d.ts +1 -0
- package/dist/commonjs/v3/semanticInternalAttributes.js +1 -0
- package/dist/commonjs/v3/semanticInternalAttributes.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/httpServer.d.ts +1 -0
- package/dist/commonjs/v3/serverOnly/httpServer.js +14 -4
- package/dist/commonjs/v3/serverOnly/httpServer.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/index.d.ts +1 -0
- package/dist/commonjs/v3/serverOnly/index.js +1 -0
- package/dist/commonjs/v3/serverOnly/index.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/jumpHash.d.ts +1 -0
- package/dist/commonjs/v3/serverOnly/jumpHash.js +48 -0
- package/dist/commonjs/v3/serverOnly/jumpHash.js.map +1 -0
- package/dist/commonjs/v3/taskContext/index.d.ts +1 -0
- package/dist/commonjs/v3/taskContext/index.js +19 -12
- package/dist/commonjs/v3/taskContext/index.js.map +1 -1
- package/dist/commonjs/v3/taskContext/otelProcessors.js +3 -12
- package/dist/commonjs/v3/taskContext/otelProcessors.js.map +1 -1
- package/dist/commonjs/v3/timeout/api.d.ts +1 -0
- package/dist/commonjs/v3/timeout/api.js +5 -0
- package/dist/commonjs/v3/timeout/api.js.map +1 -1
- package/dist/commonjs/v3/timeout/types.d.ts +1 -0
- package/dist/commonjs/v3/timeout/types.js.map +1 -1
- package/dist/commonjs/v3/timeout/usageTimeoutManager.d.ts +1 -0
- package/dist/commonjs/v3/timeout/usageTimeoutManager.js +8 -0
- package/dist/commonjs/v3/timeout/usageTimeoutManager.js.map +1 -1
- package/dist/commonjs/v3/usage/api.d.ts +1 -0
- package/dist/commonjs/v3/usage/api.js +4 -0
- package/dist/commonjs/v3/usage/api.js.map +1 -1
- package/dist/commonjs/v3/usage/devUsageManager.d.ts +1 -0
- package/dist/commonjs/v3/usage/devUsageManager.js +5 -0
- package/dist/commonjs/v3/usage/devUsageManager.js.map +1 -1
- package/dist/commonjs/v3/usage/noopUsageManager.d.ts +1 -0
- package/dist/commonjs/v3/usage/noopUsageManager.js +3 -0
- package/dist/commonjs/v3/usage/noopUsageManager.js.map +1 -1
- package/dist/commonjs/v3/usage/prodUsageManager.d.ts +1 -0
- package/dist/commonjs/v3/usage/prodUsageManager.js +19 -4
- package/dist/commonjs/v3/usage/prodUsageManager.js.map +1 -1
- package/dist/commonjs/v3/usage/types.d.ts +1 -0
- package/dist/commonjs/v3/utils/getEnv.d.ts +8 -0
- package/dist/commonjs/v3/utils/getEnv.js +10 -5
- package/dist/commonjs/v3/utils/getEnv.js.map +1 -1
- package/dist/commonjs/v3/utils/interval.d.ts +3 -1
- package/dist/commonjs/v3/utils/interval.js +5 -1
- package/dist/commonjs/v3/utils/interval.js.map +1 -1
- package/dist/commonjs/v3/utils/ioSerialization.d.ts +1 -0
- package/dist/commonjs/v3/utils/ioSerialization.js +21 -0
- package/dist/commonjs/v3/utils/ioSerialization.js.map +1 -1
- package/dist/commonjs/v3/utils/structuredLogger.d.ts +4 -1
- package/dist/commonjs/v3/utils/structuredLogger.js +18 -4
- package/dist/commonjs/v3/utils/structuredLogger.js.map +1 -1
- package/dist/commonjs/v3/waitUntil/manager.d.ts +1 -0
- package/dist/commonjs/v3/waitUntil/manager.js +3 -0
- package/dist/commonjs/v3/waitUntil/manager.js.map +1 -1
- package/dist/commonjs/v3/workers/index.d.ts +1 -1
- package/dist/commonjs/v3/workers/index.js +3 -3
- package/dist/commonjs/v3/workers/index.js.map +1 -1
- package/dist/commonjs/v3/workers/populateEnv.d.ts +5 -0
- package/dist/commonjs/v3/workers/populateEnv.js +9 -1
- package/dist/commonjs/v3/workers/populateEnv.js.map +1 -1
- package/dist/commonjs/v3/workers/taskExecutor.d.ts +2 -0
- package/dist/commonjs/v3/workers/taskExecutor.js +20 -12
- package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/logger.d.ts +2 -1
- package/dist/esm/logger.js +6 -1
- package/dist/esm/logger.js.map +1 -1
- package/dist/esm/v3/apiClient/core.d.ts +2 -1
- package/dist/esm/v3/apiClient/core.js.map +1 -1
- package/dist/esm/v3/apiClient/getBranch.d.ts +5 -0
- package/dist/esm/v3/apiClient/getBranch.js +22 -0
- package/dist/esm/v3/apiClient/getBranch.js.map +1 -0
- package/dist/esm/v3/apiClient/index.d.ts +49 -41
- package/dist/esm/v3/apiClient/index.js +31 -6
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/apiClient/runStream.d.ts +1 -0
- package/dist/esm/v3/apiClient/runStream.js +7 -7
- package/dist/esm/v3/apiClient/runStream.js.map +1 -1
- package/dist/esm/v3/apiClient/stream.js +9 -3
- package/dist/esm/v3/apiClient/stream.js.map +1 -1
- package/dist/esm/v3/apiClient/types.d.ts +2 -0
- package/dist/esm/v3/apiClientManager/index.d.ts +1 -0
- package/dist/esm/v3/apiClientManager/index.js +10 -2
- package/dist/esm/v3/apiClientManager/index.js.map +1 -1
- package/dist/esm/v3/apiClientManager/types.d.ts +4 -0
- package/dist/esm/v3/build/extensions.d.ts +1 -0
- package/dist/esm/v3/config.d.ts +70 -0
- package/dist/esm/v3/consoleInterceptor.d.ts +2 -1
- package/dist/esm/v3/consoleInterceptor.js +6 -1
- package/dist/esm/v3/consoleInterceptor.js.map +1 -1
- package/dist/esm/v3/isomorphic/duration.d.ts +3 -0
- package/dist/esm/v3/isomorphic/duration.js +121 -35
- package/dist/esm/v3/isomorphic/duration.js.map +1 -1
- package/dist/esm/v3/lifecycleHooks/manager.d.ts +1 -0
- package/dist/esm/v3/lifecycleHooks/manager.js +5 -0
- package/dist/esm/v3/lifecycleHooks/manager.js.map +1 -1
- package/dist/esm/v3/limits.d.ts +8 -8
- package/dist/esm/v3/limits.js +16 -8
- package/dist/esm/v3/limits.js.map +1 -1
- package/dist/esm/v3/locals/manager.d.ts +1 -0
- package/dist/esm/v3/locals/manager.js +3 -1
- package/dist/esm/v3/locals/manager.js.map +1 -1
- package/dist/esm/v3/otel/tracingSDK.d.ts +3 -1
- package/dist/esm/v3/otel/tracingSDK.js +60 -1
- package/dist/esm/v3/otel/tracingSDK.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +76 -0
- package/dist/esm/v3/runEngineWorker/supervisor/http.js +19 -3
- package/dist/esm/v3/runEngineWorker/supervisor/http.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/queueConsumer.d.ts +1 -0
- package/dist/esm/v3/runEngineWorker/supervisor/queueConsumer.js +25 -11
- package/dist/esm/v3/runEngineWorker/supervisor/queueConsumer.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +600 -3
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.js +15 -6
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/session.d.ts +2 -0
- package/dist/esm/v3/runEngineWorker/supervisor/session.js +22 -27
- package/dist/esm/v3/runEngineWorker/supervisor/session.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/types.d.ts +1 -0
- package/dist/esm/v3/runEngineWorker/workload/http.d.ts +72 -0
- package/dist/esm/v3/runEngineWorker/workload/http.js +9 -1
- package/dist/esm/v3/runEngineWorker/workload/http.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +571 -3
- package/dist/esm/v3/runEngineWorker/workload/schemas.js +2 -1
- package/dist/esm/v3/runEngineWorker/workload/schemas.js.map +1 -1
- package/dist/esm/v3/runMetadata/manager.d.ts +3 -2
- package/dist/esm/v3/runMetadata/manager.js +34 -8
- package/dist/esm/v3/runMetadata/manager.js.map +1 -1
- package/dist/esm/v3/runMetadata/operations.d.ts +38 -0
- package/dist/esm/v3/runMetadata/operations.js +95 -0
- package/dist/esm/v3/runMetadata/operations.js.map +1 -1
- package/dist/esm/v3/runTimelineMetrics/runTimelineMetricsManager.d.ts +2 -1
- package/dist/esm/v3/runTimelineMetrics/runTimelineMetricsManager.js +8 -4
- package/dist/esm/v3/runTimelineMetrics/runTimelineMetricsManager.js.map +1 -1
- package/dist/esm/v3/runtime/{managedRuntimeManager.d.ts → sharedRuntimeManager.d.ts} +14 -6
- package/dist/esm/v3/runtime/sharedRuntimeManager.js +276 -0
- package/dist/esm/v3/runtime/sharedRuntimeManager.js.map +1 -0
- package/dist/esm/v3/schemas/api.d.ts +223 -62
- package/dist/esm/v3/schemas/api.js +28 -16
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +108 -0
- package/dist/esm/v3/schemas/build.js +9 -0
- package/dist/esm/v3/schemas/build.js.map +1 -1
- package/dist/esm/v3/schemas/checkpoints.d.ts +14 -4
- package/dist/esm/v3/schemas/common.d.ts +378 -0
- package/dist/esm/v3/schemas/common.js +31 -0
- package/dist/esm/v3/schemas/common.js.map +1 -1
- package/dist/esm/v3/schemas/messages.d.ts +3769 -4881
- package/dist/esm/v3/schemas/messages.js +10 -55
- package/dist/esm/v3/schemas/messages.js.map +1 -1
- package/dist/esm/v3/schemas/resources.d.ts +12 -0
- package/dist/esm/v3/schemas/runEngine.d.ts +139 -0
- package/dist/esm/v3/schemas/runEngine.js +2 -0
- package/dist/esm/v3/schemas/runEngine.js.map +1 -1
- package/dist/esm/v3/schemas/schemas.d.ts +301 -23
- package/dist/esm/v3/schemas/schemas.js +2 -12
- package/dist/esm/v3/schemas/schemas.js.map +1 -1
- package/dist/esm/v3/schemas/webhooks.d.ts +42 -0
- package/dist/esm/v3/schemas/webhooks.js +4 -0
- package/dist/esm/v3/schemas/webhooks.js.map +1 -1
- package/dist/esm/v3/semanticInternalAttributes.d.ts +1 -0
- package/dist/esm/v3/semanticInternalAttributes.js +1 -0
- package/dist/esm/v3/semanticInternalAttributes.js.map +1 -1
- package/dist/esm/v3/serverOnly/httpServer.d.ts +1 -0
- package/dist/esm/v3/serverOnly/httpServer.js +14 -4
- package/dist/esm/v3/serverOnly/httpServer.js.map +1 -1
- package/dist/esm/v3/serverOnly/index.d.ts +1 -0
- package/dist/esm/v3/serverOnly/index.js +1 -0
- package/dist/esm/v3/serverOnly/index.js.map +1 -1
- package/dist/esm/v3/serverOnly/jumpHash.d.ts +1 -0
- package/dist/esm/v3/serverOnly/jumpHash.js +45 -0
- package/dist/esm/v3/serverOnly/jumpHash.js.map +1 -0
- package/dist/esm/v3/taskContext/index.d.ts +1 -0
- package/dist/esm/v3/taskContext/index.js +19 -12
- package/dist/esm/v3/taskContext/index.js.map +1 -1
- package/dist/esm/v3/taskContext/otelProcessors.js +3 -12
- package/dist/esm/v3/taskContext/otelProcessors.js.map +1 -1
- package/dist/esm/v3/timeout/api.d.ts +1 -0
- package/dist/esm/v3/timeout/api.js +5 -0
- package/dist/esm/v3/timeout/api.js.map +1 -1
- package/dist/esm/v3/timeout/types.d.ts +1 -0
- package/dist/esm/v3/timeout/types.js.map +1 -1
- package/dist/esm/v3/timeout/usageTimeoutManager.d.ts +1 -0
- package/dist/esm/v3/timeout/usageTimeoutManager.js +8 -0
- package/dist/esm/v3/timeout/usageTimeoutManager.js.map +1 -1
- package/dist/esm/v3/usage/api.d.ts +1 -0
- package/dist/esm/v3/usage/api.js +4 -0
- package/dist/esm/v3/usage/api.js.map +1 -1
- package/dist/esm/v3/usage/devUsageManager.d.ts +1 -0
- package/dist/esm/v3/usage/devUsageManager.js +5 -0
- package/dist/esm/v3/usage/devUsageManager.js.map +1 -1
- package/dist/esm/v3/usage/noopUsageManager.d.ts +1 -0
- package/dist/esm/v3/usage/noopUsageManager.js +3 -0
- package/dist/esm/v3/usage/noopUsageManager.js.map +1 -1
- package/dist/esm/v3/usage/prodUsageManager.d.ts +1 -0
- package/dist/esm/v3/usage/prodUsageManager.js +19 -4
- package/dist/esm/v3/usage/prodUsageManager.js.map +1 -1
- package/dist/esm/v3/usage/types.d.ts +1 -0
- package/dist/esm/v3/utils/getEnv.d.ts +8 -0
- package/dist/esm/v3/utils/getEnv.js +10 -5
- package/dist/esm/v3/utils/getEnv.js.map +1 -1
- package/dist/esm/v3/utils/interval.d.ts +3 -1
- package/dist/esm/v3/utils/interval.js +5 -1
- package/dist/esm/v3/utils/interval.js.map +1 -1
- package/dist/esm/v3/utils/ioSerialization.d.ts +1 -0
- package/dist/esm/v3/utils/ioSerialization.js +20 -0
- package/dist/esm/v3/utils/ioSerialization.js.map +1 -1
- package/dist/esm/v3/utils/structuredLogger.d.ts +4 -1
- package/dist/esm/v3/utils/structuredLogger.js +18 -4
- package/dist/esm/v3/utils/structuredLogger.js.map +1 -1
- package/dist/esm/v3/waitUntil/manager.d.ts +1 -0
- package/dist/esm/v3/waitUntil/manager.js +3 -0
- package/dist/esm/v3/waitUntil/manager.js.map +1 -1
- package/dist/esm/v3/workers/index.d.ts +1 -1
- package/dist/esm/v3/workers/index.js +1 -1
- package/dist/esm/v3/workers/index.js.map +1 -1
- package/dist/esm/v3/workers/populateEnv.d.ts +5 -0
- package/dist/esm/v3/workers/populateEnv.js +9 -1
- package/dist/esm/v3/workers/populateEnv.js.map +1 -1
- package/dist/esm/v3/workers/taskExecutor.d.ts +2 -0
- package/dist/esm/v3/workers/taskExecutor.js +20 -12
- package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -2
- package/dist/commonjs/v3/runtime/managedRuntimeManager.js +0 -189
- package/dist/commonjs/v3/runtime/managedRuntimeManager.js.map +0 -1
- package/dist/esm/v3/runtime/managedRuntimeManager.js +0 -185
- package/dist/esm/v3/runtime/managedRuntimeManager.js.map +0 -1
|
@@ -110,13 +110,16 @@ export declare const WorkerApiContinueRunExecutionRequestBody: z.ZodObject<{
|
|
|
110
110
|
friendlyId: z.ZodString;
|
|
111
111
|
executionStatus: z.ZodEnum<[import("../../schemas/runEngine.js").TaskRunExecutionStatus]>;
|
|
112
112
|
description: z.ZodString;
|
|
113
|
+
createdAt: z.ZodDate;
|
|
113
114
|
}, "strip", z.ZodTypeAny, {
|
|
114
115
|
id: string;
|
|
116
|
+
createdAt: Date;
|
|
115
117
|
description: string;
|
|
116
118
|
friendlyId: string;
|
|
117
119
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
118
120
|
}, {
|
|
119
121
|
id: string;
|
|
122
|
+
createdAt: Date;
|
|
120
123
|
description: string;
|
|
121
124
|
friendlyId: string;
|
|
122
125
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
@@ -146,6 +149,7 @@ export declare const WorkerApiContinueRunExecutionRequestBody: z.ZodObject<{
|
|
|
146
149
|
};
|
|
147
150
|
snapshot: {
|
|
148
151
|
id: string;
|
|
152
|
+
createdAt: Date;
|
|
149
153
|
description: string;
|
|
150
154
|
friendlyId: string;
|
|
151
155
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
@@ -159,6 +163,7 @@ export declare const WorkerApiContinueRunExecutionRequestBody: z.ZodObject<{
|
|
|
159
163
|
};
|
|
160
164
|
snapshot: {
|
|
161
165
|
id: string;
|
|
166
|
+
createdAt: Date;
|
|
162
167
|
description: string;
|
|
163
168
|
friendlyId: string;
|
|
164
169
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
@@ -232,13 +237,16 @@ export declare const WorkerApiDequeueResponseBody: z.ZodArray<z.ZodObject<{
|
|
|
232
237
|
friendlyId: z.ZodString;
|
|
233
238
|
executionStatus: z.ZodEnum<[import("../../schemas/runEngine.js").TaskRunExecutionStatus]>;
|
|
234
239
|
description: z.ZodString;
|
|
240
|
+
createdAt: z.ZodDate;
|
|
235
241
|
}, "strip", z.ZodTypeAny, {
|
|
236
242
|
id: string;
|
|
243
|
+
createdAt: Date;
|
|
237
244
|
description: string;
|
|
238
245
|
friendlyId: string;
|
|
239
246
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
240
247
|
}, {
|
|
241
248
|
id: string;
|
|
249
|
+
createdAt: Date;
|
|
242
250
|
description: string;
|
|
243
251
|
friendlyId: string;
|
|
244
252
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
@@ -376,12 +384,15 @@ export declare const WorkerApiDequeueResponseBody: z.ZodArray<z.ZodObject<{
|
|
|
376
384
|
deployment: z.ZodObject<{
|
|
377
385
|
id: z.ZodOptional<z.ZodString>;
|
|
378
386
|
friendlyId: z.ZodOptional<z.ZodString>;
|
|
387
|
+
imagePlatform: z.ZodOptional<z.ZodString>;
|
|
379
388
|
}, "strip", z.ZodTypeAny, {
|
|
380
389
|
id?: string | undefined;
|
|
381
390
|
friendlyId?: string | undefined;
|
|
391
|
+
imagePlatform?: string | undefined;
|
|
382
392
|
}, {
|
|
383
393
|
id?: string | undefined;
|
|
384
394
|
friendlyId?: string | undefined;
|
|
395
|
+
imagePlatform?: string | undefined;
|
|
385
396
|
}>;
|
|
386
397
|
run: z.ZodObject<{
|
|
387
398
|
id: z.ZodString;
|
|
@@ -485,6 +496,7 @@ export declare const WorkerApiDequeueResponseBody: z.ZodArray<z.ZodObject<{
|
|
|
485
496
|
};
|
|
486
497
|
snapshot: {
|
|
487
498
|
id: string;
|
|
499
|
+
createdAt: Date;
|
|
488
500
|
description: string;
|
|
489
501
|
friendlyId: string;
|
|
490
502
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
@@ -522,6 +534,7 @@ export declare const WorkerApiDequeueResponseBody: z.ZodArray<z.ZodObject<{
|
|
|
522
534
|
deployment: {
|
|
523
535
|
id?: string | undefined;
|
|
524
536
|
friendlyId?: string | undefined;
|
|
537
|
+
imagePlatform?: string | undefined;
|
|
525
538
|
};
|
|
526
539
|
checkpoint?: {
|
|
527
540
|
type: import("../../schemas/runEngine.js").CheckpointTypeEnum;
|
|
@@ -559,6 +572,7 @@ export declare const WorkerApiDequeueResponseBody: z.ZodArray<z.ZodObject<{
|
|
|
559
572
|
};
|
|
560
573
|
snapshot: {
|
|
561
574
|
id: string;
|
|
575
|
+
createdAt: Date;
|
|
562
576
|
description: string;
|
|
563
577
|
friendlyId: string;
|
|
564
578
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
@@ -596,6 +610,7 @@ export declare const WorkerApiDequeueResponseBody: z.ZodArray<z.ZodObject<{
|
|
|
596
610
|
deployment: {
|
|
597
611
|
id?: string | undefined;
|
|
598
612
|
friendlyId?: string | undefined;
|
|
613
|
+
imagePlatform?: string | undefined;
|
|
599
614
|
};
|
|
600
615
|
checkpoint?: {
|
|
601
616
|
type: import("../../schemas/runEngine.js").CheckpointTypeEnum;
|
|
@@ -640,13 +655,16 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
640
655
|
friendlyId: z.ZodString;
|
|
641
656
|
executionStatus: z.ZodEnum<[import("../../schemas/runEngine.js").TaskRunExecutionStatus]>;
|
|
642
657
|
description: z.ZodString;
|
|
658
|
+
createdAt: z.ZodDate;
|
|
643
659
|
}, "strip", z.ZodTypeAny, {
|
|
644
660
|
id: string;
|
|
661
|
+
createdAt: Date;
|
|
645
662
|
description: string;
|
|
646
663
|
friendlyId: string;
|
|
647
664
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
648
665
|
}, {
|
|
649
666
|
id: string;
|
|
667
|
+
createdAt: Date;
|
|
650
668
|
description: string;
|
|
651
669
|
friendlyId: string;
|
|
652
670
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
@@ -676,6 +694,7 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
676
694
|
};
|
|
677
695
|
snapshot: {
|
|
678
696
|
id: string;
|
|
697
|
+
createdAt: Date;
|
|
679
698
|
description: string;
|
|
680
699
|
friendlyId: string;
|
|
681
700
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
@@ -689,6 +708,7 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
689
708
|
};
|
|
690
709
|
snapshot: {
|
|
691
710
|
id: string;
|
|
711
|
+
createdAt: Date;
|
|
692
712
|
description: string;
|
|
693
713
|
friendlyId: string;
|
|
694
714
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
@@ -805,14 +825,70 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
805
825
|
id: z.ZodString;
|
|
806
826
|
slug: z.ZodString;
|
|
807
827
|
type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
|
|
828
|
+
branchName: z.ZodOptional<z.ZodString>;
|
|
829
|
+
git: z.ZodOptional<z.ZodObject<{
|
|
830
|
+
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
831
|
+
commitMessage: z.ZodOptional<z.ZodString>;
|
|
832
|
+
commitRef: z.ZodOptional<z.ZodString>;
|
|
833
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
834
|
+
dirty: z.ZodOptional<z.ZodBoolean>;
|
|
835
|
+
remoteUrl: z.ZodOptional<z.ZodString>;
|
|
836
|
+
pullRequestNumber: z.ZodOptional<z.ZodNumber>;
|
|
837
|
+
pullRequestTitle: z.ZodOptional<z.ZodString>;
|
|
838
|
+
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
839
|
+
}, "strip", z.ZodTypeAny, {
|
|
840
|
+
dirty?: boolean | undefined;
|
|
841
|
+
commitAuthorName?: string | undefined;
|
|
842
|
+
commitMessage?: string | undefined;
|
|
843
|
+
commitRef?: string | undefined;
|
|
844
|
+
commitSha?: string | undefined;
|
|
845
|
+
remoteUrl?: string | undefined;
|
|
846
|
+
pullRequestNumber?: number | undefined;
|
|
847
|
+
pullRequestTitle?: string | undefined;
|
|
848
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
849
|
+
}, {
|
|
850
|
+
dirty?: boolean | undefined;
|
|
851
|
+
commitAuthorName?: string | undefined;
|
|
852
|
+
commitMessage?: string | undefined;
|
|
853
|
+
commitRef?: string | undefined;
|
|
854
|
+
commitSha?: string | undefined;
|
|
855
|
+
remoteUrl?: string | undefined;
|
|
856
|
+
pullRequestNumber?: number | undefined;
|
|
857
|
+
pullRequestTitle?: string | undefined;
|
|
858
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
859
|
+
}>>;
|
|
808
860
|
}, "strip", z.ZodTypeAny, {
|
|
809
861
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
810
862
|
id: string;
|
|
811
863
|
slug: string;
|
|
864
|
+
branchName?: string | undefined;
|
|
865
|
+
git?: {
|
|
866
|
+
dirty?: boolean | undefined;
|
|
867
|
+
commitAuthorName?: string | undefined;
|
|
868
|
+
commitMessage?: string | undefined;
|
|
869
|
+
commitRef?: string | undefined;
|
|
870
|
+
commitSha?: string | undefined;
|
|
871
|
+
remoteUrl?: string | undefined;
|
|
872
|
+
pullRequestNumber?: number | undefined;
|
|
873
|
+
pullRequestTitle?: string | undefined;
|
|
874
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
875
|
+
} | undefined;
|
|
812
876
|
}, {
|
|
813
877
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
814
878
|
id: string;
|
|
815
879
|
slug: string;
|
|
880
|
+
branchName?: string | undefined;
|
|
881
|
+
git?: {
|
|
882
|
+
dirty?: boolean | undefined;
|
|
883
|
+
commitAuthorName?: string | undefined;
|
|
884
|
+
commitMessage?: string | undefined;
|
|
885
|
+
commitRef?: string | undefined;
|
|
886
|
+
commitSha?: string | undefined;
|
|
887
|
+
remoteUrl?: string | undefined;
|
|
888
|
+
pullRequestNumber?: number | undefined;
|
|
889
|
+
pullRequestTitle?: string | undefined;
|
|
890
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
891
|
+
} | undefined;
|
|
816
892
|
}>;
|
|
817
893
|
organization: z.ZodObject<{
|
|
818
894
|
id: z.ZodString;
|
|
@@ -909,6 +985,18 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
909
985
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
910
986
|
id: string;
|
|
911
987
|
slug: string;
|
|
988
|
+
branchName?: string | undefined;
|
|
989
|
+
git?: {
|
|
990
|
+
dirty?: boolean | undefined;
|
|
991
|
+
commitAuthorName?: string | undefined;
|
|
992
|
+
commitMessage?: string | undefined;
|
|
993
|
+
commitRef?: string | undefined;
|
|
994
|
+
commitSha?: string | undefined;
|
|
995
|
+
remoteUrl?: string | undefined;
|
|
996
|
+
pullRequestNumber?: number | undefined;
|
|
997
|
+
pullRequestTitle?: string | undefined;
|
|
998
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
999
|
+
} | undefined;
|
|
912
1000
|
};
|
|
913
1001
|
organization: {
|
|
914
1002
|
name: string;
|
|
@@ -973,6 +1061,18 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
973
1061
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
974
1062
|
id: string;
|
|
975
1063
|
slug: string;
|
|
1064
|
+
branchName?: string | undefined;
|
|
1065
|
+
git?: {
|
|
1066
|
+
dirty?: boolean | undefined;
|
|
1067
|
+
commitAuthorName?: string | undefined;
|
|
1068
|
+
commitMessage?: string | undefined;
|
|
1069
|
+
commitRef?: string | undefined;
|
|
1070
|
+
commitSha?: string | undefined;
|
|
1071
|
+
remoteUrl?: string | undefined;
|
|
1072
|
+
pullRequestNumber?: number | undefined;
|
|
1073
|
+
pullRequestTitle?: string | undefined;
|
|
1074
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1075
|
+
} | undefined;
|
|
976
1076
|
};
|
|
977
1077
|
organization: {
|
|
978
1078
|
name: string;
|
|
@@ -1039,6 +1139,18 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
1039
1139
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1040
1140
|
id: string;
|
|
1041
1141
|
slug: string;
|
|
1142
|
+
branchName?: string | undefined;
|
|
1143
|
+
git?: {
|
|
1144
|
+
dirty?: boolean | undefined;
|
|
1145
|
+
commitAuthorName?: string | undefined;
|
|
1146
|
+
commitMessage?: string | undefined;
|
|
1147
|
+
commitRef?: string | undefined;
|
|
1148
|
+
commitSha?: string | undefined;
|
|
1149
|
+
remoteUrl?: string | undefined;
|
|
1150
|
+
pullRequestNumber?: number | undefined;
|
|
1151
|
+
pullRequestTitle?: string | undefined;
|
|
1152
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1153
|
+
} | undefined;
|
|
1042
1154
|
};
|
|
1043
1155
|
organization: {
|
|
1044
1156
|
name: string;
|
|
@@ -1105,6 +1217,18 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
1105
1217
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
1106
1218
|
id: string;
|
|
1107
1219
|
slug: string;
|
|
1220
|
+
branchName?: string | undefined;
|
|
1221
|
+
git?: {
|
|
1222
|
+
dirty?: boolean | undefined;
|
|
1223
|
+
commitAuthorName?: string | undefined;
|
|
1224
|
+
commitMessage?: string | undefined;
|
|
1225
|
+
commitRef?: string | undefined;
|
|
1226
|
+
commitSha?: string | undefined;
|
|
1227
|
+
remoteUrl?: string | undefined;
|
|
1228
|
+
pullRequestNumber?: number | undefined;
|
|
1229
|
+
pullRequestTitle?: string | undefined;
|
|
1230
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1231
|
+
} | undefined;
|
|
1108
1232
|
};
|
|
1109
1233
|
organization: {
|
|
1110
1234
|
name: string;
|
|
@@ -1495,6 +1619,16 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1495
1619
|
key: string;
|
|
1496
1620
|
})[] | undefined;
|
|
1497
1621
|
}>>;
|
|
1622
|
+
flushedMetadata: z.ZodOptional<z.ZodObject<{
|
|
1623
|
+
data: z.ZodOptional<z.ZodString>;
|
|
1624
|
+
dataType: z.ZodString;
|
|
1625
|
+
}, "strip", z.ZodTypeAny, {
|
|
1626
|
+
dataType: string;
|
|
1627
|
+
data?: string | undefined;
|
|
1628
|
+
}, {
|
|
1629
|
+
dataType: string;
|
|
1630
|
+
data?: string | undefined;
|
|
1631
|
+
}>>;
|
|
1498
1632
|
}, "strip", z.ZodTypeAny, {
|
|
1499
1633
|
ok: true;
|
|
1500
1634
|
id: string;
|
|
@@ -1575,6 +1709,10 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1575
1709
|
durationMs: number;
|
|
1576
1710
|
} | undefined;
|
|
1577
1711
|
taskIdentifier?: string | undefined;
|
|
1712
|
+
flushedMetadata?: {
|
|
1713
|
+
dataType: string;
|
|
1714
|
+
data?: string | undefined;
|
|
1715
|
+
} | undefined;
|
|
1578
1716
|
output?: string | undefined;
|
|
1579
1717
|
}, {
|
|
1580
1718
|
ok: true;
|
|
@@ -1656,6 +1794,10 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1656
1794
|
durationMs: number;
|
|
1657
1795
|
} | undefined;
|
|
1658
1796
|
taskIdentifier?: string | undefined;
|
|
1797
|
+
flushedMetadata?: {
|
|
1798
|
+
dataType: string;
|
|
1799
|
+
data?: string | undefined;
|
|
1800
|
+
} | undefined;
|
|
1659
1801
|
output?: string | undefined;
|
|
1660
1802
|
}>, z.ZodObject<{
|
|
1661
1803
|
ok: z.ZodLiteral<false>;
|
|
@@ -2077,6 +2219,16 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
2077
2219
|
key: string;
|
|
2078
2220
|
})[] | undefined;
|
|
2079
2221
|
}>>;
|
|
2222
|
+
flushedMetadata: z.ZodOptional<z.ZodObject<{
|
|
2223
|
+
data: z.ZodOptional<z.ZodString>;
|
|
2224
|
+
dataType: z.ZodString;
|
|
2225
|
+
}, "strip", z.ZodTypeAny, {
|
|
2226
|
+
dataType: string;
|
|
2227
|
+
data?: string | undefined;
|
|
2228
|
+
}, {
|
|
2229
|
+
dataType: string;
|
|
2230
|
+
data?: string | undefined;
|
|
2231
|
+
}>>;
|
|
2080
2232
|
}, "strip", z.ZodTypeAny, {
|
|
2081
2233
|
error: {
|
|
2082
2234
|
message: string;
|
|
@@ -2179,6 +2331,10 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
2179
2331
|
durationMs: number;
|
|
2180
2332
|
} | undefined;
|
|
2181
2333
|
taskIdentifier?: string | undefined;
|
|
2334
|
+
flushedMetadata?: {
|
|
2335
|
+
dataType: string;
|
|
2336
|
+
data?: string | undefined;
|
|
2337
|
+
} | undefined;
|
|
2182
2338
|
}, {
|
|
2183
2339
|
error: {
|
|
2184
2340
|
message: string;
|
|
@@ -2281,6 +2437,10 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
2281
2437
|
durationMs: number;
|
|
2282
2438
|
} | undefined;
|
|
2283
2439
|
taskIdentifier?: string | undefined;
|
|
2440
|
+
flushedMetadata?: {
|
|
2441
|
+
dataType: string;
|
|
2442
|
+
data?: string | undefined;
|
|
2443
|
+
} | undefined;
|
|
2284
2444
|
}>]>;
|
|
2285
2445
|
}, "strip", z.ZodTypeAny, {
|
|
2286
2446
|
completion: {
|
|
@@ -2385,6 +2545,10 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
2385
2545
|
durationMs: number;
|
|
2386
2546
|
} | undefined;
|
|
2387
2547
|
taskIdentifier?: string | undefined;
|
|
2548
|
+
flushedMetadata?: {
|
|
2549
|
+
dataType: string;
|
|
2550
|
+
data?: string | undefined;
|
|
2551
|
+
} | undefined;
|
|
2388
2552
|
} | {
|
|
2389
2553
|
ok: true;
|
|
2390
2554
|
id: string;
|
|
@@ -2465,6 +2629,10 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
2465
2629
|
durationMs: number;
|
|
2466
2630
|
} | undefined;
|
|
2467
2631
|
taskIdentifier?: string | undefined;
|
|
2632
|
+
flushedMetadata?: {
|
|
2633
|
+
dataType: string;
|
|
2634
|
+
data?: string | undefined;
|
|
2635
|
+
} | undefined;
|
|
2468
2636
|
output?: string | undefined;
|
|
2469
2637
|
};
|
|
2470
2638
|
}, {
|
|
@@ -2570,6 +2738,10 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
2570
2738
|
durationMs: number;
|
|
2571
2739
|
} | undefined;
|
|
2572
2740
|
taskIdentifier?: string | undefined;
|
|
2741
|
+
flushedMetadata?: {
|
|
2742
|
+
dataType: string;
|
|
2743
|
+
data?: string | undefined;
|
|
2744
|
+
} | undefined;
|
|
2573
2745
|
} | {
|
|
2574
2746
|
ok: true;
|
|
2575
2747
|
id: string;
|
|
@@ -2650,6 +2822,10 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
2650
2822
|
durationMs: number;
|
|
2651
2823
|
} | undefined;
|
|
2652
2824
|
taskIdentifier?: string | undefined;
|
|
2825
|
+
flushedMetadata?: {
|
|
2826
|
+
dataType: string;
|
|
2827
|
+
data?: string | undefined;
|
|
2828
|
+
} | undefined;
|
|
2653
2829
|
output?: string | undefined;
|
|
2654
2830
|
};
|
|
2655
2831
|
}>;
|
|
@@ -2667,13 +2843,16 @@ export declare const WorkerApiRunAttemptCompleteResponseBody: z.ZodObject<{
|
|
|
2667
2843
|
friendlyId: z.ZodString;
|
|
2668
2844
|
executionStatus: z.ZodEnum<[import("../../schemas/runEngine.js").TaskRunExecutionStatus]>;
|
|
2669
2845
|
description: z.ZodString;
|
|
2846
|
+
createdAt: z.ZodDate;
|
|
2670
2847
|
}, "strip", z.ZodTypeAny, {
|
|
2671
2848
|
id: string;
|
|
2849
|
+
createdAt: Date;
|
|
2672
2850
|
description: string;
|
|
2673
2851
|
friendlyId: string;
|
|
2674
2852
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
2675
2853
|
}, {
|
|
2676
2854
|
id: string;
|
|
2855
|
+
createdAt: Date;
|
|
2677
2856
|
description: string;
|
|
2678
2857
|
friendlyId: string;
|
|
2679
2858
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
@@ -2703,6 +2882,7 @@ export declare const WorkerApiRunAttemptCompleteResponseBody: z.ZodObject<{
|
|
|
2703
2882
|
};
|
|
2704
2883
|
snapshot: {
|
|
2705
2884
|
id: string;
|
|
2885
|
+
createdAt: Date;
|
|
2706
2886
|
description: string;
|
|
2707
2887
|
friendlyId: string;
|
|
2708
2888
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
@@ -2716,6 +2896,7 @@ export declare const WorkerApiRunAttemptCompleteResponseBody: z.ZodObject<{
|
|
|
2716
2896
|
};
|
|
2717
2897
|
snapshot: {
|
|
2718
2898
|
id: string;
|
|
2899
|
+
createdAt: Date;
|
|
2719
2900
|
description: string;
|
|
2720
2901
|
friendlyId: string;
|
|
2721
2902
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
@@ -2733,6 +2914,7 @@ export declare const WorkerApiRunAttemptCompleteResponseBody: z.ZodObject<{
|
|
|
2733
2914
|
};
|
|
2734
2915
|
snapshot: {
|
|
2735
2916
|
id: string;
|
|
2917
|
+
createdAt: Date;
|
|
2736
2918
|
description: string;
|
|
2737
2919
|
friendlyId: string;
|
|
2738
2920
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
@@ -2750,6 +2932,7 @@ export declare const WorkerApiRunAttemptCompleteResponseBody: z.ZodObject<{
|
|
|
2750
2932
|
};
|
|
2751
2933
|
snapshot: {
|
|
2752
2934
|
id: string;
|
|
2935
|
+
createdAt: Date;
|
|
2753
2936
|
description: string;
|
|
2754
2937
|
friendlyId: string;
|
|
2755
2938
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
@@ -2765,13 +2948,16 @@ export declare const WorkerApiRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
2765
2948
|
friendlyId: z.ZodString;
|
|
2766
2949
|
executionStatus: z.ZodEnum<[import("../../schemas/runEngine.js").TaskRunExecutionStatus]>;
|
|
2767
2950
|
description: z.ZodString;
|
|
2951
|
+
createdAt: z.ZodDate;
|
|
2768
2952
|
}, "strip", z.ZodTypeAny, {
|
|
2769
2953
|
id: string;
|
|
2954
|
+
createdAt: Date;
|
|
2770
2955
|
description: string;
|
|
2771
2956
|
friendlyId: string;
|
|
2772
2957
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
2773
2958
|
}, {
|
|
2774
2959
|
id: string;
|
|
2960
|
+
createdAt: Date;
|
|
2775
2961
|
description: string;
|
|
2776
2962
|
friendlyId: string;
|
|
2777
2963
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
@@ -2931,6 +3117,7 @@ export declare const WorkerApiRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
2931
3117
|
};
|
|
2932
3118
|
snapshot: {
|
|
2933
3119
|
id: string;
|
|
3120
|
+
createdAt: Date;
|
|
2934
3121
|
description: string;
|
|
2935
3122
|
friendlyId: string;
|
|
2936
3123
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
@@ -2981,6 +3168,7 @@ export declare const WorkerApiRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
2981
3168
|
};
|
|
2982
3169
|
snapshot: {
|
|
2983
3170
|
id: string;
|
|
3171
|
+
createdAt: Date;
|
|
2984
3172
|
description: string;
|
|
2985
3173
|
friendlyId: string;
|
|
2986
3174
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
@@ -3033,6 +3221,7 @@ export declare const WorkerApiRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
3033
3221
|
};
|
|
3034
3222
|
snapshot: {
|
|
3035
3223
|
id: string;
|
|
3224
|
+
createdAt: Date;
|
|
3036
3225
|
description: string;
|
|
3037
3226
|
friendlyId: string;
|
|
3038
3227
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
@@ -3085,6 +3274,7 @@ export declare const WorkerApiRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
3085
3274
|
};
|
|
3086
3275
|
snapshot: {
|
|
3087
3276
|
id: string;
|
|
3277
|
+
createdAt: Date;
|
|
3088
3278
|
description: string;
|
|
3089
3279
|
friendlyId: string;
|
|
3090
3280
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
@@ -3135,13 +3325,16 @@ export declare const WorkerApiDequeueFromVersionResponseBody: z.ZodArray<z.ZodOb
|
|
|
3135
3325
|
friendlyId: z.ZodString;
|
|
3136
3326
|
executionStatus: z.ZodEnum<[import("../../schemas/runEngine.js").TaskRunExecutionStatus]>;
|
|
3137
3327
|
description: z.ZodString;
|
|
3328
|
+
createdAt: z.ZodDate;
|
|
3138
3329
|
}, "strip", z.ZodTypeAny, {
|
|
3139
3330
|
id: string;
|
|
3331
|
+
createdAt: Date;
|
|
3140
3332
|
description: string;
|
|
3141
3333
|
friendlyId: string;
|
|
3142
3334
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
3143
3335
|
}, {
|
|
3144
3336
|
id: string;
|
|
3337
|
+
createdAt: Date;
|
|
3145
3338
|
description: string;
|
|
3146
3339
|
friendlyId: string;
|
|
3147
3340
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
@@ -3279,12 +3472,15 @@ export declare const WorkerApiDequeueFromVersionResponseBody: z.ZodArray<z.ZodOb
|
|
|
3279
3472
|
deployment: z.ZodObject<{
|
|
3280
3473
|
id: z.ZodOptional<z.ZodString>;
|
|
3281
3474
|
friendlyId: z.ZodOptional<z.ZodString>;
|
|
3475
|
+
imagePlatform: z.ZodOptional<z.ZodString>;
|
|
3282
3476
|
}, "strip", z.ZodTypeAny, {
|
|
3283
3477
|
id?: string | undefined;
|
|
3284
3478
|
friendlyId?: string | undefined;
|
|
3479
|
+
imagePlatform?: string | undefined;
|
|
3285
3480
|
}, {
|
|
3286
3481
|
id?: string | undefined;
|
|
3287
3482
|
friendlyId?: string | undefined;
|
|
3483
|
+
imagePlatform?: string | undefined;
|
|
3288
3484
|
}>;
|
|
3289
3485
|
run: z.ZodObject<{
|
|
3290
3486
|
id: z.ZodString;
|
|
@@ -3388,6 +3584,7 @@ export declare const WorkerApiDequeueFromVersionResponseBody: z.ZodArray<z.ZodOb
|
|
|
3388
3584
|
};
|
|
3389
3585
|
snapshot: {
|
|
3390
3586
|
id: string;
|
|
3587
|
+
createdAt: Date;
|
|
3391
3588
|
description: string;
|
|
3392
3589
|
friendlyId: string;
|
|
3393
3590
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
@@ -3425,6 +3622,7 @@ export declare const WorkerApiDequeueFromVersionResponseBody: z.ZodArray<z.ZodOb
|
|
|
3425
3622
|
deployment: {
|
|
3426
3623
|
id?: string | undefined;
|
|
3427
3624
|
friendlyId?: string | undefined;
|
|
3625
|
+
imagePlatform?: string | undefined;
|
|
3428
3626
|
};
|
|
3429
3627
|
checkpoint?: {
|
|
3430
3628
|
type: import("../../schemas/runEngine.js").CheckpointTypeEnum;
|
|
@@ -3462,6 +3660,7 @@ export declare const WorkerApiDequeueFromVersionResponseBody: z.ZodArray<z.ZodOb
|
|
|
3462
3660
|
};
|
|
3463
3661
|
snapshot: {
|
|
3464
3662
|
id: string;
|
|
3663
|
+
createdAt: Date;
|
|
3465
3664
|
description: string;
|
|
3466
3665
|
friendlyId: string;
|
|
3467
3666
|
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
@@ -3499,6 +3698,7 @@ export declare const WorkerApiDequeueFromVersionResponseBody: z.ZodArray<z.ZodOb
|
|
|
3499
3698
|
deployment: {
|
|
3500
3699
|
id?: string | undefined;
|
|
3501
3700
|
friendlyId?: string | undefined;
|
|
3701
|
+
imagePlatform?: string | undefined;
|
|
3502
3702
|
};
|
|
3503
3703
|
checkpoint?: {
|
|
3504
3704
|
type: import("../../schemas/runEngine.js").CheckpointTypeEnum;
|
|
@@ -3510,18 +3710,37 @@ export declare const WorkerApiDequeueFromVersionResponseBody: z.ZodArray<z.ZodOb
|
|
|
3510
3710
|
image?: string | undefined;
|
|
3511
3711
|
}>, "many">;
|
|
3512
3712
|
export type WorkerApiDequeueFromVersionResponseBody = z.infer<typeof WorkerApiDequeueFromVersionResponseBody>;
|
|
3713
|
+
export declare const DebugLogPropertiesValue: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodString>>, "many">, z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, "many">, z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, "many">]>;
|
|
3714
|
+
export declare const DebugLogProperties: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodString>>, "many">, z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, "many">, z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, "many">]>>>;
|
|
3715
|
+
export type DebugLogProperties = z.infer<typeof DebugLogProperties>;
|
|
3716
|
+
export declare const DebugLogPropertiesInput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3717
|
+
export type DebugLogPropertiesInput = z.infer<typeof DebugLogPropertiesInput>;
|
|
3718
|
+
export declare const WorkerApiDebugLogBodyInput: z.ZodObject<{
|
|
3719
|
+
time: z.ZodDate;
|
|
3720
|
+
message: z.ZodString;
|
|
3721
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3722
|
+
}, "strip", z.ZodTypeAny, {
|
|
3723
|
+
message: string;
|
|
3724
|
+
time: Date;
|
|
3725
|
+
properties?: Record<string, unknown> | undefined;
|
|
3726
|
+
}, {
|
|
3727
|
+
message: string;
|
|
3728
|
+
time: Date;
|
|
3729
|
+
properties?: Record<string, unknown> | undefined;
|
|
3730
|
+
}>;
|
|
3731
|
+
export type WorkerApiDebugLogBodyInput = z.infer<typeof WorkerApiDebugLogBodyInput>;
|
|
3513
3732
|
export declare const WorkerApiDebugLogBody: z.ZodObject<{
|
|
3514
3733
|
time: z.ZodDate;
|
|
3515
3734
|
message: z.ZodString;
|
|
3516
|
-
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodNullable<z.ZodString
|
|
3735
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodString>>, "many">, z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, "many">, z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, "many">]>>>>;
|
|
3517
3736
|
}, "strip", z.ZodTypeAny, {
|
|
3518
3737
|
message: string;
|
|
3519
3738
|
time: Date;
|
|
3520
|
-
properties?: Record<string, string | number | boolean | (string | null)[] | (number | null)[] | (boolean | null)[] | undefined> | undefined;
|
|
3739
|
+
properties?: Record<string, string | number | boolean | (string | null | undefined)[] | (number | null | undefined)[] | (boolean | null | undefined)[] | undefined> | undefined;
|
|
3521
3740
|
}, {
|
|
3522
3741
|
message: string;
|
|
3523
3742
|
time: Date;
|
|
3524
|
-
properties?: Record<string, string | number | boolean | (string | null)[] | (number | null)[] | (boolean | null)[] | undefined> | undefined;
|
|
3743
|
+
properties?: Record<string, string | number | boolean | (string | null | undefined)[] | (number | null | undefined)[] | (boolean | null | undefined)[] | undefined> | undefined;
|
|
3525
3744
|
}>;
|
|
3526
3745
|
export type WorkerApiDebugLogBody = z.infer<typeof WorkerApiDebugLogBody>;
|
|
3527
3746
|
export declare const WorkerApiSuspendCompletionResponseBody: z.ZodObject<{
|
|
@@ -3535,3 +3754,381 @@ export declare const WorkerApiSuspendCompletionResponseBody: z.ZodObject<{
|
|
|
3535
3754
|
error?: string | undefined;
|
|
3536
3755
|
}>;
|
|
3537
3756
|
export type WorkerApiSuspendCompletionResponseBody = z.infer<typeof WorkerApiSuspendCompletionResponseBody>;
|
|
3757
|
+
export declare const WorkerApiRunSnapshotsSinceResponseBody: z.ZodObject<{
|
|
3758
|
+
snapshots: z.ZodArray<z.ZodObject<{
|
|
3759
|
+
version: z.ZodLiteral<"1">;
|
|
3760
|
+
snapshot: z.ZodObject<{
|
|
3761
|
+
id: z.ZodString;
|
|
3762
|
+
friendlyId: z.ZodString;
|
|
3763
|
+
executionStatus: z.ZodEnum<[import("../../schemas/runEngine.js").TaskRunExecutionStatus]>;
|
|
3764
|
+
description: z.ZodString;
|
|
3765
|
+
createdAt: z.ZodDate;
|
|
3766
|
+
}, "strip", z.ZodTypeAny, {
|
|
3767
|
+
id: string;
|
|
3768
|
+
createdAt: Date;
|
|
3769
|
+
description: string;
|
|
3770
|
+
friendlyId: string;
|
|
3771
|
+
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
3772
|
+
}, {
|
|
3773
|
+
id: string;
|
|
3774
|
+
createdAt: Date;
|
|
3775
|
+
description: string;
|
|
3776
|
+
friendlyId: string;
|
|
3777
|
+
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
3778
|
+
}>;
|
|
3779
|
+
run: z.ZodObject<{
|
|
3780
|
+
id: z.ZodString;
|
|
3781
|
+
friendlyId: z.ZodString;
|
|
3782
|
+
status: z.ZodEnum<[import("../../schemas/runEngine.js").TaskRunStatus]>;
|
|
3783
|
+
attemptNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3784
|
+
}, "strip", z.ZodTypeAny, {
|
|
3785
|
+
status: import("../../schemas/runEngine.js").TaskRunStatus;
|
|
3786
|
+
id: string;
|
|
3787
|
+
friendlyId: string;
|
|
3788
|
+
attemptNumber?: number | null | undefined;
|
|
3789
|
+
}, {
|
|
3790
|
+
status: import("../../schemas/runEngine.js").TaskRunStatus;
|
|
3791
|
+
id: string;
|
|
3792
|
+
friendlyId: string;
|
|
3793
|
+
attemptNumber?: number | null | undefined;
|
|
3794
|
+
}>;
|
|
3795
|
+
batch: z.ZodOptional<z.ZodObject<{
|
|
3796
|
+
id: z.ZodString;
|
|
3797
|
+
friendlyId: z.ZodString;
|
|
3798
|
+
}, "strip", z.ZodTypeAny, {
|
|
3799
|
+
id: string;
|
|
3800
|
+
friendlyId: string;
|
|
3801
|
+
}, {
|
|
3802
|
+
id: string;
|
|
3803
|
+
friendlyId: string;
|
|
3804
|
+
}>>;
|
|
3805
|
+
checkpoint: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
3806
|
+
type: z.ZodEnum<[import("../../schemas/runEngine.js").CheckpointTypeEnum]>;
|
|
3807
|
+
location: z.ZodString;
|
|
3808
|
+
imageRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3809
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3810
|
+
}, {
|
|
3811
|
+
id: z.ZodString;
|
|
3812
|
+
friendlyId: z.ZodString;
|
|
3813
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3814
|
+
type: import("../../schemas/runEngine.js").CheckpointTypeEnum;
|
|
3815
|
+
id: string;
|
|
3816
|
+
friendlyId: string;
|
|
3817
|
+
location: string;
|
|
3818
|
+
imageRef?: string | null | undefined;
|
|
3819
|
+
reason?: string | null | undefined;
|
|
3820
|
+
}, {
|
|
3821
|
+
type: import("../../schemas/runEngine.js").CheckpointTypeEnum;
|
|
3822
|
+
id: string;
|
|
3823
|
+
friendlyId: string;
|
|
3824
|
+
location: string;
|
|
3825
|
+
imageRef?: string | null | undefined;
|
|
3826
|
+
reason?: string | null | undefined;
|
|
3827
|
+
}>>;
|
|
3828
|
+
completedWaitpoints: z.ZodArray<z.ZodObject<{
|
|
3829
|
+
id: z.ZodString;
|
|
3830
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
3831
|
+
friendlyId: z.ZodString;
|
|
3832
|
+
type: z.ZodEnum<[import("../../schemas/runEngine.js").WaitpointType]>;
|
|
3833
|
+
completedAt: z.ZodDate;
|
|
3834
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
3835
|
+
completedByTaskRun: z.ZodOptional<z.ZodObject<{
|
|
3836
|
+
id: z.ZodString;
|
|
3837
|
+
friendlyId: z.ZodString;
|
|
3838
|
+
batch: z.ZodOptional<z.ZodObject<{
|
|
3839
|
+
id: z.ZodString;
|
|
3840
|
+
friendlyId: z.ZodString;
|
|
3841
|
+
}, "strip", z.ZodTypeAny, {
|
|
3842
|
+
id: string;
|
|
3843
|
+
friendlyId: string;
|
|
3844
|
+
}, {
|
|
3845
|
+
id: string;
|
|
3846
|
+
friendlyId: string;
|
|
3847
|
+
}>>;
|
|
3848
|
+
}, "strip", z.ZodTypeAny, {
|
|
3849
|
+
id: string;
|
|
3850
|
+
friendlyId: string;
|
|
3851
|
+
batch?: {
|
|
3852
|
+
id: string;
|
|
3853
|
+
friendlyId: string;
|
|
3854
|
+
} | undefined;
|
|
3855
|
+
}, {
|
|
3856
|
+
id: string;
|
|
3857
|
+
friendlyId: string;
|
|
3858
|
+
batch?: {
|
|
3859
|
+
id: string;
|
|
3860
|
+
friendlyId: string;
|
|
3861
|
+
} | undefined;
|
|
3862
|
+
}>>;
|
|
3863
|
+
completedAfter: z.ZodOptional<z.ZodDate>;
|
|
3864
|
+
completedByBatch: z.ZodOptional<z.ZodObject<{
|
|
3865
|
+
id: z.ZodString;
|
|
3866
|
+
friendlyId: z.ZodString;
|
|
3867
|
+
}, "strip", z.ZodTypeAny, {
|
|
3868
|
+
id: string;
|
|
3869
|
+
friendlyId: string;
|
|
3870
|
+
}, {
|
|
3871
|
+
id: string;
|
|
3872
|
+
friendlyId: string;
|
|
3873
|
+
}>>;
|
|
3874
|
+
output: z.ZodOptional<z.ZodString>;
|
|
3875
|
+
outputType: z.ZodOptional<z.ZodString>;
|
|
3876
|
+
outputIsError: z.ZodBoolean;
|
|
3877
|
+
}, "strip", z.ZodTypeAny, {
|
|
3878
|
+
type: import("../../schemas/runEngine.js").WaitpointType;
|
|
3879
|
+
id: string;
|
|
3880
|
+
completedAt: Date;
|
|
3881
|
+
friendlyId: string;
|
|
3882
|
+
outputIsError: boolean;
|
|
3883
|
+
idempotencyKey?: string | undefined;
|
|
3884
|
+
output?: string | undefined;
|
|
3885
|
+
outputType?: string | undefined;
|
|
3886
|
+
index?: number | undefined;
|
|
3887
|
+
completedByTaskRun?: {
|
|
3888
|
+
id: string;
|
|
3889
|
+
friendlyId: string;
|
|
3890
|
+
batch?: {
|
|
3891
|
+
id: string;
|
|
3892
|
+
friendlyId: string;
|
|
3893
|
+
} | undefined;
|
|
3894
|
+
} | undefined;
|
|
3895
|
+
completedAfter?: Date | undefined;
|
|
3896
|
+
completedByBatch?: {
|
|
3897
|
+
id: string;
|
|
3898
|
+
friendlyId: string;
|
|
3899
|
+
} | undefined;
|
|
3900
|
+
}, {
|
|
3901
|
+
type: import("../../schemas/runEngine.js").WaitpointType;
|
|
3902
|
+
id: string;
|
|
3903
|
+
completedAt: Date;
|
|
3904
|
+
friendlyId: string;
|
|
3905
|
+
outputIsError: boolean;
|
|
3906
|
+
idempotencyKey?: string | undefined;
|
|
3907
|
+
output?: string | undefined;
|
|
3908
|
+
outputType?: string | undefined;
|
|
3909
|
+
index?: number | undefined;
|
|
3910
|
+
completedByTaskRun?: {
|
|
3911
|
+
id: string;
|
|
3912
|
+
friendlyId: string;
|
|
3913
|
+
batch?: {
|
|
3914
|
+
id: string;
|
|
3915
|
+
friendlyId: string;
|
|
3916
|
+
} | undefined;
|
|
3917
|
+
} | undefined;
|
|
3918
|
+
completedAfter?: Date | undefined;
|
|
3919
|
+
completedByBatch?: {
|
|
3920
|
+
id: string;
|
|
3921
|
+
friendlyId: string;
|
|
3922
|
+
} | undefined;
|
|
3923
|
+
}>, "many">;
|
|
3924
|
+
}, "strip", z.ZodTypeAny, {
|
|
3925
|
+
version: "1";
|
|
3926
|
+
run: {
|
|
3927
|
+
status: import("../../schemas/runEngine.js").TaskRunStatus;
|
|
3928
|
+
id: string;
|
|
3929
|
+
friendlyId: string;
|
|
3930
|
+
attemptNumber?: number | null | undefined;
|
|
3931
|
+
};
|
|
3932
|
+
snapshot: {
|
|
3933
|
+
id: string;
|
|
3934
|
+
createdAt: Date;
|
|
3935
|
+
description: string;
|
|
3936
|
+
friendlyId: string;
|
|
3937
|
+
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
3938
|
+
};
|
|
3939
|
+
completedWaitpoints: {
|
|
3940
|
+
type: import("../../schemas/runEngine.js").WaitpointType;
|
|
3941
|
+
id: string;
|
|
3942
|
+
completedAt: Date;
|
|
3943
|
+
friendlyId: string;
|
|
3944
|
+
outputIsError: boolean;
|
|
3945
|
+
idempotencyKey?: string | undefined;
|
|
3946
|
+
output?: string | undefined;
|
|
3947
|
+
outputType?: string | undefined;
|
|
3948
|
+
index?: number | undefined;
|
|
3949
|
+
completedByTaskRun?: {
|
|
3950
|
+
id: string;
|
|
3951
|
+
friendlyId: string;
|
|
3952
|
+
batch?: {
|
|
3953
|
+
id: string;
|
|
3954
|
+
friendlyId: string;
|
|
3955
|
+
} | undefined;
|
|
3956
|
+
} | undefined;
|
|
3957
|
+
completedAfter?: Date | undefined;
|
|
3958
|
+
completedByBatch?: {
|
|
3959
|
+
id: string;
|
|
3960
|
+
friendlyId: string;
|
|
3961
|
+
} | undefined;
|
|
3962
|
+
}[];
|
|
3963
|
+
batch?: {
|
|
3964
|
+
id: string;
|
|
3965
|
+
friendlyId: string;
|
|
3966
|
+
} | undefined;
|
|
3967
|
+
checkpoint?: {
|
|
3968
|
+
type: import("../../schemas/runEngine.js").CheckpointTypeEnum;
|
|
3969
|
+
id: string;
|
|
3970
|
+
friendlyId: string;
|
|
3971
|
+
location: string;
|
|
3972
|
+
imageRef?: string | null | undefined;
|
|
3973
|
+
reason?: string | null | undefined;
|
|
3974
|
+
} | undefined;
|
|
3975
|
+
}, {
|
|
3976
|
+
version: "1";
|
|
3977
|
+
run: {
|
|
3978
|
+
status: import("../../schemas/runEngine.js").TaskRunStatus;
|
|
3979
|
+
id: string;
|
|
3980
|
+
friendlyId: string;
|
|
3981
|
+
attemptNumber?: number | null | undefined;
|
|
3982
|
+
};
|
|
3983
|
+
snapshot: {
|
|
3984
|
+
id: string;
|
|
3985
|
+
createdAt: Date;
|
|
3986
|
+
description: string;
|
|
3987
|
+
friendlyId: string;
|
|
3988
|
+
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
3989
|
+
};
|
|
3990
|
+
completedWaitpoints: {
|
|
3991
|
+
type: import("../../schemas/runEngine.js").WaitpointType;
|
|
3992
|
+
id: string;
|
|
3993
|
+
completedAt: Date;
|
|
3994
|
+
friendlyId: string;
|
|
3995
|
+
outputIsError: boolean;
|
|
3996
|
+
idempotencyKey?: string | undefined;
|
|
3997
|
+
output?: string | undefined;
|
|
3998
|
+
outputType?: string | undefined;
|
|
3999
|
+
index?: number | undefined;
|
|
4000
|
+
completedByTaskRun?: {
|
|
4001
|
+
id: string;
|
|
4002
|
+
friendlyId: string;
|
|
4003
|
+
batch?: {
|
|
4004
|
+
id: string;
|
|
4005
|
+
friendlyId: string;
|
|
4006
|
+
} | undefined;
|
|
4007
|
+
} | undefined;
|
|
4008
|
+
completedAfter?: Date | undefined;
|
|
4009
|
+
completedByBatch?: {
|
|
4010
|
+
id: string;
|
|
4011
|
+
friendlyId: string;
|
|
4012
|
+
} | undefined;
|
|
4013
|
+
}[];
|
|
4014
|
+
batch?: {
|
|
4015
|
+
id: string;
|
|
4016
|
+
friendlyId: string;
|
|
4017
|
+
} | undefined;
|
|
4018
|
+
checkpoint?: {
|
|
4019
|
+
type: import("../../schemas/runEngine.js").CheckpointTypeEnum;
|
|
4020
|
+
id: string;
|
|
4021
|
+
friendlyId: string;
|
|
4022
|
+
location: string;
|
|
4023
|
+
imageRef?: string | null | undefined;
|
|
4024
|
+
reason?: string | null | undefined;
|
|
4025
|
+
} | undefined;
|
|
4026
|
+
}>, "many">;
|
|
4027
|
+
}, "strip", z.ZodTypeAny, {
|
|
4028
|
+
snapshots: {
|
|
4029
|
+
version: "1";
|
|
4030
|
+
run: {
|
|
4031
|
+
status: import("../../schemas/runEngine.js").TaskRunStatus;
|
|
4032
|
+
id: string;
|
|
4033
|
+
friendlyId: string;
|
|
4034
|
+
attemptNumber?: number | null | undefined;
|
|
4035
|
+
};
|
|
4036
|
+
snapshot: {
|
|
4037
|
+
id: string;
|
|
4038
|
+
createdAt: Date;
|
|
4039
|
+
description: string;
|
|
4040
|
+
friendlyId: string;
|
|
4041
|
+
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
4042
|
+
};
|
|
4043
|
+
completedWaitpoints: {
|
|
4044
|
+
type: import("../../schemas/runEngine.js").WaitpointType;
|
|
4045
|
+
id: string;
|
|
4046
|
+
completedAt: Date;
|
|
4047
|
+
friendlyId: string;
|
|
4048
|
+
outputIsError: boolean;
|
|
4049
|
+
idempotencyKey?: string | undefined;
|
|
4050
|
+
output?: string | undefined;
|
|
4051
|
+
outputType?: string | undefined;
|
|
4052
|
+
index?: number | undefined;
|
|
4053
|
+
completedByTaskRun?: {
|
|
4054
|
+
id: string;
|
|
4055
|
+
friendlyId: string;
|
|
4056
|
+
batch?: {
|
|
4057
|
+
id: string;
|
|
4058
|
+
friendlyId: string;
|
|
4059
|
+
} | undefined;
|
|
4060
|
+
} | undefined;
|
|
4061
|
+
completedAfter?: Date | undefined;
|
|
4062
|
+
completedByBatch?: {
|
|
4063
|
+
id: string;
|
|
4064
|
+
friendlyId: string;
|
|
4065
|
+
} | undefined;
|
|
4066
|
+
}[];
|
|
4067
|
+
batch?: {
|
|
4068
|
+
id: string;
|
|
4069
|
+
friendlyId: string;
|
|
4070
|
+
} | undefined;
|
|
4071
|
+
checkpoint?: {
|
|
4072
|
+
type: import("../../schemas/runEngine.js").CheckpointTypeEnum;
|
|
4073
|
+
id: string;
|
|
4074
|
+
friendlyId: string;
|
|
4075
|
+
location: string;
|
|
4076
|
+
imageRef?: string | null | undefined;
|
|
4077
|
+
reason?: string | null | undefined;
|
|
4078
|
+
} | undefined;
|
|
4079
|
+
}[];
|
|
4080
|
+
}, {
|
|
4081
|
+
snapshots: {
|
|
4082
|
+
version: "1";
|
|
4083
|
+
run: {
|
|
4084
|
+
status: import("../../schemas/runEngine.js").TaskRunStatus;
|
|
4085
|
+
id: string;
|
|
4086
|
+
friendlyId: string;
|
|
4087
|
+
attemptNumber?: number | null | undefined;
|
|
4088
|
+
};
|
|
4089
|
+
snapshot: {
|
|
4090
|
+
id: string;
|
|
4091
|
+
createdAt: Date;
|
|
4092
|
+
description: string;
|
|
4093
|
+
friendlyId: string;
|
|
4094
|
+
executionStatus: import("../../schemas/runEngine.js").TaskRunExecutionStatus;
|
|
4095
|
+
};
|
|
4096
|
+
completedWaitpoints: {
|
|
4097
|
+
type: import("../../schemas/runEngine.js").WaitpointType;
|
|
4098
|
+
id: string;
|
|
4099
|
+
completedAt: Date;
|
|
4100
|
+
friendlyId: string;
|
|
4101
|
+
outputIsError: boolean;
|
|
4102
|
+
idempotencyKey?: string | undefined;
|
|
4103
|
+
output?: string | undefined;
|
|
4104
|
+
outputType?: string | undefined;
|
|
4105
|
+
index?: number | undefined;
|
|
4106
|
+
completedByTaskRun?: {
|
|
4107
|
+
id: string;
|
|
4108
|
+
friendlyId: string;
|
|
4109
|
+
batch?: {
|
|
4110
|
+
id: string;
|
|
4111
|
+
friendlyId: string;
|
|
4112
|
+
} | undefined;
|
|
4113
|
+
} | undefined;
|
|
4114
|
+
completedAfter?: Date | undefined;
|
|
4115
|
+
completedByBatch?: {
|
|
4116
|
+
id: string;
|
|
4117
|
+
friendlyId: string;
|
|
4118
|
+
} | undefined;
|
|
4119
|
+
}[];
|
|
4120
|
+
batch?: {
|
|
4121
|
+
id: string;
|
|
4122
|
+
friendlyId: string;
|
|
4123
|
+
} | undefined;
|
|
4124
|
+
checkpoint?: {
|
|
4125
|
+
type: import("../../schemas/runEngine.js").CheckpointTypeEnum;
|
|
4126
|
+
id: string;
|
|
4127
|
+
friendlyId: string;
|
|
4128
|
+
location: string;
|
|
4129
|
+
imageRef?: string | null | undefined;
|
|
4130
|
+
reason?: string | null | undefined;
|
|
4131
|
+
} | undefined;
|
|
4132
|
+
}[];
|
|
4133
|
+
}>;
|
|
4134
|
+
export type WorkerApiRunSnapshotsSinceResponseBody = z.infer<typeof WorkerApiRunSnapshotsSinceResponseBody>;
|