@dbos-inc/dbos-sdk 1.17.6-preview → 1.17.9-preview.gd599062cfb
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/context.d.ts +0 -3
- package/dist/src/context.d.ts.map +1 -1
- package/dist/src/data_validation.js +1 -2
- package/dist/src/data_validation.js.map +1 -1
- package/dist/src/dbos-executor.d.ts +0 -1
- package/dist/src/dbos-executor.d.ts.map +1 -1
- package/dist/src/dbos-runtime/cli.js +1 -2
- package/dist/src/dbos-runtime/cli.js.map +1 -1
- package/dist/src/dbos-runtime/config.js +6 -6
- package/dist/src/dbos-runtime/config.js.map +1 -1
- package/dist/src/dbos-runtime/configure.js +1 -2
- package/dist/src/dbos-runtime/configure.js.map +1 -1
- package/dist/src/dbos-runtime/debug.js +1 -2
- package/dist/src/dbos-runtime/debug.js.map +1 -1
- package/dist/src/dbos-runtime/migrate.js +3 -4
- package/dist/src/dbos-runtime/migrate.js.map +1 -1
- package/dist/src/dbos-runtime/workflow_management.js +4 -5
- package/dist/src/dbos-runtime/workflow_management.js.map +1 -1
- package/dist/src/decorators.d.ts +6 -2
- package/dist/src/decorators.d.ts.map +1 -1
- package/dist/src/decorators.js +30 -30
- package/dist/src/decorators.js.map +1 -1
- package/dist/src/error.d.ts +1 -1
- package/dist/src/error.d.ts.map +1 -1
- package/dist/src/error.js +2 -2
- package/dist/src/error.js.map +1 -1
- package/dist/src/httpServer/handler.d.ts.map +1 -1
- package/dist/src/httpServer/handler.js +7 -7
- package/dist/src/httpServer/handler.js.map +1 -1
- package/dist/src/httpServer/middleware.d.ts +15 -5
- package/dist/src/httpServer/middleware.d.ts.map +1 -1
- package/dist/src/httpServer/middleware.js +6 -6
- package/dist/src/httpServer/middleware.js.map +1 -1
- package/dist/src/httpServer/server.d.ts +0 -3
- package/dist/src/httpServer/server.d.ts.map +1 -1
- package/dist/src/kafka/kafka.d.ts +3 -1
- package/dist/src/kafka/kafka.d.ts.map +1 -1
- package/dist/src/kafka/kafka.js +3 -3
- package/dist/src/kafka/kafka.js.map +1 -1
- package/dist/src/scheduler/crontab.js +4 -4
- package/dist/src/scheduler/crontab.js.map +1 -1
- package/dist/src/scheduler/scheduler.d.ts.map +1 -1
- package/dist/src/scheduler/scheduler.js +2 -2
- package/dist/src/scheduler/scheduler.js.map +1 -1
- package/dist/src/system_database.js +2 -2
- package/dist/src/system_database.js.map +1 -1
- package/dist/src/telemetry/collector.d.ts.map +1 -1
- package/dist/src/telemetry/index.js +2 -3
- package/dist/src/telemetry/index.js.map +1 -1
- package/dist/src/telemetry/logs.d.ts.map +1 -1
- package/dist/src/testing/testing_runtime.d.ts +2 -5
- package/dist/src/testing/testing_runtime.d.ts.map +1 -1
- package/dist/src/testing/testing_runtime.js +3 -3
- package/dist/src/testing/testing_runtime.js.map +1 -1
- package/dist/src/user_database.js +2 -2
- package/dist/src/user_database.js.map +1 -1
- package/dist/src/utils.d.ts +0 -1
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/src/utils.js +6 -6
- package/dist/src/utils.js.map +1 -1
- package/dist/src/workflow.d.ts.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/decorators.js
CHANGED
@@ -23,7 +23,36 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
23
|
return result;
|
24
24
|
};
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
26
|
-
exports.
|
26
|
+
exports.ClassRegistration = exports.ConfiguredInstance = exports.MethodRegistration = exports.MethodParameter = exports.ArgRequiredOptions = exports.LogMasks = exports.DBOSDataType = void 0;
|
27
|
+
exports.getRegisteredMethodClassName = getRegisteredMethodClassName;
|
28
|
+
exports.getRegisteredMethodName = getRegisteredMethodName;
|
29
|
+
exports.getRegisteredOperations = getRegisteredOperations;
|
30
|
+
exports.getConfiguredInstance = getConfiguredInstance;
|
31
|
+
exports.getOrCreateMethodArgsRegistration = getOrCreateMethodArgsRegistration;
|
32
|
+
exports.registerAndWrapFunction = registerAndWrapFunction;
|
33
|
+
exports.getAllRegisteredClasses = getAllRegisteredClasses;
|
34
|
+
exports.getOrCreateClassRegistration = getOrCreateClassRegistration;
|
35
|
+
exports.associateClassWithEventReceiver = associateClassWithEventReceiver;
|
36
|
+
exports.associateMethodWithEventReceiver = associateMethodWithEventReceiver;
|
37
|
+
exports.ArgRequired = ArgRequired;
|
38
|
+
exports.ArgOptional = ArgOptional;
|
39
|
+
exports.SkipLogging = SkipLogging;
|
40
|
+
exports.LogMask = LogMask;
|
41
|
+
exports.ArgName = ArgName;
|
42
|
+
exports.ArgDate = ArgDate;
|
43
|
+
exports.ArgVarchar = ArgVarchar;
|
44
|
+
exports.DefaultRequiredRole = DefaultRequiredRole;
|
45
|
+
exports.DefaultArgRequired = DefaultArgRequired;
|
46
|
+
exports.DefaultArgOptional = DefaultArgOptional;
|
47
|
+
exports.configureInstance = configureInstance;
|
48
|
+
exports.RequiredRole = RequiredRole;
|
49
|
+
exports.Workflow = Workflow;
|
50
|
+
exports.Transaction = Transaction;
|
51
|
+
exports.StoredProcedure = StoredProcedure;
|
52
|
+
exports.Communicator = Communicator;
|
53
|
+
exports.OrmEntities = OrmEntities;
|
54
|
+
exports.DBOSInitializer = DBOSInitializer;
|
55
|
+
exports.DBOSDeploy = DBOSDeploy;
|
27
56
|
require("reflect-metadata");
|
28
57
|
const crypto = __importStar(require("crypto"));
|
29
58
|
const error_1 = require("./error");
|
@@ -193,7 +222,6 @@ function getRegisteredMethodClassName(func) {
|
|
193
222
|
}
|
194
223
|
return rv;
|
195
224
|
}
|
196
|
-
exports.getRegisteredMethodClassName = getRegisteredMethodClassName;
|
197
225
|
function getRegisteredMethodName(func) {
|
198
226
|
let rv = "";
|
199
227
|
if (methodToRegistration.has(func)) {
|
@@ -201,7 +229,6 @@ function getRegisteredMethodName(func) {
|
|
201
229
|
}
|
202
230
|
return rv;
|
203
231
|
}
|
204
|
-
exports.getRegisteredMethodName = getRegisteredMethodName;
|
205
232
|
function getRegisteredOperations(target) {
|
206
233
|
const registeredOperations = [];
|
207
234
|
if (typeof target === 'function') { // Constructor case
|
@@ -220,14 +247,12 @@ function getRegisteredOperations(target) {
|
|
220
247
|
}
|
221
248
|
return registeredOperations;
|
222
249
|
}
|
223
|
-
exports.getRegisteredOperations = getRegisteredOperations;
|
224
250
|
function getConfiguredInstance(clsname, cfgname) {
|
225
251
|
const classReg = classesByName.get(clsname);
|
226
252
|
if (!classReg)
|
227
253
|
return null;
|
228
254
|
return classReg.configuredInstances.get(cfgname) ?? null;
|
229
255
|
}
|
230
|
-
exports.getConfiguredInstance = getConfiguredInstance;
|
231
256
|
////////////////////////////////////////////////////////////////////////////////
|
232
257
|
// DECORATOR REGISTRATION
|
233
258
|
// These manage registration objects, creating them at decorator evaluation time
|
@@ -248,7 +273,6 @@ function getOrCreateMethodArgsRegistration(target, propertyKey) {
|
|
248
273
|
}
|
249
274
|
return mParameters;
|
250
275
|
}
|
251
|
-
exports.getOrCreateMethodArgsRegistration = getOrCreateMethodArgsRegistration;
|
252
276
|
function generateSaltedHash(data, salt) {
|
253
277
|
const hash = crypto.createHash("sha256"); // You can use other algorithms like 'md5', 'sha512', etc.
|
254
278
|
hash.update(data + salt);
|
@@ -361,7 +385,6 @@ function registerAndWrapFunction(target, propertyKey, descriptor) {
|
|
361
385
|
const registration = getOrCreateMethodRegistration(target, propertyKey, descriptor);
|
362
386
|
return { descriptor, registration };
|
363
387
|
}
|
364
|
-
exports.registerAndWrapFunction = registerAndWrapFunction;
|
365
388
|
const classesByName = new Map();
|
366
389
|
function getAllRegisteredClasses() {
|
367
390
|
const ctors = [];
|
@@ -370,7 +393,6 @@ function getAllRegisteredClasses() {
|
|
370
393
|
}
|
371
394
|
return ctors;
|
372
395
|
}
|
373
|
-
exports.getAllRegisteredClasses = getAllRegisteredClasses;
|
374
396
|
function getOrCreateClassRegistration(ctor) {
|
375
397
|
const name = ctor.name;
|
376
398
|
if (!classesByName.has(name)) {
|
@@ -383,7 +405,6 @@ function getOrCreateClassRegistration(ctor) {
|
|
383
405
|
}
|
384
406
|
return clsReg;
|
385
407
|
}
|
386
|
-
exports.getOrCreateClassRegistration = getOrCreateClassRegistration;
|
387
408
|
function associateClassWithEventReceiver(rcvr, ctor) {
|
388
409
|
const clsReg = getOrCreateClassRegistration(ctor);
|
389
410
|
if (!clsReg.eventReceiverInfo.has(rcvr)) {
|
@@ -391,7 +412,6 @@ function associateClassWithEventReceiver(rcvr, ctor) {
|
|
391
412
|
}
|
392
413
|
return clsReg.eventReceiverInfo.get(rcvr);
|
393
414
|
}
|
394
|
-
exports.associateClassWithEventReceiver = associateClassWithEventReceiver;
|
395
415
|
function associateMethodWithEventReceiver(rcvr, target, propertyKey, inDescriptor) {
|
396
416
|
const { descriptor, registration } = registerAndWrapFunction(target, propertyKey, inDescriptor);
|
397
417
|
if (!registration.eventReceiverInfo.has(rcvr)) {
|
@@ -399,7 +419,6 @@ function associateMethodWithEventReceiver(rcvr, target, propertyKey, inDescripto
|
|
399
419
|
}
|
400
420
|
return { descriptor, registration, receiverInfo: registration.eventReceiverInfo.get(rcvr) };
|
401
421
|
}
|
402
|
-
exports.associateMethodWithEventReceiver = associateMethodWithEventReceiver;
|
403
422
|
//////////////////////////
|
404
423
|
/* PARAMETER DECORATORS */
|
405
424
|
//////////////////////////
|
@@ -408,19 +427,16 @@ function ArgRequired(target, propertyKey, parameterIndex) {
|
|
408
427
|
const curParam = existingParameters[parameterIndex];
|
409
428
|
curParam.required = ArgRequiredOptions.REQUIRED;
|
410
429
|
}
|
411
|
-
exports.ArgRequired = ArgRequired;
|
412
430
|
function ArgOptional(target, propertyKey, parameterIndex) {
|
413
431
|
const existingParameters = getOrCreateMethodArgsRegistration(target, propertyKey);
|
414
432
|
const curParam = existingParameters[parameterIndex];
|
415
433
|
curParam.required = ArgRequiredOptions.OPTIONAL;
|
416
434
|
}
|
417
|
-
exports.ArgOptional = ArgOptional;
|
418
435
|
function SkipLogging(target, propertyKey, parameterIndex) {
|
419
436
|
const existingParameters = getOrCreateMethodArgsRegistration(target, propertyKey);
|
420
437
|
const curParam = existingParameters[parameterIndex];
|
421
438
|
curParam.logMask = LogMasks.SKIP;
|
422
439
|
}
|
423
|
-
exports.SkipLogging = SkipLogging;
|
424
440
|
function LogMask(mask) {
|
425
441
|
return function (target, propertyKey, parameterIndex) {
|
426
442
|
const existingParameters = getOrCreateMethodArgsRegistration(target, propertyKey);
|
@@ -428,7 +444,6 @@ function LogMask(mask) {
|
|
428
444
|
curParam.logMask = mask;
|
429
445
|
};
|
430
446
|
}
|
431
|
-
exports.LogMask = LogMask;
|
432
447
|
function ArgName(name) {
|
433
448
|
return function (target, propertyKey, parameterIndex) {
|
434
449
|
const existingParameters = getOrCreateMethodArgsRegistration(target, propertyKey);
|
@@ -436,7 +451,6 @@ function ArgName(name) {
|
|
436
451
|
curParam.name = name;
|
437
452
|
};
|
438
453
|
}
|
439
|
-
exports.ArgName = ArgName;
|
440
454
|
function ArgDate() {
|
441
455
|
return function (target, propertyKey, parameterIndex) {
|
442
456
|
const existingParameters = getOrCreateMethodArgsRegistration(target, propertyKey);
|
@@ -444,7 +458,6 @@ function ArgDate() {
|
|
444
458
|
curParam.dataType.dataType = 'timestamp';
|
445
459
|
};
|
446
460
|
}
|
447
|
-
exports.ArgDate = ArgDate;
|
448
461
|
function ArgVarchar(length) {
|
449
462
|
return function (target, propertyKey, parameterIndex) {
|
450
463
|
const existingParameters = getOrCreateMethodArgsRegistration(target, propertyKey);
|
@@ -452,7 +465,6 @@ function ArgVarchar(length) {
|
|
452
465
|
curParam.dataType = DBOSDataType.varchar(length);
|
453
466
|
};
|
454
467
|
}
|
455
|
-
exports.ArgVarchar = ArgVarchar;
|
456
468
|
///////////////////////
|
457
469
|
/* CLASS DECORATORS */
|
458
470
|
///////////////////////
|
@@ -463,17 +475,14 @@ function DefaultRequiredRole(anyOf) {
|
|
463
475
|
}
|
464
476
|
return clsdec;
|
465
477
|
}
|
466
|
-
exports.DefaultRequiredRole = DefaultRequiredRole;
|
467
478
|
function DefaultArgRequired(ctor) {
|
468
479
|
const clsreg = getOrCreateClassRegistration(ctor);
|
469
480
|
clsreg.defaultArgRequired = ArgRequiredOptions.REQUIRED;
|
470
481
|
}
|
471
|
-
exports.DefaultArgRequired = DefaultArgRequired;
|
472
482
|
function DefaultArgOptional(ctor) {
|
473
483
|
const clsreg = getOrCreateClassRegistration(ctor);
|
474
484
|
clsreg.defaultArgRequired = ArgRequiredOptions.OPTIONAL;
|
475
485
|
}
|
476
|
-
exports.DefaultArgOptional = DefaultArgOptional;
|
477
486
|
function configureInstance(cls, name, ...args) {
|
478
487
|
const inst = new cls(name, ...args);
|
479
488
|
const creg = getOrCreateClassRegistration(cls);
|
@@ -483,7 +492,6 @@ function configureInstance(cls, name, ...args) {
|
|
483
492
|
creg.configuredInstances.set(name, inst);
|
484
493
|
return inst;
|
485
494
|
}
|
486
|
-
exports.configureInstance = configureInstance;
|
487
495
|
///////////////////////
|
488
496
|
/* METHOD DECORATORS */
|
489
497
|
///////////////////////
|
@@ -495,7 +503,6 @@ function RequiredRole(anyOf) {
|
|
495
503
|
}
|
496
504
|
return apidec;
|
497
505
|
}
|
498
|
-
exports.RequiredRole = RequiredRole;
|
499
506
|
function Workflow(config = {}) {
|
500
507
|
function decorator(target, propertyKey, inDescriptor) {
|
501
508
|
const { descriptor, registration } = registerAndWrapFunction(target, propertyKey, inDescriptor);
|
@@ -504,7 +511,6 @@ function Workflow(config = {}) {
|
|
504
511
|
}
|
505
512
|
return decorator;
|
506
513
|
}
|
507
|
-
exports.Workflow = Workflow;
|
508
514
|
function Transaction(config = {}) {
|
509
515
|
function decorator(target, propertyKey,
|
510
516
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
@@ -515,7 +521,6 @@ function Transaction(config = {}) {
|
|
515
521
|
}
|
516
522
|
return decorator;
|
517
523
|
}
|
518
|
-
exports.Transaction = Transaction;
|
519
524
|
function StoredProcedure(config = {}) {
|
520
525
|
function decorator(target, propertyKey, inDescriptor) {
|
521
526
|
const { descriptor, registration } = registerAndWrapFunction(target, propertyKey, inDescriptor);
|
@@ -524,7 +529,6 @@ function StoredProcedure(config = {}) {
|
|
524
529
|
}
|
525
530
|
return decorator;
|
526
531
|
}
|
527
|
-
exports.StoredProcedure = StoredProcedure;
|
528
532
|
function Communicator(config = {}) {
|
529
533
|
function decorator(target, propertyKey, inDescriptor) {
|
530
534
|
const { descriptor, registration } = registerAndWrapFunction(target, propertyKey, inDescriptor);
|
@@ -533,7 +537,6 @@ function Communicator(config = {}) {
|
|
533
537
|
}
|
534
538
|
return decorator;
|
535
539
|
}
|
536
|
-
exports.Communicator = Communicator;
|
537
540
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
538
541
|
function OrmEntities(entities) {
|
539
542
|
function clsdec(ctor) {
|
@@ -542,7 +545,6 @@ function OrmEntities(entities) {
|
|
542
545
|
}
|
543
546
|
return clsdec;
|
544
547
|
}
|
545
|
-
exports.OrmEntities = OrmEntities;
|
546
548
|
function DBOSInitializer() {
|
547
549
|
function decorator(target, propertyKey, inDescriptor) {
|
548
550
|
const { descriptor, registration } = registerAndWrapFunction(target, propertyKey, inDescriptor);
|
@@ -551,7 +553,6 @@ function DBOSInitializer() {
|
|
551
553
|
}
|
552
554
|
return decorator;
|
553
555
|
}
|
554
|
-
exports.DBOSInitializer = DBOSInitializer;
|
555
556
|
// For future use with Deploy
|
556
557
|
function DBOSDeploy() {
|
557
558
|
function decorator(target, propertyKey, inDescriptor) {
|
@@ -561,5 +562,4 @@ function DBOSDeploy() {
|
|
561
562
|
}
|
562
563
|
return decorator;
|
563
564
|
}
|
564
|
-
exports.DBOSDeploy = DBOSDeploy;
|
565
565
|
//# sourceMappingURL=decorators.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"decorators.js","sourceRoot":"","sources":["../../src/decorators.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4BAA0B;AAE1B,+CAAiC;AAKjC,mCAA4D;AAC5D,uDAAuD;AASvD,MAAa,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C;AACnB,CAAC;AAXD,oCAWC;AAED,wDAAwD;AACxD,SAAgB,WAAW,CAAC,QAAoB;IAE9C,SAAS,MAAM,CAAkD,IAAO;QAErE,MAAM,MAAM,GAAG,4BAA4B,CAAC,IAAI,CAAC,CAAC;QAClD,MAAM,CAAC,WAAW,GAAG,QAAQ,CAAC;IACjC,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AARD,kCAQC;AAED,SAAgB,eAAe;IAC7B,SAAS,SAAS,CAChB,MAAc,EACd,WAAmB,EACnB,YAAuG;QAEvG,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,uBAAuB,CAAC,MAAM,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC;QAChG,YAAY,CAAC,IAAI,GAAG,IAAI,CAAC;QACzB,OAAO,UAAU,CAAC;IACpB,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAXD,0CAWC;AAED,6BAA6B;AAC7B,SAAgB,UAAU;IACxB,SAAS,SAAS,CAChB,MAAc,EACd,WAAmB,EACnB,YAAuG;QAEvG,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,uBAAuB,CAAC,MAAM,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC;QAChG,YAAY,CAAC,IAAI,GAAG,IAAI,CAAC;QACzB,OAAO,UAAU,CAAC;IACpB,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAXD,gCAWC"}
|
1
|
+
{"version":3,"file":"decorators.js","sourceRoot":"","sources":["../../src/decorators.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA0OA,oEAMC;AACD,0DAMC;AAED,0DAmBC;AAED,sDAIC;AASD,8EAgBC;AAgID,0DAQC;AAKD,0DAMC;AAED,oEAcC;AAED,0EASC;AAED,4EAOC;AAMD,kCAKC;AAED,kCAKC;AAED,kCAKC;AAED,0BAOC;AAED,0BAOC;AAED,0BAOC;AAED,gCAOC;AAMD,kDAOC;AAED,gDAI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4B,CAAC,IAAI,CAAC,CAAC;QAClD,MAAM,CAAC,WAAW,GAAG,QAAQ,CAAC;IACjC,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,SAAgB,eAAe;IAC7B,SAAS,SAAS,CAChB,MAAc,EACd,WAAmB,EACnB,YAAuG;QAEvG,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,uBAAuB,CAAC,MAAM,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC;QAChG,YAAY,CAAC,IAAI,GAAG,IAAI,CAAC;QACzB,OAAO,UAAU,CAAC;IACpB,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,6BAA6B;AAC7B,SAAgB,UAAU;IACxB,SAAS,SAAS,CAChB,MAAc,EACd,WAAmB,EACnB,YAAuG;QAEvG,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,uBAAuB,CAAC,MAAM,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC;QAChG,YAAY,CAAC,IAAI,GAAG,IAAI,CAAC;QACzB,OAAO,UAAU,CAAC;IACpB,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
package/dist/src/error.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare function isClientError(dbosErrorCode: number):
|
1
|
+
export declare function isClientError(dbosErrorCode: number): dbosErrorCode is 9 | 2 | 4 | 5 | 6;
|
2
2
|
export declare class DBOSError extends Error {
|
3
3
|
readonly dbosErrorCode: number;
|
4
4
|
constructor(msg: string, dbosErrorCode?: number);
|
package/dist/src/error.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../src/error.ts"],"names":[],"mappings":"AAqDA,wBAAgB,aAAa,CAAC,aAAa,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../src/error.ts"],"names":[],"mappings":"AAqDA,wBAAgB,aAAa,CAAC,aAAa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AAE,MAAM;CAGxE;AAGD,qBAAa,iBAAkB,SAAQ,SAAS;gBAClC,GAAG,EAAE,MAAM;CAGxB;AAGD,qBAAa,4BAA6B,SAAQ,SAAS;gBAC7C,GAAG,EAAE,MAAM;CAGxB;AAGD,qBAAa,2BAA4B,SAAQ,SAAS;gBAC5C,GAAG,EAAE,MAAM;CAGxB;AAGD,qBAAa,wBAAyB,SAAQ,SAAS;gBACzC,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM;CAGrD"}
|
package/dist/src/error.js
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.DBOSDeadLetterQueueError = exports.DBOSFailLoadOperationsError = exports.DBOSNonExistentWorkflowError = exports.DBOSDebuggerError = exports.DBOSConfigKeyTypeError = exports.DBOSUndefinedDecoratorInputError = exports.DBOSNotAuthorizedError = exports.DBOSResponseError = exports.DuplicateWorkflowEventError = exports.DBOSDataValidationError = exports.DBOSPostgresExporterError = exports.DBOSNotRegisteredError = exports.DBOSWorkflowConflictUUIDError = exports.DBOSTopicPermissionDeniedError = exports.DBOSInitializationError = exports.DBOSWorkflowPermissionDeniedError = exports.DBOSError =
|
3
|
+
exports.DBOSDeadLetterQueueError = exports.DBOSFailLoadOperationsError = exports.DBOSNonExistentWorkflowError = exports.DBOSDebuggerError = exports.DBOSConfigKeyTypeError = exports.DBOSUndefinedDecoratorInputError = exports.DBOSNotAuthorizedError = exports.DBOSResponseError = exports.DuplicateWorkflowEventError = exports.DBOSDataValidationError = exports.DBOSPostgresExporterError = exports.DBOSNotRegisteredError = exports.DBOSWorkflowConflictUUIDError = exports.DBOSTopicPermissionDeniedError = exports.DBOSInitializationError = exports.DBOSWorkflowPermissionDeniedError = exports.DBOSError = void 0;
|
4
|
+
exports.isClientError = isClientError;
|
4
5
|
const pg_1 = require("pg");
|
5
6
|
function formatPgDatabaseError(err) {
|
6
7
|
let msg = "";
|
@@ -55,7 +56,6 @@ function formatPgDatabaseError(err) {
|
|
55
56
|
function isClientError(dbosErrorCode) {
|
56
57
|
return (dbosErrorCode === DataValidationError) || (dbosErrorCode === WorkflowPermissionDeniedError) || (dbosErrorCode === TopicPermissionDeniedError) || (dbosErrorCode === ConflictingUUIDError) || (dbosErrorCode === NotRegisteredError);
|
57
58
|
}
|
58
|
-
exports.isClientError = isClientError;
|
59
59
|
class DBOSError extends Error {
|
60
60
|
dbosErrorCode;
|
61
61
|
// TODO: define a better coding system.
|
package/dist/src/error.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"error.js","sourceRoot":"","sources":["../../src/error.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"error.js","sourceRoot":"","sources":["../../src/error.ts"],"names":[],"mappings":";;;AAqDA,sCAEC;AAvDD,2BAAmC;AAEnC,SAAS,qBAAqB,CAAC,GAAkB;IAC/C,IAAI,GAAG,GAAG,EAAE,CAAC;IACb,IAAI,GAAG,CAAC,QAAQ,EAAE,CAAC;QACjB,GAAG,GAAG,GAAG,CAAC,MAAM,CAAC,aAAa,GAAG,CAAC,QAAQ,KAAK,CAAC,CAAC;IACnD,CAAC;IACD,IAAI,GAAG,CAAC,IAAI,EAAE,CAAC;QACb,GAAG,GAAG,GAAG,CAAC,MAAM,CAAC,SAAS,GAAG,CAAC,IAAI,KAAK,CAAC,CAAC;IAC3C,CAAC;IACD,IAAI,GAAG,CAAC,MAAM,EAAE,CAAC;QACf,GAAG,GAAG,GAAG,CAAC,MAAM,CAAC,WAAW,GAAG,CAAC,MAAM,KAAK,CAAC,CAAC;IAC/C,CAAC;IACD,IAAI,GAAG,CAAC,IAAI,EAAE,CAAC;QACb,GAAG,GAAG,GAAG,CAAC,MAAM,CAAC,SAAS,GAAG,CAAC,IAAI,KAAK,CAAC,CAAC;IAC3C,CAAC;IACD,IAAI,GAAG,CAAC,QAAQ,EAAE,CAAC;QACjB,GAAG,GAAG,GAAG,CAAC,MA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;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,IAtBT,IAAI,EAAE,GAAG,SAAS,WAAW,EAAE,IAAI,SAAS,OAAO,EAAE,EAAE,MAAM,UAC1E,MAAM,eACD,MAAM,gBACL,uBAAuB,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC,uFAqBlG;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,IA1BX,IAAI,EAAE,GAAG,SAAS,WAAW,EAAE,IAAI,SAAS,OAAO,EAAE,EAAE,MAAM,UAC1E,MAAM,eACD,MAAM,gBACL,uBAAuB,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC,uFAyBlG;AAED,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,IA9BZ,IAAI,EAAE,GAAG,SAAS,WAAW,EAAE,IAAI,SAAS,OAAO,EAAE,EAAE,MAAM,UAC1E,MAAM,eACD,MAAM,gBACL,uBAAuB,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC,uFA6BlG;AAMD,wBAAgB,SAAS,CAAC,MAAM,EAAE,UAAU,YACjB,MAAM,eAAe,MAAM,GAAG,MAAM,kBAAkB,MAAM,UAMtF"}
|
@@ -1,6 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.HandlerParameter = exports.HandlerContextImpl = exports.RequestIDHeader = void 0;
|
4
|
+
exports.GetApi = GetApi;
|
5
|
+
exports.PostApi = PostApi;
|
6
|
+
exports.PutApi = PutApi;
|
7
|
+
exports.PatchApi = PatchApi;
|
8
|
+
exports.DeleteApi = DeleteApi;
|
9
|
+
exports.ArgSource = ArgSource;
|
4
10
|
const decorators_1 = require("../decorators");
|
5
11
|
const dbos_executor_1 = require("../dbos-executor");
|
6
12
|
const context_1 = require("../context");
|
@@ -175,23 +181,18 @@ function generateApiDec(verb, url) {
|
|
175
181
|
function GetApi(url) {
|
176
182
|
return generateApiDec(handlerTypes_1.APITypes.GET, url);
|
177
183
|
}
|
178
|
-
exports.GetApi = GetApi;
|
179
184
|
function PostApi(url) {
|
180
185
|
return generateApiDec(handlerTypes_1.APITypes.POST, url);
|
181
186
|
}
|
182
|
-
exports.PostApi = PostApi;
|
183
187
|
function PutApi(url) {
|
184
188
|
return generateApiDec(handlerTypes_1.APITypes.PUT, url);
|
185
189
|
}
|
186
|
-
exports.PutApi = PutApi;
|
187
190
|
function PatchApi(url) {
|
188
191
|
return generateApiDec(handlerTypes_1.APITypes.PATCH, url);
|
189
192
|
}
|
190
|
-
exports.PatchApi = PatchApi;
|
191
193
|
function DeleteApi(url) {
|
192
194
|
return generateApiDec(handlerTypes_1.APITypes.DELETE, url);
|
193
195
|
}
|
194
|
-
exports.DeleteApi = DeleteApi;
|
195
196
|
///////////////////////////////////
|
196
197
|
/* ENDPOINT PARAMETER DECORATORS */
|
197
198
|
///////////////////////////////////
|
@@ -202,5 +203,4 @@ function ArgSource(source) {
|
|
202
203
|
curParam.argSource = source;
|
203
204
|
};
|
204
205
|
}
|
205
|
-
exports.ArgSource = ArgSource;
|
206
206
|
//# sourceMappingURL=handler.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../src/httpServer/handler.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../src/httpServer/handler.ts"],"names":[],"mappings":";;;AA0QA,wBAEC;AAED,0BAEC;AAED,wBAEC;AAED,4BAEC;AAED,8BAEC;AAMD,8BAOC;AAzSD,8CAAiL;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;IAClC,OAAO,cAAc,CAAC,uBAAQ,CAAC,KAAK,EAAE,GAAG,CAAC,CAAA;AAC5C,CAAC;AAED,SAAgB,SAAS,CAAC,GAAW;IACnC,OAAO,cAAc,CAAC,uBAAQ,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AAC7C,CAAC;AAED,mCAAmC;AACnC,mCAAmC;AACnC,mCAAmC;AAEnC,SAAgB,SAAS,CAAC,MAAkB;IAC1C,OAAO,UAAU,MAAc,EAAE,WAA4B,EAAE,cAAsB;QACnF,MAAM,kBAAkB,GAAG,IAAA,8CAAiC,EAAC,MAAM,EAAE,WAAW,CAAC,CAAC;QAElF,MAAM,QAAQ,GAAG,kBAAkB,CAAC,cAAc,CAAqB,CAAC;QACxE,QAAQ,CAAC,SAAS,GAAG,MAAM,CAAC;IAC9B,CAAC,CAAC;AACJ,CAAC"}
|
@@ -44,25 +44,35 @@ export declare class MiddlewareClassRegistration<CT extends {
|
|
44
44
|
/**
|
45
45
|
* Define an authentication function for each endpoint in this class.
|
46
46
|
*/
|
47
|
-
export declare function Authentication(authMiddleware: DBOSHttpAuthMiddleware): <T extends
|
47
|
+
export declare function Authentication(authMiddleware: DBOSHttpAuthMiddleware): <T extends {
|
48
|
+
new (...args: unknown[]): object;
|
49
|
+
}>(ctor: T) => void;
|
48
50
|
/**
|
49
51
|
* Define a Koa body parser applied before any middleware. If not set, the default @koa/bodyparser is used.
|
50
52
|
*/
|
51
|
-
export declare function KoaBodyParser(koaBodyParser: Koa.Middleware): <T extends
|
53
|
+
export declare function KoaBodyParser(koaBodyParser: Koa.Middleware): <T extends {
|
54
|
+
new (...args: unknown[]): object;
|
55
|
+
}>(ctor: T) => void;
|
52
56
|
/**
|
53
57
|
* Define a Koa CORS policy applied before any middleware. If not set, the default @koa/cors (w/ .yaml config) is used.
|
54
58
|
*/
|
55
|
-
export declare function KoaCors(koaCors: Koa.Middleware): <T extends
|
59
|
+
export declare function KoaCors(koaCors: Koa.Middleware): <T extends {
|
60
|
+
new (...args: unknown[]): object;
|
61
|
+
}>(ctor: T) => void;
|
56
62
|
/**
|
57
63
|
* Define Koa middleware that is applied in order to each endpoint in this class.
|
58
64
|
*/
|
59
|
-
export declare function KoaMiddleware(...koaMiddleware: Koa.Middleware[]): <T extends
|
65
|
+
export declare function KoaMiddleware(...koaMiddleware: Koa.Middleware[]): <T extends {
|
66
|
+
new (...args: unknown[]): object;
|
67
|
+
}>(ctor: T) => void;
|
60
68
|
type SecurityScheme = Exclude<OpenApi3.SecuritySchemeObject, OpenApi3.OAuth2SecurityScheme>;
|
61
69
|
/**
|
62
70
|
* Declare an OpenApi Security Scheme (https://spec.openapis.org/oas/v3.0.3#security-scheme-object
|
63
71
|
* for the methods of a class. Note, this decorator is only used in OpenApi generation and does not
|
64
72
|
* affect runtime behavior of the app.
|
65
73
|
*/
|
66
|
-
export declare function OpenApiSecurityScheme(securityScheme: SecurityScheme): <T extends
|
74
|
+
export declare function OpenApiSecurityScheme(securityScheme: SecurityScheme): <T extends {
|
75
|
+
new (...args: unknown[]): object;
|
76
|
+
}>(_ctor: T) => void;
|
67
77
|
export {};
|
68
78
|
//# sourceMappingURL=middleware.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../../src/httpServer/middleware.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,KAAK,CAAC;AACtB,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAgC,MAAM,eAAe,CAAC;AAGtG,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,SAAS,IAAI,QAAQ,EAAE,MAAM,eAAe,CAAC;AAGtD,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,UAAU,EAAE,GAAG,CAAC,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CAAA;CAAE,QAAQ,CAAC,UAKvE;AAED;;GAEG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,UAAU,IAC7B,CAAC,SAAS;IAAE,KAAI,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,CAAA;CAAE,QAAQ,CAAC,UAKvE;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,GAAG,aAAa,EAAE,GAAG,CAAC,UAAU,EAAE,IAM9C,CAAC,SAAS;IAAE,KAAI,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,CAAA;CAAE,QAAQ,CAAC,UAKvE;AAOD,KAAK,cAAc,GAAG,OAAO,CAAC,QAAQ,CAAC,oBAAoB,EAAE,QAAQ,CAAC,oBAAoB,CAAC,CAAC;AAE5F;;;;GAIG;AAEH,wBAAgB,qBAAqB,CAAC,cAAc,EAAE,cAAc,IACjD,CAAC,SAAS;IAAE,KAAI,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,MAAM,CAAA;CAAE,SAAS,CAAC,UACzE"}
|
@@ -1,6 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.MiddlewareClassRegistration = void 0;
|
4
|
+
exports.Authentication = Authentication;
|
5
|
+
exports.KoaBodyParser = KoaBodyParser;
|
6
|
+
exports.KoaCors = KoaCors;
|
7
|
+
exports.KoaMiddleware = KoaMiddleware;
|
8
|
+
exports.OpenApiSecurityScheme = OpenApiSecurityScheme;
|
4
9
|
const decorators_1 = require("../decorators");
|
5
10
|
const error_1 = require("../error");
|
6
11
|
class MiddlewareClassRegistration extends decorators_1.ClassRegistration {
|
@@ -29,7 +34,6 @@ function Authentication(authMiddleware) {
|
|
29
34
|
}
|
30
35
|
return clsdec;
|
31
36
|
}
|
32
|
-
exports.Authentication = Authentication;
|
33
37
|
/**
|
34
38
|
* Define a Koa body parser applied before any middleware. If not set, the default @koa/bodyparser is used.
|
35
39
|
*/
|
@@ -40,7 +44,6 @@ function KoaBodyParser(koaBodyParser) {
|
|
40
44
|
}
|
41
45
|
return clsdec;
|
42
46
|
}
|
43
|
-
exports.KoaBodyParser = KoaBodyParser;
|
44
47
|
/**
|
45
48
|
* Define a Koa CORS policy applied before any middleware. If not set, the default @koa/cors (w/ .yaml config) is used.
|
46
49
|
*/
|
@@ -51,7 +54,6 @@ function KoaCors(koaCors) {
|
|
51
54
|
}
|
52
55
|
return clsdec;
|
53
56
|
}
|
54
|
-
exports.KoaCors = KoaCors;
|
55
57
|
/**
|
56
58
|
* Define Koa middleware that is applied in order to each endpoint in this class.
|
57
59
|
*/
|
@@ -67,7 +69,6 @@ function KoaMiddleware(...koaMiddleware) {
|
|
67
69
|
}
|
68
70
|
return clsdec;
|
69
71
|
}
|
70
|
-
exports.KoaMiddleware = KoaMiddleware;
|
71
72
|
/**
|
72
73
|
* Declare an OpenApi Security Scheme (https://spec.openapis.org/oas/v3.0.3#security-scheme-object
|
73
74
|
* for the methods of a class. Note, this decorator is only used in OpenApi generation and does not
|
@@ -77,5 +78,4 @@ exports.KoaMiddleware = KoaMiddleware;
|
|
77
78
|
function OpenApiSecurityScheme(securityScheme) {
|
78
79
|
return function (_ctor) { };
|
79
80
|
}
|
80
|
-
exports.OpenApiSecurityScheme = OpenApiSecurityScheme;
|
81
81
|
//# sourceMappingURL=middleware.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"middleware.js","sourceRoot":"","sources":["../../../src/httpServer/middleware.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"middleware.js","sourceRoot":"","sources":["../../../src/httpServer/middleware.ts"],"names":[],"mappings":";;;AAiEA,wCASC;AAKD,sCAMC;AAKD,0BAMC;AAKD,sCAWC;AAeD,sDAEC;AAhID,8CAAsG;AACtG,oCAA4D;AA6C5D,MAAa,2BAA4E,SAAQ,8BAAqB;IACpH,cAAc,CAA0B;IACxC,aAAa,CAAkB;IAC/B,OA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