@goodie-ts/kysely 1.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/README.md +2 -2
  2. package/dist/abstract-migration.d.ts +2 -2
  3. package/dist/abstract-migration.js +2 -2
  4. package/dist/{beans.json → components.json} +786 -62
  5. package/dist/decorators/migration.d.ts +1 -1
  6. package/dist/decorators/migration.js +1 -1
  7. package/dist/dialects/d1.d.ts.map +1 -1
  8. package/dist/dialects/d1.js +22 -15
  9. package/dist/dialects/d1.js.map +1 -1
  10. package/dist/dialects/libsql.d.ts.map +1 -1
  11. package/dist/dialects/libsql.js +6 -6
  12. package/dist/dialects/libsql.js.map +1 -1
  13. package/dist/dialects/mysql.d.ts.map +1 -1
  14. package/dist/dialects/mysql.js +6 -6
  15. package/dist/dialects/mysql.js.map +1 -1
  16. package/dist/dialects/neon.d.ts.map +1 -1
  17. package/dist/dialects/neon.js +6 -6
  18. package/dist/dialects/neon.js.map +1 -1
  19. package/dist/dialects/planetscale.d.ts.map +1 -1
  20. package/dist/dialects/planetscale.js +6 -6
  21. package/dist/dialects/planetscale.js.map +1 -1
  22. package/dist/dialects/postgres.d.ts.map +1 -1
  23. package/dist/dialects/postgres.js +6 -6
  24. package/dist/dialects/postgres.js.map +1 -1
  25. package/dist/dialects/sqlite.d.ts.map +1 -1
  26. package/dist/dialects/sqlite.js +6 -6
  27. package/dist/dialects/sqlite.js.map +1 -1
  28. package/dist/index.d.ts +1 -1
  29. package/dist/index.d.ts.map +1 -1
  30. package/dist/index.js +1 -1
  31. package/dist/index.js.map +1 -1
  32. package/dist/kysely-database.d.ts +2 -2
  33. package/dist/kysely-database.js +2 -2
  34. package/dist/kysely-transformer-plugin.d.ts +2 -5
  35. package/dist/kysely-transformer-plugin.d.ts.map +1 -1
  36. package/dist/kysely-transformer-plugin.js +18 -197
  37. package/dist/kysely-transformer-plugin.js.map +1 -1
  38. package/dist/migration-post-processor.d.ts +18 -0
  39. package/dist/migration-post-processor.d.ts.map +1 -0
  40. package/dist/migration-post-processor.js +117 -0
  41. package/dist/migration-post-processor.js.map +1 -0
  42. package/dist/pool-config.d.ts.map +1 -1
  43. package/dist/pool-config.js +2 -2
  44. package/dist/pool-config.js.map +1 -1
  45. package/dist/transaction-manager.d.ts +6 -4
  46. package/dist/transaction-manager.d.ts.map +1 -1
  47. package/dist/transaction-manager.js +166 -119
  48. package/dist/transaction-manager.js.map +1 -1
  49. package/dist/transactional-interceptor.d.ts.map +1 -1
  50. package/dist/transactional-interceptor.js +68 -17
  51. package/dist/transactional-interceptor.js.map +1 -1
  52. package/package.json +6 -6
  53. package/dist/migration-runner.d.ts +0 -16
  54. package/dist/migration-runner.d.ts.map +0 -1
  55. package/dist/migration-runner.js +0 -45
  56. package/dist/migration-runner.js.map +0 -1
@@ -1,7 +1,58 @@
1
1
  {
2
2
  "version": 1,
3
3
  "package": "@goodie-ts/kysely",
4
- "beans": [
4
+ "components": [
5
+ {
6
+ "tokenRef": {
7
+ "kind": "class",
8
+ "className": "MigrationPostProcessor",
9
+ "importPath": "@goodie-ts/kysely"
10
+ },
11
+ "scope": "singleton",
12
+ "eager": false,
13
+ "name": null,
14
+ "primary": false,
15
+ "constructorDeps": [
16
+ {
17
+ "tokenRef": {
18
+ "kind": "class",
19
+ "className": "ApplicationContext",
20
+ "importPath": "@goodie-ts/core"
21
+ },
22
+ "optional": false,
23
+ "collection": false,
24
+ "sourceLocation": {
25
+ "filePath": "@goodie-ts/kysely",
26
+ "line": 27,
27
+ "column": 15
28
+ }
29
+ }
30
+ ],
31
+ "fieldDeps": [],
32
+ "factoryKind": "constructor",
33
+ "providesSource": null,
34
+ "baseTokenRefs": null,
35
+ "decorators": [
36
+ {
37
+ "name": "PostProcessor",
38
+ "importPath": "@goodie-ts/kysely"
39
+ },
40
+ {
41
+ "name": "Singleton",
42
+ "importPath": "@goodie-ts/kysely"
43
+ }
44
+ ],
45
+ "methodDecorators": null,
46
+ "publicMembers": null,
47
+ "metadata": {
48
+ "isComponentPostProcessor": true
49
+ },
50
+ "sourceLocation": {
51
+ "filePath": "@goodie-ts/kysely",
52
+ "line": 22,
53
+ "column": 1
54
+ }
55
+ },
5
56
  {
6
57
  "tokenRef": {
7
58
  "kind": "class",
@@ -11,6 +62,7 @@
11
62
  "scope": "singleton",
12
63
  "eager": false,
13
64
  "name": null,
65
+ "primary": false,
14
66
  "constructorDeps": [],
15
67
  "fieldDeps": [],
16
68
  "factoryKind": "constructor",
@@ -22,7 +74,7 @@
22
74
  "importPath": "@goodie-ts/kysely"
23
75
  },
24
76
  {
25
- "name": "ConfigurationProperties",
77
+ "name": "Config",
26
78
  "importPath": "@goodie-ts/kysely"
27
79
  },
28
80
  {
@@ -33,6 +85,46 @@
33
85
  "methodDecorators": null,
34
86
  "publicMembers": null,
35
87
  "metadata": {
88
+ "introspectedFields": [
89
+ {
90
+ "name": "min",
91
+ "type": {
92
+ "kind": "primitive",
93
+ "type": "number"
94
+ },
95
+ "decorators": []
96
+ },
97
+ {
98
+ "name": "max",
99
+ "type": {
100
+ "kind": "primitive",
101
+ "type": "number"
102
+ },
103
+ "decorators": []
104
+ }
105
+ ],
106
+ "__typeRegistration": {
107
+ "className": "PoolConfig",
108
+ "importPath": "/home/runner/work/goodie/goodie/packages/kysely/src/pool-config.ts",
109
+ "fields": [
110
+ {
111
+ "name": "min",
112
+ "type": {
113
+ "kind": "primitive",
114
+ "type": "number"
115
+ },
116
+ "decorators": []
117
+ },
118
+ {
119
+ "name": "max",
120
+ "type": {
121
+ "kind": "primitive",
122
+ "type": "number"
123
+ },
124
+ "decorators": []
125
+ }
126
+ ]
127
+ },
36
128
  "valueFields": [
37
129
  {
38
130
  "fieldName": "min",
@@ -58,7 +150,97 @@
58
150
  },
59
151
  "sourceLocation": {
60
152
  "filePath": "@goodie-ts/kysely",
61
- "line": 14,
153
+ "line": 10,
154
+ "column": 1
155
+ }
156
+ },
157
+ {
158
+ "tokenRef": {
159
+ "kind": "class",
160
+ "className": "TransactionManager",
161
+ "importPath": "@goodie-ts/kysely"
162
+ },
163
+ "scope": "singleton",
164
+ "eager": false,
165
+ "name": null,
166
+ "primary": false,
167
+ "constructorDeps": [
168
+ {
169
+ "tokenRef": {
170
+ "kind": "class",
171
+ "className": "KyselyDatabase",
172
+ "importPath": "@goodie-ts/kysely"
173
+ },
174
+ "optional": true,
175
+ "collection": false,
176
+ "sourceLocation": {
177
+ "filePath": "@goodie-ts/kysely",
178
+ "line": 32,
179
+ "column": 15
180
+ }
181
+ }
182
+ ],
183
+ "fieldDeps": [],
184
+ "factoryKind": "constructor",
185
+ "providesSource": null,
186
+ "baseTokenRefs": null,
187
+ "decorators": [
188
+ {
189
+ "name": "Singleton",
190
+ "importPath": "@goodie-ts/kysely"
191
+ }
192
+ ],
193
+ "methodDecorators": null,
194
+ "publicMembers": null,
195
+ "metadata": {},
196
+ "sourceLocation": {
197
+ "filePath": "@goodie-ts/kysely",
198
+ "line": 25,
199
+ "column": 1
200
+ }
201
+ },
202
+ {
203
+ "tokenRef": {
204
+ "kind": "class",
205
+ "className": "TransactionalInterceptor",
206
+ "importPath": "@goodie-ts/kysely"
207
+ },
208
+ "scope": "singleton",
209
+ "eager": false,
210
+ "name": null,
211
+ "primary": false,
212
+ "constructorDeps": [
213
+ {
214
+ "tokenRef": {
215
+ "kind": "class",
216
+ "className": "TransactionManager",
217
+ "importPath": "@goodie-ts/kysely"
218
+ },
219
+ "optional": false,
220
+ "collection": false,
221
+ "sourceLocation": {
222
+ "filePath": "@goodie-ts/kysely",
223
+ "line": 18,
224
+ "column": 15
225
+ }
226
+ }
227
+ ],
228
+ "fieldDeps": [],
229
+ "factoryKind": "constructor",
230
+ "providesSource": null,
231
+ "baseTokenRefs": null,
232
+ "decorators": [
233
+ {
234
+ "name": "Singleton",
235
+ "importPath": "@goodie-ts/kysely"
236
+ }
237
+ ],
238
+ "methodDecorators": null,
239
+ "publicMembers": null,
240
+ "metadata": {},
241
+ "sourceLocation": {
242
+ "filePath": "@goodie-ts/kysely",
243
+ "line": 16,
62
244
  "column": 1
63
245
  }
64
246
  },
@@ -71,6 +253,7 @@
71
253
  "scope": "singleton",
72
254
  "eager": false,
73
255
  "name": null,
256
+ "primary": false,
74
257
  "constructorDeps": [],
75
258
  "fieldDeps": [],
76
259
  "factoryKind": "constructor",
@@ -82,7 +265,7 @@
82
265
  "importPath": "@goodie-ts/kysely"
83
266
  },
84
267
  {
85
- "name": "ConfigurationProperties",
268
+ "name": "Config",
86
269
  "importPath": "@goodie-ts/kysely"
87
270
  },
88
271
  {
@@ -93,6 +276,46 @@
93
276
  "methodDecorators": null,
94
277
  "publicMembers": null,
95
278
  "metadata": {
279
+ "introspectedFields": [
280
+ {
281
+ "name": "dialect",
282
+ "type": {
283
+ "kind": "primitive",
284
+ "type": "string"
285
+ },
286
+ "decorators": []
287
+ },
288
+ {
289
+ "name": "binding",
290
+ "type": {
291
+ "kind": "primitive",
292
+ "type": "string"
293
+ },
294
+ "decorators": []
295
+ }
296
+ ],
297
+ "__typeRegistration": {
298
+ "className": "D1DatasourceConfig",
299
+ "importPath": "/home/runner/work/goodie/goodie/packages/kysely/src/dialects/d1.ts",
300
+ "fields": [
301
+ {
302
+ "name": "dialect",
303
+ "type": {
304
+ "kind": "primitive",
305
+ "type": "string"
306
+ },
307
+ "decorators": []
308
+ },
309
+ {
310
+ "name": "binding",
311
+ "type": {
312
+ "kind": "primitive",
313
+ "type": "string"
314
+ },
315
+ "decorators": []
316
+ }
317
+ ]
318
+ },
96
319
  "valueFields": [
97
320
  {
98
321
  "fieldName": "dialect",
@@ -128,6 +351,7 @@
128
351
  "scope": "request",
129
352
  "eager": false,
130
353
  "name": null,
354
+ "primary": false,
131
355
  "constructorDeps": [
132
356
  {
133
357
  "tokenRef": {
@@ -167,7 +391,7 @@
167
391
  "methodDecorators": {
168
392
  "init": [
169
393
  {
170
- "name": "PostConstruct",
394
+ "name": "OnInit",
171
395
  "importPath": "@goodie-ts/kysely"
172
396
  }
173
397
  ]
@@ -183,7 +407,7 @@
183
407
  }
184
408
  ],
185
409
  "metadata": {
186
- "postConstructMethods": [
410
+ "onInitMethods": [
187
411
  "init"
188
412
  ],
189
413
  "conditionalRules": [
@@ -209,6 +433,7 @@
209
433
  "scope": "singleton",
210
434
  "eager": false,
211
435
  "name": null,
436
+ "primary": false,
212
437
  "constructorDeps": [],
213
438
  "fieldDeps": [],
214
439
  "factoryKind": "constructor",
@@ -220,7 +445,7 @@
220
445
  "importPath": "@goodie-ts/kysely"
221
446
  },
222
447
  {
223
- "name": "ConfigurationProperties",
448
+ "name": "Config",
224
449
  "importPath": "@goodie-ts/kysely"
225
450
  },
226
451
  {
@@ -231,6 +456,62 @@
231
456
  "methodDecorators": null,
232
457
  "publicMembers": null,
233
458
  "metadata": {
459
+ "introspectedFields": [
460
+ {
461
+ "name": "dialect",
462
+ "type": {
463
+ "kind": "primitive",
464
+ "type": "string"
465
+ },
466
+ "decorators": []
467
+ },
468
+ {
469
+ "name": "url",
470
+ "type": {
471
+ "kind": "primitive",
472
+ "type": "string"
473
+ },
474
+ "decorators": []
475
+ },
476
+ {
477
+ "name": "authToken",
478
+ "type": {
479
+ "kind": "primitive",
480
+ "type": "string"
481
+ },
482
+ "decorators": []
483
+ }
484
+ ],
485
+ "__typeRegistration": {
486
+ "className": "LibsqlDatasourceConfig",
487
+ "importPath": "/home/runner/work/goodie/goodie/packages/kysely/src/dialects/libsql.ts",
488
+ "fields": [
489
+ {
490
+ "name": "dialect",
491
+ "type": {
492
+ "kind": "primitive",
493
+ "type": "string"
494
+ },
495
+ "decorators": []
496
+ },
497
+ {
498
+ "name": "url",
499
+ "type": {
500
+ "kind": "primitive",
501
+ "type": "string"
502
+ },
503
+ "decorators": []
504
+ },
505
+ {
506
+ "name": "authToken",
507
+ "type": {
508
+ "kind": "primitive",
509
+ "type": "string"
510
+ },
511
+ "decorators": []
512
+ }
513
+ ]
514
+ },
234
515
  "valueFields": [
235
516
  {
236
517
  "fieldName": "dialect",
@@ -258,7 +539,7 @@
258
539
  },
259
540
  "sourceLocation": {
260
541
  "filePath": "@goodie-ts/kysely",
261
- "line": 11,
542
+ "line": 12,
262
543
  "column": 1
263
544
  }
264
545
  },
@@ -269,8 +550,9 @@
269
550
  "importPath": "@goodie-ts/kysely"
270
551
  },
271
552
  "scope": "singleton",
272
- "eager": false,
553
+ "eager": true,
273
554
  "name": null,
555
+ "primary": false,
274
556
  "constructorDeps": [
275
557
  {
276
558
  "tokenRef": {
@@ -282,7 +564,7 @@
282
564
  "collection": false,
283
565
  "sourceLocation": {
284
566
  "filePath": "@goodie-ts/kysely",
285
- "line": 27,
567
+ "line": 29,
286
568
  "column": 15
287
569
  }
288
570
  }
@@ -302,6 +584,10 @@
302
584
  "name": "Singleton",
303
585
  "importPath": "@goodie-ts/kysely"
304
586
  },
587
+ {
588
+ "name": "Eager",
589
+ "importPath": "@goodie-ts/kysely"
590
+ },
305
591
  {
306
592
  "name": "ConditionalOnProperty",
307
593
  "importPath": "@goodie-ts/kysely"
@@ -310,23 +596,23 @@
310
596
  "methodDecorators": {
311
597
  "init": [
312
598
  {
313
- "name": "PostConstruct",
599
+ "name": "OnInit",
314
600
  "importPath": "@goodie-ts/kysely"
315
601
  }
316
602
  ],
317
603
  "destroy": [
318
604
  {
319
- "name": "PreDestroy",
605
+ "name": "OnDestroy",
320
606
  "importPath": "@goodie-ts/kysely"
321
607
  }
322
608
  ]
323
609
  },
324
610
  "publicMembers": null,
325
611
  "metadata": {
326
- "preDestroyMethods": [
612
+ "onDestroyMethods": [
327
613
  "destroy"
328
614
  ],
329
- "postConstructMethods": [
615
+ "onInitMethods": [
330
616
  "init"
331
617
  ],
332
618
  "conditionalRules": [
@@ -339,7 +625,7 @@
339
625
  },
340
626
  "sourceLocation": {
341
627
  "filePath": "@goodie-ts/kysely",
342
- "line": 22,
628
+ "line": 23,
343
629
  "column": 1
344
630
  }
345
631
  },
@@ -352,6 +638,7 @@
352
638
  "scope": "singleton",
353
639
  "eager": false,
354
640
  "name": null,
641
+ "primary": false,
355
642
  "constructorDeps": [],
356
643
  "fieldDeps": [],
357
644
  "factoryKind": "constructor",
@@ -363,7 +650,7 @@
363
650
  "importPath": "@goodie-ts/kysely"
364
651
  },
365
652
  {
366
- "name": "ConfigurationProperties",
653
+ "name": "Config",
367
654
  "importPath": "@goodie-ts/kysely"
368
655
  },
369
656
  {
@@ -374,6 +661,126 @@
374
661
  "methodDecorators": null,
375
662
  "publicMembers": null,
376
663
  "metadata": {
664
+ "introspectedFields": [
665
+ {
666
+ "name": "dialect",
667
+ "type": {
668
+ "kind": "primitive",
669
+ "type": "string"
670
+ },
671
+ "decorators": []
672
+ },
673
+ {
674
+ "name": "url",
675
+ "type": {
676
+ "kind": "primitive",
677
+ "type": "string"
678
+ },
679
+ "decorators": []
680
+ },
681
+ {
682
+ "name": "host",
683
+ "type": {
684
+ "kind": "primitive",
685
+ "type": "string"
686
+ },
687
+ "decorators": []
688
+ },
689
+ {
690
+ "name": "port",
691
+ "type": {
692
+ "kind": "primitive",
693
+ "type": "number"
694
+ },
695
+ "decorators": []
696
+ },
697
+ {
698
+ "name": "database",
699
+ "type": {
700
+ "kind": "primitive",
701
+ "type": "string"
702
+ },
703
+ "decorators": []
704
+ },
705
+ {
706
+ "name": "user",
707
+ "type": {
708
+ "kind": "primitive",
709
+ "type": "string"
710
+ },
711
+ "decorators": []
712
+ },
713
+ {
714
+ "name": "password",
715
+ "type": {
716
+ "kind": "primitive",
717
+ "type": "string"
718
+ },
719
+ "decorators": []
720
+ }
721
+ ],
722
+ "__typeRegistration": {
723
+ "className": "MysqlDatasourceConfig",
724
+ "importPath": "/home/runner/work/goodie/goodie/packages/kysely/src/dialects/mysql.ts",
725
+ "fields": [
726
+ {
727
+ "name": "dialect",
728
+ "type": {
729
+ "kind": "primitive",
730
+ "type": "string"
731
+ },
732
+ "decorators": []
733
+ },
734
+ {
735
+ "name": "url",
736
+ "type": {
737
+ "kind": "primitive",
738
+ "type": "string"
739
+ },
740
+ "decorators": []
741
+ },
742
+ {
743
+ "name": "host",
744
+ "type": {
745
+ "kind": "primitive",
746
+ "type": "string"
747
+ },
748
+ "decorators": []
749
+ },
750
+ {
751
+ "name": "port",
752
+ "type": {
753
+ "kind": "primitive",
754
+ "type": "number"
755
+ },
756
+ "decorators": []
757
+ },
758
+ {
759
+ "name": "database",
760
+ "type": {
761
+ "kind": "primitive",
762
+ "type": "string"
763
+ },
764
+ "decorators": []
765
+ },
766
+ {
767
+ "name": "user",
768
+ "type": {
769
+ "kind": "primitive",
770
+ "type": "string"
771
+ },
772
+ "decorators": []
773
+ },
774
+ {
775
+ "name": "password",
776
+ "type": {
777
+ "kind": "primitive",
778
+ "type": "string"
779
+ },
780
+ "decorators": []
781
+ }
782
+ ]
783
+ },
377
784
  "valueFields": [
378
785
  {
379
786
  "fieldName": "dialect",
@@ -421,7 +828,7 @@
421
828
  },
422
829
  "sourceLocation": {
423
830
  "filePath": "@goodie-ts/kysely",
424
- "line": 12,
831
+ "line": 13,
425
832
  "column": 1
426
833
  }
427
834
  },
@@ -432,8 +839,9 @@
432
839
  "importPath": "@goodie-ts/kysely"
433
840
  },
434
841
  "scope": "singleton",
435
- "eager": false,
842
+ "eager": true,
436
843
  "name": null,
844
+ "primary": false,
437
845
  "constructorDeps": [
438
846
  {
439
847
  "tokenRef": {
@@ -445,7 +853,7 @@
445
853
  "collection": false,
446
854
  "sourceLocation": {
447
855
  "filePath": "@goodie-ts/kysely",
448
- "line": 32,
856
+ "line": 34,
449
857
  "column": 5
450
858
  }
451
859
  },
@@ -459,7 +867,7 @@
459
867
  "collection": false,
460
868
  "sourceLocation": {
461
869
  "filePath": "@goodie-ts/kysely",
462
- "line": 33,
870
+ "line": 35,
463
871
  "column": 5
464
872
  }
465
873
  }
@@ -479,6 +887,10 @@
479
887
  "name": "Singleton",
480
888
  "importPath": "@goodie-ts/kysely"
481
889
  },
890
+ {
891
+ "name": "Eager",
892
+ "importPath": "@goodie-ts/kysely"
893
+ },
482
894
  {
483
895
  "name": "ConditionalOnProperty",
484
896
  "importPath": "@goodie-ts/kysely"
@@ -487,23 +899,23 @@
487
899
  "methodDecorators": {
488
900
  "init": [
489
901
  {
490
- "name": "PostConstruct",
902
+ "name": "OnInit",
491
903
  "importPath": "@goodie-ts/kysely"
492
904
  }
493
905
  ],
494
906
  "destroy": [
495
907
  {
496
- "name": "PreDestroy",
908
+ "name": "OnDestroy",
497
909
  "importPath": "@goodie-ts/kysely"
498
910
  }
499
911
  ]
500
912
  },
501
913
  "publicMembers": null,
502
914
  "metadata": {
503
- "preDestroyMethods": [
915
+ "onDestroyMethods": [
504
916
  "destroy"
505
917
  ],
506
- "postConstructMethods": [
918
+ "onInitMethods": [
507
919
  "init"
508
920
  ],
509
921
  "conditionalRules": [
@@ -516,7 +928,7 @@
516
928
  },
517
929
  "sourceLocation": {
518
930
  "filePath": "@goodie-ts/kysely",
519
- "line": 26,
931
+ "line": 27,
520
932
  "column": 1
521
933
  }
522
934
  },
@@ -529,6 +941,7 @@
529
941
  "scope": "singleton",
530
942
  "eager": false,
531
943
  "name": null,
944
+ "primary": false,
532
945
  "constructorDeps": [],
533
946
  "fieldDeps": [],
534
947
  "factoryKind": "constructor",
@@ -540,7 +953,7 @@
540
953
  "importPath": "@goodie-ts/kysely"
541
954
  },
542
955
  {
543
- "name": "ConfigurationProperties",
956
+ "name": "Config",
544
957
  "importPath": "@goodie-ts/kysely"
545
958
  },
546
959
  {
@@ -551,6 +964,46 @@
551
964
  "methodDecorators": null,
552
965
  "publicMembers": null,
553
966
  "metadata": {
967
+ "introspectedFields": [
968
+ {
969
+ "name": "dialect",
970
+ "type": {
971
+ "kind": "primitive",
972
+ "type": "string"
973
+ },
974
+ "decorators": []
975
+ },
976
+ {
977
+ "name": "url",
978
+ "type": {
979
+ "kind": "primitive",
980
+ "type": "string"
981
+ },
982
+ "decorators": []
983
+ }
984
+ ],
985
+ "__typeRegistration": {
986
+ "className": "NeonDatasourceConfig",
987
+ "importPath": "/home/runner/work/goodie/goodie/packages/kysely/src/dialects/neon.ts",
988
+ "fields": [
989
+ {
990
+ "name": "dialect",
991
+ "type": {
992
+ "kind": "primitive",
993
+ "type": "string"
994
+ },
995
+ "decorators": []
996
+ },
997
+ {
998
+ "name": "url",
999
+ "type": {
1000
+ "kind": "primitive",
1001
+ "type": "string"
1002
+ },
1003
+ "decorators": []
1004
+ }
1005
+ ]
1006
+ },
554
1007
  "valueFields": [
555
1008
  {
556
1009
  "fieldName": "dialect",
@@ -573,7 +1026,7 @@
573
1026
  },
574
1027
  "sourceLocation": {
575
1028
  "filePath": "@goodie-ts/kysely",
576
- "line": 11,
1029
+ "line": 12,
577
1030
  "column": 1
578
1031
  }
579
1032
  },
@@ -584,8 +1037,9 @@
584
1037
  "importPath": "@goodie-ts/kysely"
585
1038
  },
586
1039
  "scope": "singleton",
587
- "eager": false,
1040
+ "eager": true,
588
1041
  "name": null,
1042
+ "primary": false,
589
1043
  "constructorDeps": [
590
1044
  {
591
1045
  "tokenRef": {
@@ -597,7 +1051,7 @@
597
1051
  "collection": false,
598
1052
  "sourceLocation": {
599
1053
  "filePath": "@goodie-ts/kysely",
600
- "line": 25,
1054
+ "line": 27,
601
1055
  "column": 15
602
1056
  }
603
1057
  }
@@ -617,6 +1071,10 @@
617
1071
  "name": "Singleton",
618
1072
  "importPath": "@goodie-ts/kysely"
619
1073
  },
1074
+ {
1075
+ "name": "Eager",
1076
+ "importPath": "@goodie-ts/kysely"
1077
+ },
620
1078
  {
621
1079
  "name": "ConditionalOnProperty",
622
1080
  "importPath": "@goodie-ts/kysely"
@@ -625,23 +1083,23 @@
625
1083
  "methodDecorators": {
626
1084
  "init": [
627
1085
  {
628
- "name": "PostConstruct",
1086
+ "name": "OnInit",
629
1087
  "importPath": "@goodie-ts/kysely"
630
1088
  }
631
1089
  ],
632
1090
  "destroy": [
633
1091
  {
634
- "name": "PreDestroy",
1092
+ "name": "OnDestroy",
635
1093
  "importPath": "@goodie-ts/kysely"
636
1094
  }
637
1095
  ]
638
1096
  },
639
1097
  "publicMembers": null,
640
1098
  "metadata": {
641
- "preDestroyMethods": [
1099
+ "onDestroyMethods": [
642
1100
  "destroy"
643
1101
  ],
644
- "postConstructMethods": [
1102
+ "onInitMethods": [
645
1103
  "init"
646
1104
  ],
647
1105
  "conditionalRules": [
@@ -654,7 +1112,7 @@
654
1112
  },
655
1113
  "sourceLocation": {
656
1114
  "filePath": "@goodie-ts/kysely",
657
- "line": 20,
1115
+ "line": 21,
658
1116
  "column": 1
659
1117
  }
660
1118
  },
@@ -667,6 +1125,7 @@
667
1125
  "scope": "singleton",
668
1126
  "eager": false,
669
1127
  "name": null,
1128
+ "primary": false,
670
1129
  "constructorDeps": [],
671
1130
  "fieldDeps": [],
672
1131
  "factoryKind": "constructor",
@@ -678,7 +1137,7 @@
678
1137
  "importPath": "@goodie-ts/kysely"
679
1138
  },
680
1139
  {
681
- "name": "ConfigurationProperties",
1140
+ "name": "Config",
682
1141
  "importPath": "@goodie-ts/kysely"
683
1142
  },
684
1143
  {
@@ -689,6 +1148,94 @@
689
1148
  "methodDecorators": null,
690
1149
  "publicMembers": null,
691
1150
  "metadata": {
1151
+ "introspectedFields": [
1152
+ {
1153
+ "name": "dialect",
1154
+ "type": {
1155
+ "kind": "primitive",
1156
+ "type": "string"
1157
+ },
1158
+ "decorators": []
1159
+ },
1160
+ {
1161
+ "name": "url",
1162
+ "type": {
1163
+ "kind": "primitive",
1164
+ "type": "string"
1165
+ },
1166
+ "decorators": []
1167
+ },
1168
+ {
1169
+ "name": "username",
1170
+ "type": {
1171
+ "kind": "primitive",
1172
+ "type": "string"
1173
+ },
1174
+ "decorators": []
1175
+ },
1176
+ {
1177
+ "name": "password",
1178
+ "type": {
1179
+ "kind": "primitive",
1180
+ "type": "string"
1181
+ },
1182
+ "decorators": []
1183
+ },
1184
+ {
1185
+ "name": "host",
1186
+ "type": {
1187
+ "kind": "primitive",
1188
+ "type": "string"
1189
+ },
1190
+ "decorators": []
1191
+ }
1192
+ ],
1193
+ "__typeRegistration": {
1194
+ "className": "PlanetscaleDatasourceConfig",
1195
+ "importPath": "/home/runner/work/goodie/goodie/packages/kysely/src/dialects/planetscale.ts",
1196
+ "fields": [
1197
+ {
1198
+ "name": "dialect",
1199
+ "type": {
1200
+ "kind": "primitive",
1201
+ "type": "string"
1202
+ },
1203
+ "decorators": []
1204
+ },
1205
+ {
1206
+ "name": "url",
1207
+ "type": {
1208
+ "kind": "primitive",
1209
+ "type": "string"
1210
+ },
1211
+ "decorators": []
1212
+ },
1213
+ {
1214
+ "name": "username",
1215
+ "type": {
1216
+ "kind": "primitive",
1217
+ "type": "string"
1218
+ },
1219
+ "decorators": []
1220
+ },
1221
+ {
1222
+ "name": "password",
1223
+ "type": {
1224
+ "kind": "primitive",
1225
+ "type": "string"
1226
+ },
1227
+ "decorators": []
1228
+ },
1229
+ {
1230
+ "name": "host",
1231
+ "type": {
1232
+ "kind": "primitive",
1233
+ "type": "string"
1234
+ },
1235
+ "decorators": []
1236
+ }
1237
+ ]
1238
+ },
692
1239
  "valueFields": [
693
1240
  {
694
1241
  "fieldName": "dialect",
@@ -726,7 +1273,7 @@
726
1273
  },
727
1274
  "sourceLocation": {
728
1275
  "filePath": "@goodie-ts/kysely",
729
- "line": 11,
1276
+ "line": 12,
730
1277
  "column": 1
731
1278
  }
732
1279
  },
@@ -737,8 +1284,9 @@
737
1284
  "importPath": "@goodie-ts/kysely"
738
1285
  },
739
1286
  "scope": "singleton",
740
- "eager": false,
1287
+ "eager": true,
741
1288
  "name": null,
1289
+ "primary": false,
742
1290
  "constructorDeps": [
743
1291
  {
744
1292
  "tokenRef": {
@@ -750,7 +1298,7 @@
750
1298
  "collection": false,
751
1299
  "sourceLocation": {
752
1300
  "filePath": "@goodie-ts/kysely",
753
- "line": 28,
1301
+ "line": 30,
754
1302
  "column": 15
755
1303
  }
756
1304
  }
@@ -770,6 +1318,10 @@
770
1318
  "name": "Singleton",
771
1319
  "importPath": "@goodie-ts/kysely"
772
1320
  },
1321
+ {
1322
+ "name": "Eager",
1323
+ "importPath": "@goodie-ts/kysely"
1324
+ },
773
1325
  {
774
1326
  "name": "ConditionalOnProperty",
775
1327
  "importPath": "@goodie-ts/kysely"
@@ -778,23 +1330,23 @@
778
1330
  "methodDecorators": {
779
1331
  "init": [
780
1332
  {
781
- "name": "PostConstruct",
1333
+ "name": "OnInit",
782
1334
  "importPath": "@goodie-ts/kysely"
783
1335
  }
784
1336
  ],
785
1337
  "destroy": [
786
1338
  {
787
- "name": "PreDestroy",
1339
+ "name": "OnDestroy",
788
1340
  "importPath": "@goodie-ts/kysely"
789
1341
  }
790
1342
  ]
791
1343
  },
792
1344
  "publicMembers": null,
793
1345
  "metadata": {
794
- "preDestroyMethods": [
1346
+ "onDestroyMethods": [
795
1347
  "destroy"
796
1348
  ],
797
- "postConstructMethods": [
1349
+ "onInitMethods": [
798
1350
  "init"
799
1351
  ],
800
1352
  "conditionalRules": [
@@ -807,7 +1359,7 @@
807
1359
  },
808
1360
  "sourceLocation": {
809
1361
  "filePath": "@goodie-ts/kysely",
810
- "line": 23,
1362
+ "line": 24,
811
1363
  "column": 1
812
1364
  }
813
1365
  },
@@ -820,6 +1372,7 @@
820
1372
  "scope": "singleton",
821
1373
  "eager": false,
822
1374
  "name": null,
1375
+ "primary": false,
823
1376
  "constructorDeps": [],
824
1377
  "fieldDeps": [],
825
1378
  "factoryKind": "constructor",
@@ -831,7 +1384,7 @@
831
1384
  "importPath": "@goodie-ts/kysely"
832
1385
  },
833
1386
  {
834
- "name": "ConfigurationProperties",
1387
+ "name": "Config",
835
1388
  "importPath": "@goodie-ts/kysely"
836
1389
  },
837
1390
  {
@@ -842,6 +1395,126 @@
842
1395
  "methodDecorators": null,
843
1396
  "publicMembers": null,
844
1397
  "metadata": {
1398
+ "introspectedFields": [
1399
+ {
1400
+ "name": "dialect",
1401
+ "type": {
1402
+ "kind": "primitive",
1403
+ "type": "string"
1404
+ },
1405
+ "decorators": []
1406
+ },
1407
+ {
1408
+ "name": "url",
1409
+ "type": {
1410
+ "kind": "primitive",
1411
+ "type": "string"
1412
+ },
1413
+ "decorators": []
1414
+ },
1415
+ {
1416
+ "name": "host",
1417
+ "type": {
1418
+ "kind": "primitive",
1419
+ "type": "string"
1420
+ },
1421
+ "decorators": []
1422
+ },
1423
+ {
1424
+ "name": "port",
1425
+ "type": {
1426
+ "kind": "primitive",
1427
+ "type": "number"
1428
+ },
1429
+ "decorators": []
1430
+ },
1431
+ {
1432
+ "name": "database",
1433
+ "type": {
1434
+ "kind": "primitive",
1435
+ "type": "string"
1436
+ },
1437
+ "decorators": []
1438
+ },
1439
+ {
1440
+ "name": "user",
1441
+ "type": {
1442
+ "kind": "primitive",
1443
+ "type": "string"
1444
+ },
1445
+ "decorators": []
1446
+ },
1447
+ {
1448
+ "name": "password",
1449
+ "type": {
1450
+ "kind": "primitive",
1451
+ "type": "string"
1452
+ },
1453
+ "decorators": []
1454
+ }
1455
+ ],
1456
+ "__typeRegistration": {
1457
+ "className": "PostgresDatasourceConfig",
1458
+ "importPath": "/home/runner/work/goodie/goodie/packages/kysely/src/dialects/postgres.ts",
1459
+ "fields": [
1460
+ {
1461
+ "name": "dialect",
1462
+ "type": {
1463
+ "kind": "primitive",
1464
+ "type": "string"
1465
+ },
1466
+ "decorators": []
1467
+ },
1468
+ {
1469
+ "name": "url",
1470
+ "type": {
1471
+ "kind": "primitive",
1472
+ "type": "string"
1473
+ },
1474
+ "decorators": []
1475
+ },
1476
+ {
1477
+ "name": "host",
1478
+ "type": {
1479
+ "kind": "primitive",
1480
+ "type": "string"
1481
+ },
1482
+ "decorators": []
1483
+ },
1484
+ {
1485
+ "name": "port",
1486
+ "type": {
1487
+ "kind": "primitive",
1488
+ "type": "number"
1489
+ },
1490
+ "decorators": []
1491
+ },
1492
+ {
1493
+ "name": "database",
1494
+ "type": {
1495
+ "kind": "primitive",
1496
+ "type": "string"
1497
+ },
1498
+ "decorators": []
1499
+ },
1500
+ {
1501
+ "name": "user",
1502
+ "type": {
1503
+ "kind": "primitive",
1504
+ "type": "string"
1505
+ },
1506
+ "decorators": []
1507
+ },
1508
+ {
1509
+ "name": "password",
1510
+ "type": {
1511
+ "kind": "primitive",
1512
+ "type": "string"
1513
+ },
1514
+ "decorators": []
1515
+ }
1516
+ ]
1517
+ },
845
1518
  "valueFields": [
846
1519
  {
847
1520
  "fieldName": "dialect",
@@ -889,7 +1562,7 @@
889
1562
  },
890
1563
  "sourceLocation": {
891
1564
  "filePath": "@goodie-ts/kysely",
892
- "line": 18,
1565
+ "line": 19,
893
1566
  "column": 1
894
1567
  }
895
1568
  },
@@ -900,8 +1573,9 @@
900
1573
  "importPath": "@goodie-ts/kysely"
901
1574
  },
902
1575
  "scope": "singleton",
903
- "eager": false,
1576
+ "eager": true,
904
1577
  "name": null,
1578
+ "primary": false,
905
1579
  "constructorDeps": [
906
1580
  {
907
1581
  "tokenRef": {
@@ -913,7 +1587,7 @@
913
1587
  "collection": false,
914
1588
  "sourceLocation": {
915
1589
  "filePath": "@goodie-ts/kysely",
916
- "line": 38,
1590
+ "line": 40,
917
1591
  "column": 5
918
1592
  }
919
1593
  },
@@ -927,7 +1601,7 @@
927
1601
  "collection": false,
928
1602
  "sourceLocation": {
929
1603
  "filePath": "@goodie-ts/kysely",
930
- "line": 39,
1604
+ "line": 41,
931
1605
  "column": 5
932
1606
  }
933
1607
  }
@@ -947,6 +1621,10 @@
947
1621
  "name": "Singleton",
948
1622
  "importPath": "@goodie-ts/kysely"
949
1623
  },
1624
+ {
1625
+ "name": "Eager",
1626
+ "importPath": "@goodie-ts/kysely"
1627
+ },
950
1628
  {
951
1629
  "name": "ConditionalOnProperty",
952
1630
  "importPath": "@goodie-ts/kysely"
@@ -955,23 +1633,23 @@
955
1633
  "methodDecorators": {
956
1634
  "init": [
957
1635
  {
958
- "name": "PostConstruct",
1636
+ "name": "OnInit",
959
1637
  "importPath": "@goodie-ts/kysely"
960
1638
  }
961
1639
  ],
962
1640
  "destroy": [
963
1641
  {
964
- "name": "PreDestroy",
1642
+ "name": "OnDestroy",
965
1643
  "importPath": "@goodie-ts/kysely"
966
1644
  }
967
1645
  ]
968
1646
  },
969
1647
  "publicMembers": null,
970
1648
  "metadata": {
971
- "preDestroyMethods": [
1649
+ "onDestroyMethods": [
972
1650
  "destroy"
973
1651
  ],
974
- "postConstructMethods": [
1652
+ "onInitMethods": [
975
1653
  "init"
976
1654
  ],
977
1655
  "conditionalRules": [
@@ -984,7 +1662,7 @@
984
1662
  },
985
1663
  "sourceLocation": {
986
1664
  "filePath": "@goodie-ts/kysely",
987
- "line": 32,
1665
+ "line": 33,
988
1666
  "column": 1
989
1667
  }
990
1668
  },
@@ -997,6 +1675,7 @@
997
1675
  "scope": "singleton",
998
1676
  "eager": false,
999
1677
  "name": null,
1678
+ "primary": false,
1000
1679
  "constructorDeps": [],
1001
1680
  "fieldDeps": [],
1002
1681
  "factoryKind": "constructor",
@@ -1008,7 +1687,7 @@
1008
1687
  "importPath": "@goodie-ts/kysely"
1009
1688
  },
1010
1689
  {
1011
- "name": "ConfigurationProperties",
1690
+ "name": "Config",
1012
1691
  "importPath": "@goodie-ts/kysely"
1013
1692
  },
1014
1693
  {
@@ -1019,6 +1698,46 @@
1019
1698
  "methodDecorators": null,
1020
1699
  "publicMembers": null,
1021
1700
  "metadata": {
1701
+ "introspectedFields": [
1702
+ {
1703
+ "name": "dialect",
1704
+ "type": {
1705
+ "kind": "primitive",
1706
+ "type": "string"
1707
+ },
1708
+ "decorators": []
1709
+ },
1710
+ {
1711
+ "name": "url",
1712
+ "type": {
1713
+ "kind": "primitive",
1714
+ "type": "string"
1715
+ },
1716
+ "decorators": []
1717
+ }
1718
+ ],
1719
+ "__typeRegistration": {
1720
+ "className": "SqliteDatasourceConfig",
1721
+ "importPath": "/home/runner/work/goodie/goodie/packages/kysely/src/dialects/sqlite.ts",
1722
+ "fields": [
1723
+ {
1724
+ "name": "dialect",
1725
+ "type": {
1726
+ "kind": "primitive",
1727
+ "type": "string"
1728
+ },
1729
+ "decorators": []
1730
+ },
1731
+ {
1732
+ "name": "url",
1733
+ "type": {
1734
+ "kind": "primitive",
1735
+ "type": "string"
1736
+ },
1737
+ "decorators": []
1738
+ }
1739
+ ]
1740
+ },
1022
1741
  "valueFields": [
1023
1742
  {
1024
1743
  "fieldName": "dialect",
@@ -1041,7 +1760,7 @@
1041
1760
  },
1042
1761
  "sourceLocation": {
1043
1762
  "filePath": "@goodie-ts/kysely",
1044
- "line": 11,
1763
+ "line": 12,
1045
1764
  "column": 1
1046
1765
  }
1047
1766
  },
@@ -1052,8 +1771,9 @@
1052
1771
  "importPath": "@goodie-ts/kysely"
1053
1772
  },
1054
1773
  "scope": "singleton",
1055
- "eager": false,
1774
+ "eager": true,
1056
1775
  "name": null,
1776
+ "primary": false,
1057
1777
  "constructorDeps": [
1058
1778
  {
1059
1779
  "tokenRef": {
@@ -1065,7 +1785,7 @@
1065
1785
  "collection": false,
1066
1786
  "sourceLocation": {
1067
1787
  "filePath": "@goodie-ts/kysely",
1068
- "line": 25,
1788
+ "line": 27,
1069
1789
  "column": 15
1070
1790
  }
1071
1791
  }
@@ -1085,6 +1805,10 @@
1085
1805
  "name": "Singleton",
1086
1806
  "importPath": "@goodie-ts/kysely"
1087
1807
  },
1808
+ {
1809
+ "name": "Eager",
1810
+ "importPath": "@goodie-ts/kysely"
1811
+ },
1088
1812
  {
1089
1813
  "name": "ConditionalOnProperty",
1090
1814
  "importPath": "@goodie-ts/kysely"
@@ -1093,23 +1817,23 @@
1093
1817
  "methodDecorators": {
1094
1818
  "init": [
1095
1819
  {
1096
- "name": "PostConstruct",
1820
+ "name": "OnInit",
1097
1821
  "importPath": "@goodie-ts/kysely"
1098
1822
  }
1099
1823
  ],
1100
1824
  "destroy": [
1101
1825
  {
1102
- "name": "PreDestroy",
1826
+ "name": "OnDestroy",
1103
1827
  "importPath": "@goodie-ts/kysely"
1104
1828
  }
1105
1829
  ]
1106
1830
  },
1107
1831
  "publicMembers": null,
1108
1832
  "metadata": {
1109
- "preDestroyMethods": [
1833
+ "onDestroyMethods": [
1110
1834
  "destroy"
1111
1835
  ],
1112
- "postConstructMethods": [
1836
+ "onInitMethods": [
1113
1837
  "init"
1114
1838
  ],
1115
1839
  "conditionalRules": [
@@ -1122,7 +1846,7 @@
1122
1846
  },
1123
1847
  "sourceLocation": {
1124
1848
  "filePath": "@goodie-ts/kysely",
1125
- "line": 20,
1849
+ "line": 21,
1126
1850
  "column": 1
1127
1851
  }
1128
1852
  }