@mrnafisia/type-query 1.2.0 → 1.2.2

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 (41) hide show
  1. package/dist/context.d.ts +113 -152
  2. package/dist/context.d.ts.map +1 -1
  3. package/dist/dictionary.d.ts +2 -2
  4. package/dist/entity.d.ts +333 -450
  5. package/dist/entity.d.ts.map +1 -1
  6. package/dist/index.d.ts +5 -5
  7. package/dist/model.d.ts +112 -151
  8. package/dist/model.d.ts.map +1 -1
  9. package/dist/parser.d.ts +1 -1
  10. package/dist/schema.d.ts +1 -1
  11. package/dist/types/{context.d.ts → Context.d.ts} +4 -4
  12. package/dist/types/{context.d.ts.map → Context.d.ts.map} +1 -1
  13. package/dist/types/{context.js → Context.js} +1 -1
  14. package/dist/types/Context.js.map +1 -0
  15. package/dist/types/{entity.d.ts → Entity.d.ts} +4 -4
  16. package/dist/types/{entity.d.ts.map → Entity.d.ts.map} +1 -1
  17. package/dist/types/{entity.js → Entity.js} +1 -1
  18. package/dist/types/Entity.js.map +1 -0
  19. package/dist/types/{json.d.ts → Json.d.ts} +1 -1
  20. package/dist/types/{json.d.ts.map → Json.d.ts.map} +1 -1
  21. package/dist/types/{json.js → Json.js} +1 -1
  22. package/dist/types/Json.js.map +1 -0
  23. package/dist/types/{model.d.ts → Model.d.ts} +2 -2
  24. package/dist/types/{model.d.ts.map → Model.d.ts.map} +1 -1
  25. package/dist/types/{table.js → Model.js} +1 -1
  26. package/dist/types/Model.js.map +1 -0
  27. package/dist/types/{table.d.ts → Table.d.ts} +4 -4
  28. package/dist/types/Table.d.ts.map +1 -0
  29. package/dist/types/{model.js → Table.js} +1 -1
  30. package/dist/types/Table.js.map +1 -0
  31. package/dist/types/pool.d.ts +1 -1
  32. package/dist/types/postgres.d.ts +2 -2
  33. package/dist/types/testUtil.d.ts +3 -3
  34. package/dist/utils.d.ts +4 -4
  35. package/package.json +1 -1
  36. package/dist/types/context.js.map +0 -1
  37. package/dist/types/entity.js.map +0 -1
  38. package/dist/types/json.js.map +0 -1
  39. package/dist/types/model.js.map +0 -1
  40. package/dist/types/table.d.ts.map +0 -1
  41. package/dist/types/table.js.map +0 -1
package/dist/model.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import Decimal from 'decimal.js';
2
- import { Table } from './types/table';
3
- import { ModelUtils } from './types/model';
2
+ import { Table } from './types/Table';
3
+ import { ModelUtils } from './types/Model';
4
4
  import { ColumnTypeByColumns } from './types/postgres';
5
5
  declare const validateNumberGenerator: ({ min, max }: {
6
6
  min?: number | bigint | undefined;
@@ -23,15 +23,15 @@ declare const createModelUtils: <Columns extends {
23
23
  title?: string;
24
24
  reference?: {
25
25
  table: Table;
26
- onUpdate?: import("./types/table").ReferenceActions;
27
- onDelete?: import("./types/table").ReferenceActions;
26
+ onUpdate?: import("./types/Table").ReferenceActions;
27
+ onDelete?: import("./types/Table").ReferenceActions;
28
28
  column: string;
29
29
  };
30
30
  } & {
31
31
  primary?: true;
32
32
  nullable: false;
33
33
  } & {
34
- type: "boolean" | "text" | "uuid" | "date" | "json" | "jsonb";
34
+ type: "boolean" | "date" | "json" | "jsonb";
35
35
  } & {
36
36
  default: false;
37
37
  }) | ({
@@ -41,15 +41,15 @@ declare const createModelUtils: <Columns extends {
41
41
  title?: string;
42
42
  reference?: {
43
43
  table: Table;
44
- onUpdate?: import("./types/table").ReferenceActions;
45
- onDelete?: import("./types/table").ReferenceActions;
44
+ onUpdate?: import("./types/Table").ReferenceActions;
45
+ onDelete?: import("./types/Table").ReferenceActions;
46
46
  column: string;
47
47
  };
48
48
  } & {
49
49
  primary?: true;
50
50
  nullable: false;
51
51
  } & {
52
- type: "boolean" | "text" | "uuid" | "date" | "json" | "jsonb";
52
+ type: "boolean" | "date" | "json" | "jsonb";
53
53
  } & {
54
54
  default: true;
55
55
  value: string;
@@ -60,15 +60,15 @@ declare const createModelUtils: <Columns extends {
60
60
  title?: string;
61
61
  reference?: {
62
62
  table: Table;
63
- onUpdate?: import("./types/table").ReferenceActions;
64
- onDelete?: import("./types/table").ReferenceActions;
63
+ onUpdate?: import("./types/Table").ReferenceActions;
64
+ onDelete?: import("./types/Table").ReferenceActions;
65
65
  column: string;
66
66
  };
67
67
  } & {
68
68
  primary?: true;
69
69
  nullable: false;
70
70
  } & {
71
- type: "boolean" | "text" | "uuid" | "date" | "json" | "jsonb";
71
+ type: "boolean" | "date" | "json" | "jsonb";
72
72
  } & {
73
73
  default: "value";
74
74
  type: "boolean";
@@ -80,35 +80,15 @@ declare const createModelUtils: <Columns extends {
80
80
  title?: string;
81
81
  reference?: {
82
82
  table: Table;
83
- onUpdate?: import("./types/table").ReferenceActions;
84
- onDelete?: import("./types/table").ReferenceActions;
83
+ onUpdate?: import("./types/Table").ReferenceActions;
84
+ onDelete?: import("./types/Table").ReferenceActions;
85
85
  column: string;
86
86
  };
87
87
  } & {
88
88
  primary?: true;
89
89
  nullable: false;
90
90
  } & {
91
- type: "boolean" | "text" | "uuid" | "date" | "json" | "jsonb";
92
- } & {
93
- default: "value";
94
- type: "character" | "character varying" | "text" | "uuid";
95
- value: string;
96
- }) | ({
97
- type: import("./types/postgres").PostgresType;
98
- default: boolean | "value" | "auto-increment" | "created-at" | "updated-at";
99
- nullable: boolean;
100
- title?: string;
101
- reference?: {
102
- table: Table;
103
- onUpdate?: import("./types/table").ReferenceActions;
104
- onDelete?: import("./types/table").ReferenceActions;
105
- column: string;
106
- };
107
- } & {
108
- primary?: true;
109
- nullable: false;
110
- } & {
111
- type: "boolean" | "text" | "uuid" | "date" | "json" | "jsonb";
91
+ type: "boolean" | "date" | "json" | "jsonb";
112
92
  } & {
113
93
  default: "value";
114
94
  type: "date" | "timestamp without time zone" | "timestamp with time zone";
@@ -120,19 +100,19 @@ declare const createModelUtils: <Columns extends {
120
100
  title?: string;
121
101
  reference?: {
122
102
  table: Table;
123
- onUpdate?: import("./types/table").ReferenceActions;
124
- onDelete?: import("./types/table").ReferenceActions;
103
+ onUpdate?: import("./types/Table").ReferenceActions;
104
+ onDelete?: import("./types/Table").ReferenceActions;
125
105
  column: string;
126
106
  };
127
107
  } & {
128
108
  primary?: true;
129
109
  nullable: false;
130
110
  } & {
131
- type: "boolean" | "text" | "uuid" | "date" | "json" | "jsonb";
111
+ type: "boolean" | "date" | "json" | "jsonb";
132
112
  } & {
133
113
  default: "value";
134
114
  type: "json" | "jsonb";
135
- value: import("./types/json").JSON;
115
+ value: import("./types/Json").JSON;
136
116
  }) | ({
137
117
  type: import("./types/postgres").PostgresType;
138
118
  default: boolean | "value" | "auto-increment" | "created-at" | "updated-at";
@@ -140,8 +120,8 @@ declare const createModelUtils: <Columns extends {
140
120
  title?: string;
141
121
  reference?: {
142
122
  table: Table;
143
- onUpdate?: import("./types/table").ReferenceActions;
144
- onDelete?: import("./types/table").ReferenceActions;
123
+ onUpdate?: import("./types/Table").ReferenceActions;
124
+ onDelete?: import("./types/Table").ReferenceActions;
145
125
  column: string;
146
126
  };
147
127
  } & {
@@ -160,8 +140,8 @@ declare const createModelUtils: <Columns extends {
160
140
  title?: string;
161
141
  reference?: {
162
142
  table: Table;
163
- onUpdate?: import("./types/table").ReferenceActions;
164
- onDelete?: import("./types/table").ReferenceActions;
143
+ onUpdate?: import("./types/Table").ReferenceActions;
144
+ onDelete?: import("./types/Table").ReferenceActions;
165
145
  column: string;
166
146
  };
167
147
  } & {
@@ -181,8 +161,8 @@ declare const createModelUtils: <Columns extends {
181
161
  title?: string;
182
162
  reference?: {
183
163
  table: Table;
184
- onUpdate?: import("./types/table").ReferenceActions;
185
- onDelete?: import("./types/table").ReferenceActions;
164
+ onUpdate?: import("./types/Table").ReferenceActions;
165
+ onDelete?: import("./types/Table").ReferenceActions;
186
166
  column: string;
187
167
  };
188
168
  } & {
@@ -203,8 +183,8 @@ declare const createModelUtils: <Columns extends {
203
183
  title?: string;
204
184
  reference?: {
205
185
  table: Table;
206
- onUpdate?: import("./types/table").ReferenceActions;
207
- onDelete?: import("./types/table").ReferenceActions;
186
+ onUpdate?: import("./types/Table").ReferenceActions;
187
+ onDelete?: import("./types/Table").ReferenceActions;
208
188
  column: string;
209
189
  };
210
190
  } & {
@@ -225,8 +205,8 @@ declare const createModelUtils: <Columns extends {
225
205
  title?: string;
226
206
  reference?: {
227
207
  table: Table;
228
- onUpdate?: import("./types/table").ReferenceActions;
229
- onDelete?: import("./types/table").ReferenceActions;
208
+ onUpdate?: import("./types/Table").ReferenceActions;
209
+ onDelete?: import("./types/Table").ReferenceActions;
230
210
  column: string;
231
211
  };
232
212
  } & {
@@ -245,8 +225,8 @@ declare const createModelUtils: <Columns extends {
245
225
  title?: string;
246
226
  reference?: {
247
227
  table: Table;
248
- onUpdate?: import("./types/table").ReferenceActions;
249
- onDelete?: import("./types/table").ReferenceActions;
228
+ onUpdate?: import("./types/Table").ReferenceActions;
229
+ onDelete?: import("./types/Table").ReferenceActions;
250
230
  column: string;
251
231
  };
252
232
  } & {
@@ -266,8 +246,8 @@ declare const createModelUtils: <Columns extends {
266
246
  title?: string;
267
247
  reference?: {
268
248
  table: Table;
269
- onUpdate?: import("./types/table").ReferenceActions;
270
- onDelete?: import("./types/table").ReferenceActions;
249
+ onUpdate?: import("./types/Table").ReferenceActions;
250
+ onDelete?: import("./types/Table").ReferenceActions;
271
251
  column: string;
272
252
  };
273
253
  } & {
@@ -288,8 +268,8 @@ declare const createModelUtils: <Columns extends {
288
268
  title?: string;
289
269
  reference?: {
290
270
  table: Table;
291
- onUpdate?: import("./types/table").ReferenceActions;
292
- onDelete?: import("./types/table").ReferenceActions;
271
+ onUpdate?: import("./types/Table").ReferenceActions;
272
+ onDelete?: import("./types/Table").ReferenceActions;
293
273
  column: string;
294
274
  };
295
275
  } & {
@@ -310,8 +290,8 @@ declare const createModelUtils: <Columns extends {
310
290
  title?: string;
311
291
  reference?: {
312
292
  table: Table;
313
- onUpdate?: import("./types/table").ReferenceActions;
314
- onDelete?: import("./types/table").ReferenceActions;
293
+ onUpdate?: import("./types/Table").ReferenceActions;
294
+ onDelete?: import("./types/Table").ReferenceActions;
315
295
  column: string;
316
296
  };
317
297
  } & {
@@ -332,8 +312,8 @@ declare const createModelUtils: <Columns extends {
332
312
  title?: string;
333
313
  reference?: {
334
314
  table: Table;
335
- onUpdate?: import("./types/table").ReferenceActions;
336
- onDelete?: import("./types/table").ReferenceActions;
315
+ onUpdate?: import("./types/Table").ReferenceActions;
316
+ onDelete?: import("./types/Table").ReferenceActions;
337
317
  column: string;
338
318
  };
339
319
  } & {
@@ -355,8 +335,8 @@ declare const createModelUtils: <Columns extends {
355
335
  title?: string;
356
336
  reference?: {
357
337
  table: Table;
358
- onUpdate?: import("./types/table").ReferenceActions;
359
- onDelete?: import("./types/table").ReferenceActions;
338
+ onUpdate?: import("./types/Table").ReferenceActions;
339
+ onDelete?: import("./types/Table").ReferenceActions;
360
340
  column: string;
361
341
  };
362
342
  } & {
@@ -379,15 +359,15 @@ declare const createModelUtils: <Columns extends {
379
359
  title?: string;
380
360
  reference?: {
381
361
  table: Table;
382
- onUpdate?: import("./types/table").ReferenceActions;
383
- onDelete?: import("./types/table").ReferenceActions;
362
+ onUpdate?: import("./types/Table").ReferenceActions;
363
+ onDelete?: import("./types/Table").ReferenceActions;
384
364
  column: string;
385
365
  };
386
366
  } & {
387
367
  primary?: true;
388
368
  nullable: false;
389
369
  } & {
390
- type: "character" | "character varying";
370
+ type: "character" | "character varying" | "text" | "uuid";
391
371
  minLength?: number;
392
372
  maxLength?: number;
393
373
  regex?: RegExp;
@@ -400,15 +380,15 @@ declare const createModelUtils: <Columns extends {
400
380
  title?: string;
401
381
  reference?: {
402
382
  table: Table;
403
- onUpdate?: import("./types/table").ReferenceActions;
404
- onDelete?: import("./types/table").ReferenceActions;
383
+ onUpdate?: import("./types/Table").ReferenceActions;
384
+ onDelete?: import("./types/Table").ReferenceActions;
405
385
  column: string;
406
386
  };
407
387
  } & {
408
388
  primary?: true;
409
389
  nullable: false;
410
390
  } & {
411
- type: "character" | "character varying";
391
+ type: "character" | "character varying" | "text" | "uuid";
412
392
  minLength?: number;
413
393
  maxLength?: number;
414
394
  regex?: RegExp;
@@ -422,15 +402,15 @@ declare const createModelUtils: <Columns extends {
422
402
  title?: string;
423
403
  reference?: {
424
404
  table: Table;
425
- onUpdate?: import("./types/table").ReferenceActions;
426
- onDelete?: import("./types/table").ReferenceActions;
405
+ onUpdate?: import("./types/Table").ReferenceActions;
406
+ onDelete?: import("./types/Table").ReferenceActions;
427
407
  column: string;
428
408
  };
429
409
  } & {
430
410
  primary?: true;
431
411
  nullable: false;
432
412
  } & {
433
- type: "character" | "character varying";
413
+ type: "character" | "character varying" | "text" | "uuid";
434
414
  minLength?: number;
435
415
  maxLength?: number;
436
416
  regex?: RegExp;
@@ -445,8 +425,8 @@ declare const createModelUtils: <Columns extends {
445
425
  title?: string;
446
426
  reference?: {
447
427
  table: Table;
448
- onUpdate?: import("./types/table").ReferenceActions;
449
- onDelete?: import("./types/table").ReferenceActions;
428
+ onUpdate?: import("./types/Table").ReferenceActions;
429
+ onDelete?: import("./types/Table").ReferenceActions;
450
430
  column: string;
451
431
  };
452
432
  } & {
@@ -464,8 +444,8 @@ declare const createModelUtils: <Columns extends {
464
444
  title?: string;
465
445
  reference?: {
466
446
  table: Table;
467
- onUpdate?: import("./types/table").ReferenceActions;
468
- onDelete?: import("./types/table").ReferenceActions;
447
+ onUpdate?: import("./types/Table").ReferenceActions;
448
+ onDelete?: import("./types/Table").ReferenceActions;
469
449
  column: string;
470
450
  };
471
451
  } & {
@@ -484,8 +464,8 @@ declare const createModelUtils: <Columns extends {
484
464
  title?: string;
485
465
  reference?: {
486
466
  table: Table;
487
- onUpdate?: import("./types/table").ReferenceActions;
488
- onDelete?: import("./types/table").ReferenceActions;
467
+ onUpdate?: import("./types/Table").ReferenceActions;
468
+ onDelete?: import("./types/Table").ReferenceActions;
489
469
  column: string;
490
470
  };
491
471
  } & {
@@ -504,8 +484,8 @@ declare const createModelUtils: <Columns extends {
504
484
  title?: string;
505
485
  reference?: {
506
486
  table: Table;
507
- onUpdate?: import("./types/table").ReferenceActions;
508
- onDelete?: import("./types/table").ReferenceActions;
487
+ onUpdate?: import("./types/Table").ReferenceActions;
488
+ onDelete?: import("./types/Table").ReferenceActions;
509
489
  column: string;
510
490
  };
511
491
  } & {
@@ -525,14 +505,14 @@ declare const createModelUtils: <Columns extends {
525
505
  title?: string;
526
506
  reference?: {
527
507
  table: Table;
528
- onUpdate?: import("./types/table").ReferenceActions;
529
- onDelete?: import("./types/table").ReferenceActions;
508
+ onUpdate?: import("./types/Table").ReferenceActions;
509
+ onDelete?: import("./types/Table").ReferenceActions;
530
510
  column: string;
531
511
  };
532
512
  } & {
533
513
  nullable: true;
534
514
  } & {
535
- type: "boolean" | "text" | "uuid" | "date" | "json" | "jsonb";
515
+ type: "boolean" | "date" | "json" | "jsonb";
536
516
  } & {
537
517
  default: false;
538
518
  }) | ({
@@ -542,14 +522,14 @@ declare const createModelUtils: <Columns extends {
542
522
  title?: string;
543
523
  reference?: {
544
524
  table: Table;
545
- onUpdate?: import("./types/table").ReferenceActions;
546
- onDelete?: import("./types/table").ReferenceActions;
525
+ onUpdate?: import("./types/Table").ReferenceActions;
526
+ onDelete?: import("./types/Table").ReferenceActions;
547
527
  column: string;
548
528
  };
549
529
  } & {
550
530
  nullable: true;
551
531
  } & {
552
- type: "boolean" | "text" | "uuid" | "date" | "json" | "jsonb";
532
+ type: "boolean" | "date" | "json" | "jsonb";
553
533
  } & {
554
534
  default: true;
555
535
  value: string;
@@ -560,14 +540,14 @@ declare const createModelUtils: <Columns extends {
560
540
  title?: string;
561
541
  reference?: {
562
542
  table: Table;
563
- onUpdate?: import("./types/table").ReferenceActions;
564
- onDelete?: import("./types/table").ReferenceActions;
543
+ onUpdate?: import("./types/Table").ReferenceActions;
544
+ onDelete?: import("./types/Table").ReferenceActions;
565
545
  column: string;
566
546
  };
567
547
  } & {
568
548
  nullable: true;
569
549
  } & {
570
- type: "boolean" | "text" | "uuid" | "date" | "json" | "jsonb";
550
+ type: "boolean" | "date" | "json" | "jsonb";
571
551
  } & {
572
552
  default: "value";
573
553
  type: "boolean";
@@ -579,33 +559,14 @@ declare const createModelUtils: <Columns extends {
579
559
  title?: string;
580
560
  reference?: {
581
561
  table: Table;
582
- onUpdate?: import("./types/table").ReferenceActions;
583
- onDelete?: import("./types/table").ReferenceActions;
562
+ onUpdate?: import("./types/Table").ReferenceActions;
563
+ onDelete?: import("./types/Table").ReferenceActions;
584
564
  column: string;
585
565
  };
586
566
  } & {
587
567
  nullable: true;
588
568
  } & {
589
- type: "boolean" | "text" | "uuid" | "date" | "json" | "jsonb";
590
- } & {
591
- default: "value";
592
- type: "character" | "character varying" | "text" | "uuid";
593
- value: string;
594
- }) | ({
595
- type: import("./types/postgres").PostgresType;
596
- default: boolean | "value" | "auto-increment" | "created-at" | "updated-at";
597
- nullable: boolean;
598
- title?: string;
599
- reference?: {
600
- table: Table;
601
- onUpdate?: import("./types/table").ReferenceActions;
602
- onDelete?: import("./types/table").ReferenceActions;
603
- column: string;
604
- };
605
- } & {
606
- nullable: true;
607
- } & {
608
- type: "boolean" | "text" | "uuid" | "date" | "json" | "jsonb";
569
+ type: "boolean" | "date" | "json" | "jsonb";
609
570
  } & {
610
571
  default: "value";
611
572
  type: "date" | "timestamp without time zone" | "timestamp with time zone";
@@ -617,18 +578,18 @@ declare const createModelUtils: <Columns extends {
617
578
  title?: string;
618
579
  reference?: {
619
580
  table: Table;
620
- onUpdate?: import("./types/table").ReferenceActions;
621
- onDelete?: import("./types/table").ReferenceActions;
581
+ onUpdate?: import("./types/Table").ReferenceActions;
582
+ onDelete?: import("./types/Table").ReferenceActions;
622
583
  column: string;
623
584
  };
624
585
  } & {
625
586
  nullable: true;
626
587
  } & {
627
- type: "boolean" | "text" | "uuid" | "date" | "json" | "jsonb";
588
+ type: "boolean" | "date" | "json" | "jsonb";
628
589
  } & {
629
590
  default: "value";
630
591
  type: "json" | "jsonb";
631
- value: import("./types/json").JSON;
592
+ value: import("./types/Json").JSON;
632
593
  }) | ({
633
594
  type: import("./types/postgres").PostgresType;
634
595
  default: boolean | "value" | "auto-increment" | "created-at" | "updated-at";
@@ -636,8 +597,8 @@ declare const createModelUtils: <Columns extends {
636
597
  title?: string;
637
598
  reference?: {
638
599
  table: Table;
639
- onUpdate?: import("./types/table").ReferenceActions;
640
- onDelete?: import("./types/table").ReferenceActions;
600
+ onUpdate?: import("./types/Table").ReferenceActions;
601
+ onDelete?: import("./types/Table").ReferenceActions;
641
602
  column: string;
642
603
  };
643
604
  } & {
@@ -655,8 +616,8 @@ declare const createModelUtils: <Columns extends {
655
616
  title?: string;
656
617
  reference?: {
657
618
  table: Table;
658
- onUpdate?: import("./types/table").ReferenceActions;
659
- onDelete?: import("./types/table").ReferenceActions;
619
+ onUpdate?: import("./types/Table").ReferenceActions;
620
+ onDelete?: import("./types/Table").ReferenceActions;
660
621
  column: string;
661
622
  };
662
623
  } & {
@@ -675,8 +636,8 @@ declare const createModelUtils: <Columns extends {
675
636
  title?: string;
676
637
  reference?: {
677
638
  table: Table;
678
- onUpdate?: import("./types/table").ReferenceActions;
679
- onDelete?: import("./types/table").ReferenceActions;
639
+ onUpdate?: import("./types/Table").ReferenceActions;
640
+ onDelete?: import("./types/Table").ReferenceActions;
680
641
  column: string;
681
642
  };
682
643
  } & {
@@ -696,8 +657,8 @@ declare const createModelUtils: <Columns extends {
696
657
  title?: string;
697
658
  reference?: {
698
659
  table: Table;
699
- onUpdate?: import("./types/table").ReferenceActions;
700
- onDelete?: import("./types/table").ReferenceActions;
660
+ onUpdate?: import("./types/Table").ReferenceActions;
661
+ onDelete?: import("./types/Table").ReferenceActions;
701
662
  column: string;
702
663
  };
703
664
  } & {
@@ -717,8 +678,8 @@ declare const createModelUtils: <Columns extends {
717
678
  title?: string;
718
679
  reference?: {
719
680
  table: Table;
720
- onUpdate?: import("./types/table").ReferenceActions;
721
- onDelete?: import("./types/table").ReferenceActions;
681
+ onUpdate?: import("./types/Table").ReferenceActions;
682
+ onDelete?: import("./types/Table").ReferenceActions;
722
683
  column: string;
723
684
  };
724
685
  } & {
@@ -736,8 +697,8 @@ declare const createModelUtils: <Columns extends {
736
697
  title?: string;
737
698
  reference?: {
738
699
  table: Table;
739
- onUpdate?: import("./types/table").ReferenceActions;
740
- onDelete?: import("./types/table").ReferenceActions;
700
+ onUpdate?: import("./types/Table").ReferenceActions;
701
+ onDelete?: import("./types/Table").ReferenceActions;
741
702
  column: string;
742
703
  };
743
704
  } & {
@@ -756,8 +717,8 @@ declare const createModelUtils: <Columns extends {
756
717
  title?: string;
757
718
  reference?: {
758
719
  table: Table;
759
- onUpdate?: import("./types/table").ReferenceActions;
760
- onDelete?: import("./types/table").ReferenceActions;
720
+ onUpdate?: import("./types/Table").ReferenceActions;
721
+ onDelete?: import("./types/Table").ReferenceActions;
761
722
  column: string;
762
723
  };
763
724
  } & {
@@ -777,8 +738,8 @@ declare const createModelUtils: <Columns extends {
777
738
  title?: string;
778
739
  reference?: {
779
740
  table: Table;
780
- onUpdate?: import("./types/table").ReferenceActions;
781
- onDelete?: import("./types/table").ReferenceActions;
741
+ onUpdate?: import("./types/Table").ReferenceActions;
742
+ onDelete?: import("./types/Table").ReferenceActions;
782
743
  column: string;
783
744
  };
784
745
  } & {
@@ -798,8 +759,8 @@ declare const createModelUtils: <Columns extends {
798
759
  title?: string;
799
760
  reference?: {
800
761
  table: Table;
801
- onUpdate?: import("./types/table").ReferenceActions;
802
- onDelete?: import("./types/table").ReferenceActions;
762
+ onUpdate?: import("./types/Table").ReferenceActions;
763
+ onDelete?: import("./types/Table").ReferenceActions;
803
764
  column: string;
804
765
  };
805
766
  } & {
@@ -819,8 +780,8 @@ declare const createModelUtils: <Columns extends {
819
780
  title?: string;
820
781
  reference?: {
821
782
  table: Table;
822
- onUpdate?: import("./types/table").ReferenceActions;
823
- onDelete?: import("./types/table").ReferenceActions;
783
+ onUpdate?: import("./types/Table").ReferenceActions;
784
+ onDelete?: import("./types/Table").ReferenceActions;
824
785
  column: string;
825
786
  };
826
787
  } & {
@@ -841,8 +802,8 @@ declare const createModelUtils: <Columns extends {
841
802
  title?: string;
842
803
  reference?: {
843
804
  table: Table;
844
- onUpdate?: import("./types/table").ReferenceActions;
845
- onDelete?: import("./types/table").ReferenceActions;
805
+ onUpdate?: import("./types/Table").ReferenceActions;
806
+ onDelete?: import("./types/Table").ReferenceActions;
846
807
  column: string;
847
808
  };
848
809
  } & {
@@ -864,14 +825,14 @@ declare const createModelUtils: <Columns extends {
864
825
  title?: string;
865
826
  reference?: {
866
827
  table: Table;
867
- onUpdate?: import("./types/table").ReferenceActions;
868
- onDelete?: import("./types/table").ReferenceActions;
828
+ onUpdate?: import("./types/Table").ReferenceActions;
829
+ onDelete?: import("./types/Table").ReferenceActions;
869
830
  column: string;
870
831
  };
871
832
  } & {
872
833
  nullable: true;
873
834
  } & {
874
- type: "character" | "character varying";
835
+ type: "character" | "character varying" | "text" | "uuid";
875
836
  minLength?: number;
876
837
  maxLength?: number;
877
838
  regex?: RegExp;
@@ -884,14 +845,14 @@ declare const createModelUtils: <Columns extends {
884
845
  title?: string;
885
846
  reference?: {
886
847
  table: Table;
887
- onUpdate?: import("./types/table").ReferenceActions;
888
- onDelete?: import("./types/table").ReferenceActions;
848
+ onUpdate?: import("./types/Table").ReferenceActions;
849
+ onDelete?: import("./types/Table").ReferenceActions;
889
850
  column: string;
890
851
  };
891
852
  } & {
892
853
  nullable: true;
893
854
  } & {
894
- type: "character" | "character varying";
855
+ type: "character" | "character varying" | "text" | "uuid";
895
856
  minLength?: number;
896
857
  maxLength?: number;
897
858
  regex?: RegExp;
@@ -905,14 +866,14 @@ declare const createModelUtils: <Columns extends {
905
866
  title?: string;
906
867
  reference?: {
907
868
  table: Table;
908
- onUpdate?: import("./types/table").ReferenceActions;
909
- onDelete?: import("./types/table").ReferenceActions;
869
+ onUpdate?: import("./types/Table").ReferenceActions;
870
+ onDelete?: import("./types/Table").ReferenceActions;
910
871
  column: string;
911
872
  };
912
873
  } & {
913
874
  nullable: true;
914
875
  } & {
915
- type: "character" | "character varying";
876
+ type: "character" | "character varying" | "text" | "uuid";
916
877
  minLength?: number;
917
878
  maxLength?: number;
918
879
  regex?: RegExp;
@@ -927,8 +888,8 @@ declare const createModelUtils: <Columns extends {
927
888
  title?: string;
928
889
  reference?: {
929
890
  table: Table;
930
- onUpdate?: import("./types/table").ReferenceActions;
931
- onDelete?: import("./types/table").ReferenceActions;
891
+ onUpdate?: import("./types/Table").ReferenceActions;
892
+ onDelete?: import("./types/Table").ReferenceActions;
932
893
  column: string;
933
894
  };
934
895
  } & {
@@ -945,8 +906,8 @@ declare const createModelUtils: <Columns extends {
945
906
  title?: string;
946
907
  reference?: {
947
908
  table: Table;
948
- onUpdate?: import("./types/table").ReferenceActions;
949
- onDelete?: import("./types/table").ReferenceActions;
909
+ onUpdate?: import("./types/Table").ReferenceActions;
910
+ onDelete?: import("./types/Table").ReferenceActions;
950
911
  column: string;
951
912
  };
952
913
  } & {
@@ -964,8 +925,8 @@ declare const createModelUtils: <Columns extends {
964
925
  title?: string;
965
926
  reference?: {
966
927
  table: Table;
967
- onUpdate?: import("./types/table").ReferenceActions;
968
- onDelete?: import("./types/table").ReferenceActions;
928
+ onUpdate?: import("./types/Table").ReferenceActions;
929
+ onDelete?: import("./types/Table").ReferenceActions;
969
930
  column: string;
970
931
  };
971
932
  } & {
@@ -983,8 +944,8 @@ declare const createModelUtils: <Columns extends {
983
944
  title?: string;
984
945
  reference?: {
985
946
  table: Table;
986
- onUpdate?: import("./types/table").ReferenceActions;
987
- onDelete?: import("./types/table").ReferenceActions;
947
+ onUpdate?: import("./types/Table").ReferenceActions;
948
+ onDelete?: import("./types/Table").ReferenceActions;
988
949
  column: string;
989
950
  };
990
951
  } & {