@rlvt/contents-openapi-client 1.0.240 → 1.0.241
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/build/api.d.ts +281 -410
- package/build/api.js +1 -1
- package/build/definitions.d.ts +50 -174
- package/build/definitions.js +1 -1
- package/package.json +1 -1
package/build/api.d.ts
CHANGED
|
@@ -238,51 +238,50 @@ export default class {
|
|
|
238
238
|
};
|
|
239
239
|
};
|
|
240
240
|
pages: {
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
width: number;
|
|
245
|
-
height: number;
|
|
246
|
-
x: number;
|
|
247
|
-
y: number;
|
|
248
|
-
skewX: number;
|
|
249
|
-
skewY: number;
|
|
250
|
-
rotation: number;
|
|
251
|
-
}[];
|
|
252
|
-
url?: ({
|
|
253
|
-
type: "static";
|
|
254
|
-
value: string;
|
|
255
|
-
} | {
|
|
256
|
-
type: "dependency";
|
|
257
|
-
value: string;
|
|
258
|
-
})[] | undefined;
|
|
241
|
+
id: string;
|
|
242
|
+
components: {
|
|
243
|
+
id: string;
|
|
259
244
|
width: number;
|
|
260
245
|
height: number;
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
246
|
+
x: number;
|
|
247
|
+
y: number;
|
|
248
|
+
skewX: number;
|
|
249
|
+
skewY: number;
|
|
250
|
+
rotation: number;
|
|
251
|
+
}[];
|
|
252
|
+
width: number;
|
|
253
|
+
height: number;
|
|
254
|
+
background: {
|
|
255
|
+
r: number;
|
|
256
|
+
g: number;
|
|
257
|
+
b: number;
|
|
258
|
+
a: number;
|
|
259
|
+
};
|
|
260
|
+
duration: number;
|
|
261
|
+
orderTree: {
|
|
262
|
+
root: string[];
|
|
263
|
+
elements: {
|
|
264
|
+
[x: string]: {
|
|
265
|
+
type: "conditionGroup";
|
|
266
|
+
} | {
|
|
267
|
+
type: "condition";
|
|
268
|
+
children: string[];
|
|
269
|
+
} | {
|
|
270
|
+
type: "component";
|
|
271
|
+
} | {
|
|
272
|
+
type: "componentGroup";
|
|
273
|
+
children: string[];
|
|
282
274
|
};
|
|
283
275
|
};
|
|
284
276
|
};
|
|
285
|
-
|
|
277
|
+
url?: ({
|
|
278
|
+
type: "static";
|
|
279
|
+
value: string;
|
|
280
|
+
} | {
|
|
281
|
+
type: "dependency";
|
|
282
|
+
value: string;
|
|
283
|
+
})[] | undefined;
|
|
284
|
+
}[];
|
|
286
285
|
conditionGroups: {
|
|
287
286
|
[x: string]: {
|
|
288
287
|
name?: string | undefined;
|
|
@@ -419,51 +418,50 @@ export default class {
|
|
|
419
418
|
};
|
|
420
419
|
};
|
|
421
420
|
pages: {
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
width: number;
|
|
426
|
-
height: number;
|
|
427
|
-
x: number;
|
|
428
|
-
y: number;
|
|
429
|
-
skewX: number;
|
|
430
|
-
skewY: number;
|
|
431
|
-
rotation: number;
|
|
432
|
-
}[];
|
|
433
|
-
url?: ({
|
|
434
|
-
type: "static";
|
|
435
|
-
value: string;
|
|
436
|
-
} | {
|
|
437
|
-
type: "dependency";
|
|
438
|
-
value: string;
|
|
439
|
-
})[] | undefined;
|
|
421
|
+
id: string;
|
|
422
|
+
components: {
|
|
423
|
+
id: string;
|
|
440
424
|
width: number;
|
|
441
425
|
height: number;
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
426
|
+
x: number;
|
|
427
|
+
y: number;
|
|
428
|
+
skewX: number;
|
|
429
|
+
skewY: number;
|
|
430
|
+
rotation: number;
|
|
431
|
+
}[];
|
|
432
|
+
width: number;
|
|
433
|
+
height: number;
|
|
434
|
+
background: {
|
|
435
|
+
r: number;
|
|
436
|
+
g: number;
|
|
437
|
+
b: number;
|
|
438
|
+
a: number;
|
|
439
|
+
};
|
|
440
|
+
duration: number;
|
|
441
|
+
orderTree: {
|
|
442
|
+
root: string[];
|
|
443
|
+
elements: {
|
|
444
|
+
[x: string]: {
|
|
445
|
+
type: "conditionGroup";
|
|
446
|
+
} | {
|
|
447
|
+
type: "condition";
|
|
448
|
+
children: string[];
|
|
449
|
+
} | {
|
|
450
|
+
type: "component";
|
|
451
|
+
} | {
|
|
452
|
+
type: "componentGroup";
|
|
453
|
+
children: string[];
|
|
463
454
|
};
|
|
464
455
|
};
|
|
465
456
|
};
|
|
466
|
-
|
|
457
|
+
url?: ({
|
|
458
|
+
type: "static";
|
|
459
|
+
value: string;
|
|
460
|
+
} | {
|
|
461
|
+
type: "dependency";
|
|
462
|
+
value: string;
|
|
463
|
+
})[] | undefined;
|
|
464
|
+
}[];
|
|
467
465
|
conditionGroups: {
|
|
468
466
|
[x: string]: {
|
|
469
467
|
name?: string | undefined;
|
|
@@ -599,51 +597,50 @@ export default class {
|
|
|
599
597
|
};
|
|
600
598
|
};
|
|
601
599
|
pages: {
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
width: number;
|
|
606
|
-
height: number;
|
|
607
|
-
x: number;
|
|
608
|
-
y: number;
|
|
609
|
-
skewX: number;
|
|
610
|
-
skewY: number;
|
|
611
|
-
rotation: number;
|
|
612
|
-
}[];
|
|
613
|
-
url?: ({
|
|
614
|
-
type: "static";
|
|
615
|
-
value: string;
|
|
616
|
-
} | {
|
|
617
|
-
type: "dependency";
|
|
618
|
-
value: string;
|
|
619
|
-
})[] | undefined;
|
|
600
|
+
id: string;
|
|
601
|
+
components: {
|
|
602
|
+
id: string;
|
|
620
603
|
width: number;
|
|
621
604
|
height: number;
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
605
|
+
x: number;
|
|
606
|
+
y: number;
|
|
607
|
+
skewX: number;
|
|
608
|
+
skewY: number;
|
|
609
|
+
rotation: number;
|
|
610
|
+
}[];
|
|
611
|
+
width: number;
|
|
612
|
+
height: number;
|
|
613
|
+
background: {
|
|
614
|
+
r: number;
|
|
615
|
+
g: number;
|
|
616
|
+
b: number;
|
|
617
|
+
a: number;
|
|
618
|
+
};
|
|
619
|
+
duration: number;
|
|
620
|
+
orderTree: {
|
|
621
|
+
root: string[];
|
|
622
|
+
elements: {
|
|
623
|
+
[x: string]: {
|
|
624
|
+
type: "conditionGroup";
|
|
625
|
+
} | {
|
|
626
|
+
type: "condition";
|
|
627
|
+
children: string[];
|
|
628
|
+
} | {
|
|
629
|
+
type: "component";
|
|
630
|
+
} | {
|
|
631
|
+
type: "componentGroup";
|
|
632
|
+
children: string[];
|
|
643
633
|
};
|
|
644
634
|
};
|
|
645
635
|
};
|
|
646
|
-
|
|
636
|
+
url?: ({
|
|
637
|
+
type: "static";
|
|
638
|
+
value: string;
|
|
639
|
+
} | {
|
|
640
|
+
type: "dependency";
|
|
641
|
+
value: string;
|
|
642
|
+
})[] | undefined;
|
|
643
|
+
}[];
|
|
647
644
|
conditionGroups: {
|
|
648
645
|
[x: string]: {
|
|
649
646
|
name?: string | undefined;
|
|
@@ -755,51 +752,50 @@ export default class {
|
|
|
755
752
|
};
|
|
756
753
|
};
|
|
757
754
|
pages: {
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
width: number;
|
|
762
|
-
height: number;
|
|
763
|
-
x: number;
|
|
764
|
-
y: number;
|
|
765
|
-
skewX: number;
|
|
766
|
-
skewY: number;
|
|
767
|
-
rotation: number;
|
|
768
|
-
}[];
|
|
769
|
-
url?: ({
|
|
770
|
-
type: "static";
|
|
771
|
-
value: string;
|
|
772
|
-
} | {
|
|
773
|
-
type: "dependency";
|
|
774
|
-
value: string;
|
|
775
|
-
})[] | undefined;
|
|
755
|
+
id: string;
|
|
756
|
+
components: {
|
|
757
|
+
id: string;
|
|
776
758
|
width: number;
|
|
777
759
|
height: number;
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
760
|
+
x: number;
|
|
761
|
+
y: number;
|
|
762
|
+
skewX: number;
|
|
763
|
+
skewY: number;
|
|
764
|
+
rotation: number;
|
|
765
|
+
}[];
|
|
766
|
+
width: number;
|
|
767
|
+
height: number;
|
|
768
|
+
background: {
|
|
769
|
+
r: number;
|
|
770
|
+
g: number;
|
|
771
|
+
b: number;
|
|
772
|
+
a: number;
|
|
773
|
+
};
|
|
774
|
+
duration: number;
|
|
775
|
+
orderTree: {
|
|
776
|
+
root: string[];
|
|
777
|
+
elements: {
|
|
778
|
+
[x: string]: {
|
|
779
|
+
type: "conditionGroup";
|
|
780
|
+
} | {
|
|
781
|
+
type: "condition";
|
|
782
|
+
children: string[];
|
|
783
|
+
} | {
|
|
784
|
+
type: "component";
|
|
785
|
+
} | {
|
|
786
|
+
type: "componentGroup";
|
|
787
|
+
children: string[];
|
|
799
788
|
};
|
|
800
789
|
};
|
|
801
790
|
};
|
|
802
|
-
|
|
791
|
+
url?: ({
|
|
792
|
+
type: "static";
|
|
793
|
+
value: string;
|
|
794
|
+
} | {
|
|
795
|
+
type: "dependency";
|
|
796
|
+
value: string;
|
|
797
|
+
})[] | undefined;
|
|
798
|
+
}[];
|
|
803
799
|
conditionGroups: {
|
|
804
800
|
[x: string]: {
|
|
805
801
|
name?: string | undefined;
|
|
@@ -888,7 +884,6 @@ export default class {
|
|
|
888
884
|
metadata?: {
|
|
889
885
|
[x: string]: unknown;
|
|
890
886
|
} | undefined;
|
|
891
|
-
} & {
|
|
892
887
|
template?: {
|
|
893
888
|
components: {
|
|
894
889
|
[x: string]: {
|
|
@@ -920,13 +915,6 @@ export default class {
|
|
|
920
915
|
skewY: number;
|
|
921
916
|
rotation: number;
|
|
922
917
|
}[];
|
|
923
|
-
url?: ({
|
|
924
|
-
type: "static";
|
|
925
|
-
value: string;
|
|
926
|
-
} | {
|
|
927
|
-
type: "dependency";
|
|
928
|
-
value: string;
|
|
929
|
-
})[] | undefined;
|
|
930
918
|
width: number;
|
|
931
919
|
height: number;
|
|
932
920
|
background: {
|
|
@@ -952,6 +940,13 @@ export default class {
|
|
|
952
940
|
};
|
|
953
941
|
};
|
|
954
942
|
};
|
|
943
|
+
url?: ({
|
|
944
|
+
type: "static";
|
|
945
|
+
value: string;
|
|
946
|
+
} | {
|
|
947
|
+
type: "dependency";
|
|
948
|
+
value: string;
|
|
949
|
+
})[] | undefined;
|
|
955
950
|
}[];
|
|
956
951
|
conditionGroups: {
|
|
957
952
|
[x: string]: {
|
|
@@ -1008,128 +1003,7 @@ export default class {
|
|
|
1008
1003
|
rendered: boolean;
|
|
1009
1004
|
};
|
|
1010
1005
|
};
|
|
1011
|
-
} |
|
|
1012
|
-
components: {
|
|
1013
|
-
[x: string]: {
|
|
1014
|
-
type: string;
|
|
1015
|
-
options: {
|
|
1016
|
-
[x: string]: unknown;
|
|
1017
|
-
};
|
|
1018
|
-
name?: string | undefined;
|
|
1019
|
-
rendered: boolean;
|
|
1020
|
-
};
|
|
1021
|
-
};
|
|
1022
|
-
dependencies: {
|
|
1023
|
-
[x: string]: {
|
|
1024
|
-
type: string;
|
|
1025
|
-
options: {
|
|
1026
|
-
[x: string]: unknown;
|
|
1027
|
-
};
|
|
1028
|
-
};
|
|
1029
|
-
};
|
|
1030
|
-
conditionGroups: {
|
|
1031
|
-
[x: string]: {
|
|
1032
|
-
name?: string | undefined;
|
|
1033
|
-
conditions: ({
|
|
1034
|
-
id: string;
|
|
1035
|
-
type: "and" | "or";
|
|
1036
|
-
rules: {
|
|
1037
|
-
value: {
|
|
1038
|
-
type: "static";
|
|
1039
|
-
value: string | number | boolean;
|
|
1040
|
-
} | {
|
|
1041
|
-
type: "dependency";
|
|
1042
|
-
value: string;
|
|
1043
|
-
};
|
|
1044
|
-
field: {
|
|
1045
|
-
type: "static";
|
|
1046
|
-
value: string | number | boolean;
|
|
1047
|
-
} | {
|
|
1048
|
-
type: "dependency";
|
|
1049
|
-
value: string;
|
|
1050
|
-
};
|
|
1051
|
-
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne" | "$contains" | "$notcontains" | "$empty" | "$nempty";
|
|
1052
|
-
}[];
|
|
1053
|
-
} | {
|
|
1054
|
-
id: string;
|
|
1055
|
-
type: "and" | "or";
|
|
1056
|
-
rules: {
|
|
1057
|
-
value: {
|
|
1058
|
-
type: "static";
|
|
1059
|
-
value: string | number | boolean;
|
|
1060
|
-
} | {
|
|
1061
|
-
type: "dependency";
|
|
1062
|
-
value: string;
|
|
1063
|
-
};
|
|
1064
|
-
field: {
|
|
1065
|
-
type: "static";
|
|
1066
|
-
value: string | number | boolean;
|
|
1067
|
-
} | {
|
|
1068
|
-
type: "dependency";
|
|
1069
|
-
value: string;
|
|
1070
|
-
};
|
|
1071
|
-
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne" | "$contains" | "$notcontains" | "$empty" | "$nempty";
|
|
1072
|
-
}[];
|
|
1073
|
-
} | {
|
|
1074
|
-
id: string;
|
|
1075
|
-
isElse: true;
|
|
1076
|
-
})[];
|
|
1077
|
-
};
|
|
1078
|
-
};
|
|
1079
|
-
componentGroups: {
|
|
1080
|
-
[x: string]: {
|
|
1081
|
-
name?: string | undefined;
|
|
1082
|
-
rendered: boolean;
|
|
1083
|
-
};
|
|
1084
|
-
};
|
|
1085
|
-
} & {
|
|
1086
|
-
pages: {
|
|
1087
|
-
[key: string]: {
|
|
1088
|
-
components: {
|
|
1089
|
-
id: string;
|
|
1090
|
-
width: number;
|
|
1091
|
-
height: number;
|
|
1092
|
-
x: number;
|
|
1093
|
-
y: number;
|
|
1094
|
-
skewX: number;
|
|
1095
|
-
skewY: number;
|
|
1096
|
-
rotation: number;
|
|
1097
|
-
}[];
|
|
1098
|
-
url?: ({
|
|
1099
|
-
type: "static";
|
|
1100
|
-
value: string;
|
|
1101
|
-
} | {
|
|
1102
|
-
type: "dependency";
|
|
1103
|
-
value: string;
|
|
1104
|
-
})[] | undefined;
|
|
1105
|
-
width: number;
|
|
1106
|
-
height: number;
|
|
1107
|
-
background: {
|
|
1108
|
-
r: number;
|
|
1109
|
-
g: number;
|
|
1110
|
-
b: number;
|
|
1111
|
-
a: number;
|
|
1112
|
-
};
|
|
1113
|
-
duration: number;
|
|
1114
|
-
orderTree: {
|
|
1115
|
-
root: string[];
|
|
1116
|
-
elements: {
|
|
1117
|
-
[x: string]: {
|
|
1118
|
-
type: "conditionGroup";
|
|
1119
|
-
} | {
|
|
1120
|
-
type: "condition";
|
|
1121
|
-
children: string[];
|
|
1122
|
-
} | {
|
|
1123
|
-
type: "component";
|
|
1124
|
-
} | {
|
|
1125
|
-
type: "componentGroup";
|
|
1126
|
-
children: string[];
|
|
1127
|
-
};
|
|
1128
|
-
};
|
|
1129
|
-
};
|
|
1130
|
-
};
|
|
1131
|
-
};
|
|
1132
|
-
}) | undefined;
|
|
1006
|
+
} | undefined;
|
|
1133
1007
|
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
1134
1008
|
status: "success";
|
|
1135
1009
|
program: string;
|
|
@@ -1193,51 +1067,50 @@ export default class {
|
|
|
1193
1067
|
};
|
|
1194
1068
|
};
|
|
1195
1069
|
pages: {
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
width: number;
|
|
1200
|
-
height: number;
|
|
1201
|
-
x: number;
|
|
1202
|
-
y: number;
|
|
1203
|
-
skewX: number;
|
|
1204
|
-
skewY: number;
|
|
1205
|
-
rotation: number;
|
|
1206
|
-
}[];
|
|
1207
|
-
url?: ({
|
|
1208
|
-
type: "static";
|
|
1209
|
-
value: string;
|
|
1210
|
-
} | {
|
|
1211
|
-
type: "dependency";
|
|
1212
|
-
value: string;
|
|
1213
|
-
})[] | undefined;
|
|
1070
|
+
id: string;
|
|
1071
|
+
components: {
|
|
1072
|
+
id: string;
|
|
1214
1073
|
width: number;
|
|
1215
1074
|
height: number;
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1075
|
+
x: number;
|
|
1076
|
+
y: number;
|
|
1077
|
+
skewX: number;
|
|
1078
|
+
skewY: number;
|
|
1079
|
+
rotation: number;
|
|
1080
|
+
}[];
|
|
1081
|
+
width: number;
|
|
1082
|
+
height: number;
|
|
1083
|
+
background: {
|
|
1084
|
+
r: number;
|
|
1085
|
+
g: number;
|
|
1086
|
+
b: number;
|
|
1087
|
+
a: number;
|
|
1088
|
+
};
|
|
1089
|
+
duration: number;
|
|
1090
|
+
orderTree: {
|
|
1091
|
+
root: string[];
|
|
1092
|
+
elements: {
|
|
1093
|
+
[x: string]: {
|
|
1094
|
+
type: "conditionGroup";
|
|
1095
|
+
} | {
|
|
1096
|
+
type: "condition";
|
|
1097
|
+
children: string[];
|
|
1098
|
+
} | {
|
|
1099
|
+
type: "component";
|
|
1100
|
+
} | {
|
|
1101
|
+
type: "componentGroup";
|
|
1102
|
+
children: string[];
|
|
1237
1103
|
};
|
|
1238
1104
|
};
|
|
1239
1105
|
};
|
|
1240
|
-
|
|
1106
|
+
url?: ({
|
|
1107
|
+
type: "static";
|
|
1108
|
+
value: string;
|
|
1109
|
+
} | {
|
|
1110
|
+
type: "dependency";
|
|
1111
|
+
value: string;
|
|
1112
|
+
})[] | undefined;
|
|
1113
|
+
}[];
|
|
1241
1114
|
conditionGroups: {
|
|
1242
1115
|
[x: string]: {
|
|
1243
1116
|
name?: string | undefined;
|
|
@@ -1384,51 +1257,50 @@ export default class {
|
|
|
1384
1257
|
};
|
|
1385
1258
|
};
|
|
1386
1259
|
pages: {
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
width: number;
|
|
1391
|
-
height: number;
|
|
1392
|
-
x: number;
|
|
1393
|
-
y: number;
|
|
1394
|
-
skewX: number;
|
|
1395
|
-
skewY: number;
|
|
1396
|
-
rotation: number;
|
|
1397
|
-
}[];
|
|
1398
|
-
url?: ({
|
|
1399
|
-
type: "static";
|
|
1400
|
-
value: string;
|
|
1401
|
-
} | {
|
|
1402
|
-
type: "dependency";
|
|
1403
|
-
value: string;
|
|
1404
|
-
})[] | undefined;
|
|
1260
|
+
id: string;
|
|
1261
|
+
components: {
|
|
1262
|
+
id: string;
|
|
1405
1263
|
width: number;
|
|
1406
1264
|
height: number;
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1265
|
+
x: number;
|
|
1266
|
+
y: number;
|
|
1267
|
+
skewX: number;
|
|
1268
|
+
skewY: number;
|
|
1269
|
+
rotation: number;
|
|
1270
|
+
}[];
|
|
1271
|
+
width: number;
|
|
1272
|
+
height: number;
|
|
1273
|
+
background: {
|
|
1274
|
+
r: number;
|
|
1275
|
+
g: number;
|
|
1276
|
+
b: number;
|
|
1277
|
+
a: number;
|
|
1278
|
+
};
|
|
1279
|
+
duration: number;
|
|
1280
|
+
orderTree: {
|
|
1281
|
+
root: string[];
|
|
1282
|
+
elements: {
|
|
1283
|
+
[x: string]: {
|
|
1284
|
+
type: "conditionGroup";
|
|
1285
|
+
} | {
|
|
1286
|
+
type: "condition";
|
|
1287
|
+
children: string[];
|
|
1288
|
+
} | {
|
|
1289
|
+
type: "component";
|
|
1290
|
+
} | {
|
|
1291
|
+
type: "componentGroup";
|
|
1292
|
+
children: string[];
|
|
1428
1293
|
};
|
|
1429
1294
|
};
|
|
1430
1295
|
};
|
|
1431
|
-
|
|
1296
|
+
url?: ({
|
|
1297
|
+
type: "static";
|
|
1298
|
+
value: string;
|
|
1299
|
+
} | {
|
|
1300
|
+
type: "dependency";
|
|
1301
|
+
value: string;
|
|
1302
|
+
})[] | undefined;
|
|
1303
|
+
}[];
|
|
1432
1304
|
conditionGroups: {
|
|
1433
1305
|
[x: string]: {
|
|
1434
1306
|
name?: string | undefined;
|
|
@@ -1565,51 +1437,50 @@ export default class {
|
|
|
1565
1437
|
};
|
|
1566
1438
|
};
|
|
1567
1439
|
pages: {
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
width: number;
|
|
1572
|
-
height: number;
|
|
1573
|
-
x: number;
|
|
1574
|
-
y: number;
|
|
1575
|
-
skewX: number;
|
|
1576
|
-
skewY: number;
|
|
1577
|
-
rotation: number;
|
|
1578
|
-
}[];
|
|
1579
|
-
url?: ({
|
|
1580
|
-
type: "static";
|
|
1581
|
-
value: string;
|
|
1582
|
-
} | {
|
|
1583
|
-
type: "dependency";
|
|
1584
|
-
value: string;
|
|
1585
|
-
})[] | undefined;
|
|
1440
|
+
id: string;
|
|
1441
|
+
components: {
|
|
1442
|
+
id: string;
|
|
1586
1443
|
width: number;
|
|
1587
1444
|
height: number;
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1445
|
+
x: number;
|
|
1446
|
+
y: number;
|
|
1447
|
+
skewX: number;
|
|
1448
|
+
skewY: number;
|
|
1449
|
+
rotation: number;
|
|
1450
|
+
}[];
|
|
1451
|
+
width: number;
|
|
1452
|
+
height: number;
|
|
1453
|
+
background: {
|
|
1454
|
+
r: number;
|
|
1455
|
+
g: number;
|
|
1456
|
+
b: number;
|
|
1457
|
+
a: number;
|
|
1458
|
+
};
|
|
1459
|
+
duration: number;
|
|
1460
|
+
orderTree: {
|
|
1461
|
+
root: string[];
|
|
1462
|
+
elements: {
|
|
1463
|
+
[x: string]: {
|
|
1464
|
+
type: "conditionGroup";
|
|
1465
|
+
} | {
|
|
1466
|
+
type: "condition";
|
|
1467
|
+
children: string[];
|
|
1468
|
+
} | {
|
|
1469
|
+
type: "component";
|
|
1470
|
+
} | {
|
|
1471
|
+
type: "componentGroup";
|
|
1472
|
+
children: string[];
|
|
1609
1473
|
};
|
|
1610
1474
|
};
|
|
1611
1475
|
};
|
|
1612
|
-
|
|
1476
|
+
url?: ({
|
|
1477
|
+
type: "static";
|
|
1478
|
+
value: string;
|
|
1479
|
+
} | {
|
|
1480
|
+
type: "dependency";
|
|
1481
|
+
value: string;
|
|
1482
|
+
})[] | undefined;
|
|
1483
|
+
}[];
|
|
1613
1484
|
conditionGroups: {
|
|
1614
1485
|
[x: string]: {
|
|
1615
1486
|
name?: string | undefined;
|
package/build/api.js
CHANGED
|
@@ -99,4 +99,4 @@ function pick(obj, ...keys) {
|
|
|
99
99
|
});
|
|
100
100
|
return ret;
|
|
101
101
|
}
|
|
102
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
102
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9COzs7Ozs7Ozs7Ozs7Ozs7QUFFcEIsa0RBQWlFO0FBR2pFLGdEQUE4QjtBQUU5QjtJQUdJLFlBQVksZ0JBQW9EO1FBQzVELElBQUksQ0FBQyxLQUFLLEdBQUcsY0FBYyxJQUFJLGdCQUFnQjtZQUMzQyxDQUFDLENBQUMsZ0JBQWdCO1lBQ2xCLENBQUMsQ0FBQyxlQUFLLENBQUMsTUFBTSxDQUFDLGdCQUFnQixDQUFDLENBQUE7SUFDeEMsQ0FBQztJQUVPLHdCQUF3QixDQUFDLE1BR2hDLEVBQUUsT0FBNEI7UUFDM0IsT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFDLEdBQUcsQ0FTakIsaUJBQWlCLEVBQ2pCLE1BQU0sQ0FBQyxNQUFNLENBQ1QsRUFBRSxFQUNGO1lBQ0ksTUFBTSxFQUFFLElBQUksQ0FBQyxNQUFNLEVBQUUsS0FBSyxFQUFFLGtCQUFrQixDQUFDO1NBQ2xELEVBQ0QsT0FBTyxDQUNWLENBQ0osQ0FBQztJQUNOLENBQUM7SUFFTyx5QkFB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3pDLElBQUksQ0FBQyxPQUFPLENBQUMsR0FBRyxDQUFDLEVBQUU7UUFDZixJQUFJLEdBQUcsSUFBSSxNQUFNLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDLFFBQVEsQ0FBQyxHQUFhLENBQUM7WUFDL0MsR0FBRyxDQUFDLEdBQUcsQ0FBQyxHQUFHLEdBQUcsQ0FBQyxHQUFHLENBQUMsQ0FBQztJQUM1QixDQUFDLENBQUMsQ0FBQztJQUNILE9BQU8sR0FBRyxDQUFDO0FBQ2YsQ0FBQyJ9
|
package/build/definitions.d.ts
CHANGED
|
@@ -57,7 +57,7 @@ export declare enum ContentVersionState {
|
|
|
57
57
|
INACTIVE = "inactive"
|
|
58
58
|
}
|
|
59
59
|
export declare type AnyValue = unknown | null;
|
|
60
|
-
export declare type
|
|
60
|
+
export declare type BaseTemplate = {
|
|
61
61
|
components: {
|
|
62
62
|
[key: string]: {
|
|
63
63
|
name?: string;
|
|
@@ -76,6 +76,52 @@ export declare type BaseTemplate_Without_Components_Dependencies_ConditionGroups
|
|
|
76
76
|
};
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
|
+
pages: ({
|
|
80
|
+
id: string;
|
|
81
|
+
width: number;
|
|
82
|
+
height: number;
|
|
83
|
+
background: {
|
|
84
|
+
r: number;
|
|
85
|
+
g: number;
|
|
86
|
+
b: number;
|
|
87
|
+
a: number;
|
|
88
|
+
};
|
|
89
|
+
duration: number;
|
|
90
|
+
components: {
|
|
91
|
+
id: string;
|
|
92
|
+
x: number;
|
|
93
|
+
y: number;
|
|
94
|
+
skewX: number;
|
|
95
|
+
skewY: number;
|
|
96
|
+
width: number;
|
|
97
|
+
height: number;
|
|
98
|
+
rotation: number;
|
|
99
|
+
}[];
|
|
100
|
+
orderTree: {
|
|
101
|
+
root: string[];
|
|
102
|
+
elements: {
|
|
103
|
+
[key: string]: {
|
|
104
|
+
type: "conditionGroup";
|
|
105
|
+
} | {
|
|
106
|
+
type: "condition";
|
|
107
|
+
children: string[];
|
|
108
|
+
} | {
|
|
109
|
+
type: "component";
|
|
110
|
+
} | {
|
|
111
|
+
type: "componentGroup";
|
|
112
|
+
children: string[];
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
} & {
|
|
117
|
+
url?: ({
|
|
118
|
+
type: "static";
|
|
119
|
+
value: string;
|
|
120
|
+
} | {
|
|
121
|
+
type: "dependency";
|
|
122
|
+
value: string;
|
|
123
|
+
})[];
|
|
124
|
+
})[];
|
|
79
125
|
conditionGroups: {
|
|
80
126
|
[key: string]: {
|
|
81
127
|
name?: string;
|
|
@@ -134,50 +180,6 @@ export declare type BaseTemplate_Without_Components_Dependencies_ConditionGroups
|
|
|
134
180
|
};
|
|
135
181
|
};
|
|
136
182
|
};
|
|
137
|
-
export declare type _id_string_width_number_height_number_background__r_number_g_number_b_number_a_number___duration_number_components__id_string_x_number_y_number_skewX_number_skewY_number_width_number_height_number_rotation_number___Array_orderTree__root_string_Array_elements___x_string___type_conditionGroup___or__type_condition_children_string_Array___or__type_component___or__type_componentGroup_children_string_Array_________and__url___type_static_value_string___or__type_dependency_value_string____Array_or_undefined___Without_Url_Width_Height_Background_Duration_Components_OrderTree = {
|
|
138
|
-
url?: ({
|
|
139
|
-
type: "static";
|
|
140
|
-
value: string;
|
|
141
|
-
} | {
|
|
142
|
-
type: "dependency";
|
|
143
|
-
value: string;
|
|
144
|
-
})[];
|
|
145
|
-
width: number;
|
|
146
|
-
height: number;
|
|
147
|
-
background: {
|
|
148
|
-
r: number;
|
|
149
|
-
g: number;
|
|
150
|
-
b: number;
|
|
151
|
-
a: number;
|
|
152
|
-
};
|
|
153
|
-
duration: number;
|
|
154
|
-
components: {
|
|
155
|
-
id: string;
|
|
156
|
-
x: number;
|
|
157
|
-
y: number;
|
|
158
|
-
skewX: number;
|
|
159
|
-
skewY: number;
|
|
160
|
-
width: number;
|
|
161
|
-
height: number;
|
|
162
|
-
rotation: number;
|
|
163
|
-
}[];
|
|
164
|
-
orderTree: {
|
|
165
|
-
root: string[];
|
|
166
|
-
elements: {
|
|
167
|
-
[key: string]: {
|
|
168
|
-
type: "conditionGroup";
|
|
169
|
-
} | {
|
|
170
|
-
type: "condition";
|
|
171
|
-
children: string[];
|
|
172
|
-
} | {
|
|
173
|
-
type: "component";
|
|
174
|
-
} | {
|
|
175
|
-
type: "componentGroup";
|
|
176
|
-
children: string[];
|
|
177
|
-
};
|
|
178
|
-
};
|
|
179
|
-
};
|
|
180
|
-
};
|
|
181
183
|
export declare type SerializedContentVersions = {
|
|
182
184
|
readonly id: (string) & readonlyP;
|
|
183
185
|
readonly createdAt: (Date) & readonlyP;
|
|
@@ -187,11 +189,7 @@ export declare type SerializedContentVersions = {
|
|
|
187
189
|
metadata?: {
|
|
188
190
|
[key: string]: AnyValue;
|
|
189
191
|
};
|
|
190
|
-
template:
|
|
191
|
-
pages: {
|
|
192
|
-
[key: string]: _id_string_width_number_height_number_background__r_number_g_number_b_number_a_number___duration_number_components__id_string_x_number_y_number_skewX_number_skewY_number_width_number_height_number_rotation_number___Array_orderTree__root_string_Array_elements___x_string___type_conditionGroup___or__type_condition_children_string_Array___or__type_component___or__type_componentGroup_children_string_Array_________and__url___type_static_value_string___or__type_dependency_value_string____Array_or_undefined___Without_Url_Width_Height_Background_Duration_Components_OrderTree;
|
|
193
|
-
};
|
|
194
|
-
};
|
|
192
|
+
template: BaseTemplate;
|
|
195
193
|
};
|
|
196
194
|
export declare type ContentVersion = SerializedContentVersions;
|
|
197
195
|
export declare enum ContentStatus {
|
|
@@ -228,7 +226,7 @@ export declare type Partial_SerializedContent = {
|
|
|
228
226
|
description?: string;
|
|
229
227
|
readonly status?: (ContentStatus) & readonlyP;
|
|
230
228
|
};
|
|
231
|
-
export declare type
|
|
229
|
+
export declare type Partial_SerializedContentVersions = {
|
|
232
230
|
readonly id?: (string) & readonlyP;
|
|
233
231
|
readonly createdAt?: (Date) & readonlyP;
|
|
234
232
|
readonly updatedAt?: (Date) & readonlyP;
|
|
@@ -237,128 +235,6 @@ export declare type Partial_SerializedContentVersions__Without_Id_CreatedAt_Upda
|
|
|
237
235
|
metadata?: {
|
|
238
236
|
[key: string]: AnyValue;
|
|
239
237
|
};
|
|
240
|
-
|
|
241
|
-
export declare type BaseTemplate = {
|
|
242
|
-
components: {
|
|
243
|
-
[key: string]: {
|
|
244
|
-
name?: string;
|
|
245
|
-
type: string;
|
|
246
|
-
rendered: boolean;
|
|
247
|
-
options: {
|
|
248
|
-
[key: string]: AnyValue;
|
|
249
|
-
};
|
|
250
|
-
};
|
|
251
|
-
};
|
|
252
|
-
dependencies: {
|
|
253
|
-
[key: string]: {
|
|
254
|
-
type: string;
|
|
255
|
-
options: {
|
|
256
|
-
[key: string]: AnyValue;
|
|
257
|
-
};
|
|
258
|
-
};
|
|
259
|
-
};
|
|
260
|
-
pages: ({
|
|
261
|
-
id: string;
|
|
262
|
-
width: number;
|
|
263
|
-
height: number;
|
|
264
|
-
background: {
|
|
265
|
-
r: number;
|
|
266
|
-
g: number;
|
|
267
|
-
b: number;
|
|
268
|
-
a: number;
|
|
269
|
-
};
|
|
270
|
-
duration: number;
|
|
271
|
-
components: {
|
|
272
|
-
id: string;
|
|
273
|
-
x: number;
|
|
274
|
-
y: number;
|
|
275
|
-
skewX: number;
|
|
276
|
-
skewY: number;
|
|
277
|
-
width: number;
|
|
278
|
-
height: number;
|
|
279
|
-
rotation: number;
|
|
280
|
-
}[];
|
|
281
|
-
orderTree: {
|
|
282
|
-
root: string[];
|
|
283
|
-
elements: {
|
|
284
|
-
[key: string]: {
|
|
285
|
-
type: "conditionGroup";
|
|
286
|
-
} | {
|
|
287
|
-
type: "condition";
|
|
288
|
-
children: string[];
|
|
289
|
-
} | {
|
|
290
|
-
type: "component";
|
|
291
|
-
} | {
|
|
292
|
-
type: "componentGroup";
|
|
293
|
-
children: string[];
|
|
294
|
-
};
|
|
295
|
-
};
|
|
296
|
-
};
|
|
297
|
-
} & {
|
|
298
|
-
url?: ({
|
|
299
|
-
type: "static";
|
|
300
|
-
value: string;
|
|
301
|
-
} | {
|
|
302
|
-
type: "dependency";
|
|
303
|
-
value: string;
|
|
304
|
-
})[];
|
|
305
|
-
})[];
|
|
306
|
-
conditionGroups: {
|
|
307
|
-
[key: string]: {
|
|
308
|
-
name?: string;
|
|
309
|
-
} & {
|
|
310
|
-
conditions: ({
|
|
311
|
-
id: string;
|
|
312
|
-
type: "and" | "or";
|
|
313
|
-
rules: {
|
|
314
|
-
field: {
|
|
315
|
-
type: "static";
|
|
316
|
-
value: string | number | (false) | (true);
|
|
317
|
-
} | {
|
|
318
|
-
type: "dependency";
|
|
319
|
-
value: string;
|
|
320
|
-
};
|
|
321
|
-
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne" | "$contains" | "$notcontains" | "$empty" | "$nempty";
|
|
322
|
-
value: {
|
|
323
|
-
type: "static";
|
|
324
|
-
value: string | number | (false) | (true);
|
|
325
|
-
} | {
|
|
326
|
-
type: "dependency";
|
|
327
|
-
value: string;
|
|
328
|
-
};
|
|
329
|
-
}[];
|
|
330
|
-
} | {
|
|
331
|
-
id: string;
|
|
332
|
-
type: "and" | "or";
|
|
333
|
-
rules: {
|
|
334
|
-
field: {
|
|
335
|
-
type: "static";
|
|
336
|
-
value: string | number | (false) | (true);
|
|
337
|
-
} | {
|
|
338
|
-
type: "dependency";
|
|
339
|
-
value: string;
|
|
340
|
-
};
|
|
341
|
-
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne" | "$contains" | "$notcontains" | "$empty" | "$nempty";
|
|
342
|
-
value: {
|
|
343
|
-
type: "static";
|
|
344
|
-
value: string | number | (false) | (true);
|
|
345
|
-
} | {
|
|
346
|
-
type: "dependency";
|
|
347
|
-
value: string;
|
|
348
|
-
};
|
|
349
|
-
}[];
|
|
350
|
-
} | {
|
|
351
|
-
id: string;
|
|
352
|
-
isElse: true;
|
|
353
|
-
})[];
|
|
354
|
-
};
|
|
355
|
-
};
|
|
356
|
-
componentGroups: {
|
|
357
|
-
[key: string]: {
|
|
358
|
-
name?: string;
|
|
359
|
-
} & {
|
|
360
|
-
rendered: boolean;
|
|
361
|
-
};
|
|
362
|
-
};
|
|
238
|
+
template?: BaseTemplate;
|
|
363
239
|
};
|
|
364
240
|
export {};
|
package/build/definitions.js
CHANGED
|
@@ -16,4 +16,4 @@ var ContentStatus;
|
|
|
16
16
|
ContentStatus["PUBLISHED"] = "published";
|
|
17
17
|
ContentStatus["ERROR"] = "error";
|
|
18
18
|
})(ContentStatus = exports.ContentStatus || (exports.ContentStatus = {}));
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBb0VwQixJQUFZLG1CQUlYO0FBSkQsV0FBWSxtQkFBbUI7SUFDM0Isc0NBQWUsQ0FBQTtJQUNmLG9DQUFhLENBQUE7SUFDYiw0Q0FBcUIsQ0FBQTtBQUN6QixDQUFDLEVBSlcsbUJBQW1CLEdBQW5CLDJCQUFtQixLQUFuQiwyQkFBbUIsUUFJOUI7QUEySUQsSUFBWSxhQUtYO0FBTEQsV0FBWSxhQUFhO0lBQ3JCLGdDQUFlLENBQUE7SUFDZiwwQ0FBeUIsQ0FBQTtJQUN6Qix3Q0FBdUIsQ0FBQTtJQUN2QixnQ0FBZSxDQUFBO0FBQ25CLENBQUMsRUFMVyxhQUFhLEdBQWIscUJBQWEsS0FBYixxQkFBYSxRQUt4QiJ9
|
package/package.json
CHANGED