@lace-cloud/host 0.13.0 → 0.15.0
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/LICENSE +86 -13
- package/README.md +1 -1
- package/dist/index.cjs +175 -1043
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +57 -73
- package/dist/index.d.ts +57 -73
- package/dist/index.mjs +175 -1043
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/index.mjs
CHANGED
|
@@ -3278,7 +3278,7 @@ var TerraformBlock_RequiredProvidersEntry = {
|
|
|
3278
3278
|
}
|
|
3279
3279
|
};
|
|
3280
3280
|
function createBaseProviderRequirement() {
|
|
3281
|
-
return { source: "", version: "" };
|
|
3281
|
+
return { source: "", version: "", configuration_aliases: [] };
|
|
3282
3282
|
}
|
|
3283
3283
|
var ProviderRequirement = {
|
|
3284
3284
|
encode(message, writer = new BinaryWriter3()) {
|
|
@@ -3288,6 +3288,9 @@ var ProviderRequirement = {
|
|
|
3288
3288
|
if (message.version !== "") {
|
|
3289
3289
|
writer.uint32(18).string(message.version);
|
|
3290
3290
|
}
|
|
3291
|
+
for (const v of message.configuration_aliases) {
|
|
3292
|
+
writer.uint32(26).string(v);
|
|
3293
|
+
}
|
|
3291
3294
|
return writer;
|
|
3292
3295
|
},
|
|
3293
3296
|
decode(input, length) {
|
|
@@ -3311,6 +3314,13 @@ var ProviderRequirement = {
|
|
|
3311
3314
|
message.version = reader.string();
|
|
3312
3315
|
continue;
|
|
3313
3316
|
}
|
|
3317
|
+
case 3: {
|
|
3318
|
+
if (tag !== 26) {
|
|
3319
|
+
break;
|
|
3320
|
+
}
|
|
3321
|
+
message.configuration_aliases.push(reader.string());
|
|
3322
|
+
continue;
|
|
3323
|
+
}
|
|
3314
3324
|
}
|
|
3315
3325
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3316
3326
|
break;
|
|
@@ -3322,7 +3332,8 @@ var ProviderRequirement = {
|
|
|
3322
3332
|
fromJSON(object) {
|
|
3323
3333
|
return {
|
|
3324
3334
|
source: isSet2(object.source) ? globalThis.String(object.source) : "",
|
|
3325
|
-
version: isSet2(object.version) ? globalThis.String(object.version) : ""
|
|
3335
|
+
version: isSet2(object.version) ? globalThis.String(object.version) : "",
|
|
3336
|
+
configuration_aliases: globalThis.Array.isArray(object?.configurationAliases) ? object.configurationAliases.map((e) => globalThis.String(e)) : globalThis.Array.isArray(object?.configuration_aliases) ? object.configuration_aliases.map((e) => globalThis.String(e)) : []
|
|
3326
3337
|
};
|
|
3327
3338
|
},
|
|
3328
3339
|
toJSON(message) {
|
|
@@ -3333,6 +3344,9 @@ var ProviderRequirement = {
|
|
|
3333
3344
|
if (message.version !== "") {
|
|
3334
3345
|
obj.version = message.version;
|
|
3335
3346
|
}
|
|
3347
|
+
if (message.configuration_aliases?.length) {
|
|
3348
|
+
obj.configurationAliases = message.configuration_aliases;
|
|
3349
|
+
}
|
|
3336
3350
|
return obj;
|
|
3337
3351
|
},
|
|
3338
3352
|
create(base) {
|
|
@@ -3342,6 +3356,7 @@ var ProviderRequirement = {
|
|
|
3342
3356
|
const message = createBaseProviderRequirement();
|
|
3343
3357
|
message.source = object.source ?? "";
|
|
3344
3358
|
message.version = object.version ?? "";
|
|
3359
|
+
message.configuration_aliases = object.configuration_aliases?.map((e) => e) || [];
|
|
3345
3360
|
return message;
|
|
3346
3361
|
}
|
|
3347
3362
|
};
|
|
@@ -3632,500 +3647,33 @@ function createBaseProviderConfig_ConfigEntry() {
|
|
|
3632
3647
|
}
|
|
3633
3648
|
var ProviderConfig_ConfigEntry = {
|
|
3634
3649
|
encode(message, writer = new BinaryWriter3()) {
|
|
3635
|
-
if (message.key !== "") {
|
|
3636
|
-
writer.uint32(10).string(message.key);
|
|
3637
|
-
}
|
|
3638
|
-
if (message.value !== void 0) {
|
|
3639
|
-
Binding.encode(message.value, writer.uint32(18).fork()).join();
|
|
3640
|
-
}
|
|
3641
|
-
return writer;
|
|
3642
|
-
},
|
|
3643
|
-
decode(input, length) {
|
|
3644
|
-
const reader = input instanceof BinaryReader3 ? input : new BinaryReader3(input);
|
|
3645
|
-
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
3646
|
-
const message = createBaseProviderConfig_ConfigEntry();
|
|
3647
|
-
while (reader.pos < end) {
|
|
3648
|
-
const tag = reader.uint32();
|
|
3649
|
-
switch (tag >>> 3) {
|
|
3650
|
-
case 1: {
|
|
3651
|
-
if (tag !== 10) {
|
|
3652
|
-
break;
|
|
3653
|
-
}
|
|
3654
|
-
message.key = reader.string();
|
|
3655
|
-
continue;
|
|
3656
|
-
}
|
|
3657
|
-
case 2: {
|
|
3658
|
-
if (tag !== 18) {
|
|
3659
|
-
break;
|
|
3660
|
-
}
|
|
3661
|
-
message.value = Binding.decode(reader, reader.uint32());
|
|
3662
|
-
continue;
|
|
3663
|
-
}
|
|
3664
|
-
}
|
|
3665
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
3666
|
-
break;
|
|
3667
|
-
}
|
|
3668
|
-
reader.skip(tag & 7);
|
|
3669
|
-
}
|
|
3670
|
-
return message;
|
|
3671
|
-
},
|
|
3672
|
-
fromJSON(object) {
|
|
3673
|
-
return {
|
|
3674
|
-
key: isSet2(object.key) ? globalThis.String(object.key) : "",
|
|
3675
|
-
value: isSet2(object.value) ? Binding.fromJSON(object.value) : void 0
|
|
3676
|
-
};
|
|
3677
|
-
},
|
|
3678
|
-
toJSON(message) {
|
|
3679
|
-
const obj = {};
|
|
3680
|
-
if (message.key !== "") {
|
|
3681
|
-
obj.key = message.key;
|
|
3682
|
-
}
|
|
3683
|
-
if (message.value !== void 0) {
|
|
3684
|
-
obj.value = Binding.toJSON(message.value);
|
|
3685
|
-
}
|
|
3686
|
-
return obj;
|
|
3687
|
-
},
|
|
3688
|
-
create(base) {
|
|
3689
|
-
return ProviderConfig_ConfigEntry.fromPartial(base ?? {});
|
|
3690
|
-
},
|
|
3691
|
-
fromPartial(object) {
|
|
3692
|
-
const message = createBaseProviderConfig_ConfigEntry();
|
|
3693
|
-
message.key = object.key ?? "";
|
|
3694
|
-
message.value = object.value !== void 0 && object.value !== null ? Binding.fromPartial(object.value) : void 0;
|
|
3695
|
-
return message;
|
|
3696
|
-
}
|
|
3697
|
-
};
|
|
3698
|
-
function createBaseGraphLayout() {
|
|
3699
|
-
return { nodes: {}, groups: {} };
|
|
3700
|
-
}
|
|
3701
|
-
var GraphLayout = {
|
|
3702
|
-
encode(message, writer = new BinaryWriter3()) {
|
|
3703
|
-
globalThis.Object.entries(message.nodes).forEach(([key, value]) => {
|
|
3704
|
-
GraphLayout_NodesEntry.encode({ key, value }, writer.uint32(10).fork()).join();
|
|
3705
|
-
});
|
|
3706
|
-
globalThis.Object.entries(message.groups).forEach(([key, value]) => {
|
|
3707
|
-
GraphLayout_GroupsEntry.encode({ key, value }, writer.uint32(18).fork()).join();
|
|
3708
|
-
});
|
|
3709
|
-
return writer;
|
|
3710
|
-
},
|
|
3711
|
-
decode(input, length) {
|
|
3712
|
-
const reader = input instanceof BinaryReader3 ? input : new BinaryReader3(input);
|
|
3713
|
-
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
3714
|
-
const message = createBaseGraphLayout();
|
|
3715
|
-
while (reader.pos < end) {
|
|
3716
|
-
const tag = reader.uint32();
|
|
3717
|
-
switch (tag >>> 3) {
|
|
3718
|
-
case 1: {
|
|
3719
|
-
if (tag !== 10) {
|
|
3720
|
-
break;
|
|
3721
|
-
}
|
|
3722
|
-
const entry1 = GraphLayout_NodesEntry.decode(reader, reader.uint32());
|
|
3723
|
-
if (entry1.value !== void 0) {
|
|
3724
|
-
message.nodes[entry1.key] = entry1.value;
|
|
3725
|
-
}
|
|
3726
|
-
continue;
|
|
3727
|
-
}
|
|
3728
|
-
case 2: {
|
|
3729
|
-
if (tag !== 18) {
|
|
3730
|
-
break;
|
|
3731
|
-
}
|
|
3732
|
-
const entry2 = GraphLayout_GroupsEntry.decode(reader, reader.uint32());
|
|
3733
|
-
if (entry2.value !== void 0) {
|
|
3734
|
-
message.groups[entry2.key] = entry2.value;
|
|
3735
|
-
}
|
|
3736
|
-
continue;
|
|
3737
|
-
}
|
|
3738
|
-
}
|
|
3739
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
3740
|
-
break;
|
|
3741
|
-
}
|
|
3742
|
-
reader.skip(tag & 7);
|
|
3743
|
-
}
|
|
3744
|
-
return message;
|
|
3745
|
-
},
|
|
3746
|
-
fromJSON(object) {
|
|
3747
|
-
return {
|
|
3748
|
-
nodes: isObject2(object.nodes) ? globalThis.Object.entries(object.nodes).reduce(
|
|
3749
|
-
(acc, [key, value]) => {
|
|
3750
|
-
acc[key] = NodeLayout.fromJSON(value);
|
|
3751
|
-
return acc;
|
|
3752
|
-
},
|
|
3753
|
-
{}
|
|
3754
|
-
) : {},
|
|
3755
|
-
groups: isObject2(object.groups) ? globalThis.Object.entries(object.groups).reduce(
|
|
3756
|
-
(acc, [key, value]) => {
|
|
3757
|
-
acc[key] = NodeGroup.fromJSON(value);
|
|
3758
|
-
return acc;
|
|
3759
|
-
},
|
|
3760
|
-
{}
|
|
3761
|
-
) : {}
|
|
3762
|
-
};
|
|
3763
|
-
},
|
|
3764
|
-
toJSON(message) {
|
|
3765
|
-
const obj = {};
|
|
3766
|
-
if (message.nodes) {
|
|
3767
|
-
const entries = globalThis.Object.entries(message.nodes);
|
|
3768
|
-
if (entries.length > 0) {
|
|
3769
|
-
obj.nodes = {};
|
|
3770
|
-
entries.forEach(([k, v]) => {
|
|
3771
|
-
obj.nodes[k] = NodeLayout.toJSON(v);
|
|
3772
|
-
});
|
|
3773
|
-
}
|
|
3774
|
-
}
|
|
3775
|
-
if (message.groups) {
|
|
3776
|
-
const entries = globalThis.Object.entries(message.groups);
|
|
3777
|
-
if (entries.length > 0) {
|
|
3778
|
-
obj.groups = {};
|
|
3779
|
-
entries.forEach(([k, v]) => {
|
|
3780
|
-
obj.groups[k] = NodeGroup.toJSON(v);
|
|
3781
|
-
});
|
|
3782
|
-
}
|
|
3783
|
-
}
|
|
3784
|
-
return obj;
|
|
3785
|
-
},
|
|
3786
|
-
create(base) {
|
|
3787
|
-
return GraphLayout.fromPartial(base ?? {});
|
|
3788
|
-
},
|
|
3789
|
-
fromPartial(object) {
|
|
3790
|
-
const message = createBaseGraphLayout();
|
|
3791
|
-
message.nodes = globalThis.Object.entries(object.nodes ?? {}).reduce(
|
|
3792
|
-
(acc, [key, value]) => {
|
|
3793
|
-
if (value !== void 0) {
|
|
3794
|
-
acc[key] = NodeLayout.fromPartial(value);
|
|
3795
|
-
}
|
|
3796
|
-
return acc;
|
|
3797
|
-
},
|
|
3798
|
-
{}
|
|
3799
|
-
);
|
|
3800
|
-
message.groups = globalThis.Object.entries(object.groups ?? {}).reduce(
|
|
3801
|
-
(acc, [key, value]) => {
|
|
3802
|
-
if (value !== void 0) {
|
|
3803
|
-
acc[key] = NodeGroup.fromPartial(value);
|
|
3804
|
-
}
|
|
3805
|
-
return acc;
|
|
3806
|
-
},
|
|
3807
|
-
{}
|
|
3808
|
-
);
|
|
3809
|
-
return message;
|
|
3810
|
-
}
|
|
3811
|
-
};
|
|
3812
|
-
function createBaseGraphLayout_NodesEntry() {
|
|
3813
|
-
return { key: "", value: void 0 };
|
|
3814
|
-
}
|
|
3815
|
-
var GraphLayout_NodesEntry = {
|
|
3816
|
-
encode(message, writer = new BinaryWriter3()) {
|
|
3817
|
-
if (message.key !== "") {
|
|
3818
|
-
writer.uint32(10).string(message.key);
|
|
3819
|
-
}
|
|
3820
|
-
if (message.value !== void 0) {
|
|
3821
|
-
NodeLayout.encode(message.value, writer.uint32(18).fork()).join();
|
|
3822
|
-
}
|
|
3823
|
-
return writer;
|
|
3824
|
-
},
|
|
3825
|
-
decode(input, length) {
|
|
3826
|
-
const reader = input instanceof BinaryReader3 ? input : new BinaryReader3(input);
|
|
3827
|
-
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
3828
|
-
const message = createBaseGraphLayout_NodesEntry();
|
|
3829
|
-
while (reader.pos < end) {
|
|
3830
|
-
const tag = reader.uint32();
|
|
3831
|
-
switch (tag >>> 3) {
|
|
3832
|
-
case 1: {
|
|
3833
|
-
if (tag !== 10) {
|
|
3834
|
-
break;
|
|
3835
|
-
}
|
|
3836
|
-
message.key = reader.string();
|
|
3837
|
-
continue;
|
|
3838
|
-
}
|
|
3839
|
-
case 2: {
|
|
3840
|
-
if (tag !== 18) {
|
|
3841
|
-
break;
|
|
3842
|
-
}
|
|
3843
|
-
message.value = NodeLayout.decode(reader, reader.uint32());
|
|
3844
|
-
continue;
|
|
3845
|
-
}
|
|
3846
|
-
}
|
|
3847
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
3848
|
-
break;
|
|
3849
|
-
}
|
|
3850
|
-
reader.skip(tag & 7);
|
|
3851
|
-
}
|
|
3852
|
-
return message;
|
|
3853
|
-
},
|
|
3854
|
-
fromJSON(object) {
|
|
3855
|
-
return {
|
|
3856
|
-
key: isSet2(object.key) ? globalThis.String(object.key) : "",
|
|
3857
|
-
value: isSet2(object.value) ? NodeLayout.fromJSON(object.value) : void 0
|
|
3858
|
-
};
|
|
3859
|
-
},
|
|
3860
|
-
toJSON(message) {
|
|
3861
|
-
const obj = {};
|
|
3862
|
-
if (message.key !== "") {
|
|
3863
|
-
obj.key = message.key;
|
|
3864
|
-
}
|
|
3865
|
-
if (message.value !== void 0) {
|
|
3866
|
-
obj.value = NodeLayout.toJSON(message.value);
|
|
3867
|
-
}
|
|
3868
|
-
return obj;
|
|
3869
|
-
},
|
|
3870
|
-
create(base) {
|
|
3871
|
-
return GraphLayout_NodesEntry.fromPartial(base ?? {});
|
|
3872
|
-
},
|
|
3873
|
-
fromPartial(object) {
|
|
3874
|
-
const message = createBaseGraphLayout_NodesEntry();
|
|
3875
|
-
message.key = object.key ?? "";
|
|
3876
|
-
message.value = object.value !== void 0 && object.value !== null ? NodeLayout.fromPartial(object.value) : void 0;
|
|
3877
|
-
return message;
|
|
3878
|
-
}
|
|
3879
|
-
};
|
|
3880
|
-
function createBaseGraphLayout_GroupsEntry() {
|
|
3881
|
-
return { key: "", value: void 0 };
|
|
3882
|
-
}
|
|
3883
|
-
var GraphLayout_GroupsEntry = {
|
|
3884
|
-
encode(message, writer = new BinaryWriter3()) {
|
|
3885
|
-
if (message.key !== "") {
|
|
3886
|
-
writer.uint32(10).string(message.key);
|
|
3887
|
-
}
|
|
3888
|
-
if (message.value !== void 0) {
|
|
3889
|
-
NodeGroup.encode(message.value, writer.uint32(18).fork()).join();
|
|
3890
|
-
}
|
|
3891
|
-
return writer;
|
|
3892
|
-
},
|
|
3893
|
-
decode(input, length) {
|
|
3894
|
-
const reader = input instanceof BinaryReader3 ? input : new BinaryReader3(input);
|
|
3895
|
-
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
3896
|
-
const message = createBaseGraphLayout_GroupsEntry();
|
|
3897
|
-
while (reader.pos < end) {
|
|
3898
|
-
const tag = reader.uint32();
|
|
3899
|
-
switch (tag >>> 3) {
|
|
3900
|
-
case 1: {
|
|
3901
|
-
if (tag !== 10) {
|
|
3902
|
-
break;
|
|
3903
|
-
}
|
|
3904
|
-
message.key = reader.string();
|
|
3905
|
-
continue;
|
|
3906
|
-
}
|
|
3907
|
-
case 2: {
|
|
3908
|
-
if (tag !== 18) {
|
|
3909
|
-
break;
|
|
3910
|
-
}
|
|
3911
|
-
message.value = NodeGroup.decode(reader, reader.uint32());
|
|
3912
|
-
continue;
|
|
3913
|
-
}
|
|
3914
|
-
}
|
|
3915
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
3916
|
-
break;
|
|
3917
|
-
}
|
|
3918
|
-
reader.skip(tag & 7);
|
|
3919
|
-
}
|
|
3920
|
-
return message;
|
|
3921
|
-
},
|
|
3922
|
-
fromJSON(object) {
|
|
3923
|
-
return {
|
|
3924
|
-
key: isSet2(object.key) ? globalThis.String(object.key) : "",
|
|
3925
|
-
value: isSet2(object.value) ? NodeGroup.fromJSON(object.value) : void 0
|
|
3926
|
-
};
|
|
3927
|
-
},
|
|
3928
|
-
toJSON(message) {
|
|
3929
|
-
const obj = {};
|
|
3930
|
-
if (message.key !== "") {
|
|
3931
|
-
obj.key = message.key;
|
|
3932
|
-
}
|
|
3933
|
-
if (message.value !== void 0) {
|
|
3934
|
-
obj.value = NodeGroup.toJSON(message.value);
|
|
3935
|
-
}
|
|
3936
|
-
return obj;
|
|
3937
|
-
},
|
|
3938
|
-
create(base) {
|
|
3939
|
-
return GraphLayout_GroupsEntry.fromPartial(base ?? {});
|
|
3940
|
-
},
|
|
3941
|
-
fromPartial(object) {
|
|
3942
|
-
const message = createBaseGraphLayout_GroupsEntry();
|
|
3943
|
-
message.key = object.key ?? "";
|
|
3944
|
-
message.value = object.value !== void 0 && object.value !== null ? NodeGroup.fromPartial(object.value) : void 0;
|
|
3945
|
-
return message;
|
|
3946
|
-
}
|
|
3947
|
-
};
|
|
3948
|
-
function createBaseNodeGroup() {
|
|
3949
|
-
return { id: "", label: "", node_ids: [], collapsed: false };
|
|
3950
|
-
}
|
|
3951
|
-
var NodeGroup = {
|
|
3952
|
-
encode(message, writer = new BinaryWriter3()) {
|
|
3953
|
-
if (message.id !== "") {
|
|
3954
|
-
writer.uint32(10).string(message.id);
|
|
3955
|
-
}
|
|
3956
|
-
if (message.label !== "") {
|
|
3957
|
-
writer.uint32(18).string(message.label);
|
|
3958
|
-
}
|
|
3959
|
-
for (const v of message.node_ids) {
|
|
3960
|
-
writer.uint32(26).string(v);
|
|
3961
|
-
}
|
|
3962
|
-
if (message.collapsed !== false) {
|
|
3963
|
-
writer.uint32(32).bool(message.collapsed);
|
|
3964
|
-
}
|
|
3965
|
-
return writer;
|
|
3966
|
-
},
|
|
3967
|
-
decode(input, length) {
|
|
3968
|
-
const reader = input instanceof BinaryReader3 ? input : new BinaryReader3(input);
|
|
3969
|
-
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
3970
|
-
const message = createBaseNodeGroup();
|
|
3971
|
-
while (reader.pos < end) {
|
|
3972
|
-
const tag = reader.uint32();
|
|
3973
|
-
switch (tag >>> 3) {
|
|
3974
|
-
case 1: {
|
|
3975
|
-
if (tag !== 10) {
|
|
3976
|
-
break;
|
|
3977
|
-
}
|
|
3978
|
-
message.id = reader.string();
|
|
3979
|
-
continue;
|
|
3980
|
-
}
|
|
3981
|
-
case 2: {
|
|
3982
|
-
if (tag !== 18) {
|
|
3983
|
-
break;
|
|
3984
|
-
}
|
|
3985
|
-
message.label = reader.string();
|
|
3986
|
-
continue;
|
|
3987
|
-
}
|
|
3988
|
-
case 3: {
|
|
3989
|
-
if (tag !== 26) {
|
|
3990
|
-
break;
|
|
3991
|
-
}
|
|
3992
|
-
message.node_ids.push(reader.string());
|
|
3993
|
-
continue;
|
|
3994
|
-
}
|
|
3995
|
-
case 4: {
|
|
3996
|
-
if (tag !== 32) {
|
|
3997
|
-
break;
|
|
3998
|
-
}
|
|
3999
|
-
message.collapsed = reader.bool();
|
|
4000
|
-
continue;
|
|
4001
|
-
}
|
|
4002
|
-
}
|
|
4003
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
4004
|
-
break;
|
|
4005
|
-
}
|
|
4006
|
-
reader.skip(tag & 7);
|
|
4007
|
-
}
|
|
4008
|
-
return message;
|
|
4009
|
-
},
|
|
4010
|
-
fromJSON(object) {
|
|
4011
|
-
return {
|
|
4012
|
-
id: isSet2(object.id) ? globalThis.String(object.id) : "",
|
|
4013
|
-
label: isSet2(object.label) ? globalThis.String(object.label) : "",
|
|
4014
|
-
node_ids: globalThis.Array.isArray(object?.nodeIds) ? object.nodeIds.map((e) => globalThis.String(e)) : globalThis.Array.isArray(object?.node_ids) ? object.node_ids.map((e) => globalThis.String(e)) : [],
|
|
4015
|
-
collapsed: isSet2(object.collapsed) ? globalThis.Boolean(object.collapsed) : false
|
|
4016
|
-
};
|
|
4017
|
-
},
|
|
4018
|
-
toJSON(message) {
|
|
4019
|
-
const obj = {};
|
|
4020
|
-
if (message.id !== "") {
|
|
4021
|
-
obj.id = message.id;
|
|
4022
|
-
}
|
|
4023
|
-
if (message.label !== "") {
|
|
4024
|
-
obj.label = message.label;
|
|
4025
|
-
}
|
|
4026
|
-
if (message.node_ids?.length) {
|
|
4027
|
-
obj.nodeIds = message.node_ids;
|
|
4028
|
-
}
|
|
4029
|
-
if (message.collapsed !== false) {
|
|
4030
|
-
obj.collapsed = message.collapsed;
|
|
4031
|
-
}
|
|
4032
|
-
return obj;
|
|
4033
|
-
},
|
|
4034
|
-
create(base) {
|
|
4035
|
-
return NodeGroup.fromPartial(base ?? {});
|
|
4036
|
-
},
|
|
4037
|
-
fromPartial(object) {
|
|
4038
|
-
const message = createBaseNodeGroup();
|
|
4039
|
-
message.id = object.id ?? "";
|
|
4040
|
-
message.label = object.label ?? "";
|
|
4041
|
-
message.node_ids = object.node_ids?.map((e) => e) || [];
|
|
4042
|
-
message.collapsed = object.collapsed ?? false;
|
|
4043
|
-
return message;
|
|
4044
|
-
}
|
|
4045
|
-
};
|
|
4046
|
-
function createBaseNodeLayout() {
|
|
4047
|
-
return { position: void 0 };
|
|
4048
|
-
}
|
|
4049
|
-
var NodeLayout = {
|
|
4050
|
-
encode(message, writer = new BinaryWriter3()) {
|
|
4051
|
-
if (message.position !== void 0) {
|
|
4052
|
-
Position.encode(message.position, writer.uint32(10).fork()).join();
|
|
4053
|
-
}
|
|
4054
|
-
return writer;
|
|
4055
|
-
},
|
|
4056
|
-
decode(input, length) {
|
|
4057
|
-
const reader = input instanceof BinaryReader3 ? input : new BinaryReader3(input);
|
|
4058
|
-
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
4059
|
-
const message = createBaseNodeLayout();
|
|
4060
|
-
while (reader.pos < end) {
|
|
4061
|
-
const tag = reader.uint32();
|
|
4062
|
-
switch (tag >>> 3) {
|
|
4063
|
-
case 1: {
|
|
4064
|
-
if (tag !== 10) {
|
|
4065
|
-
break;
|
|
4066
|
-
}
|
|
4067
|
-
message.position = Position.decode(reader, reader.uint32());
|
|
4068
|
-
continue;
|
|
4069
|
-
}
|
|
4070
|
-
}
|
|
4071
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
4072
|
-
break;
|
|
4073
|
-
}
|
|
4074
|
-
reader.skip(tag & 7);
|
|
4075
|
-
}
|
|
4076
|
-
return message;
|
|
4077
|
-
},
|
|
4078
|
-
fromJSON(object) {
|
|
4079
|
-
return { position: isSet2(object.position) ? Position.fromJSON(object.position) : void 0 };
|
|
4080
|
-
},
|
|
4081
|
-
toJSON(message) {
|
|
4082
|
-
const obj = {};
|
|
4083
|
-
if (message.position !== void 0) {
|
|
4084
|
-
obj.position = Position.toJSON(message.position);
|
|
4085
|
-
}
|
|
4086
|
-
return obj;
|
|
4087
|
-
},
|
|
4088
|
-
create(base) {
|
|
4089
|
-
return NodeLayout.fromPartial(base ?? {});
|
|
4090
|
-
},
|
|
4091
|
-
fromPartial(object) {
|
|
4092
|
-
const message = createBaseNodeLayout();
|
|
4093
|
-
message.position = object.position !== void 0 && object.position !== null ? Position.fromPartial(object.position) : void 0;
|
|
4094
|
-
return message;
|
|
4095
|
-
}
|
|
4096
|
-
};
|
|
4097
|
-
function createBasePosition() {
|
|
4098
|
-
return { x: 0, y: 0 };
|
|
4099
|
-
}
|
|
4100
|
-
var Position = {
|
|
4101
|
-
encode(message, writer = new BinaryWriter3()) {
|
|
4102
|
-
if (message.x !== 0) {
|
|
4103
|
-
writer.uint32(9).double(message.x);
|
|
3650
|
+
if (message.key !== "") {
|
|
3651
|
+
writer.uint32(10).string(message.key);
|
|
4104
3652
|
}
|
|
4105
|
-
if (message.
|
|
4106
|
-
writer.uint32(
|
|
3653
|
+
if (message.value !== void 0) {
|
|
3654
|
+
Binding.encode(message.value, writer.uint32(18).fork()).join();
|
|
4107
3655
|
}
|
|
4108
3656
|
return writer;
|
|
4109
3657
|
},
|
|
4110
3658
|
decode(input, length) {
|
|
4111
3659
|
const reader = input instanceof BinaryReader3 ? input : new BinaryReader3(input);
|
|
4112
3660
|
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
4113
|
-
const message =
|
|
3661
|
+
const message = createBaseProviderConfig_ConfigEntry();
|
|
4114
3662
|
while (reader.pos < end) {
|
|
4115
3663
|
const tag = reader.uint32();
|
|
4116
3664
|
switch (tag >>> 3) {
|
|
4117
3665
|
case 1: {
|
|
4118
|
-
if (tag !==
|
|
3666
|
+
if (tag !== 10) {
|
|
4119
3667
|
break;
|
|
4120
3668
|
}
|
|
4121
|
-
message.
|
|
3669
|
+
message.key = reader.string();
|
|
4122
3670
|
continue;
|
|
4123
3671
|
}
|
|
4124
3672
|
case 2: {
|
|
4125
|
-
if (tag !==
|
|
3673
|
+
if (tag !== 18) {
|
|
4126
3674
|
break;
|
|
4127
3675
|
}
|
|
4128
|
-
message.
|
|
3676
|
+
message.value = Binding.decode(reader, reader.uint32());
|
|
4129
3677
|
continue;
|
|
4130
3678
|
}
|
|
4131
3679
|
}
|
|
@@ -4138,27 +3686,27 @@ var Position = {
|
|
|
4138
3686
|
},
|
|
4139
3687
|
fromJSON(object) {
|
|
4140
3688
|
return {
|
|
4141
|
-
|
|
4142
|
-
|
|
3689
|
+
key: isSet2(object.key) ? globalThis.String(object.key) : "",
|
|
3690
|
+
value: isSet2(object.value) ? Binding.fromJSON(object.value) : void 0
|
|
4143
3691
|
};
|
|
4144
3692
|
},
|
|
4145
3693
|
toJSON(message) {
|
|
4146
3694
|
const obj = {};
|
|
4147
|
-
if (message.
|
|
4148
|
-
obj.
|
|
3695
|
+
if (message.key !== "") {
|
|
3696
|
+
obj.key = message.key;
|
|
4149
3697
|
}
|
|
4150
|
-
if (message.
|
|
4151
|
-
obj.
|
|
3698
|
+
if (message.value !== void 0) {
|
|
3699
|
+
obj.value = Binding.toJSON(message.value);
|
|
4152
3700
|
}
|
|
4153
3701
|
return obj;
|
|
4154
3702
|
},
|
|
4155
3703
|
create(base) {
|
|
4156
|
-
return
|
|
3704
|
+
return ProviderConfig_ConfigEntry.fromPartial(base ?? {});
|
|
4157
3705
|
},
|
|
4158
3706
|
fromPartial(object) {
|
|
4159
|
-
const message =
|
|
4160
|
-
message.
|
|
4161
|
-
message.
|
|
3707
|
+
const message = createBaseProviderConfig_ConfigEntry();
|
|
3708
|
+
message.key = object.key ?? "";
|
|
3709
|
+
message.value = object.value !== void 0 && object.value !== null ? Binding.fromPartial(object.value) : void 0;
|
|
4162
3710
|
return message;
|
|
4163
3711
|
}
|
|
4164
3712
|
};
|
|
@@ -8322,299 +7870,25 @@ var DeleteInstanceAction = {
|
|
|
8322
7870
|
return DeleteInstanceAction.fromPartial(base ?? {});
|
|
8323
7871
|
},
|
|
8324
7872
|
fromPartial(object) {
|
|
8325
|
-
const message = createBaseDeleteInstanceAction();
|
|
8326
|
-
message.instance_id = object.instance_id ?? "";
|
|
8327
|
-
return message;
|
|
8328
|
-
}
|
|
8329
|
-
};
|
|
8330
|
-
function createBaseCopyInstancesAction() {
|
|
8331
|
-
return { instance_ids: [] };
|
|
8332
|
-
}
|
|
8333
|
-
var CopyInstancesAction = {
|
|
8334
|
-
encode(message, writer = new BinaryWriter4()) {
|
|
8335
|
-
for (const v of message.instance_ids) {
|
|
8336
|
-
writer.uint32(10).string(v);
|
|
8337
|
-
}
|
|
8338
|
-
return writer;
|
|
8339
|
-
},
|
|
8340
|
-
decode(input, length) {
|
|
8341
|
-
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
8342
|
-
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
8343
|
-
const message = createBaseCopyInstancesAction();
|
|
8344
|
-
while (reader.pos < end) {
|
|
8345
|
-
const tag = reader.uint32();
|
|
8346
|
-
switch (tag >>> 3) {
|
|
8347
|
-
case 1: {
|
|
8348
|
-
if (tag !== 10) {
|
|
8349
|
-
break;
|
|
8350
|
-
}
|
|
8351
|
-
message.instance_ids.push(reader.string());
|
|
8352
|
-
continue;
|
|
8353
|
-
}
|
|
8354
|
-
}
|
|
8355
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
8356
|
-
break;
|
|
8357
|
-
}
|
|
8358
|
-
reader.skip(tag & 7);
|
|
8359
|
-
}
|
|
8360
|
-
return message;
|
|
8361
|
-
},
|
|
8362
|
-
fromJSON(object) {
|
|
8363
|
-
return {
|
|
8364
|
-
instance_ids: globalThis.Array.isArray(object?.instanceIds) ? object.instanceIds.map((e) => globalThis.String(e)) : globalThis.Array.isArray(object?.instance_ids) ? object.instance_ids.map((e) => globalThis.String(e)) : []
|
|
8365
|
-
};
|
|
8366
|
-
},
|
|
8367
|
-
toJSON(message) {
|
|
8368
|
-
const obj = {};
|
|
8369
|
-
if (message.instance_ids?.length) {
|
|
8370
|
-
obj.instanceIds = message.instance_ids;
|
|
8371
|
-
}
|
|
8372
|
-
return obj;
|
|
8373
|
-
},
|
|
8374
|
-
create(base) {
|
|
8375
|
-
return CopyInstancesAction.fromPartial(base ?? {});
|
|
8376
|
-
},
|
|
8377
|
-
fromPartial(object) {
|
|
8378
|
-
const message = createBaseCopyInstancesAction();
|
|
8379
|
-
message.instance_ids = object.instance_ids?.map((e) => e) || [];
|
|
8380
|
-
return message;
|
|
8381
|
-
}
|
|
8382
|
-
};
|
|
8383
|
-
function createBaseSyncLayoutAction() {
|
|
8384
|
-
return { positions: {} };
|
|
8385
|
-
}
|
|
8386
|
-
var SyncLayoutAction = {
|
|
8387
|
-
encode(message, writer = new BinaryWriter4()) {
|
|
8388
|
-
globalThis.Object.entries(message.positions).forEach(([key, value]) => {
|
|
8389
|
-
SyncLayoutAction_PositionsEntry.encode({ key, value }, writer.uint32(10).fork()).join();
|
|
8390
|
-
});
|
|
8391
|
-
return writer;
|
|
8392
|
-
},
|
|
8393
|
-
decode(input, length) {
|
|
8394
|
-
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
8395
|
-
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
8396
|
-
const message = createBaseSyncLayoutAction();
|
|
8397
|
-
while (reader.pos < end) {
|
|
8398
|
-
const tag = reader.uint32();
|
|
8399
|
-
switch (tag >>> 3) {
|
|
8400
|
-
case 1: {
|
|
8401
|
-
if (tag !== 10) {
|
|
8402
|
-
break;
|
|
8403
|
-
}
|
|
8404
|
-
const entry1 = SyncLayoutAction_PositionsEntry.decode(reader, reader.uint32());
|
|
8405
|
-
if (entry1.value !== void 0) {
|
|
8406
|
-
message.positions[entry1.key] = entry1.value;
|
|
8407
|
-
}
|
|
8408
|
-
continue;
|
|
8409
|
-
}
|
|
8410
|
-
}
|
|
8411
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
8412
|
-
break;
|
|
8413
|
-
}
|
|
8414
|
-
reader.skip(tag & 7);
|
|
8415
|
-
}
|
|
8416
|
-
return message;
|
|
8417
|
-
},
|
|
8418
|
-
fromJSON(object) {
|
|
8419
|
-
return {
|
|
8420
|
-
positions: isObject3(object.positions) ? globalThis.Object.entries(object.positions).reduce(
|
|
8421
|
-
(acc, [key, value]) => {
|
|
8422
|
-
acc[key] = Position2.fromJSON(value);
|
|
8423
|
-
return acc;
|
|
8424
|
-
},
|
|
8425
|
-
{}
|
|
8426
|
-
) : {}
|
|
8427
|
-
};
|
|
8428
|
-
},
|
|
8429
|
-
toJSON(message) {
|
|
8430
|
-
const obj = {};
|
|
8431
|
-
if (message.positions) {
|
|
8432
|
-
const entries = globalThis.Object.entries(message.positions);
|
|
8433
|
-
if (entries.length > 0) {
|
|
8434
|
-
obj.positions = {};
|
|
8435
|
-
entries.forEach(([k, v]) => {
|
|
8436
|
-
obj.positions[k] = Position2.toJSON(v);
|
|
8437
|
-
});
|
|
8438
|
-
}
|
|
8439
|
-
}
|
|
8440
|
-
return obj;
|
|
8441
|
-
},
|
|
8442
|
-
create(base) {
|
|
8443
|
-
return SyncLayoutAction.fromPartial(base ?? {});
|
|
8444
|
-
},
|
|
8445
|
-
fromPartial(object) {
|
|
8446
|
-
const message = createBaseSyncLayoutAction();
|
|
8447
|
-
message.positions = globalThis.Object.entries(object.positions ?? {}).reduce(
|
|
8448
|
-
(acc, [key, value]) => {
|
|
8449
|
-
if (value !== void 0) {
|
|
8450
|
-
acc[key] = Position2.fromPartial(value);
|
|
8451
|
-
}
|
|
8452
|
-
return acc;
|
|
8453
|
-
},
|
|
8454
|
-
{}
|
|
8455
|
-
);
|
|
8456
|
-
return message;
|
|
8457
|
-
}
|
|
8458
|
-
};
|
|
8459
|
-
function createBaseSyncLayoutAction_PositionsEntry() {
|
|
8460
|
-
return { key: "", value: void 0 };
|
|
8461
|
-
}
|
|
8462
|
-
var SyncLayoutAction_PositionsEntry = {
|
|
8463
|
-
encode(message, writer = new BinaryWriter4()) {
|
|
8464
|
-
if (message.key !== "") {
|
|
8465
|
-
writer.uint32(10).string(message.key);
|
|
8466
|
-
}
|
|
8467
|
-
if (message.value !== void 0) {
|
|
8468
|
-
Position2.encode(message.value, writer.uint32(18).fork()).join();
|
|
8469
|
-
}
|
|
8470
|
-
return writer;
|
|
8471
|
-
},
|
|
8472
|
-
decode(input, length) {
|
|
8473
|
-
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
8474
|
-
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
8475
|
-
const message = createBaseSyncLayoutAction_PositionsEntry();
|
|
8476
|
-
while (reader.pos < end) {
|
|
8477
|
-
const tag = reader.uint32();
|
|
8478
|
-
switch (tag >>> 3) {
|
|
8479
|
-
case 1: {
|
|
8480
|
-
if (tag !== 10) {
|
|
8481
|
-
break;
|
|
8482
|
-
}
|
|
8483
|
-
message.key = reader.string();
|
|
8484
|
-
continue;
|
|
8485
|
-
}
|
|
8486
|
-
case 2: {
|
|
8487
|
-
if (tag !== 18) {
|
|
8488
|
-
break;
|
|
8489
|
-
}
|
|
8490
|
-
message.value = Position2.decode(reader, reader.uint32());
|
|
8491
|
-
continue;
|
|
8492
|
-
}
|
|
8493
|
-
}
|
|
8494
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
8495
|
-
break;
|
|
8496
|
-
}
|
|
8497
|
-
reader.skip(tag & 7);
|
|
8498
|
-
}
|
|
8499
|
-
return message;
|
|
8500
|
-
},
|
|
8501
|
-
fromJSON(object) {
|
|
8502
|
-
return {
|
|
8503
|
-
key: isSet3(object.key) ? globalThis.String(object.key) : "",
|
|
8504
|
-
value: isSet3(object.value) ? Position2.fromJSON(object.value) : void 0
|
|
8505
|
-
};
|
|
8506
|
-
},
|
|
8507
|
-
toJSON(message) {
|
|
8508
|
-
const obj = {};
|
|
8509
|
-
if (message.key !== "") {
|
|
8510
|
-
obj.key = message.key;
|
|
8511
|
-
}
|
|
8512
|
-
if (message.value !== void 0) {
|
|
8513
|
-
obj.value = Position2.toJSON(message.value);
|
|
8514
|
-
}
|
|
8515
|
-
return obj;
|
|
8516
|
-
},
|
|
8517
|
-
create(base) {
|
|
8518
|
-
return SyncLayoutAction_PositionsEntry.fromPartial(base ?? {});
|
|
8519
|
-
},
|
|
8520
|
-
fromPartial(object) {
|
|
8521
|
-
const message = createBaseSyncLayoutAction_PositionsEntry();
|
|
8522
|
-
message.key = object.key ?? "";
|
|
8523
|
-
message.value = object.value !== void 0 && object.value !== null ? Position2.fromPartial(object.value) : void 0;
|
|
8524
|
-
return message;
|
|
8525
|
-
}
|
|
8526
|
-
};
|
|
8527
|
-
function createBaseCreateGroupAction() {
|
|
8528
|
-
return { label: "", node_ids: [] };
|
|
8529
|
-
}
|
|
8530
|
-
var CreateGroupAction = {
|
|
8531
|
-
encode(message, writer = new BinaryWriter4()) {
|
|
8532
|
-
if (message.label !== "") {
|
|
8533
|
-
writer.uint32(10).string(message.label);
|
|
8534
|
-
}
|
|
8535
|
-
for (const v of message.node_ids) {
|
|
8536
|
-
writer.uint32(18).string(v);
|
|
8537
|
-
}
|
|
8538
|
-
return writer;
|
|
8539
|
-
},
|
|
8540
|
-
decode(input, length) {
|
|
8541
|
-
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
8542
|
-
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
8543
|
-
const message = createBaseCreateGroupAction();
|
|
8544
|
-
while (reader.pos < end) {
|
|
8545
|
-
const tag = reader.uint32();
|
|
8546
|
-
switch (tag >>> 3) {
|
|
8547
|
-
case 1: {
|
|
8548
|
-
if (tag !== 10) {
|
|
8549
|
-
break;
|
|
8550
|
-
}
|
|
8551
|
-
message.label = reader.string();
|
|
8552
|
-
continue;
|
|
8553
|
-
}
|
|
8554
|
-
case 2: {
|
|
8555
|
-
if (tag !== 18) {
|
|
8556
|
-
break;
|
|
8557
|
-
}
|
|
8558
|
-
message.node_ids.push(reader.string());
|
|
8559
|
-
continue;
|
|
8560
|
-
}
|
|
8561
|
-
}
|
|
8562
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
8563
|
-
break;
|
|
8564
|
-
}
|
|
8565
|
-
reader.skip(tag & 7);
|
|
8566
|
-
}
|
|
8567
|
-
return message;
|
|
8568
|
-
},
|
|
8569
|
-
fromJSON(object) {
|
|
8570
|
-
return {
|
|
8571
|
-
label: isSet3(object.label) ? globalThis.String(object.label) : "",
|
|
8572
|
-
node_ids: globalThis.Array.isArray(object?.nodeIds) ? object.nodeIds.map((e) => globalThis.String(e)) : globalThis.Array.isArray(object?.node_ids) ? object.node_ids.map((e) => globalThis.String(e)) : []
|
|
8573
|
-
};
|
|
8574
|
-
},
|
|
8575
|
-
toJSON(message) {
|
|
8576
|
-
const obj = {};
|
|
8577
|
-
if (message.label !== "") {
|
|
8578
|
-
obj.label = message.label;
|
|
8579
|
-
}
|
|
8580
|
-
if (message.node_ids?.length) {
|
|
8581
|
-
obj.nodeIds = message.node_ids;
|
|
8582
|
-
}
|
|
8583
|
-
return obj;
|
|
8584
|
-
},
|
|
8585
|
-
create(base) {
|
|
8586
|
-
return CreateGroupAction.fromPartial(base ?? {});
|
|
8587
|
-
},
|
|
8588
|
-
fromPartial(object) {
|
|
8589
|
-
const message = createBaseCreateGroupAction();
|
|
8590
|
-
message.label = object.label ?? "";
|
|
8591
|
-
message.node_ids = object.node_ids?.map((e) => e) || [];
|
|
7873
|
+
const message = createBaseDeleteInstanceAction();
|
|
7874
|
+
message.instance_id = object.instance_id ?? "";
|
|
8592
7875
|
return message;
|
|
8593
7876
|
}
|
|
8594
7877
|
};
|
|
8595
|
-
function
|
|
8596
|
-
return {
|
|
7878
|
+
function createBaseCopyInstancesAction() {
|
|
7879
|
+
return { instance_ids: [] };
|
|
8597
7880
|
}
|
|
8598
|
-
var
|
|
7881
|
+
var CopyInstancesAction = {
|
|
8599
7882
|
encode(message, writer = new BinaryWriter4()) {
|
|
8600
|
-
|
|
8601
|
-
writer.uint32(10).string(
|
|
8602
|
-
}
|
|
8603
|
-
if (message.label !== void 0) {
|
|
8604
|
-
writer.uint32(18).string(message.label);
|
|
8605
|
-
}
|
|
8606
|
-
if (message.collapsed !== void 0) {
|
|
8607
|
-
writer.uint32(24).bool(message.collapsed);
|
|
8608
|
-
}
|
|
8609
|
-
if (message.node_ids !== void 0) {
|
|
8610
|
-
UpdateGroupNodeIds.encode(message.node_ids, writer.uint32(34).fork()).join();
|
|
7883
|
+
for (const v of message.instance_ids) {
|
|
7884
|
+
writer.uint32(10).string(v);
|
|
8611
7885
|
}
|
|
8612
7886
|
return writer;
|
|
8613
7887
|
},
|
|
8614
7888
|
decode(input, length) {
|
|
8615
7889
|
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
8616
7890
|
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
8617
|
-
const message =
|
|
7891
|
+
const message = createBaseCopyInstancesAction();
|
|
8618
7892
|
while (reader.pos < end) {
|
|
8619
7893
|
const tag = reader.uint32();
|
|
8620
7894
|
switch (tag >>> 3) {
|
|
@@ -8622,28 +7896,7 @@ var UpdateGroupAction = {
|
|
|
8622
7896
|
if (tag !== 10) {
|
|
8623
7897
|
break;
|
|
8624
7898
|
}
|
|
8625
|
-
message.
|
|
8626
|
-
continue;
|
|
8627
|
-
}
|
|
8628
|
-
case 2: {
|
|
8629
|
-
if (tag !== 18) {
|
|
8630
|
-
break;
|
|
8631
|
-
}
|
|
8632
|
-
message.label = reader.string();
|
|
8633
|
-
continue;
|
|
8634
|
-
}
|
|
8635
|
-
case 3: {
|
|
8636
|
-
if (tag !== 24) {
|
|
8637
|
-
break;
|
|
8638
|
-
}
|
|
8639
|
-
message.collapsed = reader.bool();
|
|
8640
|
-
continue;
|
|
8641
|
-
}
|
|
8642
|
-
case 4: {
|
|
8643
|
-
if (tag !== 34) {
|
|
8644
|
-
break;
|
|
8645
|
-
}
|
|
8646
|
-
message.node_ids = UpdateGroupNodeIds.decode(reader, reader.uint32());
|
|
7899
|
+
message.instance_ids.push(reader.string());
|
|
8647
7900
|
continue;
|
|
8648
7901
|
}
|
|
8649
7902
|
}
|
|
@@ -8656,59 +7909,44 @@ var UpdateGroupAction = {
|
|
|
8656
7909
|
},
|
|
8657
7910
|
fromJSON(object) {
|
|
8658
7911
|
return {
|
|
8659
|
-
|
|
8660
|
-
label: isSet3(object.label) ? globalThis.String(object.label) : void 0,
|
|
8661
|
-
collapsed: isSet3(object.collapsed) ? globalThis.Boolean(object.collapsed) : void 0,
|
|
8662
|
-
node_ids: isSet3(object.nodeIds) ? UpdateGroupNodeIds.fromJSON(object.nodeIds) : isSet3(object.node_ids) ? UpdateGroupNodeIds.fromJSON(object.node_ids) : void 0
|
|
7912
|
+
instance_ids: globalThis.Array.isArray(object?.instanceIds) ? object.instanceIds.map((e) => globalThis.String(e)) : globalThis.Array.isArray(object?.instance_ids) ? object.instance_ids.map((e) => globalThis.String(e)) : []
|
|
8663
7913
|
};
|
|
8664
7914
|
},
|
|
8665
7915
|
toJSON(message) {
|
|
8666
7916
|
const obj = {};
|
|
8667
|
-
if (message.
|
|
8668
|
-
obj.
|
|
8669
|
-
}
|
|
8670
|
-
if (message.label !== void 0) {
|
|
8671
|
-
obj.label = message.label;
|
|
8672
|
-
}
|
|
8673
|
-
if (message.collapsed !== void 0) {
|
|
8674
|
-
obj.collapsed = message.collapsed;
|
|
8675
|
-
}
|
|
8676
|
-
if (message.node_ids !== void 0) {
|
|
8677
|
-
obj.nodeIds = UpdateGroupNodeIds.toJSON(message.node_ids);
|
|
7917
|
+
if (message.instance_ids?.length) {
|
|
7918
|
+
obj.instanceIds = message.instance_ids;
|
|
8678
7919
|
}
|
|
8679
7920
|
return obj;
|
|
8680
7921
|
},
|
|
8681
7922
|
create(base) {
|
|
8682
|
-
return
|
|
7923
|
+
return CopyInstancesAction.fromPartial(base ?? {});
|
|
8683
7924
|
},
|
|
8684
7925
|
fromPartial(object) {
|
|
8685
|
-
const message =
|
|
8686
|
-
message.
|
|
8687
|
-
message.label = object.label ?? void 0;
|
|
8688
|
-
message.collapsed = object.collapsed ?? void 0;
|
|
8689
|
-
message.node_ids = object.node_ids !== void 0 && object.node_ids !== null ? UpdateGroupNodeIds.fromPartial(object.node_ids) : void 0;
|
|
7926
|
+
const message = createBaseCopyInstancesAction();
|
|
7927
|
+
message.instance_ids = object.instance_ids?.map((e) => e) || [];
|
|
8690
7928
|
return message;
|
|
8691
7929
|
}
|
|
8692
7930
|
};
|
|
8693
|
-
function
|
|
7931
|
+
function createBaseCreateGroupAction() {
|
|
8694
7932
|
return { node_ids: [] };
|
|
8695
7933
|
}
|
|
8696
|
-
var
|
|
7934
|
+
var CreateGroupAction = {
|
|
8697
7935
|
encode(message, writer = new BinaryWriter4()) {
|
|
8698
7936
|
for (const v of message.node_ids) {
|
|
8699
|
-
writer.uint32(
|
|
7937
|
+
writer.uint32(18).string(v);
|
|
8700
7938
|
}
|
|
8701
7939
|
return writer;
|
|
8702
7940
|
},
|
|
8703
7941
|
decode(input, length) {
|
|
8704
7942
|
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
8705
7943
|
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
8706
|
-
const message =
|
|
7944
|
+
const message = createBaseCreateGroupAction();
|
|
8707
7945
|
while (reader.pos < end) {
|
|
8708
7946
|
const tag = reader.uint32();
|
|
8709
7947
|
switch (tag >>> 3) {
|
|
8710
|
-
case
|
|
8711
|
-
if (tag !==
|
|
7948
|
+
case 2: {
|
|
7949
|
+
if (tag !== 18) {
|
|
8712
7950
|
break;
|
|
8713
7951
|
}
|
|
8714
7952
|
message.node_ids.push(reader.string());
|
|
@@ -8735,18 +7973,18 @@ var UpdateGroupNodeIds = {
|
|
|
8735
7973
|
return obj;
|
|
8736
7974
|
},
|
|
8737
7975
|
create(base) {
|
|
8738
|
-
return
|
|
7976
|
+
return CreateGroupAction.fromPartial(base ?? {});
|
|
8739
7977
|
},
|
|
8740
7978
|
fromPartial(object) {
|
|
8741
|
-
const message =
|
|
7979
|
+
const message = createBaseCreateGroupAction();
|
|
8742
7980
|
message.node_ids = object.node_ids?.map((e) => e) || [];
|
|
8743
7981
|
return message;
|
|
8744
7982
|
}
|
|
8745
7983
|
};
|
|
8746
|
-
function
|
|
7984
|
+
function createBaseUngroupAction() {
|
|
8747
7985
|
return { group_id: "" };
|
|
8748
7986
|
}
|
|
8749
|
-
var
|
|
7987
|
+
var UngroupAction = {
|
|
8750
7988
|
encode(message, writer = new BinaryWriter4()) {
|
|
8751
7989
|
if (message.group_id !== "") {
|
|
8752
7990
|
writer.uint32(10).string(message.group_id);
|
|
@@ -8756,7 +7994,7 @@ var DeleteGroupAction = {
|
|
|
8756
7994
|
decode(input, length) {
|
|
8757
7995
|
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
8758
7996
|
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
8759
|
-
const message =
|
|
7997
|
+
const message = createBaseUngroupAction();
|
|
8760
7998
|
while (reader.pos < end) {
|
|
8761
7999
|
const tag = reader.uint32();
|
|
8762
8000
|
switch (tag >>> 3) {
|
|
@@ -8788,10 +8026,10 @@ var DeleteGroupAction = {
|
|
|
8788
8026
|
return obj;
|
|
8789
8027
|
},
|
|
8790
8028
|
create(base) {
|
|
8791
|
-
return
|
|
8029
|
+
return UngroupAction.fromPartial(base ?? {});
|
|
8792
8030
|
},
|
|
8793
8031
|
fromPartial(object) {
|
|
8794
|
-
const message =
|
|
8032
|
+
const message = createBaseUngroupAction();
|
|
8795
8033
|
message.group_id = object.group_id ?? "";
|
|
8796
8034
|
return message;
|
|
8797
8035
|
}
|
|
@@ -9864,7 +9102,7 @@ var RedoAction = {
|
|
|
9864
9102
|
}
|
|
9865
9103
|
};
|
|
9866
9104
|
function createBasePlaceModuleAction() {
|
|
9867
|
-
return { name: "", system: "", version: "", organization: ""
|
|
9105
|
+
return { name: "", system: "", version: "", organization: "" };
|
|
9868
9106
|
}
|
|
9869
9107
|
var PlaceModuleAction = {
|
|
9870
9108
|
encode(message, writer = new BinaryWriter4()) {
|
|
@@ -9880,9 +9118,6 @@ var PlaceModuleAction = {
|
|
|
9880
9118
|
if (message.organization !== "") {
|
|
9881
9119
|
writer.uint32(34).string(message.organization);
|
|
9882
9120
|
}
|
|
9883
|
-
if (message.position !== void 0) {
|
|
9884
|
-
Position2.encode(message.position, writer.uint32(42).fork()).join();
|
|
9885
|
-
}
|
|
9886
9121
|
return writer;
|
|
9887
9122
|
},
|
|
9888
9123
|
decode(input, length) {
|
|
@@ -9920,13 +9155,6 @@ var PlaceModuleAction = {
|
|
|
9920
9155
|
message.organization = reader.string();
|
|
9921
9156
|
continue;
|
|
9922
9157
|
}
|
|
9923
|
-
case 5: {
|
|
9924
|
-
if (tag !== 42) {
|
|
9925
|
-
break;
|
|
9926
|
-
}
|
|
9927
|
-
message.position = Position2.decode(reader, reader.uint32());
|
|
9928
|
-
continue;
|
|
9929
|
-
}
|
|
9930
9158
|
}
|
|
9931
9159
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9932
9160
|
break;
|
|
@@ -9940,8 +9168,7 @@ var PlaceModuleAction = {
|
|
|
9940
9168
|
name: isSet3(object.name) ? globalThis.String(object.name) : "",
|
|
9941
9169
|
system: isSet3(object.system) ? globalThis.String(object.system) : "",
|
|
9942
9170
|
version: isSet3(object.version) ? globalThis.String(object.version) : "",
|
|
9943
|
-
organization: isSet3(object.organization) ? globalThis.String(object.organization) : ""
|
|
9944
|
-
position: isSet3(object.position) ? Position2.fromJSON(object.position) : void 0
|
|
9171
|
+
organization: isSet3(object.organization) ? globalThis.String(object.organization) : ""
|
|
9945
9172
|
};
|
|
9946
9173
|
},
|
|
9947
9174
|
toJSON(message) {
|
|
@@ -9958,9 +9185,6 @@ var PlaceModuleAction = {
|
|
|
9958
9185
|
if (message.organization !== "") {
|
|
9959
9186
|
obj.organization = message.organization;
|
|
9960
9187
|
}
|
|
9961
|
-
if (message.position !== void 0) {
|
|
9962
|
-
obj.position = Position2.toJSON(message.position);
|
|
9963
|
-
}
|
|
9964
9188
|
return obj;
|
|
9965
9189
|
},
|
|
9966
9190
|
create(base) {
|
|
@@ -9972,7 +9196,6 @@ var PlaceModuleAction = {
|
|
|
9972
9196
|
message.system = object.system ?? "";
|
|
9973
9197
|
message.version = object.version ?? "";
|
|
9974
9198
|
message.organization = object.organization ?? "";
|
|
9975
|
-
message.position = object.position !== void 0 && object.position !== null ? Position2.fromPartial(object.position) : void 0;
|
|
9976
9199
|
return message;
|
|
9977
9200
|
}
|
|
9978
9201
|
};
|
|
@@ -9986,10 +9209,7 @@ function createBaseAction() {
|
|
|
9986
9209
|
rename_instance: void 0,
|
|
9987
9210
|
delete_instance: void 0,
|
|
9988
9211
|
copy_instances: void 0,
|
|
9989
|
-
sync_layout: void 0,
|
|
9990
9212
|
create_group: void 0,
|
|
9991
|
-
update_group: void 0,
|
|
9992
|
-
delete_group: void 0,
|
|
9993
9213
|
set_variables: void 0,
|
|
9994
9214
|
set_exports: void 0,
|
|
9995
9215
|
set_terraform: void 0,
|
|
@@ -10000,7 +9220,8 @@ function createBaseAction() {
|
|
|
10000
9220
|
undo: void 0,
|
|
10001
9221
|
redo: void 0,
|
|
10002
9222
|
place_module: void 0,
|
|
10003
|
-
set_use_providers: void 0
|
|
9223
|
+
set_use_providers: void 0,
|
|
9224
|
+
ungroup: void 0
|
|
10004
9225
|
};
|
|
10005
9226
|
}
|
|
10006
9227
|
var Action = {
|
|
@@ -10029,18 +9250,9 @@ var Action = {
|
|
|
10029
9250
|
if (message.copy_instances !== void 0) {
|
|
10030
9251
|
CopyInstancesAction.encode(message.copy_instances, writer.uint32(66).fork()).join();
|
|
10031
9252
|
}
|
|
10032
|
-
if (message.sync_layout !== void 0) {
|
|
10033
|
-
SyncLayoutAction.encode(message.sync_layout, writer.uint32(74).fork()).join();
|
|
10034
|
-
}
|
|
10035
9253
|
if (message.create_group !== void 0) {
|
|
10036
9254
|
CreateGroupAction.encode(message.create_group, writer.uint32(82).fork()).join();
|
|
10037
9255
|
}
|
|
10038
|
-
if (message.update_group !== void 0) {
|
|
10039
|
-
UpdateGroupAction.encode(message.update_group, writer.uint32(90).fork()).join();
|
|
10040
|
-
}
|
|
10041
|
-
if (message.delete_group !== void 0) {
|
|
10042
|
-
DeleteGroupAction.encode(message.delete_group, writer.uint32(98).fork()).join();
|
|
10043
|
-
}
|
|
10044
9256
|
if (message.set_variables !== void 0) {
|
|
10045
9257
|
SetVariablesAction.encode(message.set_variables, writer.uint32(106).fork()).join();
|
|
10046
9258
|
}
|
|
@@ -10074,6 +9286,9 @@ var Action = {
|
|
|
10074
9286
|
if (message.set_use_providers !== void 0) {
|
|
10075
9287
|
SetUseProvidersAction.encode(message.set_use_providers, writer.uint32(186).fork()).join();
|
|
10076
9288
|
}
|
|
9289
|
+
if (message.ungroup !== void 0) {
|
|
9290
|
+
UngroupAction.encode(message.ungroup, writer.uint32(194).fork()).join();
|
|
9291
|
+
}
|
|
10077
9292
|
return writer;
|
|
10078
9293
|
},
|
|
10079
9294
|
decode(input, length) {
|
|
@@ -10139,13 +9354,6 @@ var Action = {
|
|
|
10139
9354
|
message.copy_instances = CopyInstancesAction.decode(reader, reader.uint32());
|
|
10140
9355
|
continue;
|
|
10141
9356
|
}
|
|
10142
|
-
case 9: {
|
|
10143
|
-
if (tag !== 74) {
|
|
10144
|
-
break;
|
|
10145
|
-
}
|
|
10146
|
-
message.sync_layout = SyncLayoutAction.decode(reader, reader.uint32());
|
|
10147
|
-
continue;
|
|
10148
|
-
}
|
|
10149
9357
|
case 10: {
|
|
10150
9358
|
if (tag !== 82) {
|
|
10151
9359
|
break;
|
|
@@ -10153,20 +9361,6 @@ var Action = {
|
|
|
10153
9361
|
message.create_group = CreateGroupAction.decode(reader, reader.uint32());
|
|
10154
9362
|
continue;
|
|
10155
9363
|
}
|
|
10156
|
-
case 11: {
|
|
10157
|
-
if (tag !== 90) {
|
|
10158
|
-
break;
|
|
10159
|
-
}
|
|
10160
|
-
message.update_group = UpdateGroupAction.decode(reader, reader.uint32());
|
|
10161
|
-
continue;
|
|
10162
|
-
}
|
|
10163
|
-
case 12: {
|
|
10164
|
-
if (tag !== 98) {
|
|
10165
|
-
break;
|
|
10166
|
-
}
|
|
10167
|
-
message.delete_group = DeleteGroupAction.decode(reader, reader.uint32());
|
|
10168
|
-
continue;
|
|
10169
|
-
}
|
|
10170
9364
|
case 13: {
|
|
10171
9365
|
if (tag !== 106) {
|
|
10172
9366
|
break;
|
|
@@ -10244,6 +9438,13 @@ var Action = {
|
|
|
10244
9438
|
message.set_use_providers = SetUseProvidersAction.decode(reader, reader.uint32());
|
|
10245
9439
|
continue;
|
|
10246
9440
|
}
|
|
9441
|
+
case 24: {
|
|
9442
|
+
if (tag !== 194) {
|
|
9443
|
+
break;
|
|
9444
|
+
}
|
|
9445
|
+
message.ungroup = UngroupAction.decode(reader, reader.uint32());
|
|
9446
|
+
continue;
|
|
9447
|
+
}
|
|
10247
9448
|
}
|
|
10248
9449
|
if ((tag & 7) === 4 || tag === 0) {
|
|
10249
9450
|
break;
|
|
@@ -10262,10 +9463,7 @@ var Action = {
|
|
|
10262
9463
|
rename_instance: isSet3(object.renameInstance) ? RenameInstanceAction.fromJSON(object.renameInstance) : isSet3(object.rename_instance) ? RenameInstanceAction.fromJSON(object.rename_instance) : void 0,
|
|
10263
9464
|
delete_instance: isSet3(object.deleteInstance) ? DeleteInstanceAction.fromJSON(object.deleteInstance) : isSet3(object.delete_instance) ? DeleteInstanceAction.fromJSON(object.delete_instance) : void 0,
|
|
10264
9465
|
copy_instances: isSet3(object.copyInstances) ? CopyInstancesAction.fromJSON(object.copyInstances) : isSet3(object.copy_instances) ? CopyInstancesAction.fromJSON(object.copy_instances) : void 0,
|
|
10265
|
-
sync_layout: isSet3(object.syncLayout) ? SyncLayoutAction.fromJSON(object.syncLayout) : isSet3(object.sync_layout) ? SyncLayoutAction.fromJSON(object.sync_layout) : void 0,
|
|
10266
9466
|
create_group: isSet3(object.createGroup) ? CreateGroupAction.fromJSON(object.createGroup) : isSet3(object.create_group) ? CreateGroupAction.fromJSON(object.create_group) : void 0,
|
|
10267
|
-
update_group: isSet3(object.updateGroup) ? UpdateGroupAction.fromJSON(object.updateGroup) : isSet3(object.update_group) ? UpdateGroupAction.fromJSON(object.update_group) : void 0,
|
|
10268
|
-
delete_group: isSet3(object.deleteGroup) ? DeleteGroupAction.fromJSON(object.deleteGroup) : isSet3(object.delete_group) ? DeleteGroupAction.fromJSON(object.delete_group) : void 0,
|
|
10269
9467
|
set_variables: isSet3(object.setVariables) ? SetVariablesAction.fromJSON(object.setVariables) : isSet3(object.set_variables) ? SetVariablesAction.fromJSON(object.set_variables) : void 0,
|
|
10270
9468
|
set_exports: isSet3(object.setExports) ? SetExportsAction.fromJSON(object.setExports) : isSet3(object.set_exports) ? SetExportsAction.fromJSON(object.set_exports) : void 0,
|
|
10271
9469
|
set_terraform: isSet3(object.setTerraform) ? SetTerraformAction.fromJSON(object.setTerraform) : isSet3(object.set_terraform) ? SetTerraformAction.fromJSON(object.set_terraform) : void 0,
|
|
@@ -10276,7 +9474,8 @@ var Action = {
|
|
|
10276
9474
|
undo: isSet3(object.undo) ? UndoAction.fromJSON(object.undo) : void 0,
|
|
10277
9475
|
redo: isSet3(object.redo) ? RedoAction.fromJSON(object.redo) : void 0,
|
|
10278
9476
|
place_module: isSet3(object.placeModule) ? PlaceModuleAction.fromJSON(object.placeModule) : isSet3(object.place_module) ? PlaceModuleAction.fromJSON(object.place_module) : void 0,
|
|
10279
|
-
set_use_providers: isSet3(object.setUseProviders) ? SetUseProvidersAction.fromJSON(object.setUseProviders) : isSet3(object.set_use_providers) ? SetUseProvidersAction.fromJSON(object.set_use_providers) : void 0
|
|
9477
|
+
set_use_providers: isSet3(object.setUseProviders) ? SetUseProvidersAction.fromJSON(object.setUseProviders) : isSet3(object.set_use_providers) ? SetUseProvidersAction.fromJSON(object.set_use_providers) : void 0,
|
|
9478
|
+
ungroup: isSet3(object.ungroup) ? UngroupAction.fromJSON(object.ungroup) : void 0
|
|
10280
9479
|
};
|
|
10281
9480
|
},
|
|
10282
9481
|
toJSON(message) {
|
|
@@ -10305,18 +9504,9 @@ var Action = {
|
|
|
10305
9504
|
if (message.copy_instances !== void 0) {
|
|
10306
9505
|
obj.copyInstances = CopyInstancesAction.toJSON(message.copy_instances);
|
|
10307
9506
|
}
|
|
10308
|
-
if (message.sync_layout !== void 0) {
|
|
10309
|
-
obj.syncLayout = SyncLayoutAction.toJSON(message.sync_layout);
|
|
10310
|
-
}
|
|
10311
9507
|
if (message.create_group !== void 0) {
|
|
10312
9508
|
obj.createGroup = CreateGroupAction.toJSON(message.create_group);
|
|
10313
9509
|
}
|
|
10314
|
-
if (message.update_group !== void 0) {
|
|
10315
|
-
obj.updateGroup = UpdateGroupAction.toJSON(message.update_group);
|
|
10316
|
-
}
|
|
10317
|
-
if (message.delete_group !== void 0) {
|
|
10318
|
-
obj.deleteGroup = DeleteGroupAction.toJSON(message.delete_group);
|
|
10319
|
-
}
|
|
10320
9510
|
if (message.set_variables !== void 0) {
|
|
10321
9511
|
obj.setVariables = SetVariablesAction.toJSON(message.set_variables);
|
|
10322
9512
|
}
|
|
@@ -10350,6 +9540,9 @@ var Action = {
|
|
|
10350
9540
|
if (message.set_use_providers !== void 0) {
|
|
10351
9541
|
obj.setUseProviders = SetUseProvidersAction.toJSON(message.set_use_providers);
|
|
10352
9542
|
}
|
|
9543
|
+
if (message.ungroup !== void 0) {
|
|
9544
|
+
obj.ungroup = UngroupAction.toJSON(message.ungroup);
|
|
9545
|
+
}
|
|
10353
9546
|
return obj;
|
|
10354
9547
|
},
|
|
10355
9548
|
create(base) {
|
|
@@ -10365,10 +9558,7 @@ var Action = {
|
|
|
10365
9558
|
message.rename_instance = object.rename_instance !== void 0 && object.rename_instance !== null ? RenameInstanceAction.fromPartial(object.rename_instance) : void 0;
|
|
10366
9559
|
message.delete_instance = object.delete_instance !== void 0 && object.delete_instance !== null ? DeleteInstanceAction.fromPartial(object.delete_instance) : void 0;
|
|
10367
9560
|
message.copy_instances = object.copy_instances !== void 0 && object.copy_instances !== null ? CopyInstancesAction.fromPartial(object.copy_instances) : void 0;
|
|
10368
|
-
message.sync_layout = object.sync_layout !== void 0 && object.sync_layout !== null ? SyncLayoutAction.fromPartial(object.sync_layout) : void 0;
|
|
10369
9561
|
message.create_group = object.create_group !== void 0 && object.create_group !== null ? CreateGroupAction.fromPartial(object.create_group) : void 0;
|
|
10370
|
-
message.update_group = object.update_group !== void 0 && object.update_group !== null ? UpdateGroupAction.fromPartial(object.update_group) : void 0;
|
|
10371
|
-
message.delete_group = object.delete_group !== void 0 && object.delete_group !== null ? DeleteGroupAction.fromPartial(object.delete_group) : void 0;
|
|
10372
9562
|
message.set_variables = object.set_variables !== void 0 && object.set_variables !== null ? SetVariablesAction.fromPartial(object.set_variables) : void 0;
|
|
10373
9563
|
message.set_exports = object.set_exports !== void 0 && object.set_exports !== null ? SetExportsAction.fromPartial(object.set_exports) : void 0;
|
|
10374
9564
|
message.set_terraform = object.set_terraform !== void 0 && object.set_terraform !== null ? SetTerraformAction.fromPartial(object.set_terraform) : void 0;
|
|
@@ -10380,6 +9570,7 @@ var Action = {
|
|
|
10380
9570
|
message.redo = object.redo !== void 0 && object.redo !== null ? RedoAction.fromPartial(object.redo) : void 0;
|
|
10381
9571
|
message.place_module = object.place_module !== void 0 && object.place_module !== null ? PlaceModuleAction.fromPartial(object.place_module) : void 0;
|
|
10382
9572
|
message.set_use_providers = object.set_use_providers !== void 0 && object.set_use_providers !== null ? SetUseProvidersAction.fromPartial(object.set_use_providers) : void 0;
|
|
9573
|
+
message.ungroup = object.ungroup !== void 0 && object.ungroup !== null ? UngroupAction.fromPartial(object.ungroup) : void 0;
|
|
10383
9574
|
return message;
|
|
10384
9575
|
}
|
|
10385
9576
|
};
|
|
@@ -11454,16 +10645,13 @@ var BundleStateEvent = {
|
|
|
11454
10645
|
}
|
|
11455
10646
|
};
|
|
11456
10647
|
function createBaseBundleState() {
|
|
11457
|
-
return { bundle: void 0,
|
|
10648
|
+
return { bundle: void 0, can_undo: false, can_redo: false, is_dirty: false };
|
|
11458
10649
|
}
|
|
11459
10650
|
var BundleState = {
|
|
11460
10651
|
encode(message, writer = new BinaryWriter4()) {
|
|
11461
10652
|
if (message.bundle !== void 0) {
|
|
11462
10653
|
Bundle.encode(message.bundle, writer.uint32(10).fork()).join();
|
|
11463
10654
|
}
|
|
11464
|
-
globalThis.Object.entries(message.layouts).forEach(([key, value]) => {
|
|
11465
|
-
BundleState_LayoutsEntry.encode({ key, value }, writer.uint32(18).fork()).join();
|
|
11466
|
-
});
|
|
11467
10655
|
if (message.can_undo !== false) {
|
|
11468
10656
|
writer.uint32(24).bool(message.can_undo);
|
|
11469
10657
|
}
|
|
@@ -11489,16 +10677,6 @@ var BundleState = {
|
|
|
11489
10677
|
message.bundle = Bundle.decode(reader, reader.uint32());
|
|
11490
10678
|
continue;
|
|
11491
10679
|
}
|
|
11492
|
-
case 2: {
|
|
11493
|
-
if (tag !== 18) {
|
|
11494
|
-
break;
|
|
11495
|
-
}
|
|
11496
|
-
const entry2 = BundleState_LayoutsEntry.decode(reader, reader.uint32());
|
|
11497
|
-
if (entry2.value !== void 0) {
|
|
11498
|
-
message.layouts[entry2.key] = entry2.value;
|
|
11499
|
-
}
|
|
11500
|
-
continue;
|
|
11501
|
-
}
|
|
11502
10680
|
case 3: {
|
|
11503
10681
|
if (tag !== 24) {
|
|
11504
10682
|
break;
|
|
@@ -11531,13 +10709,6 @@ var BundleState = {
|
|
|
11531
10709
|
fromJSON(object) {
|
|
11532
10710
|
return {
|
|
11533
10711
|
bundle: isSet3(object.bundle) ? Bundle.fromJSON(object.bundle) : void 0,
|
|
11534
|
-
layouts: isObject3(object.layouts) ? globalThis.Object.entries(object.layouts).reduce(
|
|
11535
|
-
(acc, [key, value]) => {
|
|
11536
|
-
acc[key] = GraphLayout.fromJSON(value);
|
|
11537
|
-
return acc;
|
|
11538
|
-
},
|
|
11539
|
-
{}
|
|
11540
|
-
) : {},
|
|
11541
10712
|
can_undo: isSet3(object.canUndo) ? globalThis.Boolean(object.canUndo) : isSet3(object.can_undo) ? globalThis.Boolean(object.can_undo) : false,
|
|
11542
10713
|
can_redo: isSet3(object.canRedo) ? globalThis.Boolean(object.canRedo) : isSet3(object.can_redo) ? globalThis.Boolean(object.can_redo) : false,
|
|
11543
10714
|
is_dirty: isSet3(object.isDirty) ? globalThis.Boolean(object.isDirty) : isSet3(object.is_dirty) ? globalThis.Boolean(object.is_dirty) : false
|
|
@@ -11548,15 +10719,6 @@ var BundleState = {
|
|
|
11548
10719
|
if (message.bundle !== void 0) {
|
|
11549
10720
|
obj.bundle = Bundle.toJSON(message.bundle);
|
|
11550
10721
|
}
|
|
11551
|
-
if (message.layouts) {
|
|
11552
|
-
const entries = globalThis.Object.entries(message.layouts);
|
|
11553
|
-
if (entries.length > 0) {
|
|
11554
|
-
obj.layouts = {};
|
|
11555
|
-
entries.forEach(([k, v]) => {
|
|
11556
|
-
obj.layouts[k] = GraphLayout.toJSON(v);
|
|
11557
|
-
});
|
|
11558
|
-
}
|
|
11559
|
-
}
|
|
11560
10722
|
if (message.can_undo !== false) {
|
|
11561
10723
|
obj.canUndo = message.can_undo;
|
|
11562
10724
|
}
|
|
@@ -11574,53 +10736,54 @@ var BundleState = {
|
|
|
11574
10736
|
fromPartial(object) {
|
|
11575
10737
|
const message = createBaseBundleState();
|
|
11576
10738
|
message.bundle = object.bundle !== void 0 && object.bundle !== null ? Bundle.fromPartial(object.bundle) : void 0;
|
|
11577
|
-
message.layouts = globalThis.Object.entries(object.layouts ?? {}).reduce(
|
|
11578
|
-
(acc, [key, value]) => {
|
|
11579
|
-
if (value !== void 0) {
|
|
11580
|
-
acc[key] = GraphLayout.fromPartial(value);
|
|
11581
|
-
}
|
|
11582
|
-
return acc;
|
|
11583
|
-
},
|
|
11584
|
-
{}
|
|
11585
|
-
);
|
|
11586
10739
|
message.can_undo = object.can_undo ?? false;
|
|
11587
10740
|
message.can_redo = object.can_redo ?? false;
|
|
11588
10741
|
message.is_dirty = object.is_dirty ?? false;
|
|
11589
10742
|
return message;
|
|
11590
10743
|
}
|
|
11591
10744
|
};
|
|
11592
|
-
function
|
|
11593
|
-
return {
|
|
10745
|
+
function createBaseBundleApplyResult() {
|
|
10746
|
+
return { success: false, errors: [], created: [] };
|
|
11594
10747
|
}
|
|
11595
|
-
var
|
|
10748
|
+
var BundleApplyResult = {
|
|
11596
10749
|
encode(message, writer = new BinaryWriter4()) {
|
|
11597
|
-
if (message.
|
|
11598
|
-
writer.uint32(
|
|
10750
|
+
if (message.success !== false) {
|
|
10751
|
+
writer.uint32(8).bool(message.success);
|
|
11599
10752
|
}
|
|
11600
|
-
|
|
11601
|
-
|
|
10753
|
+
for (const v of message.errors) {
|
|
10754
|
+
GraphError.encode(v, writer.uint32(18).fork()).join();
|
|
10755
|
+
}
|
|
10756
|
+
for (const v of message.created) {
|
|
10757
|
+
CreatedRef.encode(v, writer.uint32(26).fork()).join();
|
|
11602
10758
|
}
|
|
11603
10759
|
return writer;
|
|
11604
10760
|
},
|
|
11605
10761
|
decode(input, length) {
|
|
11606
10762
|
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
11607
10763
|
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
11608
|
-
const message =
|
|
10764
|
+
const message = createBaseBundleApplyResult();
|
|
11609
10765
|
while (reader.pos < end) {
|
|
11610
10766
|
const tag = reader.uint32();
|
|
11611
10767
|
switch (tag >>> 3) {
|
|
11612
10768
|
case 1: {
|
|
11613
|
-
if (tag !==
|
|
10769
|
+
if (tag !== 8) {
|
|
11614
10770
|
break;
|
|
11615
10771
|
}
|
|
11616
|
-
message.
|
|
10772
|
+
message.success = reader.bool();
|
|
11617
10773
|
continue;
|
|
11618
10774
|
}
|
|
11619
10775
|
case 2: {
|
|
11620
10776
|
if (tag !== 18) {
|
|
11621
10777
|
break;
|
|
11622
10778
|
}
|
|
11623
|
-
message.
|
|
10779
|
+
message.errors.push(GraphError.decode(reader, reader.uint32()));
|
|
10780
|
+
continue;
|
|
10781
|
+
}
|
|
10782
|
+
case 3: {
|
|
10783
|
+
if (tag !== 26) {
|
|
10784
|
+
break;
|
|
10785
|
+
}
|
|
10786
|
+
message.created.push(CreatedRef.decode(reader, reader.uint32()));
|
|
11624
10787
|
continue;
|
|
11625
10788
|
}
|
|
11626
10789
|
}
|
|
@@ -11633,62 +10796,87 @@ var BundleState_LayoutsEntry = {
|
|
|
11633
10796
|
},
|
|
11634
10797
|
fromJSON(object) {
|
|
11635
10798
|
return {
|
|
11636
|
-
|
|
11637
|
-
|
|
10799
|
+
success: isSet3(object.success) ? globalThis.Boolean(object.success) : false,
|
|
10800
|
+
errors: globalThis.Array.isArray(object?.errors) ? object.errors.map((e) => GraphError.fromJSON(e)) : [],
|
|
10801
|
+
created: globalThis.Array.isArray(object?.created) ? object.created.map((e) => CreatedRef.fromJSON(e)) : []
|
|
11638
10802
|
};
|
|
11639
10803
|
},
|
|
11640
10804
|
toJSON(message) {
|
|
11641
10805
|
const obj = {};
|
|
11642
|
-
if (message.
|
|
11643
|
-
obj.
|
|
10806
|
+
if (message.success !== false) {
|
|
10807
|
+
obj.success = message.success;
|
|
11644
10808
|
}
|
|
11645
|
-
if (message.
|
|
11646
|
-
obj.
|
|
10809
|
+
if (message.errors?.length) {
|
|
10810
|
+
obj.errors = message.errors.map((e) => GraphError.toJSON(e));
|
|
10811
|
+
}
|
|
10812
|
+
if (message.created?.length) {
|
|
10813
|
+
obj.created = message.created.map((e) => CreatedRef.toJSON(e));
|
|
11647
10814
|
}
|
|
11648
10815
|
return obj;
|
|
11649
10816
|
},
|
|
11650
10817
|
create(base) {
|
|
11651
|
-
return
|
|
10818
|
+
return BundleApplyResult.fromPartial(base ?? {});
|
|
11652
10819
|
},
|
|
11653
10820
|
fromPartial(object) {
|
|
11654
|
-
const message =
|
|
11655
|
-
message.
|
|
11656
|
-
message.
|
|
10821
|
+
const message = createBaseBundleApplyResult();
|
|
10822
|
+
message.success = object.success ?? false;
|
|
10823
|
+
message.errors = object.errors?.map((e) => GraphError.fromPartial(e)) || [];
|
|
10824
|
+
message.created = object.created?.map((e) => CreatedRef.fromPartial(e)) || [];
|
|
11657
10825
|
return message;
|
|
11658
10826
|
}
|
|
11659
10827
|
};
|
|
11660
|
-
function
|
|
11661
|
-
return {
|
|
10828
|
+
function createBaseCreatedRef() {
|
|
10829
|
+
return { scope: "", id: "", module_key: "", source_id: "" };
|
|
11662
10830
|
}
|
|
11663
|
-
var
|
|
10831
|
+
var CreatedRef = {
|
|
11664
10832
|
encode(message, writer = new BinaryWriter4()) {
|
|
11665
|
-
if (message.
|
|
11666
|
-
writer.uint32(
|
|
10833
|
+
if (message.scope !== "") {
|
|
10834
|
+
writer.uint32(10).string(message.scope);
|
|
11667
10835
|
}
|
|
11668
|
-
|
|
11669
|
-
|
|
10836
|
+
if (message.id !== "") {
|
|
10837
|
+
writer.uint32(18).string(message.id);
|
|
10838
|
+
}
|
|
10839
|
+
if (message.module_key !== "") {
|
|
10840
|
+
writer.uint32(26).string(message.module_key);
|
|
10841
|
+
}
|
|
10842
|
+
if (message.source_id !== "") {
|
|
10843
|
+
writer.uint32(34).string(message.source_id);
|
|
11670
10844
|
}
|
|
11671
10845
|
return writer;
|
|
11672
10846
|
},
|
|
11673
10847
|
decode(input, length) {
|
|
11674
10848
|
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
11675
10849
|
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
11676
|
-
const message =
|
|
10850
|
+
const message = createBaseCreatedRef();
|
|
11677
10851
|
while (reader.pos < end) {
|
|
11678
10852
|
const tag = reader.uint32();
|
|
11679
10853
|
switch (tag >>> 3) {
|
|
11680
10854
|
case 1: {
|
|
11681
|
-
if (tag !==
|
|
10855
|
+
if (tag !== 10) {
|
|
11682
10856
|
break;
|
|
11683
10857
|
}
|
|
11684
|
-
message.
|
|
10858
|
+
message.scope = reader.string();
|
|
11685
10859
|
continue;
|
|
11686
10860
|
}
|
|
11687
10861
|
case 2: {
|
|
11688
10862
|
if (tag !== 18) {
|
|
11689
10863
|
break;
|
|
11690
10864
|
}
|
|
11691
|
-
message.
|
|
10865
|
+
message.id = reader.string();
|
|
10866
|
+
continue;
|
|
10867
|
+
}
|
|
10868
|
+
case 3: {
|
|
10869
|
+
if (tag !== 26) {
|
|
10870
|
+
break;
|
|
10871
|
+
}
|
|
10872
|
+
message.module_key = reader.string();
|
|
10873
|
+
continue;
|
|
10874
|
+
}
|
|
10875
|
+
case 4: {
|
|
10876
|
+
if (tag !== 34) {
|
|
10877
|
+
break;
|
|
10878
|
+
}
|
|
10879
|
+
message.source_id = reader.string();
|
|
11692
10880
|
continue;
|
|
11693
10881
|
}
|
|
11694
10882
|
}
|
|
@@ -11701,27 +10889,37 @@ var BundleApplyResult = {
|
|
|
11701
10889
|
},
|
|
11702
10890
|
fromJSON(object) {
|
|
11703
10891
|
return {
|
|
11704
|
-
|
|
11705
|
-
|
|
10892
|
+
scope: isSet3(object.scope) ? globalThis.String(object.scope) : "",
|
|
10893
|
+
id: isSet3(object.id) ? globalThis.String(object.id) : "",
|
|
10894
|
+
module_key: isSet3(object.moduleKey) ? globalThis.String(object.moduleKey) : isSet3(object.module_key) ? globalThis.String(object.module_key) : "",
|
|
10895
|
+
source_id: isSet3(object.sourceId) ? globalThis.String(object.sourceId) : isSet3(object.source_id) ? globalThis.String(object.source_id) : ""
|
|
11706
10896
|
};
|
|
11707
10897
|
},
|
|
11708
10898
|
toJSON(message) {
|
|
11709
10899
|
const obj = {};
|
|
11710
|
-
if (message.
|
|
11711
|
-
obj.
|
|
10900
|
+
if (message.scope !== "") {
|
|
10901
|
+
obj.scope = message.scope;
|
|
11712
10902
|
}
|
|
11713
|
-
if (message.
|
|
11714
|
-
obj.
|
|
10903
|
+
if (message.id !== "") {
|
|
10904
|
+
obj.id = message.id;
|
|
10905
|
+
}
|
|
10906
|
+
if (message.module_key !== "") {
|
|
10907
|
+
obj.moduleKey = message.module_key;
|
|
10908
|
+
}
|
|
10909
|
+
if (message.source_id !== "") {
|
|
10910
|
+
obj.sourceId = message.source_id;
|
|
11715
10911
|
}
|
|
11716
10912
|
return obj;
|
|
11717
10913
|
},
|
|
11718
10914
|
create(base) {
|
|
11719
|
-
return
|
|
10915
|
+
return CreatedRef.fromPartial(base ?? {});
|
|
11720
10916
|
},
|
|
11721
10917
|
fromPartial(object) {
|
|
11722
|
-
const message =
|
|
11723
|
-
message.
|
|
11724
|
-
message.
|
|
10918
|
+
const message = createBaseCreatedRef();
|
|
10919
|
+
message.scope = object.scope ?? "";
|
|
10920
|
+
message.id = object.id ?? "";
|
|
10921
|
+
message.module_key = object.module_key ?? "";
|
|
10922
|
+
message.source_id = object.source_id ?? "";
|
|
11725
10923
|
return message;
|
|
11726
10924
|
}
|
|
11727
10925
|
};
|
|
@@ -13600,74 +12798,6 @@ var RenderError = {
|
|
|
13600
12798
|
return message;
|
|
13601
12799
|
}
|
|
13602
12800
|
};
|
|
13603
|
-
function createBasePosition2() {
|
|
13604
|
-
return { x: 0, y: 0 };
|
|
13605
|
-
}
|
|
13606
|
-
var Position2 = {
|
|
13607
|
-
encode(message, writer = new BinaryWriter4()) {
|
|
13608
|
-
if (message.x !== 0) {
|
|
13609
|
-
writer.uint32(9).double(message.x);
|
|
13610
|
-
}
|
|
13611
|
-
if (message.y !== 0) {
|
|
13612
|
-
writer.uint32(17).double(message.y);
|
|
13613
|
-
}
|
|
13614
|
-
return writer;
|
|
13615
|
-
},
|
|
13616
|
-
decode(input, length) {
|
|
13617
|
-
const reader = input instanceof BinaryReader4 ? input : new BinaryReader4(input);
|
|
13618
|
-
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
13619
|
-
const message = createBasePosition2();
|
|
13620
|
-
while (reader.pos < end) {
|
|
13621
|
-
const tag = reader.uint32();
|
|
13622
|
-
switch (tag >>> 3) {
|
|
13623
|
-
case 1: {
|
|
13624
|
-
if (tag !== 9) {
|
|
13625
|
-
break;
|
|
13626
|
-
}
|
|
13627
|
-
message.x = reader.double();
|
|
13628
|
-
continue;
|
|
13629
|
-
}
|
|
13630
|
-
case 2: {
|
|
13631
|
-
if (tag !== 17) {
|
|
13632
|
-
break;
|
|
13633
|
-
}
|
|
13634
|
-
message.y = reader.double();
|
|
13635
|
-
continue;
|
|
13636
|
-
}
|
|
13637
|
-
}
|
|
13638
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
13639
|
-
break;
|
|
13640
|
-
}
|
|
13641
|
-
reader.skip(tag & 7);
|
|
13642
|
-
}
|
|
13643
|
-
return message;
|
|
13644
|
-
},
|
|
13645
|
-
fromJSON(object) {
|
|
13646
|
-
return {
|
|
13647
|
-
x: isSet3(object.x) ? globalThis.Number(object.x) : 0,
|
|
13648
|
-
y: isSet3(object.y) ? globalThis.Number(object.y) : 0
|
|
13649
|
-
};
|
|
13650
|
-
},
|
|
13651
|
-
toJSON(message) {
|
|
13652
|
-
const obj = {};
|
|
13653
|
-
if (message.x !== 0) {
|
|
13654
|
-
obj.x = message.x;
|
|
13655
|
-
}
|
|
13656
|
-
if (message.y !== 0) {
|
|
13657
|
-
obj.y = message.y;
|
|
13658
|
-
}
|
|
13659
|
-
return obj;
|
|
13660
|
-
},
|
|
13661
|
-
create(base) {
|
|
13662
|
-
return Position2.fromPartial(base ?? {});
|
|
13663
|
-
},
|
|
13664
|
-
fromPartial(object) {
|
|
13665
|
-
const message = createBasePosition2();
|
|
13666
|
-
message.x = object.x ?? 0;
|
|
13667
|
-
message.y = object.y ?? 0;
|
|
13668
|
-
return message;
|
|
13669
|
-
}
|
|
13670
|
-
};
|
|
13671
12801
|
function createBaseInputDef2() {
|
|
13672
12802
|
return {
|
|
13673
12803
|
name: "",
|
|
@@ -14249,7 +13379,9 @@ var LaceEngineService = {
|
|
|
14249
13379
|
* BundleState, which acts as the "subscribed" ready signal.
|
|
14250
13380
|
*
|
|
14251
13381
|
* Consumers (portal + extension canvas engines) project locally via
|
|
14252
|
-
* `@lace-cloud/canvas`'s `projectCanvasView(bundle,
|
|
13382
|
+
* `@lace-cloud/canvas`'s `projectCanvasView(bundle, arrangement?, meta)`.
|
|
13383
|
+
* `arrangement` (node positions, group collapse/label) is consumer-owned
|
|
13384
|
+
* view state — it never travels over this RPC.
|
|
14253
13385
|
*/
|
|
14254
13386
|
subscribe: {
|
|
14255
13387
|
path: "/lace.engine.LaceEngine/Subscribe",
|