@nocobase/plugin-data-source-main 2.1.0-beta.8 → 2.2.0-alpha.1

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.
@@ -11,22 +11,92 @@ declare const _default: {
11
11
  info: {
12
12
  title: string;
13
13
  };
14
- tags: ({
15
- name: string;
16
- description?: undefined;
17
- } | {
14
+ tags: {
18
15
  name: string;
19
16
  description: string;
20
- })[];
17
+ }[];
21
18
  paths: {
22
19
  '/collections:list': {
23
20
  get: {
24
21
  tags: string[];
22
+ summary: string;
23
+ description: string;
24
+ parameters: {
25
+ $ref: string;
26
+ }[];
27
+ responses: {
28
+ '200': {
29
+ description: string;
30
+ content: {
31
+ 'application/json': {
32
+ schema: {
33
+ type: string;
34
+ properties: {
35
+ data: {
36
+ type: string;
37
+ items: {
38
+ $ref: string;
39
+ };
40
+ };
41
+ meta: {
42
+ $ref: string;
43
+ };
44
+ };
45
+ };
46
+ };
47
+ };
48
+ };
49
+ };
50
+ };
51
+ };
52
+ '/collections:listMeta': {
53
+ get: {
54
+ tags: string[];
55
+ summary: string;
25
56
  description: string;
26
- parameters: any[];
27
57
  responses: {
28
58
  '200': {
29
59
  description: string;
60
+ content: {
61
+ 'application/json': {
62
+ schema: {
63
+ type: string;
64
+ properties: {
65
+ data: {
66
+ type: string;
67
+ items: {
68
+ allOf: ({
69
+ $ref: string;
70
+ type?: undefined;
71
+ properties?: undefined;
72
+ } | {
73
+ type: string;
74
+ properties: {
75
+ filterTargetKey: {
76
+ type: string;
77
+ description: string;
78
+ };
79
+ unavailableActions: {
80
+ type: string;
81
+ items: {
82
+ type: string;
83
+ };
84
+ };
85
+ fields: {
86
+ type: string;
87
+ items: {
88
+ $ref: string;
89
+ };
90
+ };
91
+ };
92
+ $ref?: undefined;
93
+ })[];
94
+ };
95
+ };
96
+ };
97
+ };
98
+ };
99
+ };
30
100
  };
31
101
  };
32
102
  };
@@ -34,11 +104,26 @@ declare const _default: {
34
104
  '/collections:get': {
35
105
  get: {
36
106
  tags: string[];
107
+ summary: string;
37
108
  description: string;
38
- parameters: any[];
109
+ parameters: {
110
+ $ref: string;
111
+ }[];
39
112
  responses: {
40
113
  '200': {
41
114
  description: string;
115
+ content: {
116
+ 'application/json': {
117
+ schema: {
118
+ type: string;
119
+ properties: {
120
+ data: {
121
+ $ref: string;
122
+ };
123
+ };
124
+ };
125
+ };
126
+ };
42
127
  };
43
128
  };
44
129
  };
@@ -46,11 +131,32 @@ declare const _default: {
46
131
  '/collections:create': {
47
132
  post: {
48
133
  tags: string[];
134
+ summary: string;
49
135
  description: string;
50
- parameters: any[];
136
+ requestBody: {
137
+ content: {
138
+ 'application/json': {
139
+ schema: {
140
+ $ref: string;
141
+ };
142
+ };
143
+ };
144
+ };
51
145
  responses: {
52
146
  '200': {
53
147
  description: string;
148
+ content: {
149
+ 'application/json': {
150
+ schema: {
151
+ type: string;
152
+ properties: {
153
+ data: {
154
+ $ref: string;
155
+ };
156
+ };
157
+ };
158
+ };
159
+ };
54
160
  };
55
161
  };
56
162
  };
@@ -58,8 +164,20 @@ declare const _default: {
58
164
  '/collections:update': {
59
165
  post: {
60
166
  tags: string[];
167
+ summary: string;
61
168
  description: string;
62
- parameters: any[];
169
+ parameters: {
170
+ $ref: string;
171
+ }[];
172
+ requestBody: {
173
+ content: {
174
+ 'application/json': {
175
+ schema: {
176
+ $ref: string;
177
+ };
178
+ };
179
+ };
180
+ };
63
181
  responses: {
64
182
  '200': {
65
183
  description: string;
@@ -70,8 +188,23 @@ declare const _default: {
70
188
  '/collections:destroy': {
71
189
  post: {
72
190
  tags: string[];
191
+ summary: string;
73
192
  description: string;
74
- parameters: any[];
193
+ parameters: ({
194
+ $ref: string;
195
+ name?: undefined;
196
+ in?: undefined;
197
+ description?: undefined;
198
+ schema?: undefined;
199
+ } | {
200
+ name: string;
201
+ in: string;
202
+ description: string;
203
+ schema: {
204
+ type: string;
205
+ };
206
+ $ref?: undefined;
207
+ })[];
75
208
  responses: {
76
209
  '200': {
77
210
  description: string;
@@ -82,8 +215,17 @@ declare const _default: {
82
215
  '/collections:move': {
83
216
  post: {
84
217
  tags: string[];
218
+ summary: string;
85
219
  description: string;
86
- parameters: any[];
220
+ requestBody: {
221
+ content: {
222
+ 'application/json': {
223
+ schema: {
224
+ $ref: string;
225
+ };
226
+ };
227
+ };
228
+ };
87
229
  responses: {
88
230
  '200': {
89
231
  description: string;
@@ -94,11 +236,75 @@ declare const _default: {
94
236
  '/collections:setFields': {
95
237
  post: {
96
238
  tags: string[];
239
+ summary: string;
240
+ description: string;
241
+ parameters: {
242
+ $ref: string;
243
+ }[];
244
+ requestBody: {
245
+ content: {
246
+ 'application/json': {
247
+ schema: {
248
+ type: string;
249
+ required: string[];
250
+ properties: {
251
+ values: {
252
+ type: string;
253
+ required: string[];
254
+ properties: {
255
+ fields: {
256
+ type: string;
257
+ items: {
258
+ $ref: string;
259
+ };
260
+ };
261
+ };
262
+ };
263
+ };
264
+ };
265
+ };
266
+ };
267
+ };
268
+ responses: {
269
+ '200': {
270
+ description: string;
271
+ };
272
+ };
273
+ };
274
+ };
275
+ '/collections:apply': {
276
+ post: {
277
+ tags: string[];
278
+ summary: string;
97
279
  description: string;
98
- parameters: any[];
280
+ requestBody: {
281
+ content: {
282
+ 'application/json': {
283
+ schema: {
284
+ $ref: string;
285
+ };
286
+ };
287
+ };
288
+ };
99
289
  responses: {
100
290
  '200': {
101
291
  description: string;
292
+ content: {
293
+ 'application/json': {
294
+ schema: {
295
+ type: string;
296
+ properties: {
297
+ data: {
298
+ $ref: string;
299
+ };
300
+ verify: {
301
+ type: string;
302
+ additionalProperties: boolean;
303
+ };
304
+ };
305
+ };
306
+ };
307
+ };
102
308
  };
103
309
  };
104
310
  };
@@ -106,11 +312,26 @@ declare const _default: {
106
312
  '/collections/{collectionName}/fields:get': {
107
313
  get: {
108
314
  tags: string[];
315
+ summary: string;
109
316
  description: string;
110
- parameters: any[];
317
+ parameters: {
318
+ $ref: string;
319
+ }[];
111
320
  responses: {
112
321
  '200': {
113
322
  description: string;
323
+ content: {
324
+ 'application/json': {
325
+ schema: {
326
+ type: string;
327
+ properties: {
328
+ data: {
329
+ $ref: string;
330
+ };
331
+ };
332
+ };
333
+ };
334
+ };
114
335
  };
115
336
  };
116
337
  };
@@ -118,11 +339,32 @@ declare const _default: {
118
339
  '/collections/{collectionName}/fields:list': {
119
340
  get: {
120
341
  tags: string[];
342
+ summary: string;
121
343
  description: string;
122
- parameters: any[];
344
+ parameters: {
345
+ $ref: string;
346
+ }[];
123
347
  responses: {
124
348
  '200': {
125
349
  description: string;
350
+ content: {
351
+ 'application/json': {
352
+ schema: {
353
+ type: string;
354
+ properties: {
355
+ data: {
356
+ type: string;
357
+ items: {
358
+ $ref: string;
359
+ };
360
+ };
361
+ meta: {
362
+ $ref: string;
363
+ };
364
+ };
365
+ };
366
+ };
367
+ };
126
368
  };
127
369
  };
128
370
  };
@@ -130,11 +372,35 @@ declare const _default: {
130
372
  '/collections/{collectionName}/fields:create': {
131
373
  post: {
132
374
  tags: string[];
375
+ summary: string;
133
376
  description: string;
134
- parameters: any[];
377
+ parameters: {
378
+ $ref: string;
379
+ }[];
380
+ requestBody: {
381
+ content: {
382
+ 'application/json': {
383
+ schema: {
384
+ $ref: string;
385
+ };
386
+ };
387
+ };
388
+ };
135
389
  responses: {
136
390
  '200': {
137
391
  description: string;
392
+ content: {
393
+ 'application/json': {
394
+ schema: {
395
+ type: string;
396
+ properties: {
397
+ data: {
398
+ $ref: string;
399
+ };
400
+ };
401
+ };
402
+ };
403
+ };
138
404
  };
139
405
  };
140
406
  };
@@ -142,11 +408,38 @@ declare const _default: {
142
408
  '/collections/{collectionName}/fields:update': {
143
409
  post: {
144
410
  tags: string[];
411
+ summary: string;
145
412
  description: string;
146
- parameters: any[];
413
+ parameters: {
414
+ $ref: string;
415
+ }[];
416
+ requestBody: {
417
+ content: {
418
+ 'application/json': {
419
+ schema: {
420
+ $ref: string;
421
+ };
422
+ };
423
+ };
424
+ };
147
425
  responses: {
148
426
  '200': {
149
427
  description: string;
428
+ content: {
429
+ 'application/json': {
430
+ schema: {
431
+ type: string;
432
+ properties: {
433
+ data: {
434
+ type: string;
435
+ items: {
436
+ $ref: string;
437
+ };
438
+ };
439
+ };
440
+ };
441
+ };
442
+ };
150
443
  };
151
444
  };
152
445
  };
@@ -154,8 +447,11 @@ declare const _default: {
154
447
  '/collections/{collectionName}/fields:destroy': {
155
448
  post: {
156
449
  tags: string[];
450
+ summary: string;
157
451
  description: string;
158
- parameters: any[];
452
+ parameters: {
453
+ $ref: string;
454
+ }[];
159
455
  responses: {
160
456
  '200': {
161
457
  description: string;
@@ -166,8 +462,20 @@ declare const _default: {
166
462
  '/collections/{collectionName}/fields:move': {
167
463
  post: {
168
464
  tags: string[];
465
+ summary: string;
169
466
  description: string;
170
- parameters: any[];
467
+ parameters: {
468
+ $ref: string;
469
+ }[];
470
+ requestBody: {
471
+ content: {
472
+ 'application/json': {
473
+ schema: {
474
+ $ref: string;
475
+ };
476
+ };
477
+ };
478
+ };
171
479
  responses: {
172
480
  '200': {
173
481
  description: string;
@@ -175,35 +483,111 @@ declare const _default: {
175
483
  };
176
484
  };
177
485
  };
178
- '/collectionCategories:list': {
486
+ '/fields:apply': {
179
487
  post: {
180
488
  tags: string[];
489
+ summary: string;
181
490
  description: string;
182
- parameters: any[];
491
+ requestBody: {
492
+ content: {
493
+ 'application/json': {
494
+ schema: {
495
+ $ref: string;
496
+ };
497
+ };
498
+ };
499
+ };
183
500
  responses: {
184
501
  '200': {
185
502
  description: string;
503
+ content: {
504
+ 'application/json': {
505
+ schema: {
506
+ type: string;
507
+ properties: {
508
+ data: {
509
+ $ref: string;
510
+ };
511
+ };
512
+ };
513
+ };
514
+ };
186
515
  };
187
516
  };
188
517
  };
189
518
  };
190
- '/collectionCategories:get': {
519
+ '/collectionCategories:list': {
191
520
  post: {
192
521
  tags: string[];
522
+ summary: string;
193
523
  description: string;
194
- parameters: any[];
524
+ parameters: {
525
+ $ref: string;
526
+ }[];
195
527
  responses: {
196
528
  '200': {
197
529
  description: string;
530
+ content: {
531
+ 'application/json': {
532
+ schema: {
533
+ type: string;
534
+ properties: {
535
+ data: {
536
+ type: string;
537
+ items: {
538
+ $ref: string;
539
+ };
540
+ };
541
+ meta: {
542
+ $ref: string;
543
+ };
544
+ };
545
+ };
546
+ };
547
+ };
198
548
  };
199
549
  };
200
550
  };
201
551
  };
202
- '/collectionCategories:create': {
552
+ '/collectionCategories:get': {
203
553
  post: {
204
554
  tags: string[];
205
- description: string;
206
- parameters: any[];
555
+ summary: string;
556
+ parameters: {
557
+ $ref: string;
558
+ }[];
559
+ responses: {
560
+ '200': {
561
+ description: string;
562
+ content: {
563
+ 'application/json': {
564
+ schema: {
565
+ type: string;
566
+ properties: {
567
+ data: {
568
+ $ref: string;
569
+ };
570
+ };
571
+ };
572
+ };
573
+ };
574
+ };
575
+ };
576
+ };
577
+ };
578
+ '/collectionCategories:create': {
579
+ post: {
580
+ tags: string[];
581
+ summary: string;
582
+ requestBody: {
583
+ content: {
584
+ 'application/json': {
585
+ schema: {
586
+ $ref: string;
587
+ };
588
+ };
589
+ };
590
+ };
207
591
  responses: {
208
592
  '200': {
209
593
  description: string;
@@ -214,8 +598,19 @@ declare const _default: {
214
598
  '/collectionCategories:update': {
215
599
  post: {
216
600
  tags: string[];
217
- description: string;
218
- parameters: any[];
601
+ summary: string;
602
+ parameters: {
603
+ $ref: string;
604
+ }[];
605
+ requestBody: {
606
+ content: {
607
+ 'application/json': {
608
+ schema: {
609
+ $ref: string;
610
+ };
611
+ };
612
+ };
613
+ };
219
614
  responses: {
220
615
  '200': {
221
616
  description: string;
@@ -226,8 +621,10 @@ declare const _default: {
226
621
  '/collectionCategories:destroy': {
227
622
  post: {
228
623
  tags: string[];
229
- description: string;
230
- parameters: any[];
624
+ summary: string;
625
+ parameters: {
626
+ $ref: string;
627
+ }[];
231
628
  responses: {
232
629
  '200': {
233
630
  description: string;
@@ -238,8 +635,16 @@ declare const _default: {
238
635
  '/collectionCategories:move': {
239
636
  post: {
240
637
  tags: string[];
241
- description: string;
242
- parameters: any[];
638
+ summary: string;
639
+ requestBody: {
640
+ content: {
641
+ 'application/json': {
642
+ schema: {
643
+ $ref: string;
644
+ };
645
+ };
646
+ };
647
+ };
243
648
  responses: {
244
649
  '200': {
245
650
  description: string;
@@ -296,7 +701,6 @@ declare const _default: {
296
701
  };
297
702
  source: {
298
703
  type: string;
299
- required: boolean;
300
704
  description: string;
301
705
  };
302
706
  };
@@ -322,6 +726,7 @@ declare const _default: {
322
726
  get: {
323
727
  tags: string[];
324
728
  summary: string;
729
+ description: string;
325
730
  responses: {
326
731
  '200': {
327
732
  description: string;
@@ -409,5 +814,1022 @@ declare const _default: {
409
814
  };
410
815
  };
411
816
  };
817
+ components: {
818
+ schemas: {
819
+ common: {
820
+ filter: {
821
+ name: string;
822
+ in: string;
823
+ description: string;
824
+ schema: {
825
+ type: string;
826
+ additionalProperties: boolean;
827
+ };
828
+ };
829
+ sort: {
830
+ name: string;
831
+ in: string;
832
+ description: string;
833
+ schema: {
834
+ type: string;
835
+ };
836
+ };
837
+ fields: {
838
+ name: string;
839
+ in: string;
840
+ description: string;
841
+ schema: {
842
+ type: string;
843
+ items: {
844
+ type: string;
845
+ };
846
+ };
847
+ };
848
+ appends: {
849
+ name: string;
850
+ in: string;
851
+ description: string;
852
+ schema: {
853
+ type: string;
854
+ items: {
855
+ type: string;
856
+ };
857
+ };
858
+ };
859
+ except: {
860
+ name: string;
861
+ in: string;
862
+ description: string;
863
+ schema: {
864
+ type: string;
865
+ items: {
866
+ type: string;
867
+ };
868
+ };
869
+ };
870
+ page: {
871
+ name: string;
872
+ in: string;
873
+ description: string;
874
+ schema: {
875
+ type: string;
876
+ default: number;
877
+ };
878
+ };
879
+ pageSize: {
880
+ name: string;
881
+ in: string;
882
+ description: string;
883
+ schema: {
884
+ type: string;
885
+ default: number;
886
+ };
887
+ };
888
+ paginate: {
889
+ name: string;
890
+ in: string;
891
+ description: string;
892
+ schema: {
893
+ type: string;
894
+ default: boolean;
895
+ };
896
+ };
897
+ paginationMeta: {
898
+ type: string;
899
+ properties: {
900
+ count: {
901
+ type: string;
902
+ };
903
+ page: {
904
+ type: string;
905
+ };
906
+ pageSize: {
907
+ type: string;
908
+ };
909
+ totalPage: {
910
+ type: string;
911
+ };
912
+ };
913
+ };
914
+ moveRequest: {
915
+ type: string;
916
+ properties: {
917
+ sourceId: {
918
+ type: string;
919
+ description: string;
920
+ };
921
+ targetId: {
922
+ type: string;
923
+ description: string;
924
+ };
925
+ method: {
926
+ type: string;
927
+ description: string;
928
+ enum: string[];
929
+ };
930
+ sortField: {
931
+ type: string;
932
+ description: string;
933
+ };
934
+ targetScope: {
935
+ type: string;
936
+ description: string;
937
+ };
938
+ sticky: {
939
+ type: string;
940
+ description: string;
941
+ };
942
+ };
943
+ };
944
+ };
945
+ collection: {
946
+ filterByTk: {
947
+ name: string;
948
+ in: string;
949
+ description: string;
950
+ required: boolean;
951
+ schema: {
952
+ type: string;
953
+ };
954
+ example: string;
955
+ };
956
+ model: {
957
+ type: string;
958
+ properties: {
959
+ key: {
960
+ type: string;
961
+ description: string;
962
+ };
963
+ name: {
964
+ type: string;
965
+ description: string;
966
+ };
967
+ title: {
968
+ type: string;
969
+ description: string;
970
+ };
971
+ description: {
972
+ type: string;
973
+ nullable: boolean;
974
+ };
975
+ inherit: {
976
+ type: string;
977
+ };
978
+ hidden: {
979
+ type: string;
980
+ };
981
+ sortable: {
982
+ oneOf: ({
983
+ type: string;
984
+ additionalProperties?: undefined;
985
+ } | {
986
+ type: string;
987
+ additionalProperties: boolean;
988
+ })[];
989
+ description: string;
990
+ };
991
+ autoGenId: {
992
+ type: string;
993
+ };
994
+ createdBy: {
995
+ type: string;
996
+ };
997
+ updatedBy: {
998
+ type: string;
999
+ };
1000
+ timestamps: {
1001
+ type: string;
1002
+ };
1003
+ logging: {
1004
+ type: string;
1005
+ };
1006
+ shared: {
1007
+ type: string;
1008
+ };
1009
+ schema: {
1010
+ type: string;
1011
+ nullable: boolean;
1012
+ };
1013
+ view: {
1014
+ type: string;
1015
+ };
1016
+ template: {
1017
+ type: string;
1018
+ nullable: boolean;
1019
+ };
1020
+ filterTargetKey: {
1021
+ type: string;
1022
+ nullable: boolean;
1023
+ };
1024
+ titleField: {
1025
+ type: string;
1026
+ nullable: boolean;
1027
+ };
1028
+ origin: {
1029
+ type: string;
1030
+ nullable: boolean;
1031
+ };
1032
+ from: {
1033
+ type: string;
1034
+ nullable: boolean;
1035
+ };
1036
+ options: {
1037
+ type: string;
1038
+ additionalProperties: boolean;
1039
+ description: string;
1040
+ };
1041
+ };
1042
+ };
1043
+ create: {
1044
+ type: string;
1045
+ properties: {
1046
+ name: {
1047
+ type: string;
1048
+ description: string;
1049
+ };
1050
+ title: {
1051
+ type: string;
1052
+ description: string;
1053
+ };
1054
+ description: {
1055
+ type: string;
1056
+ };
1057
+ inherit: {
1058
+ type: string;
1059
+ };
1060
+ hidden: {
1061
+ type: string;
1062
+ };
1063
+ sortable: {
1064
+ oneOf: ({
1065
+ type: string;
1066
+ additionalProperties?: undefined;
1067
+ } | {
1068
+ type: string;
1069
+ additionalProperties: boolean;
1070
+ })[];
1071
+ };
1072
+ autoGenId: {
1073
+ type: string;
1074
+ };
1075
+ createdBy: {
1076
+ type: string;
1077
+ };
1078
+ updatedBy: {
1079
+ type: string;
1080
+ };
1081
+ timestamps: {
1082
+ type: string;
1083
+ };
1084
+ logging: {
1085
+ type: string;
1086
+ };
1087
+ schema: {
1088
+ type: string;
1089
+ };
1090
+ template: {
1091
+ type: string;
1092
+ };
1093
+ fields: {
1094
+ type: string;
1095
+ description: string;
1096
+ items: {
1097
+ $ref: string;
1098
+ };
1099
+ };
1100
+ };
1101
+ additionalProperties: boolean;
1102
+ };
1103
+ apply: {
1104
+ type: string;
1105
+ description: string;
1106
+ properties: {
1107
+ name: {
1108
+ type: string;
1109
+ description: string;
1110
+ };
1111
+ title: {
1112
+ type: string;
1113
+ description: string;
1114
+ };
1115
+ description: {
1116
+ type: string;
1117
+ };
1118
+ template: {
1119
+ type: string;
1120
+ description: string;
1121
+ };
1122
+ viewName: {
1123
+ type: string;
1124
+ description: string;
1125
+ };
1126
+ inherits: {
1127
+ oneOf: ({
1128
+ type: string;
1129
+ items?: undefined;
1130
+ } | {
1131
+ type: string;
1132
+ items: {
1133
+ type: string;
1134
+ };
1135
+ })[];
1136
+ description: string;
1137
+ };
1138
+ replaceFields: {
1139
+ type: string;
1140
+ description: string;
1141
+ };
1142
+ verify: {
1143
+ type: string;
1144
+ description: string;
1145
+ };
1146
+ fields: {
1147
+ type: string;
1148
+ description: string;
1149
+ items: {
1150
+ $ref: string;
1151
+ };
1152
+ };
1153
+ settings: {
1154
+ type: string;
1155
+ description: string;
1156
+ additionalProperties: boolean;
1157
+ };
1158
+ };
1159
+ additionalProperties: boolean;
1160
+ };
1161
+ update: {
1162
+ type: string;
1163
+ properties: {
1164
+ title: {
1165
+ type: string;
1166
+ };
1167
+ description: {
1168
+ type: string;
1169
+ };
1170
+ inherit: {
1171
+ type: string;
1172
+ };
1173
+ hidden: {
1174
+ type: string;
1175
+ };
1176
+ sortable: {
1177
+ oneOf: ({
1178
+ type: string;
1179
+ additionalProperties?: undefined;
1180
+ } | {
1181
+ type: string;
1182
+ additionalProperties: boolean;
1183
+ })[];
1184
+ };
1185
+ createdBy: {
1186
+ type: string;
1187
+ };
1188
+ updatedBy: {
1189
+ type: string;
1190
+ };
1191
+ timestamps: {
1192
+ type: string;
1193
+ };
1194
+ logging: {
1195
+ type: string;
1196
+ };
1197
+ schema: {
1198
+ type: string;
1199
+ };
1200
+ template: {
1201
+ type: string;
1202
+ };
1203
+ };
1204
+ additionalProperties: boolean;
1205
+ };
1206
+ };
1207
+ field: {
1208
+ collectionName: {
1209
+ name: string;
1210
+ in: string;
1211
+ description: string;
1212
+ required: boolean;
1213
+ schema: {
1214
+ type: string;
1215
+ };
1216
+ example: string;
1217
+ };
1218
+ filterByTk: {
1219
+ name: string;
1220
+ in: string;
1221
+ description: string;
1222
+ required: boolean;
1223
+ schema: {
1224
+ type: string;
1225
+ };
1226
+ example: string;
1227
+ };
1228
+ filterByTkOptional: {
1229
+ name: string;
1230
+ in: string;
1231
+ description: string;
1232
+ schema: {
1233
+ type: string;
1234
+ };
1235
+ example: string;
1236
+ };
1237
+ reverseField: {
1238
+ type: string;
1239
+ description: string;
1240
+ properties: {
1241
+ key: {
1242
+ type: string;
1243
+ };
1244
+ name: {
1245
+ type: string;
1246
+ };
1247
+ type: {
1248
+ type: string;
1249
+ };
1250
+ interface: {
1251
+ type: string;
1252
+ };
1253
+ uiSchema: {
1254
+ type: string;
1255
+ additionalProperties: boolean;
1256
+ };
1257
+ target: {
1258
+ type: string;
1259
+ };
1260
+ foreignKey: {
1261
+ type: string;
1262
+ };
1263
+ sourceKey: {
1264
+ type: string;
1265
+ };
1266
+ targetKey: {
1267
+ type: string;
1268
+ };
1269
+ };
1270
+ additionalProperties: boolean;
1271
+ };
1272
+ validationRule: {
1273
+ type: string;
1274
+ description: string;
1275
+ properties: {
1276
+ key: {
1277
+ type: string;
1278
+ description: string;
1279
+ };
1280
+ name: {
1281
+ type: string;
1282
+ description: string;
1283
+ };
1284
+ args: {
1285
+ type: string;
1286
+ description: string;
1287
+ additionalProperties: boolean;
1288
+ };
1289
+ paramsType: {
1290
+ type: string;
1291
+ enum: string[];
1292
+ description: string;
1293
+ };
1294
+ };
1295
+ required: string[];
1296
+ additionalProperties: boolean;
1297
+ };
1298
+ validation: {
1299
+ type: string;
1300
+ description: string;
1301
+ properties: {
1302
+ type: {
1303
+ type: string;
1304
+ description: string;
1305
+ };
1306
+ rules: {
1307
+ type: string;
1308
+ items: {
1309
+ $ref: string;
1310
+ };
1311
+ };
1312
+ };
1313
+ required: string[];
1314
+ additionalProperties: boolean;
1315
+ };
1316
+ validators: {
1317
+ type: string;
1318
+ description: string;
1319
+ items: {
1320
+ anyOf: ({
1321
+ type: string;
1322
+ $ref?: undefined;
1323
+ } | {
1324
+ $ref: string;
1325
+ type?: undefined;
1326
+ })[];
1327
+ };
1328
+ };
1329
+ model: {
1330
+ type: string;
1331
+ properties: {
1332
+ key: {
1333
+ type: string;
1334
+ };
1335
+ name: {
1336
+ type: string;
1337
+ };
1338
+ collectionName: {
1339
+ type: string;
1340
+ };
1341
+ type: {
1342
+ type: string;
1343
+ description: string;
1344
+ };
1345
+ interface: {
1346
+ type: string;
1347
+ nullable: boolean;
1348
+ description: string;
1349
+ };
1350
+ description: {
1351
+ type: string;
1352
+ nullable: boolean;
1353
+ };
1354
+ source: {
1355
+ type: string;
1356
+ nullable: boolean;
1357
+ description: string;
1358
+ };
1359
+ field: {
1360
+ type: string;
1361
+ nullable: boolean;
1362
+ description: string;
1363
+ };
1364
+ target: {
1365
+ type: string;
1366
+ nullable: boolean;
1367
+ };
1368
+ through: {
1369
+ type: string;
1370
+ nullable: boolean;
1371
+ };
1372
+ foreignKey: {
1373
+ type: string;
1374
+ nullable: boolean;
1375
+ };
1376
+ otherKey: {
1377
+ type: string;
1378
+ nullable: boolean;
1379
+ };
1380
+ sourceKey: {
1381
+ type: string;
1382
+ nullable: boolean;
1383
+ };
1384
+ targetKey: {
1385
+ type: string;
1386
+ nullable: boolean;
1387
+ };
1388
+ parentKey: {
1389
+ type: string;
1390
+ nullable: boolean;
1391
+ };
1392
+ reverseKey: {
1393
+ type: string;
1394
+ nullable: boolean;
1395
+ };
1396
+ onDelete: {
1397
+ type: string;
1398
+ nullable: boolean;
1399
+ };
1400
+ sortBy: {
1401
+ type: string;
1402
+ nullable: boolean;
1403
+ };
1404
+ sortable: {
1405
+ type: string;
1406
+ nullable: boolean;
1407
+ };
1408
+ primaryKey: {
1409
+ type: string;
1410
+ nullable: boolean;
1411
+ };
1412
+ autoIncrement: {
1413
+ type: string;
1414
+ nullable: boolean;
1415
+ };
1416
+ unique: {
1417
+ type: string;
1418
+ nullable: boolean;
1419
+ };
1420
+ allowNull: {
1421
+ type: string;
1422
+ nullable: boolean;
1423
+ };
1424
+ validation: {
1425
+ $ref: string;
1426
+ };
1427
+ defaultValue: {
1428
+ nullable: boolean;
1429
+ };
1430
+ enum: {
1431
+ type: string;
1432
+ description: string;
1433
+ items: {
1434
+ anyOf: ({
1435
+ type: string;
1436
+ properties?: undefined;
1437
+ required?: undefined;
1438
+ additionalProperties?: undefined;
1439
+ } | {
1440
+ type: string;
1441
+ properties: {
1442
+ label: {
1443
+ type: string;
1444
+ };
1445
+ value: {};
1446
+ color: {
1447
+ type: string;
1448
+ };
1449
+ };
1450
+ required: string[];
1451
+ additionalProperties: boolean;
1452
+ })[];
1453
+ };
1454
+ };
1455
+ isForeignKey: {
1456
+ type: string;
1457
+ nullable: boolean;
1458
+ };
1459
+ uiSchema: {
1460
+ type: string;
1461
+ description: string;
1462
+ additionalProperties: boolean;
1463
+ };
1464
+ options: {
1465
+ type: string;
1466
+ additionalProperties: boolean;
1467
+ description: string;
1468
+ };
1469
+ reverseField: {
1470
+ $ref: string;
1471
+ };
1472
+ };
1473
+ additionalProperties: boolean;
1474
+ };
1475
+ write: {
1476
+ type: string;
1477
+ description: string;
1478
+ properties: {
1479
+ key: {
1480
+ type: string;
1481
+ };
1482
+ name: {
1483
+ type: string;
1484
+ };
1485
+ type: {
1486
+ type: string;
1487
+ };
1488
+ interface: {
1489
+ type: string;
1490
+ };
1491
+ description: {
1492
+ type: string;
1493
+ };
1494
+ field: {
1495
+ type: string;
1496
+ };
1497
+ source: {
1498
+ type: string;
1499
+ };
1500
+ target: {
1501
+ type: string;
1502
+ };
1503
+ through: {
1504
+ type: string;
1505
+ };
1506
+ foreignKey: {
1507
+ type: string;
1508
+ };
1509
+ otherKey: {
1510
+ type: string;
1511
+ };
1512
+ sourceKey: {
1513
+ type: string;
1514
+ };
1515
+ targetKey: {
1516
+ type: string;
1517
+ };
1518
+ parentKey: {
1519
+ type: string;
1520
+ };
1521
+ reverseKey: {
1522
+ type: string;
1523
+ };
1524
+ onDelete: {
1525
+ type: string;
1526
+ enum: string[];
1527
+ };
1528
+ sortBy: {
1529
+ type: string;
1530
+ };
1531
+ sortable: {
1532
+ type: string;
1533
+ };
1534
+ primaryKey: {
1535
+ type: string;
1536
+ };
1537
+ autoIncrement: {
1538
+ type: string;
1539
+ };
1540
+ unique: {
1541
+ type: string;
1542
+ };
1543
+ allowNull: {
1544
+ type: string;
1545
+ };
1546
+ validation: {
1547
+ $ref: string;
1548
+ };
1549
+ defaultValue: {};
1550
+ enum: {
1551
+ type: string;
1552
+ description: string;
1553
+ items: {
1554
+ anyOf: ({
1555
+ type: string;
1556
+ properties?: undefined;
1557
+ required?: undefined;
1558
+ additionalProperties?: undefined;
1559
+ } | {
1560
+ type: string;
1561
+ properties: {
1562
+ label: {
1563
+ type: string;
1564
+ };
1565
+ value: {};
1566
+ color: {
1567
+ type: string;
1568
+ };
1569
+ };
1570
+ required: string[];
1571
+ additionalProperties: boolean;
1572
+ })[];
1573
+ };
1574
+ };
1575
+ uiSchema: {
1576
+ type: string;
1577
+ description: string;
1578
+ additionalProperties: boolean;
1579
+ };
1580
+ reverseField: {
1581
+ $ref: string;
1582
+ };
1583
+ };
1584
+ additionalProperties: boolean;
1585
+ };
1586
+ create: {
1587
+ allOf: {
1588
+ $ref: string;
1589
+ }[];
1590
+ };
1591
+ apply: {
1592
+ type: string;
1593
+ description: string;
1594
+ properties: {
1595
+ collectionName: {
1596
+ type: string;
1597
+ description: string;
1598
+ };
1599
+ name: {
1600
+ type: string;
1601
+ };
1602
+ title: {
1603
+ type: string;
1604
+ };
1605
+ interface: {
1606
+ type: string;
1607
+ };
1608
+ description: {
1609
+ type: string;
1610
+ };
1611
+ target: {
1612
+ type: string;
1613
+ };
1614
+ validation: {
1615
+ $ref: string;
1616
+ };
1617
+ validators: {
1618
+ $ref: string;
1619
+ };
1620
+ defaultValue: {
1621
+ description: string;
1622
+ };
1623
+ enum: {
1624
+ type: string;
1625
+ description: string;
1626
+ items: {
1627
+ anyOf: ({
1628
+ type: string;
1629
+ properties?: undefined;
1630
+ required?: undefined;
1631
+ additionalProperties?: undefined;
1632
+ } | {
1633
+ type: string;
1634
+ properties: {
1635
+ label: {
1636
+ type: string;
1637
+ };
1638
+ value: {};
1639
+ color: {
1640
+ type: string;
1641
+ };
1642
+ };
1643
+ required: string[];
1644
+ additionalProperties: boolean;
1645
+ })[];
1646
+ };
1647
+ };
1648
+ reverseName: {
1649
+ type: string;
1650
+ };
1651
+ reverseTitle: {
1652
+ type: string;
1653
+ };
1654
+ reverseInterface: {
1655
+ type: string;
1656
+ };
1657
+ settings: {
1658
+ type: string;
1659
+ description: string;
1660
+ additionalProperties: boolean;
1661
+ };
1662
+ reverseField: {
1663
+ allOf: {
1664
+ $ref: string;
1665
+ }[];
1666
+ description: string;
1667
+ };
1668
+ };
1669
+ required: string[];
1670
+ additionalProperties: boolean;
1671
+ };
1672
+ applyShallow: {
1673
+ type: string;
1674
+ description: string;
1675
+ properties: {
1676
+ name: {
1677
+ type: string;
1678
+ };
1679
+ title: {
1680
+ type: string;
1681
+ };
1682
+ interface: {
1683
+ type: string;
1684
+ };
1685
+ target: {
1686
+ type: string;
1687
+ };
1688
+ validation: {
1689
+ $ref: string;
1690
+ };
1691
+ validators: {
1692
+ $ref: string;
1693
+ };
1694
+ settings: {
1695
+ type: string;
1696
+ additionalProperties: boolean;
1697
+ };
1698
+ };
1699
+ additionalProperties: boolean;
1700
+ };
1701
+ applyNested: {
1702
+ type: string;
1703
+ description: string;
1704
+ properties: {
1705
+ name: {
1706
+ type: string;
1707
+ };
1708
+ title: {
1709
+ type: string;
1710
+ };
1711
+ interface: {
1712
+ type: string;
1713
+ };
1714
+ description: {
1715
+ type: string;
1716
+ };
1717
+ target: {
1718
+ type: string;
1719
+ };
1720
+ validation: {
1721
+ $ref: string;
1722
+ };
1723
+ validators: {
1724
+ $ref: string;
1725
+ };
1726
+ defaultValue: {
1727
+ description: string;
1728
+ };
1729
+ enum: {
1730
+ type: string;
1731
+ description: string;
1732
+ items: {
1733
+ anyOf: ({
1734
+ type: string;
1735
+ properties?: undefined;
1736
+ required?: undefined;
1737
+ additionalProperties?: undefined;
1738
+ } | {
1739
+ type: string;
1740
+ properties: {
1741
+ label: {
1742
+ type: string;
1743
+ };
1744
+ value: {};
1745
+ color: {
1746
+ type: string;
1747
+ };
1748
+ };
1749
+ required: string[];
1750
+ additionalProperties: boolean;
1751
+ })[];
1752
+ };
1753
+ };
1754
+ reverseName: {
1755
+ type: string;
1756
+ };
1757
+ reverseTitle: {
1758
+ type: string;
1759
+ };
1760
+ reverseInterface: {
1761
+ type: string;
1762
+ };
1763
+ settings: {
1764
+ type: string;
1765
+ description: string;
1766
+ additionalProperties: boolean;
1767
+ };
1768
+ reverseField: {
1769
+ allOf: {
1770
+ $ref: string;
1771
+ }[];
1772
+ description: string;
1773
+ };
1774
+ };
1775
+ additionalProperties: boolean;
1776
+ };
1777
+ update: {
1778
+ allOf: {
1779
+ $ref: string;
1780
+ }[];
1781
+ };
1782
+ };
1783
+ collectionCategory: {
1784
+ filterByTk: {
1785
+ name: string;
1786
+ in: string;
1787
+ description: string;
1788
+ required: boolean;
1789
+ schema: {
1790
+ type: string;
1791
+ };
1792
+ };
1793
+ model: {
1794
+ type: string;
1795
+ properties: {
1796
+ id: {
1797
+ type: string;
1798
+ };
1799
+ name: {
1800
+ type: string;
1801
+ };
1802
+ color: {
1803
+ type: string;
1804
+ };
1805
+ };
1806
+ };
1807
+ create: {
1808
+ type: string;
1809
+ properties: {
1810
+ name: {
1811
+ type: string;
1812
+ };
1813
+ color: {
1814
+ type: string;
1815
+ };
1816
+ };
1817
+ additionalProperties: boolean;
1818
+ };
1819
+ update: {
1820
+ type: string;
1821
+ properties: {
1822
+ name: {
1823
+ type: string;
1824
+ };
1825
+ color: {
1826
+ type: string;
1827
+ };
1828
+ };
1829
+ additionalProperties: boolean;
1830
+ };
1831
+ };
1832
+ };
1833
+ };
412
1834
  };
413
1835
  export default _default;