@prisma/orm-target-postgres 8.0.0-rc.19-dev.1 → 8.0.0-rc.19-dev.3

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 (109) hide show
  1. package/dist/{adapter-Cx1Ba9Lc.d.mts → adapter-DLPamqZO.d.mts} +9 -9
  2. package/dist/{adapter-Cx1Ba9Lc.d.mts.map → adapter-DLPamqZO.d.mts.map} +1 -1
  3. package/dist/adapter.d.mts +1 -1
  4. package/dist/adapter__adapter.d.mts +1 -1
  5. package/dist/adapter__control.mjs +1 -5
  6. package/dist/adapter__control.mjs.map +1 -1
  7. package/dist/adapter__runtime.mjs +1 -1
  8. package/dist/{aggregates-B3lIBjGK.d.mts → aggregates-BjiTuckw.d.mts} +9 -9
  9. package/dist/{aggregates-B3lIBjGK.d.mts.map → aggregates-BjiTuckw.d.mts.map} +1 -1
  10. package/dist/{authoring-NKZZKf0m-aFhCcgbc.mjs → authoring-VPJEKQsx-B3xbnZ0h.mjs} +21 -7
  11. package/dist/authoring-VPJEKQsx-B3xbnZ0h.mjs.map +1 -0
  12. package/dist/{control-C6XU7Guz.d.mts → control-Cu-SPW3N.d.mts} +4 -4
  13. package/dist/{control-C6XU7Guz.d.mts.map → control-Cu-SPW3N.d.mts.map} +1 -1
  14. package/dist/{control-policy-XDdMfbBp-Bf5qOmWS.mjs → control-policy-NpK0183H-DB8b5bNu.mjs} +8 -11
  15. package/dist/control-policy-NpK0183H-DB8b5bNu.mjs.map +1 -0
  16. package/dist/{descriptor-meta-nvriPVgI-B-ZW5haL.mjs → descriptor-meta-BC8Pg1Bl-BHgZYJCX.mjs} +7 -4
  17. package/dist/descriptor-meta-BC8Pg1Bl-BHgZYJCX.mjs.map +1 -0
  18. package/dist/{diff-database-schema-BjbxFQr1-CxXB4GhI.mjs → diff-database-schema-O45Q-UNo-6YARJ8Qu.mjs} +3 -3
  19. package/dist/{diff-database-schema-BjbxFQr1-CxXB4GhI.mjs.map → diff-database-schema-O45Q-UNo-6YARJ8Qu.mjs.map} +1 -1
  20. package/dist/{indexes-CvNRG0Xu-C8OjTa0S.d.mts → indexes-c2U6QZ4P-DgZWG_iu.d.mts} +3 -2
  21. package/dist/indexes-c2U6QZ4P-DgZWG_iu.d.mts.map +1 -0
  22. package/dist/{infer-psl-contract-CwtwKri_-Ccao-UmG.mjs → infer-psl-contract-DEHEkYxP-D1nRXaLH.mjs} +3 -3
  23. package/dist/{infer-psl-contract-CwtwKri_-Ccao-UmG.mjs.map → infer-psl-contract-DEHEkYxP-D1nRXaLH.mjs.map} +1 -1
  24. package/dist/{issue-planner-DYLByGrp.d.mts → issue-planner-BrOqWTg5.d.mts} +3 -5
  25. package/dist/issue-planner-BrOqWTg5.d.mts.map +1 -0
  26. package/dist/migration-CbOh59ZJ.mjs.map +1 -1
  27. package/dist/{migration-CpHZV_Y6.d.mts → migration-cxHhDEGa.d.mts} +3 -3
  28. package/dist/{migration-CpHZV_Y6.d.mts.map → migration-cxHhDEGa.d.mts.map} +1 -1
  29. package/dist/{op-factory-call-DghB0ndC-9CDIMLTM.d.mts → op-factory-call-BAmu21qK-DjHPE4DG.d.mts} +3 -3
  30. package/dist/{op-factory-call-DghB0ndC-9CDIMLTM.d.mts.map → op-factory-call-BAmu21qK-DjHPE4DG.d.mts.map} +1 -1
  31. package/dist/op-factory-call-CDxHGgzs.d.mts +1 -0
  32. package/dist/{op-factory-call-B5_tnifS-BGaMVQ8g.mjs → op-factory-call-CtHJKITc-BMwiP_p7.mjs} +52 -50
  33. package/dist/op-factory-call-CtHJKITc-BMwiP_p7.mjs.map +1 -0
  34. package/dist/{pack-BycbuOFo.d.mts → pack-BLeBhGWE.d.mts} +503 -1
  35. package/dist/pack-BLeBhGWE.d.mts.map +1 -0
  36. package/dist/{planner-BEAM0y_U.d.mts → planner-BQQdHpAs.d.mts} +2 -2
  37. package/dist/{planner-BEAM0y_U.d.mts.map → planner-BQQdHpAs.d.mts.map} +1 -1
  38. package/dist/{planner-Dzp0sfa8-BQQk49Bc.mjs → planner-DD0z05v--ByV38sBF.mjs} +7 -9
  39. package/dist/planner-DD0z05v--ByV38sBF.mjs.map +1 -0
  40. package/dist/{planner-ddl-builders-DbG9_uAk.d.mts → planner-ddl-builders-BvK8Reg3.d.mts} +4 -4
  41. package/dist/{planner-ddl-builders-DbG9_uAk.d.mts.map → planner-ddl-builders-BvK8Reg3.d.mts.map} +1 -1
  42. package/dist/{planner-ddl-builders-BKxUQ0nH-DJB_oubi.mjs → planner-ddl-builders-D7TKi2Cg-Bxxam4cQ.mjs} +6 -7
  43. package/dist/planner-ddl-builders-D7TKi2Cg-Bxxam4cQ.mjs.map +1 -0
  44. package/dist/{planner-identity-values-DhXsY-NI-BxiK5eXi.mjs → planner-identity-values-kXe6EviB-BfD5Gxo_.mjs} +4 -6
  45. package/dist/planner-identity-values-kXe6EviB-BfD5Gxo_.mjs.map +1 -0
  46. package/dist/{planner-identity-values-B-NAiN7I.d.mts → planner-identity-values-lke8kYOC.d.mts} +3 -3
  47. package/dist/planner-identity-values-lke8kYOC.d.mts.map +1 -0
  48. package/dist/{planner-produced-postgres-migration-BO7M2Q-t-Dhyz9UMt.d.mts → planner-produced-postgres-migration-C60Pid87-CFops3Az.d.mts} +3 -3
  49. package/dist/planner-produced-postgres-migration-C60Pid87-CFops3Az.d.mts.map +1 -0
  50. package/dist/{planner-produced-postgres-migration-HAdTAokB-mZ-CNMWW.mjs → planner-produced-postgres-migration-CHFWM40q-DEXCOdWT.mjs} +4 -4
  51. package/dist/{planner-produced-postgres-migration-HAdTAokB-mZ-CNMWW.mjs.map → planner-produced-postgres-migration-CHFWM40q-DEXCOdWT.mjs.map} +1 -1
  52. package/dist/planner-produced-postgres-migration-Ch-pBAnV.d.mts +1 -0
  53. package/dist/{postgres-contract-view-BkuNbRzj-DXXkgI5Y.mjs → postgres-contract-view-DRppzflo-DxrBP7Tj.mjs} +3 -3
  54. package/dist/{postgres-contract-view-BkuNbRzj-DXXkgI5Y.mjs.map → postgres-contract-view-DRppzflo-DxrBP7Tj.mjs.map} +1 -1
  55. package/dist/{postgres-migration-CPUwTt8B-B2vE3E_r.d.mts → postgres-migration-C3HdYUMt-DPWn_-7n.d.mts} +3 -3
  56. package/dist/{postgres-migration-CPUwTt8B-B2vE3E_r.d.mts.map → postgres-migration-C3HdYUMt-DPWn_-7n.d.mts.map} +1 -1
  57. package/dist/{postgres-migration-Bi7QKUYk-ed-QEmS1.mjs → postgres-migration-CliSGXur-BQsla3Y9.mjs} +6 -6
  58. package/dist/{postgres-migration-Bi7QKUYk-ed-QEmS1.mjs.map → postgres-migration-CliSGXur-BQsla3Y9.mjs.map} +1 -1
  59. package/dist/{prisma7-binding-l7PybwgY.mjs → prisma7-binding-DsXmgX4b.mjs} +5 -5
  60. package/dist/prisma7-binding-DsXmgX4b.mjs.map +1 -0
  61. package/dist/{prisma7-binding-ynOpJPog.d.mts → prisma7-binding-kYc2Xcxt.d.mts} +503 -1
  62. package/dist/prisma7-binding-kYc2Xcxt.d.mts.map +1 -0
  63. package/dist/{render-ops-DzfUHzbE-aSmN95s3.mjs → render-ops-CrYiS0XA-Bkqye2yB.mjs} +3 -3
  64. package/dist/{render-ops-DzfUHzbE-aSmN95s3.mjs.map → render-ops-CrYiS0XA-Bkqye2yB.mjs.map} +1 -1
  65. package/dist/target.d.mts +15 -15
  66. package/dist/target.mjs +13 -13
  67. package/dist/target__aggregates.d.mts +1 -1
  68. package/dist/target__control.d.mts +2 -2
  69. package/dist/target__control.mjs +52 -100
  70. package/dist/target__control.mjs.map +1 -1
  71. package/dist/target__diff-database-schema.mjs +1 -1
  72. package/dist/target__issue-planner.d.mts +1 -1
  73. package/dist/target__issue-planner.mjs +1 -1
  74. package/dist/target__migration.d.mts +2 -2
  75. package/dist/target__migration.mjs +2 -2
  76. package/dist/target__op-factory-call.d.mts +2 -2
  77. package/dist/target__op-factory-call.mjs +1 -1
  78. package/dist/target__pack.d.mts +1 -1
  79. package/dist/target__pack.mjs +1 -1
  80. package/dist/target__planner-ddl-builders.d.mts +1 -1
  81. package/dist/target__planner-ddl-builders.mjs +1 -1
  82. package/dist/target__planner-identity-values.d.mts +1 -1
  83. package/dist/target__planner-identity-values.mjs +1 -1
  84. package/dist/target__planner-produced-postgres-migration.d.mts +2 -2
  85. package/dist/target__planner-produced-postgres-migration.mjs +1 -1
  86. package/dist/target__planner.d.mts +1 -1
  87. package/dist/target__planner.mjs +2 -2
  88. package/dist/target__prisma7-binding.d.mts +1 -1
  89. package/dist/target__prisma7-binding.mjs +1 -1
  90. package/dist/target__render-ops.mjs +1 -1
  91. package/dist/target__runtime.mjs +2 -2
  92. package/dist/target__runtime.mjs.map +1 -1
  93. package/package.json +9 -9
  94. package/dist/authoring-NKZZKf0m-aFhCcgbc.mjs.map +0 -1
  95. package/dist/control-policy-XDdMfbBp-Bf5qOmWS.mjs.map +0 -1
  96. package/dist/descriptor-meta-nvriPVgI-B-ZW5haL.mjs.map +0 -1
  97. package/dist/indexes-CvNRG0Xu-C8OjTa0S.d.mts.map +0 -1
  98. package/dist/issue-planner-DYLByGrp.d.mts.map +0 -1
  99. package/dist/op-factory-call-B5_tnifS-BGaMVQ8g.mjs.map +0 -1
  100. package/dist/op-factory-call-BRHT7R1s.d.mts +0 -1
  101. package/dist/pack-BycbuOFo.d.mts.map +0 -1
  102. package/dist/planner-Dzp0sfa8-BQQk49Bc.mjs.map +0 -1
  103. package/dist/planner-ddl-builders-BKxUQ0nH-DJB_oubi.mjs.map +0 -1
  104. package/dist/planner-identity-values-B-NAiN7I.d.mts.map +0 -1
  105. package/dist/planner-identity-values-DhXsY-NI-BxiK5eXi.mjs.map +0 -1
  106. package/dist/planner-produced-postgres-migration-BO7M2Q-t-Dhyz9UMt.d.mts.map +0 -1
  107. package/dist/planner-produced-postgres-migration-C0Zs5NHu.d.mts +0 -1
  108. package/dist/prisma7-binding-l7PybwgY.mjs.map +0 -1
  109. package/dist/prisma7-binding-ynOpJPog.d.mts.map +0 -1
@@ -89,6 +89,98 @@ declare const prisma7PostgresBinding: {
89
89
  };
90
90
  };
91
91
  };
92
+ readonly temporal: {
93
+ readonly CreatedAtString: {
94
+ readonly kind: "typeAlias";
95
+ readonly documentation: `A timestamp the client sets to now when a row is created. Its value is ${string}.`;
96
+ readonly output: {
97
+ readonly type: {
98
+ readonly codecId: "pg/timestamptz-string@1";
99
+ };
100
+ readonly onCreate: {
101
+ readonly name: "now";
102
+ readonly args: {};
103
+ };
104
+ };
105
+ };
106
+ readonly UpdatedAtString: {
107
+ readonly kind: "typeAlias";
108
+ readonly documentation: `A timestamp the client sets to now when a row is created and every time it is updated. Its value is ${string}.`;
109
+ readonly output: {
110
+ readonly type: {
111
+ readonly codecId: "pg/timestamptz-string@1";
112
+ };
113
+ readonly onCreate: {
114
+ readonly name: "now";
115
+ readonly args: {};
116
+ };
117
+ readonly onUpdate: {
118
+ readonly name: "now";
119
+ readonly args: {};
120
+ };
121
+ };
122
+ };
123
+ readonly CreatedAtJsDate: {
124
+ readonly kind: "typeAlias";
125
+ readonly documentation: `A timestamp the client sets to now when a row is created. Its value is ${string}.`;
126
+ readonly output: {
127
+ readonly type: {
128
+ readonly codecId: "pg/timestamptz-date@1";
129
+ };
130
+ readonly onCreate: {
131
+ readonly name: "now";
132
+ readonly args: {};
133
+ };
134
+ };
135
+ };
136
+ readonly UpdatedAtJsDate: {
137
+ readonly kind: "typeAlias";
138
+ readonly documentation: `A timestamp the client sets to now when a row is created and every time it is updated. Its value is ${string}.`;
139
+ readonly output: {
140
+ readonly type: {
141
+ readonly codecId: "pg/timestamptz-date@1";
142
+ };
143
+ readonly onCreate: {
144
+ readonly name: "now";
145
+ readonly args: {};
146
+ };
147
+ readonly onUpdate: {
148
+ readonly name: "now";
149
+ readonly args: {};
150
+ };
151
+ };
152
+ };
153
+ readonly CreatedAt: {
154
+ readonly kind: "typeAlias";
155
+ readonly documentation: `A timestamp the client sets to now when a row is created. Its value is ${string}.`;
156
+ readonly output: {
157
+ readonly type: {
158
+ readonly codecId: "pg/timestamptz-temporal@1";
159
+ };
160
+ readonly onCreate: {
161
+ readonly name: "now";
162
+ readonly args: {};
163
+ };
164
+ };
165
+ };
166
+ readonly UpdatedAt: {
167
+ readonly kind: "typeAlias";
168
+ readonly documentation: `A timestamp the client sets to now when a row is created and every time it is updated. Its value is ${string}.`;
169
+ readonly output: {
170
+ readonly type: {
171
+ readonly codecId: "pg/timestamptz-temporal@1";
172
+ };
173
+ readonly onCreate: {
174
+ readonly name: "now";
175
+ readonly args: {};
176
+ };
177
+ readonly onUpdate: {
178
+ readonly name: "now";
179
+ readonly args: {};
180
+ };
181
+ };
182
+ };
183
+ };
92
184
  readonly sql: {
93
185
  readonly String: {
94
186
  readonly kind: "typeConstructor";
@@ -109,6 +201,416 @@ declare const prisma7PostgresBinding: {
109
201
  };
110
202
  };
111
203
  };
204
+ readonly VarChar: {
205
+ readonly kind: "typeConstructor";
206
+ readonly inferred: true;
207
+ readonly documentation: "Variable-length text with an optional maximum character length.";
208
+ readonly args: readonly [{
209
+ readonly kind: "value";
210
+ readonly dataType: "pg/int4";
211
+ readonly name: "length";
212
+ readonly optional: true;
213
+ }];
214
+ readonly output: {
215
+ readonly codecId: "sql/varchar@1";
216
+ readonly typeParams: {
217
+ readonly length: {
218
+ readonly kind: "arg";
219
+ readonly index: 0;
220
+ };
221
+ };
222
+ };
223
+ };
224
+ readonly Char: {
225
+ readonly kind: "typeConstructor";
226
+ readonly inferred: true;
227
+ readonly documentation: "Fixed-length, blank-padded text with an optional character length.";
228
+ readonly args: readonly [{
229
+ readonly kind: "value";
230
+ readonly dataType: "pg/int4";
231
+ readonly name: "length";
232
+ readonly optional: true;
233
+ }];
234
+ readonly output: {
235
+ readonly codecId: "sql/char@1";
236
+ readonly typeParams: {
237
+ readonly length: {
238
+ readonly kind: "arg";
239
+ readonly index: 0;
240
+ };
241
+ };
242
+ };
243
+ };
244
+ readonly Numeric: {
245
+ readonly kind: "typeConstructor";
246
+ readonly inferred: true;
247
+ readonly documentation: "An exact decimal value with optional precision and scale.";
248
+ readonly args: readonly [{
249
+ readonly kind: "value";
250
+ readonly dataType: "pg/int4";
251
+ readonly name: "precision";
252
+ readonly optional: true;
253
+ }, {
254
+ readonly kind: "value";
255
+ readonly dataType: "pg/int4";
256
+ readonly name: "scale";
257
+ readonly optional: true;
258
+ }];
259
+ readonly output: {
260
+ readonly codecId: "pg/numeric@1";
261
+ readonly typeParams: {
262
+ readonly precision: {
263
+ readonly kind: "arg";
264
+ readonly index: 0;
265
+ };
266
+ readonly scale: {
267
+ readonly kind: "arg";
268
+ readonly index: 1;
269
+ };
270
+ };
271
+ };
272
+ };
273
+ readonly Timestamp: {
274
+ readonly kind: "typeConstructor";
275
+ readonly documentation: "A date and time without a time zone, represented as Temporal.PlainDateTime.";
276
+ readonly args: readonly [{
277
+ readonly kind: "value";
278
+ readonly dataType: "pg/int4";
279
+ readonly name: "precision";
280
+ readonly optional: true;
281
+ }];
282
+ readonly output: {
283
+ readonly codecId: "pg/timestamp-temporal@1";
284
+ readonly typeParams: {
285
+ readonly precision: {
286
+ readonly kind: "arg";
287
+ readonly index: 0;
288
+ };
289
+ };
290
+ };
291
+ };
292
+ readonly Timestamptz: {
293
+ readonly kind: "typeConstructor";
294
+ readonly documentation: "An instant represented as Temporal.Instant, with optional fractional-second precision.";
295
+ readonly args: readonly [{
296
+ readonly kind: "value";
297
+ readonly dataType: "pg/int4";
298
+ readonly name: "precision";
299
+ readonly optional: true;
300
+ }];
301
+ readonly output: {
302
+ readonly codecId: "pg/timestamptz-temporal@1";
303
+ readonly typeParams: {
304
+ readonly precision: {
305
+ readonly kind: "arg";
306
+ readonly index: 0;
307
+ };
308
+ };
309
+ };
310
+ };
311
+ readonly Time: {
312
+ readonly kind: "typeConstructor";
313
+ readonly documentation: "A time of day without a time zone, represented as Temporal.PlainTime.";
314
+ readonly args: readonly [{
315
+ readonly kind: "value";
316
+ readonly dataType: "pg/int4";
317
+ readonly name: "precision";
318
+ readonly optional: true;
319
+ }];
320
+ readonly output: {
321
+ readonly codecId: "pg/time-temporal@1";
322
+ readonly typeParams: {
323
+ readonly precision: {
324
+ readonly kind: "arg";
325
+ readonly index: 0;
326
+ };
327
+ };
328
+ };
329
+ };
330
+ readonly Timetz: {
331
+ readonly kind: "typeConstructor";
332
+ readonly inferred: true;
333
+ readonly documentation: "A time of day with a UTC offset stored as PostgreSQL timetz.";
334
+ readonly args: readonly [{
335
+ readonly kind: "value";
336
+ readonly dataType: "pg/int4";
337
+ readonly name: "precision";
338
+ readonly optional: true;
339
+ }];
340
+ readonly output: {
341
+ readonly codecId: "pg/timetz@1";
342
+ readonly typeParams: {
343
+ readonly precision: {
344
+ readonly kind: "arg";
345
+ readonly index: 0;
346
+ };
347
+ };
348
+ };
349
+ };
350
+ readonly Uuid: {
351
+ readonly kind: "typeConstructor";
352
+ readonly inferred: true;
353
+ readonly documentation: "A universally unique identifier stored as PostgreSQL uuid.";
354
+ readonly output: {
355
+ readonly codecId: "pg/uuid@1";
356
+ };
357
+ };
358
+ readonly Inet: {
359
+ readonly kind: "typeConstructor";
360
+ readonly inferred: true;
361
+ readonly documentation: "An IPv4 or IPv6 address with an optional subnet mask.";
362
+ readonly output: {
363
+ readonly codecId: "pg/inet@1";
364
+ };
365
+ };
366
+ readonly SmallInt: {
367
+ readonly kind: "typeConstructor";
368
+ readonly inferred: true;
369
+ readonly documentation: "A signed 16-bit integer represented as a JavaScript number.";
370
+ readonly output: {
371
+ readonly codecId: "pg/int2@1";
372
+ };
373
+ };
374
+ readonly Real: {
375
+ readonly kind: "typeConstructor";
376
+ readonly inferred: true;
377
+ readonly documentation: "A single-precision floating-point number.";
378
+ readonly output: {
379
+ readonly codecId: "pg/float4@1";
380
+ };
381
+ };
382
+ readonly Date: {
383
+ readonly kind: "typeConstructor";
384
+ readonly documentation: "A calendar date represented as Temporal.PlainDate.";
385
+ readonly output: {
386
+ readonly codecId: "pg/date-temporal@1";
387
+ };
388
+ };
389
+ readonly DateString: {
390
+ readonly kind: "typeConstructor";
391
+ readonly inferred: true;
392
+ readonly documentation: "A PostgreSQL date represented as database text rather than Temporal.PlainDate.";
393
+ readonly output: {
394
+ readonly codecId: "pg/date-string@1";
395
+ };
396
+ };
397
+ readonly TimestampString: {
398
+ readonly kind: "typeConstructor";
399
+ readonly inferred: true;
400
+ readonly documentation: "A timestamp without a time zone represented as PostgreSQL text.";
401
+ readonly args: readonly [{
402
+ readonly kind: "value";
403
+ readonly dataType: "pg/int4";
404
+ readonly name: "precision";
405
+ readonly optional: true;
406
+ }];
407
+ readonly output: {
408
+ readonly codecId: "pg/timestamp-string@1";
409
+ readonly typeParams: {
410
+ readonly precision: {
411
+ readonly kind: "arg";
412
+ readonly index: 0;
413
+ };
414
+ };
415
+ };
416
+ };
417
+ readonly TimestamptzJsDate: {
418
+ readonly kind: "typeConstructor";
419
+ readonly documentation: "An instant stored as PostgreSQL timestamptz and represented as a JavaScript Date.";
420
+ readonly args: readonly [{
421
+ readonly kind: "value";
422
+ readonly dataType: "pg/int4";
423
+ readonly name: "precision";
424
+ readonly optional: true;
425
+ }];
426
+ readonly output: {
427
+ readonly codecId: "pg/timestamptz-date@1";
428
+ readonly typeParams: {
429
+ readonly precision: {
430
+ readonly kind: "arg";
431
+ readonly index: 0;
432
+ };
433
+ };
434
+ };
435
+ };
436
+ readonly TimestamptzString: {
437
+ readonly kind: "typeConstructor";
438
+ readonly inferred: true;
439
+ readonly documentation: "A timestamp with time zone represented as PostgreSQL text.";
440
+ readonly args: readonly [{
441
+ readonly kind: "value";
442
+ readonly dataType: "pg/int4";
443
+ readonly name: "precision";
444
+ readonly optional: true;
445
+ }];
446
+ readonly output: {
447
+ readonly codecId: "pg/timestamptz-string@1";
448
+ readonly typeParams: {
449
+ readonly precision: {
450
+ readonly kind: "arg";
451
+ readonly index: 0;
452
+ };
453
+ };
454
+ };
455
+ };
456
+ readonly TimeString: {
457
+ readonly kind: "typeConstructor";
458
+ readonly inferred: true;
459
+ readonly documentation: "A time of day without a time zone represented as PostgreSQL text.";
460
+ readonly args: readonly [{
461
+ readonly kind: "value";
462
+ readonly dataType: "pg/int4";
463
+ readonly name: "precision";
464
+ readonly optional: true;
465
+ }];
466
+ readonly output: {
467
+ readonly codecId: "pg/time-string@1";
468
+ readonly typeParams: {
469
+ readonly precision: {
470
+ readonly kind: "arg";
471
+ readonly index: 0;
472
+ };
473
+ };
474
+ };
475
+ };
476
+ readonly Bit: {
477
+ readonly kind: "typeConstructor";
478
+ readonly inferred: true;
479
+ readonly documentation: "A fixed-length bit string with an optional length in bits.";
480
+ readonly args: readonly [{
481
+ readonly kind: "value";
482
+ readonly dataType: "pg/int4";
483
+ readonly name: "length";
484
+ readonly optional: true;
485
+ }];
486
+ readonly output: {
487
+ readonly codecId: "pg/bit@1";
488
+ readonly typeParams: {
489
+ readonly length: {
490
+ readonly kind: "arg";
491
+ readonly index: 0;
492
+ };
493
+ };
494
+ };
495
+ };
496
+ readonly VarBit: {
497
+ readonly kind: "typeConstructor";
498
+ readonly inferred: true;
499
+ readonly documentation: "A variable-length bit string with an optional maximum length in bits.";
500
+ readonly args: readonly [{
501
+ readonly kind: "value";
502
+ readonly dataType: "pg/int4";
503
+ readonly name: "length";
504
+ readonly optional: true;
505
+ }];
506
+ readonly output: {
507
+ readonly codecId: "pg/varbit@1";
508
+ readonly typeParams: {
509
+ readonly length: {
510
+ readonly kind: "arg";
511
+ readonly index: 0;
512
+ };
513
+ };
514
+ };
515
+ };
516
+ readonly Interval: {
517
+ readonly kind: "typeConstructor";
518
+ readonly inferred: true;
519
+ readonly documentation: "A span of time stored as PostgreSQL interval, with optional fractional-second precision.";
520
+ readonly args: readonly [{
521
+ readonly kind: "value";
522
+ readonly dataType: "pg/int4";
523
+ readonly name: "precision";
524
+ readonly optional: true;
525
+ }];
526
+ readonly output: {
527
+ readonly codecId: "pg/interval@1";
528
+ readonly typeParams: {
529
+ readonly precision: {
530
+ readonly kind: "arg";
531
+ readonly index: 0;
532
+ };
533
+ };
534
+ };
535
+ };
536
+ readonly String: {
537
+ readonly kind: "typeConstructor";
538
+ readonly inferred: true;
539
+ readonly documentation: "Variable-length text stored as PostgreSQL text.";
540
+ readonly output: {
541
+ readonly codecId: "pg/text@1";
542
+ };
543
+ };
544
+ readonly Boolean: {
545
+ readonly kind: "typeConstructor";
546
+ readonly inferred: true;
547
+ readonly documentation: "A true or false value stored as PostgreSQL boolean.";
548
+ readonly output: {
549
+ readonly codecId: "pg/bool@1";
550
+ };
551
+ };
552
+ readonly Int: {
553
+ readonly kind: "typeConstructor";
554
+ readonly inferred: true;
555
+ readonly documentation: "A signed 32-bit integer represented as a JavaScript number.";
556
+ readonly output: {
557
+ readonly codecId: "pg/int4@1";
558
+ };
559
+ };
560
+ readonly BigInt: {
561
+ readonly kind: "typeConstructor";
562
+ readonly inferred: true;
563
+ readonly documentation: "A signed 64-bit integer represented as a JavaScript bigint.";
564
+ readonly output: {
565
+ readonly codecId: "pg/int8@1";
566
+ };
567
+ };
568
+ readonly Float: {
569
+ readonly kind: "typeConstructor";
570
+ readonly inferred: true;
571
+ readonly documentation: "A double-precision floating-point number.";
572
+ readonly output: {
573
+ readonly codecId: "pg/float8@1";
574
+ };
575
+ };
576
+ readonly Decimal: {
577
+ readonly kind: "typeConstructor";
578
+ readonly documentation: "An exact decimal value stored as PostgreSQL numeric.";
579
+ readonly output: {
580
+ readonly codecId: "pg/numeric@1";
581
+ };
582
+ };
583
+ readonly DateTime: {
584
+ readonly kind: "typeConstructor";
585
+ readonly documentation: "An instant stored as PostgreSQL timestamptz and represented as Temporal.Instant.";
586
+ readonly output: {
587
+ readonly codecId: "pg/timestamptz-temporal@1";
588
+ };
589
+ };
590
+ readonly Json: {
591
+ readonly kind: "typeConstructor";
592
+ readonly inferred: true;
593
+ readonly documentation: "A JSON value stored as PostgreSQL json.";
594
+ readonly output: {
595
+ readonly codecId: "pg/json@1";
596
+ };
597
+ };
598
+ readonly Jsonb: {
599
+ readonly kind: "typeConstructor";
600
+ readonly inferred: true;
601
+ readonly documentation: "A JSON value stored in PostgreSQL binary jsonb format.";
602
+ readonly output: {
603
+ readonly codecId: "pg/jsonb@1";
604
+ };
605
+ };
606
+ readonly Bytes: {
607
+ readonly kind: "typeConstructor";
608
+ readonly inferred: true;
609
+ readonly documentation: "Binary data stored as PostgreSQL bytea.";
610
+ readonly output: {
611
+ readonly codecId: "pg/bytea@1";
612
+ };
613
+ };
112
614
  };
113
615
  readonly field: {
114
616
  readonly text: {
@@ -1145,4 +1647,4 @@ declare const prisma7PostgresBinding: {
1145
1647
  };
1146
1648
  //#endregion
1147
1649
  export { prisma7PostgresBinding as t };
1148
- //# sourceMappingURL=prisma7-binding-ynOpJPog.d.mts.map
1650
+ //# sourceMappingURL=prisma7-binding-kYc2Xcxt.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prisma7-binding-kYc2Xcxt.d.mts","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/prisma7-binding.d.mts"],"mappings":";;;;;;;;;;;;UAYU;WACC;WACA;;;;;iBAKM,sBAAsB;;iBAEtB,sBAAsB,mBAAmB;;;;;;;;iBAQzC,2BAA2B,gBAAgB;;;iBAG3C,YAAY;;;;;;;;cAQf;WACH;aACE;aACA;aACA,yDAAyD,iBAAiB,uBAAuB;eAC/F;SACN;eACM;SACN;eACM;SACN;eACM;SACN;eACM;SACN;eACM;SACN;eACM;QACP;QACA;;;aAGK;eACE;iBACE;mBACE;mBACA;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;mBACA;qBACE;;;iBAGJ;mBACE;qBACE;qBACA;qBACA;uBACE;uBACA;;qBAEF;uBACE;;;;iBAIN;mBACE;qBACE;qBACA;qBACA;uBACE;yBACE;;uBAEF;yBACE;yBACA;;;;mBAIN;qBACE;qBACA;qBACA;uBACE;yBACE;;uBAEF;yBACE;yBACA;;uBAEF;yBACE;yBACA;;;;mBAIN;qBACE;qBACA;qBACA;uBACE;yBACE;;uBAEF;yBACE;yBACA;;;;mBAIN;qBACE;qBACA;qBACA;uBACE;yBACE;;uBAEF;yBACE;yBACA;;uBAEF;yBACE;yBACA;;;;mBAIN;qBACE;qBACA;qBACA;uBACE;yBACE;;uBAEF;yBACE;yBACA;;;;mBAIN;qBACE;qBACA;qBACA;uBACE;yBACE;;uBAEF;yBACE;yBACA;;uBAEF;yBACE;yBACA;;;;;iBAKR;mBACE;qBACE;qBACA;qBACA;uBACE;uBACA;uBACA;;qBAEF;uBACE;uBACA;yBACE;2BACE;2BACA;;;;;;iBAMV;mBACE;mBACA;mBACA;mBACA;qBACE;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;;;iBAKR;mBACE;mBACA;mBACA;mBACA;qBACE;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;;;iBAKR;mBACE;mBACA;mBACA;mBACA;qBACE;qBACA;qBACA;qBACA;;qBAEA;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;uBAEF;yBACE;yBACA;;;;;iBAKR;mBACE;mBACA;mBACA;qBACE;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;;;iBAKR;mBACE;mBACA;mBACA;qBACE;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;;;iBAKR;mBACE;mBACA;mBACA;qBACE;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;;;iBAKR;mBACE;mBACA;mBACA;mBACA;qBACE;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;;;iBAKR;mBACE;mBACA;mBACA;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;mBACA;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;mBACA;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;mBACA;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;mBACA;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;mBACA;mBACA;qBACE;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;;;iBAKR;mBACE;mBACA;mBACA;qBACE;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;;;iBAKR;mBACE;mBACA;mBACA;mBACA;qBACE;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;;;iBAKR;mBACE;mBACA;mBACA;mBACA;qBACE;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;;;iBAKR;mBACE;mBACA;mBACA;mBACA;qBACE;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;;;iBAKR;mBACE;mBACA;mBACA;mBACA;qBACE;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;;;iBAKR;mBACE;mBACA;mBACA;mBACA;qBACE;qBACA;qBACA;qBACA;;mBAEF;qBACE;qBACA;uBACE;yBACE;yBACA;;;;;iBAKR;mBACE;mBACA;mBACA;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;mBACA;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;mBACA;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;mBACA;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;mBACA;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;mBACA;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;mBACA;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;mBACA;mBACA;qBACE;;;;eAIN;iBACE;mBACE;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;qBACE;;;iBAGJ;mBACE;mBACA;qBACE;;;iBAGJ;mBACE;qBACE;qBACA;uBACE;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;qBAEF;uBACE;uBACA;yBACE;2BACE;2BACA;;;uBAGJ;yBACE;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;yBAIN;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;;;;mBAOZ;qBACE;qBACA;uBACE;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;qBAEF;uBACE;uBACA;yBACE;2BACE;2BACA;;;uBAGJ;yBACE;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;yBAIN;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;;;;mBAOZ;qBACE;qBACA;uBACE;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;qBAEF;uBACE;uBACA;yBACE;2BACE;2BACA;;;uBAGJ;yBACE;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;yBAIN;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;;;;mBAOZ;qBACE;qBACA;uBACE;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;qBAEF;uBACE;uBACA;yBACE;2BACE;2BACA;;;uBAGJ;yBACE;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;yBAIN;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;;;;mBAOZ;qBACE;qBACA;uBACE;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;qBAEF,QAAQ;uBACN;uBACA;;uBAEA;;uBAEA;yBACE;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;yBAIN;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;;;;mBAOZ;qBACE;qBACA;uBACE;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;qBAEF,QAAQ;uBACN;uBACA;;uBAEA;;uBAEA;yBACE;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;yBAIN;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;;;;mBAOZ;qBACE;qBACA;uBACE;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;qBAEF;uBACE;uBACA;yBACE;2BACE;2BACA;;;uBAGJ;yBACE;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;yBAIN;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;;;;mBAOZ;qBACE;qBACA;uBACE;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;qBAEF;uBACE;uBACA;yBACE;2BACE;2BACA;;;uBAGJ;yBACE;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;yBAIN;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;;;;mBAOZ;qBACE;qBACA;uBACE;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;qBAEF;uBACE;uBACA;yBACE;2BACE;2BACA;;;uBAGJ;yBACE;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;yBAIN;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;;;;mBAOZ;qBACE;qBACA,QAAQ;uBACN;uBACA;;uBAEA;;uBAEA;yBACE;2BACE;2BACA;;;;;mBAKR;qBACE;qBACA,QAAQ;uBACN;uBACA;;uBAEA;;uBAEA;yBACE;2BACE;2BACA;;yBAEF;2BACE;2BACA;;;;;mBAKR;qBACE;qBACA,QAAQ;uBACN;uBACA;;uBAEA;;uBAEA;yBACE;2BACE;2BACA;;;;;mBAKR;qBACE;qBACA,QAAQ;uBACN;uBACA;;uBAEA;;uBAEA;yBACE;2BACE;2BACA;;yBAEF;2BACE;2BACA;;;;;mBAKR;qBACE;qBACA,QAAQ;uBACN;uBACA;;uBAEA;;uBAEA;yBACE;2BACE;2BACA;;;;;mBAKR;qBACE;qBACA,QAAQ;uBACN;uBACA;;uBAEA;;uBAEA;yBACE;2BACE;2BACA;;yBAEF;2BACE;2BACA;;;;;mBAKR;qBACE;qBACA;uBACE;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;uBAEA;uBACA;uBACA;uBACA;;qBAEF;uBACE;uBACA;yBACE;2BACE;2BACA;;;uBAGJ;yBACE;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;yBAIN;2BACE;2BACA;2BACA;6BACE;+BACE;+BACA;;;;;;;;iBAQd;mBACE;mBACA;qBACE;;;iBAGJ;mBACE;qBACE;qBACA;uBACE;uBACA;yBACE;2BACE;2BACA;;;uBAGJ;;;mBAGJ;qBACE;qBACA;uBACE;uBACA;yBACE;2BACE;2BACA;;;uBAGJ;;;;;eAKR,WAAW,SAAS,kEAAkE;eACtF,uEAAuE;eACvE;iBACE;mBACE;mBACA;mBACA,+DAA+D;YACtE;YACA;YACA;YACA;;mBAEO;qBACE,UAAU,OAAO,oBAAoB,wDAAwD,2BAA2B;;;iBAG5H;mBACE;mBACA;mBACA,+DAA+D;YACtE;YACA;YACA;;mBAEO;qBACE,UAAU,OAAO,+BAA+B;;;iBAGpD;mBACE;mBACA;mBACA,+DAA+D;YACtE;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;YACA;;mBAEO;YACP,UAAU,OAAO,yBAAyB,wDAAwD,2BAA2B;YAC7H,eAAe,QAAQ;cACrB;;;;iBAIG;mBACE;mBACA;mBACA,+DAA+D;YACtE;YACA;YACA;YACA;;mBAEO;YACP,UAAU,sCAAsC,wBAAwB,yBAAyB,wDAAwD,2BAA2B;YACpL,iBAAiB,QAAQ;cACvB;cACA;;;;;eAKC;iBACE;UACP;UACA;UACA;UACA;UACA;YACE;;UAEF,aAAa;UACb;qBACW;qBACA;;UAEX;YACE,0CAA0C;cACxC;8CACgC;;;iBAG7B;UACP;UACA;UACA;UACA;UACA;YACE;;UAEF,aAAa;UACb;qBACW;qBACA;;UAEX;YACE,0CAA0C;cACxC;8CACgC;;;iBAG7B;UACP;UACA;UACA;UACA;UACA;YACE;;UAEF,aAAa;UACb;qBACW;qBACA;;UAEX;YACE,0CAA0C;cACxC;8CACgC;;;iBAG7B;UACP;UACA;UACA;UACA;UACA;YACE;;UAEF,aAAa;UACb;qBACW;qBACA;;UAEX;YACE,0CAA0C;cACxC;8CACgC;;;iBAG7B;UACP;UACA;UACA;UACA;UACA;YACE;;UAEF,aAAa;UACb;qBACW;qBACA;;UAEX;YACE,0CAA0C;cACxC;8CACgC;;;iBAG7B;UACP;UACA;UACA;UACA;UACA;YACE;;UAEF,aAAa;UACb;UACA;YACE,0CAA0C;cACxC;8CACgC;;;iBAG7B;UACP;UACA;UACA;UACA;UACA;YACE;;UAEF,aAAa;;;eAGR;iBACE;mBACE;mBACA;mBACA,qCAAqC;mBACrC,QAAQ,SAAS,sBAAsB,wDAAwD;YACtG;YACA,QAAQ;;;iBAGH;mBACE;mBACA;mBACA,qCAAqC;mBACrC;mBACA,QAAQ;qBACN,QAAQ;qBACR,WAAW;qBACX;qBACA;qBACA,uCAAuC;aAC/C,wDAAwD;YACzD;cACE;cACA;cACA;gBACE;gBACA;;cAEF;cACA;cACA;cACA;;;;;eAKC,wBAAwB;eACxB,0BAA0B;eAC1B,+BAA+B;eAC/B,2BAA2B;;aAE7B;eACE;eACA,YAAY,8DAA8D;iBACxE;iBACA;mBACE;mBACA,qCAAqC,sDAAsD,6CAA6C,8CAA8C;mBACtL;;;eAGJ;;eAEA;eACA,YAAY,8DAA8D;iBACxE;iBACA;mBACE;mBACA,qCAAqC,0CAA0C;mBAC/E;;;eAGJ;;eAEA;eACA,YAAY,8DAA8D;iBACxE;iBACA;mBACE;mBACA,qCAAqC,uDAAuD,6CAA6C,+CAA+C;mBACxL;;;eAGJ;2DAC4C,sFAAsF;aACpI;eACE,yBAAyB;eACzB,gFAAgF;;aAElF;eACE;iBACE;mBACE;mBACA;mBACA;;;;aAIN;aACA;aACA;aACA;aACA;aACA;aACA,mEAAmE;aACnE,eAAe;;aAEf,eAAe;aACf,wBAAwB;aACxB,6BAA6B;aAC7B;eACE;iBACE;iBACA;;;;WAIN,wBAAwB;WACxB;WACA;IACP,SAAS,SAAS,eAAe;IACjC,aAAa,SAAS,eAAe;;WAE9B;aACE;aACA;;WAEF;aACE;aACA;aACA;aACA;aACA;aACA;;;WAGF;WACA;aACE,mBAAmB;aACnB,mBAAmB;;WAErB,mCAAmC;WACnC,uBAAuB,UAAU;aAC/B;aACA,aAAa,SAAS;;aAEtB;aACA;aACA;aACA;;aAEA;aACA;aACA,aAAa;aACb;;aAEA;aACA;aACA,OAAO;aACP,kBAAkB;MACzB;MACA"}
@@ -1,8 +1,8 @@
1
1
  import { c as postgresError } from "./errors-BrhQYgdL-D_lIrddD.mjs";
2
- import { B as isPostgresOpFactoryCall } from "./op-factory-call-B5_tnifS-BGaMVQ8g.mjs";
2
+ import { B as isPostgresOpFactoryCall } from "./op-factory-call-CtHJKITc-BMwiP_p7.mjs";
3
3
  import { blindCast } from "@prisma/orm-framework/utils/casts";
4
4
  import { isThenable } from "@prisma/orm-framework/utils/promise";
5
- //#region ../../../3-targets/3-targets/postgres/dist/render-ops-DzfUHzbE.mjs
5
+ //#region ../../../3-targets/3-targets/postgres/dist/render-ops-CrYiS0XA.mjs
6
6
  /**
7
7
  * Asserts an op materialised by an `OpFactoryCall` targets postgres. The
8
8
  * extension surface lets any contributor emit calls, so this is the
@@ -38,4 +38,4 @@ function renderOps(calls, lowerer) {
38
38
  //#endregion
39
39
  export { renderOps as t };
40
40
 
41
- //# sourceMappingURL=render-ops-DzfUHzbE-aSmN95s3.mjs.map
41
+ //# sourceMappingURL=render-ops-CrYiS0XA-Bkqye2yB.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"render-ops-DzfUHzbE-aSmN95s3.mjs","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/render-ops-DzfUHzbE.mjs"],"sourcesContent":["import { c as postgresError } from \"./errors-BrhQYgdL.mjs\";\nimport { R as isPostgresOpFactoryCall } from \"./op-factory-call-B5_tnifS.mjs\";\nimport { blindCast } from \"@internal/utils/casts\";\nimport { isThenable } from \"@internal/utils/promise\";\n//#region src/core/migrations/render-ops.ts\n/**\n* Asserts an op materialised by an `OpFactoryCall` targets postgres. The\n* extension surface lets any contributor emit calls, so this is the\n* integration boundary where a stray non-postgres op would otherwise\n* silently flow through to postgres-shaped renderers — exactly the\n* place to fail loudly with op metadata (`id` + `target.id`).\n*/\nfunction assertPostgresOp(op, callFactoryName) {\n\tconst targetId = blindCast(op).target?.id;\n\tif (targetId !== \"postgres\") throw postgresError(\"MIGRATION.TARGET_MISMATCH\", `renderOps: expected postgres op but got target.id=\"${String(targetId)}\" for op.id=\"${op.id}\" (factoryName=\"${callFactoryName}\"). An OpFactoryCall produced an op for a different target on the postgres planner path; check the call's target binding.`, { meta: {\n\t\topId: op.id,\n\t\ttargetId: String(targetId),\n\t\tfactoryName: callFactoryName\n\t} });\n}\nfunction checkedOp(opOrPromise, callFactoryName) {\n\tif (isThenable(opOrPromise)) {\n\t\tconst checked = opOrPromise.then((op) => {\n\t\t\tassertPostgresOp(op, callFactoryName);\n\t\t\treturn op;\n\t\t});\n\t\tchecked.catch(() => void 0);\n\t\treturn checked;\n\t}\n\tassertPostgresOp(opOrPromise, callFactoryName);\n\treturn opOrPromise;\n}\nfunction renderOps(calls, lowerer) {\n\treturn calls.flatMap((c) => {\n\t\treturn (isPostgresOpFactoryCall(c) ? c.toOps(lowerer) : [blindCast(c).toOp(lowerer)]).map((opOrPromise) => checkedOp(opOrPromise, c.factoryName));\n\t});\n}\n//#endregion\nexport { renderOps as t };\n\n//# sourceMappingURL=render-ops-DzfUHzbE.mjs.map"],"mappings":";;;;;;;;;;;;AAYA,SAAS,iBAAiB,IAAI,iBAAiB;CAC9C,MAAM,WAAW,UAAU,EAAE,CAAC,CAAC,QAAQ;CACvC,IAAI,aAAa,YAAY,MAAM,cAAc,6BAA6B,sDAAsD,OAAO,QAAQ,EAAE,eAAe,GAAG,GAAG,kBAAkB,gBAAgB,4HAA4H,EAAE,MAAM;EAC/U,MAAM,GAAG;EACT,UAAU,OAAO,QAAQ;EACzB,aAAa;CACd,EAAE,CAAC;AACJ;AACA,SAAS,UAAU,aAAa,iBAAiB;CAChD,IAAI,WAAW,WAAW,GAAG;EAC5B,MAAM,UAAU,YAAY,MAAM,OAAO;GACxC,iBAAiB,IAAI,eAAe;GACpC,OAAO;EACR,CAAC;EACD,QAAQ,YAAY,KAAK,CAAC;EAC1B,OAAO;CACR;CACA,iBAAiB,aAAa,eAAe;CAC7C,OAAO;AACR;AACA,SAAS,UAAU,OAAO,SAAS;CAClC,OAAO,MAAM,SAAS,MAAM;EAC3B,QAAQ,wBAAwB,CAAC,IAAI,EAAE,MAAM,OAAO,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,EAAA,CAAG,KAAK,gBAAgB,UAAU,aAAa,EAAE,WAAW,CAAC;CACjJ,CAAC;AACF"}
1
+ {"version":3,"file":"render-ops-CrYiS0XA-Bkqye2yB.mjs","names":[],"sources":["../../../../3-targets/3-targets/postgres/dist/render-ops-CrYiS0XA.mjs"],"sourcesContent":["import { c as postgresError } from \"./errors-BrhQYgdL.mjs\";\nimport { R as isPostgresOpFactoryCall } from \"./op-factory-call-CtHJKITc.mjs\";\nimport { blindCast } from \"@internal/utils/casts\";\nimport { isThenable } from \"@internal/utils/promise\";\n//#region src/core/migrations/render-ops.ts\n/**\n* Asserts an op materialised by an `OpFactoryCall` targets postgres. The\n* extension surface lets any contributor emit calls, so this is the\n* integration boundary where a stray non-postgres op would otherwise\n* silently flow through to postgres-shaped renderers — exactly the\n* place to fail loudly with op metadata (`id` + `target.id`).\n*/\nfunction assertPostgresOp(op, callFactoryName) {\n\tconst targetId = blindCast(op).target?.id;\n\tif (targetId !== \"postgres\") throw postgresError(\"MIGRATION.TARGET_MISMATCH\", `renderOps: expected postgres op but got target.id=\"${String(targetId)}\" for op.id=\"${op.id}\" (factoryName=\"${callFactoryName}\"). An OpFactoryCall produced an op for a different target on the postgres planner path; check the call's target binding.`, { meta: {\n\t\topId: op.id,\n\t\ttargetId: String(targetId),\n\t\tfactoryName: callFactoryName\n\t} });\n}\nfunction checkedOp(opOrPromise, callFactoryName) {\n\tif (isThenable(opOrPromise)) {\n\t\tconst checked = opOrPromise.then((op) => {\n\t\t\tassertPostgresOp(op, callFactoryName);\n\t\t\treturn op;\n\t\t});\n\t\tchecked.catch(() => void 0);\n\t\treturn checked;\n\t}\n\tassertPostgresOp(opOrPromise, callFactoryName);\n\treturn opOrPromise;\n}\nfunction renderOps(calls, lowerer) {\n\treturn calls.flatMap((c) => {\n\t\treturn (isPostgresOpFactoryCall(c) ? c.toOps(lowerer) : [blindCast(c).toOp(lowerer)]).map((opOrPromise) => checkedOp(opOrPromise, c.factoryName));\n\t});\n}\n//#endregion\nexport { renderOps as t };\n\n//# sourceMappingURL=render-ops-CrYiS0XA.mjs.map"],"mappings":";;;;;;;;;;;;AAYA,SAAS,iBAAiB,IAAI,iBAAiB;CAC9C,MAAM,WAAW,UAAU,EAAE,CAAC,CAAC,QAAQ;CACvC,IAAI,aAAa,YAAY,MAAM,cAAc,6BAA6B,sDAAsD,OAAO,QAAQ,EAAE,eAAe,GAAG,GAAG,kBAAkB,gBAAgB,4HAA4H,EAAE,MAAM;EAC/U,MAAM,GAAG;EACT,UAAU,OAAO,QAAQ;EACzB,aAAa;CACd,EAAE,CAAC;AACJ;AACA,SAAS,UAAU,aAAa,iBAAiB;CAChD,IAAI,WAAW,WAAW,GAAG;EAC5B,MAAM,UAAU,YAAY,MAAM,OAAO;GACxC,iBAAiB,IAAI,eAAe;GACpC,OAAO;EACR,CAAC;EACD,QAAQ,YAAY,KAAK,CAAC;EAC1B,OAAO;CACR;CACA,iBAAiB,aAAa,eAAe;CAC7C,OAAO;AACR;AACA,SAAS,UAAU,OAAO,SAAS;CAClC,OAAO,MAAM,SAAS,MAAM;EAC3B,QAAQ,wBAAwB,CAAC,IAAI,EAAE,MAAM,OAAO,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,EAAA,CAAG,KAAK,gBAAgB,UAAU,aAAa,EAAE,WAAW,CAAC;CACjJ,CAAC;AACF"}