@rlvt/contents-openapi-client 0.0.0-b6312d7 → 0.0.0-cec7ff0
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 +108 -126
- package/build/definitions.d.ts +19 -21
- package/build/definitions.js +1 -1
- package/package.json +1 -1
package/build/api.d.ts
CHANGED
|
@@ -94,27 +94,33 @@ export default class {
|
|
|
94
94
|
height: number;
|
|
95
95
|
x: number;
|
|
96
96
|
y: number;
|
|
97
|
-
z: number;
|
|
98
97
|
rotation: number;
|
|
99
98
|
}[];
|
|
100
99
|
width: number;
|
|
101
100
|
height: number;
|
|
101
|
+
orderTree: {
|
|
102
|
+
root: string[];
|
|
103
|
+
elements: {
|
|
104
|
+
[x: string]: {
|
|
105
|
+
type: "conditionGroup";
|
|
106
|
+
} | {
|
|
107
|
+
type: "condition";
|
|
108
|
+
children: string[];
|
|
109
|
+
} | {
|
|
110
|
+
type: "component";
|
|
111
|
+
} | {
|
|
112
|
+
type: "componentGroup";
|
|
113
|
+
children: string[];
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
};
|
|
102
117
|
};
|
|
103
118
|
};
|
|
104
119
|
conditionGroups: {
|
|
105
120
|
[x: string]: {
|
|
106
121
|
name?: string;
|
|
107
|
-
parent?: {
|
|
108
|
-
id: string;
|
|
109
|
-
type: "conditionGroup";
|
|
110
|
-
conditionId: string;
|
|
111
|
-
} | {
|
|
112
|
-
id: string;
|
|
113
|
-
type: "componentGroup";
|
|
114
|
-
};
|
|
115
122
|
conditions: ({
|
|
116
123
|
id: string;
|
|
117
|
-
components: string[];
|
|
118
124
|
type: "and" | "or";
|
|
119
125
|
rules: {
|
|
120
126
|
field: {
|
|
@@ -134,24 +140,15 @@ export default class {
|
|
|
134
140
|
};
|
|
135
141
|
}[];
|
|
136
142
|
} | {
|
|
137
|
-
id:
|
|
138
|
-
|
|
143
|
+
id: string;
|
|
144
|
+
isElse: true;
|
|
139
145
|
})[];
|
|
140
146
|
};
|
|
141
147
|
};
|
|
142
148
|
componentGroups: {
|
|
143
149
|
[x: string]: {
|
|
144
150
|
name?: string;
|
|
145
|
-
components: string[];
|
|
146
151
|
rendered: boolean;
|
|
147
|
-
parent?: {
|
|
148
|
-
id: string;
|
|
149
|
-
type: "conditionGroup";
|
|
150
|
-
conditionId: string;
|
|
151
|
-
} | {
|
|
152
|
-
id: string;
|
|
153
|
-
type: "componentGroup";
|
|
154
|
-
};
|
|
155
152
|
};
|
|
156
153
|
};
|
|
157
154
|
};
|
|
@@ -233,27 +230,33 @@ export default class {
|
|
|
233
230
|
height: number;
|
|
234
231
|
x: number;
|
|
235
232
|
y: number;
|
|
236
|
-
z: number;
|
|
237
233
|
rotation: number;
|
|
238
234
|
}[];
|
|
239
235
|
width: number;
|
|
240
236
|
height: number;
|
|
237
|
+
orderTree: {
|
|
238
|
+
root: string[];
|
|
239
|
+
elements: {
|
|
240
|
+
[x: string]: {
|
|
241
|
+
type: "conditionGroup";
|
|
242
|
+
} | {
|
|
243
|
+
type: "condition";
|
|
244
|
+
children: string[];
|
|
245
|
+
} | {
|
|
246
|
+
type: "component";
|
|
247
|
+
} | {
|
|
248
|
+
type: "componentGroup";
|
|
249
|
+
children: string[];
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
};
|
|
241
253
|
};
|
|
242
254
|
};
|
|
243
255
|
conditionGroups: {
|
|
244
256
|
[x: string]: {
|
|
245
257
|
name?: string;
|
|
246
|
-
parent?: {
|
|
247
|
-
id: string;
|
|
248
|
-
type: "conditionGroup";
|
|
249
|
-
conditionId: string;
|
|
250
|
-
} | {
|
|
251
|
-
id: string;
|
|
252
|
-
type: "componentGroup";
|
|
253
|
-
};
|
|
254
258
|
conditions: ({
|
|
255
259
|
id: string;
|
|
256
|
-
components: string[];
|
|
257
260
|
type: "and" | "or";
|
|
258
261
|
rules: {
|
|
259
262
|
field: {
|
|
@@ -273,24 +276,15 @@ export default class {
|
|
|
273
276
|
};
|
|
274
277
|
}[];
|
|
275
278
|
} | {
|
|
276
|
-
id:
|
|
277
|
-
|
|
279
|
+
id: string;
|
|
280
|
+
isElse: true;
|
|
278
281
|
})[];
|
|
279
282
|
};
|
|
280
283
|
};
|
|
281
284
|
componentGroups: {
|
|
282
285
|
[x: string]: {
|
|
283
286
|
name?: string;
|
|
284
|
-
components: string[];
|
|
285
287
|
rendered: boolean;
|
|
286
|
-
parent?: {
|
|
287
|
-
id: string;
|
|
288
|
-
type: "conditionGroup";
|
|
289
|
-
conditionId: string;
|
|
290
|
-
} | {
|
|
291
|
-
id: string;
|
|
292
|
-
type: "componentGroup";
|
|
293
|
-
};
|
|
294
288
|
};
|
|
295
289
|
};
|
|
296
290
|
};
|
|
@@ -370,27 +364,33 @@ export default class {
|
|
|
370
364
|
height: number;
|
|
371
365
|
x: number;
|
|
372
366
|
y: number;
|
|
373
|
-
z: number;
|
|
374
367
|
rotation: number;
|
|
375
368
|
}[];
|
|
376
369
|
width: number;
|
|
377
370
|
height: number;
|
|
371
|
+
orderTree: {
|
|
372
|
+
root: string[];
|
|
373
|
+
elements: {
|
|
374
|
+
[x: string]: {
|
|
375
|
+
type: "conditionGroup";
|
|
376
|
+
} | {
|
|
377
|
+
type: "condition";
|
|
378
|
+
children: string[];
|
|
379
|
+
} | {
|
|
380
|
+
type: "component";
|
|
381
|
+
} | {
|
|
382
|
+
type: "componentGroup";
|
|
383
|
+
children: string[];
|
|
384
|
+
};
|
|
385
|
+
};
|
|
386
|
+
};
|
|
378
387
|
};
|
|
379
388
|
};
|
|
380
389
|
conditionGroups: {
|
|
381
390
|
[x: string]: {
|
|
382
391
|
name?: string;
|
|
383
|
-
parent?: {
|
|
384
|
-
id: string;
|
|
385
|
-
type: "conditionGroup";
|
|
386
|
-
conditionId: string;
|
|
387
|
-
} | {
|
|
388
|
-
id: string;
|
|
389
|
-
type: "componentGroup";
|
|
390
|
-
};
|
|
391
392
|
conditions: ({
|
|
392
393
|
id: string;
|
|
393
|
-
components: string[];
|
|
394
394
|
type: "and" | "or";
|
|
395
395
|
rules: {
|
|
396
396
|
field: {
|
|
@@ -410,24 +410,15 @@ export default class {
|
|
|
410
410
|
};
|
|
411
411
|
}[];
|
|
412
412
|
} | {
|
|
413
|
-
id:
|
|
414
|
-
|
|
413
|
+
id: string;
|
|
414
|
+
isElse: true;
|
|
415
415
|
})[];
|
|
416
416
|
};
|
|
417
417
|
};
|
|
418
418
|
componentGroups: {
|
|
419
419
|
[x: string]: {
|
|
420
420
|
name?: string;
|
|
421
|
-
components: string[];
|
|
422
421
|
rendered: boolean;
|
|
423
|
-
parent?: {
|
|
424
|
-
id: string;
|
|
425
|
-
type: "conditionGroup";
|
|
426
|
-
conditionId: string;
|
|
427
|
-
} | {
|
|
428
|
-
id: string;
|
|
429
|
-
type: "componentGroup";
|
|
430
|
-
};
|
|
431
422
|
};
|
|
432
423
|
};
|
|
433
424
|
};
|
|
@@ -472,27 +463,33 @@ export default class {
|
|
|
472
463
|
height: number;
|
|
473
464
|
x: number;
|
|
474
465
|
y: number;
|
|
475
|
-
z: number;
|
|
476
466
|
rotation: number;
|
|
477
467
|
}[];
|
|
478
468
|
width: number;
|
|
479
469
|
height: number;
|
|
470
|
+
orderTree: {
|
|
471
|
+
root: string[];
|
|
472
|
+
elements: {
|
|
473
|
+
[x: string]: {
|
|
474
|
+
type: "conditionGroup";
|
|
475
|
+
} | {
|
|
476
|
+
type: "condition";
|
|
477
|
+
children: string[];
|
|
478
|
+
} | {
|
|
479
|
+
type: "component";
|
|
480
|
+
} | {
|
|
481
|
+
type: "componentGroup";
|
|
482
|
+
children: string[];
|
|
483
|
+
};
|
|
484
|
+
};
|
|
485
|
+
};
|
|
480
486
|
};
|
|
481
487
|
};
|
|
482
488
|
conditionGroups: {
|
|
483
489
|
[x: string]: {
|
|
484
490
|
name?: string;
|
|
485
|
-
parent?: {
|
|
486
|
-
id: string;
|
|
487
|
-
type: "conditionGroup";
|
|
488
|
-
conditionId: string;
|
|
489
|
-
} | {
|
|
490
|
-
id: string;
|
|
491
|
-
type: "componentGroup";
|
|
492
|
-
};
|
|
493
491
|
conditions: ({
|
|
494
492
|
id: string;
|
|
495
|
-
components: string[];
|
|
496
493
|
type: "and" | "or";
|
|
497
494
|
rules: {
|
|
498
495
|
field: {
|
|
@@ -512,24 +509,15 @@ export default class {
|
|
|
512
509
|
};
|
|
513
510
|
}[];
|
|
514
511
|
} | {
|
|
515
|
-
id:
|
|
516
|
-
|
|
512
|
+
id: string;
|
|
513
|
+
isElse: true;
|
|
517
514
|
})[];
|
|
518
515
|
};
|
|
519
516
|
};
|
|
520
517
|
componentGroups: {
|
|
521
518
|
[x: string]: {
|
|
522
519
|
name?: string;
|
|
523
|
-
components: string[];
|
|
524
520
|
rendered: boolean;
|
|
525
|
-
parent?: {
|
|
526
|
-
id: string;
|
|
527
|
-
type: "conditionGroup";
|
|
528
|
-
conditionId: string;
|
|
529
|
-
} | {
|
|
530
|
-
id: string;
|
|
531
|
-
type: "componentGroup";
|
|
532
|
-
};
|
|
533
521
|
};
|
|
534
522
|
};
|
|
535
523
|
};
|
|
@@ -604,27 +592,33 @@ export default class {
|
|
|
604
592
|
height: number;
|
|
605
593
|
x: number;
|
|
606
594
|
y: number;
|
|
607
|
-
z: number;
|
|
608
595
|
rotation: number;
|
|
609
596
|
}[];
|
|
610
597
|
width: number;
|
|
611
598
|
height: number;
|
|
599
|
+
orderTree: {
|
|
600
|
+
root: string[];
|
|
601
|
+
elements: {
|
|
602
|
+
[x: string]: {
|
|
603
|
+
type: "conditionGroup";
|
|
604
|
+
} | {
|
|
605
|
+
type: "condition";
|
|
606
|
+
children: string[];
|
|
607
|
+
} | {
|
|
608
|
+
type: "component";
|
|
609
|
+
} | {
|
|
610
|
+
type: "componentGroup";
|
|
611
|
+
children: string[];
|
|
612
|
+
};
|
|
613
|
+
};
|
|
614
|
+
};
|
|
612
615
|
};
|
|
613
616
|
};
|
|
614
617
|
conditionGroups: {
|
|
615
618
|
[x: string]: {
|
|
616
619
|
name?: string;
|
|
617
|
-
parent?: {
|
|
618
|
-
id: string;
|
|
619
|
-
type: "conditionGroup";
|
|
620
|
-
conditionId: string;
|
|
621
|
-
} | {
|
|
622
|
-
id: string;
|
|
623
|
-
type: "componentGroup";
|
|
624
|
-
};
|
|
625
620
|
conditions: ({
|
|
626
621
|
id: string;
|
|
627
|
-
components: string[];
|
|
628
622
|
type: "and" | "or";
|
|
629
623
|
rules: {
|
|
630
624
|
field: {
|
|
@@ -644,24 +638,15 @@ export default class {
|
|
|
644
638
|
};
|
|
645
639
|
}[];
|
|
646
640
|
} | {
|
|
647
|
-
id:
|
|
648
|
-
|
|
641
|
+
id: string;
|
|
642
|
+
isElse: true;
|
|
649
643
|
})[];
|
|
650
644
|
};
|
|
651
645
|
};
|
|
652
646
|
componentGroups: {
|
|
653
647
|
[x: string]: {
|
|
654
648
|
name?: string;
|
|
655
|
-
components: string[];
|
|
656
649
|
rendered: boolean;
|
|
657
|
-
parent?: {
|
|
658
|
-
id: string;
|
|
659
|
-
type: "conditionGroup";
|
|
660
|
-
conditionId: string;
|
|
661
|
-
} | {
|
|
662
|
-
id: string;
|
|
663
|
-
type: "componentGroup";
|
|
664
|
-
};
|
|
665
650
|
};
|
|
666
651
|
};
|
|
667
652
|
};
|
|
@@ -752,27 +737,33 @@ export default class {
|
|
|
752
737
|
height: number;
|
|
753
738
|
x: number;
|
|
754
739
|
y: number;
|
|
755
|
-
z: number;
|
|
756
740
|
rotation: number;
|
|
757
741
|
}[];
|
|
758
742
|
width: number;
|
|
759
743
|
height: number;
|
|
744
|
+
orderTree: {
|
|
745
|
+
root: string[];
|
|
746
|
+
elements: {
|
|
747
|
+
[x: string]: {
|
|
748
|
+
type: "conditionGroup";
|
|
749
|
+
} | {
|
|
750
|
+
type: "condition";
|
|
751
|
+
children: string[];
|
|
752
|
+
} | {
|
|
753
|
+
type: "component";
|
|
754
|
+
} | {
|
|
755
|
+
type: "componentGroup";
|
|
756
|
+
children: string[];
|
|
757
|
+
};
|
|
758
|
+
};
|
|
759
|
+
};
|
|
760
760
|
};
|
|
761
761
|
};
|
|
762
762
|
conditionGroups: {
|
|
763
763
|
[x: string]: {
|
|
764
764
|
name?: string;
|
|
765
|
-
parent?: {
|
|
766
|
-
id: string;
|
|
767
|
-
type: "conditionGroup";
|
|
768
|
-
conditionId: string;
|
|
769
|
-
} | {
|
|
770
|
-
id: string;
|
|
771
|
-
type: "componentGroup";
|
|
772
|
-
};
|
|
773
765
|
conditions: ({
|
|
774
766
|
id: string;
|
|
775
|
-
components: string[];
|
|
776
767
|
type: "and" | "or";
|
|
777
768
|
rules: {
|
|
778
769
|
field: {
|
|
@@ -792,24 +783,15 @@ export default class {
|
|
|
792
783
|
};
|
|
793
784
|
}[];
|
|
794
785
|
} | {
|
|
795
|
-
id:
|
|
796
|
-
|
|
786
|
+
id: string;
|
|
787
|
+
isElse: true;
|
|
797
788
|
})[];
|
|
798
789
|
};
|
|
799
790
|
};
|
|
800
791
|
componentGroups: {
|
|
801
792
|
[x: string]: {
|
|
802
793
|
name?: string;
|
|
803
|
-
components: string[];
|
|
804
794
|
rendered: boolean;
|
|
805
|
-
parent?: {
|
|
806
|
-
id: string;
|
|
807
|
-
type: "conditionGroup";
|
|
808
|
-
conditionId: string;
|
|
809
|
-
} | {
|
|
810
|
-
id: string;
|
|
811
|
-
type: "componentGroup";
|
|
812
|
-
};
|
|
813
795
|
};
|
|
814
796
|
};
|
|
815
797
|
};
|
package/build/definitions.d.ts
CHANGED
|
@@ -27,15 +27,31 @@ export declare type PageComponent = {
|
|
|
27
27
|
id: string;
|
|
28
28
|
x: number;
|
|
29
29
|
y: number;
|
|
30
|
-
z: number;
|
|
31
30
|
width: number;
|
|
32
31
|
height: number;
|
|
33
32
|
rotation: number;
|
|
34
33
|
};
|
|
34
|
+
export declare type OrderTree = {
|
|
35
|
+
root: string[];
|
|
36
|
+
elements: {
|
|
37
|
+
[key: string]: {
|
|
38
|
+
type: "conditionGroup";
|
|
39
|
+
} | {
|
|
40
|
+
type: "condition";
|
|
41
|
+
children: string[];
|
|
42
|
+
} | {
|
|
43
|
+
type: "component";
|
|
44
|
+
} | {
|
|
45
|
+
type: "componentGroup";
|
|
46
|
+
children: string[];
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
35
50
|
export declare type Page = {
|
|
36
51
|
width: number;
|
|
37
52
|
height: number;
|
|
38
53
|
components: PageComponent[];
|
|
54
|
+
orderTree: OrderTree;
|
|
39
55
|
};
|
|
40
56
|
export declare type Condition = {
|
|
41
57
|
id: string;
|
|
@@ -57,35 +73,17 @@ export declare type Condition = {
|
|
|
57
73
|
value: string;
|
|
58
74
|
};
|
|
59
75
|
}[];
|
|
60
|
-
components: string[];
|
|
61
76
|
};
|
|
62
77
|
export declare type ElseCondition = {
|
|
63
|
-
id:
|
|
64
|
-
|
|
78
|
+
id: string;
|
|
79
|
+
isElse: true;
|
|
65
80
|
};
|
|
66
81
|
export declare type ConditionGroup = {
|
|
67
|
-
parent?: {
|
|
68
|
-
type: "conditionGroup";
|
|
69
|
-
id: string;
|
|
70
|
-
conditionId: string;
|
|
71
|
-
} | {
|
|
72
|
-
type: "componentGroup";
|
|
73
|
-
id: string;
|
|
74
|
-
};
|
|
75
82
|
name?: string;
|
|
76
83
|
conditions: (Condition | Condition | ElseCondition)[];
|
|
77
84
|
};
|
|
78
85
|
export declare type ComponentGroup = {
|
|
79
86
|
name?: string;
|
|
80
|
-
parent?: {
|
|
81
|
-
type: "conditionGroup";
|
|
82
|
-
id: string;
|
|
83
|
-
conditionId: string;
|
|
84
|
-
} | {
|
|
85
|
-
type: "componentGroup";
|
|
86
|
-
id: string;
|
|
87
|
-
};
|
|
88
|
-
components: string[];
|
|
89
87
|
rendered: boolean;
|
|
90
88
|
};
|
|
91
89
|
export declare type BaseTemplate = {
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBZ0NwQixJQUFZLG1CQUlYO0FBSkQsV0FBWSxtQkFBbUI7SUFDM0Isc0NBQWUsQ0FBQTtJQUNmLG9DQUFhLENBQUE7SUFDYiw0Q0FBcUIsQ0FBQTtBQUN6QixDQUFDLEVBSlcsbUJBQW1CLEdBQW5CLDJCQUFtQixLQUFuQiwyQkFBbUIsUUFJOUI7QUF5R0QsSUFBWSxhQUtYO0FBTEQsV0FBWSxhQUFhO0lBQ3JCLGdDQUFlLENBQUE7SUFDZiwwQ0FBeUIsQ0FBQTtJQUN6Qix3Q0FBdUIsQ0FBQTtJQUN2QixnQ0FBZSxDQUFBO0FBQ25CLENBQUMsRUFMVyxhQUFhLEdBQWIscUJBQWEsS0FBYixxQkFBYSxRQUt4QiJ9
|
package/package.json
CHANGED