@prisma/orm-target-sqlite 8.0.0-rc.23-dev.10 → 8.0.0-rc.23-dev.11

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 (69) hide show
  1. package/dist/{adapter-rmaaWLu2.d.mts → adapter-DAyC9dXr.d.mts} +4 -4
  2. package/dist/{adapter-rmaaWLu2.d.mts.map → adapter-DAyC9dXr.d.mts.map} +1 -1
  3. package/dist/{adapter-DxAIjOo9-zF-sKtxT.mjs → adapter-DxAIjOo9-IFnoJW3g.mjs} +7 -7
  4. package/dist/{adapter-DxAIjOo9-zF-sKtxT.mjs.map → adapter-DxAIjOo9-IFnoJW3g.mjs.map} +1 -1
  5. package/dist/adapter.d.mts +1 -1
  6. package/dist/adapter.mjs +3 -3
  7. package/dist/adapter__adapter.d.mts +1 -1
  8. package/dist/adapter__adapter.mjs +1 -1
  9. package/dist/adapter__control.mjs +4 -4
  10. package/dist/adapter__runtime.mjs +4 -4
  11. package/dist/adapter__sql-renderer.mjs +1 -1
  12. package/dist/{aggregates--0FaH9Te.d.mts → aggregates-DNxUFwla.d.mts} +4 -4
  13. package/dist/{aggregates--0FaH9Te.d.mts.map → aggregates-DNxUFwla.d.mts.map} +1 -1
  14. package/dist/{codecs-BhRFtE69.mjs → codecs-B-paWXdt.mjs} +2 -2
  15. package/dist/{codecs-BhRFtE69.mjs.map → codecs-B-paWXdt.mjs.map} +1 -1
  16. package/dist/{codecs-BSYEsc7M-C4nov_lo.mjs → codecs-izBhU4f1-uArTiOxL.mjs} +3 -3
  17. package/dist/{codecs-BSYEsc7M-C4nov_lo.mjs.map → codecs-izBhU4f1-uArTiOxL.mjs.map} +1 -1
  18. package/dist/{contract-free-BH73BZHy.mjs → contract-free-DVGNrjWW.mjs} +2 -2
  19. package/dist/{contract-free-BH73BZHy.mjs.map → contract-free-DVGNrjWW.mjs.map} +1 -1
  20. package/dist/{data-type-entries-Cp4hBeJB-DYer43by.mjs → data-type-entries-B6YmbQDH-RnV5wVv8.mjs} +3 -3
  21. package/dist/{data-type-entries-Cp4hBeJB-DYer43by.mjs.map → data-type-entries-B6YmbQDH-RnV5wVv8.mjs.map} +1 -1
  22. package/dist/{data-types-DXMZNR8j-CWrJOA8C.mjs → data-types-fYwGTal5-BxuZD5EE.mjs} +3 -10
  23. package/dist/data-types-fYwGTal5-BxuZD5EE.mjs.map +1 -0
  24. package/dist/{date-time-now-generators-T8JO6gR6-DBt5IyH5.mjs → date-time-now-generators-BVQSg28x-DwhOJw5-.mjs} +3 -3
  25. package/dist/{date-time-now-generators-T8JO6gR6-DBt5IyH5.mjs.map → date-time-now-generators-BVQSg28x-DwhOJw5-.mjs.map} +1 -1
  26. package/dist/{datetime-text-CbgLX4q3-BKp563Ja.mjs → datetime-text-BogpvE70-VwTG2rUc.mjs} +3 -3
  27. package/dist/{datetime-text-CbgLX4q3-BKp563Ja.mjs.map → datetime-text-BogpvE70-VwTG2rUc.mjs.map} +1 -1
  28. package/dist/{default-normalizer-CsMhUEOe-CRieDElD.mjs → default-normalizer-BcGrp77x-CMWxtX1W.mjs} +3 -3
  29. package/dist/{default-normalizer-CsMhUEOe-CRieDElD.mjs.map → default-normalizer-BcGrp77x-CMWxtX1W.mjs.map} +1 -1
  30. package/dist/{descriptor-meta-BwJWbIVt-B24ey04f.mjs → descriptor-meta-CEjGA0WH-CxgiKj3V.mjs} +5 -5
  31. package/dist/{descriptor-meta-BwJWbIVt-B24ey04f.mjs.map → descriptor-meta-CEjGA0WH-CxgiKj3V.mjs.map} +1 -1
  32. package/dist/{descriptor-meta-CKqpcoZL-D82JbePf.mjs → descriptor-meta-CKqpcoZL-qGhQs3RA.mjs} +2 -2
  33. package/dist/{descriptor-meta-CKqpcoZL-D82JbePf.mjs.map → descriptor-meta-CKqpcoZL-qGhQs3RA.mjs.map} +1 -1
  34. package/dist/{migration-DBqx2jWN.mjs → migration-C6RAZsCK.mjs} +2 -2
  35. package/dist/{migration-DBqx2jWN.mjs.map → migration-C6RAZsCK.mjs.map} +1 -1
  36. package/dist/{op-factory-call-Dxsyn5gF-CvHmM-h_.mjs → op-factory-call-B3oOyB-T-Bhg17pAj.mjs} +3 -3
  37. package/dist/{op-factory-call-Dxsyn5gF-CvHmM-h_.mjs.map → op-factory-call-B3oOyB-T-Bhg17pAj.mjs.map} +1 -1
  38. package/dist/{pack-D3gC0XlT.d.mts → pack-Be2dKXWh.d.mts} +2 -2
  39. package/dist/{pack-D3gC0XlT.d.mts.map → pack-Be2dKXWh.d.mts.map} +1 -1
  40. package/dist/{planner-DgEGQuj9-Ca6jqWrd.mjs → planner-COl0BmJ_-SJuP-72Y.mjs} +5 -5
  41. package/dist/{planner-DgEGQuj9-Ca6jqWrd.mjs.map → planner-COl0BmJ_-SJuP-72Y.mjs.map} +1 -1
  42. package/dist/{planner-produced-sqlite-migration-BMogETJ0-COe4tate.mjs → planner-produced-sqlite-migration-CE1q5Uqq-9kjqMR-1.mjs} +4 -4
  43. package/dist/{planner-produced-sqlite-migration-BMogETJ0-COe4tate.mjs.map → planner-produced-sqlite-migration-CE1q5Uqq-9kjqMR-1.mjs.map} +1 -1
  44. package/dist/{render-ops-BUk3wlAR-Awdho1_L.mjs → render-ops-B2EHnXIQ-AspapEkF.mjs} +3 -3
  45. package/dist/{render-ops-BUk3wlAR-Awdho1_L.mjs.map → render-ops-B2EHnXIQ-AspapEkF.mjs.map} +1 -1
  46. package/dist/{sqlite-contract-view-DJhc7pI7-Db5l4qrA.mjs → sqlite-contract-view-B0oBTJQ0-DGNLlkLM.mjs} +3 -3
  47. package/dist/{sqlite-contract-view-DJhc7pI7-Db5l4qrA.mjs.map → sqlite-contract-view-B0oBTJQ0-DGNLlkLM.mjs.map} +1 -1
  48. package/dist/{sqlite-migration-B42dCAqX-DiSO-PeZ.mjs → sqlite-migration-DvNpo879-DcOagmQ1.mjs} +7 -7
  49. package/dist/{sqlite-migration-B42dCAqX-DiSO-PeZ.mjs.map → sqlite-migration-DvNpo879-DcOagmQ1.mjs.map} +1 -1
  50. package/dist/target.d.mts +2 -2
  51. package/dist/target.mjs +16 -16
  52. package/dist/target__aggregates.d.mts +1 -1
  53. package/dist/target__codecs.mjs +3 -3
  54. package/dist/target__contract-free.mjs +1 -1
  55. package/dist/target__control.mjs +5 -5
  56. package/dist/target__control.mjs.map +1 -1
  57. package/dist/target__data-types.mjs +2 -2
  58. package/dist/target__default-normalizer.mjs +1 -1
  59. package/dist/target__migration.mjs +2 -2
  60. package/dist/target__op-factory-call.mjs +1 -1
  61. package/dist/target__pack.d.mts +1 -1
  62. package/dist/target__pack.mjs +1 -1
  63. package/dist/target__planner-produced-sqlite-migration.mjs +1 -1
  64. package/dist/target__planner.mjs +1 -1
  65. package/dist/target__render-ops.mjs +1 -1
  66. package/dist/target__runtime.mjs +2 -2
  67. package/dist/target__runtime.mjs.map +1 -1
  68. package/package.json +10 -10
  69. package/dist/data-types-DXMZNR8j-CWrJOA8C.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"date-time-now-generators-T8JO6gR6-DBt5IyH5.mjs","names":[],"sources":["../../../../3-targets/sqlite/1-target/dist/date-time-now-generators-T8JO6gR6.mjs"],"sourcesContent":["import { o as sqliteDataTypes } from \"./data-types-DXMZNR8j.mjs\";\nimport { t as requireTemporal } from \"./require-temporal-qbyZfPgl.mjs\";\nimport * as nowValues from \"@internal/type-implementations/now\";\nimport { DATE_STRING_NOW_GENERATOR_ID, INSTANT_NOW_GENERATOR_ID, INSTANT_STRING_NOW_GENERATOR_ID, PLAIN_DATE_NOW_GENERATOR_ID, PLAIN_TIME_NOW_GENERATOR_ID, TIME_STRING_NOW_GENERATOR_ID } from \"@internal/type-implementations/now\";\nconst sqliteTargetDescriptorMetaRuntime = {\n\tkind: \"target\",\n\tfamilyId: \"sql\",\n\ttargetId: \"sqlite\",\n\tid: \"sqlite\",\n\tversion: \"0.0.1\",\n\tcapabilities: {},\n\tdataTypes: sqliteDataTypes\n};\n//#endregion\n//#region src/core/date-time-now-generators.ts\n/** SQLite's date and time types hold milliseconds. */\nconst MILLISECOND_DIGITS = 3;\nfunction instantNow() {\n\treturn nowValues.instantNow(requireTemporal({ generatorId: INSTANT_NOW_GENERATOR_ID }), MILLISECOND_DIGITS);\n}\nfunction plainDateNow() {\n\treturn nowValues.plainDateNow(requireTemporal({ generatorId: PLAIN_DATE_NOW_GENERATOR_ID }));\n}\nfunction plainTimeNow() {\n\treturn nowValues.plainTimeNow(requireTemporal({ generatorId: PLAIN_TIME_NOW_GENERATOR_ID }), MILLISECOND_DIGITS);\n}\nfunction instantStringNow() {\n\treturn nowValues.instantStringNow(MILLISECOND_DIGITS, \"fixed\");\n}\nfunction timeStringNow() {\n\treturn nowValues.timeStringNow(MILLISECOND_DIGITS, \"fixed\");\n}\n/**\n* The SQLite \"now\" generators, one per date and time codec except `sqlite/datetime@1`, which uses the SQL family's `timestampNow`. All read the clock through `Date.now()`, write UTC and keep milliseconds, which every SQLite date and time type holds. The string generators write the text their type stores, with three fraction digits.\n*/\nconst sqliteNowGenerators = [\n\t{\n\t\tid: INSTANT_NOW_GENERATOR_ID,\n\t\tgenerate: instantNow\n\t},\n\t{\n\t\tid: PLAIN_DATE_NOW_GENERATOR_ID,\n\t\tgenerate: plainDateNow\n\t},\n\t{\n\t\tid: PLAIN_TIME_NOW_GENERATOR_ID,\n\t\tgenerate: plainTimeNow\n\t},\n\t{\n\t\tid: INSTANT_STRING_NOW_GENERATOR_ID,\n\t\tgenerate: instantStringNow\n\t},\n\t{\n\t\tid: DATE_STRING_NOW_GENERATOR_ID,\n\t\tgenerate: nowValues.dateStringNow\n\t},\n\t{\n\t\tid: TIME_STRING_NOW_GENERATOR_ID,\n\t\tgenerate: timeStringNow\n\t}\n];\n//#endregion\nexport { sqliteTargetDescriptorMetaRuntime as n, sqliteNowGenerators as t };\n\n//# sourceMappingURL=date-time-now-generators-T8JO6gR6.mjs.map"],"mappings":";;;;;AAIA,MAAM,oCAAoC;CACzC,MAAM;CACN,UAAU;CACV,UAAU;CACV,IAAI;CACJ,SAAS;CACT,cAAc,CAAC;CACf,WAAW;AACZ;;AAIA,MAAM,qBAAqB;AAC3B,SAAS,aAAa;CACrB,OAAO,UAAU,WAAW,gBAAgB,EAAE,aAAa,yBAAyB,CAAC,GAAG,kBAAkB;AAC3G;AACA,SAAS,eAAe;CACvB,OAAO,UAAU,aAAa,gBAAgB,EAAE,aAAa,4BAA4B,CAAC,CAAC;AAC5F;AACA,SAAS,eAAe;CACvB,OAAO,UAAU,aAAa,gBAAgB,EAAE,aAAa,4BAA4B,CAAC,GAAG,kBAAkB;AAChH;AACA,SAAS,mBAAmB;CAC3B,OAAO,UAAU,iBAAiB,oBAAoB,OAAO;AAC9D;AACA,SAAS,gBAAgB;CACxB,OAAO,UAAU,cAAc,oBAAoB,OAAO;AAC3D;;;;AAIA,MAAM,sBAAsB;CAC3B;EACC,IAAI;EACJ,UAAU;CACX;CACA;EACC,IAAI;EACJ,UAAU;CACX;CACA;EACC,IAAI;EACJ,UAAU;CACX;CACA;EACC,IAAI;EACJ,UAAU;CACX;CACA;EACC,IAAI;EACJ,UAAU,UAAU;CACrB;CACA;EACC,IAAI;EACJ,UAAU;CACX;AACD"}
1
+ {"version":3,"file":"date-time-now-generators-BVQSg28x-DwhOJw5-.mjs","names":[],"sources":["../../../../3-targets/sqlite/1-target/dist/date-time-now-generators-BVQSg28x.mjs"],"sourcesContent":["import { o as sqliteDataTypes } from \"./data-types-fYwGTal5.mjs\";\nimport { t as requireTemporal } from \"./require-temporal-qbyZfPgl.mjs\";\nimport * as nowValues from \"@internal/type-implementations/now\";\nimport { DATE_STRING_NOW_GENERATOR_ID, INSTANT_NOW_GENERATOR_ID, INSTANT_STRING_NOW_GENERATOR_ID, PLAIN_DATE_NOW_GENERATOR_ID, PLAIN_TIME_NOW_GENERATOR_ID, TIME_STRING_NOW_GENERATOR_ID } from \"@internal/type-implementations/now\";\nconst sqliteTargetDescriptorMetaRuntime = {\n\tkind: \"target\",\n\tfamilyId: \"sql\",\n\ttargetId: \"sqlite\",\n\tid: \"sqlite\",\n\tversion: \"0.0.1\",\n\tcapabilities: {},\n\tdataTypes: sqliteDataTypes\n};\n//#endregion\n//#region src/core/date-time-now-generators.ts\n/** SQLite's date and time types hold milliseconds. */\nconst MILLISECOND_DIGITS = 3;\nfunction instantNow() {\n\treturn nowValues.instantNow(requireTemporal({ generatorId: INSTANT_NOW_GENERATOR_ID }), MILLISECOND_DIGITS);\n}\nfunction plainDateNow() {\n\treturn nowValues.plainDateNow(requireTemporal({ generatorId: PLAIN_DATE_NOW_GENERATOR_ID }));\n}\nfunction plainTimeNow() {\n\treturn nowValues.plainTimeNow(requireTemporal({ generatorId: PLAIN_TIME_NOW_GENERATOR_ID }), MILLISECOND_DIGITS);\n}\nfunction instantStringNow() {\n\treturn nowValues.instantStringNow(MILLISECOND_DIGITS, \"fixed\");\n}\nfunction timeStringNow() {\n\treturn nowValues.timeStringNow(MILLISECOND_DIGITS, \"fixed\");\n}\n/**\n* The SQLite \"now\" generators, one per date and time codec except `sqlite/datetime@1`, which uses the SQL family's `timestampNow`. All read the clock through `Date.now()`, write UTC and keep milliseconds, which every SQLite date and time type holds. The string generators write the text their type stores, with three fraction digits.\n*/\nconst sqliteNowGenerators = [\n\t{\n\t\tid: INSTANT_NOW_GENERATOR_ID,\n\t\tgenerate: instantNow\n\t},\n\t{\n\t\tid: PLAIN_DATE_NOW_GENERATOR_ID,\n\t\tgenerate: plainDateNow\n\t},\n\t{\n\t\tid: PLAIN_TIME_NOW_GENERATOR_ID,\n\t\tgenerate: plainTimeNow\n\t},\n\t{\n\t\tid: INSTANT_STRING_NOW_GENERATOR_ID,\n\t\tgenerate: instantStringNow\n\t},\n\t{\n\t\tid: DATE_STRING_NOW_GENERATOR_ID,\n\t\tgenerate: nowValues.dateStringNow\n\t},\n\t{\n\t\tid: TIME_STRING_NOW_GENERATOR_ID,\n\t\tgenerate: timeStringNow\n\t}\n];\n//#endregion\nexport { sqliteTargetDescriptorMetaRuntime as n, sqliteNowGenerators as t };\n\n//# sourceMappingURL=date-time-now-generators-BVQSg28x.mjs.map"],"mappings":";;;;;AAIA,MAAM,oCAAoC;CACzC,MAAM;CACN,UAAU;CACV,UAAU;CACV,IAAI;CACJ,SAAS;CACT,cAAc,CAAC;CACf,WAAW;AACZ;;AAIA,MAAM,qBAAqB;AAC3B,SAAS,aAAa;CACrB,OAAO,UAAU,WAAW,gBAAgB,EAAE,aAAa,yBAAyB,CAAC,GAAG,kBAAkB;AAC3G;AACA,SAAS,eAAe;CACvB,OAAO,UAAU,aAAa,gBAAgB,EAAE,aAAa,4BAA4B,CAAC,CAAC;AAC5F;AACA,SAAS,eAAe;CACvB,OAAO,UAAU,aAAa,gBAAgB,EAAE,aAAa,4BAA4B,CAAC,GAAG,kBAAkB;AAChH;AACA,SAAS,mBAAmB;CAC3B,OAAO,UAAU,iBAAiB,oBAAoB,OAAO;AAC9D;AACA,SAAS,gBAAgB;CACxB,OAAO,UAAU,cAAc,oBAAoB,OAAO;AAC3D;;;;AAIA,MAAM,sBAAsB;CAC3B;EACC,IAAI;EACJ,UAAU;CACX;CACA;EACC,IAAI;EACJ,UAAU;CACX;CACA;EACC,IAAI;EACJ,UAAU;CACX;CACA;EACC,IAAI;EACJ,UAAU;CACX;CACA;EACC,IAAI;EACJ,UAAU,UAAU;CACrB;CACA;EACC,IAAI;EACJ,UAAU;CACX;AACD"}
@@ -1,6 +1,6 @@
1
- import { _ as sqliteText, a as sqliteCharacterVarying, l as sqliteDatetime, r as sqliteCharacter, s as sqliteDate, y as sqliteTime } from "./data-types-DXMZNR8j-CWrJOA8C.mjs";
1
+ import { _ as sqliteText, a as sqliteCharacterVarying, l as sqliteDatetime, r as sqliteCharacter, s as sqliteDate, y as sqliteTime } from "./data-types-fYwGTal5-BxuZD5EE.mjs";
2
2
  import { sqlRawDataType } from "@prisma/orm-family-sql/contract/data-type";
3
- //#region ../../../3-targets/sqlite/1-target/dist/datetime-text-CbgLX4q3.mjs
3
+ //#region ../../../3-targets/sqlite/1-target/dist/datetime-text-BogpvE70.mjs
4
4
  /** The `strftime` format for the text `encodeSqliteDatetime` writes. */
5
5
  const SQLITE_DATETIME_TEXT_FORMAT = "%Y-%m-%dT%H:%M:%fZ";
6
6
  /** The SQLite expression for the current instant, as the text `encodeSqliteDatetime` writes. */
@@ -29,4 +29,4 @@ function sqliteNowExpressionFor(dataTypeId) {
29
29
  //#endregion
30
30
  export { SQLITE_TIME_TEXT_FORMAT as a, SQLITE_TIME_NOW_EXPRESSION as i, SQLITE_DATE_NOW_EXPRESSION as n, sqliteNowExpressionFor as o, SQLITE_NOW_EXPRESSION as r, SQLITE_DATETIME_TEXT_FORMAT as t };
31
31
 
32
- //# sourceMappingURL=datetime-text-CbgLX4q3-BKp563Ja.mjs.map
32
+ //# sourceMappingURL=datetime-text-BogpvE70-VwTG2rUc.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"datetime-text-CbgLX4q3-BKp563Ja.mjs","names":[],"sources":["../../../../3-targets/sqlite/1-target/dist/datetime-text-CbgLX4q3.mjs"],"sourcesContent":["import { _ as sqliteText, a as sqliteCharacterVarying, l as sqliteDatetime, r as sqliteCharacter, s as sqliteDate, y as sqliteTime } from \"./data-types-DXMZNR8j.mjs\";\nimport { sqlRawDataType } from \"@internal/sql-contract/data-type\";\n//#region src/core/datetime-text.ts\n/** The `strftime` format for the text `encodeSqliteDatetime` writes. */\nconst SQLITE_DATETIME_TEXT_FORMAT = \"%Y-%m-%dT%H:%M:%fZ\";\n/** The SQLite expression for the current instant, as the text `encodeSqliteDatetime` writes. */\nconst SQLITE_NOW_EXPRESSION = `strftime('${SQLITE_DATETIME_TEXT_FORMAT}','now')`;\n/** The SQLite expression for the current date in UTC, as `sqlite/date` stores it. */\nconst SQLITE_DATE_NOW_EXPRESSION = \"date('now')\";\n/** The `strftime` format for the text `sqlite/time` stores. */\nconst SQLITE_TIME_TEXT_FORMAT = \"%H:%M:%f\";\n/** The SQLite expression for the current time of day in UTC, as `sqlite/time` stores it. */\nconst SQLITE_TIME_NOW_EXPRESSION = `strftime('${SQLITE_TIME_TEXT_FORMAT}','now')`;\nconst NOW_EXPRESSION_BY_DATA_TYPE = /* @__PURE__ */ new Map([\n\t[sqliteDatetime.id, SQLITE_NOW_EXPRESSION],\n\t[sqliteDate.id, SQLITE_DATE_NOW_EXPRESSION],\n\t[sqliteTime.id, SQLITE_TIME_NOW_EXPRESSION],\n\t[sqliteText.id, SQLITE_NOW_EXPRESSION],\n\t[sqliteCharacter.id, SQLITE_NOW_EXPRESSION],\n\t[sqliteCharacterVarying.id, SQLITE_NOW_EXPRESSION],\n\t[sqlRawDataType.id, SQLITE_NOW_EXPRESSION]\n]);\n/**\n* The expression a `now()` default is written as on a column of `dataTypeId`: the current date or time of day on `sqlite/date` and `sqlite/time`, the current instant on `sqlite/datetime`, on text, on a raw column, whose values Prisma does not read, and on a column of no known data type. `undefined` on a data type that stores no date or time, such as `sqlite/duration` or `sqlite/integer`, as PostgreSQL refuses `now()` on an `interval` or an `integer` column.\n*/\nfunction sqliteNowExpressionFor(dataTypeId) {\n\treturn dataTypeId === void 0 ? SQLITE_NOW_EXPRESSION : NOW_EXPRESSION_BY_DATA_TYPE.get(dataTypeId);\n}\n//#endregion\nexport { SQLITE_TIME_TEXT_FORMAT as a, SQLITE_TIME_NOW_EXPRESSION as i, SQLITE_DATE_NOW_EXPRESSION as n, sqliteNowExpressionFor as o, SQLITE_NOW_EXPRESSION as r, SQLITE_DATETIME_TEXT_FORMAT as t };\n\n//# sourceMappingURL=datetime-text-CbgLX4q3.mjs.map"],"mappings":";;;;AAIA,MAAM,8BAA8B;;AAEpC,MAAM,wBAAwB,aAAa,4BAA4B;;AAEvE,MAAM,6BAA6B;;AAEnC,MAAM,0BAA0B;;AAEhC,MAAM,6BAA6B,aAAa,wBAAwB;AACxE,MAAM,8CAA8C,IAAI,IAAI;CAC3D,CAAC,eAAe,IAAI,qBAAqB;CACzC,CAAC,WAAW,IAAI,0BAA0B;CAC1C,CAAC,WAAW,IAAI,0BAA0B;CAC1C,CAAC,WAAW,IAAI,qBAAqB;CACrC,CAAC,gBAAgB,IAAI,qBAAqB;CAC1C,CAAC,uBAAuB,IAAI,qBAAqB;CACjD,CAAC,eAAe,IAAI,qBAAqB;AAC1C,CAAC;;;;AAID,SAAS,uBAAuB,YAAY;CAC3C,OAAO,eAAe,KAAK,IAAI,wBAAwB,4BAA4B,IAAI,UAAU;AAClG"}
1
+ {"version":3,"file":"datetime-text-BogpvE70-VwTG2rUc.mjs","names":[],"sources":["../../../../3-targets/sqlite/1-target/dist/datetime-text-BogpvE70.mjs"],"sourcesContent":["import { _ as sqliteText, a as sqliteCharacterVarying, l as sqliteDatetime, r as sqliteCharacter, s as sqliteDate, y as sqliteTime } from \"./data-types-fYwGTal5.mjs\";\nimport { sqlRawDataType } from \"@internal/sql-contract/data-type\";\n//#region src/core/datetime-text.ts\n/** The `strftime` format for the text `encodeSqliteDatetime` writes. */\nconst SQLITE_DATETIME_TEXT_FORMAT = \"%Y-%m-%dT%H:%M:%fZ\";\n/** The SQLite expression for the current instant, as the text `encodeSqliteDatetime` writes. */\nconst SQLITE_NOW_EXPRESSION = `strftime('${SQLITE_DATETIME_TEXT_FORMAT}','now')`;\n/** The SQLite expression for the current date in UTC, as `sqlite/date` stores it. */\nconst SQLITE_DATE_NOW_EXPRESSION = \"date('now')\";\n/** The `strftime` format for the text `sqlite/time` stores. */\nconst SQLITE_TIME_TEXT_FORMAT = \"%H:%M:%f\";\n/** The SQLite expression for the current time of day in UTC, as `sqlite/time` stores it. */\nconst SQLITE_TIME_NOW_EXPRESSION = `strftime('${SQLITE_TIME_TEXT_FORMAT}','now')`;\nconst NOW_EXPRESSION_BY_DATA_TYPE = /* @__PURE__ */ new Map([\n\t[sqliteDatetime.id, SQLITE_NOW_EXPRESSION],\n\t[sqliteDate.id, SQLITE_DATE_NOW_EXPRESSION],\n\t[sqliteTime.id, SQLITE_TIME_NOW_EXPRESSION],\n\t[sqliteText.id, SQLITE_NOW_EXPRESSION],\n\t[sqliteCharacter.id, SQLITE_NOW_EXPRESSION],\n\t[sqliteCharacterVarying.id, SQLITE_NOW_EXPRESSION],\n\t[sqlRawDataType.id, SQLITE_NOW_EXPRESSION]\n]);\n/**\n* The expression a `now()` default is written as on a column of `dataTypeId`: the current date or time of day on `sqlite/date` and `sqlite/time`, the current instant on `sqlite/datetime`, on text, on a raw column, whose values Prisma does not read, and on a column of no known data type. `undefined` on a data type that stores no date or time, such as `sqlite/duration` or `sqlite/integer`, as PostgreSQL refuses `now()` on an `interval` or an `integer` column.\n*/\nfunction sqliteNowExpressionFor(dataTypeId) {\n\treturn dataTypeId === void 0 ? SQLITE_NOW_EXPRESSION : NOW_EXPRESSION_BY_DATA_TYPE.get(dataTypeId);\n}\n//#endregion\nexport { SQLITE_TIME_TEXT_FORMAT as a, SQLITE_TIME_NOW_EXPRESSION as i, SQLITE_DATE_NOW_EXPRESSION as n, sqliteNowExpressionFor as o, SQLITE_NOW_EXPRESSION as r, SQLITE_DATETIME_TEXT_FORMAT as t };\n\n//# sourceMappingURL=datetime-text-BogpvE70.mjs.map"],"mappings":";;;;AAIA,MAAM,8BAA8B;;AAEpC,MAAM,wBAAwB,aAAa,4BAA4B;;AAEvE,MAAM,6BAA6B;;AAEnC,MAAM,0BAA0B;;AAEhC,MAAM,6BAA6B,aAAa,wBAAwB;AACxE,MAAM,8CAA8C,IAAI,IAAI;CAC3D,CAAC,eAAe,IAAI,qBAAqB;CACzC,CAAC,WAAW,IAAI,0BAA0B;CAC1C,CAAC,WAAW,IAAI,0BAA0B;CAC1C,CAAC,WAAW,IAAI,qBAAqB;CACrC,CAAC,gBAAgB,IAAI,qBAAqB;CAC1C,CAAC,uBAAuB,IAAI,qBAAqB;CACjD,CAAC,eAAe,IAAI,qBAAqB;AAC1C,CAAC;;;;AAID,SAAS,uBAAuB,YAAY;CAC3C,OAAO,eAAe,KAAK,IAAI,wBAAwB,4BAA4B,IAAI,UAAU;AAClG"}
@@ -1,5 +1,5 @@
1
- import { a as SQLITE_TIME_TEXT_FORMAT, i as SQLITE_TIME_NOW_EXPRESSION, n as SQLITE_DATE_NOW_EXPRESSION, o as sqliteNowExpressionFor, t as SQLITE_DATETIME_TEXT_FORMAT } from "./datetime-text-CbgLX4q3-BKp563Ja.mjs";
2
- //#region ../../../3-targets/sqlite/1-target/dist/default-normalizer-CsMhUEOe.mjs
1
+ import { a as SQLITE_TIME_TEXT_FORMAT, i as SQLITE_TIME_NOW_EXPRESSION, n as SQLITE_DATE_NOW_EXPRESSION, o as sqliteNowExpressionFor, t as SQLITE_DATETIME_TEXT_FORMAT } from "./datetime-text-BogpvE70-VwTG2rUc.mjs";
2
+ //#region ../../../3-targets/sqlite/1-target/dist/default-normalizer-BcGrp77x.mjs
3
3
  const NULL_PATTERN = /^NULL$/i;
4
4
  const INTEGER_PATTERN = /^[+-]?\d+$/;
5
5
  const REAL_PATTERN = /^[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?$/;
@@ -121,4 +121,4 @@ function sqliteResolveDefault(def, column) {
121
121
  //#endregion
122
122
  export { sqliteResolveDefault as n, stripOuterParens as r, readSqliteDefault as t };
123
123
 
124
- //# sourceMappingURL=default-normalizer-CsMhUEOe-CRieDElD.mjs.map
124
+ //# sourceMappingURL=default-normalizer-BcGrp77x-CMWxtX1W.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"default-normalizer-CsMhUEOe-CRieDElD.mjs","names":[],"sources":["../../../../3-targets/sqlite/1-target/dist/default-normalizer-CsMhUEOe.mjs"],"sourcesContent":["import { a as SQLITE_TIME_TEXT_FORMAT, i as SQLITE_TIME_NOW_EXPRESSION, n as SQLITE_DATE_NOW_EXPRESSION, o as sqliteNowExpressionFor, t as SQLITE_DATETIME_TEXT_FORMAT } from \"./datetime-text-CbgLX4q3.mjs\";\n//#region src/core/default-normalizer.ts\nconst NULL_PATTERN = /^NULL$/i;\nconst INTEGER_PATTERN = /^[+-]?\\d+$/;\nconst REAL_PATTERN = /^[+-]?(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:[eE][+-]?\\d+)?$/;\nconst STRING_LITERAL_PATTERN = /^'((?:[^']|'')*)'$/;\nconst STRFTIME_NOW_PATTERN = /^strftime\\s*\\(\\s*(['\"])([^'\"]*)\\1\\s*,\\s*(['\"])now\\3\\s*\\)$/i;\nconst DATE_NOW_PATTERN = /^date\\s*\\(\\s*(['\"])now\\1\\s*\\)$/i;\n/** The name of the current instant, as a contract writes it. */\nconst INSTANT_NOW = \"now()\";\n/**\n* The name of the current value `expression` writes: `now()` for the current instant, in any of the forms SQLite writes it, and the expression a `now()` default is written as for the current date and for the current time of day, since those hold different text. `undefined` for any other expression.\n*/\nfunction currentValueNamed(expression) {\n\tconst lower = expression.toLowerCase();\n\tif (lower === \"current_timestamp\" || lower === \"datetime('now')\" || lower === \"datetime(\\\"now\\\")\") return INSTANT_NOW;\n\tif (lower === \"current_date\" || DATE_NOW_PATTERN.test(expression)) return SQLITE_DATE_NOW_EXPRESSION;\n\tswitch (expression.match(STRFTIME_NOW_PATTERN)?.[2]) {\n\t\tcase SQLITE_DATETIME_TEXT_FORMAT: return INSTANT_NOW;\n\t\tcase SQLITE_TIME_TEXT_FORMAT: return SQLITE_TIME_NOW_EXPRESSION;\n\t\tdefault: return;\n\t}\n}\n/**\n* Strips a single matched wrapping pair of outer parens from `s`. Conservative:\n* only strips when the leading `(` is matched by the trailing `)` (so\n* `(a) + (b)` is returned unchanged). Mirrors SQLite's own\n* `pragma_table_info.dflt_value` normalization for expression defaults, and\n* is shared with the recreate-table postcheck builder so both sides agree\n* on the text.\n*/\nfunction stripOuterParens(s) {\n\tif (!s.startsWith(\"(\") || !s.endsWith(\")\")) return s;\n\tlet depth = 0;\n\tfor (let i = 0; i < s.length; i++) if (s[i] === \"(\") depth += 1;\n\telse if (s[i] === \")\") {\n\t\tdepth -= 1;\n\t\tif (depth === 0 && i < s.length - 1) return s;\n\t}\n\treturn s.slice(1, -1);\n}\n/** The type affinity SQLite gives a column of `declaredType`, by its rules in order. */\nfunction affinityOf(declaredType) {\n\tconst upper = declaredType.toUpperCase();\n\tif (upper.includes(\"INT\")) return \"integer\";\n\tif (upper.includes(\"CHAR\") || upper.includes(\"CLOB\") || upper.includes(\"TEXT\")) return \"text\";\n\tif (upper.includes(\"BLOB\") || upper.trim() === \"\") return \"blob\";\n\tif (upper.includes(\"REAL\") || upper.includes(\"FLOA\") || upper.includes(\"DOUB\")) return \"real\";\n\treturn \"numeric\";\n}\n/** A numeral as the driver returns it: a number, or digit text for an integer no double holds exactly. */\nfunction numberBody(numeral) {\n\tif (INTEGER_PATTERN.test(numeral)) {\n\t\tconst integer = BigInt(numeral);\n\t\treturn Number.isSafeInteger(Number(integer)) ? Number(integer) : integer.toString();\n\t}\n\treturn Number(numeral);\n}\n/** What the column stores for a literal written as `text` (quoted) or as a numeral, by its affinity. */\nfunction bodyFor(literal, quoted, affinity) {\n\tconst numeral = INTEGER_PATTERN.test(literal) || REAL_PATTERN.test(literal);\n\tif (affinity === \"text\") return literal;\n\tif (affinity === \"blob\") return quoted || !numeral ? literal : numberBody(literal);\n\treturn numeral ? numberBody(literal) : literal;\n}\n/** A blob literal: `X'` or `x'`, an even number of hexadecimal digits, `'`. */\nconst BLOB_LITERAL_PATTERN = /^[xX]'((?:[0-9a-fA-F]{2})*)'$/;\n/**\n* Reads a column's reported default. `CURRENT_TIMESTAMP`, `datetime('now')` and the expression a `now()` default is written as for an instant are `now()`; `date('now')` and `CURRENT_DATE`, which writes the same text, are read as `date('now')`, and the expression for the current time of day keeps its own name, so a default that writes a date is never read as one that writes an instant. `CURRENT_TIME` writes no fraction of a second, which is not the text `sqlite/time` stores, so it is kept as reported. A quoted string, a numeral or a blob literal (`X'6869'`, read as its bytes) is a literal; any other expression is a function default, kept as reported.\n*/\nfunction readSqliteDefault(rawDefault, declaredType) {\n\tlet trimmed = rawDefault.trim();\n\twhile (true) {\n\t\tconst stripped = stripOuterParens(trimmed).trim();\n\t\tif (stripped === trimmed) break;\n\t\ttrimmed = stripped;\n\t}\n\tconst currentValue = currentValueNamed(trimmed);\n\tif (currentValue !== void 0) return {\n\t\tkind: \"function\",\n\t\texpression: currentValue\n\t};\n\tif (NULL_PATTERN.test(trimmed)) return { kind: \"null\" };\n\tconst affinity = affinityOf(declaredType);\n\tconst quoted = STRING_LITERAL_PATTERN.exec(trimmed)?.[1];\n\tif (quoted !== void 0) return {\n\t\tkind: \"literal\",\n\t\tliteral: {\n\t\t\tkind: \"value\",\n\t\t\tbody: bodyFor(quoted.replace(/''/g, \"'\"), true, affinity)\n\t\t}\n\t};\n\tconst blobHex = BLOB_LITERAL_PATTERN.exec(trimmed)?.[1];\n\tif (blobHex !== void 0) return {\n\t\tkind: \"literal\",\n\t\tliteral: {\n\t\t\tkind: \"value\",\n\t\t\tbody: new Uint8Array(Buffer.from(blobHex, \"hex\"))\n\t\t}\n\t};\n\tif (INTEGER_PATTERN.test(trimmed) || REAL_PATTERN.test(trimmed)) return {\n\t\tkind: \"literal\",\n\t\tliteral: {\n\t\t\tkind: \"value\",\n\t\t\tbody: bodyFor(trimmed, false, affinity)\n\t\t}\n\t};\n\treturn {\n\t\tkind: \"function\",\n\t\texpression: trimmed\n\t};\n}\n/**\n* Names a contract's expression default the way {@link readSqliteDefault} names the same function in the database, so `` sql`CURRENT_TIMESTAMP` `` and the database's `datetime('now')` compare equal. A `now()` default is named as the expression the column's data type writes it as, so a `now()` on a date column and one on a date and time column differ, as their stored text does. A literal default, and an expression that writes a literal, pass through unchanged; introspection reads the latter's literal with the column's codec, and the diff compares the values.\n*/\nfunction sqliteResolveDefault(def, column) {\n\tif (def.kind !== \"function\") return def;\n\tconst read = readSqliteDefault(def.expression === INSTANT_NOW ? sqliteNowExpressionFor(column.dataTypeId) ?? def.expression : def.expression, column.typeText);\n\treturn read.kind === \"function\" ? read : def;\n}\n//#endregion\nexport { sqliteResolveDefault as n, stripOuterParens as r, readSqliteDefault as t };\n\n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AAgB,KAAK,OAAO,KAAK,aAAa,KAAK,OAAO,GAAG,OAAO;EACvE,MAAM;EACN,SAAS;GACR,MAAM;GACN,MAAM,QAAQ,SAAS,OAAO,QAAQ;EACvC;CACD;CACA,OAAO;EACN,MAAM;EACN,YAAY;CACb;AACD;;;;AAIA,SAAS,qBAAqB,KAAK,QAAQ;CAC1C,IAAI,IAAI,SAAS,YAAY,OAAO;CACpC,MAAM,OAAO,kBAAkB,IAAI,eAAe,cAAc,uBAAuB,OAAO,UAAU,KAAK,IAAI,aAAa,IAAI,YAAY,OAAO,QAAQ;CAC7J,OAAO,KAAK,SAAS,aAAa,OAAO;AAC1C"}
1
+ {"version":3,"file":"default-normalizer-BcGrp77x-CMWxtX1W.mjs","names":[],"sources":["../../../../3-targets/sqlite/1-target/dist/default-normalizer-BcGrp77x.mjs"],"sourcesContent":["import { a as SQLITE_TIME_TEXT_FORMAT, i as SQLITE_TIME_NOW_EXPRESSION, n as SQLITE_DATE_NOW_EXPRESSION, o as sqliteNowExpressionFor, t as SQLITE_DATETIME_TEXT_FORMAT } from \"./datetime-text-BogpvE70.mjs\";\n//#region src/core/default-normalizer.ts\nconst NULL_PATTERN = /^NULL$/i;\nconst INTEGER_PATTERN = /^[+-]?\\d+$/;\nconst REAL_PATTERN = /^[+-]?(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:[eE][+-]?\\d+)?$/;\nconst STRING_LITERAL_PATTERN = /^'((?:[^']|'')*)'$/;\nconst STRFTIME_NOW_PATTERN = /^strftime\\s*\\(\\s*(['\"])([^'\"]*)\\1\\s*,\\s*(['\"])now\\3\\s*\\)$/i;\nconst DATE_NOW_PATTERN = /^date\\s*\\(\\s*(['\"])now\\1\\s*\\)$/i;\n/** The name of the current instant, as a contract writes it. */\nconst INSTANT_NOW = \"now()\";\n/**\n* The name of the current value `expression` writes: `now()` for the current instant, in any of the forms SQLite writes it, and the expression a `now()` default is written as for the current date and for the current time of day, since those hold different text. `undefined` for any other expression.\n*/\nfunction currentValueNamed(expression) {\n\tconst lower = expression.toLowerCase();\n\tif (lower === \"current_timestamp\" || lower === \"datetime('now')\" || lower === \"datetime(\\\"now\\\")\") return INSTANT_NOW;\n\tif (lower === \"current_date\" || DATE_NOW_PATTERN.test(expression)) return SQLITE_DATE_NOW_EXPRESSION;\n\tswitch (expression.match(STRFTIME_NOW_PATTERN)?.[2]) {\n\t\tcase SQLITE_DATETIME_TEXT_FORMAT: return INSTANT_NOW;\n\t\tcase SQLITE_TIME_TEXT_FORMAT: return SQLITE_TIME_NOW_EXPRESSION;\n\t\tdefault: return;\n\t}\n}\n/**\n* Strips a single matched wrapping pair of outer parens from `s`. Conservative:\n* only strips when the leading `(` is matched by the trailing `)` (so\n* `(a) + (b)` is returned unchanged). Mirrors SQLite's own\n* `pragma_table_info.dflt_value` normalization for expression defaults, and\n* is shared with the recreate-table postcheck builder so both sides agree\n* on the text.\n*/\nfunction stripOuterParens(s) {\n\tif (!s.startsWith(\"(\") || !s.endsWith(\")\")) return s;\n\tlet depth = 0;\n\tfor (let i = 0; i < s.length; i++) if (s[i] === \"(\") depth += 1;\n\telse if (s[i] === \")\") {\n\t\tdepth -= 1;\n\t\tif (depth === 0 && i < s.length - 1) return s;\n\t}\n\treturn s.slice(1, -1);\n}\n/** The type affinity SQLite gives a column of `declaredType`, by its rules in order. */\nfunction affinityOf(declaredType) {\n\tconst upper = declaredType.toUpperCase();\n\tif (upper.includes(\"INT\")) return \"integer\";\n\tif (upper.includes(\"CHAR\") || upper.includes(\"CLOB\") || upper.includes(\"TEXT\")) return \"text\";\n\tif (upper.includes(\"BLOB\") || upper.trim() === \"\") return \"blob\";\n\tif (upper.includes(\"REAL\") || upper.includes(\"FLOA\") || upper.includes(\"DOUB\")) return \"real\";\n\treturn \"numeric\";\n}\n/** A numeral as the driver returns it: a number, or digit text for an integer no double holds exactly. */\nfunction numberBody(numeral) {\n\tif (INTEGER_PATTERN.test(numeral)) {\n\t\tconst integer = BigInt(numeral);\n\t\treturn Number.isSafeInteger(Number(integer)) ? Number(integer) : integer.toString();\n\t}\n\treturn Number(numeral);\n}\n/** What the column stores for a literal written as `text` (quoted) or as a numeral, by its affinity. */\nfunction bodyFor(literal, quoted, affinity) {\n\tconst numeral = INTEGER_PATTERN.test(literal) || REAL_PATTERN.test(literal);\n\tif (affinity === \"text\") return literal;\n\tif (affinity === \"blob\") return quoted || !numeral ? literal : numberBody(literal);\n\treturn numeral ? numberBody(literal) : literal;\n}\n/** A blob literal: `X'` or `x'`, an even number of hexadecimal digits, `'`. */\nconst BLOB_LITERAL_PATTERN = /^[xX]'((?:[0-9a-fA-F]{2})*)'$/;\n/**\n* Reads a column's reported default. `CURRENT_TIMESTAMP`, `datetime('now')` and the expression a `now()` default is written as for an instant are `now()`; `date('now')` and `CURRENT_DATE`, which writes the same text, are read as `date('now')`, and the expression for the current time of day keeps its own name, so a default that writes a date is never read as one that writes an instant. `CURRENT_TIME` writes no fraction of a second, which is not the text `sqlite/time` stores, so it is kept as reported. A quoted string, a numeral or a blob literal (`X'6869'`, read as its bytes) is a literal; any other expression is a function default, kept as reported.\n*/\nfunction readSqliteDefault(rawDefault, declaredType) {\n\tlet trimmed = rawDefault.trim();\n\twhile (true) {\n\t\tconst stripped = stripOuterParens(trimmed).trim();\n\t\tif (stripped === trimmed) break;\n\t\ttrimmed = stripped;\n\t}\n\tconst currentValue = currentValueNamed(trimmed);\n\tif (currentValue !== void 0) return {\n\t\tkind: \"function\",\n\t\texpression: currentValue\n\t};\n\tif (NULL_PATTERN.test(trimmed)) return { kind: \"null\" };\n\tconst affinity = affinityOf(declaredType);\n\tconst quoted = STRING_LITERAL_PATTERN.exec(trimmed)?.[1];\n\tif (quoted !== void 0) return {\n\t\tkind: \"literal\",\n\t\tliteral: {\n\t\t\tkind: \"value\",\n\t\t\tbody: bodyFor(quoted.replace(/''/g, \"'\"), true, affinity)\n\t\t}\n\t};\n\tconst blobHex = BLOB_LITERAL_PATTERN.exec(trimmed)?.[1];\n\tif (blobHex !== void 0) return {\n\t\tkind: \"literal\",\n\t\tliteral: {\n\t\t\tkind: \"value\",\n\t\t\tbody: new Uint8Array(Buffer.from(blobHex, \"hex\"))\n\t\t}\n\t};\n\tif (INTEGER_PATTERN.test(trimmed) || REAL_PATTERN.test(trimmed)) return {\n\t\tkind: \"literal\",\n\t\tliteral: {\n\t\t\tkind: \"value\",\n\t\t\tbody: bodyFor(trimmed, false, affinity)\n\t\t}\n\t};\n\treturn {\n\t\tkind: \"function\",\n\t\texpression: trimmed\n\t};\n}\n/**\n* Names a contract's expression default the way {@link readSqliteDefault} names the same function in the database, so `` sql`CURRENT_TIMESTAMP` `` and the database's `datetime('now')` compare equal. A `now()` default is named as the expression the column's data type writes it as, so a `now()` on a date column and one on a date and time column differ, as their stored text does. A literal default, and an expression that writes a literal, pass through unchanged; introspection reads the latter's literal with the column's codec, and the diff compares the values.\n*/\nfunction sqliteResolveDefault(def, column) {\n\tif (def.kind !== \"function\") return def;\n\tconst read = readSqliteDefault(def.expression === INSTANT_NOW ? sqliteNowExpressionFor(column.dataTypeId) ?? def.expression : def.expression, column.typeText);\n\treturn read.kind === \"function\" ? read : def;\n}\n//#endregion\nexport { sqliteResolveDefault as n, stripOuterParens as r, readSqliteDefault as t };\n\n//# sourceMappingURL=default-normalizer-BcGrp77x.mjs.map"],"mappings":";;AAEA,MAAM,eAAe;AACrB,MAAM,kBAAkB;AACxB,MAAM,eAAe;AACrB,MAAM,yBAAyB;AAC/B,MAAM,uBAAuB;AAC7B,MAAM,mBAAmB;;AAEzB,MAAM,cAAc;;;;AAIpB,SAAS,kBAAkB,YAAY;CACtC,MAAM,QAAQ,WAAW,YAAY;CACrC,IAAI,UAAU,uBAAuB,UAAU,qBAAqB,UAAU,qBAAqB,OAAO;CAC1G,IAAI,UAAU,kBAAkB,iBAAiB,KAAK,UAAU,GAAG,OAAO;CAC1E,QAAQ,WAAW,MAAM,oBAAoB,CAAC,GAAG,IAAjD;EACC,KAAK,6BAA6B,OAAO;EACzC,KAA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ID, c as SQLITE_DATE_TEMPORAL_CODEC_ID, d as SQLITE_JSON_CODEC_ID, f as SQLITE_REAL_CODEC_ID, h as SQLITE_TIME_TEMPORAL_CODEC_ID, i as SQLITE_DATETIME_CODEC_ID, l as SQLITE_DURATION_STRING_CODEC_ID, m as SQLITE_TIME_STRING_CODEC_ID, o as SQLITE_DATETIME_TEMPORAL_CODEC_ID, p as SQLITE_TEXT_CODEC_ID, r as SQLITE_BLOB_CODEC_ID, s as SQLITE_DATE_STRING_CODEC_ID, t as SQLITE_BIGINT_CODEC_ID, u as SQLITE_INTEGER_CODEC_ID } from "./codec-ids-BHBFCNsQ-C1Af_LGF.mjs";
2
- import { m as sqliteInteger, v as sqliteTextDataTypes } from "./data-types-DXMZNR8j-CWrJOA8C.mjs";
3
- import { t as sqliteDataTypeEntries } from "./data-type-entries-Cp4hBeJB-DYer43by.mjs";
4
- import { n as sqliteTargetDescriptorMetaRuntime, t as sqliteNowGenerators } from "./date-time-now-generators-T8JO6gR6-DBt5IyH5.mjs";
2
+ import { m as sqliteInteger, v as sqliteTextDataTypes } from "./data-types-fYwGTal5-BxuZD5EE.mjs";
3
+ import { t as sqliteDataTypeEntries } from "./data-type-entries-B6YmbQDH-RnV5wVv8.mjs";
4
+ import { n as sqliteTargetDescriptorMetaRuntime, t as sqliteNowGenerators } from "./date-time-now-generators-BVQSg28x-DwhOJw5-.mjs";
5
5
  import { DATE_STRING_NOW_GENERATOR_ID, INSTANT_NOW_GENERATOR_ID, INSTANT_STRING_NOW_GENERATOR_ID, PLAIN_DATE_NOW_GENERATOR_ID, PLAIN_TIME_NOW_GENERATOR_ID, TIME_STRING_NOW_GENERATOR_ID } from "@prisma/orm-framework/type-implementations/now";
6
6
  import { UNBOUND_NAMESPACE_ID } from "@prisma/orm-framework/components/ir";
7
7
  import { idGeneratorFunctionBindings, sqlIntegerArgumentGeneratorFunctions, sqlTargetTypeConstructors } from "@prisma/orm-family-sql/family/pack";
8
8
  import { TIMESTAMP_NOW_GENERATOR_ID, temporalTypeAliases } from "@prisma/orm-framework/components/authoring";
9
9
  import { singleGeneratorBinding } from "@prisma/orm-framework/components/components";
10
- //#region ../../../3-targets/sqlite/1-target/dist/descriptor-meta-BwJWbIVt.mjs
10
+ //#region ../../../3-targets/sqlite/1-target/dist/descriptor-meta-CEjGA0WH.mjs
11
11
  const sqliteAuthoringTypes = {
12
12
  .../* @__PURE__ */ sqlTargetTypeConstructors({ sizeType: "sqlite/real" }),
13
13
  BigIntNumber: {
@@ -277,4 +277,4 @@ const sqliteTargetDescriptorMeta = {
277
277
  //#endregion
278
278
  export { sqliteTargetDescriptorMeta as n, sqliteScalarTypeConstructors as t };
279
279
 
280
- //# sourceMappingURL=descriptor-meta-BwJWbIVt-B24ey04f.mjs.map
280
+ //# sourceMappingURL=descriptor-meta-CEjGA0WH-CxgiKj3V.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"descriptor-meta-BwJWbIVt-B24ey04f.mjs","names":[],"sources":["../../../../3-targets/sqlite/1-target/dist/descriptor-meta-BwJWbIVt.mjs"],"sourcesContent":["import { a as SQLITE_DATETIME_STRING_CODEC_ID, c as SQLITE_DATE_TEMPORAL_CODEC_ID, d as SQLITE_JSON_CODEC_ID, f as SQLITE_REAL_CODEC_ID, h as SQLITE_TIME_TEMPORAL_CODEC_ID, i as SQLITE_DATETIME_CODEC_ID, l as SQLITE_DURATION_STRING_CODEC_ID, m as SQLITE_TIME_STRING_CODEC_ID, o as SQLITE_DATETIME_TEMPORAL_CODEC_ID, p as SQLITE_TEXT_CODEC_ID, r as SQLITE_BLOB_CODEC_ID, s as SQLITE_DATE_STRING_CODEC_ID, t as SQLITE_BIGINT_CODEC_ID, u as SQLITE_INTEGER_CODEC_ID } from \"./codec-ids-BHBFCNsQ.mjs\";\nimport { m as sqliteInteger, v as sqliteTextDataTypes } from \"./data-types-DXMZNR8j.mjs\";\nimport { t as sqliteDataTypeEntries } from \"./data-type-entries-Cp4hBeJB.mjs\";\nimport { n as sqliteTargetDescriptorMetaRuntime, t as sqliteNowGenerators } from \"./date-time-now-generators-T8JO6gR6.mjs\";\nimport { UNBOUND_NAMESPACE_ID } from \"@internal/framework-components/ir\";\nimport { idGeneratorFunctionBindings, sqlIntegerArgumentGeneratorFunctions, sqlTargetTypeConstructors } from \"@internal/family-sql/pack\";\nimport { TIMESTAMP_NOW_GENERATOR_ID, temporalTypeAliases } from \"@internal/framework-components/authoring\";\nimport { singleGeneratorBinding } from \"@internal/framework-components/components\";\nimport { DATE_STRING_NOW_GENERATOR_ID, INSTANT_NOW_GENERATOR_ID, INSTANT_STRING_NOW_GENERATOR_ID, PLAIN_DATE_NOW_GENERATOR_ID, PLAIN_TIME_NOW_GENERATOR_ID, TIME_STRING_NOW_GENERATOR_ID } from \"@internal/type-implementations/now\";\n//#region src/core/authoring.ts\nconst sqliteAuthoringTypes = {\n\t.../* @__PURE__ */ sqlTargetTypeConstructors({ sizeType: \"sqlite/real\" }),\n\tBigIntNumber: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"A SQLite integer represented as a JavaScript number within its safe integer range.\",\n\t\toutput: { codecId: \"sqlite/bigintnumber@1\" }\n\t},\n\ttemporal: /* @__PURE__ */ temporalTypeAliases({ codecId: \"sqlite/datetime@1\" }, \"a JavaScript Date\")\n};\n//#endregion\n//#region src/core/generator-functions.ts\n/** The \"now\" generator for each codec that has one. The `now` generator function binds it. */\nconst sqliteNowGeneratorIds = {\n\t[SQLITE_DATETIME_CODEC_ID]: TIMESTAMP_NOW_GENERATOR_ID,\n\t[SQLITE_DATETIME_TEMPORAL_CODEC_ID]: INSTANT_NOW_GENERATOR_ID,\n\t[SQLITE_DATETIME_STRING_CODEC_ID]: INSTANT_STRING_NOW_GENERATOR_ID,\n\t[SQLITE_DATE_STRING_CODEC_ID]: DATE_STRING_NOW_GENERATOR_ID,\n\t[SQLITE_DATE_TEMPORAL_CODEC_ID]: PLAIN_DATE_NOW_GENERATOR_ID,\n\t[SQLITE_TIME_STRING_CODEC_ID]: TIME_STRING_NOW_GENERATOR_ID,\n\t[SQLITE_TIME_TEMPORAL_CODEC_ID]: PLAIN_TIME_NOW_GENERATOR_ID\n};\nconst sqliteGeneratorFunctions = [\n\t...sqlIntegerArgumentGeneratorFunctions({ integer: sqliteInteger.id }),\n\t{\n\t\tname: \"now\",\n\t\tbindings: Object.entries(sqliteNowGeneratorIds).map(([codecId, generatorId]) => singleGeneratorBinding({\n\t\t\tcodecIds: [codecId],\n\t\t\tgeneratorId\n\t\t}))\n\t},\n\t...idGeneratorFunctionBindings({ text: [SQLITE_TEXT_CODEC_ID] })\n];\n/** The `now` generators SQLite binds. The SQL family registers the identifier generators. */\nconst sqliteGeneratorDescriptors = [{ id: TIMESTAMP_NOW_GENERATOR_ID }, ...sqliteNowGenerators.map(({ id }) => ({ id }))];\n//#endregion\n//#region src/core/type-constructors.ts\n/**\n* The base PSL scalars as zero-arg type constructors in the unified authoring\n* channel. Each names a codec; the column's database type is its data type's.\n*\n* The type position is the only storage decider: a mutation-default generator\n* (`@onCreate(uuid())`) never re-picks a column's storage.\n*\n* The target contributes them, so PSL and the TypeScript builder's `type.*` see the same names.\n*/\nconst sqliteScalarAuthoringTypes = {\n\tString: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"Variable-length text stored as SQLite text.\",\n\t\toutput: { codecId: SQLITE_TEXT_CODEC_ID }\n\t},\n\tInt: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"An integer stored as SQLite integer and represented as a JavaScript number.\",\n\t\toutput: { codecId: SQLITE_INTEGER_CODEC_ID }\n\t},\n\tBigInt: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"An integer stored as SQLite integer and represented as a JavaScript bigint.\",\n\t\toutput: { codecId: SQLITE_BIGINT_CODEC_ID }\n\t},\n\tFloat: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"A floating-point number stored as SQLite real.\",\n\t\toutput: { codecId: SQLITE_REAL_CODEC_ID }\n\t},\n\tDecimal: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"A decimal value stored and represented as text to preserve precision.\",\n\t\toutput: { codecId: SQLITE_TEXT_CODEC_ID }\n\t},\n\tJson: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"A JSON value serialized to SQLite text.\",\n\t\toutput: { codecId: SQLITE_JSON_CODEC_ID }\n\t},\n\tBytes: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"Binary data stored as a SQLite blob.\",\n\t\toutput: { codecId: SQLITE_BLOB_CODEC_ID }\n\t}\n};\n/**\n* The explicit date and time types. SQLite has no date or time column type, so each is stored as text, in one form for each value, and its name says what the text holds and what the application reads. ADR 315.\n*/\nconst sqliteDateTimeTypeConstructors = {\n\tDatetimeJsDate: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"An instant stored as SQLite text, 2024-01-01T00:00:00.000Z, and represented as a JavaScript Date.\",\n\t\toutput: { codecId: SQLITE_DATETIME_CODEC_ID }\n\t},\n\tDatetimeTemporal: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"An instant stored as SQLite text, 2024-01-01T00:00:00.000Z, and represented as Temporal.Instant.\",\n\t\toutput: { codecId: SQLITE_DATETIME_TEMPORAL_CODEC_ID }\n\t},\n\tDatetimeString: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"An instant stored as SQLite text and represented as that text, 2024-01-01T00:00:00.000Z, the instant in UTC.\",\n\t\toutput: { codecId: SQLITE_DATETIME_STRING_CODEC_ID }\n\t},\n\tDateString: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"A calendar date stored as SQLite text and represented as that text, 2024-02-29.\",\n\t\toutput: { codecId: SQLITE_DATE_STRING_CODEC_ID }\n\t},\n\tDateTemporal: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"A calendar date stored as SQLite text, 2024-02-29, and represented as Temporal.PlainDate.\",\n\t\toutput: { codecId: SQLITE_DATE_TEMPORAL_CODEC_ID }\n\t},\n\tTimeString: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"A time of day stored as SQLite text and represented as that text, 09:30:00.000, always with three fraction digits.\",\n\t\toutput: { codecId: SQLITE_TIME_STRING_CODEC_ID }\n\t},\n\tTimeTemporal: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"A time of day stored as SQLite text, 09:30:00.000, and represented as Temporal.PlainTime.\",\n\t\toutput: { codecId: SQLITE_TIME_TEMPORAL_CODEC_ID }\n\t},\n\tDurationString: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"A length of time stored as SQLite text and represented as the ISO 8601 duration it was written as, such as PT1H30M.\",\n\t\toutput: { codecId: SQLITE_DURATION_STRING_CODEC_ID }\n\t}\n};\nconst textStorage = {\n\tkind: \"option\",\n\tname: \"storage\",\n\tvalues: [\"text\"],\n\tdefault: \"text\",\n\toptional: true\n};\n/**\n* The convenience date and time types. Each is a type choice: its `as` argument chooses the explicit type it becomes. Every SQLite date and time type is stored as text, so `storage` is text only. ADR 279, ADR 315.\n*/\nconst sqliteConvenienceDateTimeTypes = {\n\tDateTime: {\n\t\tkind: \"typeChoice\",\n\t\tdocumentation: \"A moment in time, stored as SQLite text. `as` is what the application reads: jsDate (a JavaScript Date), temporal (Temporal.Instant) or string, such as \\\"2024-01-01T00:00:00.000Z\\\".\",\n\t\targs: [{\n\t\t\tkind: \"option\",\n\t\t\tname: \"as\",\n\t\t\tvalues: [\n\t\t\t\t\"jsDate\",\n\t\t\t\t\"temporal\",\n\t\t\t\t\"string\"\n\t\t\t],\n\t\t\tdefault: \"jsDate\",\n\t\t\toptional: true\n\t\t}, textStorage],\n\t\tchoices: [\n\t\t\t{\n\t\t\t\twhen: {\n\t\t\t\t\tas: \"jsDate\",\n\t\t\t\t\tstorage: \"text\"\n\t\t\t\t},\n\t\t\t\ttype: \"DatetimeJsDate\"\n\t\t\t},\n\t\t\t{\n\t\t\t\twhen: {\n\t\t\t\t\tas: \"temporal\",\n\t\t\t\t\tstorage: \"text\"\n\t\t\t\t},\n\t\t\t\ttype: \"DatetimeTemporal\"\n\t\t\t},\n\t\t\t{\n\t\t\t\twhen: {\n\t\t\t\t\tas: \"string\",\n\t\t\t\t\tstorage: \"text\"\n\t\t\t\t},\n\t\t\t\ttype: \"DatetimeString\"\n\t\t\t}\n\t\t]\n\t},\n\tDate: {\n\t\tkind: \"typeChoice\",\n\t\tdocumentation: \"A calendar date, stored as SQLite text. `as` is what the application reads: string, such as \\\"2024-02-29\\\", or temporal (Temporal.PlainDate).\",\n\t\targs: [{\n\t\t\tkind: \"option\",\n\t\t\tname: \"as\",\n\t\t\tvalues: [\"string\", \"temporal\"],\n\t\t\tdefault: \"string\",\n\t\t\toptional: true\n\t\t}, textStorage],\n\t\tchoices: [{\n\t\t\twhen: {\n\t\t\t\tas: \"string\",\n\t\t\t\tstorage: \"text\"\n\t\t\t},\n\t\t\ttype: \"DateString\"\n\t\t}, {\n\t\t\twhen: {\n\t\t\t\tas: \"temporal\",\n\t\t\t\tstorage: \"text\"\n\t\t\t},\n\t\t\ttype: \"DateTemporal\"\n\t\t}]\n\t},\n\tTime: {\n\t\tkind: \"typeChoice\",\n\t\tdocumentation: \"A time of day, stored as SQLite text. `as` is what the application reads: string, such as \\\"09:30:00.000\\\", or temporal (Temporal.PlainTime).\",\n\t\targs: [{\n\t\t\tkind: \"option\",\n\t\t\tname: \"as\",\n\t\t\tvalues: [\"string\", \"temporal\"],\n\t\t\tdefault: \"string\",\n\t\t\toptional: true\n\t\t}, textStorage],\n\t\tchoices: [{\n\t\t\twhen: {\n\t\t\t\tas: \"string\",\n\t\t\t\tstorage: \"text\"\n\t\t\t},\n\t\t\ttype: \"TimeString\"\n\t\t}, {\n\t\t\twhen: {\n\t\t\t\tas: \"temporal\",\n\t\t\t\tstorage: \"text\"\n\t\t\t},\n\t\t\ttype: \"TimeTemporal\"\n\t\t}]\n\t},\n\tDuration: {\n\t\tkind: \"typeChoice\",\n\t\tdocumentation: \"A length of time, stored as SQLite text. `as` is what the application reads: string, an ISO 8601 duration such as \\\"PT1H30M\\\".\",\n\t\targs: [{\n\t\t\tkind: \"option\",\n\t\t\tname: \"as\",\n\t\t\tvalues: [\"string\"],\n\t\t\tdefault: \"string\",\n\t\t\toptional: true\n\t\t}, textStorage],\n\t\tchoices: [{\n\t\t\twhen: {\n\t\t\t\tas: \"string\",\n\t\t\t\tstorage: \"text\"\n\t\t\t},\n\t\t\ttype: \"DurationString\"\n\t\t}]\n\t}\n};\n/**\n* The base scalars, the explicit date and time types and the convenience date and time types as type constructors. The target contributes them, so PSL and the TypeScript builder's `type.*` see the same names.\n*/\nconst sqliteScalarTypeConstructors = {\n\t...sqliteScalarAuthoringTypes,\n\t...sqliteDateTimeTypeConstructors,\n\t...sqliteConvenienceDateTimeTypes\n};\nconst sqliteTargetDescriptorMeta = {\n\t...sqliteTargetDescriptorMetaRuntime,\n\tdefaultNamespaceId: UNBOUND_NAMESPACE_ID,\n\tsupportsNamespaces: false,\n\tdisplayName: \"SQLite\",\n\tauthoring: {\n\t\ttype: {\n\t\t\t...sqliteScalarTypeConstructors,\n\t\t\t...sqliteAuthoringTypes\n\t\t},\n\t\tdataTypes: sqliteDataTypeEntries(),\n\t\ttextDataTypes: sqliteTextDataTypes\n\t},\n\tgeneratorFunctions: sqliteGeneratorFunctions,\n\tcontrolMutationDefaults: {\n\t\tdefaultFunctionRegistry: /* @__PURE__ */ new Map(),\n\t\tgeneratorDescriptors: sqliteGeneratorDescriptors\n\t}\n};\n//#endregion\nexport { sqliteScalarTypeConstructors as n, sqliteTargetDescriptorMeta as t };\n\n//# sourceMappingURL=descriptor-meta-BwJWbIVt.mjs.map"],"mappings":";;;;;;;;;;AAUA,MAAM,uBAAuB;CAC5B,GAAmB,0CAA0B,EAAE,UAAU,cAAc,CAAC;CACxE,cAAc;EACb,MAAM;EACN,eAAe;EACf,QAAQ,EAAE,SAAS,wBAAwB;CAC5C;CACA,UAA0B,oCAAoB,EAAE,SAAS,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;EACN,eAAe;EACf,MAAM,CAAC;GACN,MAAM;GACN,MAAM;GACN,QAAQ,CAAC,UAAU,UAAU;GAC7B,SAAS;GACT,UAAU;EACX,GAAG,WAAW;EACd,SAAS,CAAC;GACT,MAAM;IACL,IAAI;IACJ,SAAS;GACV;GACA,MAAM;EACP,GAAG;GACF,MAAM;IACL,IAAI;IACJ,SAAS;GACV;GACA,MAAM;EACP,CAAC;CACF;CACA,UAAU;EACT,MAAM;EACN,eAAe;EACf,MAAM,CAAC;GACN,MAAM;GACN,MAAM;GACN,QAAQ,CAAC,QAAQ;GACjB,SAAS;GACT,UAAU;EACX,GAAG,WAAW;EACd,SAAS,CAAC;GACT,MAAM;IACL,IAAI;IACJ,SAAS;GACV;GACA,MAAM;EACP,CAAC;CACF;AACD;;;;AAIA,MAAM,+BAA+B;CACpC,GAAG;CACH,GAAG;CACH,GAAG;AACJ;AACA,MAAM,6BAA6B;CAClC,GAAG;CACH,oBAAoB;CACpB,oBAAoB;CACpB,aAAa;CACb,WAAW;EACV,MAAM;GACL,GAAG;GACH,GAAG;EACJ;EACA,WAAW,sBAAsB;EACjC,eAAe;CAChB;CACA,oBAAoB;CACpB,yBAAyB;EACxB,yCAAyC,IAAI,IAAI;EACjD,sBAAsB;CACvB;AACD"}
1
+ {"version":3,"file":"descriptor-meta-CEjGA0WH-CxgiKj3V.mjs","names":[],"sources":["../../../../3-targets/sqlite/1-target/dist/descriptor-meta-CEjGA0WH.mjs"],"sourcesContent":["import { a as SQLITE_DATETIME_STRING_CODEC_ID, c as SQLITE_DATE_TEMPORAL_CODEC_ID, d as SQLITE_JSON_CODEC_ID, f as SQLITE_REAL_CODEC_ID, h as SQLITE_TIME_TEMPORAL_CODEC_ID, i as SQLITE_DATETIME_CODEC_ID, l as SQLITE_DURATION_STRING_CODEC_ID, m as SQLITE_TIME_STRING_CODEC_ID, o as SQLITE_DATETIME_TEMPORAL_CODEC_ID, p as SQLITE_TEXT_CODEC_ID, r as SQLITE_BLOB_CODEC_ID, s as SQLITE_DATE_STRING_CODEC_ID, t as SQLITE_BIGINT_CODEC_ID, u as SQLITE_INTEGER_CODEC_ID } from \"./codec-ids-BHBFCNsQ.mjs\";\nimport { m as sqliteInteger, v as sqliteTextDataTypes } from \"./data-types-fYwGTal5.mjs\";\nimport { t as sqliteDataTypeEntries } from \"./data-type-entries-B6YmbQDH.mjs\";\nimport { n as sqliteTargetDescriptorMetaRuntime, t as sqliteNowGenerators } from \"./date-time-now-generators-BVQSg28x.mjs\";\nimport { UNBOUND_NAMESPACE_ID } from \"@internal/framework-components/ir\";\nimport { idGeneratorFunctionBindings, sqlIntegerArgumentGeneratorFunctions, sqlTargetTypeConstructors } from \"@internal/family-sql/pack\";\nimport { TIMESTAMP_NOW_GENERATOR_ID, temporalTypeAliases } from \"@internal/framework-components/authoring\";\nimport { singleGeneratorBinding } from \"@internal/framework-components/components\";\nimport { DATE_STRING_NOW_GENERATOR_ID, INSTANT_NOW_GENERATOR_ID, INSTANT_STRING_NOW_GENERATOR_ID, PLAIN_DATE_NOW_GENERATOR_ID, PLAIN_TIME_NOW_GENERATOR_ID, TIME_STRING_NOW_GENERATOR_ID } from \"@internal/type-implementations/now\";\n//#region src/core/authoring.ts\nconst sqliteAuthoringTypes = {\n\t.../* @__PURE__ */ sqlTargetTypeConstructors({ sizeType: \"sqlite/real\" }),\n\tBigIntNumber: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"A SQLite integer represented as a JavaScript number within its safe integer range.\",\n\t\toutput: { codecId: \"sqlite/bigintnumber@1\" }\n\t},\n\ttemporal: /* @__PURE__ */ temporalTypeAliases({ codecId: \"sqlite/datetime@1\" }, \"a JavaScript Date\")\n};\n//#endregion\n//#region src/core/generator-functions.ts\n/** The \"now\" generator for each codec that has one. The `now` generator function binds it. */\nconst sqliteNowGeneratorIds = {\n\t[SQLITE_DATETIME_CODEC_ID]: TIMESTAMP_NOW_GENERATOR_ID,\n\t[SQLITE_DATETIME_TEMPORAL_CODEC_ID]: INSTANT_NOW_GENERATOR_ID,\n\t[SQLITE_DATETIME_STRING_CODEC_ID]: INSTANT_STRING_NOW_GENERATOR_ID,\n\t[SQLITE_DATE_STRING_CODEC_ID]: DATE_STRING_NOW_GENERATOR_ID,\n\t[SQLITE_DATE_TEMPORAL_CODEC_ID]: PLAIN_DATE_NOW_GENERATOR_ID,\n\t[SQLITE_TIME_STRING_CODEC_ID]: TIME_STRING_NOW_GENERATOR_ID,\n\t[SQLITE_TIME_TEMPORAL_CODEC_ID]: PLAIN_TIME_NOW_GENERATOR_ID\n};\nconst sqliteGeneratorFunctions = [\n\t...sqlIntegerArgumentGeneratorFunctions({ integer: sqliteInteger.id }),\n\t{\n\t\tname: \"now\",\n\t\tbindings: Object.entries(sqliteNowGeneratorIds).map(([codecId, generatorId]) => singleGeneratorBinding({\n\t\t\tcodecIds: [codecId],\n\t\t\tgeneratorId\n\t\t}))\n\t},\n\t...idGeneratorFunctionBindings({ text: [SQLITE_TEXT_CODEC_ID] })\n];\n/** The `now` generators SQLite binds. The SQL family registers the identifier generators. */\nconst sqliteGeneratorDescriptors = [{ id: TIMESTAMP_NOW_GENERATOR_ID }, ...sqliteNowGenerators.map(({ id }) => ({ id }))];\n//#endregion\n//#region src/core/type-constructors.ts\n/**\n* The base PSL scalars as zero-arg type constructors in the unified authoring\n* channel. Each names a codec; the column's database type is its data type's.\n*\n* The type position is the only storage decider: a mutation-default generator\n* (`@onCreate(uuid())`) never re-picks a column's storage.\n*\n* The target contributes them, so PSL and the TypeScript builder's `type.*` see the same names.\n*/\nconst sqliteScalarAuthoringTypes = {\n\tString: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"Variable-length text stored as SQLite text.\",\n\t\toutput: { codecId: SQLITE_TEXT_CODEC_ID }\n\t},\n\tInt: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"An integer stored as SQLite integer and represented as a JavaScript number.\",\n\t\toutput: { codecId: SQLITE_INTEGER_CODEC_ID }\n\t},\n\tBigInt: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"An integer stored as SQLite integer and represented as a JavaScript bigint.\",\n\t\toutput: { codecId: SQLITE_BIGINT_CODEC_ID }\n\t},\n\tFloat: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"A floating-point number stored as SQLite real.\",\n\t\toutput: { codecId: SQLITE_REAL_CODEC_ID }\n\t},\n\tDecimal: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"A decimal value stored and represented as text to preserve precision.\",\n\t\toutput: { codecId: SQLITE_TEXT_CODEC_ID }\n\t},\n\tJson: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"A JSON value serialized to SQLite text.\",\n\t\toutput: { codecId: SQLITE_JSON_CODEC_ID }\n\t},\n\tBytes: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"Binary data stored as a SQLite blob.\",\n\t\toutput: { codecId: SQLITE_BLOB_CODEC_ID }\n\t}\n};\n/**\n* The explicit date and time types. SQLite has no date or time column type, so each is stored as text, in one form for each value, and its name says what the text holds and what the application reads. ADR 315.\n*/\nconst sqliteDateTimeTypeConstructors = {\n\tDatetimeJsDate: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"An instant stored as SQLite text, 2024-01-01T00:00:00.000Z, and represented as a JavaScript Date.\",\n\t\toutput: { codecId: SQLITE_DATETIME_CODEC_ID }\n\t},\n\tDatetimeTemporal: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"An instant stored as SQLite text, 2024-01-01T00:00:00.000Z, and represented as Temporal.Instant.\",\n\t\toutput: { codecId: SQLITE_DATETIME_TEMPORAL_CODEC_ID }\n\t},\n\tDatetimeString: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"An instant stored as SQLite text and represented as that text, 2024-01-01T00:00:00.000Z, the instant in UTC.\",\n\t\toutput: { codecId: SQLITE_DATETIME_STRING_CODEC_ID }\n\t},\n\tDateString: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"A calendar date stored as SQLite text and represented as that text, 2024-02-29.\",\n\t\toutput: { codecId: SQLITE_DATE_STRING_CODEC_ID }\n\t},\n\tDateTemporal: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"A calendar date stored as SQLite text, 2024-02-29, and represented as Temporal.PlainDate.\",\n\t\toutput: { codecId: SQLITE_DATE_TEMPORAL_CODEC_ID }\n\t},\n\tTimeString: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"A time of day stored as SQLite text and represented as that text, 09:30:00.000, always with three fraction digits.\",\n\t\toutput: { codecId: SQLITE_TIME_STRING_CODEC_ID }\n\t},\n\tTimeTemporal: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"A time of day stored as SQLite text, 09:30:00.000, and represented as Temporal.PlainTime.\",\n\t\toutput: { codecId: SQLITE_TIME_TEMPORAL_CODEC_ID }\n\t},\n\tDurationString: {\n\t\tkind: \"typeConstructor\",\n\t\tdocumentation: \"A length of time stored as SQLite text and represented as the ISO 8601 duration it was written as, such as PT1H30M.\",\n\t\toutput: { codecId: SQLITE_DURATION_STRING_CODEC_ID }\n\t}\n};\nconst textStorage = {\n\tkind: \"option\",\n\tname: \"storage\",\n\tvalues: [\"text\"],\n\tdefault: \"text\",\n\toptional: true\n};\n/**\n* The convenience date and time types. Each is a type choice: its `as` argument chooses the explicit type it becomes. Every SQLite date and time type is stored as text, so `storage` is text only. ADR 279, ADR 315.\n*/\nconst sqliteConvenienceDateTimeTypes = {\n\tDateTime: {\n\t\tkind: \"typeChoice\",\n\t\tdocumentation: \"A moment in time, stored as SQLite text. `as` is what the application reads: jsDate (a JavaScript Date), temporal (Temporal.Instant) or string, such as \\\"2024-01-01T00:00:00.000Z\\\".\",\n\t\targs: [{\n\t\t\tkind: \"option\",\n\t\t\tname: \"as\",\n\t\t\tvalues: [\n\t\t\t\t\"jsDate\",\n\t\t\t\t\"temporal\",\n\t\t\t\t\"string\"\n\t\t\t],\n\t\t\tdefault: \"jsDate\",\n\t\t\toptional: true\n\t\t}, textStorage],\n\t\tchoices: [\n\t\t\t{\n\t\t\t\twhen: {\n\t\t\t\t\tas: \"jsDate\",\n\t\t\t\t\tstorage: \"text\"\n\t\t\t\t},\n\t\t\t\ttype: \"DatetimeJsDate\"\n\t\t\t},\n\t\t\t{\n\t\t\t\twhen: {\n\t\t\t\t\tas: \"temporal\",\n\t\t\t\t\tstorage: \"text\"\n\t\t\t\t},\n\t\t\t\ttype: \"DatetimeTemporal\"\n\t\t\t},\n\t\t\t{\n\t\t\t\twhen: {\n\t\t\t\t\tas: \"string\",\n\t\t\t\t\tstorage: \"text\"\n\t\t\t\t},\n\t\t\t\ttype: \"DatetimeString\"\n\t\t\t}\n\t\t]\n\t},\n\tDate: {\n\t\tkind: \"typeChoice\",\n\t\tdocumentation: \"A calendar date, stored as SQLite text. `as` is what the application reads: string, such as \\\"2024-02-29\\\", or temporal (Temporal.PlainDate).\",\n\t\targs: [{\n\t\t\tkind: \"option\",\n\t\t\tname: \"as\",\n\t\t\tvalues: [\"string\", \"temporal\"],\n\t\t\tdefault: \"string\",\n\t\t\toptional: true\n\t\t}, textStorage],\n\t\tchoices: [{\n\t\t\twhen: {\n\t\t\t\tas: \"string\",\n\t\t\t\tstorage: \"text\"\n\t\t\t},\n\t\t\ttype: \"DateString\"\n\t\t}, {\n\t\t\twhen: {\n\t\t\t\tas: \"temporal\",\n\t\t\t\tstorage: \"text\"\n\t\t\t},\n\t\t\ttype: \"DateTemporal\"\n\t\t}]\n\t},\n\tTime: {\n\t\tkind: \"typeChoice\",\n\t\tdocumentation: \"A time of day, stored as SQLite text. `as` is what the application reads: string, such as \\\"09:30:00.000\\\", or temporal (Temporal.PlainTime).\",\n\t\targs: [{\n\t\t\tkind: \"option\",\n\t\t\tname: \"as\",\n\t\t\tvalues: [\"string\", \"temporal\"],\n\t\t\tdefault: \"string\",\n\t\t\toptional: true\n\t\t}, textStorage],\n\t\tchoices: [{\n\t\t\twhen: {\n\t\t\t\tas: \"string\",\n\t\t\t\tstorage: \"text\"\n\t\t\t},\n\t\t\ttype: \"TimeString\"\n\t\t}, {\n\t\t\twhen: {\n\t\t\t\tas: \"temporal\",\n\t\t\t\tstorage: \"text\"\n\t\t\t},\n\t\t\ttype: \"TimeTemporal\"\n\t\t}]\n\t},\n\tDuration: {\n\t\tkind: \"typeChoice\",\n\t\tdocumentation: \"A length of time, stored as SQLite text. `as` is what the application reads: string, an ISO 8601 duration such as \\\"PT1H30M\\\".\",\n\t\targs: [{\n\t\t\tkind: \"option\",\n\t\t\tname: \"as\",\n\t\t\tvalues: [\"string\"],\n\t\t\tdefault: \"string\",\n\t\t\toptional: true\n\t\t}, textStorage],\n\t\tchoices: [{\n\t\t\twhen: {\n\t\t\t\tas: \"string\",\n\t\t\t\tstorage: \"text\"\n\t\t\t},\n\t\t\ttype: \"DurationString\"\n\t\t}]\n\t}\n};\n/**\n* The base scalars, the explicit date and time types and the convenience date and time types as type constructors. The target contributes them, so PSL and the TypeScript builder's `type.*` see the same names.\n*/\nconst sqliteScalarTypeConstructors = {\n\t...sqliteScalarAuthoringTypes,\n\t...sqliteDateTimeTypeConstructors,\n\t...sqliteConvenienceDateTimeTypes\n};\nconst sqliteTargetDescriptorMeta = {\n\t...sqliteTargetDescriptorMetaRuntime,\n\tdefaultNamespaceId: UNBOUND_NAMESPACE_ID,\n\tsupportsNamespaces: false,\n\tdisplayName: \"SQLite\",\n\tauthoring: {\n\t\ttype: {\n\t\t\t...sqliteScalarTypeConstructors,\n\t\t\t...sqliteAuthoringTypes\n\t\t},\n\t\tdataTypes: sqliteDataTypeEntries(),\n\t\ttextDataTypes: sqliteTextDataTypes\n\t},\n\tgeneratorFunctions: sqliteGeneratorFunctions,\n\tcontrolMutationDefaults: {\n\t\tdefaultFunctionRegistry: /* @__PURE__ */ new Map(),\n\t\tgeneratorDescriptors: sqliteGeneratorDescriptors\n\t}\n};\n//#endregion\nexport { sqliteScalarTypeConstructors as n, sqliteTargetDescriptorM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GACN,MAAM;GACN,QAAQ,CAAC,UAAU,UAAU;GAC7B,SAAS;GACT,UAAU;EACX,GAAG,WAAW;EACd,SAAS,CAAC;GACT,MAAM;IACL,IAAI;IACJ,SAAS;GACV;GACA,MAAM;EACP,GAAG;GACF,MAAM;IACL,IAAI;IACJ,SAAS;GACV;GACA,MAAM;EACP,CAAC;CACF;CACA,MAAM;EACL,MAAM;EACN,eAAe;EACf,MAAM,CAAC;GACN,MAAM;GACN,MAAM;GACN,QAAQ,CAAC,UAAU,UAAU;GAC7B,SAAS;GACT,UAAU;EACX,GAAG,WAAW;EACd,SAAS,CAAC;GACT,MAAM;IACL,IAAI;IACJ,SAAS;GACV;GACA,MAAM;EACP,GAAG;GACF,MAAM;IACL,IAAI;IACJ,SAAS;GACV;GACA,MAAM;EACP,CAAC;CACF;CACA,UAAU;EACT,MAAM;EACN,eAAe;EACf,MAAM,CAAC;GACN,MAAM;GACN,MAAM;GACN,QAAQ,CAAC,QAAQ;GACjB,SAAS;GACT,UAAU;EACX,GAAG,WAAW;EACd,SAAS,CAAC;GACT,MAAM;IACL,IAAI;IACJ,SAAS;GACV;GACA,MAAM;EACP,CAAC;CACF;AACD;;;;AAIA,MAAM,+BAA+B;CACpC,GAAG;CACH,GAAG;CACH,GAAG;AACJ;AACA,MAAM,6BAA6B;CAClC,GAAG;CACH,oBAAoB;CACpB,oBAAoB;CACpB,aAAa;CACb,WAAW;EACV,MAAM;GACL,GAAG;GACH,GAAG;EACJ;EACA,WAAW,sBAAsB;EACjC,eAAe;CAChB;CACA,oBAAoB;CACpB,yBAAyB;EACxB,yCAAyC,IAAI,IAAI;EACjD,sBAAsB;CACvB;AACD"}
@@ -1,4 +1,4 @@
1
- import { a as sqliteCodecRegistry } from "./codecs-BhRFtE69.mjs";
1
+ import { a as sqliteCodecRegistry } from "./codecs-B-paWXdt.mjs";
2
2
  import { n as sqliteAdapterContractContributions } from "./contract-contributions-DT76ePH3-BI96J32-.mjs";
3
3
  //#region ../../../3-targets/sqlite/2-adapter/dist/descriptor-meta-CKqpcoZL.mjs
4
4
  const sqliteAdapterDescriptorMeta = {
@@ -23,4 +23,4 @@ const sqliteAdapterDescriptorMeta = {
23
23
  //#endregion
24
24
  export { sqliteAdapterDescriptorMeta as t };
25
25
 
26
- //# sourceMappingURL=descriptor-meta-CKqpcoZL-D82JbePf.mjs.map
26
+ //# sourceMappingURL=descriptor-meta-CKqpcoZL-qGhQs3RA.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"descriptor-meta-CKqpcoZL-D82JbePf.mjs","names":[],"sources":["../../../../3-targets/sqlite/2-adapter/dist/descriptor-meta-CKqpcoZL.mjs"],"sourcesContent":["import { t as sqliteAdapterContractContributions } from \"./contract-contributions-DT76ePH3.mjs\";\nimport { sqliteCodecRegistry } from \"@internal/target-sqlite/codecs\";\n//#region src/core/descriptor-meta.ts\nconst sqliteAdapterDescriptorMeta = {\n\tkind: \"adapter\",\n\tfamilyId: \"sql\",\n\ttargetId: \"sqlite\",\n\tid: \"sqlite\",\n\tversion: \"0.0.1\",\n\tcapabilities: sqliteAdapterContractContributions.capabilities,\n\ttypes: {\n\t\taggregateDescriptors: sqliteAdapterContractContributions.types.aggregateDescriptors,\n\t\tcodecTypes: {\n\t\t\tcodecDescriptors: Array.from(sqliteCodecRegistry.values()),\n\t\t\timport: {\n\t\t\t\tpackage: \"@internal/adapter-sqlite/codec-types\",\n\t\t\t\tnamed: \"CodecTypes\",\n\t\t\t\talias: \"SqliteTypes\"\n\t\t\t}\n\t\t}\n\t}\n};\n//#endregion\nexport { sqliteAdapterDescriptorMeta as t };\n\n//# sourceMappingURL=descriptor-meta-CKqpcoZL.mjs.map"],"mappings":";;;AAGA,MAAM,8BAA8B;CACnC,MAAM;CACN,UAAU;CACV,UAAU;CACV,IAAI;CACJ,SAAS;CACT,cAAc,mCAAmC;CACjD,OAAO;EACN,sBAAsB,mCAAmC,MAAM;EAC/D,YAAY;GACX,kBAAkB,MAAM,KAAK,oBAAoB,OAAO,CAAC;GACzD,QAAQ;IACP,SAAS;IACT,OAAO;IACP,OAAO;GACR;EACD;CACD;AACD"}
1
+ {"version":3,"file":"descriptor-meta-CKqpcoZL-qGhQs3RA.mjs","names":[],"sources":["../../../../3-targets/sqlite/2-adapter/dist/descriptor-meta-CKqpcoZL.mjs"],"sourcesContent":["import { t as sqliteAdapterContractContributions } from \"./contract-contributions-DT76ePH3.mjs\";\nimport { sqliteCodecRegistry } from \"@internal/target-sqlite/codecs\";\n//#region src/core/descriptor-meta.ts\nconst sqliteAdapterDescriptorMeta = {\n\tkind: \"adapter\",\n\tfamilyId: \"sql\",\n\ttargetId: \"sqlite\",\n\tid: \"sqlite\",\n\tversion: \"0.0.1\",\n\tcapabilities: sqliteAdapterContractContributions.capabilities,\n\ttypes: {\n\t\taggregateDescriptors: sqliteAdapterContractContributions.types.aggregateDescriptors,\n\t\tcodecTypes: {\n\t\t\tcodecDescriptors: Array.from(sqliteCodecRegistry.values()),\n\t\t\timport: {\n\t\t\t\tpackage: \"@internal/adapter-sqlite/codec-types\",\n\t\t\t\tnamed: \"CodecTypes\",\n\t\t\t\talias: \"SqliteTypes\"\n\t\t\t}\n\t\t}\n\t}\n};\n//#endregion\nexport { sqliteAdapterDescriptorMeta as t };\n\n//# sourceMappingURL=descriptor-meta-CKqpcoZL.mjs.map"],"mappings":";;;AAGA,MAAM,8BAA8B;CACnC,MAAM;CACN,UAAU;CACV,UAAU;CACV,IAAI;CACJ,SAAS;CACT,cAAc,mCAAmC;CACjD,OAAO;EACN,sBAAsB,mCAAmC,MAAM;EAC/D,YAAY;GACX,kBAAkB,MAAM,KAAK,oBAAoB,OAAO,CAAC;GACzD,QAAQ;IACP,SAAS;IACT,OAAO;IACP,OAAO;GACR;EACD;CACD;AACD"}
@@ -1,5 +1,5 @@
1
1
  import { t as buildTargetDetails } from "./planner-target-details-Daaeo8s9-BGAN4JVc.mjs";
2
- import { A as step } from "./op-factory-call-Dxsyn5gF-CvHmM-h_.mjs";
2
+ import { A as step } from "./op-factory-call-B3oOyB-T-Bhg17pAj.mjs";
3
3
  import { col as col$1, fn as fn$1, foreignKey, lit as lit$1, primaryKey, unique } from "@prisma/orm-family-sql/relational-core/contract-free";
4
4
  import { placeholder } from "@prisma/orm-framework/errors/migration";
5
5
  import { MigrationCLI } from "@prisma/orm-toolchain/cli/migration-cli";
@@ -45,4 +45,4 @@ function rawSql(op) {
45
45
  //#endregion
46
46
  export { foreignKey as a, primaryKey as c, unique as d, fn$1 as i, rawSql as l, col$1 as n, lit$1 as o, dataTransform as r, placeholder as s, MigrationCLI as t, sql as u };
47
47
 
48
- //# sourceMappingURL=migration-DBqx2jWN.mjs.map
48
+ //# sourceMappingURL=migration-C6RAZsCK.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"migration-DBqx2jWN.mjs","names":[],"sources":["../../../../3-targets/sqlite/1-target/dist/migration.mjs"],"sourcesContent":["import { t as SqliteMigration } from \"./sqlite-migration-B42dCAqX.mjs\";\nimport { k as step } from \"./op-factory-call-Dxsyn5gF.mjs\";\nimport { t as buildTargetDetails } from \"./planner-target-details-Daaeo8s9.mjs\";\nimport { placeholder } from \"@internal/errors/migration\";\nimport { col, fn, foreignKey, lit, primaryKey, unique } from \"@internal/sql-relational-core/contract-free\";\nimport { MigrationCLI } from \"@internal/cli/migration-cli\";\nimport { sql } from \"@internal/sql-contract/sql-expression\";\n//#region src/core/migrations/operations/data-transform.ts\n/**\n* User-facing `dataTransform` factory for the SQLite migration authoring\n* surface. Invoked directly inside a `migration.ts` file to supply a\n* user-authored SQL statement that runs with operation class `'data'`.\n*\n* Typical use: the planner emits a `DataTransformCall` stub when a NOT NULL\n* tightening requires a backfill. The rendered `migration.ts` exposes the\n* backfill as a `placeholder(\"…\")` slot the user fills in with an\n* `UPDATE … WHERE col IS NULL` statement. The filled-in `dataTransform(...)`\n* invocation returns a runnable operation the runner executes before the\n* subsequent recreate-table op copies data into the tightened schema.\n*/\nfunction dataTransform(opts) {\n\treturn {\n\t\tid: opts.id,\n\t\tlabel: opts.label,\n\t\tsummary: opts.description,\n\t\toperationClass: \"data\",\n\t\ttarget: {\n\t\t\tid: \"sqlite\",\n\t\t\tdetails: buildTargetDetails(\"table\", opts.table)\n\t\t},\n\t\tprecheck: [],\n\t\texecute: [step(opts.description, opts.run())],\n\t\tpostcheck: []\n\t};\n}\n//#endregion\n//#region src/core/migrations/operations/raw.ts\n/**\n* Identity factory for an already-materialized\n* `SqlMigrationPlanOperation<SqlitePlanTargetDetails>`. Mirrors the Postgres\n* `rawSql` factory: the planner uses this to carry ops produced by SQL-family\n* paths (codec lifecycle hooks, raw-SQL escape hatches) alongside structured\n* call IR without reverse-engineering their shape.\n*/\nfunction rawSql(op) {\n\treturn op;\n}\n//#endregion\nexport { SqliteMigration as Migration, MigrationCLI, col, dataTransform, fn, foreignKey, lit, placeholder, primaryKey, rawSql, sql, unique };\n\n//# sourceMappingURL=migration.mjs.map"],"mappings":";;;;;;;;;;;;;;;;;;;AAoBA,SAAS,cAAc,MAAM;CAC5B,OAAO;EACN,IAAI,KAAK;EACT,OAAO,KAAK;EACZ,SAAS,KAAK;EACd,gBAAgB;EAChB,QAAQ;GACP,IAAI;GACJ,SAAS,mBAAmB,SAAS,KAAK,KAAK;EAChD;EACA,UAAU,CAAC;EACX,SAAS,CAAC,KAAK,KAAK,aAAa,KAAK,IAAI,CAAC,CAAC;EAC5C,WAAW,CAAC;CACb;AACD;;;;;;;;AAUA,SAAS,OAAO,IAAI;CACnB,OAAO;AACR"}
1
+ {"version":3,"file":"migration-C6RAZsCK.mjs","names":[],"sources":["../../../../3-targets/sqlite/1-target/dist/migration.mjs"],"sourcesContent":["import { t as SqliteMigration } from \"./sqlite-migration-DvNpo879.mjs\";\nimport { k as step } from \"./op-factory-call-B3oOyB-T.mjs\";\nimport { t as buildTargetDetails } from \"./planner-target-details-Daaeo8s9.mjs\";\nimport { placeholder } from \"@internal/errors/migration\";\nimport { col, fn, foreignKey, lit, primaryKey, unique } from \"@internal/sql-relational-core/contract-free\";\nimport { MigrationCLI } from \"@internal/cli/migration-cli\";\nimport { sql } from \"@internal/sql-contract/sql-expression\";\n//#region src/core/migrations/operations/data-transform.ts\n/**\n* User-facing `dataTransform` factory for the SQLite migration authoring\n* surface. Invoked directly inside a `migration.ts` file to supply a\n* user-authored SQL statement that runs with operation class `'data'`.\n*\n* Typical use: the planner emits a `DataTransformCall` stub when a NOT NULL\n* tightening requires a backfill. The rendered `migration.ts` exposes the\n* backfill as a `placeholder(\"…\")` slot the user fills in with an\n* `UPDATE … WHERE col IS NULL` statement. The filled-in `dataTransform(...)`\n* invocation returns a runnable operation the runner executes before the\n* subsequent recreate-table op copies data into the tightened schema.\n*/\nfunction dataTransform(opts) {\n\treturn {\n\t\tid: opts.id,\n\t\tlabel: opts.label,\n\t\tsummary: opts.description,\n\t\toperationClass: \"data\",\n\t\ttarget: {\n\t\t\tid: \"sqlite\",\n\t\t\tdetails: buildTargetDetails(\"table\", opts.table)\n\t\t},\n\t\tprecheck: [],\n\t\texecute: [step(opts.description, opts.run())],\n\t\tpostcheck: []\n\t};\n}\n//#endregion\n//#region src/core/migrations/operations/raw.ts\n/**\n* Identity factory for an already-materialized\n* `SqlMigrationPlanOperation<SqlitePlanTargetDetails>`. Mirrors the Postgres\n* `rawSql` factory: the planner uses this to carry ops produced by SQL-family\n* paths (codec lifecycle hooks, raw-SQL escape hatches) alongside structured\n* call IR without reverse-engineering their shape.\n*/\nfunction rawSql(op) {\n\treturn op;\n}\n//#endregion\nexport { SqliteMigration as Migration, MigrationCLI, col, dataTransform, fn, foreignKey, lit, placeholder, primaryKey, rawSql, sql, unique };\n\n//# sourceMappingURL=migration.mjs.map"],"mappings":";;;;;;;;;;;;;;;;;;;AAoBA,SAAS,cAAc,MAAM;CAC5B,OAAO;EACN,IAAI,KAAK;EACT,OAAO,KAAK;EACZ,SAAS,KAAK;EACd,gBAAgB;EAChB,QAAQ;GACP,IAAI;GACJ,SAAS,mBAAmB,SAAS,KAAK,KAAK;EAChD;EACA,UAAU,CAAC;EACX,SAAS,CAAC,KAAK,KAAK,aAAa,KAAK,IAAI,CAAC,CAAC;EAC5C,WAAW,CAAC;CACb;AACD;;;;;;;;AAUA,SAAS,OAAO,IAAI;CACnB,OAAO;AACR"}
@@ -1,7 +1,7 @@
1
1
  import { c as sqliteError } from "./errors-D9vZNPSI-DoNmdfv7.mjs";
2
2
  import { a as tableExistsAst, i as indexExistsAst, n as columnNameTakenAst, o as tableNameTakenAst, r as createTable, t as columnExistsAst } from "./ddl-BvD-wVtg-BoEWa8CG.mjs";
3
3
  import { n as escapeLiteral, r as quoteIdentifier, t as SQLITE_QUOTING } from "./sql-utils-C9blmi9x-B90QedVA.mjs";
4
- import { r as stripOuterParens } from "./default-normalizer-CsMhUEOe-CRieDElD.mjs";
4
+ import { r as stripOuterParens } from "./default-normalizer-BcGrp77x-CMWxtX1W.mjs";
5
5
  import { t as buildTargetDetails } from "./planner-target-details-Daaeo8s9-BGAN4JVc.mjs";
6
6
  import { DdlColumn, FunctionColumnDefault, LiteralColumnDefault, opaqueSql } from "@prisma/orm-family-sql/relational-core/ast";
7
7
  import { ifDefined } from "@prisma/orm-framework/utils/defined";
@@ -17,7 +17,7 @@ import { RelationalSchemaNodeKind, sqlColumnTypesEqual } from "@prisma/orm-famil
17
17
  import { errorMigrationOperationOptionRemoved, errorUnfilledPlaceholder, unfilledPlaceholderOperation } from "@prisma/orm-framework/errors/migration";
18
18
  import { REFERENTIAL_ACTION_SQL } from "@prisma/orm-family-sql/contract/referential-action-sql";
19
19
  import { TsExpression, jsonToTsSource, tsArraySource, tsObjectSource, tsQuotedTextSource } from "@prisma/orm-framework/ts-render";
20
- //#region ../../../3-targets/sqlite/1-target/dist/op-factory-call-Dxsyn5gF.mjs
20
+ //#region ../../../3-targets/sqlite/1-target/dist/op-factory-call-B3oOyB-T.mjs
21
21
  function foldAsciiLetters(identifier) {
22
22
  return identifier.replace(/[A-Z]/g, (letter) => letter.toLowerCase());
23
23
  }
@@ -2038,4 +2038,4 @@ function renderPostcheck(postcheck) {
2038
2038
  //#endregion
2039
2039
  export { step as A, holdingStoredValue as C, renameTableSteps as D, rebuiltTableName as E, sqliteDefaultToDdlColumnDefault as O, conversionCopyOf as S, isSqliteOpFactoryCall as T, RenameTableCall as _, DeleteRowsCall as a, buildRecreatePostchecks as b, DropTableCall as c, RawSqlCall as d, RecreateTableCall as f, RenameStoredKeyCall as g, RenameColumnCall as h, DataTransformCall as i, sqliteIdentifiersCollide as k, FillStoredKeyCall as l, RemoveStoredValueCall as m, CreateIndexCall as n, DropColumnCall as o, RemoveStoredKeyCall as p, CreateTableCall as r, DropIndexCall as s, AddColumnCall as t, INLINE_AUTOINCREMENT_PRIMARY_KEY as u, ReplaceStoredValueCall as v, indexReplacementCalls as w, buildRecreateSummary as x, affinityStorageClasses as y };
2040
2040
 
2041
- //# sourceMappingURL=op-factory-call-Dxsyn5gF-CvHmM-h_.mjs.map
2041
+ //# sourceMappingURL=op-factory-call-B3oOyB-T-Bhg17pAj.mjs.map