@dbos-inc/dbos-sdk 1.17.3-preview → 1.17.5-preview
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/dbos-executor.d.ts +15 -1
- package/dist/src/dbos-executor.d.ts.map +1 -1
- package/dist/src/dbos-executor.js +109 -2
- package/dist/src/dbos-executor.js.map +1 -1
- package/dist/src/dbos-runtime/cli.d.ts +1 -0
- package/dist/src/dbos-runtime/cli.d.ts.map +1 -1
- package/dist/src/dbos-runtime/cli.js +4 -0
- package/dist/src/dbos-runtime/cli.js.map +1 -1
- package/dist/src/dbos-runtime/config.d.ts +1 -0
- package/dist/src/dbos-runtime/config.d.ts.map +1 -1
- package/dist/src/dbos-runtime/config.js +11 -1
- package/dist/src/dbos-runtime/config.js.map +1 -1
- package/dist/src/debugger/debug_workflow.d.ts +5 -1
- package/dist/src/debugger/debug_workflow.d.ts.map +1 -1
- package/dist/src/debugger/debug_workflow.js +83 -13
- package/dist/src/debugger/debug_workflow.js.map +1 -1
- package/dist/src/decorators.d.ts +4 -0
- package/dist/src/decorators.d.ts.map +1 -1
- package/dist/src/decorators.js +11 -1
- package/dist/src/decorators.js.map +1 -1
- package/dist/src/httpServer/handler.d.ts.map +1 -1
- package/dist/src/httpServer/handler.js +6 -1
- package/dist/src/httpServer/handler.js.map +1 -1
- package/dist/src/index.d.ts +2 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +2 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/procedure.d.ts +29 -0
- package/dist/src/procedure.d.ts.map +1 -0
- package/dist/src/procedure.js +17 -0
- package/dist/src/procedure.js.map +1 -0
- package/dist/src/testing/testing_runtime.d.ts.map +1 -1
- package/dist/src/testing/testing_runtime.js +3 -1
- package/dist/src/testing/testing_runtime.js.map +1 -1
- package/dist/src/user_database.d.ts +1 -0
- package/dist/src/user_database.d.ts.map +1 -1
- package/dist/src/user_database.js +13 -1
- package/dist/src/user_database.js.map +1 -1
- package/dist/src/workflow.d.ts +16 -27
- package/dist/src/workflow.d.ts.map +1 -1
- package/dist/src/workflow.js +222 -20
- package/dist/src/workflow.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -1
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.StoredProcedureContextImpl = void 0;
|
4
|
+
const context_1 = require("./context");
|
5
|
+
class StoredProcedureContextImpl extends context_1.DBOSContextImpl {
|
6
|
+
client;
|
7
|
+
constructor(client, workflowContext, span, logger, operationName) {
|
8
|
+
super(operationName, span, logger, workflowContext);
|
9
|
+
this.client = client;
|
10
|
+
}
|
11
|
+
async query(sql, params) {
|
12
|
+
const { rowCount, rows } = await this.client.query(sql, params);
|
13
|
+
return { rowCount: rowCount ?? rows.length, rows };
|
14
|
+
}
|
15
|
+
}
|
16
|
+
exports.StoredProcedureContextImpl = StoredProcedureContextImpl;
|
17
|
+
//# sourceMappingURL=procedure.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"procedure.js","sourceRoot":"","sources":["../../src/procedure.ts"],"names":[],"mappings":";;;AAAA,uCAAyD;AA+BzD,MAAa,0BAA2B,SAAQ,yBAAe;IAElD;IADX,YACW,MAAkB,EAC3B,eAA2D,EAC3D,IAAU,EACV,MAAc,EACd,aAAqB;QAErB,KAAK,CAAC,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,eAAe,CAAC,CAAC;QAN3C,WAAM,GAAN,MAAM,CAAY;IAO7B,CAAC;IACD,KAAK,CAAC,KAAK,CAA2B,GAAW,EAAE,MAAiB;QAClE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAI,GAAG,EAAE,MAAM,CAAC,CAAC;QACnE,OAAO,EAAE,QAAQ,EAAE,QAAQ,IAAI,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC;IACrD,CAAC;CACF;AAdD,gEAcC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"testing_runtime.d.ts","sourceRoot":"","sources":["../../../src/testing/testing_runtime.ts"],"names":[],"mappings":";;;AACA,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAmB,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAA2B,MAAM,eAAe,CAAC;AAE5E,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,WAAW,EAAE,eAAe,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE9J,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG5D,OAAO,EAAY,cAAc,EAAkB,MAAM,aAAa,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;
|
1
|
+
{"version":3,"file":"testing_runtime.d.ts","sourceRoot":"","sources":["../../../src/testing/testing_runtime.ts"],"names":[],"mappings":";;;AACA,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAmB,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAA2B,MAAM,eAAe,CAAC;AAE5E,OAAO,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,WAAW,EAAE,eAAe,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE9J,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG5D,OAAO,EAAY,cAAc,EAAkB,MAAM,aAAa,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MA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.registeredFunction, wfParams, ...args)
|
116
|
-
:
|
116
|
+
: op.procConfig
|
117
|
+
? (...args) => dbosExec.procedure(op.registeredFunction, wfParams, ...args)
|
118
|
+
: undefined;
|
117
119
|
}
|
118
120
|
else {
|
119
121
|
proxy[op.name] = op.workflowConfig
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"testing_runtime.js","sourceRoot":"","sources":["../../../src/testing/testing_runtime.ts"],"names":[],"mappings":";;;AAGA,wCAA0D;AAC1D,8CAA4E;AAC5E,oCAA6D;AAE7D,iDAAsD;AACtD,oDAA4D;AAC5D,mDAA6E;AAM7E,mCAAkC;AAClC,2BAA4B;AAC5B,sDAAuD;
|
1
|
+
{"version":3,"file":"testing_runtime.js","sourceRoot":"","sources":["../../../src/testing/testing_runtime.ts"],"names":[],"mappings":";;;AAGA,wCAA0D;AAC1D,8CAA4E;AAC5E,oCAA6D;AAE7D,iDAAsD;AACtD,oDAA4D;AAC5D,mDAA6E;AAM7E,mCAAkC;AAClC,2BAA4B;AAC5B,sDAAuD;AAGvD;;GAEG;AACI,KAAK,UAAU,oBAAoB,CAAC,cAAoC,SAAS,EAAE,iBAAyB,2BAAkB,EAAE,YAAqB,IAAI;IAC9J,MAAM,CAAC,UAAU,CAAC,GAAG,IAAA,wBAAe,EAAC,EAAE,UAAU,EAAE,cAAc,EAAE,CAAC,CAAC;IAErE,IAAI,SAAS,EAAE,CAAC;QACd,gFAAgF;QAChF,MAAM,cAAc,GAAG,IAAI,WAAM,CAAC;YAChC,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC,IAAI;YAChC,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC,IAAI;YAChC,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC,IAAI;YAChC,QAAQ,EAAE,UAAU,CAAC,UAAU,CAAC,QAAQ;YACxC,QAAQ,EAAE,UAAU,CAAC,UAAU,CAAC,QAAQ;SACzC,CAAC,CAAC;QACH,MAAM,cAAc,CAAC,OAAO,EAAE,CA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F,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,IAAI,CAAC,eAAe,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,CAAC,CAAC;IAClF,CAAC;IAED,KAAK,CAAC,QAAQ,CAAI,YAAoB,EAAE,GAAW,EAAE,iBAAyB,4BAAY,CAAC,6BAA6B;QACtH,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,YAAY,EAAE,GAAG,EAAE,cAAc,CAAC,CAAC;IACxE,CAAC;IAED,gBAAgB,CAAI,YAAoB;QACtC,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC;IAC3D,CAAC;IAED,KAAK,CAAC,WAAW,CAAI,GAAW,EAAE,GAAG,MAAa;QAChD,iEAAiE;QACjE,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,GAAG,EAAE,GAAG,MAAM,CAAC,CAAC;IAC/D,CAAC;IAED,KAAK,CAAC,gBAAgB;QACpB,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,YAAY,CAAC,YAAY,EAAE,CAAC;IACxD,CAAC;IAED,cAAc;QACZ,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,YAAY,CAAC,UAAU,EAAE,CAAC;IACtD,CAAC;IAED;;OAEG;IACH,WAAW;QACT,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;YAClB,MAAM,IAAI,iBAAS,CAAC,qEAAqE,CAAC,CAAC;QAC7F,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC;IAC/B,CAAC;CACF;AAtLD,gDAsLC"}
|
@@ -28,6 +28,7 @@ export type UserDatabaseName = ValuesOf<typeof UserDatabaseName>;
|
|
28
28
|
export declare const schemaExistsQuery = "SELECT EXISTS (SELECT FROM information_schema.schemata WHERE schema_name = 'dbos')";
|
29
29
|
export declare const txnOutputTableExistsQuery = "SELECT EXISTS (SELECT FROM information_schema.tables WHERE table_schema = 'dbos' AND table_name = 'transaction_outputs')";
|
30
30
|
export declare const txnOutputIndexExistsQuery = "SELECT EXISTS (SELECT FROM pg_indexes WHERE schemaname='dbos' AND tablename = 'transaction_outputs' AND indexname = 'transaction_outputs_created_at_index')";
|
31
|
+
export declare function pgNodeIsKeyConflictError(error: unknown): boolean;
|
31
32
|
/**
|
32
33
|
* node-postgres user data access interface
|
33
34
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"user_database.d.ts","sourceRoot":"","sources":["../../src/user_database.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAoD,MAAM,IAAI,CAAC;AAEpG,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,SAAS,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACzC,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzB,OAAO,IAAI,gBAAgB,CAAC;IAG5B,WAAW,CAAC,CAAC,EAAE,CAAC,SAAS,OAAO,EAAE,EAAE,mBAAmB,EAAE,uBAAuB,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,iBAAiB,EAAE,GAAG,IAAI,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IAE3I,aAAa,CAAC,CAAC,SAAS,kBAAkB,EAAE,CAAC,EAAE,CAAC,SAAS,OAAO,EAAE,EAAE,aAAa,EAAE,iBAAiB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,MAAM,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IAEzI,KAAK,CAAC,CAAC,EAAE,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O,CAAC,CAAC,EAAE,CAAC;IAItE,eAAe,CAAC,CAAC,EAAE,CAAC,SAAS,OAAO,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC;IASrG,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI;IAKnD,2BAA2B,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;IAIpD,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;IAKrC,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAI7B,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;CAGlC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.KnexUserDatabase = exports.TypeORMDatabase = exports.PrismaUserDatabase = exports.PGNodeUserDatabase = exports.txnOutputIndexExistsQuery = exports.txnOutputTableExistsQuery = exports.schemaExistsQuery = exports.UserDatabaseName = void 0;
|
3
|
+
exports.KnexUserDatabase = exports.TypeORMDatabase = exports.PrismaUserDatabase = exports.PGNodeUserDatabase = exports.pgNodeIsKeyConflictError = exports.txnOutputIndexExistsQuery = exports.txnOutputTableExistsQuery = exports.schemaExistsQuery = exports.UserDatabaseName = void 0;
|
4
4
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
5
5
|
const pg_1 = require("pg");
|
6
6
|
const user_db_schema_1 = require("../schemas/user_db_schema");
|
@@ -14,6 +14,18 @@ exports.UserDatabaseName = {
|
|
14
14
|
exports.schemaExistsQuery = `SELECT EXISTS (SELECT FROM information_schema.schemata WHERE schema_name = 'dbos')`;
|
15
15
|
exports.txnOutputTableExistsQuery = `SELECT EXISTS (SELECT FROM information_schema.tables WHERE table_schema = 'dbos' AND table_name = 'transaction_outputs')`;
|
16
16
|
exports.txnOutputIndexExistsQuery = `SELECT EXISTS (SELECT FROM pg_indexes WHERE schemaname='dbos' AND tablename = 'transaction_outputs' AND indexname = 'transaction_outputs_created_at_index')`;
|
17
|
+
function pgNodeIsKeyConflictError(error) {
|
18
|
+
if (!(error instanceof pg_1.DatabaseError)) {
|
19
|
+
return false;
|
20
|
+
}
|
21
|
+
const pge = getPostgresErrorCode(error);
|
22
|
+
return pge === "23505";
|
23
|
+
function getPostgresErrorCode(error) {
|
24
|
+
const dbErr = error;
|
25
|
+
return dbErr.code ? dbErr.code : null;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
exports.pgNodeIsKeyConflictError = pgNodeIsKeyConflictError;
|
17
29
|
/**
|
18
30
|
* node-postgres user data access interface
|
19
31
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"user_database.js","sourceRoot":"","sources":["../../src/user_database.ts"],"names":[],"mappings":";;;AAAA,uDAAuD;AACvD,2BAAoG;AACpG,8DAA0F;AAC1F,+CAAkE;AAmCrD,QAAA,gBAAgB,GAAG;IAC9B,MAAM,EAAE,SAAS;IACjB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;CACJ,CAAC;AAGE,QAAA,iBAAiB,GAAG,oFAAoF,CAAC;AACzG,QAAA,yBAAyB,GAAG,0HAA0H,CAAC;AACvJ,QAAA,yBAAyB,GAAG,6JAA6J,CAAC;AAMvM;;GAEG;AACH,MAAa,kBAAkB;IAGR;IAFZ,IAAI,CAAO;IAEpB,YAAqB,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;QACzC,IAAI,CAAC,IAAI,GAAG,IAAI,SAAI,CAAC,UAAU,CAAC,CAAC;IACnC,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,YAAqB,KAAK;QACnC,IAAI,CAAC,SAAS,EAAE,CAAC;YACf,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,KAAK,CAAiB,yBAAiB,CAAC,CAAC;YAC9E,IAAI,CAA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;IAED,2BAA2B,CAAC,KAAc;QACxC,OAAO,IAAI,CAAC,oBAAoB,CAAC,KAAK,CAAC,KAAK,OAAO,CAAC;IACtD,CAAC;IAED,kBAAkB,CAAC,KAAc;QAC/B,MAAM,GAAG,GAAG,IAAI,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC;QAC7C,OAAO,GAAG,KAAK,OAAO,CAAC;IACzB,CAAC;IAED,KAAK,CAAC,YAAY;QAChB,OAAO,OAAO,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,wDAAwD,CAAC,CAAC,CAAC;IAC7F,CAAC;IAED,KAAK,CAAC,UAAU;QACd,OAAO,OAAO,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAC,CAAC;IAC3F,CAAC;CACF;AA7FD,4CA6FC"}
|
package/dist/src/workflow.d.ts
CHANGED
@@ -5,17 +5,20 @@ import { SystemDatabase } from "./system_database";
|
|
5
5
|
import { UserDatabaseClient } from "./user_database";
|
6
6
|
import { HTTPRequest, DBOSContext, DBOSContextImpl } from './context';
|
7
7
|
import { ConfiguredInstance } from "./decorators";
|
8
|
+
import { StoredProcedure, StoredProcedureContext } from "./procedure";
|
8
9
|
import { InvokeFuncsInst } from "./httpServer/handler";
|
10
|
+
import { PoolClient } from "pg";
|
9
11
|
export type Workflow<T extends unknown[], R> = (ctxt: WorkflowContext, ...args: T) => Promise<R>;
|
10
12
|
export type WorkflowFunction<T extends unknown[], R> = Workflow<T, R>;
|
11
13
|
export type TailParameters<T extends (arg: any, args: any[]) => any> = T extends (arg: any, ...args: infer P) => any ? P : never;
|
12
14
|
type TxFunc = (ctxt: TransactionContext<any>, ...args: any[]) => Promise<any>;
|
13
15
|
type CommFunc = (ctxt: CommunicatorContext, ...args: any[]) => Promise<any>;
|
16
|
+
type ProcFunc = (ctxt: StoredProcedureContext, ...args: any[]) => Promise<any>;
|
14
17
|
export type WFInvokeFuncs<T> = T extends ConfiguredInstance ? never : {
|
15
|
-
[P in keyof T as T[P] extends TxFunc | CommFunc ? P : never]: T[P] extends TxFunc | CommFunc ? (...args: TailParameters<T[P]>) => ReturnType<T[P]> : never;
|
18
|
+
[P in keyof T as T[P] extends TxFunc | CommFunc | ProcFunc ? P : never]: T[P] extends TxFunc | CommFunc | ProcFunc ? (...args: TailParameters<T[P]>) => ReturnType<T[P]> : never;
|
16
19
|
};
|
17
20
|
export type WFInvokeFuncsInst<T> = T extends ConfiguredInstance ? {
|
18
|
-
[P in keyof T as T[P] extends TxFunc | CommFunc ? P : never]: T[P] extends TxFunc | CommFunc ? (...args: TailParameters<T[P]>) => ReturnType<T[P]> : never;
|
21
|
+
[P in keyof T as T[P] extends TxFunc | CommFunc | ProcFunc ? P : never]: T[P] extends TxFunc | CommFunc | ProcFunc ? (...args: TailParameters<T[P]>) => ReturnType<T[P]> : never;
|
19
22
|
} : never;
|
20
23
|
export interface WorkflowParams {
|
21
24
|
workflowUUID?: string;
|
@@ -107,34 +110,19 @@ export declare class WorkflowContextImpl extends DBOSContextImpl implements Work
|
|
107
110
|
readonly resultBuffer: Map<number, BufferedResult>;
|
108
111
|
readonly isTempWorkflow: boolean;
|
109
112
|
readonly maxRecoveryAttempts: number;
|
110
|
-
constructor(dbosExec: DBOSExecutor, parentCtx: DBOSContextImpl | undefined, workflowUUID: string, workflowConfig: WorkflowConfig, workflowName: string, presetUUID: boolean, tempWfOperationType?: string, // "transaction", "external", or "send"
|
113
|
+
constructor(dbosExec: DBOSExecutor, parentCtx: DBOSContextImpl | undefined, workflowUUID: string, workflowConfig: WorkflowConfig, workflowName: string, presetUUID: boolean, tempWfOperationType?: string, // "transaction", "procedure", "external", or "send"
|
111
114
|
tempWfOperationName?: string);
|
112
115
|
functionIDGetIncrement(): number;
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
/**
|
118
|
-
* Check if an operation has already executed in a workflow.
|
119
|
-
* If it previously executed successfully, return its output.
|
120
|
-
* If it previously executed and threw an error, throw that error.
|
121
|
-
* Otherwise, return DBOSNull.
|
122
|
-
* Also return the transaction snapshot information of this current transaction.
|
123
|
-
*/
|
124
|
-
checkExecution<R>(client: UserDatabaseClient, funcID: number): Promise<BufferedResult>;
|
125
|
-
/**
|
126
|
-
* Write all entries in the workflow result buffer to the database.
|
127
|
-
* If it encounters a primary key error, this indicates a concurrent execution with the same UUID, so throw an DBOSError.
|
128
|
-
*/
|
116
|
+
retrieveTxSnapshot(client: UserDatabaseClient): Promise<string>;
|
117
|
+
retrieveProcSnapshot(client: PoolClient): Promise<string>;
|
118
|
+
checkTxExecution<R>(client: UserDatabaseClient, funcID: number): Promise<BufferedResult>;
|
119
|
+
checkProcExecution<R>(client: PoolClient, funcID: number): Promise<BufferedResult>;
|
129
120
|
flushResultBuffer(client: UserDatabaseClient): Promise<void>;
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
* Record an error in an operation to the database.
|
136
|
-
*/
|
137
|
-
recordError(client: UserDatabaseClient, funcID: number, txnSnapshot: string, err: Error): Promise<void>;
|
121
|
+
flushResultBufferProc(client: PoolClient): Promise<void>;
|
122
|
+
recordOutputTx<R>(client: UserDatabaseClient, funcID: number, txnSnapshot: string, output: R): Promise<string>;
|
123
|
+
recordOutputProc<R>(client: PoolClient, funcID: number, txnSnapshot: string, output: R): Promise<string>;
|
124
|
+
recordErrorTx(client: UserDatabaseClient, funcID: number, txnSnapshot: string, err: Error): Promise<void>;
|
125
|
+
recordErrorProc(client: PoolClient, funcID: number, txnSnapshot: string, err: Error): Promise<void>;
|
138
126
|
/**
|
139
127
|
* Invoke another workflow as its child workflow and return a workflow handle.
|
140
128
|
* The child workflow is guaranteed to be executed exactly once, even if the workflow is retried with the same UUID.
|
@@ -151,6 +139,7 @@ export declare class WorkflowContextImpl extends DBOSContextImpl implements Work
|
|
151
139
|
startWorkflow<T extends object>(target: T, workflowUUID?: string): WfInvokeWfsAsync<T>;
|
152
140
|
invokeWorkflow<T extends object>(target: T, workflowUUID?: string): WfInvokeWfs<T>;
|
153
141
|
childWorkflow<T extends unknown[], R>(wf: Workflow<T, R>, ...args: T): Promise<WorkflowHandle<R>>;
|
142
|
+
procedure<R>(proc: StoredProcedure<R>, ...args: unknown[]): Promise<R>;
|
154
143
|
/**
|
155
144
|
* Execute a transactional function.
|
156
145
|
* The transaction is guaranteed to execute exactly once, even if the workflow is retried with the same UUID.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../../src/workflow.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAqC,MAAM,iBAAiB,CAAC;AAElF,OAAO,EAAkB,WAAW,EAAE,kBAAkB,EAA0B,MAAM,eAAe,CAAC;AACxG,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAA2B,MAAM,gBAAgB,CAAC;AAI5F,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAGrD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAA2B,MAAM,cAAc,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,OAAO,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,eAAe,EAAE,GAAG,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;AACjG,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,OAAO,EAAE,EAAE,CAAC,IAAI,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAGtE,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,GAAG,E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