@cadenza.io/service 2.17.29 → 2.17.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +59 -52
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/index.mjs +18 -11
- package/dist/browser/index.mjs.map +1 -1
- package/dist/index.js +59 -52
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -248,6 +248,9 @@ var DatabaseTask = class extends DeputyTask {
|
|
|
248
248
|
}
|
|
249
249
|
};
|
|
250
250
|
|
|
251
|
+
// src/registry/ServiceRegistry.ts
|
|
252
|
+
import { GraphContext as GraphContext2 } from "@cadenza.io/core";
|
|
253
|
+
|
|
251
254
|
// src/utils/environment.ts
|
|
252
255
|
var isNode = typeof process !== "undefined" && process.versions?.node != null;
|
|
253
256
|
var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined";
|
|
@@ -777,11 +780,15 @@ function resolveServiceRegistryInsertTask(tableName, queryData = {}, options = {
|
|
|
777
780
|
delegationContext.__metadata.__skipRemoteExecution = delegationContext.__metadata.__skipRemoteExecution ?? delegationContext.__skipRemoteExecution ?? false;
|
|
778
781
|
delegationContext.__metadata.__blockRemoteExecution = delegationContext.__metadata.__blockRemoteExecution ?? delegationContext.__blockRemoteExecution ?? false;
|
|
779
782
|
return Promise.resolve(
|
|
780
|
-
targetTask.
|
|
781
|
-
delegationContext,
|
|
783
|
+
targetTask.execute(
|
|
784
|
+
new GraphContext2(delegationContext),
|
|
782
785
|
emit,
|
|
783
786
|
inquire,
|
|
784
|
-
progressCallback
|
|
787
|
+
progressCallback,
|
|
788
|
+
{
|
|
789
|
+
nodeId: delegationContext.__previousTaskExecutionId ?? delegationContext.__metadata?.__previousTaskExecutionId ?? `service-registry-${tableName}`,
|
|
790
|
+
routineExecId: delegationContext.__routineExecId ?? delegationContext.__metadata?.__routineExecId ?? delegationContext.__metadata?.__localRoutineExecId ?? "service-registry"
|
|
791
|
+
}
|
|
785
792
|
)
|
|
786
793
|
).then(
|
|
787
794
|
(result) => normalizeServiceRegistryInsertResult(
|
|
@@ -3374,9 +3381,9 @@ var ServiceRegistry = class _ServiceRegistry {
|
|
|
3374
3381
|
};
|
|
3375
3382
|
|
|
3376
3383
|
// src/graph/definition/SignalTransmissionTask.ts
|
|
3377
|
-
import { Task as
|
|
3384
|
+
import { Task as Task3 } from "@cadenza.io/core";
|
|
3378
3385
|
import { v4 as uuid3 } from "uuid";
|
|
3379
|
-
var SignalTransmissionTask = class extends
|
|
3386
|
+
var SignalTransmissionTask = class extends Task3 {
|
|
3380
3387
|
/**
|
|
3381
3388
|
* Constructs a new instance of the class and initializes it with the provided parameters.
|
|
3382
3389
|
*
|
|
@@ -8289,7 +8296,7 @@ function tableFieldTypeToSchemaType(type) {
|
|
|
8289
8296
|
import { v4 as uuid5 } from "uuid";
|
|
8290
8297
|
|
|
8291
8298
|
// src/graph/controllers/GraphSyncController.ts
|
|
8292
|
-
import { GraphContext as
|
|
8299
|
+
import { GraphContext as GraphContext4 } from "@cadenza.io/core";
|
|
8293
8300
|
var ACTOR_TASK_METADATA = /* @__PURE__ */ Symbol.for("@cadenza.io/core/actor-task-meta");
|
|
8294
8301
|
function getActorTaskRuntimeMetadata(taskFunction) {
|
|
8295
8302
|
if (typeof taskFunction !== "function") {
|
|
@@ -8428,7 +8435,7 @@ function resolveSyncInsertTask(isCadenzaDBReady, tableName, queryData = {}, opti
|
|
|
8428
8435
|
return false;
|
|
8429
8436
|
}
|
|
8430
8437
|
return targetTask.execute(
|
|
8431
|
-
new
|
|
8438
|
+
new GraphContext4({
|
|
8432
8439
|
...ctx,
|
|
8433
8440
|
queryData: buildSyncInsertQueryData(
|
|
8434
8441
|
ctx,
|
|
@@ -11397,8 +11404,8 @@ import {
|
|
|
11397
11404
|
Actor as Actor2,
|
|
11398
11405
|
DebounceTask as DebounceTask2,
|
|
11399
11406
|
EphemeralTask as EphemeralTask2,
|
|
11400
|
-
GraphRoutine as
|
|
11401
|
-
Task as
|
|
11407
|
+
GraphRoutine as GraphRoutine3,
|
|
11408
|
+
Task as Task6
|
|
11402
11409
|
} from "@cadenza.io/core";
|
|
11403
11410
|
|
|
11404
11411
|
// src/ssr/createSSRInquiryBridge.ts
|
|
@@ -11681,13 +11688,13 @@ export {
|
|
|
11681
11688
|
DeputyTask,
|
|
11682
11689
|
EphemeralTask2 as EphemeralTask,
|
|
11683
11690
|
GraphMetadataController,
|
|
11684
|
-
|
|
11691
|
+
GraphRoutine3 as GraphRoutine,
|
|
11685
11692
|
RestController,
|
|
11686
11693
|
ServiceRegistry,
|
|
11687
11694
|
SignalController,
|
|
11688
11695
|
SignalTransmissionTask,
|
|
11689
11696
|
SocketController,
|
|
11690
|
-
|
|
11697
|
+
Task6 as Task,
|
|
11691
11698
|
createSSRInquiryBridge,
|
|
11692
11699
|
index_default as default
|
|
11693
11700
|
};
|