@hot-updater/server 0.33.2 → 0.35.0

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 (216) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +0 -2
  2. package/dist/adapters/drizzle.cjs +195 -2
  3. package/dist/adapters/drizzle.d.cts +7 -4
  4. package/dist/adapters/drizzle.d.mts +7 -4
  5. package/dist/adapters/drizzle.mjs +194 -2
  6. package/dist/adapters/drizzleLazyDB.cjs +53 -0
  7. package/dist/adapters/drizzleLazyDB.mjs +53 -0
  8. package/dist/adapters/kysely.cjs +154 -3
  9. package/dist/adapters/kysely.d.cts +18 -10
  10. package/dist/adapters/kysely.d.mts +18 -10
  11. package/dist/adapters/kysely.mjs +153 -3
  12. package/dist/adapters/mongodb.cjs +183 -2
  13. package/dist/adapters/mongodb.d.cts +5 -4
  14. package/dist/adapters/mongodb.d.mts +5 -4
  15. package/dist/adapters/mongodb.mjs +183 -2
  16. package/dist/adapters/prisma.cjs +200 -2
  17. package/dist/adapters/prisma.d.cts +9 -4
  18. package/dist/adapters/prisma.d.mts +9 -4
  19. package/dist/adapters/prisma.mjs +199 -2
  20. package/dist/{runtime.cjs → createHotUpdaterCore.cjs} +34 -12
  21. package/dist/createHotUpdaterCore.d.cts +25 -0
  22. package/dist/createHotUpdaterCore.d.mts +25 -0
  23. package/dist/{runtime.mjs → createHotUpdaterCore.mjs} +34 -10
  24. package/dist/db/bundleRows.cjs +82 -0
  25. package/dist/db/bundleRows.d.cts +33 -0
  26. package/dist/db/bundleRows.d.mts +33 -0
  27. package/dist/db/bundleRows.mjs +79 -0
  28. package/dist/db/createBundleDiff.cjs +1 -1
  29. package/dist/db/createBundleDiff.mjs +1 -1
  30. package/dist/db/fixedMigrator.cjs +136 -0
  31. package/dist/db/fixedMigrator.mjs +135 -0
  32. package/dist/db/index.cjs +24 -42
  33. package/dist/db/index.d.cts +7 -26
  34. package/dist/db/index.d.mts +7 -26
  35. package/dist/db/index.mjs +19 -41
  36. package/dist/db/pluginCore.cjs +13 -5
  37. package/dist/db/pluginCore.mjs +13 -5
  38. package/dist/db/schema/mongodb.cjs +17 -0
  39. package/dist/db/schema/mongodb.mjs +17 -0
  40. package/dist/db/schema/registry.cjs +23 -0
  41. package/dist/db/schema/registry.mjs +18 -0
  42. package/dist/db/schema/sql.cjs +84 -0
  43. package/dist/db/schema/sql.mjs +78 -0
  44. package/dist/db/schema/sqlMigrations.cjs +74 -0
  45. package/dist/db/schema/sqlMigrations.mjs +73 -0
  46. package/dist/db/schema/sqlOperations.cjs +27 -0
  47. package/dist/db/schema/sqlOperations.mjs +26 -0
  48. package/dist/db/schemaEnhancements.cjs +1 -152
  49. package/dist/db/schemaEnhancements.mjs +1 -149
  50. package/dist/db/schemaGenerators.cjs +222 -0
  51. package/dist/db/schemaGenerators.mjs +220 -0
  52. package/dist/db/schemaReadiness.cjs +23 -0
  53. package/dist/db/schemaReadiness.d.cts +8 -0
  54. package/dist/db/schemaReadiness.d.mts +8 -0
  55. package/dist/db/schemaReadiness.mjs +22 -0
  56. package/dist/db/types.cjs +10 -2
  57. package/dist/db/types.d.cts +58 -14
  58. package/dist/db/types.d.mts +58 -14
  59. package/dist/db/types.mjs +9 -1
  60. package/dist/index.cjs +2 -6
  61. package/dist/index.d.cts +3 -5
  62. package/dist/index.d.mts +3 -5
  63. package/dist/index.mjs +2 -4
  64. package/dist/node.cjs +2 -0
  65. package/dist/node.d.cts +7 -3
  66. package/dist/node.d.mts +7 -3
  67. package/dist/node.mjs +2 -1
  68. package/dist/{packages/server/package.cjs → package.cjs} +1 -1
  69. package/dist/{packages/server/package.mjs → package.mjs} +1 -1
  70. package/dist/schema/dsl.cjs +86 -0
  71. package/dist/schema/dsl.mjs +73 -0
  72. package/dist/schema/index.cjs +13 -0
  73. package/dist/schema/index.mjs +13 -0
  74. package/dist/schema/settings.cjs +9 -0
  75. package/dist/schema/settings.mjs +9 -0
  76. package/dist/schema/types.cjs +6 -0
  77. package/dist/schema/types.mjs +5 -0
  78. package/dist/schema/v0_21_0.cjs +33 -18
  79. package/dist/schema/v0_21_0.mjs +32 -18
  80. package/dist/schema/v0_29_0.cjs +40 -20
  81. package/dist/schema/v0_29_0.mjs +39 -20
  82. package/dist/schema/v0_31_0.cjs +77 -43
  83. package/dist/schema/v0_31_0.mjs +75 -43
  84. package/dist/types/index.d.cts +1 -1
  85. package/dist/types/index.d.mts +1 -1
  86. package/dist/version.cjs +1 -1
  87. package/dist/version.mjs +1 -1
  88. package/package.json +34 -20
  89. package/src/adapters/drizzle.spec.ts +76 -0
  90. package/src/adapters/drizzle.ts +328 -12
  91. package/src/adapters/drizzleLazyDB.ts +151 -0
  92. package/src/adapters/kysely.spec.ts +107 -0
  93. package/src/adapters/kysely.ts +349 -14
  94. package/src/adapters/mongodb.ts +298 -15
  95. package/src/adapters/prisma.ts +337 -12
  96. package/src/createHotUpdaterCore.ts +168 -0
  97. package/src/db/bundleRows.ts +140 -0
  98. package/src/db/fixedMigrator.spec.ts +89 -0
  99. package/src/db/fixedMigrator.ts +288 -0
  100. package/src/db/hotUpdaterSchema.ts +6 -0
  101. package/src/db/index.spec.ts +983 -19
  102. package/src/db/index.ts +37 -108
  103. package/src/db/pluginCore.spec.ts +17 -11
  104. package/src/db/pluginCore.ts +15 -6
  105. package/src/db/schema/definitions.ts +1 -0
  106. package/src/db/schema/mongodb.ts +26 -0
  107. package/src/db/schema/registry.ts +55 -0
  108. package/src/db/schema/sql.ts +200 -0
  109. package/src/db/schema/sqlMigrations.ts +219 -0
  110. package/src/db/schema/sqlOperations.ts +62 -0
  111. package/src/db/schema/types.ts +1 -0
  112. package/src/db/schemaEnhancements.ts +0 -405
  113. package/src/db/schemaGenerators.ts +382 -0
  114. package/src/db/schemaReadiness.ts +33 -0
  115. package/src/db/types.ts +69 -25
  116. package/src/handler-standalone.integration.spec.ts +3 -2
  117. package/src/index.ts +9 -3
  118. package/src/node.spec.ts +50 -0
  119. package/src/node.ts +7 -3
  120. package/src/runtime.spec.ts +132 -1
  121. package/src/schema/dsl-all-versions.spec.ts +26 -0
  122. package/src/schema/dsl.ts +148 -0
  123. package/src/schema/index.ts +16 -0
  124. package/src/schema/settings.ts +15 -0
  125. package/src/schema/types.ts +73 -0
  126. package/src/schema/v0_21_0.ts +48 -18
  127. package/src/schema/v0_29_0.ts +58 -22
  128. package/src/schema/v0_31_0.spec.ts +73 -0
  129. package/src/schema/v0_31_0.ts +116 -54
  130. package/src/types/index.ts +1 -1
  131. package/dist/_virtual/_rolldown/runtime.mjs +0 -6
  132. package/dist/calculatePagination.cjs +0 -25
  133. package/dist/calculatePagination.mjs +0 -25
  134. package/dist/db/ormCore.cjs +0 -577
  135. package/dist/db/ormCore.d.cts +0 -110
  136. package/dist/db/ormCore.d.mts +0 -110
  137. package/dist/db/ormCore.mjs +0 -575
  138. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/_u64.cjs +0 -112
  139. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/_u64.mjs +0 -108
  140. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/cryptoNode.cjs +0 -22
  141. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/cryptoNode.mjs +0 -18
  142. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/sha3.cjs +0 -219
  143. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/sha3.mjs +0 -214
  144. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/utils.cjs +0 -275
  145. package/dist/node_modules/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/utils.mjs +0 -270
  146. package/dist/node_modules/.pnpm/@paralleldrive_cuid2@2.3.1/node_modules/@paralleldrive/cuid2/index.cjs +0 -17
  147. package/dist/node_modules/.pnpm/@paralleldrive_cuid2@2.3.1/node_modules/@paralleldrive/cuid2/index.mjs +0 -13
  148. package/dist/node_modules/.pnpm/@paralleldrive_cuid2@2.3.1/node_modules/@paralleldrive/cuid2/src/index.cjs +0 -69
  149. package/dist/node_modules/.pnpm/@paralleldrive_cuid2@2.3.1/node_modules/@paralleldrive/cuid2/src/index.mjs +0 -65
  150. package/dist/node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare_workers-types@4.20260611.1_@electric-sql_pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/column.cjs +0 -52
  151. package/dist/node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare_workers-types@4.20260611.1_@electric-sql_pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/column.mjs +0 -52
  152. package/dist/node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare_workers-types@4.20260611.1_@electric-sql_pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/entity.cjs +0 -16
  153. package/dist/node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare_workers-types@4.20260611.1_@electric-sql_pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/entity.mjs +0 -15
  154. package/dist/node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare_workers-types@4.20260611.1_@electric-sql_pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/pg-core/columns/enum.cjs +0 -7
  155. package/dist/node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare_workers-types@4.20260611.1_@electric-sql_pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/pg-core/columns/enum.mjs +0 -7
  156. package/dist/node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare_workers-types@4.20260611.1_@electric-sql_pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/sql/expressions/conditions.cjs +0 -92
  157. package/dist/node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare_workers-types@4.20260611.1_@electric-sql_pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/sql/expressions/conditions.mjs +0 -78
  158. package/dist/node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare_workers-types@4.20260611.1_@electric-sql_pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/sql/expressions/select.cjs +0 -11
  159. package/dist/node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare_workers-types@4.20260611.1_@electric-sql_pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/sql/expressions/select.mjs +0 -10
  160. package/dist/node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare_workers-types@4.20260611.1_@electric-sql_pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/sql/sql.cjs +0 -383
  161. package/dist/node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare_workers-types@4.20260611.1_@electric-sql_pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/sql/sql.mjs +0 -366
  162. package/dist/node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare_workers-types@4.20260611.1_@electric-sql_pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/subquery.cjs +0 -17
  163. package/dist/node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare_workers-types@4.20260611.1_@electric-sql_pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/subquery.mjs +0 -17
  164. package/dist/node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare_workers-types@4.20260611.1_@electric-sql_pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/table.cjs +0 -60
  165. package/dist/node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare_workers-types@4.20260611.1_@electric-sql_pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/table.mjs +0 -59
  166. package/dist/node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare_workers-types@4.20260611.1_@electric-sql_pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/table.utils.cjs +0 -4
  167. package/dist/node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare_workers-types@4.20260611.1_@electric-sql_pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/table.utils.mjs +0 -4
  168. package/dist/node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare_workers-types@4.20260611.1_@electric-sql_pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/tracing.cjs +0 -6
  169. package/dist/node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare_workers-types@4.20260611.1_@electric-sql_pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/tracing.mjs +0 -6
  170. package/dist/node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare_workers-types@4.20260611.1_@electric-sql_pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/view-common.cjs +0 -4
  171. package/dist/node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare_workers-types@4.20260611.1_@electric-sql_pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/view-common.mjs +0 -4
  172. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/adapters/drizzle/index.cjs +0 -383
  173. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/adapters/drizzle/index.d.cts +0 -12
  174. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/adapters/drizzle/index.d.mts +0 -12
  175. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/adapters/drizzle/index.mjs +0 -383
  176. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/adapters/kysely/index.cjs +0 -4
  177. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/adapters/kysely/index.mjs +0 -5
  178. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/adapters/prisma/index.cjs +0 -339
  179. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/adapters/prisma/index.d.cts +0 -70
  180. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/adapters/prisma/index.d.mts +0 -70
  181. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/adapters/prisma/index.mjs +0 -339
  182. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/chunk-7PZK4ONR.cjs +0 -57
  183. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/chunk-7PZK4ONR.mjs +0 -56
  184. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/chunk-C6OTUURW.cjs +0 -330
  185. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/chunk-C6OTUURW.mjs +0 -326
  186. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/chunk-CHTIKPQU.cjs +0 -166
  187. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/chunk-CHTIKPQU.mjs +0 -163
  188. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/chunk-GUE4GMNC.cjs +0 -14
  189. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/chunk-GUE4GMNC.mjs +0 -13
  190. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/chunk-LHHP6UVP.cjs +0 -24
  191. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/chunk-LHHP6UVP.mjs +0 -24
  192. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/chunk-LVCPMTAT.cjs +0 -1190
  193. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/chunk-LVCPMTAT.mjs +0 -1189
  194. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/chunk-PK2W2SQ7.cjs +0 -197
  195. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/chunk-PK2W2SQ7.mjs +0 -197
  196. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/chunk-ZEQMAIFI.cjs +0 -410
  197. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/chunk-ZEQMAIFI.mjs +0 -400
  198. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/chunk-ZOCGSAWS.cjs +0 -213
  199. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/chunk-ZOCGSAWS.mjs +0 -212
  200. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/create-tg0451Y_.d.cts +0 -285
  201. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/create-tg0451Y_.d.mts +0 -285
  202. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/index-CMqePMTF.d.cts +0 -45
  203. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/index-CMqePMTF.d.mts +0 -45
  204. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/index.cjs +0 -69
  205. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/index.d.cts +0 -49
  206. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/index.d.mts +0 -49
  207. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/index.mjs +0 -67
  208. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/query/index.d.cts +0 -156
  209. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/query/index.d.mts +0 -156
  210. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/schema/index.cjs +0 -1
  211. package/dist/node_modules/.pnpm/fumadb@0.2.2_mongodb@6.20.0_@aws-sdk_credential-providers@3.1066.0_socks@2.8.9__prisma@_ee79457f0e32f18f0beb5c2db02e4f73/node_modules/fumadb/dist/schema/index.mjs +0 -2
  212. package/dist/runtime.d.cts +0 -22
  213. package/dist/runtime.d.mts +0 -22
  214. package/src/db/ormCore.ts +0 -1059
  215. package/src/db/ormUpdateCheck.bench.ts +0 -262
  216. package/src/runtime.ts +0 -106
@@ -1,65 +0,0 @@
1
- import { __commonJSMin } from "../../../../../../../_virtual/_rolldown/runtime.mjs";
2
- import { require_sha3 } from "../../../../../@noble_hashes@1.8.0/node_modules/@noble/hashes/sha3.mjs";
3
- //#region ../../node_modules/.pnpm/@paralleldrive+cuid2@2.3.1/node_modules/@paralleldrive/cuid2/src/index.js
4
- var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5
- const { sha3_512: sha3 } = require_sha3();
6
- const defaultLength = 24;
7
- const bigLength = 32;
8
- const createEntropy = (length = 4, random = Math.random) => {
9
- let entropy = "";
10
- while (entropy.length < length) entropy = entropy + Math.floor(random() * 36).toString(36);
11
- return entropy;
12
- };
13
- function bufToBigInt(buf) {
14
- let bits = 8n;
15
- let value = 0n;
16
- for (const i of buf.values()) {
17
- const bi = BigInt(i);
18
- value = (value << bits) + bi;
19
- }
20
- return value;
21
- }
22
- const hash = (input = "") => {
23
- return bufToBigInt(sha3(input)).toString(36).slice(1);
24
- };
25
- const alphabet = Array.from({ length: 26 }, (x, i) => String.fromCharCode(i + 97));
26
- const randomLetter = (random) => alphabet[Math.floor(random() * alphabet.length)];
27
- const createFingerprint = ({ globalObj = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : {}, random = Math.random } = {}) => {
28
- const globals = Object.keys(globalObj).toString();
29
- return hash(globals.length ? globals + createEntropy(bigLength, random) : createEntropy(bigLength, random)).substring(0, bigLength);
30
- };
31
- const createCounter = (count) => () => {
32
- return count++;
33
- };
34
- const initialCountMax = 476782367;
35
- const init = ({ random = Math.random, counter = createCounter(Math.floor(random() * initialCountMax)), length = defaultLength, fingerprint = createFingerprint({ random }) } = {}) => {
36
- return function cuid2() {
37
- const firstLetter = randomLetter(random);
38
- const time = Date.now().toString(36);
39
- const count = counter().toString(36);
40
- return `${firstLetter + hash(`${time + createEntropy(length, random) + count + fingerprint}`).substring(1, length)}`;
41
- };
42
- };
43
- const createId = init();
44
- const isCuid = (id, { minLength = 2, maxLength = bigLength } = {}) => {
45
- const length = id.length;
46
- const regex = /^[0-9a-z]+$/;
47
- try {
48
- if (typeof id === "string" && length >= minLength && length <= maxLength && regex.test(id)) return true;
49
- } finally {}
50
- return false;
51
- };
52
- module.exports.getConstants = () => ({
53
- defaultLength,
54
- bigLength
55
- });
56
- module.exports.init = init;
57
- module.exports.createId = createId;
58
- module.exports.bufToBigInt = bufToBigInt;
59
- module.exports.createCounter = createCounter;
60
- module.exports.createFingerprint = createFingerprint;
61
- module.exports.isCuid = isCuid;
62
- }));
63
- //#endregion
64
- export default require_src();
65
- export { require_src };
@@ -1,52 +0,0 @@
1
- const require_entity = require("./entity.cjs");
2
- //#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260611.1_@electric-sql+pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/column.js
3
- var Column = class {
4
- constructor(table, config) {
5
- this.table = table;
6
- this.config = config;
7
- this.name = config.name;
8
- this.keyAsName = config.keyAsName;
9
- this.notNull = config.notNull;
10
- this.default = config.default;
11
- this.defaultFn = config.defaultFn;
12
- this.onUpdateFn = config.onUpdateFn;
13
- this.hasDefault = config.hasDefault;
14
- this.primary = config.primaryKey;
15
- this.isUnique = config.isUnique;
16
- this.uniqueName = config.uniqueName;
17
- this.uniqueType = config.uniqueType;
18
- this.dataType = config.dataType;
19
- this.columnType = config.columnType;
20
- this.generated = config.generated;
21
- this.generatedIdentity = config.generatedIdentity;
22
- }
23
- static [require_entity.entityKind] = "Column";
24
- name;
25
- keyAsName;
26
- primary;
27
- notNull;
28
- default;
29
- defaultFn;
30
- onUpdateFn;
31
- hasDefault;
32
- isUnique;
33
- uniqueName;
34
- uniqueType;
35
- dataType;
36
- columnType;
37
- enumValues = void 0;
38
- generated = void 0;
39
- generatedIdentity = void 0;
40
- config;
41
- mapFromDriverValue(value) {
42
- return value;
43
- }
44
- mapToDriverValue(value) {
45
- return value;
46
- }
47
- shouldDisableInsert() {
48
- return this.config.generated !== void 0 && this.config.generated.type !== "byDefault";
49
- }
50
- };
51
- //#endregion
52
- exports.Column = Column;
@@ -1,52 +0,0 @@
1
- import { entityKind } from "./entity.mjs";
2
- //#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260611.1_@electric-sql+pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/column.js
3
- var Column = class {
4
- constructor(table, config) {
5
- this.table = table;
6
- this.config = config;
7
- this.name = config.name;
8
- this.keyAsName = config.keyAsName;
9
- this.notNull = config.notNull;
10
- this.default = config.default;
11
- this.defaultFn = config.defaultFn;
12
- this.onUpdateFn = config.onUpdateFn;
13
- this.hasDefault = config.hasDefault;
14
- this.primary = config.primaryKey;
15
- this.isUnique = config.isUnique;
16
- this.uniqueName = config.uniqueName;
17
- this.uniqueType = config.uniqueType;
18
- this.dataType = config.dataType;
19
- this.columnType = config.columnType;
20
- this.generated = config.generated;
21
- this.generatedIdentity = config.generatedIdentity;
22
- }
23
- static [entityKind] = "Column";
24
- name;
25
- keyAsName;
26
- primary;
27
- notNull;
28
- default;
29
- defaultFn;
30
- onUpdateFn;
31
- hasDefault;
32
- isUnique;
33
- uniqueName;
34
- uniqueType;
35
- dataType;
36
- columnType;
37
- enumValues = void 0;
38
- generated = void 0;
39
- generatedIdentity = void 0;
40
- config;
41
- mapFromDriverValue(value) {
42
- return value;
43
- }
44
- mapToDriverValue(value) {
45
- return value;
46
- }
47
- shouldDisableInsert() {
48
- return this.config.generated !== void 0 && this.config.generated.type !== "byDefault";
49
- }
50
- };
51
- //#endregion
52
- export { Column };
@@ -1,16 +0,0 @@
1
- //#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260611.1_@electric-sql+pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/entity.js
2
- const entityKind = Symbol.for("drizzle:entityKind");
3
- function is(value, type) {
4
- if (!value || typeof value !== "object") return false;
5
- if (value instanceof type) return true;
6
- if (!Object.prototype.hasOwnProperty.call(type, entityKind)) throw new Error(`Class "${type.name ?? "<unknown>"}" doesn't look like a Drizzle entity. If this is incorrect and the class is provided by Drizzle, please report this as a bug.`);
7
- let cls = Object.getPrototypeOf(value).constructor;
8
- if (cls) while (cls) {
9
- if (entityKind in cls && cls[entityKind] === type[entityKind]) return true;
10
- cls = Object.getPrototypeOf(cls);
11
- }
12
- return false;
13
- }
14
- //#endregion
15
- exports.entityKind = entityKind;
16
- exports.is = is;
@@ -1,15 +0,0 @@
1
- //#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260611.1_@electric-sql+pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/entity.js
2
- const entityKind = Symbol.for("drizzle:entityKind");
3
- function is(value, type) {
4
- if (!value || typeof value !== "object") return false;
5
- if (value instanceof type) return true;
6
- if (!Object.prototype.hasOwnProperty.call(type, entityKind)) throw new Error(`Class "${type.name ?? "<unknown>"}" doesn't look like a Drizzle entity. If this is incorrect and the class is provided by Drizzle, please report this as a bug.`);
7
- let cls = Object.getPrototypeOf(value).constructor;
8
- if (cls) while (cls) {
9
- if (entityKind in cls && cls[entityKind] === type[entityKind]) return true;
10
- cls = Object.getPrototypeOf(cls);
11
- }
12
- return false;
13
- }
14
- //#endregion
15
- export { entityKind, is };
@@ -1,7 +0,0 @@
1
- //#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260611.1_@electric-sql+pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/pg-core/columns/enum.js
2
- const isPgEnumSym = Symbol.for("drizzle:isPgEnum");
3
- function isPgEnum(obj) {
4
- return !!obj && typeof obj === "function" && isPgEnumSym in obj && obj[isPgEnumSym] === true;
5
- }
6
- //#endregion
7
- exports.isPgEnum = isPgEnum;
@@ -1,7 +0,0 @@
1
- //#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260611.1_@electric-sql+pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/pg-core/columns/enum.js
2
- const isPgEnumSym = Symbol.for("drizzle:isPgEnum");
3
- function isPgEnum(obj) {
4
- return !!obj && typeof obj === "function" && isPgEnumSym in obj && obj[isPgEnumSym] === true;
5
- }
6
- //#endregion
7
- export { isPgEnum };
@@ -1,92 +0,0 @@
1
- const require_entity = require("../../entity.cjs");
2
- const require_column = require("../../column.cjs");
3
- const require_table = require("../../table.cjs");
4
- const require_sql = require("../sql.cjs");
5
- //#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260611.1_@electric-sql+pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/sql/expressions/conditions.js
6
- function bindIfParam(value, column) {
7
- if (require_sql.isDriverValueEncoder(column) && !require_sql.isSQLWrapper(value) && !require_entity.is(value, require_sql.Param) && !require_entity.is(value, require_sql.Placeholder) && !require_entity.is(value, require_column.Column) && !require_entity.is(value, require_table.Table) && !require_entity.is(value, require_sql.View)) return new require_sql.Param(value, column);
8
- return value;
9
- }
10
- const eq = (left, right) => {
11
- return require_sql.sql`${left} = ${bindIfParam(right, left)}`;
12
- };
13
- const ne = (left, right) => {
14
- return require_sql.sql`${left} <> ${bindIfParam(right, left)}`;
15
- };
16
- function and(...unfilteredConditions) {
17
- const conditions = unfilteredConditions.filter((c) => c !== void 0);
18
- if (conditions.length === 0) return;
19
- if (conditions.length === 1) return new require_sql.SQL(conditions);
20
- return new require_sql.SQL([
21
- new require_sql.StringChunk("("),
22
- require_sql.sql.join(conditions, new require_sql.StringChunk(" and ")),
23
- new require_sql.StringChunk(")")
24
- ]);
25
- }
26
- function or(...unfilteredConditions) {
27
- const conditions = unfilteredConditions.filter((c) => c !== void 0);
28
- if (conditions.length === 0) return;
29
- if (conditions.length === 1) return new require_sql.SQL(conditions);
30
- return new require_sql.SQL([
31
- new require_sql.StringChunk("("),
32
- require_sql.sql.join(conditions, new require_sql.StringChunk(" or ")),
33
- new require_sql.StringChunk(")")
34
- ]);
35
- }
36
- function not(condition) {
37
- return require_sql.sql`not ${condition}`;
38
- }
39
- const gt = (left, right) => {
40
- return require_sql.sql`${left} > ${bindIfParam(right, left)}`;
41
- };
42
- const gte = (left, right) => {
43
- return require_sql.sql`${left} >= ${bindIfParam(right, left)}`;
44
- };
45
- const lt = (left, right) => {
46
- return require_sql.sql`${left} < ${bindIfParam(right, left)}`;
47
- };
48
- const lte = (left, right) => {
49
- return require_sql.sql`${left} <= ${bindIfParam(right, left)}`;
50
- };
51
- function inArray(column, values) {
52
- if (Array.isArray(values)) {
53
- if (values.length === 0) return require_sql.sql`false`;
54
- return require_sql.sql`${column} in ${values.map((v) => bindIfParam(v, column))}`;
55
- }
56
- return require_sql.sql`${column} in ${bindIfParam(values, column)}`;
57
- }
58
- function notInArray(column, values) {
59
- if (Array.isArray(values)) {
60
- if (values.length === 0) return require_sql.sql`true`;
61
- return require_sql.sql`${column} not in ${values.map((v) => bindIfParam(v, column))}`;
62
- }
63
- return require_sql.sql`${column} not in ${bindIfParam(values, column)}`;
64
- }
65
- function isNull(value) {
66
- return require_sql.sql`${value} is null`;
67
- }
68
- function isNotNull(value) {
69
- return require_sql.sql`${value} is not null`;
70
- }
71
- function like(column, value) {
72
- return require_sql.sql`${column} like ${value}`;
73
- }
74
- function notLike(column, value) {
75
- return require_sql.sql`${column} not like ${value}`;
76
- }
77
- //#endregion
78
- exports.and = and;
79
- exports.eq = eq;
80
- exports.gt = gt;
81
- exports.gte = gte;
82
- exports.inArray = inArray;
83
- exports.isNotNull = isNotNull;
84
- exports.isNull = isNull;
85
- exports.like = like;
86
- exports.lt = lt;
87
- exports.lte = lte;
88
- exports.ne = ne;
89
- exports.not = not;
90
- exports.notInArray = notInArray;
91
- exports.notLike = notLike;
92
- exports.or = or;
@@ -1,78 +0,0 @@
1
- import { is } from "../../entity.mjs";
2
- import { Column } from "../../column.mjs";
3
- import { Table } from "../../table.mjs";
4
- import { Param, Placeholder, SQL, StringChunk, View, isDriverValueEncoder, isSQLWrapper, sql } from "../sql.mjs";
5
- //#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260611.1_@electric-sql+pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/sql/expressions/conditions.js
6
- function bindIfParam(value, column) {
7
- if (isDriverValueEncoder(column) && !isSQLWrapper(value) && !is(value, Param) && !is(value, Placeholder) && !is(value, Column) && !is(value, Table) && !is(value, View)) return new Param(value, column);
8
- return value;
9
- }
10
- const eq = (left, right) => {
11
- return sql`${left} = ${bindIfParam(right, left)}`;
12
- };
13
- const ne = (left, right) => {
14
- return sql`${left} <> ${bindIfParam(right, left)}`;
15
- };
16
- function and(...unfilteredConditions) {
17
- const conditions = unfilteredConditions.filter((c) => c !== void 0);
18
- if (conditions.length === 0) return;
19
- if (conditions.length === 1) return new SQL(conditions);
20
- return new SQL([
21
- new StringChunk("("),
22
- sql.join(conditions, new StringChunk(" and ")),
23
- new StringChunk(")")
24
- ]);
25
- }
26
- function or(...unfilteredConditions) {
27
- const conditions = unfilteredConditions.filter((c) => c !== void 0);
28
- if (conditions.length === 0) return;
29
- if (conditions.length === 1) return new SQL(conditions);
30
- return new SQL([
31
- new StringChunk("("),
32
- sql.join(conditions, new StringChunk(" or ")),
33
- new StringChunk(")")
34
- ]);
35
- }
36
- function not(condition) {
37
- return sql`not ${condition}`;
38
- }
39
- const gt = (left, right) => {
40
- return sql`${left} > ${bindIfParam(right, left)}`;
41
- };
42
- const gte = (left, right) => {
43
- return sql`${left} >= ${bindIfParam(right, left)}`;
44
- };
45
- const lt = (left, right) => {
46
- return sql`${left} < ${bindIfParam(right, left)}`;
47
- };
48
- const lte = (left, right) => {
49
- return sql`${left} <= ${bindIfParam(right, left)}`;
50
- };
51
- function inArray(column, values) {
52
- if (Array.isArray(values)) {
53
- if (values.length === 0) return sql`false`;
54
- return sql`${column} in ${values.map((v) => bindIfParam(v, column))}`;
55
- }
56
- return sql`${column} in ${bindIfParam(values, column)}`;
57
- }
58
- function notInArray(column, values) {
59
- if (Array.isArray(values)) {
60
- if (values.length === 0) return sql`true`;
61
- return sql`${column} not in ${values.map((v) => bindIfParam(v, column))}`;
62
- }
63
- return sql`${column} not in ${bindIfParam(values, column)}`;
64
- }
65
- function isNull(value) {
66
- return sql`${value} is null`;
67
- }
68
- function isNotNull(value) {
69
- return sql`${value} is not null`;
70
- }
71
- function like(column, value) {
72
- return sql`${column} like ${value}`;
73
- }
74
- function notLike(column, value) {
75
- return sql`${column} not like ${value}`;
76
- }
77
- //#endregion
78
- export { and, eq, gt, gte, inArray, isNotNull, isNull, like, lt, lte, ne, not, notInArray, notLike, or };
@@ -1,11 +0,0 @@
1
- const require_sql = require("../sql.cjs");
2
- //#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260611.1_@electric-sql+pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/sql/expressions/select.js
3
- function asc(column) {
4
- return require_sql.sql`${column} asc`;
5
- }
6
- function desc(column) {
7
- return require_sql.sql`${column} desc`;
8
- }
9
- //#endregion
10
- exports.asc = asc;
11
- exports.desc = desc;
@@ -1,10 +0,0 @@
1
- import { sql } from "../sql.mjs";
2
- //#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260611.1_@electric-sql+pglite@0.4.1_@l_601a3995dfc55b0b7fac93cbe1e76579/node_modules/drizzle-orm/sql/expressions/select.js
3
- function asc(column) {
4
- return sql`${column} asc`;
5
- }
6
- function desc(column) {
7
- return sql`${column} desc`;
8
- }
9
- //#endregion
10
- export { asc, desc };