@tachybase/plugin-workflow-test 0.23.8

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.
Files changed (55) hide show
  1. package/.turbo/turbo-build.log +14 -0
  2. package/LICENSE +201 -0
  3. package/client.d.ts +2 -0
  4. package/client.js +1 -0
  5. package/dist/client/index.d.ts +3 -0
  6. package/dist/client/index.js +1 -0
  7. package/dist/e2e/e2eCollectionModel.d.ts +2830 -0
  8. package/dist/e2e/e2eCollectionModel.js +4264 -0
  9. package/dist/e2e/e2ePageObjectModel.d.ts +309 -0
  10. package/dist/e2e/e2ePageObjectModel.js +627 -0
  11. package/dist/e2e/e2eUtils.d.ts +42 -0
  12. package/dist/e2e/e2eUtils.js +399 -0
  13. package/dist/e2e/index.d.ts +4 -0
  14. package/dist/e2e/index.js +43 -0
  15. package/dist/externalVersion.js +10 -0
  16. package/dist/index.d.ts +2 -0
  17. package/dist/index.js +39 -0
  18. package/dist/server/collections/categories.d.ts +3 -0
  19. package/dist/server/collections/categories.js +35 -0
  20. package/dist/server/collections/comments.d.ts +3 -0
  21. package/dist/server/collections/comments.js +44 -0
  22. package/dist/server/collections/posts.d.ts +3 -0
  23. package/dist/server/collections/posts.js +60 -0
  24. package/dist/server/collections/replies.d.ts +8 -0
  25. package/dist/server/collections/replies.js +31 -0
  26. package/dist/server/collections/tags.d.ts +3 -0
  27. package/dist/server/collections/tags.js +35 -0
  28. package/dist/server/functions.d.ts +4 -0
  29. package/dist/server/functions.js +25 -0
  30. package/dist/server/index.d.ts +10 -0
  31. package/dist/server/index.js +102 -0
  32. package/dist/server/instructions.d.ts +41 -0
  33. package/dist/server/instructions.js +82 -0
  34. package/dist/server/triggers.d.ts +20 -0
  35. package/dist/server/triggers.js +49 -0
  36. package/e2e.d.ts +2 -0
  37. package/e2e.js +1 -0
  38. package/package.json +24 -0
  39. package/server.d.ts +2 -0
  40. package/server.js +1 -0
  41. package/src/client/index.ts +3 -0
  42. package/src/e2e/e2eCollectionModel.ts +4251 -0
  43. package/src/e2e/e2ePageObjectModel.ts +647 -0
  44. package/src/e2e/e2eUtils.ts +950 -0
  45. package/src/e2e/index.ts +4 -0
  46. package/src/index.ts +2 -0
  47. package/src/server/collections/categories.ts +15 -0
  48. package/src/server/collections/comments.ts +24 -0
  49. package/src/server/collections/posts.ts +40 -0
  50. package/src/server/collections/replies.ts +9 -0
  51. package/src/server/collections/tags.ts +15 -0
  52. package/src/server/functions.ts +3 -0
  53. package/src/server/index.ts +84 -0
  54. package/src/server/instructions.ts +67 -0
  55. package/src/server/triggers.ts +19 -0
@@ -0,0 +1,2830 @@
1
+ /**
2
+ * 为json对象中collections节点的name、title属性添加后缀
3
+ * 为json对象中fields节点的collectionName、through、target性添加后缀
4
+ * @param jsonObj json对象
5
+ * @param appendText 后缀文本
6
+ */
7
+ export declare function appendJsonCollectionName(jsonObj: any, appendText: string): any;
8
+ /**
9
+ * builtin_ 为TachyBase内置模板,同TachyBase在页面创建效果一致主要用法3种:
10
+ * 1是测试用例仅需一个无业务字段的表即可验证,
11
+ * 2是作为多对多的中间表,
12
+ * 3是存在先表后关系字段的情况,使用create内置模板表再update表的方式更新数据表来添加全部字段
13
+ * e2e_ 按照不同场景的数据表,可以多个测试用例共用一个或一套数据表
14
+ */
15
+ export declare const builtinGeneral: {
16
+ collections: {
17
+ key: string;
18
+ name: string;
19
+ title: string;
20
+ inherit: boolean;
21
+ hidden: boolean;
22
+ description: any;
23
+ fields: ({
24
+ key: string;
25
+ name: string;
26
+ type: string;
27
+ interface: string;
28
+ description: any;
29
+ collectionName: string;
30
+ parentKey: any;
31
+ reverseKey: any;
32
+ autoIncrement: boolean;
33
+ primaryKey: boolean;
34
+ allowNull: boolean;
35
+ uiSchema: {
36
+ type: string;
37
+ title: string;
38
+ 'x-component': string;
39
+ 'x-read-pretty': boolean;
40
+ 'x-component-props'?: undefined;
41
+ };
42
+ field?: undefined;
43
+ target?: undefined;
44
+ foreignKey?: undefined;
45
+ targetKey?: undefined;
46
+ } | {
47
+ key: string;
48
+ name: string;
49
+ type: string;
50
+ interface: string;
51
+ description: any;
52
+ collectionName: string;
53
+ parentKey: any;
54
+ reverseKey: any;
55
+ field: string;
56
+ uiSchema: {
57
+ type: string;
58
+ title: string;
59
+ 'x-component': string;
60
+ 'x-component-props': {
61
+ fieldNames?: undefined;
62
+ };
63
+ 'x-read-pretty': boolean;
64
+ };
65
+ autoIncrement?: undefined;
66
+ primaryKey?: undefined;
67
+ allowNull?: undefined;
68
+ target?: undefined;
69
+ foreignKey?: undefined;
70
+ targetKey?: undefined;
71
+ } | {
72
+ key: string;
73
+ name: string;
74
+ type: string;
75
+ interface: string;
76
+ description: any;
77
+ collectionName: string;
78
+ parentKey: any;
79
+ reverseKey: any;
80
+ target: string;
81
+ foreignKey: string;
82
+ uiSchema: {
83
+ type: string;
84
+ title: string;
85
+ 'x-component': string;
86
+ 'x-component-props': {
87
+ fieldNames: {
88
+ value: string;
89
+ label: string;
90
+ };
91
+ };
92
+ 'x-read-pretty': boolean;
93
+ };
94
+ targetKey: string;
95
+ autoIncrement?: undefined;
96
+ primaryKey?: undefined;
97
+ allowNull?: undefined;
98
+ field?: undefined;
99
+ })[];
100
+ category: any[];
101
+ logging: boolean;
102
+ autoGenId: boolean;
103
+ createdBy: boolean;
104
+ updatedBy: boolean;
105
+ createdAt: boolean;
106
+ updatedAt: boolean;
107
+ sortable: boolean;
108
+ template: string;
109
+ view: boolean;
110
+ schema: string;
111
+ }[];
112
+ };
113
+ export declare const builtinCalendar: {
114
+ collections: {
115
+ key: string;
116
+ name: string;
117
+ title: string;
118
+ inherit: boolean;
119
+ hidden: boolean;
120
+ description: any;
121
+ fields: ({
122
+ key: string;
123
+ name: string;
124
+ type: string;
125
+ interface: string;
126
+ description: any;
127
+ collectionName: string;
128
+ parentKey: any;
129
+ reverseKey: any;
130
+ uiSchema: {
131
+ type: string;
132
+ title: string;
133
+ 'x-component': string;
134
+ 'x-component-props': string;
135
+ enum: {
136
+ label: string;
137
+ value: string;
138
+ }[];
139
+ 'x-read-pretty'?: undefined;
140
+ };
141
+ autoIncrement?: undefined;
142
+ primaryKey?: undefined;
143
+ allowNull?: undefined;
144
+ field?: undefined;
145
+ target?: undefined;
146
+ foreignKey?: undefined;
147
+ targetKey?: undefined;
148
+ } | {
149
+ key: string;
150
+ name: string;
151
+ type: string;
152
+ interface: any;
153
+ description: any;
154
+ collectionName: string;
155
+ parentKey: any;
156
+ reverseKey: any;
157
+ uiSchema?: undefined;
158
+ autoIncrement?: undefined;
159
+ primaryKey?: undefined;
160
+ allowNull?: undefined;
161
+ field?: undefined;
162
+ target?: undefined;
163
+ foreignKey?: undefined;
164
+ targetKey?: undefined;
165
+ } | {
166
+ key: string;
167
+ name: string;
168
+ type: string;
169
+ interface: string;
170
+ description: any;
171
+ collectionName: string;
172
+ parentKey: any;
173
+ reverseKey: any;
174
+ autoIncrement: boolean;
175
+ primaryKey: boolean;
176
+ allowNull: boolean;
177
+ uiSchema: {
178
+ type: string;
179
+ title: string;
180
+ 'x-component': string;
181
+ 'x-read-pretty': boolean;
182
+ 'x-component-props'?: undefined;
183
+ enum?: undefined;
184
+ };
185
+ field?: undefined;
186
+ target?: undefined;
187
+ foreignKey?: undefined;
188
+ targetKey?: undefined;
189
+ } | {
190
+ key: string;
191
+ name: string;
192
+ type: string;
193
+ interface: string;
194
+ description: any;
195
+ collectionName: string;
196
+ parentKey: any;
197
+ reverseKey: any;
198
+ field: string;
199
+ uiSchema: {
200
+ type: string;
201
+ title: string;
202
+ 'x-component': string;
203
+ 'x-component-props': {
204
+ fieldNames?: undefined;
205
+ };
206
+ 'x-read-pretty': boolean;
207
+ enum?: undefined;
208
+ };
209
+ autoIncrement?: undefined;
210
+ primaryKey?: undefined;
211
+ allowNull?: undefined;
212
+ target?: undefined;
213
+ foreignKey?: undefined;
214
+ targetKey?: undefined;
215
+ } | {
216
+ key: string;
217
+ name: string;
218
+ type: string;
219
+ interface: string;
220
+ description: any;
221
+ collectionName: string;
222
+ parentKey: any;
223
+ reverseKey: any;
224
+ target: string;
225
+ foreignKey: string;
226
+ uiSchema: {
227
+ type: string;
228
+ title: string;
229
+ 'x-component': string;
230
+ 'x-component-props': {
231
+ fieldNames: {
232
+ value: string;
233
+ label: string;
234
+ };
235
+ };
236
+ 'x-read-pretty': boolean;
237
+ enum?: undefined;
238
+ };
239
+ targetKey: string;
240
+ autoIncrement?: undefined;
241
+ primaryKey?: undefined;
242
+ allowNull?: undefined;
243
+ field?: undefined;
244
+ })[];
245
+ category: any[];
246
+ logging: boolean;
247
+ template: string;
248
+ view: boolean;
249
+ createdBy: boolean;
250
+ updatedBy: boolean;
251
+ createdAt: boolean;
252
+ updatedAt: boolean;
253
+ sortable: boolean;
254
+ schema: string;
255
+ }[];
256
+ };
257
+ export declare const builtinTree: {
258
+ collections: {
259
+ key: string;
260
+ name: string;
261
+ title: string;
262
+ inherit: boolean;
263
+ hidden: boolean;
264
+ description: any;
265
+ fields: ({
266
+ key: string;
267
+ name: string;
268
+ type: string;
269
+ interface: string;
270
+ description: any;
271
+ collectionName: string;
272
+ parentKey: any;
273
+ reverseKey: any;
274
+ isForeignKey: boolean;
275
+ uiSchema: {
276
+ type: string;
277
+ title: string;
278
+ 'x-component': string;
279
+ 'x-read-pretty': boolean;
280
+ 'x-component-props'?: undefined;
281
+ };
282
+ target: string;
283
+ foreignKey?: undefined;
284
+ treeParent?: undefined;
285
+ onDelete?: undefined;
286
+ targetKey?: undefined;
287
+ treeChildren?: undefined;
288
+ sourceKey?: undefined;
289
+ autoIncrement?: undefined;
290
+ primaryKey?: undefined;
291
+ allowNull?: undefined;
292
+ field?: undefined;
293
+ } | {
294
+ key: string;
295
+ name: string;
296
+ type: string;
297
+ interface: string;
298
+ description: any;
299
+ collectionName: string;
300
+ parentKey: any;
301
+ reverseKey: any;
302
+ foreignKey: string;
303
+ treeParent: boolean;
304
+ onDelete: string;
305
+ uiSchema: {
306
+ title: string;
307
+ 'x-component': string;
308
+ 'x-component-props': {
309
+ multiple: boolean;
310
+ fieldNames: {
311
+ label: string;
312
+ value: string;
313
+ };
314
+ };
315
+ type?: undefined;
316
+ 'x-read-pretty'?: undefined;
317
+ };
318
+ target: string;
319
+ targetKey: string;
320
+ isForeignKey?: undefined;
321
+ treeChildren?: undefined;
322
+ sourceKey?: undefined;
323
+ autoIncrement?: undefined;
324
+ primaryKey?: undefined;
325
+ allowNull?: undefined;
326
+ field?: undefined;
327
+ } | {
328
+ key: string;
329
+ name: string;
330
+ type: string;
331
+ interface: string;
332
+ description: any;
333
+ collectionName: string;
334
+ parentKey: any;
335
+ reverseKey: any;
336
+ foreignKey: string;
337
+ treeChildren: boolean;
338
+ onDelete: string;
339
+ uiSchema: {
340
+ title: string;
341
+ 'x-component': string;
342
+ 'x-component-props': {
343
+ multiple: boolean;
344
+ fieldNames: {
345
+ label: string;
346
+ value: string;
347
+ };
348
+ };
349
+ type?: undefined;
350
+ 'x-read-pretty'?: undefined;
351
+ };
352
+ target: string;
353
+ targetKey: string;
354
+ sourceKey: string;
355
+ isForeignKey?: undefined;
356
+ treeParent?: undefined;
357
+ autoIncrement?: undefined;
358
+ primaryKey?: undefined;
359
+ allowNull?: undefined;
360
+ field?: undefined;
361
+ } | {
362
+ key: string;
363
+ name: string;
364
+ type: string;
365
+ interface: string;
366
+ description: any;
367
+ collectionName: string;
368
+ parentKey: any;
369
+ reverseKey: any;
370
+ autoIncrement: boolean;
371
+ primaryKey: boolean;
372
+ allowNull: boolean;
373
+ uiSchema: {
374
+ type: string;
375
+ title: string;
376
+ 'x-component': string;
377
+ 'x-read-pretty': boolean;
378
+ 'x-component-props'?: undefined;
379
+ };
380
+ isForeignKey?: undefined;
381
+ target?: undefined;
382
+ foreignKey?: undefined;
383
+ treeParent?: undefined;
384
+ onDelete?: undefined;
385
+ targetKey?: undefined;
386
+ treeChildren?: undefined;
387
+ sourceKey?: undefined;
388
+ field?: undefined;
389
+ } | {
390
+ key: string;
391
+ name: string;
392
+ type: string;
393
+ interface: string;
394
+ description: any;
395
+ collectionName: string;
396
+ parentKey: any;
397
+ reverseKey: any;
398
+ field: string;
399
+ uiSchema: {
400
+ type: string;
401
+ title: string;
402
+ 'x-component': string;
403
+ 'x-component-props': {
404
+ multiple?: undefined;
405
+ fieldNames?: undefined;
406
+ };
407
+ 'x-read-pretty': boolean;
408
+ };
409
+ isForeignKey?: undefined;
410
+ target?: undefined;
411
+ foreignKey?: undefined;
412
+ treeParent?: undefined;
413
+ onDelete?: undefined;
414
+ targetKey?: undefined;
415
+ treeChildren?: undefined;
416
+ sourceKey?: undefined;
417
+ autoIncrement?: undefined;
418
+ primaryKey?: undefined;
419
+ allowNull?: undefined;
420
+ } | {
421
+ key: string;
422
+ name: string;
423
+ type: string;
424
+ interface: string;
425
+ description: any;
426
+ collectionName: string;
427
+ parentKey: any;
428
+ reverseKey: any;
429
+ target: string;
430
+ foreignKey: string;
431
+ uiSchema: {
432
+ type: string;
433
+ title: string;
434
+ 'x-component': string;
435
+ 'x-component-props': {
436
+ fieldNames: {
437
+ value: string;
438
+ label: string;
439
+ };
440
+ multiple?: undefined;
441
+ };
442
+ 'x-read-pretty': boolean;
443
+ };
444
+ targetKey: string;
445
+ isForeignKey?: undefined;
446
+ treeParent?: undefined;
447
+ onDelete?: undefined;
448
+ treeChildren?: undefined;
449
+ sourceKey?: undefined;
450
+ autoIncrement?: undefined;
451
+ primaryKey?: undefined;
452
+ allowNull?: undefined;
453
+ field?: undefined;
454
+ })[];
455
+ category: any[];
456
+ logging: boolean;
457
+ autoGenId: boolean;
458
+ createdBy: boolean;
459
+ updatedBy: boolean;
460
+ createdAt: boolean;
461
+ updatedAt: boolean;
462
+ sortable: boolean;
463
+ template: string;
464
+ view: boolean;
465
+ tree: string;
466
+ schema: string;
467
+ }[];
468
+ };
469
+ export declare const builtinFile: {
470
+ collections: {
471
+ key: string;
472
+ name: string;
473
+ title: string;
474
+ inherit: boolean;
475
+ hidden: boolean;
476
+ description: any;
477
+ fields: ({
478
+ key: string;
479
+ name: string;
480
+ type: string;
481
+ interface: string;
482
+ description: any;
483
+ collectionName: string;
484
+ parentKey: any;
485
+ reverseKey: any;
486
+ deletable: boolean;
487
+ uiSchema: {
488
+ type: string;
489
+ title: string;
490
+ 'x-component': string;
491
+ 'x-read-pretty'?: undefined;
492
+ 'x-component-props'?: undefined;
493
+ };
494
+ field?: undefined;
495
+ comment?: undefined;
496
+ target?: undefined;
497
+ foreignKey?: undefined;
498
+ targetKey?: undefined;
499
+ defaultValue?: undefined;
500
+ autoIncrement?: undefined;
501
+ primaryKey?: undefined;
502
+ allowNull?: undefined;
503
+ } | {
504
+ key: string;
505
+ name: string;
506
+ type: string;
507
+ interface: string;
508
+ description: any;
509
+ collectionName: string;
510
+ parentKey: any;
511
+ reverseKey: any;
512
+ deletable: boolean;
513
+ uiSchema: {
514
+ type: string;
515
+ title: string;
516
+ 'x-component': string;
517
+ 'x-read-pretty': boolean;
518
+ 'x-component-props'?: undefined;
519
+ };
520
+ field?: undefined;
521
+ comment?: undefined;
522
+ target?: undefined;
523
+ foreignKey?: undefined;
524
+ targetKey?: undefined;
525
+ defaultValue?: undefined;
526
+ autoIncrement?: undefined;
527
+ primaryKey?: undefined;
528
+ allowNull?: undefined;
529
+ } | {
530
+ key: string;
531
+ name: string;
532
+ type: string;
533
+ interface: string;
534
+ description: any;
535
+ collectionName: string;
536
+ parentKey: any;
537
+ reverseKey: any;
538
+ deletable: boolean;
539
+ uiSchema: {
540
+ type: string;
541
+ title: string;
542
+ 'x-component': string;
543
+ 'x-read-pretty': boolean;
544
+ 'x-component-props': {
545
+ stringMode: boolean;
546
+ step: string;
547
+ fieldNames?: undefined;
548
+ };
549
+ };
550
+ field?: undefined;
551
+ comment?: undefined;
552
+ target?: undefined;
553
+ foreignKey?: undefined;
554
+ targetKey?: undefined;
555
+ defaultValue?: undefined;
556
+ autoIncrement?: undefined;
557
+ primaryKey?: undefined;
558
+ allowNull?: undefined;
559
+ } | {
560
+ key: string;
561
+ name: string;
562
+ type: string;
563
+ interface: string;
564
+ description: any;
565
+ collectionName: string;
566
+ parentKey: any;
567
+ reverseKey: any;
568
+ field: string;
569
+ deletable: boolean;
570
+ uiSchema: {
571
+ type: string;
572
+ title: string;
573
+ 'x-component': string;
574
+ 'x-read-pretty': boolean;
575
+ 'x-component-props'?: undefined;
576
+ };
577
+ comment?: undefined;
578
+ target?: undefined;
579
+ foreignKey?: undefined;
580
+ targetKey?: undefined;
581
+ defaultValue?: undefined;
582
+ autoIncrement?: undefined;
583
+ primaryKey?: undefined;
584
+ allowNull?: undefined;
585
+ } | {
586
+ key: string;
587
+ name: string;
588
+ type: string;
589
+ interface: any;
590
+ description: any;
591
+ collectionName: string;
592
+ parentKey: any;
593
+ reverseKey: any;
594
+ comment: string;
595
+ target: string;
596
+ foreignKey: string;
597
+ deletable: boolean;
598
+ targetKey: string;
599
+ uiSchema?: undefined;
600
+ field?: undefined;
601
+ defaultValue?: undefined;
602
+ autoIncrement?: undefined;
603
+ primaryKey?: undefined;
604
+ allowNull?: undefined;
605
+ } | {
606
+ key: string;
607
+ name: string;
608
+ type: string;
609
+ interface: any;
610
+ description: any;
611
+ collectionName: string;
612
+ parentKey: any;
613
+ reverseKey: any;
614
+ deletable: boolean;
615
+ defaultValue: {};
616
+ uiSchema?: undefined;
617
+ field?: undefined;
618
+ comment?: undefined;
619
+ target?: undefined;
620
+ foreignKey?: undefined;
621
+ targetKey?: undefined;
622
+ autoIncrement?: undefined;
623
+ primaryKey?: undefined;
624
+ allowNull?: undefined;
625
+ } | {
626
+ key: string;
627
+ name: string;
628
+ type: string;
629
+ interface: string;
630
+ description: any;
631
+ collectionName: string;
632
+ parentKey: any;
633
+ reverseKey: any;
634
+ autoIncrement: boolean;
635
+ primaryKey: boolean;
636
+ allowNull: boolean;
637
+ uiSchema: {
638
+ type: string;
639
+ title: string;
640
+ 'x-component': string;
641
+ 'x-read-pretty': boolean;
642
+ 'x-component-props'?: undefined;
643
+ };
644
+ deletable?: undefined;
645
+ field?: undefined;
646
+ comment?: undefined;
647
+ target?: undefined;
648
+ foreignKey?: undefined;
649
+ targetKey?: undefined;
650
+ defaultValue?: undefined;
651
+ } | {
652
+ key: string;
653
+ name: string;
654
+ type: string;
655
+ interface: string;
656
+ description: any;
657
+ collectionName: string;
658
+ parentKey: any;
659
+ reverseKey: any;
660
+ field: string;
661
+ uiSchema: {
662
+ type: string;
663
+ title: string;
664
+ 'x-component': string;
665
+ 'x-component-props': {
666
+ stringMode?: undefined;
667
+ step?: undefined;
668
+ fieldNames?: undefined;
669
+ };
670
+ 'x-read-pretty': boolean;
671
+ };
672
+ deletable?: undefined;
673
+ comment?: undefined;
674
+ target?: undefined;
675
+ foreignKey?: undefined;
676
+ targetKey?: undefined;
677
+ defaultValue?: undefined;
678
+ autoIncrement?: undefined;
679
+ primaryKey?: undefined;
680
+ allowNull?: undefined;
681
+ } | {
682
+ key: string;
683
+ name: string;
684
+ type: string;
685
+ interface: string;
686
+ description: any;
687
+ collectionName: string;
688
+ parentKey: any;
689
+ reverseKey: any;
690
+ target: string;
691
+ foreignKey: string;
692
+ uiSchema: {
693
+ type: string;
694
+ title: string;
695
+ 'x-component': string;
696
+ 'x-component-props': {
697
+ fieldNames: {
698
+ value: string;
699
+ label: string;
700
+ };
701
+ stringMode?: undefined;
702
+ step?: undefined;
703
+ };
704
+ 'x-read-pretty': boolean;
705
+ };
706
+ targetKey: string;
707
+ deletable?: undefined;
708
+ field?: undefined;
709
+ comment?: undefined;
710
+ defaultValue?: undefined;
711
+ autoIncrement?: undefined;
712
+ primaryKey?: undefined;
713
+ allowNull?: undefined;
714
+ })[];
715
+ category: any[];
716
+ logging: boolean;
717
+ template: string;
718
+ view: boolean;
719
+ createdBy: boolean;
720
+ updatedBy: boolean;
721
+ storage: string;
722
+ schema: string;
723
+ }[];
724
+ };
725
+ export declare const builtinExpression: {
726
+ collections: {
727
+ key: string;
728
+ name: string;
729
+ title: string;
730
+ inherit: boolean;
731
+ hidden: boolean;
732
+ description: any;
733
+ fields: ({
734
+ key: string;
735
+ name: string;
736
+ type: string;
737
+ interface: string;
738
+ description: any;
739
+ collectionName: string;
740
+ parentKey: any;
741
+ reverseKey: any;
742
+ uiSchema: {
743
+ type: string;
744
+ title: string;
745
+ 'x-component': string;
746
+ enum: {
747
+ value: string;
748
+ label: string;
749
+ tooltip: string;
750
+ link: string;
751
+ }[];
752
+ default: string;
753
+ 'x-component-props'?: undefined;
754
+ 'x-read-pretty'?: undefined;
755
+ };
756
+ autoIncrement?: undefined;
757
+ primaryKey?: undefined;
758
+ allowNull?: undefined;
759
+ field?: undefined;
760
+ target?: undefined;
761
+ foreignKey?: undefined;
762
+ targetKey?: undefined;
763
+ } | {
764
+ key: string;
765
+ name: string;
766
+ type: string;
767
+ interface: string;
768
+ description: any;
769
+ collectionName: string;
770
+ parentKey: any;
771
+ reverseKey: any;
772
+ uiSchema: {
773
+ type: string;
774
+ title: string;
775
+ 'x-component': string;
776
+ 'x-component-props': {
777
+ fieldNames?: undefined;
778
+ };
779
+ enum?: undefined;
780
+ default?: undefined;
781
+ 'x-read-pretty'?: undefined;
782
+ };
783
+ autoIncrement?: undefined;
784
+ primaryKey?: undefined;
785
+ allowNull?: undefined;
786
+ field?: undefined;
787
+ target?: undefined;
788
+ foreignKey?: undefined;
789
+ targetKey?: undefined;
790
+ } | {
791
+ key: string;
792
+ name: string;
793
+ type: string;
794
+ interface: string;
795
+ description: any;
796
+ collectionName: string;
797
+ parentKey: any;
798
+ reverseKey: any;
799
+ uiSchema: {
800
+ type: string;
801
+ title: string;
802
+ 'x-component': string;
803
+ enum?: undefined;
804
+ default?: undefined;
805
+ 'x-component-props'?: undefined;
806
+ 'x-read-pretty'?: undefined;
807
+ };
808
+ autoIncrement?: undefined;
809
+ primaryKey?: undefined;
810
+ allowNull?: undefined;
811
+ field?: undefined;
812
+ target?: undefined;
813
+ foreignKey?: undefined;
814
+ targetKey?: undefined;
815
+ } | {
816
+ key: string;
817
+ name: string;
818
+ type: string;
819
+ interface: string;
820
+ description: any;
821
+ collectionName: string;
822
+ parentKey: any;
823
+ reverseKey: any;
824
+ autoIncrement: boolean;
825
+ primaryKey: boolean;
826
+ allowNull: boolean;
827
+ uiSchema: {
828
+ type: string;
829
+ title: string;
830
+ 'x-component': string;
831
+ 'x-read-pretty': boolean;
832
+ enum?: undefined;
833
+ default?: undefined;
834
+ 'x-component-props'?: undefined;
835
+ };
836
+ field?: undefined;
837
+ target?: undefined;
838
+ foreignKey?: undefined;
839
+ targetKey?: undefined;
840
+ } | {
841
+ key: string;
842
+ name: string;
843
+ type: string;
844
+ interface: string;
845
+ description: any;
846
+ collectionName: string;
847
+ parentKey: any;
848
+ reverseKey: any;
849
+ field: string;
850
+ uiSchema: {
851
+ type: string;
852
+ title: string;
853
+ 'x-component': string;
854
+ 'x-component-props': {
855
+ fieldNames?: undefined;
856
+ };
857
+ 'x-read-pretty': boolean;
858
+ enum?: undefined;
859
+ default?: undefined;
860
+ };
861
+ autoIncrement?: undefined;
862
+ primaryKey?: undefined;
863
+ allowNull?: undefined;
864
+ target?: undefined;
865
+ foreignKey?: undefined;
866
+ targetKey?: undefined;
867
+ } | {
868
+ key: string;
869
+ name: string;
870
+ type: string;
871
+ interface: string;
872
+ description: any;
873
+ collectionName: string;
874
+ parentKey: any;
875
+ reverseKey: any;
876
+ target: string;
877
+ foreignKey: string;
878
+ uiSchema: {
879
+ type: string;
880
+ title: string;
881
+ 'x-component': string;
882
+ 'x-component-props': {
883
+ fieldNames: {
884
+ value: string;
885
+ label: string;
886
+ };
887
+ };
888
+ 'x-read-pretty': boolean;
889
+ enum?: undefined;
890
+ default?: undefined;
891
+ };
892
+ targetKey: string;
893
+ autoIncrement?: undefined;
894
+ primaryKey?: undefined;
895
+ allowNull?: undefined;
896
+ field?: undefined;
897
+ })[];
898
+ category: any[];
899
+ logging: boolean;
900
+ template: string;
901
+ view: boolean;
902
+ createdBy: boolean;
903
+ updatedBy: boolean;
904
+ createdAt: boolean;
905
+ updatedAt: boolean;
906
+ sortable: boolean;
907
+ schema: string;
908
+ }[];
909
+ };
910
+ export declare const generalWithNoRelationalFields: {
911
+ collections: {
912
+ key: string;
913
+ name: string;
914
+ title: string;
915
+ inherit: boolean;
916
+ hidden: boolean;
917
+ fields: ({
918
+ key: string;
919
+ name: string;
920
+ type: string;
921
+ interface: string;
922
+ collectionName: string;
923
+ parentKey: any;
924
+ reverseKey: any;
925
+ autoIncrement: boolean;
926
+ primaryKey: boolean;
927
+ allowNull: boolean;
928
+ uiSchema: {
929
+ type: string;
930
+ title: string;
931
+ 'x-component': string;
932
+ 'x-read-pretty': boolean;
933
+ 'x-component-props'?: undefined;
934
+ 'x-validator'?: undefined;
935
+ enum?: undefined;
936
+ default?: undefined;
937
+ };
938
+ field?: undefined;
939
+ target?: undefined;
940
+ foreignKey?: undefined;
941
+ targetKey?: undefined;
942
+ patterns?: undefined;
943
+ inputable?: undefined;
944
+ defaultValue?: undefined;
945
+ dataType?: undefined;
946
+ engine?: undefined;
947
+ expression?: undefined;
948
+ } | {
949
+ key: string;
950
+ name: string;
951
+ type: string;
952
+ interface: string;
953
+ collectionName: string;
954
+ parentKey: any;
955
+ reverseKey: any;
956
+ field: string;
957
+ uiSchema: {
958
+ type: string;
959
+ title: string;
960
+ 'x-component': string;
961
+ 'x-component-props': {
962
+ fieldNames?: undefined;
963
+ type?: undefined;
964
+ stringMode?: undefined;
965
+ step?: undefined;
966
+ addonAfter?: undefined;
967
+ mode?: undefined;
968
+ dateFormat?: undefined;
969
+ gmt?: undefined;
970
+ showTime?: undefined;
971
+ autoSize?: undefined;
972
+ };
973
+ 'x-read-pretty': boolean;
974
+ 'x-validator'?: undefined;
975
+ enum?: undefined;
976
+ default?: undefined;
977
+ };
978
+ autoIncrement?: undefined;
979
+ primaryKey?: undefined;
980
+ allowNull?: undefined;
981
+ target?: undefined;
982
+ foreignKey?: undefined;
983
+ targetKey?: undefined;
984
+ patterns?: undefined;
985
+ inputable?: undefined;
986
+ defaultValue?: undefined;
987
+ dataType?: undefined;
988
+ engine?: undefined;
989
+ expression?: undefined;
990
+ } | {
991
+ key: string;
992
+ name: string;
993
+ type: string;
994
+ interface: string;
995
+ collectionName: string;
996
+ parentKey: any;
997
+ reverseKey: any;
998
+ target: string;
999
+ foreignKey: string;
1000
+ uiSchema: {
1001
+ type: string;
1002
+ title: string;
1003
+ 'x-component': string;
1004
+ 'x-component-props': {
1005
+ fieldNames: {
1006
+ value: string;
1007
+ label: string;
1008
+ };
1009
+ type?: undefined;
1010
+ stringMode?: undefined;
1011
+ step?: undefined;
1012
+ addonAfter?: undefined;
1013
+ mode?: undefined;
1014
+ dateFormat?: undefined;
1015
+ gmt?: undefined;
1016
+ showTime?: undefined;
1017
+ autoSize?: undefined;
1018
+ };
1019
+ 'x-read-pretty': boolean;
1020
+ 'x-validator'?: undefined;
1021
+ enum?: undefined;
1022
+ default?: undefined;
1023
+ };
1024
+ targetKey: string;
1025
+ autoIncrement?: undefined;
1026
+ primaryKey?: undefined;
1027
+ allowNull?: undefined;
1028
+ field?: undefined;
1029
+ patterns?: undefined;
1030
+ inputable?: undefined;
1031
+ defaultValue?: undefined;
1032
+ dataType?: undefined;
1033
+ engine?: undefined;
1034
+ expression?: undefined;
1035
+ } | {
1036
+ key: string;
1037
+ name: string;
1038
+ type: string;
1039
+ interface: string;
1040
+ collectionName: string;
1041
+ parentKey: any;
1042
+ reverseKey: any;
1043
+ patterns: ({
1044
+ type: string;
1045
+ options: {
1046
+ value: string;
1047
+ digits?: undefined;
1048
+ start?: undefined;
1049
+ key?: undefined;
1050
+ };
1051
+ } | {
1052
+ type: string;
1053
+ options: {
1054
+ digits: number;
1055
+ start: number;
1056
+ key: number;
1057
+ value?: undefined;
1058
+ };
1059
+ })[];
1060
+ uiSchema: {
1061
+ type: string;
1062
+ 'x-component': string;
1063
+ 'x-component-props': {
1064
+ fieldNames?: undefined;
1065
+ type?: undefined;
1066
+ stringMode?: undefined;
1067
+ step?: undefined;
1068
+ addonAfter?: undefined;
1069
+ mode?: undefined;
1070
+ dateFormat?: undefined;
1071
+ gmt?: undefined;
1072
+ showTime?: undefined;
1073
+ autoSize?: undefined;
1074
+ };
1075
+ title: string;
1076
+ 'x-read-pretty'?: undefined;
1077
+ 'x-validator'?: undefined;
1078
+ enum?: undefined;
1079
+ default?: undefined;
1080
+ };
1081
+ inputable: boolean;
1082
+ autoIncrement?: undefined;
1083
+ primaryKey?: undefined;
1084
+ allowNull?: undefined;
1085
+ field?: undefined;
1086
+ target?: undefined;
1087
+ foreignKey?: undefined;
1088
+ targetKey?: undefined;
1089
+ defaultValue?: undefined;
1090
+ dataType?: undefined;
1091
+ engine?: undefined;
1092
+ expression?: undefined;
1093
+ } | {
1094
+ key: string;
1095
+ name: string;
1096
+ type: string;
1097
+ interface: string;
1098
+ collectionName: string;
1099
+ parentKey: any;
1100
+ reverseKey: any;
1101
+ uiSchema: {
1102
+ type: string;
1103
+ 'x-component': string;
1104
+ title: string;
1105
+ 'x-read-pretty'?: undefined;
1106
+ 'x-component-props'?: undefined;
1107
+ 'x-validator'?: undefined;
1108
+ enum?: undefined;
1109
+ default?: undefined;
1110
+ };
1111
+ autoIncrement?: undefined;
1112
+ primaryKey?: undefined;
1113
+ allowNull?: undefined;
1114
+ field?: undefined;
1115
+ target?: undefined;
1116
+ foreignKey?: undefined;
1117
+ targetKey?: undefined;
1118
+ patterns?: undefined;
1119
+ inputable?: undefined;
1120
+ defaultValue?: undefined;
1121
+ dataType?: undefined;
1122
+ engine?: undefined;
1123
+ expression?: undefined;
1124
+ } | {
1125
+ key: string;
1126
+ name: string;
1127
+ type: string;
1128
+ interface: string;
1129
+ collectionName: string;
1130
+ parentKey: any;
1131
+ reverseKey: any;
1132
+ uiSchema: {
1133
+ type: string;
1134
+ 'x-component': string;
1135
+ 'x-component-props': {
1136
+ type: string;
1137
+ fieldNames?: undefined;
1138
+ stringMode?: undefined;
1139
+ step?: undefined;
1140
+ addonAfter?: undefined;
1141
+ mode?: undefined;
1142
+ dateFormat?: undefined;
1143
+ gmt?: undefined;
1144
+ showTime?: undefined;
1145
+ autoSize?: undefined;
1146
+ };
1147
+ title: string;
1148
+ 'x-read-pretty'?: undefined;
1149
+ 'x-validator'?: undefined;
1150
+ enum?: undefined;
1151
+ default?: undefined;
1152
+ };
1153
+ autoIncrement?: undefined;
1154
+ primaryKey?: undefined;
1155
+ allowNull?: undefined;
1156
+ field?: undefined;
1157
+ target?: undefined;
1158
+ foreignKey?: undefined;
1159
+ targetKey?: undefined;
1160
+ patterns?: undefined;
1161
+ inputable?: undefined;
1162
+ defaultValue?: undefined;
1163
+ dataType?: undefined;
1164
+ engine?: undefined;
1165
+ expression?: undefined;
1166
+ } | {
1167
+ key: string;
1168
+ name: string;
1169
+ type: string;
1170
+ interface: string;
1171
+ collectionName: string;
1172
+ parentKey: any;
1173
+ reverseKey: any;
1174
+ uiSchema: {
1175
+ type: string;
1176
+ 'x-component': string;
1177
+ 'x-validator': string;
1178
+ title: string;
1179
+ 'x-read-pretty'?: undefined;
1180
+ 'x-component-props'?: undefined;
1181
+ enum?: undefined;
1182
+ default?: undefined;
1183
+ };
1184
+ autoIncrement?: undefined;
1185
+ primaryKey?: undefined;
1186
+ allowNull?: undefined;
1187
+ field?: undefined;
1188
+ target?: undefined;
1189
+ foreignKey?: undefined;
1190
+ targetKey?: undefined;
1191
+ patterns?: undefined;
1192
+ inputable?: undefined;
1193
+ defaultValue?: undefined;
1194
+ dataType?: undefined;
1195
+ engine?: undefined;
1196
+ expression?: undefined;
1197
+ } | {
1198
+ key: string;
1199
+ name: string;
1200
+ type: string;
1201
+ interface: string;
1202
+ collectionName: string;
1203
+ parentKey: any;
1204
+ reverseKey: any;
1205
+ uiSchema: {
1206
+ type: string;
1207
+ 'x-component': string;
1208
+ 'x-component-props': {
1209
+ stringMode: boolean;
1210
+ step: string;
1211
+ fieldNames?: undefined;
1212
+ type?: undefined;
1213
+ addonAfter?: undefined;
1214
+ mode?: undefined;
1215
+ dateFormat?: undefined;
1216
+ gmt?: undefined;
1217
+ showTime?: undefined;
1218
+ autoSize?: undefined;
1219
+ };
1220
+ 'x-validator': string;
1221
+ title: string;
1222
+ 'x-read-pretty'?: undefined;
1223
+ enum?: undefined;
1224
+ default?: undefined;
1225
+ };
1226
+ autoIncrement?: undefined;
1227
+ primaryKey?: undefined;
1228
+ allowNull?: undefined;
1229
+ field?: undefined;
1230
+ target?: undefined;
1231
+ foreignKey?: undefined;
1232
+ targetKey?: undefined;
1233
+ patterns?: undefined;
1234
+ inputable?: undefined;
1235
+ defaultValue?: undefined;
1236
+ dataType?: undefined;
1237
+ engine?: undefined;
1238
+ expression?: undefined;
1239
+ } | {
1240
+ key: string;
1241
+ name: string;
1242
+ type: string;
1243
+ interface: string;
1244
+ collectionName: string;
1245
+ parentKey: any;
1246
+ reverseKey: any;
1247
+ uiSchema: {
1248
+ 'x-component-props': {
1249
+ step: string;
1250
+ stringMode: boolean;
1251
+ fieldNames?: undefined;
1252
+ type?: undefined;
1253
+ addonAfter?: undefined;
1254
+ mode?: undefined;
1255
+ dateFormat?: undefined;
1256
+ gmt?: undefined;
1257
+ showTime?: undefined;
1258
+ autoSize?: undefined;
1259
+ };
1260
+ type: string;
1261
+ 'x-component': string;
1262
+ title: string;
1263
+ 'x-read-pretty'?: undefined;
1264
+ 'x-validator'?: undefined;
1265
+ enum?: undefined;
1266
+ default?: undefined;
1267
+ };
1268
+ autoIncrement?: undefined;
1269
+ primaryKey?: undefined;
1270
+ allowNull?: undefined;
1271
+ field?: undefined;
1272
+ target?: undefined;
1273
+ foreignKey?: undefined;
1274
+ targetKey?: undefined;
1275
+ patterns?: undefined;
1276
+ inputable?: undefined;
1277
+ defaultValue?: undefined;
1278
+ dataType?: undefined;
1279
+ engine?: undefined;
1280
+ expression?: undefined;
1281
+ } | {
1282
+ key: string;
1283
+ name: string;
1284
+ type: string;
1285
+ interface: string;
1286
+ collectionName: string;
1287
+ parentKey: any;
1288
+ reverseKey: any;
1289
+ uiSchema: {
1290
+ 'x-component-props': {
1291
+ step: string;
1292
+ stringMode: boolean;
1293
+ addonAfter: string;
1294
+ fieldNames?: undefined;
1295
+ type?: undefined;
1296
+ mode?: undefined;
1297
+ dateFormat?: undefined;
1298
+ gmt?: undefined;
1299
+ showTime?: undefined;
1300
+ autoSize?: undefined;
1301
+ };
1302
+ type: string;
1303
+ 'x-component': string;
1304
+ title: string;
1305
+ 'x-read-pretty'?: undefined;
1306
+ 'x-validator'?: undefined;
1307
+ enum?: undefined;
1308
+ default?: undefined;
1309
+ };
1310
+ autoIncrement?: undefined;
1311
+ primaryKey?: undefined;
1312
+ allowNull?: undefined;
1313
+ field?: undefined;
1314
+ target?: undefined;
1315
+ foreignKey?: undefined;
1316
+ targetKey?: undefined;
1317
+ patterns?: undefined;
1318
+ inputable?: undefined;
1319
+ defaultValue?: undefined;
1320
+ dataType?: undefined;
1321
+ engine?: undefined;
1322
+ expression?: undefined;
1323
+ } | {
1324
+ key: string;
1325
+ name: string;
1326
+ type: string;
1327
+ interface: string;
1328
+ collectionName: string;
1329
+ parentKey: any;
1330
+ reverseKey: any;
1331
+ uiSchema: {
1332
+ enum: {
1333
+ value: string;
1334
+ label: string;
1335
+ }[];
1336
+ type: string;
1337
+ 'x-component': string;
1338
+ title: string;
1339
+ 'x-read-pretty'?: undefined;
1340
+ 'x-component-props'?: undefined;
1341
+ 'x-validator'?: undefined;
1342
+ default?: undefined;
1343
+ };
1344
+ autoIncrement?: undefined;
1345
+ primaryKey?: undefined;
1346
+ allowNull?: undefined;
1347
+ field?: undefined;
1348
+ target?: undefined;
1349
+ foreignKey?: undefined;
1350
+ targetKey?: undefined;
1351
+ patterns?: undefined;
1352
+ inputable?: undefined;
1353
+ defaultValue?: undefined;
1354
+ dataType?: undefined;
1355
+ engine?: undefined;
1356
+ expression?: undefined;
1357
+ } | {
1358
+ key: string;
1359
+ name: string;
1360
+ type: string;
1361
+ interface: string;
1362
+ collectionName: string;
1363
+ parentKey: any;
1364
+ reverseKey: any;
1365
+ uiSchema: {
1366
+ enum: {
1367
+ value: string;
1368
+ label: string;
1369
+ }[];
1370
+ type: string;
1371
+ 'x-component': string;
1372
+ 'x-component-props': {
1373
+ mode: string;
1374
+ fieldNames?: undefined;
1375
+ type?: undefined;
1376
+ stringMode?: undefined;
1377
+ step?: undefined;
1378
+ addonAfter?: undefined;
1379
+ dateFormat?: undefined;
1380
+ gmt?: undefined;
1381
+ showTime?: undefined;
1382
+ autoSize?: undefined;
1383
+ };
1384
+ title: string;
1385
+ 'x-read-pretty'?: undefined;
1386
+ 'x-validator'?: undefined;
1387
+ default?: undefined;
1388
+ };
1389
+ defaultValue: any[];
1390
+ autoIncrement?: undefined;
1391
+ primaryKey?: undefined;
1392
+ allowNull?: undefined;
1393
+ field?: undefined;
1394
+ target?: undefined;
1395
+ foreignKey?: undefined;
1396
+ targetKey?: undefined;
1397
+ patterns?: undefined;
1398
+ inputable?: undefined;
1399
+ dataType?: undefined;
1400
+ engine?: undefined;
1401
+ expression?: undefined;
1402
+ } | {
1403
+ key: string;
1404
+ name: string;
1405
+ type: string;
1406
+ interface: string;
1407
+ collectionName: string;
1408
+ parentKey: any;
1409
+ reverseKey: any;
1410
+ uiSchema: {
1411
+ enum: {
1412
+ value: string;
1413
+ label: string;
1414
+ }[];
1415
+ type: string;
1416
+ 'x-component': string;
1417
+ title: string;
1418
+ 'x-read-pretty'?: undefined;
1419
+ 'x-component-props'?: undefined;
1420
+ 'x-validator'?: undefined;
1421
+ default?: undefined;
1422
+ };
1423
+ defaultValue: any[];
1424
+ autoIncrement?: undefined;
1425
+ primaryKey?: undefined;
1426
+ allowNull?: undefined;
1427
+ field?: undefined;
1428
+ target?: undefined;
1429
+ foreignKey?: undefined;
1430
+ targetKey?: undefined;
1431
+ patterns?: undefined;
1432
+ inputable?: undefined;
1433
+ dataType?: undefined;
1434
+ engine?: undefined;
1435
+ expression?: undefined;
1436
+ } | {
1437
+ key: string;
1438
+ name: string;
1439
+ type: string;
1440
+ interface: string;
1441
+ collectionName: string;
1442
+ parentKey: any;
1443
+ reverseKey: any;
1444
+ uiSchema: {
1445
+ 'x-component-props': {
1446
+ dateFormat: string;
1447
+ gmt: boolean;
1448
+ showTime: boolean;
1449
+ fieldNames?: undefined;
1450
+ type?: undefined;
1451
+ stringMode?: undefined;
1452
+ step?: undefined;
1453
+ addonAfter?: undefined;
1454
+ mode?: undefined;
1455
+ autoSize?: undefined;
1456
+ };
1457
+ type: string;
1458
+ 'x-component': string;
1459
+ title: string;
1460
+ 'x-read-pretty'?: undefined;
1461
+ 'x-validator'?: undefined;
1462
+ enum?: undefined;
1463
+ default?: undefined;
1464
+ };
1465
+ autoIncrement?: undefined;
1466
+ primaryKey?: undefined;
1467
+ allowNull?: undefined;
1468
+ field?: undefined;
1469
+ target?: undefined;
1470
+ foreignKey?: undefined;
1471
+ targetKey?: undefined;
1472
+ patterns?: undefined;
1473
+ inputable?: undefined;
1474
+ defaultValue?: undefined;
1475
+ dataType?: undefined;
1476
+ engine?: undefined;
1477
+ expression?: undefined;
1478
+ } | {
1479
+ key: string;
1480
+ name: string;
1481
+ type: string;
1482
+ interface: string;
1483
+ collectionName: string;
1484
+ parentKey: any;
1485
+ reverseKey: any;
1486
+ defaultValue: any;
1487
+ uiSchema: {
1488
+ type: string;
1489
+ 'x-component': string;
1490
+ 'x-component-props': {
1491
+ autoSize: {
1492
+ minRows: number;
1493
+ };
1494
+ fieldNames?: undefined;
1495
+ type?: undefined;
1496
+ stringMode?: undefined;
1497
+ step?: undefined;
1498
+ addonAfter?: undefined;
1499
+ mode?: undefined;
1500
+ dateFormat?: undefined;
1501
+ gmt?: undefined;
1502
+ showTime?: undefined;
1503
+ };
1504
+ default: any;
1505
+ title: string;
1506
+ 'x-read-pretty'?: undefined;
1507
+ 'x-validator'?: undefined;
1508
+ enum?: undefined;
1509
+ };
1510
+ autoIncrement?: undefined;
1511
+ primaryKey?: undefined;
1512
+ allowNull?: undefined;
1513
+ field?: undefined;
1514
+ target?: undefined;
1515
+ foreignKey?: undefined;
1516
+ targetKey?: undefined;
1517
+ patterns?: undefined;
1518
+ inputable?: undefined;
1519
+ dataType?: undefined;
1520
+ engine?: undefined;
1521
+ expression?: undefined;
1522
+ } | {
1523
+ key: string;
1524
+ name: string;
1525
+ type: string;
1526
+ interface: string;
1527
+ collectionName: string;
1528
+ parentKey: any;
1529
+ reverseKey: any;
1530
+ dataType: string;
1531
+ uiSchema: {
1532
+ 'x-component-props': {
1533
+ step: string;
1534
+ stringMode: boolean;
1535
+ fieldNames?: undefined;
1536
+ type?: undefined;
1537
+ addonAfter?: undefined;
1538
+ mode?: undefined;
1539
+ dateFormat?: undefined;
1540
+ gmt?: undefined;
1541
+ showTime?: undefined;
1542
+ autoSize?: undefined;
1543
+ };
1544
+ type: string;
1545
+ 'x-component': string;
1546
+ 'x-read-pretty': boolean;
1547
+ title: string;
1548
+ 'x-validator'?: undefined;
1549
+ enum?: undefined;
1550
+ default?: undefined;
1551
+ };
1552
+ engine: string;
1553
+ expression: string;
1554
+ autoIncrement?: undefined;
1555
+ primaryKey?: undefined;
1556
+ allowNull?: undefined;
1557
+ field?: undefined;
1558
+ target?: undefined;
1559
+ foreignKey?: undefined;
1560
+ targetKey?: undefined;
1561
+ patterns?: undefined;
1562
+ inputable?: undefined;
1563
+ defaultValue?: undefined;
1564
+ })[];
1565
+ category: any[];
1566
+ logging: boolean;
1567
+ autoGenId: boolean;
1568
+ createdBy: boolean;
1569
+ updatedBy: boolean;
1570
+ createdAt: boolean;
1571
+ updatedAt: boolean;
1572
+ sortable: boolean;
1573
+ template: string;
1574
+ }[];
1575
+ };
1576
+ export declare const generalWithNoRelationalFieldsData: {
1577
+ createdAt: string;
1578
+ updatedAt: string;
1579
+ createdById: number;
1580
+ updatedById: number;
1581
+ testdataid: number;
1582
+ orgcode: string;
1583
+ orgname: string;
1584
+ address: string;
1585
+ phone: string;
1586
+ email: string;
1587
+ url: string;
1588
+ staffnum: number;
1589
+ regcapital: number;
1590
+ paidcapital: number;
1591
+ insuranceratio: number;
1592
+ isenable: boolean;
1593
+ status_singleselect: string;
1594
+ range_multipleselect: string[];
1595
+ status_radio: string;
1596
+ range_check: string[];
1597
+ establishdate: string;
1598
+ }[];
1599
+ declare const _default: {
1600
+ appendJsonCollectionName: typeof appendJsonCollectionName;
1601
+ builtinGeneral: {
1602
+ collections: {
1603
+ key: string;
1604
+ name: string;
1605
+ title: string;
1606
+ inherit: boolean;
1607
+ hidden: boolean;
1608
+ description: any;
1609
+ fields: ({
1610
+ key: string;
1611
+ name: string;
1612
+ type: string;
1613
+ interface: string;
1614
+ description: any;
1615
+ collectionName: string;
1616
+ parentKey: any;
1617
+ reverseKey: any;
1618
+ autoIncrement: boolean;
1619
+ primaryKey: boolean;
1620
+ allowNull: boolean;
1621
+ uiSchema: {
1622
+ type: string;
1623
+ title: string;
1624
+ 'x-component': string;
1625
+ 'x-read-pretty': boolean;
1626
+ 'x-component-props'?: undefined;
1627
+ };
1628
+ field?: undefined;
1629
+ target?: undefined;
1630
+ foreignKey?: undefined;
1631
+ targetKey?: undefined;
1632
+ } | {
1633
+ key: string;
1634
+ name: string;
1635
+ type: string;
1636
+ interface: string;
1637
+ description: any;
1638
+ collectionName: string;
1639
+ parentKey: any;
1640
+ reverseKey: any;
1641
+ field: string;
1642
+ uiSchema: {
1643
+ type: string;
1644
+ title: string;
1645
+ 'x-component': string;
1646
+ 'x-component-props': {
1647
+ fieldNames?: undefined;
1648
+ };
1649
+ 'x-read-pretty': boolean;
1650
+ };
1651
+ autoIncrement?: undefined;
1652
+ primaryKey?: undefined;
1653
+ allowNull?: undefined;
1654
+ target?: undefined;
1655
+ foreignKey?: undefined;
1656
+ targetKey?: undefined;
1657
+ } | {
1658
+ key: string;
1659
+ name: string;
1660
+ type: string;
1661
+ interface: string;
1662
+ description: any;
1663
+ collectionName: string;
1664
+ parentKey: any;
1665
+ reverseKey: any;
1666
+ target: string;
1667
+ foreignKey: string;
1668
+ uiSchema: {
1669
+ type: string;
1670
+ title: string;
1671
+ 'x-component': string;
1672
+ 'x-component-props': {
1673
+ fieldNames: {
1674
+ value: string;
1675
+ label: string;
1676
+ };
1677
+ };
1678
+ 'x-read-pretty': boolean;
1679
+ };
1680
+ targetKey: string;
1681
+ autoIncrement?: undefined;
1682
+ primaryKey?: undefined;
1683
+ allowNull?: undefined;
1684
+ field?: undefined;
1685
+ })[];
1686
+ category: any[];
1687
+ logging: boolean;
1688
+ autoGenId: boolean;
1689
+ createdBy: boolean;
1690
+ updatedBy: boolean;
1691
+ createdAt: boolean;
1692
+ updatedAt: boolean;
1693
+ sortable: boolean;
1694
+ template: string;
1695
+ view: boolean;
1696
+ schema: string;
1697
+ }[];
1698
+ };
1699
+ builtinFile: {
1700
+ collections: {
1701
+ key: string;
1702
+ name: string;
1703
+ title: string;
1704
+ inherit: boolean;
1705
+ hidden: boolean;
1706
+ description: any;
1707
+ fields: ({
1708
+ key: string;
1709
+ name: string;
1710
+ type: string;
1711
+ interface: string;
1712
+ description: any;
1713
+ collectionName: string;
1714
+ parentKey: any;
1715
+ reverseKey: any;
1716
+ deletable: boolean;
1717
+ uiSchema: {
1718
+ type: string;
1719
+ title: string;
1720
+ 'x-component': string;
1721
+ 'x-read-pretty'?: undefined;
1722
+ 'x-component-props'?: undefined;
1723
+ };
1724
+ field?: undefined;
1725
+ comment?: undefined;
1726
+ target?: undefined;
1727
+ foreignKey?: undefined;
1728
+ targetKey?: undefined;
1729
+ defaultValue?: undefined;
1730
+ autoIncrement?: undefined;
1731
+ primaryKey?: undefined;
1732
+ allowNull?: undefined;
1733
+ } | {
1734
+ key: string;
1735
+ name: string;
1736
+ type: string;
1737
+ interface: string;
1738
+ description: any;
1739
+ collectionName: string;
1740
+ parentKey: any;
1741
+ reverseKey: any;
1742
+ deletable: boolean;
1743
+ uiSchema: {
1744
+ type: string;
1745
+ title: string;
1746
+ 'x-component': string;
1747
+ 'x-read-pretty': boolean;
1748
+ 'x-component-props'?: undefined;
1749
+ };
1750
+ field?: undefined;
1751
+ comment?: undefined;
1752
+ target?: undefined;
1753
+ foreignKey?: undefined;
1754
+ targetKey?: undefined;
1755
+ defaultValue?: undefined;
1756
+ autoIncrement?: undefined;
1757
+ primaryKey?: undefined;
1758
+ allowNull?: undefined;
1759
+ } | {
1760
+ key: string;
1761
+ name: string;
1762
+ type: string;
1763
+ interface: string;
1764
+ description: any;
1765
+ collectionName: string;
1766
+ parentKey: any;
1767
+ reverseKey: any;
1768
+ deletable: boolean;
1769
+ uiSchema: {
1770
+ type: string;
1771
+ title: string;
1772
+ 'x-component': string;
1773
+ 'x-read-pretty': boolean;
1774
+ 'x-component-props': {
1775
+ stringMode: boolean;
1776
+ step: string;
1777
+ fieldNames?: undefined;
1778
+ };
1779
+ };
1780
+ field?: undefined;
1781
+ comment?: undefined;
1782
+ target?: undefined;
1783
+ foreignKey?: undefined;
1784
+ targetKey?: undefined;
1785
+ defaultValue?: undefined;
1786
+ autoIncrement?: undefined;
1787
+ primaryKey?: undefined;
1788
+ allowNull?: undefined;
1789
+ } | {
1790
+ key: string;
1791
+ name: string;
1792
+ type: string;
1793
+ interface: string;
1794
+ description: any;
1795
+ collectionName: string;
1796
+ parentKey: any;
1797
+ reverseKey: any;
1798
+ field: string;
1799
+ deletable: boolean;
1800
+ uiSchema: {
1801
+ type: string;
1802
+ title: string;
1803
+ 'x-component': string;
1804
+ 'x-read-pretty': boolean;
1805
+ 'x-component-props'?: undefined;
1806
+ };
1807
+ comment?: undefined;
1808
+ target?: undefined;
1809
+ foreignKey?: undefined;
1810
+ targetKey?: undefined;
1811
+ defaultValue?: undefined;
1812
+ autoIncrement?: undefined;
1813
+ primaryKey?: undefined;
1814
+ allowNull?: undefined;
1815
+ } | {
1816
+ key: string;
1817
+ name: string;
1818
+ type: string;
1819
+ interface: any;
1820
+ description: any;
1821
+ collectionName: string;
1822
+ parentKey: any;
1823
+ reverseKey: any;
1824
+ comment: string;
1825
+ target: string;
1826
+ foreignKey: string;
1827
+ deletable: boolean;
1828
+ targetKey: string;
1829
+ uiSchema?: undefined;
1830
+ field?: undefined;
1831
+ defaultValue?: undefined;
1832
+ autoIncrement?: undefined;
1833
+ primaryKey?: undefined;
1834
+ allowNull?: undefined;
1835
+ } | {
1836
+ key: string;
1837
+ name: string;
1838
+ type: string;
1839
+ interface: any;
1840
+ description: any;
1841
+ collectionName: string;
1842
+ parentKey: any;
1843
+ reverseKey: any;
1844
+ deletable: boolean;
1845
+ defaultValue: {};
1846
+ uiSchema?: undefined;
1847
+ field?: undefined;
1848
+ comment?: undefined;
1849
+ target?: undefined;
1850
+ foreignKey?: undefined;
1851
+ targetKey?: undefined;
1852
+ autoIncrement?: undefined;
1853
+ primaryKey?: undefined;
1854
+ allowNull?: undefined;
1855
+ } | {
1856
+ key: string;
1857
+ name: string;
1858
+ type: string;
1859
+ interface: string;
1860
+ description: any;
1861
+ collectionName: string;
1862
+ parentKey: any;
1863
+ reverseKey: any;
1864
+ autoIncrement: boolean;
1865
+ primaryKey: boolean;
1866
+ allowNull: boolean;
1867
+ uiSchema: {
1868
+ type: string;
1869
+ title: string;
1870
+ 'x-component': string;
1871
+ 'x-read-pretty': boolean;
1872
+ 'x-component-props'?: undefined;
1873
+ };
1874
+ deletable?: undefined;
1875
+ field?: undefined;
1876
+ comment?: undefined;
1877
+ target?: undefined;
1878
+ foreignKey?: undefined;
1879
+ targetKey?: undefined;
1880
+ defaultValue?: undefined;
1881
+ } | {
1882
+ key: string;
1883
+ name: string;
1884
+ type: string;
1885
+ interface: string;
1886
+ description: any;
1887
+ collectionName: string;
1888
+ parentKey: any;
1889
+ reverseKey: any;
1890
+ field: string;
1891
+ uiSchema: {
1892
+ type: string;
1893
+ title: string;
1894
+ 'x-component': string;
1895
+ 'x-component-props': {
1896
+ stringMode?: undefined;
1897
+ step?: undefined;
1898
+ fieldNames?: undefined;
1899
+ };
1900
+ 'x-read-pretty': boolean;
1901
+ };
1902
+ deletable?: undefined;
1903
+ comment?: undefined;
1904
+ target?: undefined;
1905
+ foreignKey?: undefined;
1906
+ targetKey?: undefined;
1907
+ defaultValue?: undefined;
1908
+ autoIncrement?: undefined;
1909
+ primaryKey?: undefined;
1910
+ allowNull?: undefined;
1911
+ } | {
1912
+ key: string;
1913
+ name: string;
1914
+ type: string;
1915
+ interface: string;
1916
+ description: any;
1917
+ collectionName: string;
1918
+ parentKey: any;
1919
+ reverseKey: any;
1920
+ target: string;
1921
+ foreignKey: string;
1922
+ uiSchema: {
1923
+ type: string;
1924
+ title: string;
1925
+ 'x-component': string;
1926
+ 'x-component-props': {
1927
+ fieldNames: {
1928
+ value: string;
1929
+ label: string;
1930
+ };
1931
+ stringMode?: undefined;
1932
+ step?: undefined;
1933
+ };
1934
+ 'x-read-pretty': boolean;
1935
+ };
1936
+ targetKey: string;
1937
+ deletable?: undefined;
1938
+ field?: undefined;
1939
+ comment?: undefined;
1940
+ defaultValue?: undefined;
1941
+ autoIncrement?: undefined;
1942
+ primaryKey?: undefined;
1943
+ allowNull?: undefined;
1944
+ })[];
1945
+ category: any[];
1946
+ logging: boolean;
1947
+ template: string;
1948
+ view: boolean;
1949
+ createdBy: boolean;
1950
+ updatedBy: boolean;
1951
+ storage: string;
1952
+ schema: string;
1953
+ }[];
1954
+ };
1955
+ builtinExpression: {
1956
+ collections: {
1957
+ key: string;
1958
+ name: string;
1959
+ title: string;
1960
+ inherit: boolean;
1961
+ hidden: boolean;
1962
+ description: any;
1963
+ fields: ({
1964
+ key: string;
1965
+ name: string;
1966
+ type: string;
1967
+ interface: string;
1968
+ description: any;
1969
+ collectionName: string;
1970
+ parentKey: any;
1971
+ reverseKey: any;
1972
+ uiSchema: {
1973
+ type: string;
1974
+ title: string;
1975
+ 'x-component': string;
1976
+ enum: {
1977
+ value: string;
1978
+ label: string;
1979
+ tooltip: string;
1980
+ link: string;
1981
+ }[];
1982
+ default: string;
1983
+ 'x-component-props'?: undefined;
1984
+ 'x-read-pretty'?: undefined;
1985
+ };
1986
+ autoIncrement?: undefined;
1987
+ primaryKey?: undefined;
1988
+ allowNull?: undefined;
1989
+ field?: undefined;
1990
+ target?: undefined;
1991
+ foreignKey?: undefined;
1992
+ targetKey?: undefined;
1993
+ } | {
1994
+ key: string;
1995
+ name: string;
1996
+ type: string;
1997
+ interface: string;
1998
+ description: any;
1999
+ collectionName: string;
2000
+ parentKey: any;
2001
+ reverseKey: any;
2002
+ uiSchema: {
2003
+ type: string;
2004
+ title: string;
2005
+ 'x-component': string;
2006
+ 'x-component-props': {
2007
+ fieldNames?: undefined;
2008
+ };
2009
+ enum?: undefined;
2010
+ default?: undefined;
2011
+ 'x-read-pretty'?: undefined;
2012
+ };
2013
+ autoIncrement?: undefined;
2014
+ primaryKey?: undefined;
2015
+ allowNull?: undefined;
2016
+ field?: undefined;
2017
+ target?: undefined;
2018
+ foreignKey?: undefined;
2019
+ targetKey?: undefined;
2020
+ } | {
2021
+ key: string;
2022
+ name: string;
2023
+ type: string;
2024
+ interface: string;
2025
+ description: any;
2026
+ collectionName: string;
2027
+ parentKey: any;
2028
+ reverseKey: any;
2029
+ uiSchema: {
2030
+ type: string;
2031
+ title: string;
2032
+ 'x-component': string;
2033
+ enum?: undefined;
2034
+ default?: undefined;
2035
+ 'x-component-props'?: undefined;
2036
+ 'x-read-pretty'?: undefined;
2037
+ };
2038
+ autoIncrement?: undefined;
2039
+ primaryKey?: undefined;
2040
+ allowNull?: undefined;
2041
+ field?: undefined;
2042
+ target?: undefined;
2043
+ foreignKey?: undefined;
2044
+ targetKey?: undefined;
2045
+ } | {
2046
+ key: string;
2047
+ name: string;
2048
+ type: string;
2049
+ interface: string;
2050
+ description: any;
2051
+ collectionName: string;
2052
+ parentKey: any;
2053
+ reverseKey: any;
2054
+ autoIncrement: boolean;
2055
+ primaryKey: boolean;
2056
+ allowNull: boolean;
2057
+ uiSchema: {
2058
+ type: string;
2059
+ title: string;
2060
+ 'x-component': string;
2061
+ 'x-read-pretty': boolean;
2062
+ enum?: undefined;
2063
+ default?: undefined;
2064
+ 'x-component-props'?: undefined;
2065
+ };
2066
+ field?: undefined;
2067
+ target?: undefined;
2068
+ foreignKey?: undefined;
2069
+ targetKey?: undefined;
2070
+ } | {
2071
+ key: string;
2072
+ name: string;
2073
+ type: string;
2074
+ interface: string;
2075
+ description: any;
2076
+ collectionName: string;
2077
+ parentKey: any;
2078
+ reverseKey: any;
2079
+ field: string;
2080
+ uiSchema: {
2081
+ type: string;
2082
+ title: string;
2083
+ 'x-component': string;
2084
+ 'x-component-props': {
2085
+ fieldNames?: undefined;
2086
+ };
2087
+ 'x-read-pretty': boolean;
2088
+ enum?: undefined;
2089
+ default?: undefined;
2090
+ };
2091
+ autoIncrement?: undefined;
2092
+ primaryKey?: undefined;
2093
+ allowNull?: undefined;
2094
+ target?: undefined;
2095
+ foreignKey?: undefined;
2096
+ targetKey?: undefined;
2097
+ } | {
2098
+ key: string;
2099
+ name: string;
2100
+ type: string;
2101
+ interface: string;
2102
+ description: any;
2103
+ collectionName: string;
2104
+ parentKey: any;
2105
+ reverseKey: any;
2106
+ target: string;
2107
+ foreignKey: string;
2108
+ uiSchema: {
2109
+ type: string;
2110
+ title: string;
2111
+ 'x-component': string;
2112
+ 'x-component-props': {
2113
+ fieldNames: {
2114
+ value: string;
2115
+ label: string;
2116
+ };
2117
+ };
2118
+ 'x-read-pretty': boolean;
2119
+ enum?: undefined;
2120
+ default?: undefined;
2121
+ };
2122
+ targetKey: string;
2123
+ autoIncrement?: undefined;
2124
+ primaryKey?: undefined;
2125
+ allowNull?: undefined;
2126
+ field?: undefined;
2127
+ })[];
2128
+ category: any[];
2129
+ logging: boolean;
2130
+ template: string;
2131
+ view: boolean;
2132
+ createdBy: boolean;
2133
+ updatedBy: boolean;
2134
+ createdAt: boolean;
2135
+ updatedAt: boolean;
2136
+ sortable: boolean;
2137
+ schema: string;
2138
+ }[];
2139
+ };
2140
+ generalWithNoRelationalFields: {
2141
+ collections: {
2142
+ key: string;
2143
+ name: string;
2144
+ title: string;
2145
+ inherit: boolean;
2146
+ hidden: boolean;
2147
+ fields: ({
2148
+ key: string;
2149
+ name: string;
2150
+ type: string;
2151
+ interface: string;
2152
+ collectionName: string;
2153
+ parentKey: any;
2154
+ reverseKey: any;
2155
+ autoIncrement: boolean;
2156
+ primaryKey: boolean;
2157
+ allowNull: boolean;
2158
+ uiSchema: {
2159
+ type: string;
2160
+ title: string;
2161
+ 'x-component': string;
2162
+ 'x-read-pretty': boolean;
2163
+ 'x-component-props'?: undefined;
2164
+ 'x-validator'?: undefined;
2165
+ enum?: undefined;
2166
+ default?: undefined;
2167
+ };
2168
+ field?: undefined;
2169
+ target?: undefined;
2170
+ foreignKey?: undefined;
2171
+ targetKey?: undefined;
2172
+ patterns?: undefined;
2173
+ inputable?: undefined;
2174
+ defaultValue?: undefined;
2175
+ dataType?: undefined;
2176
+ engine?: undefined;
2177
+ expression?: undefined;
2178
+ } | {
2179
+ key: string;
2180
+ name: string;
2181
+ type: string;
2182
+ interface: string;
2183
+ collectionName: string;
2184
+ parentKey: any;
2185
+ reverseKey: any;
2186
+ field: string;
2187
+ uiSchema: {
2188
+ type: string;
2189
+ title: string;
2190
+ 'x-component': string;
2191
+ 'x-component-props': {
2192
+ fieldNames?: undefined;
2193
+ type?: undefined;
2194
+ stringMode?: undefined;
2195
+ step?: undefined;
2196
+ addonAfter?: undefined;
2197
+ mode?: undefined;
2198
+ dateFormat?: undefined;
2199
+ gmt?: undefined;
2200
+ showTime?: undefined;
2201
+ autoSize?: undefined;
2202
+ };
2203
+ 'x-read-pretty': boolean;
2204
+ 'x-validator'?: undefined;
2205
+ enum?: undefined;
2206
+ default?: undefined;
2207
+ };
2208
+ autoIncrement?: undefined;
2209
+ primaryKey?: undefined;
2210
+ allowNull?: undefined;
2211
+ target?: undefined;
2212
+ foreignKey?: undefined;
2213
+ targetKey?: undefined;
2214
+ patterns?: undefined;
2215
+ inputable?: undefined;
2216
+ defaultValue?: undefined;
2217
+ dataType?: undefined;
2218
+ engine?: undefined;
2219
+ expression?: undefined;
2220
+ } | {
2221
+ key: string;
2222
+ name: string;
2223
+ type: string;
2224
+ interface: string;
2225
+ collectionName: string;
2226
+ parentKey: any;
2227
+ reverseKey: any;
2228
+ target: string;
2229
+ foreignKey: string;
2230
+ uiSchema: {
2231
+ type: string;
2232
+ title: string;
2233
+ 'x-component': string;
2234
+ 'x-component-props': {
2235
+ fieldNames: {
2236
+ value: string;
2237
+ label: string;
2238
+ };
2239
+ type?: undefined;
2240
+ stringMode?: undefined;
2241
+ step?: undefined;
2242
+ addonAfter?: undefined;
2243
+ mode?: undefined;
2244
+ dateFormat?: undefined;
2245
+ gmt?: undefined;
2246
+ showTime?: undefined;
2247
+ autoSize?: undefined;
2248
+ };
2249
+ 'x-read-pretty': boolean;
2250
+ 'x-validator'?: undefined;
2251
+ enum?: undefined;
2252
+ default?: undefined;
2253
+ };
2254
+ targetKey: string;
2255
+ autoIncrement?: undefined;
2256
+ primaryKey?: undefined;
2257
+ allowNull?: undefined;
2258
+ field?: undefined;
2259
+ patterns?: undefined;
2260
+ inputable?: undefined;
2261
+ defaultValue?: undefined;
2262
+ dataType?: undefined;
2263
+ engine?: undefined;
2264
+ expression?: undefined;
2265
+ } | {
2266
+ key: string;
2267
+ name: string;
2268
+ type: string;
2269
+ interface: string;
2270
+ collectionName: string;
2271
+ parentKey: any;
2272
+ reverseKey: any;
2273
+ patterns: ({
2274
+ type: string;
2275
+ options: {
2276
+ value: string;
2277
+ digits?: undefined;
2278
+ start?: undefined;
2279
+ key?: undefined;
2280
+ };
2281
+ } | {
2282
+ type: string;
2283
+ options: {
2284
+ digits: number;
2285
+ start: number;
2286
+ key: number;
2287
+ value?: undefined;
2288
+ };
2289
+ })[];
2290
+ uiSchema: {
2291
+ type: string;
2292
+ 'x-component': string;
2293
+ 'x-component-props': {
2294
+ fieldNames?: undefined;
2295
+ type?: undefined;
2296
+ stringMode?: undefined;
2297
+ step?: undefined;
2298
+ addonAfter?: undefined;
2299
+ mode?: undefined;
2300
+ dateFormat?: undefined;
2301
+ gmt?: undefined;
2302
+ showTime?: undefined;
2303
+ autoSize?: undefined;
2304
+ };
2305
+ title: string;
2306
+ 'x-read-pretty'?: undefined;
2307
+ 'x-validator'?: undefined;
2308
+ enum?: undefined;
2309
+ default?: undefined;
2310
+ };
2311
+ inputable: boolean;
2312
+ autoIncrement?: undefined;
2313
+ primaryKey?: undefined;
2314
+ allowNull?: undefined;
2315
+ field?: undefined;
2316
+ target?: undefined;
2317
+ foreignKey?: undefined;
2318
+ targetKey?: undefined;
2319
+ defaultValue?: undefined;
2320
+ dataType?: undefined;
2321
+ engine?: undefined;
2322
+ expression?: undefined;
2323
+ } | {
2324
+ key: string;
2325
+ name: string;
2326
+ type: string;
2327
+ interface: string;
2328
+ collectionName: string;
2329
+ parentKey: any;
2330
+ reverseKey: any;
2331
+ uiSchema: {
2332
+ type: string;
2333
+ 'x-component': string;
2334
+ title: string;
2335
+ 'x-read-pretty'?: undefined;
2336
+ 'x-component-props'?: undefined;
2337
+ 'x-validator'?: undefined;
2338
+ enum?: undefined;
2339
+ default?: undefined;
2340
+ };
2341
+ autoIncrement?: undefined;
2342
+ primaryKey?: undefined;
2343
+ allowNull?: undefined;
2344
+ field?: undefined;
2345
+ target?: undefined;
2346
+ foreignKey?: undefined;
2347
+ targetKey?: undefined;
2348
+ patterns?: undefined;
2349
+ inputable?: undefined;
2350
+ defaultValue?: undefined;
2351
+ dataType?: undefined;
2352
+ engine?: undefined;
2353
+ expression?: undefined;
2354
+ } | {
2355
+ key: string;
2356
+ name: string;
2357
+ type: string;
2358
+ interface: string;
2359
+ collectionName: string;
2360
+ parentKey: any;
2361
+ reverseKey: any;
2362
+ uiSchema: {
2363
+ type: string;
2364
+ 'x-component': string;
2365
+ 'x-component-props': {
2366
+ type: string;
2367
+ fieldNames?: undefined;
2368
+ stringMode?: undefined;
2369
+ step?: undefined;
2370
+ addonAfter?: undefined;
2371
+ mode?: undefined;
2372
+ dateFormat?: undefined;
2373
+ gmt?: undefined;
2374
+ showTime?: undefined;
2375
+ autoSize?: undefined;
2376
+ };
2377
+ title: string;
2378
+ 'x-read-pretty'?: undefined;
2379
+ 'x-validator'?: undefined;
2380
+ enum?: undefined;
2381
+ default?: undefined;
2382
+ };
2383
+ autoIncrement?: undefined;
2384
+ primaryKey?: undefined;
2385
+ allowNull?: undefined;
2386
+ field?: undefined;
2387
+ target?: undefined;
2388
+ foreignKey?: undefined;
2389
+ targetKey?: undefined;
2390
+ patterns?: undefined;
2391
+ inputable?: undefined;
2392
+ defaultValue?: undefined;
2393
+ dataType?: undefined;
2394
+ engine?: undefined;
2395
+ expression?: undefined;
2396
+ } | {
2397
+ key: string;
2398
+ name: string;
2399
+ type: string;
2400
+ interface: string;
2401
+ collectionName: string;
2402
+ parentKey: any;
2403
+ reverseKey: any;
2404
+ uiSchema: {
2405
+ type: string;
2406
+ 'x-component': string;
2407
+ 'x-validator': string;
2408
+ title: string;
2409
+ 'x-read-pretty'?: undefined;
2410
+ 'x-component-props'?: undefined;
2411
+ enum?: undefined;
2412
+ default?: undefined;
2413
+ };
2414
+ autoIncrement?: undefined;
2415
+ primaryKey?: undefined;
2416
+ allowNull?: undefined;
2417
+ field?: undefined;
2418
+ target?: undefined;
2419
+ foreignKey?: undefined;
2420
+ targetKey?: undefined;
2421
+ patterns?: undefined;
2422
+ inputable?: undefined;
2423
+ defaultValue?: undefined;
2424
+ dataType?: undefined;
2425
+ engine?: undefined;
2426
+ expression?: undefined;
2427
+ } | {
2428
+ key: string;
2429
+ name: string;
2430
+ type: string;
2431
+ interface: string;
2432
+ collectionName: string;
2433
+ parentKey: any;
2434
+ reverseKey: any;
2435
+ uiSchema: {
2436
+ type: string;
2437
+ 'x-component': string;
2438
+ 'x-component-props': {
2439
+ stringMode: boolean;
2440
+ step: string;
2441
+ fieldNames?: undefined;
2442
+ type?: undefined;
2443
+ addonAfter?: undefined;
2444
+ mode?: undefined;
2445
+ dateFormat?: undefined;
2446
+ gmt?: undefined;
2447
+ showTime?: undefined;
2448
+ autoSize?: undefined;
2449
+ };
2450
+ 'x-validator': string;
2451
+ title: string;
2452
+ 'x-read-pretty'?: undefined;
2453
+ enum?: undefined;
2454
+ default?: undefined;
2455
+ };
2456
+ autoIncrement?: undefined;
2457
+ primaryKey?: undefined;
2458
+ allowNull?: undefined;
2459
+ field?: undefined;
2460
+ target?: undefined;
2461
+ foreignKey?: undefined;
2462
+ targetKey?: undefined;
2463
+ patterns?: undefined;
2464
+ inputable?: undefined;
2465
+ defaultValue?: undefined;
2466
+ dataType?: undefined;
2467
+ engine?: undefined;
2468
+ expression?: undefined;
2469
+ } | {
2470
+ key: string;
2471
+ name: string;
2472
+ type: string;
2473
+ interface: string;
2474
+ collectionName: string;
2475
+ parentKey: any;
2476
+ reverseKey: any;
2477
+ uiSchema: {
2478
+ 'x-component-props': {
2479
+ step: string;
2480
+ stringMode: boolean;
2481
+ fieldNames?: undefined;
2482
+ type?: undefined;
2483
+ addonAfter?: undefined;
2484
+ mode?: undefined;
2485
+ dateFormat?: undefined;
2486
+ gmt?: undefined;
2487
+ showTime?: undefined;
2488
+ autoSize?: undefined;
2489
+ };
2490
+ type: string;
2491
+ 'x-component': string;
2492
+ title: string;
2493
+ 'x-read-pretty'?: undefined;
2494
+ 'x-validator'?: undefined;
2495
+ enum?: undefined;
2496
+ default?: undefined;
2497
+ };
2498
+ autoIncrement?: undefined;
2499
+ primaryKey?: undefined;
2500
+ allowNull?: undefined;
2501
+ field?: undefined;
2502
+ target?: undefined;
2503
+ foreignKey?: undefined;
2504
+ targetKey?: undefined;
2505
+ patterns?: undefined;
2506
+ inputable?: undefined;
2507
+ defaultValue?: undefined;
2508
+ dataType?: undefined;
2509
+ engine?: undefined;
2510
+ expression?: undefined;
2511
+ } | {
2512
+ key: string;
2513
+ name: string;
2514
+ type: string;
2515
+ interface: string;
2516
+ collectionName: string;
2517
+ parentKey: any;
2518
+ reverseKey: any;
2519
+ uiSchema: {
2520
+ 'x-component-props': {
2521
+ step: string;
2522
+ stringMode: boolean;
2523
+ addonAfter: string;
2524
+ fieldNames?: undefined;
2525
+ type?: undefined;
2526
+ mode?: undefined;
2527
+ dateFormat?: undefined;
2528
+ gmt?: undefined;
2529
+ showTime?: undefined;
2530
+ autoSize?: undefined;
2531
+ };
2532
+ type: string;
2533
+ 'x-component': string;
2534
+ title: string;
2535
+ 'x-read-pretty'?: undefined;
2536
+ 'x-validator'?: undefined;
2537
+ enum?: undefined;
2538
+ default?: undefined;
2539
+ };
2540
+ autoIncrement?: undefined;
2541
+ primaryKey?: undefined;
2542
+ allowNull?: undefined;
2543
+ field?: undefined;
2544
+ target?: undefined;
2545
+ foreignKey?: undefined;
2546
+ targetKey?: undefined;
2547
+ patterns?: undefined;
2548
+ inputable?: undefined;
2549
+ defaultValue?: undefined;
2550
+ dataType?: undefined;
2551
+ engine?: undefined;
2552
+ expression?: undefined;
2553
+ } | {
2554
+ key: string;
2555
+ name: string;
2556
+ type: string;
2557
+ interface: string;
2558
+ collectionName: string;
2559
+ parentKey: any;
2560
+ reverseKey: any;
2561
+ uiSchema: {
2562
+ enum: {
2563
+ value: string;
2564
+ label: string;
2565
+ }[];
2566
+ type: string;
2567
+ 'x-component': string;
2568
+ title: string;
2569
+ 'x-read-pretty'?: undefined;
2570
+ 'x-component-props'?: undefined;
2571
+ 'x-validator'?: undefined;
2572
+ default?: undefined;
2573
+ };
2574
+ autoIncrement?: undefined;
2575
+ primaryKey?: undefined;
2576
+ allowNull?: undefined;
2577
+ field?: undefined;
2578
+ target?: undefined;
2579
+ foreignKey?: undefined;
2580
+ targetKey?: undefined;
2581
+ patterns?: undefined;
2582
+ inputable?: undefined;
2583
+ defaultValue?: undefined;
2584
+ dataType?: undefined;
2585
+ engine?: undefined;
2586
+ expression?: undefined;
2587
+ } | {
2588
+ key: string;
2589
+ name: string;
2590
+ type: string;
2591
+ interface: string;
2592
+ collectionName: string;
2593
+ parentKey: any;
2594
+ reverseKey: any;
2595
+ uiSchema: {
2596
+ enum: {
2597
+ value: string;
2598
+ label: string;
2599
+ }[];
2600
+ type: string;
2601
+ 'x-component': string;
2602
+ 'x-component-props': {
2603
+ mode: string;
2604
+ fieldNames?: undefined;
2605
+ type?: undefined;
2606
+ stringMode?: undefined;
2607
+ step?: undefined;
2608
+ addonAfter?: undefined;
2609
+ dateFormat?: undefined;
2610
+ gmt?: undefined;
2611
+ showTime?: undefined;
2612
+ autoSize?: undefined;
2613
+ };
2614
+ title: string;
2615
+ 'x-read-pretty'?: undefined;
2616
+ 'x-validator'?: undefined;
2617
+ default?: undefined;
2618
+ };
2619
+ defaultValue: any[];
2620
+ autoIncrement?: undefined;
2621
+ primaryKey?: undefined;
2622
+ allowNull?: undefined;
2623
+ field?: undefined;
2624
+ target?: undefined;
2625
+ foreignKey?: undefined;
2626
+ targetKey?: undefined;
2627
+ patterns?: undefined;
2628
+ inputable?: undefined;
2629
+ dataType?: undefined;
2630
+ engine?: undefined;
2631
+ expression?: undefined;
2632
+ } | {
2633
+ key: string;
2634
+ name: string;
2635
+ type: string;
2636
+ interface: string;
2637
+ collectionName: string;
2638
+ parentKey: any;
2639
+ reverseKey: any;
2640
+ uiSchema: {
2641
+ enum: {
2642
+ value: string;
2643
+ label: string;
2644
+ }[];
2645
+ type: string;
2646
+ 'x-component': string;
2647
+ title: string;
2648
+ 'x-read-pretty'?: undefined;
2649
+ 'x-component-props'?: undefined;
2650
+ 'x-validator'?: undefined;
2651
+ default?: undefined;
2652
+ };
2653
+ defaultValue: any[];
2654
+ autoIncrement?: undefined;
2655
+ primaryKey?: undefined;
2656
+ allowNull?: undefined;
2657
+ field?: undefined;
2658
+ target?: undefined;
2659
+ foreignKey?: undefined;
2660
+ targetKey?: undefined;
2661
+ patterns?: undefined;
2662
+ inputable?: undefined;
2663
+ dataType?: undefined;
2664
+ engine?: undefined;
2665
+ expression?: undefined;
2666
+ } | {
2667
+ key: string;
2668
+ name: string;
2669
+ type: string;
2670
+ interface: string;
2671
+ collectionName: string;
2672
+ parentKey: any;
2673
+ reverseKey: any;
2674
+ uiSchema: {
2675
+ 'x-component-props': {
2676
+ dateFormat: string;
2677
+ gmt: boolean;
2678
+ showTime: boolean;
2679
+ fieldNames?: undefined;
2680
+ type?: undefined;
2681
+ stringMode?: undefined;
2682
+ step?: undefined;
2683
+ addonAfter?: undefined;
2684
+ mode?: undefined;
2685
+ autoSize?: undefined;
2686
+ };
2687
+ type: string;
2688
+ 'x-component': string;
2689
+ title: string;
2690
+ 'x-read-pretty'?: undefined;
2691
+ 'x-validator'?: undefined;
2692
+ enum?: undefined;
2693
+ default?: undefined;
2694
+ };
2695
+ autoIncrement?: undefined;
2696
+ primaryKey?: undefined;
2697
+ allowNull?: undefined;
2698
+ field?: undefined;
2699
+ target?: undefined;
2700
+ foreignKey?: undefined;
2701
+ targetKey?: undefined;
2702
+ patterns?: undefined;
2703
+ inputable?: undefined;
2704
+ defaultValue?: undefined;
2705
+ dataType?: undefined;
2706
+ engine?: undefined;
2707
+ expression?: undefined;
2708
+ } | {
2709
+ key: string;
2710
+ name: string;
2711
+ type: string;
2712
+ interface: string;
2713
+ collectionName: string;
2714
+ parentKey: any;
2715
+ reverseKey: any;
2716
+ defaultValue: any;
2717
+ uiSchema: {
2718
+ type: string;
2719
+ 'x-component': string;
2720
+ 'x-component-props': {
2721
+ autoSize: {
2722
+ minRows: number;
2723
+ };
2724
+ fieldNames?: undefined;
2725
+ type?: undefined;
2726
+ stringMode?: undefined;
2727
+ step?: undefined;
2728
+ addonAfter?: undefined;
2729
+ mode?: undefined;
2730
+ dateFormat?: undefined;
2731
+ gmt?: undefined;
2732
+ showTime?: undefined;
2733
+ };
2734
+ default: any;
2735
+ title: string;
2736
+ 'x-read-pretty'?: undefined;
2737
+ 'x-validator'?: undefined;
2738
+ enum?: undefined;
2739
+ };
2740
+ autoIncrement?: undefined;
2741
+ primaryKey?: undefined;
2742
+ allowNull?: undefined;
2743
+ field?: undefined;
2744
+ target?: undefined;
2745
+ foreignKey?: undefined;
2746
+ targetKey?: undefined;
2747
+ patterns?: undefined;
2748
+ inputable?: undefined;
2749
+ dataType?: undefined;
2750
+ engine?: undefined;
2751
+ expression?: undefined;
2752
+ } | {
2753
+ key: string;
2754
+ name: string;
2755
+ type: string;
2756
+ interface: string;
2757
+ collectionName: string;
2758
+ parentKey: any;
2759
+ reverseKey: any;
2760
+ dataType: string;
2761
+ uiSchema: {
2762
+ 'x-component-props': {
2763
+ step: string;
2764
+ stringMode: boolean;
2765
+ fieldNames?: undefined;
2766
+ type?: undefined;
2767
+ addonAfter?: undefined;
2768
+ mode?: undefined;
2769
+ dateFormat?: undefined;
2770
+ gmt?: undefined;
2771
+ showTime?: undefined;
2772
+ autoSize?: undefined;
2773
+ };
2774
+ type: string;
2775
+ 'x-component': string;
2776
+ 'x-read-pretty': boolean;
2777
+ title: string;
2778
+ 'x-validator'?: undefined;
2779
+ enum?: undefined;
2780
+ default?: undefined;
2781
+ };
2782
+ engine: string;
2783
+ expression: string;
2784
+ autoIncrement?: undefined;
2785
+ primaryKey?: undefined;
2786
+ allowNull?: undefined;
2787
+ field?: undefined;
2788
+ target?: undefined;
2789
+ foreignKey?: undefined;
2790
+ targetKey?: undefined;
2791
+ patterns?: undefined;
2792
+ inputable?: undefined;
2793
+ defaultValue?: undefined;
2794
+ })[];
2795
+ category: any[];
2796
+ logging: boolean;
2797
+ autoGenId: boolean;
2798
+ createdBy: boolean;
2799
+ updatedBy: boolean;
2800
+ createdAt: boolean;
2801
+ updatedAt: boolean;
2802
+ sortable: boolean;
2803
+ template: string;
2804
+ }[];
2805
+ };
2806
+ generalWithNoRelationalFieldsData: {
2807
+ createdAt: string;
2808
+ updatedAt: string;
2809
+ createdById: number;
2810
+ updatedById: number;
2811
+ testdataid: number;
2812
+ orgcode: string;
2813
+ orgname: string;
2814
+ address: string;
2815
+ phone: string;
2816
+ email: string;
2817
+ url: string;
2818
+ staffnum: number;
2819
+ regcapital: number;
2820
+ paidcapital: number;
2821
+ insuranceratio: number;
2822
+ isenable: boolean;
2823
+ status_singleselect: string;
2824
+ range_multipleselect: string[];
2825
+ status_radio: string;
2826
+ range_check: string[];
2827
+ establishdate: string;
2828
+ }[];
2829
+ };
2830
+ export default _default;