@flock/wirespec 0.8.11 → 0.8.12
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.
|
@@ -135,13 +135,13 @@
|
|
|
135
135
|
setMetadataFor(TagObject, 'TagObject', classMeta, VOID, VOID, VOID, {0: $serializer_getInstance_12});
|
|
136
136
|
setMetadataFor($serializer_13, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
137
137
|
setMetadataFor(ExternalDocumentationObject, 'ExternalDocumentationObject', classMeta, VOID, VOID, VOID, {0: $serializer_getInstance_13});
|
|
138
|
+
setMetadataFor(SchemaOrReferenceObjectSerializer, 'SchemaOrReferenceObjectSerializer', objectMeta, VOID, [KSerializer]);
|
|
138
139
|
setMetadataFor(Companion_12, 'Companion', objectMeta);
|
|
139
140
|
setMetadataFor($serializer_14, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
140
141
|
setMetadataFor(ServerObject, 'ServerObject', classMeta, VOID, VOID, VOID, {0: $serializer_getInstance_14});
|
|
141
142
|
setMetadataFor(ParameterOrReferenceObjectSerializer, 'ParameterOrReferenceObjectSerializer', objectMeta, VOID, [KSerializer]);
|
|
142
143
|
setMetadataFor(ResponseOrReferenceObjectSerializer, 'ResponseOrReferenceObjectSerializer', objectMeta, VOID, [KSerializer]);
|
|
143
144
|
setMetadataFor(CallbackOrReferenceObjectSerializer, 'CallbackOrReferenceObjectSerializer', objectMeta, VOID, [KSerializer]);
|
|
144
|
-
setMetadataFor(SchemaOrReferenceObjectSerializer, 'SchemaOrReferenceObjectSerializer', objectMeta, VOID, [KSerializer]);
|
|
145
145
|
setMetadataFor(Companion_13, 'Companion', objectMeta, VOID, [SerializerFactory]);
|
|
146
146
|
setMetadataFor($serializer_15, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
147
147
|
setMetadataFor(XmlObject, 'XmlObject', classMeta, VOID, VOID, VOID, {0: $serializer_getInstance_15});
|
|
@@ -451,7 +451,7 @@
|
|
|
451
451
|
// Inline function 'kotlin.arrayOf' call
|
|
452
452
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
453
453
|
// Inline function 'kotlin.js.asDynamic' call
|
|
454
|
-
tmp.o1b_1 = [null, null, null, null, new ArrayListSerializer(StringSerializer_getInstance()), new ArrayListSerializer(StringSerializer_getInstance()), new ArrayListSerializer(StringSerializer_getInstance()), new LinkedHashMapSerializer($serializer_getInstance_0(), $serializer_getInstance_1()), new LinkedHashMapSerializer(StringSerializer_getInstance(),
|
|
454
|
+
tmp.o1b_1 = [null, null, null, null, new ArrayListSerializer(StringSerializer_getInstance()), new ArrayListSerializer(StringSerializer_getInstance()), new ArrayListSerializer(StringSerializer_getInstance()), new LinkedHashMapSerializer($serializer_getInstance_0(), $serializer_getInstance_1()), new LinkedHashMapSerializer(StringSerializer_getInstance(), SchemaOrReferenceObjectSerializer_getInstance()), new LinkedHashMapSerializer(StringSerializer_getInstance(), $serializer_getInstance_3()), new LinkedHashMapSerializer(StringSerializer_getInstance(), $serializer_getInstance_7()), new LinkedHashMapSerializer(StringSerializer_getInstance(), $serializer_getInstance_11()), new ArrayListSerializer(new LinkedHashMapSerializer(StringSerializer_getInstance(), new ArrayListSerializer(StringSerializer_getInstance()))), new ArrayListSerializer($serializer_getInstance_12()), null, new LinkedHashMapSerializer(StringSerializer_getInstance(), JsonElementSerializer_getInstance())];
|
|
455
455
|
}
|
|
456
456
|
var Companion_instance;
|
|
457
457
|
function Companion_getInstance() {
|
|
@@ -3595,13 +3595,38 @@
|
|
|
3595
3595
|
return false;
|
|
3596
3596
|
return true;
|
|
3597
3597
|
};
|
|
3598
|
+
function SchemaOrReferenceObjectSerializer() {
|
|
3599
|
+
SchemaOrReferenceObjectSerializer_instance = this;
|
|
3600
|
+
this.o1h_1 = buildSerialDescriptor('SchemaOrReferenceObject', SEALED_getInstance(), []);
|
|
3601
|
+
}
|
|
3602
|
+
protoOf(SchemaOrReferenceObjectSerializer).an = function () {
|
|
3603
|
+
return this.o1h_1;
|
|
3604
|
+
};
|
|
3605
|
+
protoOf(SchemaOrReferenceObjectSerializer).bn = function (decoder) {
|
|
3606
|
+
var tmp0_elvis_lhs = isInterface(decoder, JsonDecoder) ? decoder : null;
|
|
3607
|
+
var tmp;
|
|
3608
|
+
if (tmp0_elvis_lhs == null) {
|
|
3609
|
+
throw SerializationException_init_$Create$('This class can be loaded only by Json');
|
|
3610
|
+
} else {
|
|
3611
|
+
tmp = tmp0_elvis_lhs;
|
|
3612
|
+
}
|
|
3613
|
+
var input = tmp;
|
|
3614
|
+
var tree = get_jsonObject(input.q14());
|
|
3615
|
+
return tree.t14('$ref') ? input.p14().a13(Companion_getInstance_4().a15(), tree) : input.p14().a13(Companion_getInstance_5().a15(), tree);
|
|
3616
|
+
};
|
|
3617
|
+
var SchemaOrReferenceObjectSerializer_instance;
|
|
3618
|
+
function SchemaOrReferenceObjectSerializer_getInstance() {
|
|
3619
|
+
if (SchemaOrReferenceObjectSerializer_instance == null)
|
|
3620
|
+
new SchemaOrReferenceObjectSerializer();
|
|
3621
|
+
return SchemaOrReferenceObjectSerializer_instance;
|
|
3622
|
+
}
|
|
3598
3623
|
function Companion_12() {
|
|
3599
3624
|
Companion_instance_12 = this;
|
|
3600
3625
|
var tmp = this;
|
|
3601
3626
|
// Inline function 'kotlin.arrayOf' call
|
|
3602
3627
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3603
3628
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3604
|
-
tmp.
|
|
3629
|
+
tmp.p1h_1 = [null, null, new LinkedHashMapSerializer(StringSerializer_getInstance(), $serializer_getInstance_19())];
|
|
3605
3630
|
}
|
|
3606
3631
|
var Companion_instance_12;
|
|
3607
3632
|
function Companion_getInstance_12() {
|
|
@@ -3615,20 +3640,20 @@
|
|
|
3615
3640
|
tmp0_serialDesc.gv('url', false);
|
|
3616
3641
|
tmp0_serialDesc.gv('description', true);
|
|
3617
3642
|
tmp0_serialDesc.gv('variables', true);
|
|
3618
|
-
this.
|
|
3643
|
+
this.q1h_1 = tmp0_serialDesc;
|
|
3619
3644
|
}
|
|
3620
3645
|
protoOf($serializer_14).an = function () {
|
|
3621
|
-
return this.
|
|
3646
|
+
return this.q1h_1;
|
|
3622
3647
|
};
|
|
3623
3648
|
protoOf($serializer_14).yv = function () {
|
|
3624
|
-
var tmp0_cached = Companion_getInstance_12().
|
|
3649
|
+
var tmp0_cached = Companion_getInstance_12().p1h_1;
|
|
3625
3650
|
// Inline function 'kotlin.arrayOf' call
|
|
3626
3651
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3627
3652
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3628
3653
|
return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[2])];
|
|
3629
3654
|
};
|
|
3630
3655
|
protoOf($serializer_14).bn = function (decoder) {
|
|
3631
|
-
var tmp0_desc = this.
|
|
3656
|
+
var tmp0_desc = this.q1h_1;
|
|
3632
3657
|
var tmp1_flag = true;
|
|
3633
3658
|
var tmp2_index = 0;
|
|
3634
3659
|
var tmp3_bitMask0 = 0;
|
|
@@ -3636,7 +3661,7 @@
|
|
|
3636
3661
|
var tmp5_local1 = null;
|
|
3637
3662
|
var tmp6_local2 = null;
|
|
3638
3663
|
var tmp7_input = decoder.yp(tmp0_desc);
|
|
3639
|
-
var tmp8_cached = Companion_getInstance_12().
|
|
3664
|
+
var tmp8_cached = Companion_getInstance_12().p1h_1;
|
|
3640
3665
|
if (tmp7_input.oq()) {
|
|
3641
3666
|
tmp4_local0 = tmp7_input.iq(tmp0_desc, 0);
|
|
3642
3667
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3678,17 +3703,17 @@
|
|
|
3678
3703
|
}
|
|
3679
3704
|
function ServerObject_init_$Init$(seen1, url, description, variables, serializationConstructorMarker, $this) {
|
|
3680
3705
|
if (!(1 === (1 & seen1))) {
|
|
3681
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_14().
|
|
3706
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_14().q1h_1);
|
|
3682
3707
|
}
|
|
3683
|
-
$this.
|
|
3708
|
+
$this.r1h_1 = url;
|
|
3684
3709
|
if (0 === (seen1 & 2))
|
|
3685
|
-
$this.
|
|
3710
|
+
$this.s1h_1 = null;
|
|
3686
3711
|
else
|
|
3687
|
-
$this.
|
|
3712
|
+
$this.s1h_1 = description;
|
|
3688
3713
|
if (0 === (seen1 & 4))
|
|
3689
|
-
$this.
|
|
3714
|
+
$this.t1h_1 = null;
|
|
3690
3715
|
else
|
|
3691
|
-
$this.
|
|
3716
|
+
$this.t1h_1 = variables;
|
|
3692
3717
|
return $this;
|
|
3693
3718
|
}
|
|
3694
3719
|
function ServerObject_init_$Create$(seen1, url, description, variables, serializationConstructorMarker) {
|
|
@@ -3697,12 +3722,12 @@
|
|
|
3697
3722
|
function ServerObject() {
|
|
3698
3723
|
}
|
|
3699
3724
|
protoOf(ServerObject).toString = function () {
|
|
3700
|
-
return 'ServerObject(url=' + this.
|
|
3725
|
+
return 'ServerObject(url=' + this.r1h_1 + ', description=' + this.s1h_1 + ', variables=' + this.t1h_1 + ')';
|
|
3701
3726
|
};
|
|
3702
3727
|
protoOf(ServerObject).hashCode = function () {
|
|
3703
|
-
var result = getStringHashCode(this.
|
|
3704
|
-
result = imul(result, 31) + (this.
|
|
3705
|
-
result = imul(result, 31) + (this.
|
|
3728
|
+
var result = getStringHashCode(this.r1h_1);
|
|
3729
|
+
result = imul(result, 31) + (this.s1h_1 == null ? 0 : getStringHashCode(this.s1h_1)) | 0;
|
|
3730
|
+
result = imul(result, 31) + (this.t1h_1 == null ? 0 : hashCode(this.t1h_1)) | 0;
|
|
3706
3731
|
return result;
|
|
3707
3732
|
};
|
|
3708
3733
|
protoOf(ServerObject).equals = function (other) {
|
|
@@ -3711,20 +3736,20 @@
|
|
|
3711
3736
|
if (!(other instanceof ServerObject))
|
|
3712
3737
|
return false;
|
|
3713
3738
|
var tmp0_other_with_cast = other instanceof ServerObject ? other : THROW_CCE();
|
|
3714
|
-
if (!(this.
|
|
3739
|
+
if (!(this.r1h_1 === tmp0_other_with_cast.r1h_1))
|
|
3715
3740
|
return false;
|
|
3716
|
-
if (!(this.
|
|
3741
|
+
if (!(this.s1h_1 == tmp0_other_with_cast.s1h_1))
|
|
3717
3742
|
return false;
|
|
3718
|
-
if (!equals(this.
|
|
3743
|
+
if (!equals(this.t1h_1, tmp0_other_with_cast.t1h_1))
|
|
3719
3744
|
return false;
|
|
3720
3745
|
return true;
|
|
3721
3746
|
};
|
|
3722
3747
|
function ParameterOrReferenceObjectSerializer() {
|
|
3723
3748
|
ParameterOrReferenceObjectSerializer_instance = this;
|
|
3724
|
-
this.
|
|
3749
|
+
this.u1h_1 = buildSerialDescriptor('ParameterOrReferenceObject', SEALED_getInstance(), []);
|
|
3725
3750
|
}
|
|
3726
3751
|
protoOf(ParameterOrReferenceObjectSerializer).an = function () {
|
|
3727
|
-
return this.
|
|
3752
|
+
return this.u1h_1;
|
|
3728
3753
|
};
|
|
3729
3754
|
protoOf(ParameterOrReferenceObjectSerializer).bn = function (decoder) {
|
|
3730
3755
|
var tmp0_elvis_lhs = isInterface(decoder, JsonDecoder) ? decoder : null;
|
|
@@ -3746,10 +3771,10 @@
|
|
|
3746
3771
|
}
|
|
3747
3772
|
function ResponseOrReferenceObjectSerializer() {
|
|
3748
3773
|
ResponseOrReferenceObjectSerializer_instance = this;
|
|
3749
|
-
this.
|
|
3774
|
+
this.v1h_1 = buildSerialDescriptor('ResponseOrReferenceObject', SEALED_getInstance(), []);
|
|
3750
3775
|
}
|
|
3751
3776
|
protoOf(ResponseOrReferenceObjectSerializer).an = function () {
|
|
3752
|
-
return this.
|
|
3777
|
+
return this.v1h_1;
|
|
3753
3778
|
};
|
|
3754
3779
|
protoOf(ResponseOrReferenceObjectSerializer).bn = function (decoder) {
|
|
3755
3780
|
var tmp0_elvis_lhs = isInterface(decoder, JsonDecoder) ? decoder : null;
|
|
@@ -3771,10 +3796,10 @@
|
|
|
3771
3796
|
}
|
|
3772
3797
|
function CallbackOrReferenceObjectSerializer() {
|
|
3773
3798
|
CallbackOrReferenceObjectSerializer_instance = this;
|
|
3774
|
-
this.
|
|
3799
|
+
this.w1h_1 = buildSerialDescriptor('CallbackOrReferenceObject', SEALED_getInstance(), []);
|
|
3775
3800
|
}
|
|
3776
3801
|
protoOf(CallbackOrReferenceObjectSerializer).an = function () {
|
|
3777
|
-
return this.
|
|
3802
|
+
return this.w1h_1;
|
|
3778
3803
|
};
|
|
3779
3804
|
protoOf(CallbackOrReferenceObjectSerializer).bn = function (decoder) {
|
|
3780
3805
|
var tmp0_elvis_lhs = isInterface(decoder, JsonDecoder) ? decoder : null;
|
|
@@ -3794,31 +3819,6 @@
|
|
|
3794
3819
|
new CallbackOrReferenceObjectSerializer();
|
|
3795
3820
|
return CallbackOrReferenceObjectSerializer_instance;
|
|
3796
3821
|
}
|
|
3797
|
-
function SchemaOrReferenceObjectSerializer() {
|
|
3798
|
-
SchemaOrReferenceObjectSerializer_instance = this;
|
|
3799
|
-
this.w1h_1 = buildSerialDescriptor('SchemaOrReferenceObject', SEALED_getInstance(), []);
|
|
3800
|
-
}
|
|
3801
|
-
protoOf(SchemaOrReferenceObjectSerializer).an = function () {
|
|
3802
|
-
return this.w1h_1;
|
|
3803
|
-
};
|
|
3804
|
-
protoOf(SchemaOrReferenceObjectSerializer).bn = function (decoder) {
|
|
3805
|
-
var tmp0_elvis_lhs = isInterface(decoder, JsonDecoder) ? decoder : null;
|
|
3806
|
-
var tmp;
|
|
3807
|
-
if (tmp0_elvis_lhs == null) {
|
|
3808
|
-
throw SerializationException_init_$Create$('This class can be loaded only by Json');
|
|
3809
|
-
} else {
|
|
3810
|
-
tmp = tmp0_elvis_lhs;
|
|
3811
|
-
}
|
|
3812
|
-
var input = tmp;
|
|
3813
|
-
var tree = get_jsonObject(input.q14());
|
|
3814
|
-
return tree.t14('$ref') ? input.p14().a13(Companion_getInstance_4().a15(), tree) : input.p14().a13(Companion_getInstance_5().a15(), tree);
|
|
3815
|
-
};
|
|
3816
|
-
var SchemaOrReferenceObjectSerializer_instance;
|
|
3817
|
-
function SchemaOrReferenceObjectSerializer_getInstance() {
|
|
3818
|
-
if (SchemaOrReferenceObjectSerializer_instance == null)
|
|
3819
|
-
new SchemaOrReferenceObjectSerializer();
|
|
3820
|
-
return SchemaOrReferenceObjectSerializer_instance;
|
|
3821
|
-
}
|
|
3822
3822
|
function Companion_13() {
|
|
3823
3823
|
Companion_instance_13 = this;
|
|
3824
3824
|
}
|