@dbos-inc/dbos-sdk 1.17.9-preview.gd599062cfb → 1.17.11-preview

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. package/dist/src/context.d.ts +3 -0
  2. package/dist/src/context.d.ts.map +1 -1
  3. package/dist/src/data_validation.js +2 -1
  4. package/dist/src/data_validation.js.map +1 -1
  5. package/dist/src/dbos-executor.d.ts +1 -0
  6. package/dist/src/dbos-executor.d.ts.map +1 -1
  7. package/dist/src/dbos-runtime/cli.js +2 -1
  8. package/dist/src/dbos-runtime/cli.js.map +1 -1
  9. package/dist/src/dbos-runtime/config.js +6 -6
  10. package/dist/src/dbos-runtime/config.js.map +1 -1
  11. package/dist/src/dbos-runtime/configure.js +2 -1
  12. package/dist/src/dbos-runtime/configure.js.map +1 -1
  13. package/dist/src/dbos-runtime/debug.js +2 -1
  14. package/dist/src/dbos-runtime/debug.js.map +1 -1
  15. package/dist/src/dbos-runtime/migrate.js +4 -3
  16. package/dist/src/dbos-runtime/migrate.js.map +1 -1
  17. package/dist/src/dbos-runtime/workflow_management.js +5 -4
  18. package/dist/src/dbos-runtime/workflow_management.js.map +1 -1
  19. package/dist/src/decorators.d.ts +2 -6
  20. package/dist/src/decorators.d.ts.map +1 -1
  21. package/dist/src/decorators.js +30 -30
  22. package/dist/src/decorators.js.map +1 -1
  23. package/dist/src/error.d.ts +1 -1
  24. package/dist/src/error.d.ts.map +1 -1
  25. package/dist/src/error.js +2 -2
  26. package/dist/src/error.js.map +1 -1
  27. package/dist/src/httpServer/handler.d.ts.map +1 -1
  28. package/dist/src/httpServer/handler.js +7 -7
  29. package/dist/src/httpServer/handler.js.map +1 -1
  30. package/dist/src/httpServer/middleware.d.ts +5 -15
  31. package/dist/src/httpServer/middleware.d.ts.map +1 -1
  32. package/dist/src/httpServer/middleware.js +6 -6
  33. package/dist/src/httpServer/middleware.js.map +1 -1
  34. package/dist/src/httpServer/server.d.ts +3 -0
  35. package/dist/src/httpServer/server.d.ts.map +1 -1
  36. package/dist/src/kafka/kafka.d.ts +1 -3
  37. package/dist/src/kafka/kafka.d.ts.map +1 -1
  38. package/dist/src/kafka/kafka.js +3 -3
  39. package/dist/src/kafka/kafka.js.map +1 -1
  40. package/dist/src/scheduler/crontab.js +4 -4
  41. package/dist/src/scheduler/crontab.js.map +1 -1
  42. package/dist/src/scheduler/scheduler.d.ts.map +1 -1
  43. package/dist/src/scheduler/scheduler.js +2 -2
  44. package/dist/src/scheduler/scheduler.js.map +1 -1
  45. package/dist/src/system_database.js +2 -2
  46. package/dist/src/system_database.js.map +1 -1
  47. package/dist/src/telemetry/collector.d.ts.map +1 -1
  48. package/dist/src/telemetry/index.js +3 -2
  49. package/dist/src/telemetry/index.js.map +1 -1
  50. package/dist/src/telemetry/logs.d.ts.map +1 -1
  51. package/dist/src/testing/testing_runtime.d.ts +5 -2
  52. package/dist/src/testing/testing_runtime.d.ts.map +1 -1
  53. package/dist/src/testing/testing_runtime.js +3 -3
  54. package/dist/src/testing/testing_runtime.js.map +1 -1
  55. package/dist/src/user_database.js +2 -2
  56. package/dist/src/user_database.js.map +1 -1
  57. package/dist/src/utils.d.ts +1 -0
  58. package/dist/src/utils.d.ts.map +1 -1
  59. package/dist/src/utils.js +6 -6
  60. package/dist/src/utils.js.map +1 -1
  61. package/dist/src/workflow.d.ts.map +1 -1
  62. package/dist/tsconfig.build.tsbuildinfo +1 -1
  63. package/package.json +1 -1
@@ -23,36 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
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;
26
+ exports.DBOSDeploy = exports.DBOSInitializer = exports.OrmEntities = exports.Communicator = exports.StoredProcedure = exports.Transaction = exports.Workflow = exports.RequiredRole = exports.configureInstance = exports.DefaultArgOptional = exports.DefaultArgRequired = exports.DefaultRequiredRole = exports.ArgVarchar = exports.ArgDate = exports.ArgName = exports.LogMask = exports.SkipLogging = exports.ArgOptional = exports.ArgRequired = exports.associateMethodWithEventReceiver = exports.associateClassWithEventReceiver = exports.getOrCreateClassRegistration = exports.getAllRegisteredClasses = exports.registerAndWrapFunction = exports.getOrCreateMethodArgsRegistration = exports.getConfiguredInstance = exports.getRegisteredOperations = exports.getRegisteredMethodName = exports.getRegisteredMethodClassName = exports.ClassRegistration = exports.ConfiguredInstance = exports.MethodRegistration = exports.MethodParameter = exports.ArgRequiredOptions = exports.LogMasks = exports.DBOSDataType = void 0;
56
27
  require("reflect-metadata");
57
28
  const crypto = __importStar(require("crypto"));
58
29
  const error_1 = require("./error");
@@ -222,6 +193,7 @@ function getRegisteredMethodClassName(func) {
222
193
  }
223
194
  return rv;
224
195
  }
196
+ exports.getRegisteredMethodClassName = getRegisteredMethodClassName;
225
197
  function getRegisteredMethodName(func) {
226
198
  let rv = "";
227
199
  if (methodToRegistration.has(func)) {
@@ -229,6 +201,7 @@ function getRegisteredMethodName(func) {
229
201
  }
230
202
  return rv;
231
203
  }
204
+ exports.getRegisteredMethodName = getRegisteredMethodName;
232
205
  function getRegisteredOperations(target) {
233
206
  const registeredOperations = [];
234
207
  if (typeof target === 'function') { // Constructor case
@@ -247,12 +220,14 @@ function getRegisteredOperations(target) {
247
220
  }
248
221
  return registeredOperations;
249
222
  }
223
+ exports.getRegisteredOperations = getRegisteredOperations;
250
224
  function getConfiguredInstance(clsname, cfgname) {
251
225
  const classReg = classesByName.get(clsname);
252
226
  if (!classReg)
253
227
  return null;
254
228
  return classReg.configuredInstances.get(cfgname) ?? null;
255
229
  }
230
+ exports.getConfiguredInstance = getConfiguredInstance;
256
231
  ////////////////////////////////////////////////////////////////////////////////
257
232
  // DECORATOR REGISTRATION
258
233
  // These manage registration objects, creating them at decorator evaluation time
@@ -273,6 +248,7 @@ function getOrCreateMethodArgsRegistration(target, propertyKey) {
273
248
  }
274
249
  return mParameters;
275
250
  }
251
+ exports.getOrCreateMethodArgsRegistration = getOrCreateMethodArgsRegistration;
276
252
  function generateSaltedHash(data, salt) {
277
253
  const hash = crypto.createHash("sha256"); // You can use other algorithms like 'md5', 'sha512', etc.
278
254
  hash.update(data + salt);
@@ -385,6 +361,7 @@ function registerAndWrapFunction(target, propertyKey, descriptor) {
385
361
  const registration = getOrCreateMethodRegistration(target, propertyKey, descriptor);
386
362
  return { descriptor, registration };
387
363
  }
364
+ exports.registerAndWrapFunction = registerAndWrapFunction;
388
365
  const classesByName = new Map();
389
366
  function getAllRegisteredClasses() {
390
367
  const ctors = [];
@@ -393,6 +370,7 @@ function getAllRegisteredClasses() {
393
370
  }
394
371
  return ctors;
395
372
  }
373
+ exports.getAllRegisteredClasses = getAllRegisteredClasses;
396
374
  function getOrCreateClassRegistration(ctor) {
397
375
  const name = ctor.name;
398
376
  if (!classesByName.has(name)) {
@@ -405,6 +383,7 @@ function getOrCreateClassRegistration(ctor) {
405
383
  }
406
384
  return clsReg;
407
385
  }
386
+ exports.getOrCreateClassRegistration = getOrCreateClassRegistration;
408
387
  function associateClassWithEventReceiver(rcvr, ctor) {
409
388
  const clsReg = getOrCreateClassRegistration(ctor);
410
389
  if (!clsReg.eventReceiverInfo.has(rcvr)) {
@@ -412,6 +391,7 @@ function associateClassWithEventReceiver(rcvr, ctor) {
412
391
  }
413
392
  return clsReg.eventReceiverInfo.get(rcvr);
414
393
  }
394
+ exports.associateClassWithEventReceiver = associateClassWithEventReceiver;
415
395
  function associateMethodWithEventReceiver(rcvr, target, propertyKey, inDescriptor) {
416
396
  const { descriptor, registration } = registerAndWrapFunction(target, propertyKey, inDescriptor);
417
397
  if (!registration.eventReceiverInfo.has(rcvr)) {
@@ -419,6 +399,7 @@ function associateMethodWithEventReceiver(rcvr, target, propertyKey, inDescripto
419
399
  }
420
400
  return { descriptor, registration, receiverInfo: registration.eventReceiverInfo.get(rcvr) };
421
401
  }
402
+ exports.associateMethodWithEventReceiver = associateMethodWithEventReceiver;
422
403
  //////////////////////////
423
404
  /* PARAMETER DECORATORS */
424
405
  //////////////////////////
@@ -427,16 +408,19 @@ function ArgRequired(target, propertyKey, parameterIndex) {
427
408
  const curParam = existingParameters[parameterIndex];
428
409
  curParam.required = ArgRequiredOptions.REQUIRED;
429
410
  }
411
+ exports.ArgRequired = ArgRequired;
430
412
  function ArgOptional(target, propertyKey, parameterIndex) {
431
413
  const existingParameters = getOrCreateMethodArgsRegistration(target, propertyKey);
432
414
  const curParam = existingParameters[parameterIndex];
433
415
  curParam.required = ArgRequiredOptions.OPTIONAL;
434
416
  }
417
+ exports.ArgOptional = ArgOptional;
435
418
  function SkipLogging(target, propertyKey, parameterIndex) {
436
419
  const existingParameters = getOrCreateMethodArgsRegistration(target, propertyKey);
437
420
  const curParam = existingParameters[parameterIndex];
438
421
  curParam.logMask = LogMasks.SKIP;
439
422
  }
423
+ exports.SkipLogging = SkipLogging;
440
424
  function LogMask(mask) {
441
425
  return function (target, propertyKey, parameterIndex) {
442
426
  const existingParameters = getOrCreateMethodArgsRegistration(target, propertyKey);
@@ -444,6 +428,7 @@ function LogMask(mask) {
444
428
  curParam.logMask = mask;
445
429
  };
446
430
  }
431
+ exports.LogMask = LogMask;
447
432
  function ArgName(name) {
448
433
  return function (target, propertyKey, parameterIndex) {
449
434
  const existingParameters = getOrCreateMethodArgsRegistration(target, propertyKey);
@@ -451,6 +436,7 @@ function ArgName(name) {
451
436
  curParam.name = name;
452
437
  };
453
438
  }
439
+ exports.ArgName = ArgName;
454
440
  function ArgDate() {
455
441
  return function (target, propertyKey, parameterIndex) {
456
442
  const existingParameters = getOrCreateMethodArgsRegistration(target, propertyKey);
@@ -458,6 +444,7 @@ function ArgDate() {
458
444
  curParam.dataType.dataType = 'timestamp';
459
445
  };
460
446
  }
447
+ exports.ArgDate = ArgDate;
461
448
  function ArgVarchar(length) {
462
449
  return function (target, propertyKey, parameterIndex) {
463
450
  const existingParameters = getOrCreateMethodArgsRegistration(target, propertyKey);
@@ -465,6 +452,7 @@ function ArgVarchar(length) {
465
452
  curParam.dataType = DBOSDataType.varchar(length);
466
453
  };
467
454
  }
455
+ exports.ArgVarchar = ArgVarchar;
468
456
  ///////////////////////
469
457
  /* CLASS DECORATORS */
470
458
  ///////////////////////
@@ -475,14 +463,17 @@ function DefaultRequiredRole(anyOf) {
475
463
  }
476
464
  return clsdec;
477
465
  }
466
+ exports.DefaultRequiredRole = DefaultRequiredRole;
478
467
  function DefaultArgRequired(ctor) {
479
468
  const clsreg = getOrCreateClassRegistration(ctor);
480
469
  clsreg.defaultArgRequired = ArgRequiredOptions.REQUIRED;
481
470
  }
471
+ exports.DefaultArgRequired = DefaultArgRequired;
482
472
  function DefaultArgOptional(ctor) {
483
473
  const clsreg = getOrCreateClassRegistration(ctor);
484
474
  clsreg.defaultArgRequired = ArgRequiredOptions.OPTIONAL;
485
475
  }
476
+ exports.DefaultArgOptional = DefaultArgOptional;
486
477
  function configureInstance(cls, name, ...args) {
487
478
  const inst = new cls(name, ...args);
488
479
  const creg = getOrCreateClassRegistration(cls);
@@ -492,6 +483,7 @@ function configureInstance(cls, name, ...args) {
492
483
  creg.configuredInstances.set(name, inst);
493
484
  return inst;
494
485
  }
486
+ exports.configureInstance = configureInstance;
495
487
  ///////////////////////
496
488
  /* METHOD DECORATORS */
497
489
  ///////////////////////
@@ -503,6 +495,7 @@ function RequiredRole(anyOf) {
503
495
  }
504
496
  return apidec;
505
497
  }
498
+ exports.RequiredRole = RequiredRole;
506
499
  function Workflow(config = {}) {
507
500
  function decorator(target, propertyKey, inDescriptor) {
508
501
  const { descriptor, registration } = registerAndWrapFunction(target, propertyKey, inDescriptor);
@@ -511,6 +504,7 @@ function Workflow(config = {}) {
511
504
  }
512
505
  return decorator;
513
506
  }
507
+ exports.Workflow = Workflow;
514
508
  function Transaction(config = {}) {
515
509
  function decorator(target, propertyKey,
516
510
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -521,6 +515,7 @@ function Transaction(config = {}) {
521
515
  }
522
516
  return decorator;
523
517
  }
518
+ exports.Transaction = Transaction;
524
519
  function StoredProcedure(config = {}) {
525
520
  function decorator(target, propertyKey, inDescriptor) {
526
521
  const { descriptor, registration } = registerAndWrapFunction(target, propertyKey, inDescriptor);
@@ -529,6 +524,7 @@ function StoredProcedure(config = {}) {
529
524
  }
530
525
  return decorator;
531
526
  }
527
+ exports.StoredProcedure = StoredProcedure;
532
528
  function Communicator(config = {}) {
533
529
  function decorator(target, propertyKey, inDescriptor) {
534
530
  const { descriptor, registration } = registerAndWrapFunction(target, propertyKey, inDescriptor);
@@ -537,6 +533,7 @@ function Communicator(config = {}) {
537
533
  }
538
534
  return decorator;
539
535
  }
536
+ exports.Communicator = Communicator;
540
537
  // eslint-disable-next-line @typescript-eslint/ban-types
541
538
  function OrmEntities(entities) {
542
539
  function clsdec(ctor) {
@@ -545,6 +542,7 @@ function OrmEntities(entities) {
545
542
  }
546
543
  return clsdec;
547
544
  }
545
+ exports.OrmEntities = OrmEntities;
548
546
  function DBOSInitializer() {
549
547
  function decorator(target, propertyKey, inDescriptor) {
550
548
  const { descriptor, registration } = registerAndWrapFunction(target, propertyKey, inDescriptor);
@@ -553,6 +551,7 @@ function DBOSInitializer() {
553
551
  }
554
552
  return decorator;
555
553
  }
554
+ exports.DBOSInitializer = DBOSInitializer;
556
555
  // For future use with Deploy
557
556
  function DBOSDeploy() {
558
557
  function decorator(target, propertyKey, inDescriptor) {
@@ -562,4 +561,5 @@ function DBOSDeploy() {
562
561
  }
563
562
  return decorator;
564
563
  }
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":";;;;;;;;;;;;;;;;;;;;;;;;;;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,gDAIC;AAED,gDAIC;AAED,8CASC;AAMD,oCAYC;AAED,4BAWC;AAED,kCAYC;AAED,0CAWC;AAED,oCAWC;AAGD,kCAQC;AAED,0CAWC;AAGD,gCAWC;AAhrBD,4BAA0B;AAE1B,+CAAiC;AAKjC,mCAA4D;AAC5D,uDAAuD;AASvD,MAAa,YAAY;IACvB,QAAQ,GAAkB,MAAM,CAAC;IACjC,MAAM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B,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,4 +1,4 @@
1
- export declare function isClientError(dbosErrorCode: number): dbosErrorCode is 9 | 2 | 4 | 5 | 6;
1
+ export declare function isClientError(dbosErrorCode: number): boolean;
2
2
  export declare class DBOSError extends Error {
3
3
  readonly dbosErrorCode: number;
4
4
  constructor(msg: string, dbosErrorCode?: number);
@@ -1 +1 @@
1
- {"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../src/error.ts"],"names":[],"mappings":"AAqDA,wBAAgB,aAAa,CAAC,aAAa,EAAE,MAAM,sCAElD;AAED,qBAAa,SAAU,SAAQ,KAAK;IAET,QAAQ,CAAC,aAAa,EAAE,MAAM;gBAA3C,GAAG,EAAE,MAAM,EAAW,aAAa,GAAE,MAAU;CAG5D;AAGD,qBAAa,iCAAkC,SAAQ,SAAS;gBAClD,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM;CAIhD;AAGD,qBAAa,uBAAwB,SAAQ,SAAS;gBACxC,GAAG,EAAE,MAAM;CAGxB;AAGD,qBAAa,8BAA+B,SAAQ,SAAS;gBAC/C,eAAe,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;CAI7F;AAGD,qBAAa,6BAA8B,SAAQ,SAAS;gBAC9C,YAAY,EAAE,MAAM;CAGjC;AAGD,qBAAa,sBAAuB,SAAQ,SAAS;gBACvC,IAAI,EAAE,MAAM;CAIzB;AAGD,qBAAa,yBAA0B,SAAQ,SAAS;g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EAAE,MAAM;CAGxB;AAGD,qBAAa,wBAAyB,SAAQ,SAAS;gBACzC,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM;CAGrD"}
package/dist/src/error.js CHANGED
@@ -1,7 +1,6 @@
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 = void 0;
4
- exports.isClientError = isClientError;
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 = exports.isClientError = void 0;
5
4
  const pg_1 = require("pg");
6
5
  function formatPgDatabaseError(err) {
7
6
  let msg = "";
@@ -56,6 +55,7 @@ function formatPgDatabaseError(err) {
56
55
  function isClientError(dbosErrorCode) {
57
56
  return (dbosErrorCode === DataValidationError) || (dbosErrorCode === WorkflowPermissionDeniedError) || (dbosErrorCode === TopicPermissionDeniedError) || (dbosErrorCode === ConflictingUUIDError) || (dbosErrorCode === NotRegisteredError);
58
57
  }
58
+ exports.isClientError = isClientError;
59
59
  class DBOSError extends Error {
60
60
  dbosErrorCode;
61
61
  // TODO: define a better coding system.
@@ -1 +1 @@
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,MAAM,CAAC,aAAa,GAAG,CAAC,QAAQ,KAAK,CAAC,CAAC;IACnD,CAAC;IACD,IAAI,GAAG,CAAC,gBAAgB,EAAE,CAAC;QACzB,GAAG,GAAG,GAAG,CAAC,MAAM,CAAC,qBAAqB,GAAG,CAAC,gBAAgB,KAAK,CAAC,CAAC;IACnE,CAAC;IACD,IAAI,GAAG,CAAC,aAAa,EAAE,CAAC;QACtB,GAAG,GAAG,GAAG,CAAC,MAAM,CAAC,kBAAkB,GAAG,CAAC,aAAa,KAAK,CAAC,CAAC;IAC7D,CAAC;IACD,IAAI,GAAG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AAG,kBAAkB,EAAE,YAAY,CAAC,EAAE,MAAM,GAAG,mBAAmB,CAAC,CAAC,CAAC,GAAG,sBAAsB,CAAC,CAAC,CAAC;IAU1I,cAAc,CAAC,CAAC,SAAS,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,kBAAkB,EAAE,YAAY,CAAC,EAAE,MAAM,GAAG,kBAAkB,CAAC,CAAC,CAAC,GAAG,sBAAsB,CAAC,CAAC,CAAC;IAUpI,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAuB1E;AAED,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;IACrE,OAAO,EAAE,QAAQ,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,gBAAgB,EAAE,CAAC;CAC1B;AAED,qBAAa,gBAAiB,SAAQ,eAAe;IACnD,SAAS,EAAE,UAAU,CAAsB;gBAG/B,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ;CAGtC;AAqBD,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,8RAEjC;AAED,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,8RAElC;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,8RAEjC;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,8RAEnC;AAED,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,8RAEpC;AAMD,wBAAgB,SAAS,CAAC,MAAM,EAAE,UAAU,YACjB,MAAM,eAAe,MAAM,GAAG,MAAM,kBAAkB,MAAM,UAMtF"}
@@ -1,12 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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;
3
+ exports.ArgSource = exports.DeleteApi = exports.PatchApi = exports.PutApi = exports.PostApi = exports.GetApi = exports.HandlerParameter = exports.HandlerContextImpl = exports.RequestIDHeader = void 0;
10
4
  const decorators_1 = require("../decorators");
11
5
  const dbos_executor_1 = require("../dbos-executor");
12
6
  const context_1 = require("../context");
@@ -181,18 +175,23 @@ function generateApiDec(verb, url) {
181
175
  function GetApi(url) {
182
176
  return generateApiDec(handlerTypes_1.APITypes.GET, url);
183
177
  }
178
+ exports.GetApi = GetApi;
184
179
  function PostApi(url) {
185
180
  return generateApiDec(handlerTypes_1.APITypes.POST, url);
186
181
  }
182
+ exports.PostApi = PostApi;
187
183
  function PutApi(url) {
188
184
  return generateApiDec(handlerTypes_1.APITypes.PUT, url);
189
185
  }
186
+ exports.PutApi = PutApi;
190
187
  function PatchApi(url) {
191
188
  return generateApiDec(handlerTypes_1.APITypes.PATCH, url);
192
189
  }
190
+ exports.PatchApi = PatchApi;
193
191
  function DeleteApi(url) {
194
192
  return generateApiDec(handlerTypes_1.APITypes.DELETE, url);
195
193
  }
194
+ exports.DeleteApi = DeleteApi;
196
195
  ///////////////////////////////////
197
196
  /* ENDPOINT PARAMETER DECORATORS */
198
197
  ///////////////////////////////////
@@ -203,4 +202,5 @@ function ArgSource(source) {
203
202
  curParam.argSource = source;
204
203
  };
205
204
  }
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":";;;AA0QA,wBAEC;AAED,0BAEC;AAED,wBAEC;AAED,4BAEC;AAED,8BAEC;AAMD,8BAOC;AAzSD,8CAAiL;AACjL,oDAA+D;AAC/D,wCAA0D;AAI1D,8CAAgE;AAChE,4CAA+E;AAE/E,+BAAoC;AAEpC,iDAAsD;AAmDzC,QAAA,eAAe,GAAG,cAAc,CAAC;AAC9C,SAAS,sBAAsB,CAA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AAC;QACjC,mBAAmB,CAAC,OAAO,GAAG,IAAI,CAAC;QAEnC,OAAO,UAAU,CAAC;IACpB,CAAC,CAAA;AACH,CAAC;AAED,SAAgB,MAAM,CAAC,GAAW;IAChC,OAAO,cAAc,CAAC,uBAAQ,CAAC,GAAG,EAAE,GAAG,CAAC,CAAA;AAC1C,CAAC;AAFD,wBAEC;AAED,SAAgB,OAAO,CAAC,GAAW;IACjC,OAAO,cAAc,CAAC,uBAAQ,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;AAC3C,CAAC;AAFD,0BAEC;AAED,SAAgB,MAAM,CAAC,GAAW;IAChC,OAAO,cAAc,CAAC,uBAAQ,CAAC,GAAG,EAAE,GAAG,CAAC,CAAA;AAC1C,CAAC;AAFD,wBAEC;AAED,SAAgB,QAAQ,CAAC,GAAW;IAClC,OAAO,cAAc,CAAC,uBAAQ,CAAC,KAAK,EAAE,GAAG,CAAC,CAAA;AAC5C,CAAC;AAFD,4BAEC;AAED,SAAgB,SAAS,CAAC,GAAW;IACnC,OAAO,cAAc,CAAC,uBAAQ,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AAC7C,CAAC;AAFD,8BAEC;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;AAPD,8BAOC"}
@@ -44,35 +44,25 @@ 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 {
48
- new (...args: unknown[]): object;
49
- }>(ctor: T) => void;
47
+ export declare function Authentication(authMiddleware: DBOSHttpAuthMiddleware): <T extends new (...args: unknown[]) => object>(ctor: T) => void;
50
48
  /**
51
49
  * Define a Koa body parser applied before any middleware. If not set, the default @koa/bodyparser is used.
52
50
  */
53
- export declare function KoaBodyParser(koaBodyParser: Koa.Middleware): <T extends {
54
- new (...args: unknown[]): object;
55
- }>(ctor: T) => void;
51
+ export declare function KoaBodyParser(koaBodyParser: Koa.Middleware): <T extends new (...args: unknown[]) => object>(ctor: T) => void;
56
52
  /**
57
53
  * Define a Koa CORS policy applied before any middleware. If not set, the default @koa/cors (w/ .yaml config) is used.
58
54
  */
59
- export declare function KoaCors(koaCors: Koa.Middleware): <T extends {
60
- new (...args: unknown[]): object;
61
- }>(ctor: T) => void;
55
+ export declare function KoaCors(koaCors: Koa.Middleware): <T extends new (...args: unknown[]) => object>(ctor: T) => void;
62
56
  /**
63
57
  * Define Koa middleware that is applied in order to each endpoint in this class.
64
58
  */
65
- export declare function KoaMiddleware(...koaMiddleware: Koa.Middleware[]): <T extends {
66
- new (...args: unknown[]): object;
67
- }>(ctor: T) => void;
59
+ export declare function KoaMiddleware(...koaMiddleware: Koa.Middleware[]): <T extends new (...args: unknown[]) => object>(ctor: T) => void;
68
60
  type SecurityScheme = Exclude<OpenApi3.SecuritySchemeObject, OpenApi3.OAuth2SecurityScheme>;
69
61
  /**
70
62
  * Declare an OpenApi Security Scheme (https://spec.openapis.org/oas/v3.0.3#security-scheme-object
71
63
  * for the methods of a class. Note, this decorator is only used in OpenApi generation and does not
72
64
  * affect runtime behavior of the app.
73
65
  */
74
- export declare function OpenApiSecurityScheme(securityScheme: SecurityScheme): <T extends {
75
- new (...args: unknown[]): object;
76
- }>(_ctor: T) => void;
66
+ export declare function OpenApiSecurityScheme(securityScheme: SecurityScheme): <T extends new (...args: unknown[]) => object>(_ctor: T) => void;
77
67
  export {};
78
68
  //# sourceMappingURL=middleware.d.ts.map
@@ -1 +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EAAE,GAAG,CAAC,UAAU,4BAChB,OAAO,EAAE,KAAG,MAAM,QAAU,CAAC,UAKvE;AAED;;GAEG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,UAAU,4BACJ,OAAO,EAAE,KAAG,MAAM,QAAU,CAAC,UAKvE;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,GAAG,aAAa,EAAE,GAAG,CAAC,UAAU,EAAE,4BAMrB,OAAO,EAAE,KAAG,MAAM,QAAU,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,4BACxB,OAAO,EAAE,KAAG,MAAM,SAAW,CAAC,UACzE"}
@@ -1,11 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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;
3
+ exports.OpenApiSecurityScheme = exports.KoaMiddleware = exports.KoaCors = exports.KoaBodyParser = exports.Authentication = exports.MiddlewareClassRegistration = void 0;
9
4
  const decorators_1 = require("../decorators");
10
5
  const error_1 = require("../error");
11
6
  class MiddlewareClassRegistration extends decorators_1.ClassRegistration {
@@ -34,6 +29,7 @@ function Authentication(authMiddleware) {
34
29
  }
35
30
  return clsdec;
36
31
  }
32
+ exports.Authentication = Authentication;
37
33
  /**
38
34
  * Define a Koa body parser applied before any middleware. If not set, the default @koa/bodyparser is used.
39
35
  */
@@ -44,6 +40,7 @@ function KoaBodyParser(koaBodyParser) {
44
40
  }
45
41
  return clsdec;
46
42
  }
43
+ exports.KoaBodyParser = KoaBodyParser;
47
44
  /**
48
45
  * Define a Koa CORS policy applied before any middleware. If not set, the default @koa/cors (w/ .yaml config) is used.
49
46
  */
@@ -54,6 +51,7 @@ function KoaCors(koaCors) {
54
51
  }
55
52
  return clsdec;
56
53
  }
54
+ exports.KoaCors = KoaCors;
57
55
  /**
58
56
  * Define Koa middleware that is applied in order to each endpoint in this class.
59
57
  */
@@ -69,6 +67,7 @@ function KoaMiddleware(...koaMiddleware) {
69
67
  }
70
68
  return clsdec;
71
69
  }
70
+ exports.KoaMiddleware = KoaMiddleware;
72
71
  /**
73
72
  * Declare an OpenApi Security Scheme (https://spec.openapis.org/oas/v3.0.3#security-scheme-object
74
73
  * for the methods of a class. Note, this decorator is only used in OpenApi generation and does not
@@ -78,4 +77,5 @@ function KoaMiddleware(...koaMiddleware) {
78
77
  function OpenApiSecurityScheme(securityScheme) {
79
78
  return function (_ctor) { };
80
79
  }
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":";;;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,OAAO,CAAkB;IACzB,cAAc,CAAoB;IAElC,YAAY,IAAQ;QAClB,KAAK,CAAC,IAAI,CAAC,CAAC;IACd,CAAC;CACF;AATD,kEASC;AAED,iCAAiC;AACjC,iCAAiC;AACjC,iCAAiC;AAEjC;;GAEG;AACH,SAAgB,cAAc,CAAC,cAAsC;IACnE,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;QACjC,MAAM,IAAI,wCAAgC,CAAC,gBAAgB,CAAC,CAAC;IAC/D,CAAC;IACD,SAAS,MAAM,CAAgD,IAAO;QACpE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AAC;YACpB,MAAM,IAAI,wCAAgC,CAAC,eAAe,CAAC,CAAC;QAC9D,CAAC;IACH,CAAC,CAAC,CAAC;IACH,SAAS,MAAM,CAAgD,IAAO;QACpE,MAAM,MAAM,GAAG,IAAA,yCAA4B,EAAC,IAAI,CAAmC,CAAC;QACpF,MAAM,CAAC,cAAc,GAAG,aAAa,CAAC;IACxC,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAXD,sCAWC;AASD;;;;GAIG;AACH,6DAA6D;AAC7D,SAAgB,qBAAqB,CAAC,cAA8B;IAClE,OAAO,UAAyD,KAAQ,IAAI,CAAC,CAAA;AAC/E,CAAC;AAFD,sDAEC"}
@@ -1,3 +1,6 @@
1
+ /// <reference types="koa__router" />
2
+ /// <reference types="node" />
3
+ /// <reference types="node/http" />
1
4
  import Koa from 'koa';
2
5
  import Router from '@koa/router';
3
6
  import { DBOSExecutor } from "../dbos-executor";