@dbos-inc/dbos-sdk 1.17.4-preview → 1.17.5-preview

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. package/dist/src/dbos-executor.d.ts +15 -1
  2. package/dist/src/dbos-executor.d.ts.map +1 -1
  3. package/dist/src/dbos-executor.js +109 -2
  4. package/dist/src/dbos-executor.js.map +1 -1
  5. package/dist/src/dbos-runtime/cli.d.ts +1 -0
  6. package/dist/src/dbos-runtime/cli.d.ts.map +1 -1
  7. package/dist/src/dbos-runtime/cli.js +4 -0
  8. package/dist/src/dbos-runtime/cli.js.map +1 -1
  9. package/dist/src/dbos-runtime/config.d.ts +1 -0
  10. package/dist/src/dbos-runtime/config.d.ts.map +1 -1
  11. package/dist/src/dbos-runtime/config.js +11 -1
  12. package/dist/src/dbos-runtime/config.js.map +1 -1
  13. package/dist/src/debugger/debug_workflow.d.ts +5 -1
  14. package/dist/src/debugger/debug_workflow.d.ts.map +1 -1
  15. package/dist/src/debugger/debug_workflow.js +83 -13
  16. package/dist/src/debugger/debug_workflow.js.map +1 -1
  17. package/dist/src/decorators.d.ts +4 -0
  18. package/dist/src/decorators.d.ts.map +1 -1
  19. package/dist/src/decorators.js +11 -1
  20. package/dist/src/decorators.js.map +1 -1
  21. package/dist/src/httpServer/handler.d.ts.map +1 -1
  22. package/dist/src/httpServer/handler.js +6 -1
  23. package/dist/src/httpServer/handler.js.map +1 -1
  24. package/dist/src/index.d.ts +2 -1
  25. package/dist/src/index.d.ts.map +1 -1
  26. package/dist/src/index.js +2 -1
  27. package/dist/src/index.js.map +1 -1
  28. package/dist/src/procedure.d.ts +29 -0
  29. package/dist/src/procedure.d.ts.map +1 -0
  30. package/dist/src/procedure.js +17 -0
  31. package/dist/src/procedure.js.map +1 -0
  32. package/dist/src/testing/testing_runtime.d.ts.map +1 -1
  33. package/dist/src/testing/testing_runtime.js +3 -1
  34. package/dist/src/testing/testing_runtime.js.map +1 -1
  35. package/dist/src/user_database.d.ts +1 -0
  36. package/dist/src/user_database.d.ts.map +1 -1
  37. package/dist/src/user_database.js +13 -1
  38. package/dist/src/user_database.js.map +1 -1
  39. package/dist/src/workflow.d.ts +16 -27
  40. package/dist/src/workflow.d.ts.map +1 -1
  41. package/dist/src/workflow.js +222 -20
  42. package/dist/src/workflow.js.map +1 -1
  43. package/dist/tsconfig.build.tsbuildinfo +1 -1
  44. package/package.json +2 -1
@@ -1 +1 @@
1
- {"version":3,"file":"debug_workflow.d.ts","sourceRoot":"","sources":["../../../src/debugger/debug_workflow.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAqC,MAAM,kBAAkB,CAAC;AAEnF,OAAO,EAAE,WAAW,EAA0B,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAI/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAA2B,MAAM,eAAe,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,gBAAgB,EAAE,QAAQ,EAAE,cAAc,EAAE,eAAe,EAAE,cAAc,EAAkB,MAAM,aAAa,CAAC;AACtJ,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGxD,UAAU,cAAc,CAAC,CAAC;IACxB,MAAM,EAAE,CAAC,CAAC;IACV,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,eAAgB,YAAW,eAAe;;IAKgB,QAAQ,CAAC,cAAc,EAAE,cAAc;IAJzI,UAAU,EAAE,MAAM,CAAK;IAEvB,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;gBAErB,QAAQ,EAAE,YAAY,EAAE,SAAS,EAAE,eAAe,GAAG,SAAS,EAAE,YAAY,EAAE,MAAM,EAAW,cAAc,EAAE,cAAc,EACvI,Y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AAE,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC;IAY/G,gBAAgB,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM,GAAG,cAAc,CAAC,CAAC,CAAC;IAMpD,OAAO,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAKjC,KAAK,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAGtC"}
@@ -1,4 +1,7 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.WorkflowContextDebug = void 0;
4
7
  /* eslint-disable @typescript-eslint/no-explicit-any */
@@ -9,6 +12,8 @@ const serialize_error_1 = require("serialize-error");
9
12
  const context_1 = require("../context");
10
13
  const decorators_1 = require("../decorators");
11
14
  const utils_1 = require("../utils");
15
+ const procedure_1 = require("../procedure");
16
+ const node_assert_1 = __importDefault(require("node:assert"));
12
17
  /**
13
18
  * Context used for debugging a workflow
14
19
  */
@@ -41,12 +46,12 @@ class WorkflowContextDebug extends context_1.DBOSContextImpl {
41
46
  const proxy = {};
42
47
  for (const op of ops) {
43
48
  proxy[op.name] = op.txnConfig
44
- ?
45
- (...args) => this.transaction(op.registeredFunction, null, ...args)
49
+ ? (...args) => this.transaction(op.registeredFunction, null, ...args)
46
50
  : op.commConfig
47
- ?
48
- (...args) => this.external(op.registeredFunction, null, ...args)
49
- : undefined;
51
+ ? (...args) => this.external(op.registeredFunction, null, ...args)
52
+ : op.procConfig
53
+ ? (...args) => this.procedure(op.registeredFunction, ...args)
54
+ : undefined;
50
55
  }
51
56
  return proxy;
52
57
  }
@@ -56,20 +61,18 @@ class WorkflowContextDebug extends context_1.DBOSContextImpl {
56
61
  const proxy = {};
57
62
  for (const op of ops) {
58
63
  proxy[op.name] = op.txnConfig
59
- ?
60
- (...args) => this.transaction(op.registeredFunction, targetInst, ...args)
64
+ ? (...args) => this.transaction(op.registeredFunction, targetInst, ...args)
61
65
  : op.commConfig
62
- ?
63
- (...args) => this.external(op.registeredFunction, targetInst, ...args)
66
+ ? (...args) => this.external(op.registeredFunction, targetInst, ...args)
64
67
  : undefined;
65
68
  }
66
69
  return proxy;
67
70
  }
68
71
  }
69
- async checkExecution(client, funcID) {
72
+ async #checkExecution(queryFunc, funcID) {
70
73
  // Note: we read the recorded snapshot and transaction ID!
71
74
  const query = "SELECT output, error, txn_snapshot, txn_id FROM dbos.transaction_outputs WHERE workflow_uuid=$1 AND function_id=$2";
72
- const rows = await this.#dbosExec.userDatabase.queryWithClient(client, query, this.workflowUUID, funcID);
75
+ const rows = await queryFunc(query, [this.workflowUUID, funcID]);
73
76
  if (rows.length === 0 || rows.length > 1) {
74
77
  this.logger.error("Unexpected! This should never happen during debug. Found incorrect rows for transaction output. Returned rows: " + rows.toString() + `. WorkflowUUID ${this.workflowUUID}, function ID ${funcID}`);
75
78
  throw new error_1.DBOSDebuggerError(`This should never happen during debug. Found incorrect rows for transaction output. Returned ${rows.length} rows: ` + rows.toString());
@@ -84,10 +87,18 @@ class WorkflowContextDebug extends context_1.DBOSContextImpl {
84
87
  };
85
88
  if (this.#dbosExec.debugProxy) {
86
89
  // Send a signal to the debug proxy.
87
- await this.#dbosExec.userDatabase.queryWithClient(client, `--proxy:${res.txn_id ?? ''}:${res.txn_snapshot}`);
90
+ await queryFunc(`--proxy:${res.txn_id ?? ''}:${res.txn_snapshot}`, []);
88
91
  }
89
92
  return res;
90
93
  }
94
+ async checkTxExecution(client, funcID) {
95
+ const func = (sql, args) => this.#dbosExec.userDatabase.queryWithClient(client, sql, ...args);
96
+ return this.#checkExecution(func, funcID);
97
+ }
98
+ async checkProcExecution(client, funcID) {
99
+ const func = (sql, args) => client.query(sql, args).then(v => v.rows);
100
+ return this.#checkExecution(func, funcID);
101
+ }
91
102
  /**
92
103
  * Execute a transactional function in debug mode.
93
104
  * If a debug proxy is provided, it connects to a debug proxy and everything should be read-only.
@@ -112,7 +123,7 @@ class WorkflowContextDebug extends context_1.DBOSContextImpl {
112
123
  const wrappedTransaction = async (client) => {
113
124
  // Original result must exist during replay.
114
125
  const tCtxt = new transaction_1.TransactionContextImpl(this.#dbosExec.userDatabase.getName(), client, this, span, this.#dbosExec.logger, funcID, txn.name);
115
- check = await this.checkExecution(client, funcID);
126
+ check = await this.checkTxExecution(client, funcID);
116
127
  if (check instanceof Error) {
117
128
  if (this.#dbosExec.debugProxy) {
118
129
  this.logger.warn(`original transaction ${txn.name} failed with error: ${check.message}`);
@@ -150,6 +161,65 @@ class WorkflowContextDebug extends context_1.DBOSContextImpl {
150
161
  }
151
162
  return check.output; // Always return the recorded result.
152
163
  }
164
+ async procedure(proc, ...args) {
165
+ const procInfo = this.#dbosExec.getProcedureInfo(proc);
166
+ if (procInfo === undefined) {
167
+ throw new error_1.DBOSDebuggerError(proc.name);
168
+ }
169
+ const funcId = this.functionIDGetIncrement();
170
+ const span = this.#dbosExec.tracer.startSpan(proc.name, {
171
+ operationUUID: this.workflowUUID,
172
+ operationType: dbos_executor_1.OperationType.PROCEDURE,
173
+ authenticatedUser: this.authenticatedUser,
174
+ assumedRole: this.assumedRole,
175
+ authenticatedRoles: this.authenticatedRoles,
176
+ readOnly: procInfo.config.readOnly ?? false,
177
+ isolationLevel: procInfo.config.isolationLevel ?? transaction_1.IsolationLevel.Serializable,
178
+ }, this.span);
179
+ let check;
180
+ const wrappedProcedure = async (client) => {
181
+ check = await this.checkProcExecution(client, funcId);
182
+ const procCtxt = new procedure_1.StoredProcedureContextImpl(client, this, span, this.#dbosExec.logger, proc.name);
183
+ if (check instanceof Error) {
184
+ if (this.#dbosExec.debugProxy) {
185
+ this.logger.warn(`original procedure ${proc.name} failed with error: ${check.message}`);
186
+ }
187
+ else {
188
+ throw check; // In direct mode, directly throw the error.
189
+ }
190
+ }
191
+ if (!this.#dbosExec.debugProxy) {
192
+ // Direct mode skips execution and return the recorded result.
193
+ return check.output;
194
+ }
195
+ // If we have a proxy, then execute the user's transaction.
196
+ const result = await proc(procCtxt, ...args);
197
+ return result;
198
+ };
199
+ let result;
200
+ try {
201
+ result = await this.#dbosExec.executeProcedure(wrappedProcedure, procInfo.config);
202
+ }
203
+ catch (e) {
204
+ result = e;
205
+ }
206
+ check = check;
207
+ result = result;
208
+ if (check instanceof Error) {
209
+ throw check;
210
+ }
211
+ // If returned nothing and the recorded value is also null/undefined, we just return it
212
+ if (result === undefined && !check.output) {
213
+ return result;
214
+ }
215
+ try {
216
+ node_assert_1.default.deepStrictEqual(result, check.output);
217
+ }
218
+ catch {
219
+ this.logger.error(`Detected different transaction output than the original one!\n Result: ${JSON.stringify(result)}\n Original: ${JSON.stringify(check.output)}`);
220
+ }
221
+ return check.output; // Always return the recorded result.
222
+ }
153
223
  async external(commFn, _clsinst, ..._args) {
154
224
  const commConfig = this.#dbosExec.getCommunicatorInfo(commFn);
155
225
  if (commConfig === undefined) {
@@ -1 +1 @@
1
- {"version":3,"file":"debug_workflow.js","sourceRoot":"","sources":["../../../src/debugger/debug_workflow.ts"],"names":[],"mappings":";;;AAAA,uDAAuD;AACvD,oDAAmF;AAEnF,gDAAqE;AAErE,oCAA6C;AAC7C,qDAAmD;AAInD,wCAA6C;AAC7C,8CAA4E;AAG5E,oCAAoC;AAQpC;;GAEG;AACH,MAAa,oBAAqB,SAAQ,yBAAe;IAKoD;IAJ3G,UAAU,GAAW,CAAC,CAAC;IACd,SAAS,CAAC;IACV,cAAc,CAAU;IAEjC,YAAY,QAAsB,EAAE,SAAsC,EAAE,YAAoB,EAAW,cAA8B,EACvI,YAAoB;QAEpB,MAAM,IAAI,GAAG,QAAQ,CAAC,MAAM,CAAC,SAAS,CACpC,YAAY,EACZ;YACE,aAAa,EAAE,YAAY;YAC3B,aAAa,EAAE,6BAAa,CAAC,QAAQ;YACrC,iBAAiB,EAAE,SAAS,EAAE,iBAAiB,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;IAED,KAAK,CAAC,SAAS;QACb,4BAA4B;QAC5B,MAAM,KAAK,GAAqC,MAAM,IAAI,CAAC,cAAc,CAAC,oBAAoB,CAAwB,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC9J,IAAI,KAAK,KAAK,wBAAQ,EAAE,CAAC;YACvB,MAAM,IAAI,yBAAiB,CAAC,uEAAuE,CAAC,CAAC;QACvG,CAAC;QACD,OAAO,KAA8B,CAAC;IACxC,CAAC;IAED,KAAK,CAAC,SAAS;QACb,OAAO,MAAM,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAI,IAAI,CAAC,YAAY,CAAC,CAAC;IAC3E,CAAC;IAED,KAAK,CAAC,iBAAiB;QACrB,OAAO,MAAM,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAI,IAAI,CAAC,YAAY,CAAM,CAAC;IAChF,CAAC;CACF"}
@@ -3,6 +3,7 @@ import { TransactionConfig, TransactionContext } from "./transaction";
3
3
  import { WorkflowConfig, WorkflowContext } from "./workflow";
4
4
  import { DBOSContext, InitContext } from "./context";
5
5
  import { CommunicatorConfig, CommunicatorContext } from "./communicator";
6
+ import { StoredProcedureConfig, StoredProcedureContext } from "./procedure";
6
7
  import { DBOSEventReceiver } from "./eventreceiver";
7
8
  /**
8
9
  * Any column type column can be.
@@ -56,6 +57,7 @@ export interface MethodRegistrationBase {
56
57
  workflowConfig?: WorkflowConfig;
57
58
  txnConfig?: TransactionConfig;
58
59
  commConfig?: CommunicatorConfig;
60
+ procConfig?: TransactionConfig;
59
61
  isInstance: boolean;
60
62
  eventReceiverInfo: Map<DBOSEventReceiver, unknown>;
61
63
  registeredFunction: Function | undefined;
@@ -75,6 +77,7 @@ export declare class MethodRegistration<This, Args extends unknown[], Return> im
75
77
  workflowConfig?: WorkflowConfig;
76
78
  txnConfig?: TransactionConfig;
77
79
  commConfig?: CommunicatorConfig;
80
+ procConfig?: TransactionConfig;
78
81
  eventReceiverInfo: Map<DBOSEventReceiver, unknown>;
79
82
  init: boolean;
80
83
  invoke(pthis: This, args: Args): Promise<Return>;
@@ -139,6 +142,7 @@ export declare function configureInstance<R extends ConfiguredInstance, T extend
139
142
  export declare function RequiredRole(anyOf: string[]): <This, Ctx extends DBOSContext, Args extends unknown[], Return>(target: object, propertyKey: string, inDescriptor: TypedPropertyDescriptor<(this: This, ctx: Ctx, ...args: Args) => Promise<Return>>) => TypedPropertyDescriptor<(this: This, ctx: Ctx, ...args: Args) => Promise<Return>>;
140
143
  export declare function Workflow(config?: WorkflowConfig): <This, Args extends unknown[], Return>(target: object, propertyKey: string, inDescriptor: TypedPropertyDescriptor<(this: This, ctx: WorkflowContext, ...args: Args) => Promise<Return>>) => TypedPropertyDescriptor<(this: This, ctx: WorkflowContext, ...args: Args) => Promise<Return>>;
141
144
  export declare function Transaction(config?: TransactionConfig): <This, Args extends unknown[], Return>(target: object, propertyKey: string, inDescriptor: TypedPropertyDescriptor<(this: This, ctx: TransactionContext<any>, ...args: Args) => Promise<Return>>) => TypedPropertyDescriptor<(this: This, ctx: TransactionContext<any>, ...args: Args) => Promise<Return>>;
145
+ export declare function StoredProcedure(config?: StoredProcedureConfig): <This, Args extends unknown[], Return>(target: object, propertyKey: string, inDescriptor: TypedPropertyDescriptor<(this: This, ctx: StoredProcedureContext, ...args: Args) => Promise<Return>>) => TypedPropertyDescriptor<(this: This, ctx: StoredProcedureContext, ...args: Args) => Promise<Return>>;
142
146
  export declare function Communicator(config?: CommunicatorConfig): <This, Args extends unknown[], Return>(target: object, propertyKey: string, inDescriptor: TypedPropertyDescriptor<(this: This, ctx: CommunicatorContext, ...args: Args) => Promise<Return>>) => TypedPropertyDescriptor<(this: This, ctx: CommunicatorContext, ...args: Args) => Promise<Return>>;
143
147
  export declare function OrmEntities(entities: Function[]): <T extends new (...args: unknown[]) => object>(ctor: T) => void;
144
148
  export declare function DBOSInitializer(): <This, Args extends unknown[], Return>(target: object, propertyKey: string, inDescriptor: TypedPropertyDescriptor<(this: This, ctx: InitContext, ...args: Args) => Promise<Return>>) => TypedPropertyDescriptor<(this: This, ctx: InitContext, ...args: Args) => Promise<Return>>;
@@ -1 +1 @@
1
- {"version":3,"file":"decorators.d.ts","sourceRoot":"","sources":["../../src/decorators.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAG1B,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAmB,WAAW,EAAE,MAAM,WAAW,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAGzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAE9H,qBAAa,YAAY;IACvB,QAAQ,EAAE,aAAa,CAAU;IACjC,MAAM,EAAE,MAAM,CAAM;IACpB,SAAS,EAAE,MAAM,CAAM;IACvB,KAAK,EAAE,MAAM,CAAM;IAEnB,yBAAyB;IACzB,MAAM,CAAC,OAAO,CAAC,MAAM,EAAE,MAAM;IAO7B,gFAAgF;IAChF,MAAM,CAAC,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAS/C,sCAAsC;IAEtC,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,QAAQ;IAkB5B,cAAc,IAAI,MAAM;CAczB;AAmBD,oBAAY,QAAQ;IAClB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,oBAAY,kBAAkB;IAC5B,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,OAAO,YAAY;CACpB;AAED,qBAAa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,IAAI,EAAE,IAAI,KAAK,QAAQ,MAAM,CAAC,CAAC,uGAOlH;AAGD,wBAAgB,WAAW,CAAC,QAAQ,EAAE,QAAQ,EAAE,4BAEJ,OAAO,EAAE,KAAI,MAAM,QAAU,CAAC,UAMzE;AAED,wBAAgB,eAAe,mDAEnB,MAAM,eACD,MAAM,gBACL,wBAAwB,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,IAAI,KAAK,QAAQ,MAAM,CAAC,CAAC,+FAO1G;AAGD,wBAAgB,UAAU,mDAEd,MAAM,eACD,MAAM,gBACL,wBAAwB,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,IAAI,KAAK,QAAQ,MAAM,CAAC,CAAC,+FAO1G"}
@@ -23,7 +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.DBOSDeploy = exports.DBOSInitializer = exports.OrmEntities = exports.Communicator = 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;
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;
27
27
  require("reflect-metadata");
28
28
  const crypto = __importStar(require("crypto"));
29
29
  const error_1 = require("./error");
@@ -147,6 +147,7 @@ class MethodRegistration {
147
147
  workflowConfig;
148
148
  txnConfig;
149
149
  commConfig;
150
+ procConfig;
150
151
  eventReceiverInfo = new Map();
151
152
  init = false;
152
153
  invoke(pthis, args) {
@@ -515,6 +516,15 @@ function Transaction(config = {}) {
515
516
  return decorator;
516
517
  }
517
518
  exports.Transaction = Transaction;
519
+ function StoredProcedure(config = {}) {
520
+ function decorator(target, propertyKey, inDescriptor) {
521
+ const { descriptor, registration } = registerAndWrapFunction(target, propertyKey, inDescriptor);
522
+ registration.procConfig = config;
523
+ return descriptor;
524
+ }
525
+ return decorator;
526
+ }
527
+ exports.StoredProcedure = StoredProcedure;
518
528
  function Communicator(config = {}) {
519
529
  function decorator(target, propertyKey, inDescriptor) {
520
530
  const { descriptor, registration } = registerAndWrapFunction(target, propertyKey, inDescriptor);
@@ -1 +1 @@
1
- {"version":3,"file":"decorators.js","sourceRoot":"","sources":["../../src/decorators.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4BAA0B;AAE1B,+CAAiC;AAKjC,mCAA4D;AAC5D,uDAAuD;AAQvD,MAAa,YAAY;IACvB,QAAQ,GAAkB,MAAM,C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Function, params, ...args)
94
94
  : op.commConfig
95
95
  ? (...args) => this.#external(op.registeredFunction, params, ...args)
96
- : undefined;
96
+ : op.procConfig
97
+ ? (...args) => this.#procedure(op.registeredFunction, params, ...args)
98
+ : undefined;
97
99
  }
98
100
  else {
99
101
  proxy[op.name] = op.workflowConfig
@@ -145,6 +147,9 @@ class HandlerContextImpl extends context_1.DBOSContextImpl {
145
147
  async #external(commFn, params, ...args) {
146
148
  return this.#dbosExec.external(commFn, params, ...args);
147
149
  }
150
+ async #procedure(proc, params, ...args) {
151
+ return this.#dbosExec.procedure(proc, params, ...args);
152
+ }
148
153
  }
149
154
  exports.HandlerContextImpl = HandlerContextImpl;
150
155
  class HandlerParameter extends decorators_1.MethodParameter {
@@ -1 +1 @@
1
- {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../src/httpServer/handler.ts"],"names":[],"mappings":";;;AAAA,8CAAiL;AACjL,oDAA+D;AAC/D,wCAA0D;AAI1D,8CAAgE;AAChE,4CAA+E;AAE/E,+BAAoC;AAEpC,iDAAsD;AAkDzC,QAAA,eAAe,GAAG,cAAc,CAAC;AAC9C,SAAS,sBAAsB,CAAC,GAAgB;IAC9C,MAAM,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,uBAAe,CAAC,CAAC;IACvC,IAAI,KAAK,EAAE,CAAC;QACV,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,KAAK,GAAG,IAAA,SAAM,GAAE,CAAC;IACvB,GAAG,CAAC,GAAG,CAAC,uBAAe,EAAE,KAAK,CAAC,CAAC;IAChC,OAAO,KAAK,CAAC;AACf,CAAC;AAED,MAAa,kBAAmB,SAAQ,yBAAe;IAIR;IAHpC,SAAS,CAAe;IACxB,yBAAyB,CAA4B;IAE9D,YAAY,QAAsB,EAAW,UAAuB;QAClE,sCAAsC;QACtC,MAAM,SAAS,GAAG,sBAAsB,CAAC,UAAU,CAAC,CAAC;QAErD,0DAA0D;QAC1D,MAAM,UAAU,GAAG,IAAI,gC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AS,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"}
@@ -1,11 +1,12 @@
1
1
  export { createTestingRuntime, TestingRuntime, } from './testing/testing_runtime';
2
2
  export { DBOSContext, InitContext, } from './context';
3
3
  export { TransactionContext, TransactionConfig, TransactionFunction, } from './transaction';
4
+ export { StoredProcedureContext, StoredProcedureConfig, } from './procedure';
4
5
  export { WorkflowContext, WorkflowConfig, WorkflowHandle, WorkflowFunction, StatusString, GetWorkflowsInput, GetWorkflowsOutput, } from './workflow';
5
6
  export { CommunicatorContext, CommunicatorConfig, CommunicatorFunction, } from './communicator';
6
7
  export * as Error from './error';
7
8
  export { DBOSResponseError } from './error';
8
- export { LogMasks, ArgRequired, ArgOptional, SkipLogging, LogMask, ArgName, ArgDate, ArgVarchar, DefaultRequiredRole, DefaultArgRequired, DefaultArgOptional, OrmEntities, ConfiguredInstance, configureInstance, Transaction, Workflow, Communicator, RequiredRole, DBOSInitializer, DBOSDeploy, associateMethodWithEventReceiver, associateClassWithEventReceiver, } from "./decorators";
9
+ export { LogMasks, ArgRequired, ArgOptional, SkipLogging, LogMask, ArgName, ArgDate, ArgVarchar, DefaultRequiredRole, DefaultArgRequired, DefaultArgOptional, OrmEntities, ConfiguredInstance, configureInstance, Transaction, Workflow, Communicator, StoredProcedure, RequiredRole, DBOSInitializer, DBOSDeploy, associateMethodWithEventReceiver, associateClassWithEventReceiver, } from "./decorators";
9
10
  export { ArgSources, } from "./httpServer/handlerTypes";
10
11
  export { HandlerContext, ArgSource, GetApi, PostApi, PatchApi, PutApi, DeleteApi } from "./httpServer/handler";
11
12
  export { DBOSHttpAuthMiddleware, DBOSHttpAuthReturn, MiddlewareContext, Authentication, KoaBodyParser, KoaCors, KoaMiddleware, OpenApiSecurityScheme } from "./httpServer/middleware";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,cAAc,GACf,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,WAAW,EACX,WAAW,GACZ,MAAM,WAAW,CAAC;AAEnB,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,eAAe,EACf,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,YAAY,CAAC;AAEpB,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,GACrB,MAAM,gBAAgB,CAAC;AAExB,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AAEjC,OAAO,EACL,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,QAAQ,EAGR,WAAW,EACX,WAAW,EACX,WAAW,EACX,OAAO,EACP,OAAO,EACP,OAAO,EACP,UAAU,EAGV,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAElB,WAAW,EAGX,kBAAkB,EAClB,iBAAiB,EAGjB,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,UAAU,EAGV,gCAAgC,EAChC,+BAA+B,GAChC,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,UAAU,GACX,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,cAAc,EAGd,SAAS,EAGT,MAAM,EACN,OAAO,EACP,QAAQ,EACR,MAAM,EACN,SAAS,EACV,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,EAGjB,cAAc,EACd,aAAa,EACb,OAAO,EACP,aAAa,EAGb,qBAAqB,EACtB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACL,KAAK,EACL,YAAY,GACb,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,aAAa,EACb,eAAe,EACf,SAAS,GACV,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,YAAY,EACZ,eAAe,GAChB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,iBAAiB,GAClB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,UAAU,GACX,MAAM,iBAAiB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,cAAc,GACf,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,WAAW,EACX,WAAW,GACZ,MAAM,WAAW,CAAC;AAEnB,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,aAAa,CAAC;AAErB,OAAO,EACL,eAAe,EACf,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,YAAY,CAAC;AAEpB,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,GACrB,MAAM,gBAAgB,CAAC;AAExB,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AAEjC,OAAO,EACL,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,QAAQ,EAGR,WAAW,EACX,WAAW,EACX,WAAW,EACX,OAAO,EACP,OAAO,EACP,OAAO,EACP,UAAU,EAGV,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAElB,WAAW,EAGX,kBAAkB,EAClB,iBAAiB,EAGjB,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,YAAY,EACZ,eAAe,EACf,UAAU,EAGV,gCAAgC,EAChC,+BAA+B,GAChC,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,UAAU,GACX,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,cAAc,EAGd,SAAS,EAGT,MAAM,EACN,OAAO,EACP,QAAQ,EACR,MAAM,EACN,SAAS,EACV,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,EAGjB,cAAc,EACd,aAAa,EACb,OAAO,EACP,aAAa,EAGb,qBAAqB,EACtB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACL,KAAK,EACL,YAAY,GACb,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,aAAa,EACb,eAAe,EACf,SAAS,GACV,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,YAAY,EACZ,eAAe,GAChB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,iBAAiB,GAClB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,UAAU,GACX,MAAM,iBAAiB,CAAA"}
package/dist/src/index.js CHANGED
@@ -23,7 +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.parseConfigFile = exports.Scheduled = exports.SchedulerConfig = exports.SchedulerMode = exports.KafkaConsume = exports.Kafka = exports.OpenApiSecurityScheme = exports.KoaMiddleware = exports.KoaCors = exports.KoaBodyParser = exports.Authentication = exports.DeleteApi = exports.PutApi = exports.PatchApi = exports.PostApi = exports.GetApi = exports.ArgSource = exports.ArgSources = exports.associateClassWithEventReceiver = exports.associateMethodWithEventReceiver = exports.DBOSDeploy = exports.DBOSInitializer = exports.RequiredRole = exports.Communicator = exports.Workflow = exports.Transaction = exports.configureInstance = exports.ConfiguredInstance = exports.OrmEntities = exports.DefaultArgOptional = exports.DefaultArgRequired = exports.DefaultRequiredRole = exports.ArgVarchar = exports.ArgDate = exports.ArgName = exports.LogMask = exports.SkipLogging = exports.ArgOptional = exports.ArgRequired = exports.LogMasks = exports.DBOSResponseError = exports.Error = exports.StatusString = exports.InitContext = exports.createTestingRuntime = void 0;
26
+ exports.parseConfigFile = exports.Scheduled = exports.SchedulerConfig = exports.SchedulerMode = exports.KafkaConsume = exports.Kafka = exports.OpenApiSecurityScheme = exports.KoaMiddleware = exports.KoaCors = exports.KoaBodyParser = exports.Authentication = exports.DeleteApi = exports.PutApi = exports.PatchApi = exports.PostApi = exports.GetApi = exports.ArgSource = exports.ArgSources = exports.associateClassWithEventReceiver = exports.associateMethodWithEventReceiver = exports.DBOSDeploy = exports.DBOSInitializer = exports.RequiredRole = exports.StoredProcedure = exports.Communicator = exports.Workflow = exports.Transaction = exports.configureInstance = exports.ConfiguredInstance = exports.OrmEntities = exports.DefaultArgOptional = exports.DefaultArgRequired = exports.DefaultRequiredRole = exports.ArgVarchar = exports.ArgDate = exports.ArgName = exports.LogMask = exports.SkipLogging = exports.ArgOptional = exports.ArgRequired = exports.LogMasks = exports.DBOSResponseError = exports.Error = exports.StatusString = exports.InitContext = exports.createTestingRuntime = void 0;
27
27
  var testing_runtime_1 = require("./testing/testing_runtime");
28
28
  Object.defineProperty(exports, "createTestingRuntime", { enumerable: true, get: function () { return testing_runtime_1.createTestingRuntime; } });
29
29
  var context_1 = require("./context");
@@ -56,6 +56,7 @@ Object.defineProperty(exports, "configureInstance", { enumerable: true, get: fun
56
56
  Object.defineProperty(exports, "Transaction", { enumerable: true, get: function () { return decorators_1.Transaction; } });
57
57
  Object.defineProperty(exports, "Workflow", { enumerable: true, get: function () { return decorators_1.Workflow; } });
58
58
  Object.defineProperty(exports, "Communicator", { enumerable: true, get: function () { return decorators_1.Communicator; } });
59
+ Object.defineProperty(exports, "StoredProcedure", { enumerable: true, get: function () { return decorators_1.StoredProcedure; } });
59
60
  Object.defineProperty(exports, "RequiredRole", { enumerable: true, get: function () { return decorators_1.RequiredRole; } });
60
61
  Object.defineProperty(exports, "DBOSInitializer", { enumerable: true, get: function () { return decorators_1.DBOSInitializer; } });
61
62
  Object.defineProperty(exports, "DBOSDeploy", { enumerable: true, get: function () { return decorators_1.DBOSDeploy; } });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6DAGmC;AAFjC,uHAAA,oBAAoB,OAAA;AAItB,qCAGmB;AADjB,sGAAA,WAAW,OAAA;AASb,uCAQoB;AAHlB,wGAAA,YAAY,OAAA;AAWd,iDAAiC;AAEjC,iCAEiB;AADf,0GAAA,iBAAiB,OAAA;AAGnB,2CAkCsB;AAjCpB,sGAAA,QAAQ,OAAA;AAER,uBAAuB;AACvB,yGAAA,WAAW,OAAA;AACX,yGAAA,WAAW,OAAA;AACX,yGAAA,WAAW,OAAA;AACX,qGAAA,OAAO,OAAA;AACP,qGAAA,OAAO,OAAA;AACP,qGAAA,OAAO,OAAA;AACP,wGAAA,UAAU,OAAA;AAEV,mBAAmB;AACnB,iHAAA,mBAAmB,OAAA;AACnB,gHAAA,kBAAkB,OAAA;AAClB,gHAAA,kBAAkB,OAAA;AAClB,2BAA2B;AAC3B,yGAAA,WAAW,OAAA;AAEX,kBAAkB;AAClB,gHAAA,kBAAkB,OAAA;AAClB,+GAAA,iBAAiB,OAAA;AAEjB,oBAAoB;AACpB,yGAAA,WAAW,OAAA;AACX,sGAAA,QAAQ,OAAA;AACR,0GAAA,YAAY,OAAA;AACZ,0GAAA,YAAY,OAAA;AACZ,6GAAA,eAAe,OAAA;AACf,wGAAA,UAAU,OAAA;AAEV,4DAA4D;AAC5D,8HAAA,gCAAgC,OAAA;A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,2BAA2B;AAC3B,yGAAA,WAAW,OAAA;AAEX,kBAAkB;AAClB,gHAAA,kBAAkB,OAAA;AAClB,+GAAA,iBAAiB,OAAA;AAEjB,oBAAoB;AACpB,yGAAA,WAAW,OAAA;AACX,sGAAA,QAAQ,OAAA;AACR,0GAAA,YAAY,OAAA;AACZ,6GAAA,eAAe,OAAA;AACf,0GAAA,YAAY,OAAA;AACZ,6GAAA,eAAe,OAAA;AACf,wGAAA,UAAU,OAAA;AAEV,4DAA4D;AAC5D,8HAAA,gCAAgC,OAAA;AAChC,6HAAA,+BAA+B,OAAA;AAGjC,0DAEmC;AADjC,0GAAA,UAAU,OAAA;AAGZ,gDAY8B;AAT5B,gCAAgC;AAChC,oGAAA,SAAS,OAAA;AAET,sBAAsB;AACtB,iGAAA,MAAM,OAAA;AACN,kGAAA,OAAO,OAAA;AACP,mGAAA,QAAQ,OAAA;AACR,iGAAA,MAAM,OAAA;AACN,oGAAA,SAAS,OAAA;AAGX,sDAaiC;AAR/B,wBAAwB;AACxB,4GAAA,cAAc,OAAA;AACd,2GAAA,aAAa,OAAA;AACb,qGAAA,OAAO,OAAA;AACP,2GAAA,aAAa,OAAA;AAEb,qBAAqB;AACrB,mHAAA,qBAAqB,OAAA;AAGvB,uCAGuB;AAFrB,8FAAA,KAAK,OAAA;AACL,qGAAA,YAAY,OAAA;AAGd,mDAI+B;AAH7B,0GAAA,aAAa,OAAA;AACb,4GAAA,eAAe,OAAA;AACf,sGAAA,SAAS,OAAA;AAQX,gDAG+B;AAD7B,yGAAA,eAAe,OAAA"}
@@ -0,0 +1,29 @@
1
+ import { DBOSContext, DBOSContextImpl } from "./context";
2
+ import { Span } from "@opentelemetry/sdk-trace-base";
3
+ import { GlobalLogger as Logger } from "./telemetry/logs";
4
+ import { WorkflowContextImpl } from "./workflow";
5
+ import { WorkflowContextDebug } from "./debugger/debug_workflow";
6
+ import { PoolClient } from "pg";
7
+ import { TransactionConfig } from "./transaction";
8
+ export interface QueryResultBase {
9
+ rowCount: number;
10
+ }
11
+ export interface StoredProcedureConfig extends TransactionConfig {
12
+ executeLocally?: boolean;
13
+ }
14
+ export interface QueryResultRow {
15
+ [column: string]: any;
16
+ }
17
+ export interface QueryResult<R extends QueryResultRow> extends QueryResultBase {
18
+ rows: R[];
19
+ }
20
+ export type StoredProcedure<R> = (ctxt: StoredProcedureContext, ...args: unknown[]) => Promise<R>;
21
+ export interface StoredProcedureContext extends Pick<DBOSContext, 'request' | 'workflowUUID' | 'authenticatedUser' | 'assumedRole' | 'authenticatedRoles' | 'logger'> {
22
+ query<R extends QueryResultRow>(sql: string, ...params: unknown[]): Promise<QueryResult<R>>;
23
+ }
24
+ export declare class StoredProcedureContextImpl extends DBOSContextImpl implements StoredProcedureContext {
25
+ readonly client: PoolClient;
26
+ constructor(client: PoolClient, workflowContext: WorkflowContextImpl | WorkflowContextDebug, span: Span, logger: Logger, operationName: string);
27
+ query<R extends QueryResultRow>(sql: string, params: unknown[]): Promise<QueryResult<R>>;
28
+ }
29
+ //# sourceMappingURL=procedure.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"procedure.d.ts","sourceRoot":"","sources":["../../src/procedure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACzD,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAE,YAAY,IAAI,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAChC,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAElD,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,qBAAsB,SAAQ,iBAAiB;IAC9D,cAA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