@upstash/qstash 2.6.4-workflow-alpha.0 → 2.6.4-workflow-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -105
- package/dist/LICENSE +0 -21
- package/dist/README.md +0 -160
- package/dist/chunk-AP5AZGAQ.mjs +0 -1019
- package/dist/chunk-EXC7PGHF.mjs +0 -1540
- package/dist/chunk-F6QRAN74.js +0 -30
- package/dist/chunk-OAS6SVLB.js +0 -1540
- package/dist/chunk-TAUBWUPA.mjs +0 -30
- package/dist/chunk-Z3TALRVS.js +0 -1019
- package/dist/index.d.mts +0 -47
- package/dist/index.d.ts +0 -47
- package/dist/index.js +0 -38
- package/dist/index.mjs +0 -38
- package/dist/nextjs.d.mts +0 -28
- package/dist/nextjs.d.ts +0 -28
- package/dist/nextjs.js +0 -160
- package/dist/nextjs.mjs +0 -160
- package/dist/nuxt.d.mts +0 -22
- package/dist/nuxt.d.ts +0 -22
- package/dist/nuxt.js +0 -103
- package/dist/nuxt.mjs +0 -103
- package/dist/package.json +0 -105
- package/dist/solidjs.d.mts +0 -13
- package/dist/solidjs.d.ts +0 -13
- package/dist/solidjs.js +0 -64
- package/dist/solidjs.mjs +0 -64
- package/dist/svelte.d.mts +0 -13
- package/dist/svelte.d.ts +0 -13
- package/dist/svelte.js +0 -67
- package/dist/svelte.mjs +0 -67
- package/dist/types-BBuddmpw.d.mts +0 -1515
- package/dist/types-BBuddmpw.d.ts +0 -1515
- package/dist/workflow.d.mts +0 -15
- package/dist/workflow.d.ts +0 -15
- package/dist/workflow.js +0 -15
- package/dist/workflow.mjs +0 -15
package/dist/workflow.d.mts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { _ as WorkflowServeParameters } from './types-BBuddmpw.mjs';
|
|
2
|
-
export { a5 as AsyncStepFunction, a0 as DisabledWorkflowContext, aa as FinishCondition, ac as LogLevel, a7 as ParallelCallState, a3 as RawStep, a8 as RouteFunction, S as Step, a6 as StepFunction, a2 as StepType, a1 as StepTypes, a4 as SyncStepFunction, $ as WorkflowContext, ae as WorkflowLogger, ad as WorkflowLoggerOptions, ab as WorkflowServeOptions, a9 as WorkflowServeParametersExtended } from './types-BBuddmpw.mjs';
|
|
3
|
-
import 'neverthrow';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Creates an async method that handles incoming requests and runs the provided
|
|
7
|
-
* route function as a workflow.
|
|
8
|
-
*
|
|
9
|
-
* @param routeFunction - A function that uses WorkflowContext as a parameter and runs a workflow.
|
|
10
|
-
* @param options - Options including the client, onFinish callback, and initialPayloadParser.
|
|
11
|
-
* @returns An async method that consumes incoming requests and runs the workflow.
|
|
12
|
-
*/
|
|
13
|
-
declare const serve: <TInitialPayload = unknown, TRequest extends Request = Request, TResponse = Response>({ routeFunction, options, }: WorkflowServeParameters<TInitialPayload, TResponse>) => ((request: TRequest) => Promise<TResponse>);
|
|
14
|
-
|
|
15
|
-
export { WorkflowServeParameters, serve };
|
package/dist/workflow.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { _ as WorkflowServeParameters } from './types-BBuddmpw.js';
|
|
2
|
-
export { a5 as AsyncStepFunction, a0 as DisabledWorkflowContext, aa as FinishCondition, ac as LogLevel, a7 as ParallelCallState, a3 as RawStep, a8 as RouteFunction, S as Step, a6 as StepFunction, a2 as StepType, a1 as StepTypes, a4 as SyncStepFunction, $ as WorkflowContext, ae as WorkflowLogger, ad as WorkflowLoggerOptions, ab as WorkflowServeOptions, a9 as WorkflowServeParametersExtended } from './types-BBuddmpw.js';
|
|
3
|
-
import 'neverthrow';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Creates an async method that handles incoming requests and runs the provided
|
|
7
|
-
* route function as a workflow.
|
|
8
|
-
*
|
|
9
|
-
* @param routeFunction - A function that uses WorkflowContext as a parameter and runs a workflow.
|
|
10
|
-
* @param options - Options including the client, onFinish callback, and initialPayloadParser.
|
|
11
|
-
* @returns An async method that consumes incoming requests and runs the workflow.
|
|
12
|
-
*/
|
|
13
|
-
declare const serve: <TInitialPayload = unknown, TRequest extends Request = Request, TResponse = Response>({ routeFunction, options, }: WorkflowServeParameters<TInitialPayload, TResponse>) => ((request: TRequest) => Promise<TResponse>);
|
|
14
|
-
|
|
15
|
-
export { WorkflowServeParameters, serve };
|
package/dist/workflow.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _chunkOAS6SVLBjs = require('./chunk-OAS6SVLB.js');
|
|
8
|
-
require('./chunk-Z3TALRVS.js');
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
exports.DisabledWorkflowContext = _chunkOAS6SVLBjs.DisabledWorkflowContext; exports.StepTypes = _chunkOAS6SVLBjs.StepTypes; exports.WorkflowContext = _chunkOAS6SVLBjs.WorkflowContext; exports.WorkflowLogger = _chunkOAS6SVLBjs.WorkflowLogger; exports.serve = _chunkOAS6SVLBjs.serve;
|
package/dist/workflow.mjs
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DisabledWorkflowContext,
|
|
3
|
-
StepTypes,
|
|
4
|
-
WorkflowContext,
|
|
5
|
-
WorkflowLogger,
|
|
6
|
-
serve
|
|
7
|
-
} from "./chunk-EXC7PGHF.mjs";
|
|
8
|
-
import "./chunk-AP5AZGAQ.mjs";
|
|
9
|
-
export {
|
|
10
|
-
DisabledWorkflowContext,
|
|
11
|
-
StepTypes,
|
|
12
|
-
WorkflowContext,
|
|
13
|
-
WorkflowLogger,
|
|
14
|
-
serve
|
|
15
|
-
};
|