@rlvt/contents-openapi-client 0.0.0-f3da55c → 0.0.0-ff83b1f
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 +41 -539
- package/build/api.js +7 -3
- package/build/definitions.d.ts +7 -33
- package/build/definitions.js +1 -1
- package/package.json +1 -1
package/build/api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AxiosInstance, AxiosRequestConfig } from "axios";
|
|
2
2
|
import type { ContentStatus } from "./definitions";
|
|
3
|
-
export { Contents, ContentStatus, Pick_SerializedContent_resourceGroupIds_or_name_or_description_, Partial_SerializedContent_, Partial_SerializedContentVersions_,
|
|
3
|
+
export { Contents, ContentStatus, Pick_SerializedContent_resourceGroupIds_or_name_or_description_, Partial_SerializedContent_, Partial_SerializedContentVersions_, Readable, WithoutReadonly, WithoutWriteonly } from "./definitions";
|
|
4
4
|
export default class {
|
|
5
5
|
axios: AxiosInstance;
|
|
6
6
|
constructor(configOrInstance: AxiosRequestConfig | AxiosInstance);
|
|
@@ -64,96 +64,13 @@ export default class {
|
|
|
64
64
|
readonly?: "__readonly";
|
|
65
65
|
});
|
|
66
66
|
previewUrl?: string;
|
|
67
|
-
metadata?: {
|
|
68
|
-
[x: string]: any;
|
|
69
|
-
};
|
|
67
|
+
metadata?: {};
|
|
70
68
|
template: {
|
|
71
|
-
components: {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
options: {
|
|
77
|
-
[x: string]: any;
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
dependencies: {
|
|
82
|
-
[x: string]: {
|
|
83
|
-
type: string;
|
|
84
|
-
options: {
|
|
85
|
-
[x: string]: any;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
pages: {
|
|
90
|
-
[x: string]: {
|
|
91
|
-
components: {
|
|
92
|
-
id: string;
|
|
93
|
-
width: number;
|
|
94
|
-
height: number;
|
|
95
|
-
x: number;
|
|
96
|
-
y: number;
|
|
97
|
-
z: number;
|
|
98
|
-
rotation: number;
|
|
99
|
-
}[];
|
|
100
|
-
width: number;
|
|
101
|
-
height: number;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
conditionGroups: {
|
|
105
|
-
[x: string]: {
|
|
106
|
-
name?: string;
|
|
107
|
-
parent?: {
|
|
108
|
-
id: string;
|
|
109
|
-
type: "conditionGroup";
|
|
110
|
-
conditionId: string;
|
|
111
|
-
} | {
|
|
112
|
-
id: string;
|
|
113
|
-
type: "componentGroup";
|
|
114
|
-
};
|
|
115
|
-
conditions: ({
|
|
116
|
-
id: string;
|
|
117
|
-
components: string[];
|
|
118
|
-
type: "and" | "or";
|
|
119
|
-
rules: {
|
|
120
|
-
field: {
|
|
121
|
-
type: "static";
|
|
122
|
-
value: string | number;
|
|
123
|
-
} | {
|
|
124
|
-
type: "dependency";
|
|
125
|
-
value: string;
|
|
126
|
-
};
|
|
127
|
-
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
|
|
128
|
-
value: {
|
|
129
|
-
type: "static";
|
|
130
|
-
value: string | number;
|
|
131
|
-
} | {
|
|
132
|
-
type: "dependency";
|
|
133
|
-
value: string;
|
|
134
|
-
};
|
|
135
|
-
}[];
|
|
136
|
-
} | {
|
|
137
|
-
id: "else";
|
|
138
|
-
components: string[];
|
|
139
|
-
})[];
|
|
140
|
-
};
|
|
141
|
-
};
|
|
142
|
-
componentGroups: {
|
|
143
|
-
[x: string]: {
|
|
144
|
-
name?: string;
|
|
145
|
-
components: string[];
|
|
146
|
-
rendered: boolean;
|
|
147
|
-
parent?: {
|
|
148
|
-
id: string;
|
|
149
|
-
type: "conditionGroup";
|
|
150
|
-
conditionId: string;
|
|
151
|
-
} | {
|
|
152
|
-
id: string;
|
|
153
|
-
type: "componentGroup";
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
};
|
|
69
|
+
components: {};
|
|
70
|
+
dependencies: {};
|
|
71
|
+
pages: {};
|
|
72
|
+
conditionGroups: {};
|
|
73
|
+
componentGroups: {};
|
|
157
74
|
};
|
|
158
75
|
}[];
|
|
159
76
|
}[];
|
|
@@ -203,96 +120,13 @@ export default class {
|
|
|
203
120
|
readonly?: "__readonly";
|
|
204
121
|
});
|
|
205
122
|
previewUrl?: string;
|
|
206
|
-
metadata?: {
|
|
207
|
-
[x: string]: any;
|
|
208
|
-
};
|
|
123
|
+
metadata?: {};
|
|
209
124
|
template: {
|
|
210
|
-
components: {
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
options: {
|
|
216
|
-
[x: string]: any;
|
|
217
|
-
};
|
|
218
|
-
};
|
|
219
|
-
};
|
|
220
|
-
dependencies: {
|
|
221
|
-
[x: string]: {
|
|
222
|
-
type: string;
|
|
223
|
-
options: {
|
|
224
|
-
[x: string]: any;
|
|
225
|
-
};
|
|
226
|
-
};
|
|
227
|
-
};
|
|
228
|
-
pages: {
|
|
229
|
-
[x: string]: {
|
|
230
|
-
components: {
|
|
231
|
-
id: string;
|
|
232
|
-
width: number;
|
|
233
|
-
height: number;
|
|
234
|
-
x: number;
|
|
235
|
-
y: number;
|
|
236
|
-
z: number;
|
|
237
|
-
rotation: number;
|
|
238
|
-
}[];
|
|
239
|
-
width: number;
|
|
240
|
-
height: number;
|
|
241
|
-
};
|
|
242
|
-
};
|
|
243
|
-
conditionGroups: {
|
|
244
|
-
[x: string]: {
|
|
245
|
-
name?: string;
|
|
246
|
-
parent?: {
|
|
247
|
-
id: string;
|
|
248
|
-
type: "conditionGroup";
|
|
249
|
-
conditionId: string;
|
|
250
|
-
} | {
|
|
251
|
-
id: string;
|
|
252
|
-
type: "componentGroup";
|
|
253
|
-
};
|
|
254
|
-
conditions: ({
|
|
255
|
-
id: string;
|
|
256
|
-
components: string[];
|
|
257
|
-
type: "and" | "or";
|
|
258
|
-
rules: {
|
|
259
|
-
field: {
|
|
260
|
-
type: "static";
|
|
261
|
-
value: string | number;
|
|
262
|
-
} | {
|
|
263
|
-
type: "dependency";
|
|
264
|
-
value: string;
|
|
265
|
-
};
|
|
266
|
-
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
|
|
267
|
-
value: {
|
|
268
|
-
type: "static";
|
|
269
|
-
value: string | number;
|
|
270
|
-
} | {
|
|
271
|
-
type: "dependency";
|
|
272
|
-
value: string;
|
|
273
|
-
};
|
|
274
|
-
}[];
|
|
275
|
-
} | {
|
|
276
|
-
id: "else";
|
|
277
|
-
components: string[];
|
|
278
|
-
})[];
|
|
279
|
-
};
|
|
280
|
-
};
|
|
281
|
-
componentGroups: {
|
|
282
|
-
[x: string]: {
|
|
283
|
-
name?: string;
|
|
284
|
-
components: string[];
|
|
285
|
-
rendered: boolean;
|
|
286
|
-
parent?: {
|
|
287
|
-
id: string;
|
|
288
|
-
type: "conditionGroup";
|
|
289
|
-
conditionId: string;
|
|
290
|
-
} | {
|
|
291
|
-
id: string;
|
|
292
|
-
type: "componentGroup";
|
|
293
|
-
};
|
|
294
|
-
};
|
|
295
|
-
};
|
|
125
|
+
components: {};
|
|
126
|
+
dependencies: {};
|
|
127
|
+
pages: {};
|
|
128
|
+
conditionGroups: {};
|
|
129
|
+
componentGroups: {};
|
|
296
130
|
};
|
|
297
131
|
}[];
|
|
298
132
|
};
|
|
@@ -340,96 +174,13 @@ export default class {
|
|
|
340
174
|
readonly?: "__readonly";
|
|
341
175
|
});
|
|
342
176
|
previewUrl?: string;
|
|
343
|
-
metadata?: {
|
|
344
|
-
[x: string]: any;
|
|
345
|
-
};
|
|
177
|
+
metadata?: {};
|
|
346
178
|
template: {
|
|
347
|
-
components: {
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
options: {
|
|
353
|
-
[x: string]: any;
|
|
354
|
-
};
|
|
355
|
-
};
|
|
356
|
-
};
|
|
357
|
-
dependencies: {
|
|
358
|
-
[x: string]: {
|
|
359
|
-
type: string;
|
|
360
|
-
options: {
|
|
361
|
-
[x: string]: any;
|
|
362
|
-
};
|
|
363
|
-
};
|
|
364
|
-
};
|
|
365
|
-
pages: {
|
|
366
|
-
[x: string]: {
|
|
367
|
-
components: {
|
|
368
|
-
id: string;
|
|
369
|
-
width: number;
|
|
370
|
-
height: number;
|
|
371
|
-
x: number;
|
|
372
|
-
y: number;
|
|
373
|
-
z: number;
|
|
374
|
-
rotation: number;
|
|
375
|
-
}[];
|
|
376
|
-
width: number;
|
|
377
|
-
height: number;
|
|
378
|
-
};
|
|
379
|
-
};
|
|
380
|
-
conditionGroups: {
|
|
381
|
-
[x: string]: {
|
|
382
|
-
name?: string;
|
|
383
|
-
parent?: {
|
|
384
|
-
id: string;
|
|
385
|
-
type: "conditionGroup";
|
|
386
|
-
conditionId: string;
|
|
387
|
-
} | {
|
|
388
|
-
id: string;
|
|
389
|
-
type: "componentGroup";
|
|
390
|
-
};
|
|
391
|
-
conditions: ({
|
|
392
|
-
id: string;
|
|
393
|
-
components: string[];
|
|
394
|
-
type: "and" | "or";
|
|
395
|
-
rules: {
|
|
396
|
-
field: {
|
|
397
|
-
type: "static";
|
|
398
|
-
value: string | number;
|
|
399
|
-
} | {
|
|
400
|
-
type: "dependency";
|
|
401
|
-
value: string;
|
|
402
|
-
};
|
|
403
|
-
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
|
|
404
|
-
value: {
|
|
405
|
-
type: "static";
|
|
406
|
-
value: string | number;
|
|
407
|
-
} | {
|
|
408
|
-
type: "dependency";
|
|
409
|
-
value: string;
|
|
410
|
-
};
|
|
411
|
-
}[];
|
|
412
|
-
} | {
|
|
413
|
-
id: "else";
|
|
414
|
-
components: string[];
|
|
415
|
-
})[];
|
|
416
|
-
};
|
|
417
|
-
};
|
|
418
|
-
componentGroups: {
|
|
419
|
-
[x: string]: {
|
|
420
|
-
name?: string;
|
|
421
|
-
components: string[];
|
|
422
|
-
rendered: boolean;
|
|
423
|
-
parent?: {
|
|
424
|
-
id: string;
|
|
425
|
-
type: "conditionGroup";
|
|
426
|
-
conditionId: string;
|
|
427
|
-
} | {
|
|
428
|
-
id: string;
|
|
429
|
-
type: "componentGroup";
|
|
430
|
-
};
|
|
431
|
-
};
|
|
432
|
-
};
|
|
179
|
+
components: {};
|
|
180
|
+
dependencies: {};
|
|
181
|
+
pages: {};
|
|
182
|
+
conditionGroups: {};
|
|
183
|
+
componentGroups: {};
|
|
433
184
|
};
|
|
434
185
|
}[];
|
|
435
186
|
};
|
|
@@ -442,96 +193,13 @@ export default class {
|
|
|
442
193
|
resourceGroupIds?: string[];
|
|
443
194
|
} & {
|
|
444
195
|
previewUrl?: string;
|
|
445
|
-
metadata?: {
|
|
446
|
-
[x: string]: any;
|
|
447
|
-
};
|
|
196
|
+
metadata?: {};
|
|
448
197
|
template?: {
|
|
449
|
-
components: {
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
options: {
|
|
455
|
-
[x: string]: any;
|
|
456
|
-
};
|
|
457
|
-
};
|
|
458
|
-
};
|
|
459
|
-
dependencies: {
|
|
460
|
-
[x: string]: {
|
|
461
|
-
type: string;
|
|
462
|
-
options: {
|
|
463
|
-
[x: string]: any;
|
|
464
|
-
};
|
|
465
|
-
};
|
|
466
|
-
};
|
|
467
|
-
pages: {
|
|
468
|
-
[x: string]: {
|
|
469
|
-
components: {
|
|
470
|
-
id: string;
|
|
471
|
-
width: number;
|
|
472
|
-
height: number;
|
|
473
|
-
x: number;
|
|
474
|
-
y: number;
|
|
475
|
-
z: number;
|
|
476
|
-
rotation: number;
|
|
477
|
-
}[];
|
|
478
|
-
width: number;
|
|
479
|
-
height: number;
|
|
480
|
-
};
|
|
481
|
-
};
|
|
482
|
-
conditionGroups: {
|
|
483
|
-
[x: string]: {
|
|
484
|
-
name?: string;
|
|
485
|
-
parent?: {
|
|
486
|
-
id: string;
|
|
487
|
-
type: "conditionGroup";
|
|
488
|
-
conditionId: string;
|
|
489
|
-
} | {
|
|
490
|
-
id: string;
|
|
491
|
-
type: "componentGroup";
|
|
492
|
-
};
|
|
493
|
-
conditions: ({
|
|
494
|
-
id: string;
|
|
495
|
-
components: string[];
|
|
496
|
-
type: "and" | "or";
|
|
497
|
-
rules: {
|
|
498
|
-
field: {
|
|
499
|
-
type: "static";
|
|
500
|
-
value: string | number;
|
|
501
|
-
} | {
|
|
502
|
-
type: "dependency";
|
|
503
|
-
value: string;
|
|
504
|
-
};
|
|
505
|
-
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
|
|
506
|
-
value: {
|
|
507
|
-
type: "static";
|
|
508
|
-
value: string | number;
|
|
509
|
-
} | {
|
|
510
|
-
type: "dependency";
|
|
511
|
-
value: string;
|
|
512
|
-
};
|
|
513
|
-
}[];
|
|
514
|
-
} | {
|
|
515
|
-
id: "else";
|
|
516
|
-
components: string[];
|
|
517
|
-
})[];
|
|
518
|
-
};
|
|
519
|
-
};
|
|
520
|
-
componentGroups: {
|
|
521
|
-
[x: string]: {
|
|
522
|
-
name?: string;
|
|
523
|
-
components: string[];
|
|
524
|
-
rendered: boolean;
|
|
525
|
-
parent?: {
|
|
526
|
-
id: string;
|
|
527
|
-
type: "conditionGroup";
|
|
528
|
-
conditionId: string;
|
|
529
|
-
} | {
|
|
530
|
-
id: string;
|
|
531
|
-
type: "componentGroup";
|
|
532
|
-
};
|
|
533
|
-
};
|
|
534
|
-
};
|
|
198
|
+
components: {};
|
|
199
|
+
dependencies: {};
|
|
200
|
+
pages: {};
|
|
201
|
+
conditionGroups: {};
|
|
202
|
+
componentGroups: {};
|
|
535
203
|
};
|
|
536
204
|
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
537
205
|
status: "success";
|
|
@@ -574,96 +242,13 @@ export default class {
|
|
|
574
242
|
readonly?: "__readonly";
|
|
575
243
|
});
|
|
576
244
|
previewUrl?: string;
|
|
577
|
-
metadata?: {
|
|
578
|
-
[x: string]: any;
|
|
579
|
-
};
|
|
245
|
+
metadata?: {};
|
|
580
246
|
template: {
|
|
581
|
-
components: {
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
options: {
|
|
587
|
-
[x: string]: any;
|
|
588
|
-
};
|
|
589
|
-
};
|
|
590
|
-
};
|
|
591
|
-
dependencies: {
|
|
592
|
-
[x: string]: {
|
|
593
|
-
type: string;
|
|
594
|
-
options: {
|
|
595
|
-
[x: string]: any;
|
|
596
|
-
};
|
|
597
|
-
};
|
|
598
|
-
};
|
|
599
|
-
pages: {
|
|
600
|
-
[x: string]: {
|
|
601
|
-
components: {
|
|
602
|
-
id: string;
|
|
603
|
-
width: number;
|
|
604
|
-
height: number;
|
|
605
|
-
x: number;
|
|
606
|
-
y: number;
|
|
607
|
-
z: number;
|
|
608
|
-
rotation: number;
|
|
609
|
-
}[];
|
|
610
|
-
width: number;
|
|
611
|
-
height: number;
|
|
612
|
-
};
|
|
613
|
-
};
|
|
614
|
-
conditionGroups: {
|
|
615
|
-
[x: string]: {
|
|
616
|
-
name?: string;
|
|
617
|
-
parent?: {
|
|
618
|
-
id: string;
|
|
619
|
-
type: "conditionGroup";
|
|
620
|
-
conditionId: string;
|
|
621
|
-
} | {
|
|
622
|
-
id: string;
|
|
623
|
-
type: "componentGroup";
|
|
624
|
-
};
|
|
625
|
-
conditions: ({
|
|
626
|
-
id: string;
|
|
627
|
-
components: string[];
|
|
628
|
-
type: "and" | "or";
|
|
629
|
-
rules: {
|
|
630
|
-
field: {
|
|
631
|
-
type: "static";
|
|
632
|
-
value: string | number;
|
|
633
|
-
} | {
|
|
634
|
-
type: "dependency";
|
|
635
|
-
value: string;
|
|
636
|
-
};
|
|
637
|
-
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
|
|
638
|
-
value: {
|
|
639
|
-
type: "static";
|
|
640
|
-
value: string | number;
|
|
641
|
-
} | {
|
|
642
|
-
type: "dependency";
|
|
643
|
-
value: string;
|
|
644
|
-
};
|
|
645
|
-
}[];
|
|
646
|
-
} | {
|
|
647
|
-
id: "else";
|
|
648
|
-
components: string[];
|
|
649
|
-
})[];
|
|
650
|
-
};
|
|
651
|
-
};
|
|
652
|
-
componentGroups: {
|
|
653
|
-
[x: string]: {
|
|
654
|
-
name?: string;
|
|
655
|
-
components: string[];
|
|
656
|
-
rendered: boolean;
|
|
657
|
-
parent?: {
|
|
658
|
-
id: string;
|
|
659
|
-
type: "conditionGroup";
|
|
660
|
-
conditionId: string;
|
|
661
|
-
} | {
|
|
662
|
-
id: string;
|
|
663
|
-
type: "componentGroup";
|
|
664
|
-
};
|
|
665
|
-
};
|
|
666
|
-
};
|
|
247
|
+
components: {};
|
|
248
|
+
dependencies: {};
|
|
249
|
+
pages: {};
|
|
250
|
+
conditionGroups: {};
|
|
251
|
+
componentGroups: {};
|
|
667
252
|
};
|
|
668
253
|
}[];
|
|
669
254
|
};
|
|
@@ -722,107 +307,24 @@ export default class {
|
|
|
722
307
|
readonly?: "__readonly";
|
|
723
308
|
});
|
|
724
309
|
previewUrl?: string;
|
|
725
|
-
metadata?: {
|
|
726
|
-
[x: string]: any;
|
|
727
|
-
};
|
|
310
|
+
metadata?: {};
|
|
728
311
|
template: {
|
|
729
|
-
components: {
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
options: {
|
|
735
|
-
[x: string]: any;
|
|
736
|
-
};
|
|
737
|
-
};
|
|
738
|
-
};
|
|
739
|
-
dependencies: {
|
|
740
|
-
[x: string]: {
|
|
741
|
-
type: string;
|
|
742
|
-
options: {
|
|
743
|
-
[x: string]: any;
|
|
744
|
-
};
|
|
745
|
-
};
|
|
746
|
-
};
|
|
747
|
-
pages: {
|
|
748
|
-
[x: string]: {
|
|
749
|
-
components: {
|
|
750
|
-
id: string;
|
|
751
|
-
width: number;
|
|
752
|
-
height: number;
|
|
753
|
-
x: number;
|
|
754
|
-
y: number;
|
|
755
|
-
z: number;
|
|
756
|
-
rotation: number;
|
|
757
|
-
}[];
|
|
758
|
-
width: number;
|
|
759
|
-
height: number;
|
|
760
|
-
};
|
|
761
|
-
};
|
|
762
|
-
conditionGroups: {
|
|
763
|
-
[x: string]: {
|
|
764
|
-
name?: string;
|
|
765
|
-
parent?: {
|
|
766
|
-
id: string;
|
|
767
|
-
type: "conditionGroup";
|
|
768
|
-
conditionId: string;
|
|
769
|
-
} | {
|
|
770
|
-
id: string;
|
|
771
|
-
type: "componentGroup";
|
|
772
|
-
};
|
|
773
|
-
conditions: ({
|
|
774
|
-
id: string;
|
|
775
|
-
components: string[];
|
|
776
|
-
type: "and" | "or";
|
|
777
|
-
rules: {
|
|
778
|
-
field: {
|
|
779
|
-
type: "static";
|
|
780
|
-
value: string | number;
|
|
781
|
-
} | {
|
|
782
|
-
type: "dependency";
|
|
783
|
-
value: string;
|
|
784
|
-
};
|
|
785
|
-
operator: "$gte" | "$gt" | "$lt" | "$lte" | "$eq" | "$ne";
|
|
786
|
-
value: {
|
|
787
|
-
type: "static";
|
|
788
|
-
value: string | number;
|
|
789
|
-
} | {
|
|
790
|
-
type: "dependency";
|
|
791
|
-
value: string;
|
|
792
|
-
};
|
|
793
|
-
}[];
|
|
794
|
-
} | {
|
|
795
|
-
id: "else";
|
|
796
|
-
components: string[];
|
|
797
|
-
})[];
|
|
798
|
-
};
|
|
799
|
-
};
|
|
800
|
-
componentGroups: {
|
|
801
|
-
[x: string]: {
|
|
802
|
-
name?: string;
|
|
803
|
-
components: string[];
|
|
804
|
-
rendered: boolean;
|
|
805
|
-
parent?: {
|
|
806
|
-
id: string;
|
|
807
|
-
type: "conditionGroup";
|
|
808
|
-
conditionId: string;
|
|
809
|
-
} | {
|
|
810
|
-
id: string;
|
|
811
|
-
type: "componentGroup";
|
|
812
|
-
};
|
|
813
|
-
};
|
|
814
|
-
};
|
|
312
|
+
components: {};
|
|
313
|
+
dependencies: {};
|
|
314
|
+
pages: {};
|
|
315
|
+
conditionGroups: {};
|
|
316
|
+
componentGroups: {};
|
|
815
317
|
};
|
|
816
318
|
}[];
|
|
817
319
|
};
|
|
818
320
|
}>>;
|
|
819
|
-
|
|
321
|
+
};
|
|
322
|
+
get Render(): {
|
|
323
|
+
Content: (params: {
|
|
820
324
|
id: string;
|
|
821
325
|
'x-rlvt-no-cache'?: boolean;
|
|
822
326
|
}, data: {
|
|
823
|
-
dependenciesData: {
|
|
824
|
-
[key: string]: any;
|
|
825
|
-
};
|
|
327
|
+
dependenciesData: {};
|
|
826
328
|
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
827
329
|
readable: boolean;
|
|
828
330
|
readonly readableEncoding: ("ascii" & {
|
package/build/api.js
CHANGED
|
@@ -47,8 +47,12 @@ class default_1 {
|
|
|
47
47
|
get: this.getContent.bind(this),
|
|
48
48
|
update: this.updateContent.bind(this),
|
|
49
49
|
delete: this.deleteContent.bind(this),
|
|
50
|
-
publish: this.publishContent.bind(this)
|
|
51
|
-
|
|
50
|
+
publish: this.publishContent.bind(this)
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
get Render() {
|
|
54
|
+
return {
|
|
55
|
+
Content: this.renderContent.bind(this)
|
|
52
56
|
};
|
|
53
57
|
}
|
|
54
58
|
}
|
|
@@ -61,4 +65,4 @@ function pick(obj, ...keys) {
|
|
|
61
65
|
});
|
|
62
66
|
return ret;
|
|
63
67
|
}
|
|
64
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
68
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9COzs7Ozs7QUFFcEIsa0RBQWlFO0FBR2pFLDZDQUFzTztBQUFuTiw0R0FBQSxhQUFhLE9BQU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BQyJ9
|
package/build/definitions.d.ts
CHANGED
|
@@ -89,40 +89,16 @@ export declare type ComponentGroup = {
|
|
|
89
89
|
rendered: boolean;
|
|
90
90
|
};
|
|
91
91
|
export declare type BaseTemplate = {
|
|
92
|
-
components: {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
options: {
|
|
98
|
-
[key: string]: AnyValue;
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
dependencies: {
|
|
103
|
-
[key: string]: {
|
|
104
|
-
type: string;
|
|
105
|
-
options: {
|
|
106
|
-
[key: string]: AnyValue;
|
|
107
|
-
};
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
pages: {
|
|
111
|
-
[key: string]: Page;
|
|
112
|
-
};
|
|
113
|
-
conditionGroups: {
|
|
114
|
-
[key: string]: ConditionGroup;
|
|
115
|
-
};
|
|
116
|
-
componentGroups: {
|
|
117
|
-
[key: string]: ComponentGroup;
|
|
118
|
-
};
|
|
92
|
+
components: {};
|
|
93
|
+
dependencies: {};
|
|
94
|
+
pages: {};
|
|
95
|
+
conditionGroups: {};
|
|
96
|
+
componentGroups: {};
|
|
119
97
|
};
|
|
120
98
|
export declare type SerializedContentVersions = {
|
|
121
99
|
readonly state: (ContentVersionState) & readonlyP;
|
|
122
100
|
previewUrl?: string;
|
|
123
|
-
metadata?: {
|
|
124
|
-
[key: string]: AnyValue;
|
|
125
|
-
};
|
|
101
|
+
metadata?: {};
|
|
126
102
|
template: BaseTemplate;
|
|
127
103
|
};
|
|
128
104
|
export declare type ContentVersions = SerializedContentVersions;
|
|
@@ -163,9 +139,7 @@ export declare type Partial_SerializedContent_ = {
|
|
|
163
139
|
export declare type Partial_SerializedContentVersions_ = {
|
|
164
140
|
readonly state?: (ContentVersionState) & readonlyP;
|
|
165
141
|
previewUrl?: string;
|
|
166
|
-
metadata?: {
|
|
167
|
-
[key: string]: AnyValue;
|
|
168
|
-
};
|
|
142
|
+
metadata?: {};
|
|
169
143
|
template?: BaseTemplate;
|
|
170
144
|
};
|
|
171
145
|
export declare type Readable = {
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBZ0NwQixJQUFZLG1CQUlYO0FBSkQsV0FBWSxtQkFBbUI7SUFDM0Isc0NBQWUsQ0FBQTtJQUNmLG9DQUFhLENBQUE7SUFDYiw0Q0FBcUIsQ0FBQTtBQUN6QixDQUFDLEVBSlcsbUJBQW1CLEdBQW5CLDJCQUFtQixLQUFuQiwyQkFBbUIsUUFJOUI7QUFtRkQsSUFBWSxhQUtYO0FBTEQsV0FBWSxhQUFhO0lBQ3JCLGdDQUFlLENBQUE7SUFDZiwwQ0FBeUIsQ0FBQTtJQUN6Qix3Q0FBdUIsQ0FBQTtJQUN2QixnQ0FBZSxDQUFBO0FBQ25CLENBQUMsRUFMVyxhQUFhLEdBQWIscUJBQWEsS0FBYixxQkFBYSxRQUt4QiJ9
|
package/package.json
CHANGED