@nocobase/plugin-data-source-main 2.0.22 → 2.1.0-alpha.10

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,8 +236,35 @@ declare const _default: {
94
236
  '/collections:setFields': {
95
237
  post: {
96
238
  tags: string[];
239
+ summary: string;
97
240
  description: string;
98
- parameters: any[];
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
+ };
99
268
  responses: {
100
269
  '200': {
101
270
  description: string;
@@ -106,11 +275,26 @@ declare const _default: {
106
275
  '/collections/{collectionName}/fields:get': {
107
276
  get: {
108
277
  tags: string[];
278
+ summary: string;
109
279
  description: string;
110
- parameters: any[];
280
+ parameters: {
281
+ $ref: string;
282
+ }[];
111
283
  responses: {
112
284
  '200': {
113
285
  description: string;
286
+ content: {
287
+ 'application/json': {
288
+ schema: {
289
+ type: string;
290
+ properties: {
291
+ data: {
292
+ $ref: string;
293
+ };
294
+ };
295
+ };
296
+ };
297
+ };
114
298
  };
115
299
  };
116
300
  };
@@ -118,11 +302,32 @@ declare const _default: {
118
302
  '/collections/{collectionName}/fields:list': {
119
303
  get: {
120
304
  tags: string[];
305
+ summary: string;
121
306
  description: string;
122
- parameters: any[];
307
+ parameters: {
308
+ $ref: string;
309
+ }[];
123
310
  responses: {
124
311
  '200': {
125
312
  description: string;
313
+ content: {
314
+ 'application/json': {
315
+ schema: {
316
+ type: string;
317
+ properties: {
318
+ data: {
319
+ type: string;
320
+ items: {
321
+ $ref: string;
322
+ };
323
+ };
324
+ meta: {
325
+ $ref: string;
326
+ };
327
+ };
328
+ };
329
+ };
330
+ };
126
331
  };
127
332
  };
128
333
  };
@@ -130,11 +335,35 @@ declare const _default: {
130
335
  '/collections/{collectionName}/fields:create': {
131
336
  post: {
132
337
  tags: string[];
338
+ summary: string;
133
339
  description: string;
134
- parameters: any[];
340
+ parameters: {
341
+ $ref: string;
342
+ }[];
343
+ requestBody: {
344
+ content: {
345
+ 'application/json': {
346
+ schema: {
347
+ $ref: string;
348
+ };
349
+ };
350
+ };
351
+ };
135
352
  responses: {
136
353
  '200': {
137
354
  description: string;
355
+ content: {
356
+ 'application/json': {
357
+ schema: {
358
+ type: string;
359
+ properties: {
360
+ data: {
361
+ $ref: string;
362
+ };
363
+ };
364
+ };
365
+ };
366
+ };
138
367
  };
139
368
  };
140
369
  };
@@ -142,11 +371,38 @@ declare const _default: {
142
371
  '/collections/{collectionName}/fields:update': {
143
372
  post: {
144
373
  tags: string[];
374
+ summary: string;
145
375
  description: string;
146
- parameters: any[];
376
+ parameters: {
377
+ $ref: string;
378
+ }[];
379
+ requestBody: {
380
+ content: {
381
+ 'application/json': {
382
+ schema: {
383
+ $ref: string;
384
+ };
385
+ };
386
+ };
387
+ };
147
388
  responses: {
148
389
  '200': {
149
390
  description: string;
391
+ content: {
392
+ 'application/json': {
393
+ schema: {
394
+ type: string;
395
+ properties: {
396
+ data: {
397
+ type: string;
398
+ items: {
399
+ $ref: string;
400
+ };
401
+ };
402
+ };
403
+ };
404
+ };
405
+ };
150
406
  };
151
407
  };
152
408
  };
@@ -154,8 +410,11 @@ declare const _default: {
154
410
  '/collections/{collectionName}/fields:destroy': {
155
411
  post: {
156
412
  tags: string[];
413
+ summary: string;
157
414
  description: string;
158
- parameters: any[];
415
+ parameters: {
416
+ $ref: string;
417
+ }[];
159
418
  responses: {
160
419
  '200': {
161
420
  description: string;
@@ -166,8 +425,20 @@ declare const _default: {
166
425
  '/collections/{collectionName}/fields:move': {
167
426
  post: {
168
427
  tags: string[];
428
+ summary: string;
169
429
  description: string;
170
- parameters: any[];
430
+ parameters: {
431
+ $ref: string;
432
+ }[];
433
+ requestBody: {
434
+ content: {
435
+ 'application/json': {
436
+ schema: {
437
+ $ref: string;
438
+ };
439
+ };
440
+ };
441
+ };
171
442
  responses: {
172
443
  '200': {
173
444
  description: string;
@@ -178,11 +449,32 @@ declare const _default: {
178
449
  '/collectionCategories:list': {
179
450
  post: {
180
451
  tags: string[];
452
+ summary: string;
181
453
  description: string;
182
- parameters: any[];
454
+ parameters: {
455
+ $ref: string;
456
+ }[];
183
457
  responses: {
184
458
  '200': {
185
459
  description: string;
460
+ content: {
461
+ 'application/json': {
462
+ schema: {
463
+ type: string;
464
+ properties: {
465
+ data: {
466
+ type: string;
467
+ items: {
468
+ $ref: string;
469
+ };
470
+ };
471
+ meta: {
472
+ $ref: string;
473
+ };
474
+ };
475
+ };
476
+ };
477
+ };
186
478
  };
187
479
  };
188
480
  };
@@ -190,11 +482,25 @@ declare const _default: {
190
482
  '/collectionCategories:get': {
191
483
  post: {
192
484
  tags: string[];
193
- description: string;
194
- parameters: any[];
485
+ summary: string;
486
+ parameters: {
487
+ $ref: string;
488
+ }[];
195
489
  responses: {
196
490
  '200': {
197
491
  description: string;
492
+ content: {
493
+ 'application/json': {
494
+ schema: {
495
+ type: string;
496
+ properties: {
497
+ data: {
498
+ $ref: string;
499
+ };
500
+ };
501
+ };
502
+ };
503
+ };
198
504
  };
199
505
  };
200
506
  };
@@ -202,8 +508,16 @@ declare const _default: {
202
508
  '/collectionCategories:create': {
203
509
  post: {
204
510
  tags: string[];
205
- description: string;
206
- parameters: any[];
511
+ summary: string;
512
+ requestBody: {
513
+ content: {
514
+ 'application/json': {
515
+ schema: {
516
+ $ref: string;
517
+ };
518
+ };
519
+ };
520
+ };
207
521
  responses: {
208
522
  '200': {
209
523
  description: string;
@@ -214,8 +528,19 @@ declare const _default: {
214
528
  '/collectionCategories:update': {
215
529
  post: {
216
530
  tags: string[];
217
- description: string;
218
- parameters: any[];
531
+ summary: string;
532
+ parameters: {
533
+ $ref: string;
534
+ }[];
535
+ requestBody: {
536
+ content: {
537
+ 'application/json': {
538
+ schema: {
539
+ $ref: string;
540
+ };
541
+ };
542
+ };
543
+ };
219
544
  responses: {
220
545
  '200': {
221
546
  description: string;
@@ -226,8 +551,10 @@ declare const _default: {
226
551
  '/collectionCategories:destroy': {
227
552
  post: {
228
553
  tags: string[];
229
- description: string;
230
- parameters: any[];
554
+ summary: string;
555
+ parameters: {
556
+ $ref: string;
557
+ }[];
231
558
  responses: {
232
559
  '200': {
233
560
  description: string;
@@ -238,8 +565,16 @@ declare const _default: {
238
565
  '/collectionCategories:move': {
239
566
  post: {
240
567
  tags: string[];
241
- description: string;
242
- parameters: any[];
568
+ summary: string;
569
+ requestBody: {
570
+ content: {
571
+ 'application/json': {
572
+ schema: {
573
+ $ref: string;
574
+ };
575
+ };
576
+ };
577
+ };
243
578
  responses: {
244
579
  '200': {
245
580
  description: string;
@@ -296,7 +631,6 @@ declare const _default: {
296
631
  };
297
632
  source: {
298
633
  type: string;
299
- required: boolean;
300
634
  description: string;
301
635
  };
302
636
  };
@@ -322,6 +656,7 @@ declare const _default: {
322
656
  get: {
323
657
  tags: string[];
324
658
  summary: string;
659
+ description: string;
325
660
  responses: {
326
661
  '200': {
327
662
  description: string;
@@ -409,5 +744,715 @@ declare const _default: {
409
744
  };
410
745
  };
411
746
  };
747
+ components: {
748
+ schemas: {
749
+ common: {
750
+ filter: {
751
+ name: string;
752
+ in: string;
753
+ description: string;
754
+ schema: {
755
+ type: string;
756
+ additionalProperties: boolean;
757
+ };
758
+ };
759
+ sort: {
760
+ name: string;
761
+ in: string;
762
+ description: string;
763
+ schema: {
764
+ type: string;
765
+ };
766
+ };
767
+ fields: {
768
+ name: string;
769
+ in: string;
770
+ description: string;
771
+ schema: {
772
+ type: string;
773
+ items: {
774
+ type: string;
775
+ };
776
+ };
777
+ };
778
+ appends: {
779
+ name: string;
780
+ in: string;
781
+ description: string;
782
+ schema: {
783
+ type: string;
784
+ items: {
785
+ type: string;
786
+ };
787
+ };
788
+ };
789
+ except: {
790
+ name: string;
791
+ in: string;
792
+ description: string;
793
+ schema: {
794
+ type: string;
795
+ items: {
796
+ type: string;
797
+ };
798
+ };
799
+ };
800
+ page: {
801
+ name: string;
802
+ in: string;
803
+ description: string;
804
+ schema: {
805
+ type: string;
806
+ default: number;
807
+ };
808
+ };
809
+ pageSize: {
810
+ name: string;
811
+ in: string;
812
+ description: string;
813
+ schema: {
814
+ type: string;
815
+ default: number;
816
+ };
817
+ };
818
+ paginate: {
819
+ name: string;
820
+ in: string;
821
+ description: string;
822
+ schema: {
823
+ type: string;
824
+ default: boolean;
825
+ };
826
+ };
827
+ paginationMeta: {
828
+ type: string;
829
+ properties: {
830
+ count: {
831
+ type: string;
832
+ };
833
+ page: {
834
+ type: string;
835
+ };
836
+ pageSize: {
837
+ type: string;
838
+ };
839
+ totalPage: {
840
+ type: string;
841
+ };
842
+ };
843
+ };
844
+ moveRequest: {
845
+ type: string;
846
+ properties: {
847
+ sourceId: {
848
+ type: string;
849
+ description: string;
850
+ };
851
+ targetId: {
852
+ type: string;
853
+ description: string;
854
+ };
855
+ method: {
856
+ type: string;
857
+ description: string;
858
+ enum: string[];
859
+ };
860
+ sortField: {
861
+ type: string;
862
+ description: string;
863
+ };
864
+ targetScope: {
865
+ type: string;
866
+ description: string;
867
+ };
868
+ sticky: {
869
+ type: string;
870
+ description: string;
871
+ };
872
+ };
873
+ };
874
+ };
875
+ collection: {
876
+ filterByTk: {
877
+ name: string;
878
+ in: string;
879
+ description: string;
880
+ required: boolean;
881
+ schema: {
882
+ type: string;
883
+ };
884
+ example: string;
885
+ };
886
+ model: {
887
+ type: string;
888
+ properties: {
889
+ key: {
890
+ type: string;
891
+ description: string;
892
+ };
893
+ name: {
894
+ type: string;
895
+ description: string;
896
+ };
897
+ title: {
898
+ type: string;
899
+ description: string;
900
+ };
901
+ description: {
902
+ type: string;
903
+ nullable: boolean;
904
+ };
905
+ inherit: {
906
+ type: string;
907
+ };
908
+ hidden: {
909
+ type: string;
910
+ };
911
+ sortable: {
912
+ oneOf: ({
913
+ type: string;
914
+ additionalProperties?: undefined;
915
+ } | {
916
+ type: string;
917
+ additionalProperties: boolean;
918
+ })[];
919
+ description: string;
920
+ };
921
+ autoGenId: {
922
+ type: string;
923
+ };
924
+ createdBy: {
925
+ type: string;
926
+ };
927
+ updatedBy: {
928
+ type: string;
929
+ };
930
+ timestamps: {
931
+ type: string;
932
+ };
933
+ logging: {
934
+ type: string;
935
+ };
936
+ shared: {
937
+ type: string;
938
+ };
939
+ schema: {
940
+ type: string;
941
+ nullable: boolean;
942
+ };
943
+ view: {
944
+ type: string;
945
+ };
946
+ template: {
947
+ type: string;
948
+ nullable: boolean;
949
+ };
950
+ filterTargetKey: {
951
+ type: string;
952
+ nullable: boolean;
953
+ };
954
+ titleField: {
955
+ type: string;
956
+ nullable: boolean;
957
+ };
958
+ origin: {
959
+ type: string;
960
+ nullable: boolean;
961
+ };
962
+ from: {
963
+ type: string;
964
+ nullable: boolean;
965
+ };
966
+ options: {
967
+ type: string;
968
+ additionalProperties: boolean;
969
+ description: string;
970
+ };
971
+ };
972
+ };
973
+ create: {
974
+ type: string;
975
+ properties: {
976
+ name: {
977
+ type: string;
978
+ description: string;
979
+ };
980
+ title: {
981
+ type: string;
982
+ description: string;
983
+ };
984
+ description: {
985
+ type: string;
986
+ };
987
+ inherit: {
988
+ type: string;
989
+ };
990
+ hidden: {
991
+ type: string;
992
+ };
993
+ sortable: {
994
+ oneOf: ({
995
+ type: string;
996
+ additionalProperties?: undefined;
997
+ } | {
998
+ type: string;
999
+ additionalProperties: boolean;
1000
+ })[];
1001
+ };
1002
+ autoGenId: {
1003
+ type: string;
1004
+ };
1005
+ createdBy: {
1006
+ type: string;
1007
+ };
1008
+ updatedBy: {
1009
+ type: string;
1010
+ };
1011
+ timestamps: {
1012
+ type: string;
1013
+ };
1014
+ logging: {
1015
+ type: string;
1016
+ };
1017
+ schema: {
1018
+ type: string;
1019
+ };
1020
+ template: {
1021
+ type: string;
1022
+ };
1023
+ fields: {
1024
+ type: string;
1025
+ description: string;
1026
+ items: {
1027
+ $ref: string;
1028
+ };
1029
+ };
1030
+ };
1031
+ additionalProperties: boolean;
1032
+ };
1033
+ update: {
1034
+ type: string;
1035
+ properties: {
1036
+ title: {
1037
+ type: string;
1038
+ };
1039
+ description: {
1040
+ type: string;
1041
+ };
1042
+ inherit: {
1043
+ type: string;
1044
+ };
1045
+ hidden: {
1046
+ type: string;
1047
+ };
1048
+ sortable: {
1049
+ oneOf: ({
1050
+ type: string;
1051
+ additionalProperties?: undefined;
1052
+ } | {
1053
+ type: string;
1054
+ additionalProperties: boolean;
1055
+ })[];
1056
+ };
1057
+ createdBy: {
1058
+ type: string;
1059
+ };
1060
+ updatedBy: {
1061
+ type: string;
1062
+ };
1063
+ timestamps: {
1064
+ type: string;
1065
+ };
1066
+ logging: {
1067
+ type: string;
1068
+ };
1069
+ schema: {
1070
+ type: string;
1071
+ };
1072
+ template: {
1073
+ type: string;
1074
+ };
1075
+ };
1076
+ additionalProperties: boolean;
1077
+ };
1078
+ };
1079
+ field: {
1080
+ collectionName: {
1081
+ name: string;
1082
+ in: string;
1083
+ description: string;
1084
+ required: boolean;
1085
+ schema: {
1086
+ type: string;
1087
+ };
1088
+ example: string;
1089
+ };
1090
+ filterByTk: {
1091
+ name: string;
1092
+ in: string;
1093
+ description: string;
1094
+ required: boolean;
1095
+ schema: {
1096
+ type: string;
1097
+ };
1098
+ example: string;
1099
+ };
1100
+ filterByTkOptional: {
1101
+ name: string;
1102
+ in: string;
1103
+ description: string;
1104
+ schema: {
1105
+ type: string;
1106
+ };
1107
+ example: string;
1108
+ };
1109
+ reverseField: {
1110
+ type: string;
1111
+ description: string;
1112
+ properties: {
1113
+ key: {
1114
+ type: string;
1115
+ };
1116
+ name: {
1117
+ type: string;
1118
+ };
1119
+ type: {
1120
+ type: string;
1121
+ };
1122
+ interface: {
1123
+ type: string;
1124
+ };
1125
+ uiSchema: {
1126
+ type: string;
1127
+ additionalProperties: boolean;
1128
+ };
1129
+ target: {
1130
+ type: string;
1131
+ };
1132
+ foreignKey: {
1133
+ type: string;
1134
+ };
1135
+ sourceKey: {
1136
+ type: string;
1137
+ };
1138
+ targetKey: {
1139
+ type: string;
1140
+ };
1141
+ };
1142
+ additionalProperties: boolean;
1143
+ };
1144
+ model: {
1145
+ type: string;
1146
+ properties: {
1147
+ key: {
1148
+ type: string;
1149
+ };
1150
+ name: {
1151
+ type: string;
1152
+ };
1153
+ collectionName: {
1154
+ type: string;
1155
+ };
1156
+ type: {
1157
+ type: string;
1158
+ description: string;
1159
+ };
1160
+ interface: {
1161
+ type: string;
1162
+ nullable: boolean;
1163
+ description: string;
1164
+ };
1165
+ description: {
1166
+ type: string;
1167
+ nullable: boolean;
1168
+ };
1169
+ source: {
1170
+ type: string;
1171
+ nullable: boolean;
1172
+ description: string;
1173
+ };
1174
+ field: {
1175
+ type: string;
1176
+ nullable: boolean;
1177
+ description: string;
1178
+ };
1179
+ target: {
1180
+ type: string;
1181
+ nullable: boolean;
1182
+ };
1183
+ through: {
1184
+ type: string;
1185
+ nullable: boolean;
1186
+ };
1187
+ foreignKey: {
1188
+ type: string;
1189
+ nullable: boolean;
1190
+ };
1191
+ otherKey: {
1192
+ type: string;
1193
+ nullable: boolean;
1194
+ };
1195
+ sourceKey: {
1196
+ type: string;
1197
+ nullable: boolean;
1198
+ };
1199
+ targetKey: {
1200
+ type: string;
1201
+ nullable: boolean;
1202
+ };
1203
+ parentKey: {
1204
+ type: string;
1205
+ nullable: boolean;
1206
+ };
1207
+ reverseKey: {
1208
+ type: string;
1209
+ nullable: boolean;
1210
+ };
1211
+ onDelete: {
1212
+ type: string;
1213
+ nullable: boolean;
1214
+ };
1215
+ sortBy: {
1216
+ type: string;
1217
+ nullable: boolean;
1218
+ };
1219
+ sortable: {
1220
+ type: string;
1221
+ nullable: boolean;
1222
+ };
1223
+ primaryKey: {
1224
+ type: string;
1225
+ nullable: boolean;
1226
+ };
1227
+ autoIncrement: {
1228
+ type: string;
1229
+ nullable: boolean;
1230
+ };
1231
+ unique: {
1232
+ type: string;
1233
+ nullable: boolean;
1234
+ };
1235
+ allowNull: {
1236
+ type: string;
1237
+ nullable: boolean;
1238
+ };
1239
+ defaultValue: {
1240
+ nullable: boolean;
1241
+ };
1242
+ enum: {
1243
+ type: string;
1244
+ description: string;
1245
+ items: {
1246
+ anyOf: ({
1247
+ type: string;
1248
+ properties?: undefined;
1249
+ required?: undefined;
1250
+ additionalProperties?: undefined;
1251
+ } | {
1252
+ type: string;
1253
+ properties: {
1254
+ label: {
1255
+ type: string;
1256
+ };
1257
+ value: {};
1258
+ color: {
1259
+ type: string;
1260
+ };
1261
+ };
1262
+ required: string[];
1263
+ additionalProperties: boolean;
1264
+ })[];
1265
+ };
1266
+ };
1267
+ isForeignKey: {
1268
+ type: string;
1269
+ nullable: boolean;
1270
+ };
1271
+ uiSchema: {
1272
+ type: string;
1273
+ description: string;
1274
+ additionalProperties: boolean;
1275
+ };
1276
+ options: {
1277
+ type: string;
1278
+ additionalProperties: boolean;
1279
+ description: string;
1280
+ };
1281
+ reverseField: {
1282
+ $ref: string;
1283
+ };
1284
+ };
1285
+ additionalProperties: boolean;
1286
+ };
1287
+ write: {
1288
+ type: string;
1289
+ description: string;
1290
+ properties: {
1291
+ key: {
1292
+ type: string;
1293
+ };
1294
+ name: {
1295
+ type: string;
1296
+ };
1297
+ type: {
1298
+ type: string;
1299
+ };
1300
+ interface: {
1301
+ type: string;
1302
+ };
1303
+ description: {
1304
+ type: string;
1305
+ };
1306
+ field: {
1307
+ type: string;
1308
+ };
1309
+ source: {
1310
+ type: string;
1311
+ };
1312
+ target: {
1313
+ type: string;
1314
+ };
1315
+ through: {
1316
+ type: string;
1317
+ };
1318
+ foreignKey: {
1319
+ type: string;
1320
+ };
1321
+ otherKey: {
1322
+ type: string;
1323
+ };
1324
+ sourceKey: {
1325
+ type: string;
1326
+ };
1327
+ targetKey: {
1328
+ type: string;
1329
+ };
1330
+ parentKey: {
1331
+ type: string;
1332
+ };
1333
+ reverseKey: {
1334
+ type: string;
1335
+ };
1336
+ onDelete: {
1337
+ type: string;
1338
+ enum: string[];
1339
+ };
1340
+ sortBy: {
1341
+ type: string;
1342
+ };
1343
+ sortable: {
1344
+ type: string;
1345
+ };
1346
+ primaryKey: {
1347
+ type: string;
1348
+ };
1349
+ autoIncrement: {
1350
+ type: string;
1351
+ };
1352
+ unique: {
1353
+ type: string;
1354
+ };
1355
+ allowNull: {
1356
+ type: string;
1357
+ };
1358
+ defaultValue: {};
1359
+ enum: {
1360
+ type: string;
1361
+ description: string;
1362
+ items: {
1363
+ anyOf: ({
1364
+ type: string;
1365
+ properties?: undefined;
1366
+ required?: undefined;
1367
+ additionalProperties?: undefined;
1368
+ } | {
1369
+ type: string;
1370
+ properties: {
1371
+ label: {
1372
+ type: string;
1373
+ };
1374
+ value: {};
1375
+ color: {
1376
+ type: string;
1377
+ };
1378
+ };
1379
+ required: string[];
1380
+ additionalProperties: boolean;
1381
+ })[];
1382
+ };
1383
+ };
1384
+ uiSchema: {
1385
+ type: string;
1386
+ description: string;
1387
+ additionalProperties: boolean;
1388
+ };
1389
+ reverseField: {
1390
+ $ref: string;
1391
+ };
1392
+ };
1393
+ additionalProperties: boolean;
1394
+ };
1395
+ create: {
1396
+ allOf: {
1397
+ $ref: string;
1398
+ }[];
1399
+ };
1400
+ update: {
1401
+ allOf: {
1402
+ $ref: string;
1403
+ }[];
1404
+ };
1405
+ };
1406
+ collectionCategory: {
1407
+ filterByTk: {
1408
+ name: string;
1409
+ in: string;
1410
+ description: string;
1411
+ required: boolean;
1412
+ schema: {
1413
+ type: string;
1414
+ };
1415
+ };
1416
+ model: {
1417
+ type: string;
1418
+ properties: {
1419
+ id: {
1420
+ type: string;
1421
+ };
1422
+ name: {
1423
+ type: string;
1424
+ };
1425
+ color: {
1426
+ type: string;
1427
+ };
1428
+ };
1429
+ };
1430
+ create: {
1431
+ type: string;
1432
+ properties: {
1433
+ name: {
1434
+ type: string;
1435
+ };
1436
+ color: {
1437
+ type: string;
1438
+ };
1439
+ };
1440
+ additionalProperties: boolean;
1441
+ };
1442
+ update: {
1443
+ type: string;
1444
+ properties: {
1445
+ name: {
1446
+ type: string;
1447
+ };
1448
+ color: {
1449
+ type: string;
1450
+ };
1451
+ };
1452
+ additionalProperties: boolean;
1453
+ };
1454
+ };
1455
+ };
1456
+ };
412
1457
  };
413
1458
  export default _default;