@cadenza.io/core 1.7.9 → 1.7.11
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/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +12 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -366,7 +366,7 @@ declare class SignalParticipant extends SignalEmitter {
|
|
|
366
366
|
destroy(): void;
|
|
367
367
|
}
|
|
368
368
|
|
|
369
|
-
type SchemaType = "string" | "number" | "boolean" | "array" | "object" | "
|
|
369
|
+
type SchemaType = "string" | "number" | "boolean" | "array" | "object" | "any";
|
|
370
370
|
type SchemaConstraints = {
|
|
371
371
|
min?: number;
|
|
372
372
|
max?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -366,7 +366,7 @@ declare class SignalParticipant extends SignalEmitter {
|
|
|
366
366
|
destroy(): void;
|
|
367
367
|
}
|
|
368
368
|
|
|
369
|
-
type SchemaType = "string" | "number" | "boolean" | "array" | "object" | "
|
|
369
|
+
type SchemaType = "string" | "number" | "boolean" | "array" | "object" | "any";
|
|
370
370
|
type SchemaConstraints = {
|
|
371
371
|
min?: number;
|
|
372
372
|
max?: number;
|
package/dist/index.js
CHANGED
|
@@ -1044,7 +1044,12 @@ var GraphNode = class _GraphNode extends SignalEmitter {
|
|
|
1044
1044
|
};
|
|
1045
1045
|
}
|
|
1046
1046
|
log() {
|
|
1047
|
-
console.log(
|
|
1047
|
+
console.log(
|
|
1048
|
+
"Node execution:",
|
|
1049
|
+
this.task.name,
|
|
1050
|
+
this.context.getFullContext(),
|
|
1051
|
+
this.routineExecId
|
|
1052
|
+
);
|
|
1048
1053
|
}
|
|
1049
1054
|
};
|
|
1050
1055
|
|
|
@@ -1346,6 +1351,12 @@ var Task = class extends SignalParticipant {
|
|
|
1346
1351
|
if (key in properties) {
|
|
1347
1352
|
const prop = properties[key];
|
|
1348
1353
|
const propType = prop.type;
|
|
1354
|
+
if (propType === "any") {
|
|
1355
|
+
continue;
|
|
1356
|
+
}
|
|
1357
|
+
if ((value === void 0 || value === null) && !prop.strict) {
|
|
1358
|
+
continue;
|
|
1359
|
+
}
|
|
1349
1360
|
if (propType === "string" && typeof value !== "string") {
|
|
1350
1361
|
errors[`${path}.${key}`] = `Expected 'string' for '${key}', got '${typeof value}'`;
|
|
1351
1362
|
} else if (propType === "number" && typeof value !== "number") {
|