@aldiokta/protocgen 1.0.84 → 1.0.86
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/package.json
CHANGED
|
@@ -2269,7 +2269,7 @@ proto.Resource.prototype.setReferencesId = function(value) {
|
|
|
2269
2269
|
* @private {!Array<number>}
|
|
2270
2270
|
* @const
|
|
2271
2271
|
*/
|
|
2272
|
-
proto.Action.repeatedFields_ = [
|
|
2272
|
+
proto.Action.repeatedFields_ = [5];
|
|
2273
2273
|
|
|
2274
2274
|
|
|
2275
2275
|
|
|
@@ -2304,7 +2304,9 @@ proto.Action.toObject = function(includeInstance, msg) {
|
|
|
2304
2304
|
var f, obj = {
|
|
2305
2305
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2306
2306
|
referencesId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2307
|
-
|
|
2307
|
+
catalogReferencesId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2308
|
+
actionCatalog: (f = msg.getActionCatalog()) && proto.ActionCatalog.toObject(includeInstance, f),
|
|
2309
|
+
resourcesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
|
|
2308
2310
|
};
|
|
2309
2311
|
|
|
2310
2312
|
if (includeInstance) {
|
|
@@ -2350,6 +2352,15 @@ proto.Action.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2350
2352
|
msg.setReferencesId(value);
|
|
2351
2353
|
break;
|
|
2352
2354
|
case 3:
|
|
2355
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2356
|
+
msg.setCatalogReferencesId(value);
|
|
2357
|
+
break;
|
|
2358
|
+
case 4:
|
|
2359
|
+
var value = new proto.ActionCatalog;
|
|
2360
|
+
reader.readMessage(value,proto.ActionCatalog.deserializeBinaryFromReader);
|
|
2361
|
+
msg.setActionCatalog(value);
|
|
2362
|
+
break;
|
|
2363
|
+
case 5:
|
|
2353
2364
|
var value = /** @type {string} */ (reader.readString());
|
|
2354
2365
|
msg.addResources(value);
|
|
2355
2366
|
break;
|
|
@@ -2396,10 +2407,25 @@ proto.Action.serializeBinaryToWriter = function(message, writer) {
|
|
|
2396
2407
|
f
|
|
2397
2408
|
);
|
|
2398
2409
|
}
|
|
2410
|
+
f = message.getCatalogReferencesId();
|
|
2411
|
+
if (f.length > 0) {
|
|
2412
|
+
writer.writeString(
|
|
2413
|
+
3,
|
|
2414
|
+
f
|
|
2415
|
+
);
|
|
2416
|
+
}
|
|
2417
|
+
f = message.getActionCatalog();
|
|
2418
|
+
if (f != null) {
|
|
2419
|
+
writer.writeMessage(
|
|
2420
|
+
4,
|
|
2421
|
+
f,
|
|
2422
|
+
proto.ActionCatalog.serializeBinaryToWriter
|
|
2423
|
+
);
|
|
2424
|
+
}
|
|
2399
2425
|
f = message.getResourcesList();
|
|
2400
2426
|
if (f.length > 0) {
|
|
2401
2427
|
writer.writeRepeatedString(
|
|
2402
|
-
|
|
2428
|
+
5,
|
|
2403
2429
|
f
|
|
2404
2430
|
);
|
|
2405
2431
|
}
|
|
@@ -2443,11 +2469,66 @@ proto.Action.prototype.setReferencesId = function(value) {
|
|
|
2443
2469
|
|
|
2444
2470
|
|
|
2445
2471
|
/**
|
|
2446
|
-
*
|
|
2472
|
+
* optional string catalog_references_id = 3;
|
|
2473
|
+
* @return {string}
|
|
2474
|
+
*/
|
|
2475
|
+
proto.Action.prototype.getCatalogReferencesId = function() {
|
|
2476
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2477
|
+
};
|
|
2478
|
+
|
|
2479
|
+
|
|
2480
|
+
/**
|
|
2481
|
+
* @param {string} value
|
|
2482
|
+
* @return {!proto.Action} returns this
|
|
2483
|
+
*/
|
|
2484
|
+
proto.Action.prototype.setCatalogReferencesId = function(value) {
|
|
2485
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2486
|
+
};
|
|
2487
|
+
|
|
2488
|
+
|
|
2489
|
+
/**
|
|
2490
|
+
* optional ActionCatalog action_catalog = 4;
|
|
2491
|
+
* @return {?proto.ActionCatalog}
|
|
2492
|
+
*/
|
|
2493
|
+
proto.Action.prototype.getActionCatalog = function() {
|
|
2494
|
+
return /** @type{?proto.ActionCatalog} */ (
|
|
2495
|
+
jspb.Message.getWrapperField(this, proto.ActionCatalog, 4));
|
|
2496
|
+
};
|
|
2497
|
+
|
|
2498
|
+
|
|
2499
|
+
/**
|
|
2500
|
+
* @param {?proto.ActionCatalog|undefined} value
|
|
2501
|
+
* @return {!proto.Action} returns this
|
|
2502
|
+
*/
|
|
2503
|
+
proto.Action.prototype.setActionCatalog = function(value) {
|
|
2504
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
2505
|
+
};
|
|
2506
|
+
|
|
2507
|
+
|
|
2508
|
+
/**
|
|
2509
|
+
* Clears the message field making it undefined.
|
|
2510
|
+
* @return {!proto.Action} returns this
|
|
2511
|
+
*/
|
|
2512
|
+
proto.Action.prototype.clearActionCatalog = function() {
|
|
2513
|
+
return this.setActionCatalog(undefined);
|
|
2514
|
+
};
|
|
2515
|
+
|
|
2516
|
+
|
|
2517
|
+
/**
|
|
2518
|
+
* Returns whether this field is set.
|
|
2519
|
+
* @return {boolean}
|
|
2520
|
+
*/
|
|
2521
|
+
proto.Action.prototype.hasActionCatalog = function() {
|
|
2522
|
+
return jspb.Message.getField(this, 4) != null;
|
|
2523
|
+
};
|
|
2524
|
+
|
|
2525
|
+
|
|
2526
|
+
/**
|
|
2527
|
+
* repeated string resources = 5;
|
|
2447
2528
|
* @return {!Array<string>}
|
|
2448
2529
|
*/
|
|
2449
2530
|
proto.Action.prototype.getResourcesList = function() {
|
|
2450
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this,
|
|
2531
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
2451
2532
|
};
|
|
2452
2533
|
|
|
2453
2534
|
|
|
@@ -2456,7 +2537,7 @@ proto.Action.prototype.getResourcesList = function() {
|
|
|
2456
2537
|
* @return {!proto.Action} returns this
|
|
2457
2538
|
*/
|
|
2458
2539
|
proto.Action.prototype.setResourcesList = function(value) {
|
|
2459
|
-
return jspb.Message.setField(this,
|
|
2540
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
2460
2541
|
};
|
|
2461
2542
|
|
|
2462
2543
|
|
|
@@ -2466,7 +2547,7 @@ proto.Action.prototype.setResourcesList = function(value) {
|
|
|
2466
2547
|
* @return {!proto.Action} returns this
|
|
2467
2548
|
*/
|
|
2468
2549
|
proto.Action.prototype.addResources = function(value, opt_index) {
|
|
2469
|
-
return jspb.Message.addToRepeatedField(this,
|
|
2550
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
2470
2551
|
};
|
|
2471
2552
|
|
|
2472
2553
|
|
|
@@ -2512,7 +2593,8 @@ proto.ActionCatalog.prototype.toObject = function(opt_includeInstance) {
|
|
|
2512
2593
|
proto.ActionCatalog.toObject = function(includeInstance, msg) {
|
|
2513
2594
|
var f, obj = {
|
|
2514
2595
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2515
|
-
|
|
2596
|
+
alias: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2597
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
2516
2598
|
};
|
|
2517
2599
|
|
|
2518
2600
|
if (includeInstance) {
|
|
@@ -2554,6 +2636,10 @@ proto.ActionCatalog.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2554
2636
|
msg.setName(value);
|
|
2555
2637
|
break;
|
|
2556
2638
|
case 2:
|
|
2639
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2640
|
+
msg.setAlias(value);
|
|
2641
|
+
break;
|
|
2642
|
+
case 3:
|
|
2557
2643
|
var value = /** @type {string} */ (reader.readString());
|
|
2558
2644
|
msg.setReferencesId(value);
|
|
2559
2645
|
break;
|
|
@@ -2593,13 +2679,20 @@ proto.ActionCatalog.serializeBinaryToWriter = function(message, writer) {
|
|
|
2593
2679
|
f
|
|
2594
2680
|
);
|
|
2595
2681
|
}
|
|
2596
|
-
f = message.
|
|
2682
|
+
f = message.getAlias();
|
|
2597
2683
|
if (f.length > 0) {
|
|
2598
2684
|
writer.writeString(
|
|
2599
2685
|
2,
|
|
2600
2686
|
f
|
|
2601
2687
|
);
|
|
2602
2688
|
}
|
|
2689
|
+
f = message.getReferencesId();
|
|
2690
|
+
if (f.length > 0) {
|
|
2691
|
+
writer.writeString(
|
|
2692
|
+
3,
|
|
2693
|
+
f
|
|
2694
|
+
);
|
|
2695
|
+
}
|
|
2603
2696
|
};
|
|
2604
2697
|
|
|
2605
2698
|
|
|
@@ -2622,10 +2715,10 @@ proto.ActionCatalog.prototype.setName = function(value) {
|
|
|
2622
2715
|
|
|
2623
2716
|
|
|
2624
2717
|
/**
|
|
2625
|
-
* optional string
|
|
2718
|
+
* optional string alias = 2;
|
|
2626
2719
|
* @return {string}
|
|
2627
2720
|
*/
|
|
2628
|
-
proto.ActionCatalog.prototype.
|
|
2721
|
+
proto.ActionCatalog.prototype.getAlias = function() {
|
|
2629
2722
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2630
2723
|
};
|
|
2631
2724
|
|
|
@@ -2634,11 +2727,29 @@ proto.ActionCatalog.prototype.getReferencesId = function() {
|
|
|
2634
2727
|
* @param {string} value
|
|
2635
2728
|
* @return {!proto.ActionCatalog} returns this
|
|
2636
2729
|
*/
|
|
2637
|
-
proto.ActionCatalog.prototype.
|
|
2730
|
+
proto.ActionCatalog.prototype.setAlias = function(value) {
|
|
2638
2731
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2639
2732
|
};
|
|
2640
2733
|
|
|
2641
2734
|
|
|
2735
|
+
/**
|
|
2736
|
+
* optional string references_id = 3;
|
|
2737
|
+
* @return {string}
|
|
2738
|
+
*/
|
|
2739
|
+
proto.ActionCatalog.prototype.getReferencesId = function() {
|
|
2740
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2741
|
+
};
|
|
2742
|
+
|
|
2743
|
+
|
|
2744
|
+
/**
|
|
2745
|
+
* @param {string} value
|
|
2746
|
+
* @return {!proto.ActionCatalog} returns this
|
|
2747
|
+
*/
|
|
2748
|
+
proto.ActionCatalog.prototype.setReferencesId = function(value) {
|
|
2749
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2750
|
+
};
|
|
2751
|
+
|
|
2752
|
+
|
|
2642
2753
|
|
|
2643
2754
|
|
|
2644
2755
|
|
|
@@ -3699,7 +3699,8 @@ proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.toObject = function(
|
|
|
3699
3699
|
id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
|
|
3700
3700
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3701
3701
|
properties: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3702
|
-
transactionBuilderFieldRef: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f
|
|
3702
|
+
transactionBuilderFieldRef: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
|
|
3703
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
3703
3704
|
};
|
|
3704
3705
|
|
|
3705
3706
|
if (includeInstance) {
|
|
@@ -3752,6 +3753,10 @@ proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.deserializeBinaryFro
|
|
|
3752
3753
|
var value = /** @type {string} */ (reader.readString());
|
|
3753
3754
|
msg.setTransactionBuilderFieldRef(value);
|
|
3754
3755
|
break;
|
|
3756
|
+
case 5:
|
|
3757
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3758
|
+
msg.setReferencesId(value);
|
|
3759
|
+
break;
|
|
3755
3760
|
default:
|
|
3756
3761
|
reader.skipField();
|
|
3757
3762
|
break;
|
|
@@ -3809,6 +3814,13 @@ proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.serializeBinaryToWri
|
|
|
3809
3814
|
f
|
|
3810
3815
|
);
|
|
3811
3816
|
}
|
|
3817
|
+
f = message.getReferencesId();
|
|
3818
|
+
if (f.length > 0) {
|
|
3819
|
+
writer.writeString(
|
|
3820
|
+
5,
|
|
3821
|
+
f
|
|
3822
|
+
);
|
|
3823
|
+
}
|
|
3812
3824
|
};
|
|
3813
3825
|
|
|
3814
3826
|
|
|
@@ -3920,6 +3932,24 @@ proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.prototype.hasTransac
|
|
|
3920
3932
|
};
|
|
3921
3933
|
|
|
3922
3934
|
|
|
3935
|
+
/**
|
|
3936
|
+
* optional string references_id = 5;
|
|
3937
|
+
* @return {string}
|
|
3938
|
+
*/
|
|
3939
|
+
proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.prototype.getReferencesId = function() {
|
|
3940
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
3941
|
+
};
|
|
3942
|
+
|
|
3943
|
+
|
|
3944
|
+
/**
|
|
3945
|
+
* @param {string} value
|
|
3946
|
+
* @return {!proto.prisca.v1.core.transaction_builder.FieldRulesWithProp} returns this
|
|
3947
|
+
*/
|
|
3948
|
+
proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.prototype.setReferencesId = function(value) {
|
|
3949
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
3950
|
+
};
|
|
3951
|
+
|
|
3952
|
+
|
|
3923
3953
|
|
|
3924
3954
|
|
|
3925
3955
|
|
|
@@ -3955,7 +3985,8 @@ proto.prisca.v1.core.transaction_builder.FieldRules.toObject = function(includeI
|
|
|
3955
3985
|
id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
|
|
3956
3986
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3957
3987
|
properties: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3958
|
-
transactionBuilderFieldRef: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f
|
|
3988
|
+
transactionBuilderFieldRef: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
|
|
3989
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
3959
3990
|
};
|
|
3960
3991
|
|
|
3961
3992
|
if (includeInstance) {
|
|
@@ -4008,6 +4039,10 @@ proto.prisca.v1.core.transaction_builder.FieldRules.deserializeBinaryFromReader
|
|
|
4008
4039
|
var value = /** @type {string} */ (reader.readString());
|
|
4009
4040
|
msg.setTransactionBuilderFieldRef(value);
|
|
4010
4041
|
break;
|
|
4042
|
+
case 5:
|
|
4043
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4044
|
+
msg.setReferencesId(value);
|
|
4045
|
+
break;
|
|
4011
4046
|
default:
|
|
4012
4047
|
reader.skipField();
|
|
4013
4048
|
break;
|
|
@@ -4065,6 +4100,13 @@ proto.prisca.v1.core.transaction_builder.FieldRules.serializeBinaryToWriter = fu
|
|
|
4065
4100
|
f
|
|
4066
4101
|
);
|
|
4067
4102
|
}
|
|
4103
|
+
f = message.getReferencesId();
|
|
4104
|
+
if (f.length > 0) {
|
|
4105
|
+
writer.writeString(
|
|
4106
|
+
5,
|
|
4107
|
+
f
|
|
4108
|
+
);
|
|
4109
|
+
}
|
|
4068
4110
|
};
|
|
4069
4111
|
|
|
4070
4112
|
|
|
@@ -4176,6 +4218,24 @@ proto.prisca.v1.core.transaction_builder.FieldRules.prototype.hasTransactionBuil
|
|
|
4176
4218
|
};
|
|
4177
4219
|
|
|
4178
4220
|
|
|
4221
|
+
/**
|
|
4222
|
+
* optional string references_id = 5;
|
|
4223
|
+
* @return {string}
|
|
4224
|
+
*/
|
|
4225
|
+
proto.prisca.v1.core.transaction_builder.FieldRules.prototype.getReferencesId = function() {
|
|
4226
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
4227
|
+
};
|
|
4228
|
+
|
|
4229
|
+
|
|
4230
|
+
/**
|
|
4231
|
+
* @param {string} value
|
|
4232
|
+
* @return {!proto.prisca.v1.core.transaction_builder.FieldRules} returns this
|
|
4233
|
+
*/
|
|
4234
|
+
proto.prisca.v1.core.transaction_builder.FieldRules.prototype.setReferencesId = function(value) {
|
|
4235
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
4236
|
+
};
|
|
4237
|
+
|
|
4238
|
+
|
|
4179
4239
|
|
|
4180
4240
|
|
|
4181
4241
|
|
|
@@ -4212,7 +4272,8 @@ id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
|
|
|
4212
4272
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4213
4273
|
orders: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4214
4274
|
properties: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4215
|
-
transactionBuilderFieldRef: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f
|
|
4275
|
+
transactionBuilderFieldRef: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f,
|
|
4276
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
4216
4277
|
};
|
|
4217
4278
|
|
|
4218
4279
|
if (includeInstance) {
|
|
@@ -4269,6 +4330,10 @@ proto.prisca.v1.core.transaction_builder.FieldViews.deserializeBinaryFromReader
|
|
|
4269
4330
|
var value = /** @type {string} */ (reader.readString());
|
|
4270
4331
|
msg.setTransactionBuilderFieldRef(value);
|
|
4271
4332
|
break;
|
|
4333
|
+
case 6:
|
|
4334
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4335
|
+
msg.setReferencesId(value);
|
|
4336
|
+
break;
|
|
4272
4337
|
default:
|
|
4273
4338
|
reader.skipField();
|
|
4274
4339
|
break;
|
|
@@ -4333,6 +4398,13 @@ proto.prisca.v1.core.transaction_builder.FieldViews.serializeBinaryToWriter = fu
|
|
|
4333
4398
|
f
|
|
4334
4399
|
);
|
|
4335
4400
|
}
|
|
4401
|
+
f = message.getReferencesId();
|
|
4402
|
+
if (f.length > 0) {
|
|
4403
|
+
writer.writeString(
|
|
4404
|
+
6,
|
|
4405
|
+
f
|
|
4406
|
+
);
|
|
4407
|
+
}
|
|
4336
4408
|
};
|
|
4337
4409
|
|
|
4338
4410
|
|
|
@@ -4462,6 +4534,24 @@ proto.prisca.v1.core.transaction_builder.FieldViews.prototype.hasTransactionBuil
|
|
|
4462
4534
|
};
|
|
4463
4535
|
|
|
4464
4536
|
|
|
4537
|
+
/**
|
|
4538
|
+
* optional string references_id = 6;
|
|
4539
|
+
* @return {string}
|
|
4540
|
+
*/
|
|
4541
|
+
proto.prisca.v1.core.transaction_builder.FieldViews.prototype.getReferencesId = function() {
|
|
4542
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
4543
|
+
};
|
|
4544
|
+
|
|
4545
|
+
|
|
4546
|
+
/**
|
|
4547
|
+
* @param {string} value
|
|
4548
|
+
* @return {!proto.prisca.v1.core.transaction_builder.FieldViews} returns this
|
|
4549
|
+
*/
|
|
4550
|
+
proto.prisca.v1.core.transaction_builder.FieldViews.prototype.setReferencesId = function(value) {
|
|
4551
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
4552
|
+
};
|
|
4553
|
+
|
|
4554
|
+
|
|
4465
4555
|
|
|
4466
4556
|
|
|
4467
4557
|
|