@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.cjs
CHANGED
|
@@ -3311,7 +3311,7 @@ var TerraformBlock_RequiredProvidersEntry = {
|
|
|
3311
3311
|
}
|
|
3312
3312
|
};
|
|
3313
3313
|
function createBaseProviderRequirement() {
|
|
3314
|
-
return { source: "", version: "" };
|
|
3314
|
+
return { source: "", version: "", configuration_aliases: [] };
|
|
3315
3315
|
}
|
|
3316
3316
|
var ProviderRequirement = {
|
|
3317
3317
|
encode(message, writer = new import_wire3.BinaryWriter()) {
|
|
@@ -3321,6 +3321,9 @@ var ProviderRequirement = {
|
|
|
3321
3321
|
if (message.version !== "") {
|
|
3322
3322
|
writer.uint32(18).string(message.version);
|
|
3323
3323
|
}
|
|
3324
|
+
for (const v of message.configuration_aliases) {
|
|
3325
|
+
writer.uint32(26).string(v);
|
|
3326
|
+
}
|
|
3324
3327
|
return writer;
|
|
3325
3328
|
},
|
|
3326
3329
|
decode(input, length) {
|
|
@@ -3344,6 +3347,13 @@ var ProviderRequirement = {
|
|
|
3344
3347
|
message.version = reader.string();
|
|
3345
3348
|
continue;
|
|
3346
3349
|
}
|
|
3350
|
+
case 3: {
|
|
3351
|
+
if (tag !== 26) {
|
|
3352
|
+
break;
|
|
3353
|
+
}
|
|
3354
|
+
message.configuration_aliases.push(reader.string());
|
|
3355
|
+
continue;
|
|
3356
|
+
}
|
|
3347
3357
|
}
|
|
3348
3358
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3349
3359
|
break;
|
|
@@ -3355,7 +3365,8 @@ var ProviderRequirement = {
|
|
|
3355
3365
|
fromJSON(object) {
|
|
3356
3366
|
return {
|
|
3357
3367
|
source: isSet2(object.source) ? globalThis.String(object.source) : "",
|
|
3358
|
-
version: isSet2(object.version) ? globalThis.String(object.version) : ""
|
|
3368
|
+
version: isSet2(object.version) ? globalThis.String(object.version) : "",
|
|
3369
|
+
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)) : []
|
|
3359
3370
|
};
|
|
3360
3371
|
},
|
|
3361
3372
|
toJSON(message) {
|
|
@@ -3366,6 +3377,9 @@ var ProviderRequirement = {
|
|
|
3366
3377
|
if (message.version !== "") {
|
|
3367
3378
|
obj.version = message.version;
|
|
3368
3379
|
}
|
|
3380
|
+
if (message.configuration_aliases?.length) {
|
|
3381
|
+
obj.configurationAliases = message.configuration_aliases;
|
|
3382
|
+
}
|
|
3369
3383
|
return obj;
|
|
3370
3384
|
},
|
|
3371
3385
|
create(base) {
|
|
@@ -3375,6 +3389,7 @@ var ProviderRequirement = {
|
|
|
3375
3389
|
const message = createBaseProviderRequirement();
|
|
3376
3390
|
message.source = object.source ?? "";
|
|
3377
3391
|
message.version = object.version ?? "";
|
|
3392
|
+
message.configuration_aliases = object.configuration_aliases?.map((e) => e) || [];
|
|
3378
3393
|
return message;
|
|
3379
3394
|
}
|
|
3380
3395
|
};
|
|
@@ -3665,500 +3680,33 @@ function createBaseProviderConfig_ConfigEntry() {
|
|
|
3665
3680
|
}
|
|
3666
3681
|
var ProviderConfig_ConfigEntry = {
|
|
3667
3682
|
encode(message, writer = new import_wire3.BinaryWriter()) {
|
|
3668
|
-
if (message.key !== "") {
|
|
3669
|
-
writer.uint32(10).string(message.key);
|
|
3670
|
-
}
|
|
3671
|
-
if (message.value !== void 0) {
|
|
3672
|
-
Binding.encode(message.value, writer.uint32(18).fork()).join();
|
|
3673
|
-
}
|
|
3674
|
-
return writer;
|
|
3675
|
-
},
|
|
3676
|
-
decode(input, length) {
|
|
3677
|
-
const reader = input instanceof import_wire3.BinaryReader ? input : new import_wire3.BinaryReader(input);
|
|
3678
|
-
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
3679
|
-
const message = createBaseProviderConfig_ConfigEntry();
|
|
3680
|
-
while (reader.pos < end) {
|
|
3681
|
-
const tag = reader.uint32();
|
|
3682
|
-
switch (tag >>> 3) {
|
|
3683
|
-
case 1: {
|
|
3684
|
-
if (tag !== 10) {
|
|
3685
|
-
break;
|
|
3686
|
-
}
|
|
3687
|
-
message.key = reader.string();
|
|
3688
|
-
continue;
|
|
3689
|
-
}
|
|
3690
|
-
case 2: {
|
|
3691
|
-
if (tag !== 18) {
|
|
3692
|
-
break;
|
|
3693
|
-
}
|
|
3694
|
-
message.value = Binding.decode(reader, reader.uint32());
|
|
3695
|
-
continue;
|
|
3696
|
-
}
|
|
3697
|
-
}
|
|
3698
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
3699
|
-
break;
|
|
3700
|
-
}
|
|
3701
|
-
reader.skip(tag & 7);
|
|
3702
|
-
}
|
|
3703
|
-
return message;
|
|
3704
|
-
},
|
|
3705
|
-
fromJSON(object) {
|
|
3706
|
-
return {
|
|
3707
|
-
key: isSet2(object.key) ? globalThis.String(object.key) : "",
|
|
3708
|
-
value: isSet2(object.value) ? Binding.fromJSON(object.value) : void 0
|
|
3709
|
-
};
|
|
3710
|
-
},
|
|
3711
|
-
toJSON(message) {
|
|
3712
|
-
const obj = {};
|
|
3713
|
-
if (message.key !== "") {
|
|
3714
|
-
obj.key = message.key;
|
|
3715
|
-
}
|
|
3716
|
-
if (message.value !== void 0) {
|
|
3717
|
-
obj.value = Binding.toJSON(message.value);
|
|
3718
|
-
}
|
|
3719
|
-
return obj;
|
|
3720
|
-
},
|
|
3721
|
-
create(base) {
|
|
3722
|
-
return ProviderConfig_ConfigEntry.fromPartial(base ?? {});
|
|
3723
|
-
},
|
|
3724
|
-
fromPartial(object) {
|
|
3725
|
-
const message = createBaseProviderConfig_ConfigEntry();
|
|
3726
|
-
message.key = object.key ?? "";
|
|
3727
|
-
message.value = object.value !== void 0 && object.value !== null ? Binding.fromPartial(object.value) : void 0;
|
|
3728
|
-
return message;
|
|
3729
|
-
}
|
|
3730
|
-
};
|
|
3731
|
-
function createBaseGraphLayout() {
|
|
3732
|
-
return { nodes: {}, groups: {} };
|
|
3733
|
-
}
|
|
3734
|
-
var GraphLayout = {
|
|
3735
|
-
encode(message, writer = new import_wire3.BinaryWriter()) {
|
|
3736
|
-
globalThis.Object.entries(message.nodes).forEach(([key, value]) => {
|
|
3737
|
-
GraphLayout_NodesEntry.encode({ key, value }, writer.uint32(10).fork()).join();
|
|
3738
|
-
});
|
|
3739
|
-
globalThis.Object.entries(message.groups).forEach(([key, value]) => {
|
|
3740
|
-
GraphLayout_GroupsEntry.encode({ key, value }, writer.uint32(18).fork()).join();
|
|
3741
|
-
});
|
|
3742
|
-
return writer;
|
|
3743
|
-
},
|
|
3744
|
-
decode(input, length) {
|
|
3745
|
-
const reader = input instanceof import_wire3.BinaryReader ? input : new import_wire3.BinaryReader(input);
|
|
3746
|
-
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
3747
|
-
const message = createBaseGraphLayout();
|
|
3748
|
-
while (reader.pos < end) {
|
|
3749
|
-
const tag = reader.uint32();
|
|
3750
|
-
switch (tag >>> 3) {
|
|
3751
|
-
case 1: {
|
|
3752
|
-
if (tag !== 10) {
|
|
3753
|
-
break;
|
|
3754
|
-
}
|
|
3755
|
-
const entry1 = GraphLayout_NodesEntry.decode(reader, reader.uint32());
|
|
3756
|
-
if (entry1.value !== void 0) {
|
|
3757
|
-
message.nodes[entry1.key] = entry1.value;
|
|
3758
|
-
}
|
|
3759
|
-
continue;
|
|
3760
|
-
}
|
|
3761
|
-
case 2: {
|
|
3762
|
-
if (tag !== 18) {
|
|
3763
|
-
break;
|
|
3764
|
-
}
|
|
3765
|
-
const entry2 = GraphLayout_GroupsEntry.decode(reader, reader.uint32());
|
|
3766
|
-
if (entry2.value !== void 0) {
|
|
3767
|
-
message.groups[entry2.key] = entry2.value;
|
|
3768
|
-
}
|
|
3769
|
-
continue;
|
|
3770
|
-
}
|
|
3771
|
-
}
|
|
3772
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
3773
|
-
break;
|
|
3774
|
-
}
|
|
3775
|
-
reader.skip(tag & 7);
|
|
3776
|
-
}
|
|
3777
|
-
return message;
|
|
3778
|
-
},
|
|
3779
|
-
fromJSON(object) {
|
|
3780
|
-
return {
|
|
3781
|
-
nodes: isObject2(object.nodes) ? globalThis.Object.entries(object.nodes).reduce(
|
|
3782
|
-
(acc, [key, value]) => {
|
|
3783
|
-
acc[key] = NodeLayout.fromJSON(value);
|
|
3784
|
-
return acc;
|
|
3785
|
-
},
|
|
3786
|
-
{}
|
|
3787
|
-
) : {},
|
|
3788
|
-
groups: isObject2(object.groups) ? globalThis.Object.entries(object.groups).reduce(
|
|
3789
|
-
(acc, [key, value]) => {
|
|
3790
|
-
acc[key] = NodeGroup.fromJSON(value);
|
|
3791
|
-
return acc;
|
|
3792
|
-
},
|
|
3793
|
-
{}
|
|
3794
|
-
) : {}
|
|
3795
|
-
};
|
|
3796
|
-
},
|
|
3797
|
-
toJSON(message) {
|
|
3798
|
-
const obj = {};
|
|
3799
|
-
if (message.nodes) {
|
|
3800
|
-
const entries = globalThis.Object.entries(message.nodes);
|
|
3801
|
-
if (entries.length > 0) {
|
|
3802
|
-
obj.nodes = {};
|
|
3803
|
-
entries.forEach(([k, v]) => {
|
|
3804
|
-
obj.nodes[k] = NodeLayout.toJSON(v);
|
|
3805
|
-
});
|
|
3806
|
-
}
|
|
3807
|
-
}
|
|
3808
|
-
if (message.groups) {
|
|
3809
|
-
const entries = globalThis.Object.entries(message.groups);
|
|
3810
|
-
if (entries.length > 0) {
|
|
3811
|
-
obj.groups = {};
|
|
3812
|
-
entries.forEach(([k, v]) => {
|
|
3813
|
-
obj.groups[k] = NodeGroup.toJSON(v);
|
|
3814
|
-
});
|
|
3815
|
-
}
|
|
3816
|
-
}
|
|
3817
|
-
return obj;
|
|
3818
|
-
},
|
|
3819
|
-
create(base) {
|
|
3820
|
-
return GraphLayout.fromPartial(base ?? {});
|
|
3821
|
-
},
|
|
3822
|
-
fromPartial(object) {
|
|
3823
|
-
const message = createBaseGraphLayout();
|
|
3824
|
-
message.nodes = globalThis.Object.entries(object.nodes ?? {}).reduce(
|
|
3825
|
-
(acc, [key, value]) => {
|
|
3826
|
-
if (value !== void 0) {
|
|
3827
|
-
acc[key] = NodeLayout.fromPartial(value);
|
|
3828
|
-
}
|
|
3829
|
-
return acc;
|
|
3830
|
-
},
|
|
3831
|
-
{}
|
|
3832
|
-
);
|
|
3833
|
-
message.groups = globalThis.Object.entries(object.groups ?? {}).reduce(
|
|
3834
|
-
(acc, [key, value]) => {
|
|
3835
|
-
if (value !== void 0) {
|
|
3836
|
-
acc[key] = NodeGroup.fromPartial(value);
|
|
3837
|
-
}
|
|
3838
|
-
return acc;
|
|
3839
|
-
},
|
|
3840
|
-
{}
|
|
3841
|
-
);
|
|
3842
|
-
return message;
|
|
3843
|
-
}
|
|
3844
|
-
};
|
|
3845
|
-
function createBaseGraphLayout_NodesEntry() {
|
|
3846
|
-
return { key: "", value: void 0 };
|
|
3847
|
-
}
|
|
3848
|
-
var GraphLayout_NodesEntry = {
|
|
3849
|
-
encode(message, writer = new import_wire3.BinaryWriter()) {
|
|
3850
|
-
if (message.key !== "") {
|
|
3851
|
-
writer.uint32(10).string(message.key);
|
|
3852
|
-
}
|
|
3853
|
-
if (message.value !== void 0) {
|
|
3854
|
-
NodeLayout.encode(message.value, writer.uint32(18).fork()).join();
|
|
3855
|
-
}
|
|
3856
|
-
return writer;
|
|
3857
|
-
},
|
|
3858
|
-
decode(input, length) {
|
|
3859
|
-
const reader = input instanceof import_wire3.BinaryReader ? input : new import_wire3.BinaryReader(input);
|
|
3860
|
-
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
3861
|
-
const message = createBaseGraphLayout_NodesEntry();
|
|
3862
|
-
while (reader.pos < end) {
|
|
3863
|
-
const tag = reader.uint32();
|
|
3864
|
-
switch (tag >>> 3) {
|
|
3865
|
-
case 1: {
|
|
3866
|
-
if (tag !== 10) {
|
|
3867
|
-
break;
|
|
3868
|
-
}
|
|
3869
|
-
message.key = reader.string();
|
|
3870
|
-
continue;
|
|
3871
|
-
}
|
|
3872
|
-
case 2: {
|
|
3873
|
-
if (tag !== 18) {
|
|
3874
|
-
break;
|
|
3875
|
-
}
|
|
3876
|
-
message.value = NodeLayout.decode(reader, reader.uint32());
|
|
3877
|
-
continue;
|
|
3878
|
-
}
|
|
3879
|
-
}
|
|
3880
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
3881
|
-
break;
|
|
3882
|
-
}
|
|
3883
|
-
reader.skip(tag & 7);
|
|
3884
|
-
}
|
|
3885
|
-
return message;
|
|
3886
|
-
},
|
|
3887
|
-
fromJSON(object) {
|
|
3888
|
-
return {
|
|
3889
|
-
key: isSet2(object.key) ? globalThis.String(object.key) : "",
|
|
3890
|
-
value: isSet2(object.value) ? NodeLayout.fromJSON(object.value) : void 0
|
|
3891
|
-
};
|
|
3892
|
-
},
|
|
3893
|
-
toJSON(message) {
|
|
3894
|
-
const obj = {};
|
|
3895
|
-
if (message.key !== "") {
|
|
3896
|
-
obj.key = message.key;
|
|
3897
|
-
}
|
|
3898
|
-
if (message.value !== void 0) {
|
|
3899
|
-
obj.value = NodeLayout.toJSON(message.value);
|
|
3900
|
-
}
|
|
3901
|
-
return obj;
|
|
3902
|
-
},
|
|
3903
|
-
create(base) {
|
|
3904
|
-
return GraphLayout_NodesEntry.fromPartial(base ?? {});
|
|
3905
|
-
},
|
|
3906
|
-
fromPartial(object) {
|
|
3907
|
-
const message = createBaseGraphLayout_NodesEntry();
|
|
3908
|
-
message.key = object.key ?? "";
|
|
3909
|
-
message.value = object.value !== void 0 && object.value !== null ? NodeLayout.fromPartial(object.value) : void 0;
|
|
3910
|
-
return message;
|
|
3911
|
-
}
|
|
3912
|
-
};
|
|
3913
|
-
function createBaseGraphLayout_GroupsEntry() {
|
|
3914
|
-
return { key: "", value: void 0 };
|
|
3915
|
-
}
|
|
3916
|
-
var GraphLayout_GroupsEntry = {
|
|
3917
|
-
encode(message, writer = new import_wire3.BinaryWriter()) {
|
|
3918
|
-
if (message.key !== "") {
|
|
3919
|
-
writer.uint32(10).string(message.key);
|
|
3920
|
-
}
|
|
3921
|
-
if (message.value !== void 0) {
|
|
3922
|
-
NodeGroup.encode(message.value, writer.uint32(18).fork()).join();
|
|
3923
|
-
}
|
|
3924
|
-
return writer;
|
|
3925
|
-
},
|
|
3926
|
-
decode(input, length) {
|
|
3927
|
-
const reader = input instanceof import_wire3.BinaryReader ? input : new import_wire3.BinaryReader(input);
|
|
3928
|
-
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
3929
|
-
const message = createBaseGraphLayout_GroupsEntry();
|
|
3930
|
-
while (reader.pos < end) {
|
|
3931
|
-
const tag = reader.uint32();
|
|
3932
|
-
switch (tag >>> 3) {
|
|
3933
|
-
case 1: {
|
|
3934
|
-
if (tag !== 10) {
|
|
3935
|
-
break;
|
|
3936
|
-
}
|
|
3937
|
-
message.key = reader.string();
|
|
3938
|
-
continue;
|
|
3939
|
-
}
|
|
3940
|
-
case 2: {
|
|
3941
|
-
if (tag !== 18) {
|
|
3942
|
-
break;
|
|
3943
|
-
}
|
|
3944
|
-
message.value = NodeGroup.decode(reader, reader.uint32());
|
|
3945
|
-
continue;
|
|
3946
|
-
}
|
|
3947
|
-
}
|
|
3948
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
3949
|
-
break;
|
|
3950
|
-
}
|
|
3951
|
-
reader.skip(tag & 7);
|
|
3952
|
-
}
|
|
3953
|
-
return message;
|
|
3954
|
-
},
|
|
3955
|
-
fromJSON(object) {
|
|
3956
|
-
return {
|
|
3957
|
-
key: isSet2(object.key) ? globalThis.String(object.key) : "",
|
|
3958
|
-
value: isSet2(object.value) ? NodeGroup.fromJSON(object.value) : void 0
|
|
3959
|
-
};
|
|
3960
|
-
},
|
|
3961
|
-
toJSON(message) {
|
|
3962
|
-
const obj = {};
|
|
3963
|
-
if (message.key !== "") {
|
|
3964
|
-
obj.key = message.key;
|
|
3965
|
-
}
|
|
3966
|
-
if (message.value !== void 0) {
|
|
3967
|
-
obj.value = NodeGroup.toJSON(message.value);
|
|
3968
|
-
}
|
|
3969
|
-
return obj;
|
|
3970
|
-
},
|
|
3971
|
-
create(base) {
|
|
3972
|
-
return GraphLayout_GroupsEntry.fromPartial(base ?? {});
|
|
3973
|
-
},
|
|
3974
|
-
fromPartial(object) {
|
|
3975
|
-
const message = createBaseGraphLayout_GroupsEntry();
|
|
3976
|
-
message.key = object.key ?? "";
|
|
3977
|
-
message.value = object.value !== void 0 && object.value !== null ? NodeGroup.fromPartial(object.value) : void 0;
|
|
3978
|
-
return message;
|
|
3979
|
-
}
|
|
3980
|
-
};
|
|
3981
|
-
function createBaseNodeGroup() {
|
|
3982
|
-
return { id: "", label: "", node_ids: [], collapsed: false };
|
|
3983
|
-
}
|
|
3984
|
-
var NodeGroup = {
|
|
3985
|
-
encode(message, writer = new import_wire3.BinaryWriter()) {
|
|
3986
|
-
if (message.id !== "") {
|
|
3987
|
-
writer.uint32(10).string(message.id);
|
|
3988
|
-
}
|
|
3989
|
-
if (message.label !== "") {
|
|
3990
|
-
writer.uint32(18).string(message.label);
|
|
3991
|
-
}
|
|
3992
|
-
for (const v of message.node_ids) {
|
|
3993
|
-
writer.uint32(26).string(v);
|
|
3994
|
-
}
|
|
3995
|
-
if (message.collapsed !== false) {
|
|
3996
|
-
writer.uint32(32).bool(message.collapsed);
|
|
3997
|
-
}
|
|
3998
|
-
return writer;
|
|
3999
|
-
},
|
|
4000
|
-
decode(input, length) {
|
|
4001
|
-
const reader = input instanceof import_wire3.BinaryReader ? input : new import_wire3.BinaryReader(input);
|
|
4002
|
-
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
4003
|
-
const message = createBaseNodeGroup();
|
|
4004
|
-
while (reader.pos < end) {
|
|
4005
|
-
const tag = reader.uint32();
|
|
4006
|
-
switch (tag >>> 3) {
|
|
4007
|
-
case 1: {
|
|
4008
|
-
if (tag !== 10) {
|
|
4009
|
-
break;
|
|
4010
|
-
}
|
|
4011
|
-
message.id = reader.string();
|
|
4012
|
-
continue;
|
|
4013
|
-
}
|
|
4014
|
-
case 2: {
|
|
4015
|
-
if (tag !== 18) {
|
|
4016
|
-
break;
|
|
4017
|
-
}
|
|
4018
|
-
message.label = reader.string();
|
|
4019
|
-
continue;
|
|
4020
|
-
}
|
|
4021
|
-
case 3: {
|
|
4022
|
-
if (tag !== 26) {
|
|
4023
|
-
break;
|
|
4024
|
-
}
|
|
4025
|
-
message.node_ids.push(reader.string());
|
|
4026
|
-
continue;
|
|
4027
|
-
}
|
|
4028
|
-
case 4: {
|
|
4029
|
-
if (tag !== 32) {
|
|
4030
|
-
break;
|
|
4031
|
-
}
|
|
4032
|
-
message.collapsed = reader.bool();
|
|
4033
|
-
continue;
|
|
4034
|
-
}
|
|
4035
|
-
}
|
|
4036
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
4037
|
-
break;
|
|
4038
|
-
}
|
|
4039
|
-
reader.skip(tag & 7);
|
|
4040
|
-
}
|
|
4041
|
-
return message;
|
|
4042
|
-
},
|
|
4043
|
-
fromJSON(object) {
|
|
4044
|
-
return {
|
|
4045
|
-
id: isSet2(object.id) ? globalThis.String(object.id) : "",
|
|
4046
|
-
label: isSet2(object.label) ? globalThis.String(object.label) : "",
|
|
4047
|
-
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)) : [],
|
|
4048
|
-
collapsed: isSet2(object.collapsed) ? globalThis.Boolean(object.collapsed) : false
|
|
4049
|
-
};
|
|
4050
|
-
},
|
|
4051
|
-
toJSON(message) {
|
|
4052
|
-
const obj = {};
|
|
4053
|
-
if (message.id !== "") {
|
|
4054
|
-
obj.id = message.id;
|
|
4055
|
-
}
|
|
4056
|
-
if (message.label !== "") {
|
|
4057
|
-
obj.label = message.label;
|
|
4058
|
-
}
|
|
4059
|
-
if (message.node_ids?.length) {
|
|
4060
|
-
obj.nodeIds = message.node_ids;
|
|
4061
|
-
}
|
|
4062
|
-
if (message.collapsed !== false) {
|
|
4063
|
-
obj.collapsed = message.collapsed;
|
|
4064
|
-
}
|
|
4065
|
-
return obj;
|
|
4066
|
-
},
|
|
4067
|
-
create(base) {
|
|
4068
|
-
return NodeGroup.fromPartial(base ?? {});
|
|
4069
|
-
},
|
|
4070
|
-
fromPartial(object) {
|
|
4071
|
-
const message = createBaseNodeGroup();
|
|
4072
|
-
message.id = object.id ?? "";
|
|
4073
|
-
message.label = object.label ?? "";
|
|
4074
|
-
message.node_ids = object.node_ids?.map((e) => e) || [];
|
|
4075
|
-
message.collapsed = object.collapsed ?? false;
|
|
4076
|
-
return message;
|
|
4077
|
-
}
|
|
4078
|
-
};
|
|
4079
|
-
function createBaseNodeLayout() {
|
|
4080
|
-
return { position: void 0 };
|
|
4081
|
-
}
|
|
4082
|
-
var NodeLayout = {
|
|
4083
|
-
encode(message, writer = new import_wire3.BinaryWriter()) {
|
|
4084
|
-
if (message.position !== void 0) {
|
|
4085
|
-
Position.encode(message.position, writer.uint32(10).fork()).join();
|
|
4086
|
-
}
|
|
4087
|
-
return writer;
|
|
4088
|
-
},
|
|
4089
|
-
decode(input, length) {
|
|
4090
|
-
const reader = input instanceof import_wire3.BinaryReader ? input : new import_wire3.BinaryReader(input);
|
|
4091
|
-
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
4092
|
-
const message = createBaseNodeLayout();
|
|
4093
|
-
while (reader.pos < end) {
|
|
4094
|
-
const tag = reader.uint32();
|
|
4095
|
-
switch (tag >>> 3) {
|
|
4096
|
-
case 1: {
|
|
4097
|
-
if (tag !== 10) {
|
|
4098
|
-
break;
|
|
4099
|
-
}
|
|
4100
|
-
message.position = Position.decode(reader, reader.uint32());
|
|
4101
|
-
continue;
|
|
4102
|
-
}
|
|
4103
|
-
}
|
|
4104
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
4105
|
-
break;
|
|
4106
|
-
}
|
|
4107
|
-
reader.skip(tag & 7);
|
|
4108
|
-
}
|
|
4109
|
-
return message;
|
|
4110
|
-
},
|
|
4111
|
-
fromJSON(object) {
|
|
4112
|
-
return { position: isSet2(object.position) ? Position.fromJSON(object.position) : void 0 };
|
|
4113
|
-
},
|
|
4114
|
-
toJSON(message) {
|
|
4115
|
-
const obj = {};
|
|
4116
|
-
if (message.position !== void 0) {
|
|
4117
|
-
obj.position = Position.toJSON(message.position);
|
|
4118
|
-
}
|
|
4119
|
-
return obj;
|
|
4120
|
-
},
|
|
4121
|
-
create(base) {
|
|
4122
|
-
return NodeLayout.fromPartial(base ?? {});
|
|
4123
|
-
},
|
|
4124
|
-
fromPartial(object) {
|
|
4125
|
-
const message = createBaseNodeLayout();
|
|
4126
|
-
message.position = object.position !== void 0 && object.position !== null ? Position.fromPartial(object.position) : void 0;
|
|
4127
|
-
return message;
|
|
4128
|
-
}
|
|
4129
|
-
};
|
|
4130
|
-
function createBasePosition() {
|
|
4131
|
-
return { x: 0, y: 0 };
|
|
4132
|
-
}
|
|
4133
|
-
var Position = {
|
|
4134
|
-
encode(message, writer = new import_wire3.BinaryWriter()) {
|
|
4135
|
-
if (message.x !== 0) {
|
|
4136
|
-
writer.uint32(9).double(message.x);
|
|
3683
|
+
if (message.key !== "") {
|
|
3684
|
+
writer.uint32(10).string(message.key);
|
|
4137
3685
|
}
|
|
4138
|
-
if (message.
|
|
4139
|
-
writer.uint32(
|
|
3686
|
+
if (message.value !== void 0) {
|
|
3687
|
+
Binding.encode(message.value, writer.uint32(18).fork()).join();
|
|
4140
3688
|
}
|
|
4141
3689
|
return writer;
|
|
4142
3690
|
},
|
|
4143
3691
|
decode(input, length) {
|
|
4144
3692
|
const reader = input instanceof import_wire3.BinaryReader ? input : new import_wire3.BinaryReader(input);
|
|
4145
3693
|
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
4146
|
-
const message =
|
|
3694
|
+
const message = createBaseProviderConfig_ConfigEntry();
|
|
4147
3695
|
while (reader.pos < end) {
|
|
4148
3696
|
const tag = reader.uint32();
|
|
4149
3697
|
switch (tag >>> 3) {
|
|
4150
3698
|
case 1: {
|
|
4151
|
-
if (tag !==
|
|
3699
|
+
if (tag !== 10) {
|
|
4152
3700
|
break;
|
|
4153
3701
|
}
|
|
4154
|
-
message.
|
|
3702
|
+
message.key = reader.string();
|
|
4155
3703
|
continue;
|
|
4156
3704
|
}
|
|
4157
3705
|
case 2: {
|
|
4158
|
-
if (tag !==
|
|
3706
|
+
if (tag !== 18) {
|
|
4159
3707
|
break;
|
|
4160
3708
|
}
|
|
4161
|
-
message.
|
|
3709
|
+
message.value = Binding.decode(reader, reader.uint32());
|
|
4162
3710
|
continue;
|
|
4163
3711
|
}
|
|
4164
3712
|
}
|
|
@@ -4171,27 +3719,27 @@ var Position = {
|
|
|
4171
3719
|
},
|
|
4172
3720
|
fromJSON(object) {
|
|
4173
3721
|
return {
|
|
4174
|
-
|
|
4175
|
-
|
|
3722
|
+
key: isSet2(object.key) ? globalThis.String(object.key) : "",
|
|
3723
|
+
value: isSet2(object.value) ? Binding.fromJSON(object.value) : void 0
|
|
4176
3724
|
};
|
|
4177
3725
|
},
|
|
4178
3726
|
toJSON(message) {
|
|
4179
3727
|
const obj = {};
|
|
4180
|
-
if (message.
|
|
4181
|
-
obj.
|
|
3728
|
+
if (message.key !== "") {
|
|
3729
|
+
obj.key = message.key;
|
|
4182
3730
|
}
|
|
4183
|
-
if (message.
|
|
4184
|
-
obj.
|
|
3731
|
+
if (message.value !== void 0) {
|
|
3732
|
+
obj.value = Binding.toJSON(message.value);
|
|
4185
3733
|
}
|
|
4186
3734
|
return obj;
|
|
4187
3735
|
},
|
|
4188
3736
|
create(base) {
|
|
4189
|
-
return
|
|
3737
|
+
return ProviderConfig_ConfigEntry.fromPartial(base ?? {});
|
|
4190
3738
|
},
|
|
4191
3739
|
fromPartial(object) {
|
|
4192
|
-
const message =
|
|
4193
|
-
message.
|
|
4194
|
-
message.
|
|
3740
|
+
const message = createBaseProviderConfig_ConfigEntry();
|
|
3741
|
+
message.key = object.key ?? "";
|
|
3742
|
+
message.value = object.value !== void 0 && object.value !== null ? Binding.fromPartial(object.value) : void 0;
|
|
4195
3743
|
return message;
|
|
4196
3744
|
}
|
|
4197
3745
|
};
|
|
@@ -8355,299 +7903,25 @@ var DeleteInstanceAction = {
|
|
|
8355
7903
|
return DeleteInstanceAction.fromPartial(base ?? {});
|
|
8356
7904
|
},
|
|
8357
7905
|
fromPartial(object) {
|
|
8358
|
-
const message = createBaseDeleteInstanceAction();
|
|
8359
|
-
message.instance_id = object.instance_id ?? "";
|
|
8360
|
-
return message;
|
|
8361
|
-
}
|
|
8362
|
-
};
|
|
8363
|
-
function createBaseCopyInstancesAction() {
|
|
8364
|
-
return { instance_ids: [] };
|
|
8365
|
-
}
|
|
8366
|
-
var CopyInstancesAction = {
|
|
8367
|
-
encode(message, writer = new import_wire4.BinaryWriter()) {
|
|
8368
|
-
for (const v of message.instance_ids) {
|
|
8369
|
-
writer.uint32(10).string(v);
|
|
8370
|
-
}
|
|
8371
|
-
return writer;
|
|
8372
|
-
},
|
|
8373
|
-
decode(input, length) {
|
|
8374
|
-
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
8375
|
-
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
8376
|
-
const message = createBaseCopyInstancesAction();
|
|
8377
|
-
while (reader.pos < end) {
|
|
8378
|
-
const tag = reader.uint32();
|
|
8379
|
-
switch (tag >>> 3) {
|
|
8380
|
-
case 1: {
|
|
8381
|
-
if (tag !== 10) {
|
|
8382
|
-
break;
|
|
8383
|
-
}
|
|
8384
|
-
message.instance_ids.push(reader.string());
|
|
8385
|
-
continue;
|
|
8386
|
-
}
|
|
8387
|
-
}
|
|
8388
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
8389
|
-
break;
|
|
8390
|
-
}
|
|
8391
|
-
reader.skip(tag & 7);
|
|
8392
|
-
}
|
|
8393
|
-
return message;
|
|
8394
|
-
},
|
|
8395
|
-
fromJSON(object) {
|
|
8396
|
-
return {
|
|
8397
|
-
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)) : []
|
|
8398
|
-
};
|
|
8399
|
-
},
|
|
8400
|
-
toJSON(message) {
|
|
8401
|
-
const obj = {};
|
|
8402
|
-
if (message.instance_ids?.length) {
|
|
8403
|
-
obj.instanceIds = message.instance_ids;
|
|
8404
|
-
}
|
|
8405
|
-
return obj;
|
|
8406
|
-
},
|
|
8407
|
-
create(base) {
|
|
8408
|
-
return CopyInstancesAction.fromPartial(base ?? {});
|
|
8409
|
-
},
|
|
8410
|
-
fromPartial(object) {
|
|
8411
|
-
const message = createBaseCopyInstancesAction();
|
|
8412
|
-
message.instance_ids = object.instance_ids?.map((e) => e) || [];
|
|
8413
|
-
return message;
|
|
8414
|
-
}
|
|
8415
|
-
};
|
|
8416
|
-
function createBaseSyncLayoutAction() {
|
|
8417
|
-
return { positions: {} };
|
|
8418
|
-
}
|
|
8419
|
-
var SyncLayoutAction = {
|
|
8420
|
-
encode(message, writer = new import_wire4.BinaryWriter()) {
|
|
8421
|
-
globalThis.Object.entries(message.positions).forEach(([key, value]) => {
|
|
8422
|
-
SyncLayoutAction_PositionsEntry.encode({ key, value }, writer.uint32(10).fork()).join();
|
|
8423
|
-
});
|
|
8424
|
-
return writer;
|
|
8425
|
-
},
|
|
8426
|
-
decode(input, length) {
|
|
8427
|
-
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
8428
|
-
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
8429
|
-
const message = createBaseSyncLayoutAction();
|
|
8430
|
-
while (reader.pos < end) {
|
|
8431
|
-
const tag = reader.uint32();
|
|
8432
|
-
switch (tag >>> 3) {
|
|
8433
|
-
case 1: {
|
|
8434
|
-
if (tag !== 10) {
|
|
8435
|
-
break;
|
|
8436
|
-
}
|
|
8437
|
-
const entry1 = SyncLayoutAction_PositionsEntry.decode(reader, reader.uint32());
|
|
8438
|
-
if (entry1.value !== void 0) {
|
|
8439
|
-
message.positions[entry1.key] = entry1.value;
|
|
8440
|
-
}
|
|
8441
|
-
continue;
|
|
8442
|
-
}
|
|
8443
|
-
}
|
|
8444
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
8445
|
-
break;
|
|
8446
|
-
}
|
|
8447
|
-
reader.skip(tag & 7);
|
|
8448
|
-
}
|
|
8449
|
-
return message;
|
|
8450
|
-
},
|
|
8451
|
-
fromJSON(object) {
|
|
8452
|
-
return {
|
|
8453
|
-
positions: isObject3(object.positions) ? globalThis.Object.entries(object.positions).reduce(
|
|
8454
|
-
(acc, [key, value]) => {
|
|
8455
|
-
acc[key] = Position2.fromJSON(value);
|
|
8456
|
-
return acc;
|
|
8457
|
-
},
|
|
8458
|
-
{}
|
|
8459
|
-
) : {}
|
|
8460
|
-
};
|
|
8461
|
-
},
|
|
8462
|
-
toJSON(message) {
|
|
8463
|
-
const obj = {};
|
|
8464
|
-
if (message.positions) {
|
|
8465
|
-
const entries = globalThis.Object.entries(message.positions);
|
|
8466
|
-
if (entries.length > 0) {
|
|
8467
|
-
obj.positions = {};
|
|
8468
|
-
entries.forEach(([k, v]) => {
|
|
8469
|
-
obj.positions[k] = Position2.toJSON(v);
|
|
8470
|
-
});
|
|
8471
|
-
}
|
|
8472
|
-
}
|
|
8473
|
-
return obj;
|
|
8474
|
-
},
|
|
8475
|
-
create(base) {
|
|
8476
|
-
return SyncLayoutAction.fromPartial(base ?? {});
|
|
8477
|
-
},
|
|
8478
|
-
fromPartial(object) {
|
|
8479
|
-
const message = createBaseSyncLayoutAction();
|
|
8480
|
-
message.positions = globalThis.Object.entries(object.positions ?? {}).reduce(
|
|
8481
|
-
(acc, [key, value]) => {
|
|
8482
|
-
if (value !== void 0) {
|
|
8483
|
-
acc[key] = Position2.fromPartial(value);
|
|
8484
|
-
}
|
|
8485
|
-
return acc;
|
|
8486
|
-
},
|
|
8487
|
-
{}
|
|
8488
|
-
);
|
|
8489
|
-
return message;
|
|
8490
|
-
}
|
|
8491
|
-
};
|
|
8492
|
-
function createBaseSyncLayoutAction_PositionsEntry() {
|
|
8493
|
-
return { key: "", value: void 0 };
|
|
8494
|
-
}
|
|
8495
|
-
var SyncLayoutAction_PositionsEntry = {
|
|
8496
|
-
encode(message, writer = new import_wire4.BinaryWriter()) {
|
|
8497
|
-
if (message.key !== "") {
|
|
8498
|
-
writer.uint32(10).string(message.key);
|
|
8499
|
-
}
|
|
8500
|
-
if (message.value !== void 0) {
|
|
8501
|
-
Position2.encode(message.value, writer.uint32(18).fork()).join();
|
|
8502
|
-
}
|
|
8503
|
-
return writer;
|
|
8504
|
-
},
|
|
8505
|
-
decode(input, length) {
|
|
8506
|
-
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
8507
|
-
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
8508
|
-
const message = createBaseSyncLayoutAction_PositionsEntry();
|
|
8509
|
-
while (reader.pos < end) {
|
|
8510
|
-
const tag = reader.uint32();
|
|
8511
|
-
switch (tag >>> 3) {
|
|
8512
|
-
case 1: {
|
|
8513
|
-
if (tag !== 10) {
|
|
8514
|
-
break;
|
|
8515
|
-
}
|
|
8516
|
-
message.key = reader.string();
|
|
8517
|
-
continue;
|
|
8518
|
-
}
|
|
8519
|
-
case 2: {
|
|
8520
|
-
if (tag !== 18) {
|
|
8521
|
-
break;
|
|
8522
|
-
}
|
|
8523
|
-
message.value = Position2.decode(reader, reader.uint32());
|
|
8524
|
-
continue;
|
|
8525
|
-
}
|
|
8526
|
-
}
|
|
8527
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
8528
|
-
break;
|
|
8529
|
-
}
|
|
8530
|
-
reader.skip(tag & 7);
|
|
8531
|
-
}
|
|
8532
|
-
return message;
|
|
8533
|
-
},
|
|
8534
|
-
fromJSON(object) {
|
|
8535
|
-
return {
|
|
8536
|
-
key: isSet3(object.key) ? globalThis.String(object.key) : "",
|
|
8537
|
-
value: isSet3(object.value) ? Position2.fromJSON(object.value) : void 0
|
|
8538
|
-
};
|
|
8539
|
-
},
|
|
8540
|
-
toJSON(message) {
|
|
8541
|
-
const obj = {};
|
|
8542
|
-
if (message.key !== "") {
|
|
8543
|
-
obj.key = message.key;
|
|
8544
|
-
}
|
|
8545
|
-
if (message.value !== void 0) {
|
|
8546
|
-
obj.value = Position2.toJSON(message.value);
|
|
8547
|
-
}
|
|
8548
|
-
return obj;
|
|
8549
|
-
},
|
|
8550
|
-
create(base) {
|
|
8551
|
-
return SyncLayoutAction_PositionsEntry.fromPartial(base ?? {});
|
|
8552
|
-
},
|
|
8553
|
-
fromPartial(object) {
|
|
8554
|
-
const message = createBaseSyncLayoutAction_PositionsEntry();
|
|
8555
|
-
message.key = object.key ?? "";
|
|
8556
|
-
message.value = object.value !== void 0 && object.value !== null ? Position2.fromPartial(object.value) : void 0;
|
|
8557
|
-
return message;
|
|
8558
|
-
}
|
|
8559
|
-
};
|
|
8560
|
-
function createBaseCreateGroupAction() {
|
|
8561
|
-
return { label: "", node_ids: [] };
|
|
8562
|
-
}
|
|
8563
|
-
var CreateGroupAction = {
|
|
8564
|
-
encode(message, writer = new import_wire4.BinaryWriter()) {
|
|
8565
|
-
if (message.label !== "") {
|
|
8566
|
-
writer.uint32(10).string(message.label);
|
|
8567
|
-
}
|
|
8568
|
-
for (const v of message.node_ids) {
|
|
8569
|
-
writer.uint32(18).string(v);
|
|
8570
|
-
}
|
|
8571
|
-
return writer;
|
|
8572
|
-
},
|
|
8573
|
-
decode(input, length) {
|
|
8574
|
-
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
8575
|
-
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
8576
|
-
const message = createBaseCreateGroupAction();
|
|
8577
|
-
while (reader.pos < end) {
|
|
8578
|
-
const tag = reader.uint32();
|
|
8579
|
-
switch (tag >>> 3) {
|
|
8580
|
-
case 1: {
|
|
8581
|
-
if (tag !== 10) {
|
|
8582
|
-
break;
|
|
8583
|
-
}
|
|
8584
|
-
message.label = reader.string();
|
|
8585
|
-
continue;
|
|
8586
|
-
}
|
|
8587
|
-
case 2: {
|
|
8588
|
-
if (tag !== 18) {
|
|
8589
|
-
break;
|
|
8590
|
-
}
|
|
8591
|
-
message.node_ids.push(reader.string());
|
|
8592
|
-
continue;
|
|
8593
|
-
}
|
|
8594
|
-
}
|
|
8595
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
8596
|
-
break;
|
|
8597
|
-
}
|
|
8598
|
-
reader.skip(tag & 7);
|
|
8599
|
-
}
|
|
8600
|
-
return message;
|
|
8601
|
-
},
|
|
8602
|
-
fromJSON(object) {
|
|
8603
|
-
return {
|
|
8604
|
-
label: isSet3(object.label) ? globalThis.String(object.label) : "",
|
|
8605
|
-
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)) : []
|
|
8606
|
-
};
|
|
8607
|
-
},
|
|
8608
|
-
toJSON(message) {
|
|
8609
|
-
const obj = {};
|
|
8610
|
-
if (message.label !== "") {
|
|
8611
|
-
obj.label = message.label;
|
|
8612
|
-
}
|
|
8613
|
-
if (message.node_ids?.length) {
|
|
8614
|
-
obj.nodeIds = message.node_ids;
|
|
8615
|
-
}
|
|
8616
|
-
return obj;
|
|
8617
|
-
},
|
|
8618
|
-
create(base) {
|
|
8619
|
-
return CreateGroupAction.fromPartial(base ?? {});
|
|
8620
|
-
},
|
|
8621
|
-
fromPartial(object) {
|
|
8622
|
-
const message = createBaseCreateGroupAction();
|
|
8623
|
-
message.label = object.label ?? "";
|
|
8624
|
-
message.node_ids = object.node_ids?.map((e) => e) || [];
|
|
7906
|
+
const message = createBaseDeleteInstanceAction();
|
|
7907
|
+
message.instance_id = object.instance_id ?? "";
|
|
8625
7908
|
return message;
|
|
8626
7909
|
}
|
|
8627
7910
|
};
|
|
8628
|
-
function
|
|
8629
|
-
return {
|
|
7911
|
+
function createBaseCopyInstancesAction() {
|
|
7912
|
+
return { instance_ids: [] };
|
|
8630
7913
|
}
|
|
8631
|
-
var
|
|
7914
|
+
var CopyInstancesAction = {
|
|
8632
7915
|
encode(message, writer = new import_wire4.BinaryWriter()) {
|
|
8633
|
-
|
|
8634
|
-
writer.uint32(10).string(
|
|
8635
|
-
}
|
|
8636
|
-
if (message.label !== void 0) {
|
|
8637
|
-
writer.uint32(18).string(message.label);
|
|
8638
|
-
}
|
|
8639
|
-
if (message.collapsed !== void 0) {
|
|
8640
|
-
writer.uint32(24).bool(message.collapsed);
|
|
8641
|
-
}
|
|
8642
|
-
if (message.node_ids !== void 0) {
|
|
8643
|
-
UpdateGroupNodeIds.encode(message.node_ids, writer.uint32(34).fork()).join();
|
|
7916
|
+
for (const v of message.instance_ids) {
|
|
7917
|
+
writer.uint32(10).string(v);
|
|
8644
7918
|
}
|
|
8645
7919
|
return writer;
|
|
8646
7920
|
},
|
|
8647
7921
|
decode(input, length) {
|
|
8648
7922
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
8649
7923
|
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
8650
|
-
const message =
|
|
7924
|
+
const message = createBaseCopyInstancesAction();
|
|
8651
7925
|
while (reader.pos < end) {
|
|
8652
7926
|
const tag = reader.uint32();
|
|
8653
7927
|
switch (tag >>> 3) {
|
|
@@ -8655,28 +7929,7 @@ var UpdateGroupAction = {
|
|
|
8655
7929
|
if (tag !== 10) {
|
|
8656
7930
|
break;
|
|
8657
7931
|
}
|
|
8658
|
-
message.
|
|
8659
|
-
continue;
|
|
8660
|
-
}
|
|
8661
|
-
case 2: {
|
|
8662
|
-
if (tag !== 18) {
|
|
8663
|
-
break;
|
|
8664
|
-
}
|
|
8665
|
-
message.label = reader.string();
|
|
8666
|
-
continue;
|
|
8667
|
-
}
|
|
8668
|
-
case 3: {
|
|
8669
|
-
if (tag !== 24) {
|
|
8670
|
-
break;
|
|
8671
|
-
}
|
|
8672
|
-
message.collapsed = reader.bool();
|
|
8673
|
-
continue;
|
|
8674
|
-
}
|
|
8675
|
-
case 4: {
|
|
8676
|
-
if (tag !== 34) {
|
|
8677
|
-
break;
|
|
8678
|
-
}
|
|
8679
|
-
message.node_ids = UpdateGroupNodeIds.decode(reader, reader.uint32());
|
|
7932
|
+
message.instance_ids.push(reader.string());
|
|
8680
7933
|
continue;
|
|
8681
7934
|
}
|
|
8682
7935
|
}
|
|
@@ -8689,59 +7942,44 @@ var UpdateGroupAction = {
|
|
|
8689
7942
|
},
|
|
8690
7943
|
fromJSON(object) {
|
|
8691
7944
|
return {
|
|
8692
|
-
|
|
8693
|
-
label: isSet3(object.label) ? globalThis.String(object.label) : void 0,
|
|
8694
|
-
collapsed: isSet3(object.collapsed) ? globalThis.Boolean(object.collapsed) : void 0,
|
|
8695
|
-
node_ids: isSet3(object.nodeIds) ? UpdateGroupNodeIds.fromJSON(object.nodeIds) : isSet3(object.node_ids) ? UpdateGroupNodeIds.fromJSON(object.node_ids) : void 0
|
|
7945
|
+
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)) : []
|
|
8696
7946
|
};
|
|
8697
7947
|
},
|
|
8698
7948
|
toJSON(message) {
|
|
8699
7949
|
const obj = {};
|
|
8700
|
-
if (message.
|
|
8701
|
-
obj.
|
|
8702
|
-
}
|
|
8703
|
-
if (message.label !== void 0) {
|
|
8704
|
-
obj.label = message.label;
|
|
8705
|
-
}
|
|
8706
|
-
if (message.collapsed !== void 0) {
|
|
8707
|
-
obj.collapsed = message.collapsed;
|
|
8708
|
-
}
|
|
8709
|
-
if (message.node_ids !== void 0) {
|
|
8710
|
-
obj.nodeIds = UpdateGroupNodeIds.toJSON(message.node_ids);
|
|
7950
|
+
if (message.instance_ids?.length) {
|
|
7951
|
+
obj.instanceIds = message.instance_ids;
|
|
8711
7952
|
}
|
|
8712
7953
|
return obj;
|
|
8713
7954
|
},
|
|
8714
7955
|
create(base) {
|
|
8715
|
-
return
|
|
7956
|
+
return CopyInstancesAction.fromPartial(base ?? {});
|
|
8716
7957
|
},
|
|
8717
7958
|
fromPartial(object) {
|
|
8718
|
-
const message =
|
|
8719
|
-
message.
|
|
8720
|
-
message.label = object.label ?? void 0;
|
|
8721
|
-
message.collapsed = object.collapsed ?? void 0;
|
|
8722
|
-
message.node_ids = object.node_ids !== void 0 && object.node_ids !== null ? UpdateGroupNodeIds.fromPartial(object.node_ids) : void 0;
|
|
7959
|
+
const message = createBaseCopyInstancesAction();
|
|
7960
|
+
message.instance_ids = object.instance_ids?.map((e) => e) || [];
|
|
8723
7961
|
return message;
|
|
8724
7962
|
}
|
|
8725
7963
|
};
|
|
8726
|
-
function
|
|
7964
|
+
function createBaseCreateGroupAction() {
|
|
8727
7965
|
return { node_ids: [] };
|
|
8728
7966
|
}
|
|
8729
|
-
var
|
|
7967
|
+
var CreateGroupAction = {
|
|
8730
7968
|
encode(message, writer = new import_wire4.BinaryWriter()) {
|
|
8731
7969
|
for (const v of message.node_ids) {
|
|
8732
|
-
writer.uint32(
|
|
7970
|
+
writer.uint32(18).string(v);
|
|
8733
7971
|
}
|
|
8734
7972
|
return writer;
|
|
8735
7973
|
},
|
|
8736
7974
|
decode(input, length) {
|
|
8737
7975
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
8738
7976
|
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
8739
|
-
const message =
|
|
7977
|
+
const message = createBaseCreateGroupAction();
|
|
8740
7978
|
while (reader.pos < end) {
|
|
8741
7979
|
const tag = reader.uint32();
|
|
8742
7980
|
switch (tag >>> 3) {
|
|
8743
|
-
case
|
|
8744
|
-
if (tag !==
|
|
7981
|
+
case 2: {
|
|
7982
|
+
if (tag !== 18) {
|
|
8745
7983
|
break;
|
|
8746
7984
|
}
|
|
8747
7985
|
message.node_ids.push(reader.string());
|
|
@@ -8768,18 +8006,18 @@ var UpdateGroupNodeIds = {
|
|
|
8768
8006
|
return obj;
|
|
8769
8007
|
},
|
|
8770
8008
|
create(base) {
|
|
8771
|
-
return
|
|
8009
|
+
return CreateGroupAction.fromPartial(base ?? {});
|
|
8772
8010
|
},
|
|
8773
8011
|
fromPartial(object) {
|
|
8774
|
-
const message =
|
|
8012
|
+
const message = createBaseCreateGroupAction();
|
|
8775
8013
|
message.node_ids = object.node_ids?.map((e) => e) || [];
|
|
8776
8014
|
return message;
|
|
8777
8015
|
}
|
|
8778
8016
|
};
|
|
8779
|
-
function
|
|
8017
|
+
function createBaseUngroupAction() {
|
|
8780
8018
|
return { group_id: "" };
|
|
8781
8019
|
}
|
|
8782
|
-
var
|
|
8020
|
+
var UngroupAction = {
|
|
8783
8021
|
encode(message, writer = new import_wire4.BinaryWriter()) {
|
|
8784
8022
|
if (message.group_id !== "") {
|
|
8785
8023
|
writer.uint32(10).string(message.group_id);
|
|
@@ -8789,7 +8027,7 @@ var DeleteGroupAction = {
|
|
|
8789
8027
|
decode(input, length) {
|
|
8790
8028
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
8791
8029
|
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
8792
|
-
const message =
|
|
8030
|
+
const message = createBaseUngroupAction();
|
|
8793
8031
|
while (reader.pos < end) {
|
|
8794
8032
|
const tag = reader.uint32();
|
|
8795
8033
|
switch (tag >>> 3) {
|
|
@@ -8821,10 +8059,10 @@ var DeleteGroupAction = {
|
|
|
8821
8059
|
return obj;
|
|
8822
8060
|
},
|
|
8823
8061
|
create(base) {
|
|
8824
|
-
return
|
|
8062
|
+
return UngroupAction.fromPartial(base ?? {});
|
|
8825
8063
|
},
|
|
8826
8064
|
fromPartial(object) {
|
|
8827
|
-
const message =
|
|
8065
|
+
const message = createBaseUngroupAction();
|
|
8828
8066
|
message.group_id = object.group_id ?? "";
|
|
8829
8067
|
return message;
|
|
8830
8068
|
}
|
|
@@ -9897,7 +9135,7 @@ var RedoAction = {
|
|
|
9897
9135
|
}
|
|
9898
9136
|
};
|
|
9899
9137
|
function createBasePlaceModuleAction() {
|
|
9900
|
-
return { name: "", system: "", version: "", organization: ""
|
|
9138
|
+
return { name: "", system: "", version: "", organization: "" };
|
|
9901
9139
|
}
|
|
9902
9140
|
var PlaceModuleAction = {
|
|
9903
9141
|
encode(message, writer = new import_wire4.BinaryWriter()) {
|
|
@@ -9913,9 +9151,6 @@ var PlaceModuleAction = {
|
|
|
9913
9151
|
if (message.organization !== "") {
|
|
9914
9152
|
writer.uint32(34).string(message.organization);
|
|
9915
9153
|
}
|
|
9916
|
-
if (message.position !== void 0) {
|
|
9917
|
-
Position2.encode(message.position, writer.uint32(42).fork()).join();
|
|
9918
|
-
}
|
|
9919
9154
|
return writer;
|
|
9920
9155
|
},
|
|
9921
9156
|
decode(input, length) {
|
|
@@ -9953,13 +9188,6 @@ var PlaceModuleAction = {
|
|
|
9953
9188
|
message.organization = reader.string();
|
|
9954
9189
|
continue;
|
|
9955
9190
|
}
|
|
9956
|
-
case 5: {
|
|
9957
|
-
if (tag !== 42) {
|
|
9958
|
-
break;
|
|
9959
|
-
}
|
|
9960
|
-
message.position = Position2.decode(reader, reader.uint32());
|
|
9961
|
-
continue;
|
|
9962
|
-
}
|
|
9963
9191
|
}
|
|
9964
9192
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9965
9193
|
break;
|
|
@@ -9973,8 +9201,7 @@ var PlaceModuleAction = {
|
|
|
9973
9201
|
name: isSet3(object.name) ? globalThis.String(object.name) : "",
|
|
9974
9202
|
system: isSet3(object.system) ? globalThis.String(object.system) : "",
|
|
9975
9203
|
version: isSet3(object.version) ? globalThis.String(object.version) : "",
|
|
9976
|
-
organization: isSet3(object.organization) ? globalThis.String(object.organization) : ""
|
|
9977
|
-
position: isSet3(object.position) ? Position2.fromJSON(object.position) : void 0
|
|
9204
|
+
organization: isSet3(object.organization) ? globalThis.String(object.organization) : ""
|
|
9978
9205
|
};
|
|
9979
9206
|
},
|
|
9980
9207
|
toJSON(message) {
|
|
@@ -9991,9 +9218,6 @@ var PlaceModuleAction = {
|
|
|
9991
9218
|
if (message.organization !== "") {
|
|
9992
9219
|
obj.organization = message.organization;
|
|
9993
9220
|
}
|
|
9994
|
-
if (message.position !== void 0) {
|
|
9995
|
-
obj.position = Position2.toJSON(message.position);
|
|
9996
|
-
}
|
|
9997
9221
|
return obj;
|
|
9998
9222
|
},
|
|
9999
9223
|
create(base) {
|
|
@@ -10005,7 +9229,6 @@ var PlaceModuleAction = {
|
|
|
10005
9229
|
message.system = object.system ?? "";
|
|
10006
9230
|
message.version = object.version ?? "";
|
|
10007
9231
|
message.organization = object.organization ?? "";
|
|
10008
|
-
message.position = object.position !== void 0 && object.position !== null ? Position2.fromPartial(object.position) : void 0;
|
|
10009
9232
|
return message;
|
|
10010
9233
|
}
|
|
10011
9234
|
};
|
|
@@ -10019,10 +9242,7 @@ function createBaseAction() {
|
|
|
10019
9242
|
rename_instance: void 0,
|
|
10020
9243
|
delete_instance: void 0,
|
|
10021
9244
|
copy_instances: void 0,
|
|
10022
|
-
sync_layout: void 0,
|
|
10023
9245
|
create_group: void 0,
|
|
10024
|
-
update_group: void 0,
|
|
10025
|
-
delete_group: void 0,
|
|
10026
9246
|
set_variables: void 0,
|
|
10027
9247
|
set_exports: void 0,
|
|
10028
9248
|
set_terraform: void 0,
|
|
@@ -10033,7 +9253,8 @@ function createBaseAction() {
|
|
|
10033
9253
|
undo: void 0,
|
|
10034
9254
|
redo: void 0,
|
|
10035
9255
|
place_module: void 0,
|
|
10036
|
-
set_use_providers: void 0
|
|
9256
|
+
set_use_providers: void 0,
|
|
9257
|
+
ungroup: void 0
|
|
10037
9258
|
};
|
|
10038
9259
|
}
|
|
10039
9260
|
var Action = {
|
|
@@ -10062,18 +9283,9 @@ var Action = {
|
|
|
10062
9283
|
if (message.copy_instances !== void 0) {
|
|
10063
9284
|
CopyInstancesAction.encode(message.copy_instances, writer.uint32(66).fork()).join();
|
|
10064
9285
|
}
|
|
10065
|
-
if (message.sync_layout !== void 0) {
|
|
10066
|
-
SyncLayoutAction.encode(message.sync_layout, writer.uint32(74).fork()).join();
|
|
10067
|
-
}
|
|
10068
9286
|
if (message.create_group !== void 0) {
|
|
10069
9287
|
CreateGroupAction.encode(message.create_group, writer.uint32(82).fork()).join();
|
|
10070
9288
|
}
|
|
10071
|
-
if (message.update_group !== void 0) {
|
|
10072
|
-
UpdateGroupAction.encode(message.update_group, writer.uint32(90).fork()).join();
|
|
10073
|
-
}
|
|
10074
|
-
if (message.delete_group !== void 0) {
|
|
10075
|
-
DeleteGroupAction.encode(message.delete_group, writer.uint32(98).fork()).join();
|
|
10076
|
-
}
|
|
10077
9289
|
if (message.set_variables !== void 0) {
|
|
10078
9290
|
SetVariablesAction.encode(message.set_variables, writer.uint32(106).fork()).join();
|
|
10079
9291
|
}
|
|
@@ -10107,6 +9319,9 @@ var Action = {
|
|
|
10107
9319
|
if (message.set_use_providers !== void 0) {
|
|
10108
9320
|
SetUseProvidersAction.encode(message.set_use_providers, writer.uint32(186).fork()).join();
|
|
10109
9321
|
}
|
|
9322
|
+
if (message.ungroup !== void 0) {
|
|
9323
|
+
UngroupAction.encode(message.ungroup, writer.uint32(194).fork()).join();
|
|
9324
|
+
}
|
|
10110
9325
|
return writer;
|
|
10111
9326
|
},
|
|
10112
9327
|
decode(input, length) {
|
|
@@ -10172,13 +9387,6 @@ var Action = {
|
|
|
10172
9387
|
message.copy_instances = CopyInstancesAction.decode(reader, reader.uint32());
|
|
10173
9388
|
continue;
|
|
10174
9389
|
}
|
|
10175
|
-
case 9: {
|
|
10176
|
-
if (tag !== 74) {
|
|
10177
|
-
break;
|
|
10178
|
-
}
|
|
10179
|
-
message.sync_layout = SyncLayoutAction.decode(reader, reader.uint32());
|
|
10180
|
-
continue;
|
|
10181
|
-
}
|
|
10182
9390
|
case 10: {
|
|
10183
9391
|
if (tag !== 82) {
|
|
10184
9392
|
break;
|
|
@@ -10186,20 +9394,6 @@ var Action = {
|
|
|
10186
9394
|
message.create_group = CreateGroupAction.decode(reader, reader.uint32());
|
|
10187
9395
|
continue;
|
|
10188
9396
|
}
|
|
10189
|
-
case 11: {
|
|
10190
|
-
if (tag !== 90) {
|
|
10191
|
-
break;
|
|
10192
|
-
}
|
|
10193
|
-
message.update_group = UpdateGroupAction.decode(reader, reader.uint32());
|
|
10194
|
-
continue;
|
|
10195
|
-
}
|
|
10196
|
-
case 12: {
|
|
10197
|
-
if (tag !== 98) {
|
|
10198
|
-
break;
|
|
10199
|
-
}
|
|
10200
|
-
message.delete_group = DeleteGroupAction.decode(reader, reader.uint32());
|
|
10201
|
-
continue;
|
|
10202
|
-
}
|
|
10203
9397
|
case 13: {
|
|
10204
9398
|
if (tag !== 106) {
|
|
10205
9399
|
break;
|
|
@@ -10277,6 +9471,13 @@ var Action = {
|
|
|
10277
9471
|
message.set_use_providers = SetUseProvidersAction.decode(reader, reader.uint32());
|
|
10278
9472
|
continue;
|
|
10279
9473
|
}
|
|
9474
|
+
case 24: {
|
|
9475
|
+
if (tag !== 194) {
|
|
9476
|
+
break;
|
|
9477
|
+
}
|
|
9478
|
+
message.ungroup = UngroupAction.decode(reader, reader.uint32());
|
|
9479
|
+
continue;
|
|
9480
|
+
}
|
|
10280
9481
|
}
|
|
10281
9482
|
if ((tag & 7) === 4 || tag === 0) {
|
|
10282
9483
|
break;
|
|
@@ -10295,10 +9496,7 @@ var Action = {
|
|
|
10295
9496
|
rename_instance: isSet3(object.renameInstance) ? RenameInstanceAction.fromJSON(object.renameInstance) : isSet3(object.rename_instance) ? RenameInstanceAction.fromJSON(object.rename_instance) : void 0,
|
|
10296
9497
|
delete_instance: isSet3(object.deleteInstance) ? DeleteInstanceAction.fromJSON(object.deleteInstance) : isSet3(object.delete_instance) ? DeleteInstanceAction.fromJSON(object.delete_instance) : void 0,
|
|
10297
9498
|
copy_instances: isSet3(object.copyInstances) ? CopyInstancesAction.fromJSON(object.copyInstances) : isSet3(object.copy_instances) ? CopyInstancesAction.fromJSON(object.copy_instances) : void 0,
|
|
10298
|
-
sync_layout: isSet3(object.syncLayout) ? SyncLayoutAction.fromJSON(object.syncLayout) : isSet3(object.sync_layout) ? SyncLayoutAction.fromJSON(object.sync_layout) : void 0,
|
|
10299
9499
|
create_group: isSet3(object.createGroup) ? CreateGroupAction.fromJSON(object.createGroup) : isSet3(object.create_group) ? CreateGroupAction.fromJSON(object.create_group) : void 0,
|
|
10300
|
-
update_group: isSet3(object.updateGroup) ? UpdateGroupAction.fromJSON(object.updateGroup) : isSet3(object.update_group) ? UpdateGroupAction.fromJSON(object.update_group) : void 0,
|
|
10301
|
-
delete_group: isSet3(object.deleteGroup) ? DeleteGroupAction.fromJSON(object.deleteGroup) : isSet3(object.delete_group) ? DeleteGroupAction.fromJSON(object.delete_group) : void 0,
|
|
10302
9500
|
set_variables: isSet3(object.setVariables) ? SetVariablesAction.fromJSON(object.setVariables) : isSet3(object.set_variables) ? SetVariablesAction.fromJSON(object.set_variables) : void 0,
|
|
10303
9501
|
set_exports: isSet3(object.setExports) ? SetExportsAction.fromJSON(object.setExports) : isSet3(object.set_exports) ? SetExportsAction.fromJSON(object.set_exports) : void 0,
|
|
10304
9502
|
set_terraform: isSet3(object.setTerraform) ? SetTerraformAction.fromJSON(object.setTerraform) : isSet3(object.set_terraform) ? SetTerraformAction.fromJSON(object.set_terraform) : void 0,
|
|
@@ -10309,7 +9507,8 @@ var Action = {
|
|
|
10309
9507
|
undo: isSet3(object.undo) ? UndoAction.fromJSON(object.undo) : void 0,
|
|
10310
9508
|
redo: isSet3(object.redo) ? RedoAction.fromJSON(object.redo) : void 0,
|
|
10311
9509
|
place_module: isSet3(object.placeModule) ? PlaceModuleAction.fromJSON(object.placeModule) : isSet3(object.place_module) ? PlaceModuleAction.fromJSON(object.place_module) : void 0,
|
|
10312
|
-
set_use_providers: isSet3(object.setUseProviders) ? SetUseProvidersAction.fromJSON(object.setUseProviders) : isSet3(object.set_use_providers) ? SetUseProvidersAction.fromJSON(object.set_use_providers) : void 0
|
|
9510
|
+
set_use_providers: isSet3(object.setUseProviders) ? SetUseProvidersAction.fromJSON(object.setUseProviders) : isSet3(object.set_use_providers) ? SetUseProvidersAction.fromJSON(object.set_use_providers) : void 0,
|
|
9511
|
+
ungroup: isSet3(object.ungroup) ? UngroupAction.fromJSON(object.ungroup) : void 0
|
|
10313
9512
|
};
|
|
10314
9513
|
},
|
|
10315
9514
|
toJSON(message) {
|
|
@@ -10338,18 +9537,9 @@ var Action = {
|
|
|
10338
9537
|
if (message.copy_instances !== void 0) {
|
|
10339
9538
|
obj.copyInstances = CopyInstancesAction.toJSON(message.copy_instances);
|
|
10340
9539
|
}
|
|
10341
|
-
if (message.sync_layout !== void 0) {
|
|
10342
|
-
obj.syncLayout = SyncLayoutAction.toJSON(message.sync_layout);
|
|
10343
|
-
}
|
|
10344
9540
|
if (message.create_group !== void 0) {
|
|
10345
9541
|
obj.createGroup = CreateGroupAction.toJSON(message.create_group);
|
|
10346
9542
|
}
|
|
10347
|
-
if (message.update_group !== void 0) {
|
|
10348
|
-
obj.updateGroup = UpdateGroupAction.toJSON(message.update_group);
|
|
10349
|
-
}
|
|
10350
|
-
if (message.delete_group !== void 0) {
|
|
10351
|
-
obj.deleteGroup = DeleteGroupAction.toJSON(message.delete_group);
|
|
10352
|
-
}
|
|
10353
9543
|
if (message.set_variables !== void 0) {
|
|
10354
9544
|
obj.setVariables = SetVariablesAction.toJSON(message.set_variables);
|
|
10355
9545
|
}
|
|
@@ -10383,6 +9573,9 @@ var Action = {
|
|
|
10383
9573
|
if (message.set_use_providers !== void 0) {
|
|
10384
9574
|
obj.setUseProviders = SetUseProvidersAction.toJSON(message.set_use_providers);
|
|
10385
9575
|
}
|
|
9576
|
+
if (message.ungroup !== void 0) {
|
|
9577
|
+
obj.ungroup = UngroupAction.toJSON(message.ungroup);
|
|
9578
|
+
}
|
|
10386
9579
|
return obj;
|
|
10387
9580
|
},
|
|
10388
9581
|
create(base) {
|
|
@@ -10398,10 +9591,7 @@ var Action = {
|
|
|
10398
9591
|
message.rename_instance = object.rename_instance !== void 0 && object.rename_instance !== null ? RenameInstanceAction.fromPartial(object.rename_instance) : void 0;
|
|
10399
9592
|
message.delete_instance = object.delete_instance !== void 0 && object.delete_instance !== null ? DeleteInstanceAction.fromPartial(object.delete_instance) : void 0;
|
|
10400
9593
|
message.copy_instances = object.copy_instances !== void 0 && object.copy_instances !== null ? CopyInstancesAction.fromPartial(object.copy_instances) : void 0;
|
|
10401
|
-
message.sync_layout = object.sync_layout !== void 0 && object.sync_layout !== null ? SyncLayoutAction.fromPartial(object.sync_layout) : void 0;
|
|
10402
9594
|
message.create_group = object.create_group !== void 0 && object.create_group !== null ? CreateGroupAction.fromPartial(object.create_group) : void 0;
|
|
10403
|
-
message.update_group = object.update_group !== void 0 && object.update_group !== null ? UpdateGroupAction.fromPartial(object.update_group) : void 0;
|
|
10404
|
-
message.delete_group = object.delete_group !== void 0 && object.delete_group !== null ? DeleteGroupAction.fromPartial(object.delete_group) : void 0;
|
|
10405
9595
|
message.set_variables = object.set_variables !== void 0 && object.set_variables !== null ? SetVariablesAction.fromPartial(object.set_variables) : void 0;
|
|
10406
9596
|
message.set_exports = object.set_exports !== void 0 && object.set_exports !== null ? SetExportsAction.fromPartial(object.set_exports) : void 0;
|
|
10407
9597
|
message.set_terraform = object.set_terraform !== void 0 && object.set_terraform !== null ? SetTerraformAction.fromPartial(object.set_terraform) : void 0;
|
|
@@ -10413,6 +9603,7 @@ var Action = {
|
|
|
10413
9603
|
message.redo = object.redo !== void 0 && object.redo !== null ? RedoAction.fromPartial(object.redo) : void 0;
|
|
10414
9604
|
message.place_module = object.place_module !== void 0 && object.place_module !== null ? PlaceModuleAction.fromPartial(object.place_module) : void 0;
|
|
10415
9605
|
message.set_use_providers = object.set_use_providers !== void 0 && object.set_use_providers !== null ? SetUseProvidersAction.fromPartial(object.set_use_providers) : void 0;
|
|
9606
|
+
message.ungroup = object.ungroup !== void 0 && object.ungroup !== null ? UngroupAction.fromPartial(object.ungroup) : void 0;
|
|
10416
9607
|
return message;
|
|
10417
9608
|
}
|
|
10418
9609
|
};
|
|
@@ -11487,16 +10678,13 @@ var BundleStateEvent = {
|
|
|
11487
10678
|
}
|
|
11488
10679
|
};
|
|
11489
10680
|
function createBaseBundleState() {
|
|
11490
|
-
return { bundle: void 0,
|
|
10681
|
+
return { bundle: void 0, can_undo: false, can_redo: false, is_dirty: false };
|
|
11491
10682
|
}
|
|
11492
10683
|
var BundleState = {
|
|
11493
10684
|
encode(message, writer = new import_wire4.BinaryWriter()) {
|
|
11494
10685
|
if (message.bundle !== void 0) {
|
|
11495
10686
|
Bundle.encode(message.bundle, writer.uint32(10).fork()).join();
|
|
11496
10687
|
}
|
|
11497
|
-
globalThis.Object.entries(message.layouts).forEach(([key, value]) => {
|
|
11498
|
-
BundleState_LayoutsEntry.encode({ key, value }, writer.uint32(18).fork()).join();
|
|
11499
|
-
});
|
|
11500
10688
|
if (message.can_undo !== false) {
|
|
11501
10689
|
writer.uint32(24).bool(message.can_undo);
|
|
11502
10690
|
}
|
|
@@ -11522,16 +10710,6 @@ var BundleState = {
|
|
|
11522
10710
|
message.bundle = Bundle.decode(reader, reader.uint32());
|
|
11523
10711
|
continue;
|
|
11524
10712
|
}
|
|
11525
|
-
case 2: {
|
|
11526
|
-
if (tag !== 18) {
|
|
11527
|
-
break;
|
|
11528
|
-
}
|
|
11529
|
-
const entry2 = BundleState_LayoutsEntry.decode(reader, reader.uint32());
|
|
11530
|
-
if (entry2.value !== void 0) {
|
|
11531
|
-
message.layouts[entry2.key] = entry2.value;
|
|
11532
|
-
}
|
|
11533
|
-
continue;
|
|
11534
|
-
}
|
|
11535
10713
|
case 3: {
|
|
11536
10714
|
if (tag !== 24) {
|
|
11537
10715
|
break;
|
|
@@ -11564,13 +10742,6 @@ var BundleState = {
|
|
|
11564
10742
|
fromJSON(object) {
|
|
11565
10743
|
return {
|
|
11566
10744
|
bundle: isSet3(object.bundle) ? Bundle.fromJSON(object.bundle) : void 0,
|
|
11567
|
-
layouts: isObject3(object.layouts) ? globalThis.Object.entries(object.layouts).reduce(
|
|
11568
|
-
(acc, [key, value]) => {
|
|
11569
|
-
acc[key] = GraphLayout.fromJSON(value);
|
|
11570
|
-
return acc;
|
|
11571
|
-
},
|
|
11572
|
-
{}
|
|
11573
|
-
) : {},
|
|
11574
10745
|
can_undo: isSet3(object.canUndo) ? globalThis.Boolean(object.canUndo) : isSet3(object.can_undo) ? globalThis.Boolean(object.can_undo) : false,
|
|
11575
10746
|
can_redo: isSet3(object.canRedo) ? globalThis.Boolean(object.canRedo) : isSet3(object.can_redo) ? globalThis.Boolean(object.can_redo) : false,
|
|
11576
10747
|
is_dirty: isSet3(object.isDirty) ? globalThis.Boolean(object.isDirty) : isSet3(object.is_dirty) ? globalThis.Boolean(object.is_dirty) : false
|
|
@@ -11581,15 +10752,6 @@ var BundleState = {
|
|
|
11581
10752
|
if (message.bundle !== void 0) {
|
|
11582
10753
|
obj.bundle = Bundle.toJSON(message.bundle);
|
|
11583
10754
|
}
|
|
11584
|
-
if (message.layouts) {
|
|
11585
|
-
const entries = globalThis.Object.entries(message.layouts);
|
|
11586
|
-
if (entries.length > 0) {
|
|
11587
|
-
obj.layouts = {};
|
|
11588
|
-
entries.forEach(([k, v]) => {
|
|
11589
|
-
obj.layouts[k] = GraphLayout.toJSON(v);
|
|
11590
|
-
});
|
|
11591
|
-
}
|
|
11592
|
-
}
|
|
11593
10755
|
if (message.can_undo !== false) {
|
|
11594
10756
|
obj.canUndo = message.can_undo;
|
|
11595
10757
|
}
|
|
@@ -11607,53 +10769,54 @@ var BundleState = {
|
|
|
11607
10769
|
fromPartial(object) {
|
|
11608
10770
|
const message = createBaseBundleState();
|
|
11609
10771
|
message.bundle = object.bundle !== void 0 && object.bundle !== null ? Bundle.fromPartial(object.bundle) : void 0;
|
|
11610
|
-
message.layouts = globalThis.Object.entries(object.layouts ?? {}).reduce(
|
|
11611
|
-
(acc, [key, value]) => {
|
|
11612
|
-
if (value !== void 0) {
|
|
11613
|
-
acc[key] = GraphLayout.fromPartial(value);
|
|
11614
|
-
}
|
|
11615
|
-
return acc;
|
|
11616
|
-
},
|
|
11617
|
-
{}
|
|
11618
|
-
);
|
|
11619
10772
|
message.can_undo = object.can_undo ?? false;
|
|
11620
10773
|
message.can_redo = object.can_redo ?? false;
|
|
11621
10774
|
message.is_dirty = object.is_dirty ?? false;
|
|
11622
10775
|
return message;
|
|
11623
10776
|
}
|
|
11624
10777
|
};
|
|
11625
|
-
function
|
|
11626
|
-
return {
|
|
10778
|
+
function createBaseBundleApplyResult() {
|
|
10779
|
+
return { success: false, errors: [], created: [] };
|
|
11627
10780
|
}
|
|
11628
|
-
var
|
|
10781
|
+
var BundleApplyResult = {
|
|
11629
10782
|
encode(message, writer = new import_wire4.BinaryWriter()) {
|
|
11630
|
-
if (message.
|
|
11631
|
-
writer.uint32(
|
|
10783
|
+
if (message.success !== false) {
|
|
10784
|
+
writer.uint32(8).bool(message.success);
|
|
11632
10785
|
}
|
|
11633
|
-
|
|
11634
|
-
|
|
10786
|
+
for (const v of message.errors) {
|
|
10787
|
+
GraphError.encode(v, writer.uint32(18).fork()).join();
|
|
10788
|
+
}
|
|
10789
|
+
for (const v of message.created) {
|
|
10790
|
+
CreatedRef.encode(v, writer.uint32(26).fork()).join();
|
|
11635
10791
|
}
|
|
11636
10792
|
return writer;
|
|
11637
10793
|
},
|
|
11638
10794
|
decode(input, length) {
|
|
11639
10795
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
11640
10796
|
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
11641
|
-
const message =
|
|
10797
|
+
const message = createBaseBundleApplyResult();
|
|
11642
10798
|
while (reader.pos < end) {
|
|
11643
10799
|
const tag = reader.uint32();
|
|
11644
10800
|
switch (tag >>> 3) {
|
|
11645
10801
|
case 1: {
|
|
11646
|
-
if (tag !==
|
|
10802
|
+
if (tag !== 8) {
|
|
11647
10803
|
break;
|
|
11648
10804
|
}
|
|
11649
|
-
message.
|
|
10805
|
+
message.success = reader.bool();
|
|
11650
10806
|
continue;
|
|
11651
10807
|
}
|
|
11652
10808
|
case 2: {
|
|
11653
10809
|
if (tag !== 18) {
|
|
11654
10810
|
break;
|
|
11655
10811
|
}
|
|
11656
|
-
message.
|
|
10812
|
+
message.errors.push(GraphError.decode(reader, reader.uint32()));
|
|
10813
|
+
continue;
|
|
10814
|
+
}
|
|
10815
|
+
case 3: {
|
|
10816
|
+
if (tag !== 26) {
|
|
10817
|
+
break;
|
|
10818
|
+
}
|
|
10819
|
+
message.created.push(CreatedRef.decode(reader, reader.uint32()));
|
|
11657
10820
|
continue;
|
|
11658
10821
|
}
|
|
11659
10822
|
}
|
|
@@ -11666,62 +10829,87 @@ var BundleState_LayoutsEntry = {
|
|
|
11666
10829
|
},
|
|
11667
10830
|
fromJSON(object) {
|
|
11668
10831
|
return {
|
|
11669
|
-
|
|
11670
|
-
|
|
10832
|
+
success: isSet3(object.success) ? globalThis.Boolean(object.success) : false,
|
|
10833
|
+
errors: globalThis.Array.isArray(object?.errors) ? object.errors.map((e) => GraphError.fromJSON(e)) : [],
|
|
10834
|
+
created: globalThis.Array.isArray(object?.created) ? object.created.map((e) => CreatedRef.fromJSON(e)) : []
|
|
11671
10835
|
};
|
|
11672
10836
|
},
|
|
11673
10837
|
toJSON(message) {
|
|
11674
10838
|
const obj = {};
|
|
11675
|
-
if (message.
|
|
11676
|
-
obj.
|
|
10839
|
+
if (message.success !== false) {
|
|
10840
|
+
obj.success = message.success;
|
|
11677
10841
|
}
|
|
11678
|
-
if (message.
|
|
11679
|
-
obj.
|
|
10842
|
+
if (message.errors?.length) {
|
|
10843
|
+
obj.errors = message.errors.map((e) => GraphError.toJSON(e));
|
|
10844
|
+
}
|
|
10845
|
+
if (message.created?.length) {
|
|
10846
|
+
obj.created = message.created.map((e) => CreatedRef.toJSON(e));
|
|
11680
10847
|
}
|
|
11681
10848
|
return obj;
|
|
11682
10849
|
},
|
|
11683
10850
|
create(base) {
|
|
11684
|
-
return
|
|
10851
|
+
return BundleApplyResult.fromPartial(base ?? {});
|
|
11685
10852
|
},
|
|
11686
10853
|
fromPartial(object) {
|
|
11687
|
-
const message =
|
|
11688
|
-
message.
|
|
11689
|
-
message.
|
|
10854
|
+
const message = createBaseBundleApplyResult();
|
|
10855
|
+
message.success = object.success ?? false;
|
|
10856
|
+
message.errors = object.errors?.map((e) => GraphError.fromPartial(e)) || [];
|
|
10857
|
+
message.created = object.created?.map((e) => CreatedRef.fromPartial(e)) || [];
|
|
11690
10858
|
return message;
|
|
11691
10859
|
}
|
|
11692
10860
|
};
|
|
11693
|
-
function
|
|
11694
|
-
return {
|
|
10861
|
+
function createBaseCreatedRef() {
|
|
10862
|
+
return { scope: "", id: "", module_key: "", source_id: "" };
|
|
11695
10863
|
}
|
|
11696
|
-
var
|
|
10864
|
+
var CreatedRef = {
|
|
11697
10865
|
encode(message, writer = new import_wire4.BinaryWriter()) {
|
|
11698
|
-
if (message.
|
|
11699
|
-
writer.uint32(
|
|
10866
|
+
if (message.scope !== "") {
|
|
10867
|
+
writer.uint32(10).string(message.scope);
|
|
11700
10868
|
}
|
|
11701
|
-
|
|
11702
|
-
|
|
10869
|
+
if (message.id !== "") {
|
|
10870
|
+
writer.uint32(18).string(message.id);
|
|
10871
|
+
}
|
|
10872
|
+
if (message.module_key !== "") {
|
|
10873
|
+
writer.uint32(26).string(message.module_key);
|
|
10874
|
+
}
|
|
10875
|
+
if (message.source_id !== "") {
|
|
10876
|
+
writer.uint32(34).string(message.source_id);
|
|
11703
10877
|
}
|
|
11704
10878
|
return writer;
|
|
11705
10879
|
},
|
|
11706
10880
|
decode(input, length) {
|
|
11707
10881
|
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
11708
10882
|
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
11709
|
-
const message =
|
|
10883
|
+
const message = createBaseCreatedRef();
|
|
11710
10884
|
while (reader.pos < end) {
|
|
11711
10885
|
const tag = reader.uint32();
|
|
11712
10886
|
switch (tag >>> 3) {
|
|
11713
10887
|
case 1: {
|
|
11714
|
-
if (tag !==
|
|
10888
|
+
if (tag !== 10) {
|
|
11715
10889
|
break;
|
|
11716
10890
|
}
|
|
11717
|
-
message.
|
|
10891
|
+
message.scope = reader.string();
|
|
11718
10892
|
continue;
|
|
11719
10893
|
}
|
|
11720
10894
|
case 2: {
|
|
11721
10895
|
if (tag !== 18) {
|
|
11722
10896
|
break;
|
|
11723
10897
|
}
|
|
11724
|
-
message.
|
|
10898
|
+
message.id = reader.string();
|
|
10899
|
+
continue;
|
|
10900
|
+
}
|
|
10901
|
+
case 3: {
|
|
10902
|
+
if (tag !== 26) {
|
|
10903
|
+
break;
|
|
10904
|
+
}
|
|
10905
|
+
message.module_key = reader.string();
|
|
10906
|
+
continue;
|
|
10907
|
+
}
|
|
10908
|
+
case 4: {
|
|
10909
|
+
if (tag !== 34) {
|
|
10910
|
+
break;
|
|
10911
|
+
}
|
|
10912
|
+
message.source_id = reader.string();
|
|
11725
10913
|
continue;
|
|
11726
10914
|
}
|
|
11727
10915
|
}
|
|
@@ -11734,27 +10922,37 @@ var BundleApplyResult = {
|
|
|
11734
10922
|
},
|
|
11735
10923
|
fromJSON(object) {
|
|
11736
10924
|
return {
|
|
11737
|
-
|
|
11738
|
-
|
|
10925
|
+
scope: isSet3(object.scope) ? globalThis.String(object.scope) : "",
|
|
10926
|
+
id: isSet3(object.id) ? globalThis.String(object.id) : "",
|
|
10927
|
+
module_key: isSet3(object.moduleKey) ? globalThis.String(object.moduleKey) : isSet3(object.module_key) ? globalThis.String(object.module_key) : "",
|
|
10928
|
+
source_id: isSet3(object.sourceId) ? globalThis.String(object.sourceId) : isSet3(object.source_id) ? globalThis.String(object.source_id) : ""
|
|
11739
10929
|
};
|
|
11740
10930
|
},
|
|
11741
10931
|
toJSON(message) {
|
|
11742
10932
|
const obj = {};
|
|
11743
|
-
if (message.
|
|
11744
|
-
obj.
|
|
10933
|
+
if (message.scope !== "") {
|
|
10934
|
+
obj.scope = message.scope;
|
|
11745
10935
|
}
|
|
11746
|
-
if (message.
|
|
11747
|
-
obj.
|
|
10936
|
+
if (message.id !== "") {
|
|
10937
|
+
obj.id = message.id;
|
|
10938
|
+
}
|
|
10939
|
+
if (message.module_key !== "") {
|
|
10940
|
+
obj.moduleKey = message.module_key;
|
|
10941
|
+
}
|
|
10942
|
+
if (message.source_id !== "") {
|
|
10943
|
+
obj.sourceId = message.source_id;
|
|
11748
10944
|
}
|
|
11749
10945
|
return obj;
|
|
11750
10946
|
},
|
|
11751
10947
|
create(base) {
|
|
11752
|
-
return
|
|
10948
|
+
return CreatedRef.fromPartial(base ?? {});
|
|
11753
10949
|
},
|
|
11754
10950
|
fromPartial(object) {
|
|
11755
|
-
const message =
|
|
11756
|
-
message.
|
|
11757
|
-
message.
|
|
10951
|
+
const message = createBaseCreatedRef();
|
|
10952
|
+
message.scope = object.scope ?? "";
|
|
10953
|
+
message.id = object.id ?? "";
|
|
10954
|
+
message.module_key = object.module_key ?? "";
|
|
10955
|
+
message.source_id = object.source_id ?? "";
|
|
11758
10956
|
return message;
|
|
11759
10957
|
}
|
|
11760
10958
|
};
|
|
@@ -13633,74 +12831,6 @@ var RenderError = {
|
|
|
13633
12831
|
return message;
|
|
13634
12832
|
}
|
|
13635
12833
|
};
|
|
13636
|
-
function createBasePosition2() {
|
|
13637
|
-
return { x: 0, y: 0 };
|
|
13638
|
-
}
|
|
13639
|
-
var Position2 = {
|
|
13640
|
-
encode(message, writer = new import_wire4.BinaryWriter()) {
|
|
13641
|
-
if (message.x !== 0) {
|
|
13642
|
-
writer.uint32(9).double(message.x);
|
|
13643
|
-
}
|
|
13644
|
-
if (message.y !== 0) {
|
|
13645
|
-
writer.uint32(17).double(message.y);
|
|
13646
|
-
}
|
|
13647
|
-
return writer;
|
|
13648
|
-
},
|
|
13649
|
-
decode(input, length) {
|
|
13650
|
-
const reader = input instanceof import_wire4.BinaryReader ? input : new import_wire4.BinaryReader(input);
|
|
13651
|
-
const end = length === void 0 ? reader.len : reader.pos + length;
|
|
13652
|
-
const message = createBasePosition2();
|
|
13653
|
-
while (reader.pos < end) {
|
|
13654
|
-
const tag = reader.uint32();
|
|
13655
|
-
switch (tag >>> 3) {
|
|
13656
|
-
case 1: {
|
|
13657
|
-
if (tag !== 9) {
|
|
13658
|
-
break;
|
|
13659
|
-
}
|
|
13660
|
-
message.x = reader.double();
|
|
13661
|
-
continue;
|
|
13662
|
-
}
|
|
13663
|
-
case 2: {
|
|
13664
|
-
if (tag !== 17) {
|
|
13665
|
-
break;
|
|
13666
|
-
}
|
|
13667
|
-
message.y = reader.double();
|
|
13668
|
-
continue;
|
|
13669
|
-
}
|
|
13670
|
-
}
|
|
13671
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
13672
|
-
break;
|
|
13673
|
-
}
|
|
13674
|
-
reader.skip(tag & 7);
|
|
13675
|
-
}
|
|
13676
|
-
return message;
|
|
13677
|
-
},
|
|
13678
|
-
fromJSON(object) {
|
|
13679
|
-
return {
|
|
13680
|
-
x: isSet3(object.x) ? globalThis.Number(object.x) : 0,
|
|
13681
|
-
y: isSet3(object.y) ? globalThis.Number(object.y) : 0
|
|
13682
|
-
};
|
|
13683
|
-
},
|
|
13684
|
-
toJSON(message) {
|
|
13685
|
-
const obj = {};
|
|
13686
|
-
if (message.x !== 0) {
|
|
13687
|
-
obj.x = message.x;
|
|
13688
|
-
}
|
|
13689
|
-
if (message.y !== 0) {
|
|
13690
|
-
obj.y = message.y;
|
|
13691
|
-
}
|
|
13692
|
-
return obj;
|
|
13693
|
-
},
|
|
13694
|
-
create(base) {
|
|
13695
|
-
return Position2.fromPartial(base ?? {});
|
|
13696
|
-
},
|
|
13697
|
-
fromPartial(object) {
|
|
13698
|
-
const message = createBasePosition2();
|
|
13699
|
-
message.x = object.x ?? 0;
|
|
13700
|
-
message.y = object.y ?? 0;
|
|
13701
|
-
return message;
|
|
13702
|
-
}
|
|
13703
|
-
};
|
|
13704
12834
|
function createBaseInputDef2() {
|
|
13705
12835
|
return {
|
|
13706
12836
|
name: "",
|
|
@@ -14282,7 +13412,9 @@ var LaceEngineService = {
|
|
|
14282
13412
|
* BundleState, which acts as the "subscribed" ready signal.
|
|
14283
13413
|
*
|
|
14284
13414
|
* Consumers (portal + extension canvas engines) project locally via
|
|
14285
|
-
* `@lace-cloud/canvas`'s `projectCanvasView(bundle,
|
|
13415
|
+
* `@lace-cloud/canvas`'s `projectCanvasView(bundle, arrangement?, meta)`.
|
|
13416
|
+
* `arrangement` (node positions, group collapse/label) is consumer-owned
|
|
13417
|
+
* view state — it never travels over this RPC.
|
|
14286
13418
|
*/
|
|
14287
13419
|
subscribe: {
|
|
14288
13420
|
path: "/lace.engine.LaceEngine/Subscribe",
|