@juhuu/sdk-ts 1.2.275 → 1.2.276
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 +2 -3
- package/dist/index.d.ts +2 -3
- package/dist/index.js +0 -16
- package/dist/index.mjs +0 -16
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1709,10 +1709,9 @@ declare class FlowsService extends Service {
|
|
|
1709
1709
|
update(FlowUpdateParams: JUHUU.Flow.Update.Params, FlowUpdateOptions?: JUHUU.Flow.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Flow.Update.Response>>;
|
|
1710
1710
|
delete(FlowDeleteParams: JUHUU.Flow.Delete.Params, FlowDeleteOptions?: JUHUU.Flow.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Flow.Delete.Response>>;
|
|
1711
1711
|
execute(FlowExecuteParams: JUHUU.Flow.Execute.Params, FlowExecuteOptions?: JUHUU.Flow.Execute.Options): Promise<JUHUU.HttpResponse<JUHUU.Flow.Execute.Response>>;
|
|
1712
|
-
private areInputsAvailable;
|
|
1713
1712
|
private resolveInputs;
|
|
1714
|
-
|
|
1715
|
-
|
|
1713
|
+
isInputConnected(block: FlowBlock, inputName: string): boolean;
|
|
1714
|
+
blockExecutors: Partial<Record<FlowBlock["type"], BlockExecutor>>;
|
|
1716
1715
|
executeLocally(FlowExecuteLocallyParams: JUHUU.Flow.ExecuteLocally.Params, FlowExecuteLocallyOptions?: JUHUU.Flow.ExecuteLocally.Options): Promise<JUHUU.Flow.ExecuteLocally.Response>;
|
|
1717
1716
|
}
|
|
1718
1717
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1709,10 +1709,9 @@ declare class FlowsService extends Service {
|
|
|
1709
1709
|
update(FlowUpdateParams: JUHUU.Flow.Update.Params, FlowUpdateOptions?: JUHUU.Flow.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Flow.Update.Response>>;
|
|
1710
1710
|
delete(FlowDeleteParams: JUHUU.Flow.Delete.Params, FlowDeleteOptions?: JUHUU.Flow.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Flow.Delete.Response>>;
|
|
1711
1711
|
execute(FlowExecuteParams: JUHUU.Flow.Execute.Params, FlowExecuteOptions?: JUHUU.Flow.Execute.Options): Promise<JUHUU.HttpResponse<JUHUU.Flow.Execute.Response>>;
|
|
1712
|
-
private areInputsAvailable;
|
|
1713
1712
|
private resolveInputs;
|
|
1714
|
-
|
|
1715
|
-
|
|
1713
|
+
isInputConnected(block: FlowBlock, inputName: string): boolean;
|
|
1714
|
+
blockExecutors: Partial<Record<FlowBlock["type"], BlockExecutor>>;
|
|
1716
1715
|
executeLocally(FlowExecuteLocallyParams: JUHUU.Flow.ExecuteLocally.Params, FlowExecuteLocallyOptions?: JUHUU.Flow.ExecuteLocally.Options): Promise<JUHUU.Flow.ExecuteLocally.Response>;
|
|
1717
1716
|
}
|
|
1718
1717
|
|
package/dist/index.js
CHANGED
|
@@ -3688,22 +3688,6 @@ var FlowsService = class extends Service {
|
|
|
3688
3688
|
FlowExecuteOptions
|
|
3689
3689
|
);
|
|
3690
3690
|
}
|
|
3691
|
-
areInputsAvailable(block, outputStore, edgeArray) {
|
|
3692
|
-
if (block.in === null || block.in === void 0) {
|
|
3693
|
-
return true;
|
|
3694
|
-
}
|
|
3695
|
-
return Object.values(block.in).every((edgeId) => {
|
|
3696
|
-
const edge = edgeArray.find((e) => e.id === edgeId);
|
|
3697
|
-
if (edge === void 0) {
|
|
3698
|
-
return false;
|
|
3699
|
-
}
|
|
3700
|
-
if (edge.type === "control") {
|
|
3701
|
-
return true;
|
|
3702
|
-
}
|
|
3703
|
-
const srcOutputs = outputStore[edge.from.blockId];
|
|
3704
|
-
return srcOutputs !== null && srcOutputs !== void 0 && edge.from.output in srcOutputs;
|
|
3705
|
-
});
|
|
3706
|
-
}
|
|
3707
3691
|
resolveInputs(block, outputStore, edgeArray) {
|
|
3708
3692
|
const inputs = {};
|
|
3709
3693
|
if (block.in === void 0) {
|
package/dist/index.mjs
CHANGED
|
@@ -3644,22 +3644,6 @@ var FlowsService = class extends Service {
|
|
|
3644
3644
|
FlowExecuteOptions
|
|
3645
3645
|
);
|
|
3646
3646
|
}
|
|
3647
|
-
areInputsAvailable(block, outputStore, edgeArray) {
|
|
3648
|
-
if (block.in === null || block.in === void 0) {
|
|
3649
|
-
return true;
|
|
3650
|
-
}
|
|
3651
|
-
return Object.values(block.in).every((edgeId) => {
|
|
3652
|
-
const edge = edgeArray.find((e) => e.id === edgeId);
|
|
3653
|
-
if (edge === void 0) {
|
|
3654
|
-
return false;
|
|
3655
|
-
}
|
|
3656
|
-
if (edge.type === "control") {
|
|
3657
|
-
return true;
|
|
3658
|
-
}
|
|
3659
|
-
const srcOutputs = outputStore[edge.from.blockId];
|
|
3660
|
-
return srcOutputs !== null && srcOutputs !== void 0 && edge.from.output in srcOutputs;
|
|
3661
|
-
});
|
|
3662
|
-
}
|
|
3663
3647
|
resolveInputs(block, outputStore, edgeArray) {
|
|
3664
3648
|
const inputs = {};
|
|
3665
3649
|
if (block.in === void 0) {
|