@donkeylabs/server 0.2.9 → 0.2.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 (1717) hide show
  1. package/cli/commands/generate.ts +4 -4
  2. package/examples/starter/.@donkeylabs/server/client.ts +18 -0
  3. package/examples/starter/bun.lock +126 -2
  4. package/examples/starter/node_modules/@babel/code-frame/LICENSE +22 -0
  5. package/examples/starter/node_modules/@babel/code-frame/README.md +19 -0
  6. package/examples/starter/node_modules/@babel/code-frame/lib/index.js +216 -0
  7. package/examples/starter/node_modules/@babel/code-frame/lib/index.js.map +1 -0
  8. package/examples/starter/node_modules/@babel/code-frame/package.json +32 -0
  9. package/examples/starter/node_modules/@babel/helper-validator-identifier/LICENSE +22 -0
  10. package/examples/starter/node_modules/@babel/helper-validator-identifier/README.md +19 -0
  11. package/examples/starter/node_modules/@babel/helper-validator-identifier/lib/identifier.js +70 -0
  12. package/examples/starter/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
  13. package/examples/starter/node_modules/@babel/helper-validator-identifier/lib/index.js +57 -0
  14. package/examples/starter/node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
  15. package/examples/starter/node_modules/@babel/helper-validator-identifier/lib/keyword.js +35 -0
  16. package/examples/starter/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
  17. package/examples/starter/node_modules/@babel/helper-validator-identifier/package.json +31 -0
  18. package/examples/starter/node_modules/@types/prompts/LICENSE +21 -0
  19. package/examples/starter/node_modules/@types/prompts/README.md +15 -0
  20. package/examples/starter/node_modules/@types/prompts/index.d.ts +123 -0
  21. package/examples/starter/node_modules/@types/prompts/package.json +58 -0
  22. package/examples/starter/node_modules/ansi-styles/index.d.ts +345 -0
  23. package/examples/starter/node_modules/ansi-styles/index.js +163 -0
  24. package/examples/starter/node_modules/ansi-styles/license +9 -0
  25. package/examples/starter/node_modules/ansi-styles/package.json +56 -0
  26. package/examples/starter/node_modules/ansi-styles/readme.md +152 -0
  27. package/examples/starter/node_modules/argparse/CHANGELOG.md +216 -0
  28. package/examples/starter/node_modules/argparse/LICENSE +254 -0
  29. package/examples/starter/node_modules/argparse/README.md +84 -0
  30. package/examples/starter/node_modules/argparse/argparse.js +3707 -0
  31. package/examples/starter/node_modules/argparse/lib/sub.js +67 -0
  32. package/examples/starter/node_modules/argparse/lib/textwrap.js +440 -0
  33. package/examples/starter/node_modules/argparse/package.json +31 -0
  34. package/examples/starter/node_modules/balanced-match/.github/FUNDING.yml +2 -0
  35. package/examples/starter/node_modules/balanced-match/LICENSE.md +21 -0
  36. package/examples/starter/node_modules/balanced-match/README.md +97 -0
  37. package/examples/starter/node_modules/balanced-match/index.js +62 -0
  38. package/examples/starter/node_modules/balanced-match/package.json +48 -0
  39. package/examples/starter/node_modules/brace-expansion/LICENSE +21 -0
  40. package/examples/starter/node_modules/brace-expansion/README.md +129 -0
  41. package/examples/starter/node_modules/brace-expansion/index.js +201 -0
  42. package/examples/starter/node_modules/brace-expansion/package.json +50 -0
  43. package/examples/starter/node_modules/braces/LICENSE +21 -0
  44. package/examples/starter/node_modules/braces/README.md +586 -0
  45. package/examples/starter/node_modules/braces/index.js +170 -0
  46. package/examples/starter/node_modules/braces/lib/compile.js +60 -0
  47. package/examples/starter/node_modules/braces/lib/constants.js +57 -0
  48. package/examples/starter/node_modules/braces/lib/expand.js +113 -0
  49. package/examples/starter/node_modules/braces/lib/parse.js +331 -0
  50. package/examples/starter/node_modules/braces/lib/stringify.js +32 -0
  51. package/examples/starter/node_modules/braces/lib/utils.js +122 -0
  52. package/examples/starter/node_modules/braces/package.json +77 -0
  53. package/examples/starter/node_modules/callsites/index.d.ts +96 -0
  54. package/examples/starter/node_modules/callsites/index.js +13 -0
  55. package/examples/starter/node_modules/callsites/license +9 -0
  56. package/examples/starter/node_modules/callsites/package.json +39 -0
  57. package/examples/starter/node_modules/callsites/readme.md +48 -0
  58. package/examples/starter/node_modules/chalk/index.d.ts +415 -0
  59. package/examples/starter/node_modules/chalk/license +9 -0
  60. package/examples/starter/node_modules/chalk/package.json +68 -0
  61. package/examples/starter/node_modules/chalk/readme.md +341 -0
  62. package/examples/starter/node_modules/chalk/source/index.js +229 -0
  63. package/examples/starter/node_modules/chalk/source/templates.js +134 -0
  64. package/examples/starter/node_modules/chalk/source/util.js +39 -0
  65. package/examples/starter/node_modules/color-convert/CHANGELOG.md +54 -0
  66. package/examples/starter/node_modules/color-convert/LICENSE +21 -0
  67. package/examples/starter/node_modules/color-convert/README.md +68 -0
  68. package/examples/starter/node_modules/color-convert/conversions.js +839 -0
  69. package/examples/starter/node_modules/color-convert/index.js +81 -0
  70. package/examples/starter/node_modules/color-convert/package.json +48 -0
  71. package/examples/starter/node_modules/color-convert/route.js +97 -0
  72. package/examples/starter/node_modules/color-name/LICENSE +8 -0
  73. package/examples/starter/node_modules/color-name/README.md +11 -0
  74. package/examples/starter/node_modules/color-name/index.js +152 -0
  75. package/examples/starter/node_modules/color-name/package.json +28 -0
  76. package/examples/starter/node_modules/concat-map/.travis.yml +4 -0
  77. package/examples/starter/node_modules/concat-map/LICENSE +18 -0
  78. package/examples/starter/node_modules/concat-map/README.markdown +62 -0
  79. package/examples/starter/node_modules/concat-map/example/map.js +6 -0
  80. package/examples/starter/node_modules/concat-map/index.js +13 -0
  81. package/examples/starter/node_modules/concat-map/package.json +43 -0
  82. package/examples/starter/node_modules/concat-map/test/map.js +39 -0
  83. package/examples/starter/node_modules/cosmiconfig/LICENSE +22 -0
  84. package/examples/starter/node_modules/cosmiconfig/README.md +782 -0
  85. package/examples/starter/node_modules/cosmiconfig/dist/Explorer.d.ts +2 -0
  86. package/examples/starter/node_modules/cosmiconfig/dist/Explorer.d.ts.map +1 -0
  87. package/examples/starter/node_modules/cosmiconfig/dist/Explorer.js +170 -0
  88. package/examples/starter/node_modules/cosmiconfig/dist/Explorer.js.map +1 -0
  89. package/examples/starter/node_modules/cosmiconfig/dist/ExplorerBase.d.ts +2 -0
  90. package/examples/starter/node_modules/cosmiconfig/dist/ExplorerBase.d.ts.map +1 -0
  91. package/examples/starter/node_modules/cosmiconfig/dist/ExplorerBase.js +126 -0
  92. package/examples/starter/node_modules/cosmiconfig/dist/ExplorerBase.js.map +1 -0
  93. package/examples/starter/node_modules/cosmiconfig/dist/ExplorerSync.d.ts +2 -0
  94. package/examples/starter/node_modules/cosmiconfig/dist/ExplorerSync.d.ts.map +1 -0
  95. package/examples/starter/node_modules/cosmiconfig/dist/ExplorerSync.js +184 -0
  96. package/examples/starter/node_modules/cosmiconfig/dist/ExplorerSync.js.map +1 -0
  97. package/examples/starter/node_modules/cosmiconfig/dist/cacheWrapper.d.ts +5 -0
  98. package/examples/starter/node_modules/cosmiconfig/dist/cacheWrapper.d.ts.map +1 -0
  99. package/examples/starter/node_modules/cosmiconfig/dist/cacheWrapper.js +32 -0
  100. package/examples/starter/node_modules/cosmiconfig/dist/cacheWrapper.js.map +1 -0
  101. package/examples/starter/node_modules/cosmiconfig/dist/canUseDynamicImport.d.ts +3 -0
  102. package/examples/starter/node_modules/cosmiconfig/dist/canUseDynamicImport.d.ts.map +1 -0
  103. package/examples/starter/node_modules/cosmiconfig/dist/canUseDynamicImport.js +23 -0
  104. package/examples/starter/node_modules/cosmiconfig/dist/canUseDynamicImport.js.map +1 -0
  105. package/examples/starter/node_modules/cosmiconfig/dist/defaults.d.ts +25 -0
  106. package/examples/starter/node_modules/cosmiconfig/dist/defaults.d.ts.map +1 -0
  107. package/examples/starter/node_modules/cosmiconfig/dist/defaults.js +105 -0
  108. package/examples/starter/node_modules/cosmiconfig/dist/defaults.js.map +1 -0
  109. package/examples/starter/node_modules/cosmiconfig/dist/getDirectory.d.ts +4 -0
  110. package/examples/starter/node_modules/cosmiconfig/dist/getDirectory.d.ts.map +1 -0
  111. package/examples/starter/node_modules/cosmiconfig/dist/getDirectory.js +38 -0
  112. package/examples/starter/node_modules/cosmiconfig/dist/getDirectory.js.map +1 -0
  113. package/examples/starter/node_modules/cosmiconfig/dist/getPropertyByPath.d.ts +5 -0
  114. package/examples/starter/node_modules/cosmiconfig/dist/getPropertyByPath.d.ts.map +1 -0
  115. package/examples/starter/node_modules/cosmiconfig/dist/getPropertyByPath.js +28 -0
  116. package/examples/starter/node_modules/cosmiconfig/dist/getPropertyByPath.js.map +1 -0
  117. package/examples/starter/node_modules/cosmiconfig/dist/index.d.ts +6 -0
  118. package/examples/starter/node_modules/cosmiconfig/dist/index.d.ts.map +1 -0
  119. package/examples/starter/node_modules/cosmiconfig/dist/index.js +148 -0
  120. package/examples/starter/node_modules/cosmiconfig/dist/index.js.map +1 -0
  121. package/examples/starter/node_modules/cosmiconfig/dist/loaders.d.ts +8 -0
  122. package/examples/starter/node_modules/cosmiconfig/dist/loaders.d.ts.map +1 -0
  123. package/examples/starter/node_modules/cosmiconfig/dist/loaders.js +148 -0
  124. package/examples/starter/node_modules/cosmiconfig/dist/loaders.js.map +1 -0
  125. package/examples/starter/node_modules/cosmiconfig/dist/merge.d.ts +9 -0
  126. package/examples/starter/node_modules/cosmiconfig/dist/merge.d.ts.map +1 -0
  127. package/examples/starter/node_modules/cosmiconfig/dist/merge.js +40 -0
  128. package/examples/starter/node_modules/cosmiconfig/dist/merge.js.map +1 -0
  129. package/examples/starter/node_modules/cosmiconfig/dist/readFile.d.ts +7 -0
  130. package/examples/starter/node_modules/cosmiconfig/dist/readFile.d.ts.map +1 -0
  131. package/examples/starter/node_modules/cosmiconfig/dist/readFile.js +56 -0
  132. package/examples/starter/node_modules/cosmiconfig/dist/readFile.js.map +1 -0
  133. package/examples/starter/node_modules/cosmiconfig/dist/types.d.ts +98 -0
  134. package/examples/starter/node_modules/cosmiconfig/dist/types.d.ts.map +1 -0
  135. package/examples/starter/node_modules/cosmiconfig/dist/types.js +3 -0
  136. package/examples/starter/node_modules/cosmiconfig/dist/types.js.map +1 -0
  137. package/examples/starter/node_modules/cosmiconfig/dist/util.d.ts +2 -0
  138. package/examples/starter/node_modules/cosmiconfig/dist/util.d.ts.map +1 -0
  139. package/examples/starter/node_modules/cosmiconfig/dist/util.js +99 -0
  140. package/examples/starter/node_modules/cosmiconfig/dist/util.js.map +1 -0
  141. package/examples/starter/node_modules/cosmiconfig/package.json +102 -0
  142. package/examples/starter/node_modules/diff/CONTRIBUTING.md +39 -0
  143. package/examples/starter/node_modules/diff/LICENSE +31 -0
  144. package/examples/starter/node_modules/diff/README.md +211 -0
  145. package/examples/starter/node_modules/diff/dist/diff.js +1843 -0
  146. package/examples/starter/node_modules/diff/dist/diff.min.js +416 -0
  147. package/examples/starter/node_modules/diff/lib/convert/dmp.js +24 -0
  148. package/examples/starter/node_modules/diff/lib/convert/xml.js +35 -0
  149. package/examples/starter/node_modules/diff/lib/diff/array.js +24 -0
  150. package/examples/starter/node_modules/diff/lib/diff/base.js +235 -0
  151. package/examples/starter/node_modules/diff/lib/diff/character.js +17 -0
  152. package/examples/starter/node_modules/diff/lib/diff/css.js +21 -0
  153. package/examples/starter/node_modules/diff/lib/diff/json.js +108 -0
  154. package/examples/starter/node_modules/diff/lib/diff/line.js +50 -0
  155. package/examples/starter/node_modules/diff/lib/diff/sentence.js +21 -0
  156. package/examples/starter/node_modules/diff/lib/diff/word.js +70 -0
  157. package/examples/starter/node_modules/diff/lib/index.js +74 -0
  158. package/examples/starter/node_modules/diff/lib/patch/apply.js +180 -0
  159. package/examples/starter/node_modules/diff/lib/patch/create.js +148 -0
  160. package/examples/starter/node_modules/diff/lib/patch/merge.js +396 -0
  161. package/examples/starter/node_modules/diff/lib/patch/parse.js +147 -0
  162. package/examples/starter/node_modules/diff/lib/util/array.js +27 -0
  163. package/examples/starter/node_modules/diff/lib/util/distance-iterator.js +47 -0
  164. package/examples/starter/node_modules/diff/lib/util/params.js +18 -0
  165. package/examples/starter/node_modules/diff/package.json +67 -0
  166. package/examples/starter/node_modules/diff/release-notes.md +247 -0
  167. package/examples/starter/node_modules/diff/runtime.js +3 -0
  168. package/examples/starter/node_modules/diff/yarn.lock +5729 -0
  169. package/examples/starter/node_modules/dotenv/CHANGELOG.md +598 -0
  170. package/examples/starter/node_modules/dotenv/LICENSE +23 -0
  171. package/examples/starter/node_modules/dotenv/README-es.md +405 -0
  172. package/examples/starter/node_modules/dotenv/README.md +692 -0
  173. package/examples/starter/node_modules/dotenv/SECURITY.md +1 -0
  174. package/examples/starter/node_modules/dotenv/config.d.ts +1 -0
  175. package/examples/starter/node_modules/dotenv/config.js +9 -0
  176. package/examples/starter/node_modules/dotenv/lib/cli-options.js +17 -0
  177. package/examples/starter/node_modules/dotenv/lib/env-options.js +28 -0
  178. package/examples/starter/node_modules/dotenv/lib/main.d.ts +179 -0
  179. package/examples/starter/node_modules/dotenv/lib/main.js +434 -0
  180. package/examples/starter/node_modules/dotenv/package.json +62 -0
  181. package/examples/starter/node_modules/dotenv-expand/CHANGELOG.md +177 -0
  182. package/examples/starter/node_modules/dotenv-expand/LICENSE +24 -0
  183. package/examples/starter/node_modules/dotenv-expand/README.md +174 -0
  184. package/examples/starter/node_modules/dotenv-expand/config.d.ts +1 -0
  185. package/examples/starter/node_modules/dotenv-expand/config.js +13 -0
  186. package/examples/starter/node_modules/dotenv-expand/lib/main.d.ts +50 -0
  187. package/examples/starter/node_modules/dotenv-expand/lib/main.js +98 -0
  188. package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/CHANGELOG.md +520 -0
  189. package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/LICENSE +23 -0
  190. package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/README-es.md +411 -0
  191. package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/README.md +645 -0
  192. package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/SECURITY.md +1 -0
  193. package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/config.d.ts +1 -0
  194. package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/config.js +9 -0
  195. package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/lib/cli-options.js +17 -0
  196. package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/lib/env-options.js +28 -0
  197. package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/lib/main.d.ts +162 -0
  198. package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/lib/main.js +386 -0
  199. package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/package.json +62 -0
  200. package/examples/starter/node_modules/dotenv-expand/package.json +56 -0
  201. package/examples/starter/node_modules/env-paths/index.d.ts +101 -0
  202. package/examples/starter/node_modules/env-paths/index.js +74 -0
  203. package/examples/starter/node_modules/env-paths/license +9 -0
  204. package/examples/starter/node_modules/env-paths/package.json +45 -0
  205. package/examples/starter/node_modules/env-paths/readme.md +115 -0
  206. package/examples/starter/node_modules/error-ex/LICENSE +21 -0
  207. package/examples/starter/node_modules/error-ex/README.md +144 -0
  208. package/examples/starter/node_modules/error-ex/index.js +141 -0
  209. package/examples/starter/node_modules/error-ex/package.json +46 -0
  210. package/examples/starter/node_modules/escape-string-regexp/index.js +11 -0
  211. package/examples/starter/node_modules/escape-string-regexp/license +21 -0
  212. package/examples/starter/node_modules/escape-string-regexp/package.json +41 -0
  213. package/examples/starter/node_modules/escape-string-regexp/readme.md +27 -0
  214. package/examples/starter/node_modules/fill-range/LICENSE +21 -0
  215. package/examples/starter/node_modules/fill-range/README.md +237 -0
  216. package/examples/starter/node_modules/fill-range/index.js +248 -0
  217. package/examples/starter/node_modules/fill-range/package.json +74 -0
  218. package/examples/starter/node_modules/fs.realpath/LICENSE +43 -0
  219. package/examples/starter/node_modules/fs.realpath/README.md +33 -0
  220. package/examples/starter/node_modules/fs.realpath/index.js +66 -0
  221. package/examples/starter/node_modules/fs.realpath/old.js +303 -0
  222. package/examples/starter/node_modules/fs.realpath/package.json +26 -0
  223. package/examples/starter/node_modules/git-diff/.editorconfig +10 -0
  224. package/examples/starter/node_modules/git-diff/.eslintrc.json +42 -0
  225. package/examples/starter/node_modules/git-diff/.travis.yml +9 -0
  226. package/examples/starter/node_modules/git-diff/LICENSE.md +24 -0
  227. package/examples/starter/node_modules/git-diff/README.md +218 -0
  228. package/examples/starter/node_modules/git-diff/appveyor.yml +17 -0
  229. package/examples/starter/node_modules/git-diff/async.js +14 -0
  230. package/examples/starter/node_modules/git-diff/config.js +8 -0
  231. package/examples/starter/node_modules/git-diff/diffs.png +0 -0
  232. package/examples/starter/node_modules/git-diff/js/_shared/defaultOptions.js +10 -0
  233. package/examples/starter/node_modules/git-diff/js/gitDiffFake/color.js +14 -0
  234. package/examples/starter/node_modules/git-diff/js/gitDiffFake/index.js +10 -0
  235. package/examples/starter/node_modules/git-diff/js/gitDiffFake/index.spec.js +74 -0
  236. package/examples/starter/node_modules/git-diff/js/gitDiffFake/lineDiffFake/index.js +56 -0
  237. package/examples/starter/node_modules/git-diff/js/gitDiffFake/mostCommonLineEnding.js +21 -0
  238. package/examples/starter/node_modules/git-diff/js/gitDiffFake/wordDiffFake/index.js +44 -0
  239. package/examples/starter/node_modules/git-diff/js/gitDiffReal/bugFixes.spec.js +25 -0
  240. package/examples/starter/node_modules/git-diff/js/gitDiffReal/generateDiff/index.js +105 -0
  241. package/examples/starter/node_modules/git-diff/js/gitDiffReal/generateDiffNoRepo/index.js +27 -0
  242. package/examples/starter/node_modules/git-diff/js/gitDiffReal/index.js +16 -0
  243. package/examples/starter/node_modules/git-diff/js/gitDiffReal/index.spec.js +222 -0
  244. package/examples/starter/node_modules/git-diff/js/gitDiffReal/keepIt.js +40 -0
  245. package/examples/starter/node_modules/git-diff/js/normaliseOptions/index.js +63 -0
  246. package/examples/starter/node_modules/git-diff/js/normaliseOptions/index.spec.js +93 -0
  247. package/examples/starter/node_modules/git-diff/js/validate/index.js +11 -0
  248. package/examples/starter/node_modules/git-diff/js/validate/index.spec.js +30 -0
  249. package/examples/starter/node_modules/git-diff/node_modules/chalk/index.js +228 -0
  250. package/examples/starter/node_modules/git-diff/node_modules/chalk/index.js.flow +93 -0
  251. package/examples/starter/node_modules/git-diff/node_modules/chalk/license +9 -0
  252. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/index.js +165 -0
  253. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/license +9 -0
  254. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/CHANGELOG.md +54 -0
  255. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/LICENSE +21 -0
  256. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/README.md +68 -0
  257. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/conversions.js +868 -0
  258. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/index.js +78 -0
  259. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/node_modules/color-name/.eslintrc.json +43 -0
  260. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/node_modules/color-name/LICENSE +8 -0
  261. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/node_modules/color-name/README.md +11 -0
  262. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/node_modules/color-name/index.js +152 -0
  263. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/node_modules/color-name/package.json +25 -0
  264. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/node_modules/color-name/test.js +7 -0
  265. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/package.json +46 -0
  266. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/route.js +97 -0
  267. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/package.json +56 -0
  268. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/readme.md +147 -0
  269. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/browser.js +5 -0
  270. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/index.js +131 -0
  271. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/license +9 -0
  272. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/index.js +8 -0
  273. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/license +9 -0
  274. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/package.json +44 -0
  275. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/readme.md +70 -0
  276. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/package.json +53 -0
  277. package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/readme.md +66 -0
  278. package/examples/starter/node_modules/git-diff/node_modules/chalk/package.json +71 -0
  279. package/examples/starter/node_modules/git-diff/node_modules/chalk/readme.md +314 -0
  280. package/examples/starter/node_modules/git-diff/node_modules/chalk/templates.js +128 -0
  281. package/examples/starter/node_modules/git-diff/node_modules/chalk/types/index.d.ts +97 -0
  282. package/examples/starter/node_modules/git-diff/package.json +75 -0
  283. package/examples/starter/node_modules/git-diff/server.bootstrap.js +4 -0
  284. package/examples/starter/node_modules/git-diff/sync.js +24 -0
  285. package/examples/starter/node_modules/git-diff/test/_js/testImports.js +31 -0
  286. package/examples/starter/node_modules/git-diff/test/data/index.js +29 -0
  287. package/examples/starter/node_modules/git-diff/test/data/lineDiffVim.txt +13 -0
  288. package/examples/starter/node_modules/git-diff/test/data/shortstatReal.txt +1 -0
  289. package/examples/starter/node_modules/git-diff/test/data/str1.txt +9 -0
  290. package/examples/starter/node_modules/git-diff/test/data/str2.txt +9 -0
  291. package/examples/starter/node_modules/git-diff/test/data/wordDiffFake.txt +10 -0
  292. package/examples/starter/node_modules/git-diff/test/data/wordDiffReal.txt +10 -0
  293. package/examples/starter/node_modules/git-diff/test/examples/examples.spec.js +105 -0
  294. package/examples/starter/node_modules/git-diff/test/examples/newStr.txt +9 -0
  295. package/examples/starter/node_modules/git-diff/test/examples/oldStr.txt +9 -0
  296. package/examples/starter/node_modules/git-diff/test/gitDiffAsync/gitDiffAsync.spec.js +50 -0
  297. package/examples/starter/node_modules/git-diff/test/gitDiffSync/fake.spec.js +126 -0
  298. package/examples/starter/node_modules/git-diff/test/gitDiffSync/misc.spec.js +62 -0
  299. package/examples/starter/node_modules/git-diff/test/gitDiffSync/real.spec.js +206 -0
  300. package/examples/starter/node_modules/git-diff/test/mocha.opts +8 -0
  301. package/examples/starter/node_modules/git-diff/test/test.bootstrap.js +1 -0
  302. package/examples/starter/node_modules/git-diff/top.png +0 -0
  303. package/examples/starter/node_modules/git-diff/yarn.lock +1829 -0
  304. package/examples/starter/node_modules/glob/LICENSE +21 -0
  305. package/examples/starter/node_modules/glob/README.md +378 -0
  306. package/examples/starter/node_modules/glob/common.js +238 -0
  307. package/examples/starter/node_modules/glob/glob.js +790 -0
  308. package/examples/starter/node_modules/glob/package.json +55 -0
  309. package/examples/starter/node_modules/glob/sync.js +486 -0
  310. package/examples/starter/node_modules/has-flag/index.d.ts +39 -0
  311. package/examples/starter/node_modules/has-flag/index.js +8 -0
  312. package/examples/starter/node_modules/has-flag/license +9 -0
  313. package/examples/starter/node_modules/has-flag/package.json +46 -0
  314. package/examples/starter/node_modules/has-flag/readme.md +89 -0
  315. package/examples/starter/node_modules/import-fresh/index.d.ts +30 -0
  316. package/examples/starter/node_modules/import-fresh/index.js +34 -0
  317. package/examples/starter/node_modules/import-fresh/license +9 -0
  318. package/examples/starter/node_modules/import-fresh/package.json +48 -0
  319. package/examples/starter/node_modules/import-fresh/readme.md +54 -0
  320. package/examples/starter/node_modules/inflight/LICENSE +15 -0
  321. package/examples/starter/node_modules/inflight/README.md +37 -0
  322. package/examples/starter/node_modules/inflight/inflight.js +54 -0
  323. package/examples/starter/node_modules/inflight/package.json +29 -0
  324. package/examples/starter/node_modules/interpret/CHANGELOG +115 -0
  325. package/examples/starter/node_modules/interpret/LICENSE +22 -0
  326. package/examples/starter/node_modules/interpret/README.md +187 -0
  327. package/examples/starter/node_modules/interpret/index.js +168 -0
  328. package/examples/starter/node_modules/interpret/mjs-stub.js +1 -0
  329. package/examples/starter/node_modules/interpret/package.json +75 -0
  330. package/examples/starter/node_modules/is-arrayish/.editorconfig +18 -0
  331. package/examples/starter/node_modules/is-arrayish/.istanbul.yml +4 -0
  332. package/examples/starter/node_modules/is-arrayish/.travis.yml +17 -0
  333. package/examples/starter/node_modules/is-arrayish/LICENSE +21 -0
  334. package/examples/starter/node_modules/is-arrayish/README.md +16 -0
  335. package/examples/starter/node_modules/is-arrayish/index.js +10 -0
  336. package/examples/starter/node_modules/is-arrayish/package.json +34 -0
  337. package/examples/starter/node_modules/is-core-module/.eslintrc +18 -0
  338. package/examples/starter/node_modules/is-core-module/.nycrc +9 -0
  339. package/examples/starter/node_modules/is-core-module/CHANGELOG.md +218 -0
  340. package/examples/starter/node_modules/is-core-module/LICENSE +20 -0
  341. package/examples/starter/node_modules/is-core-module/README.md +40 -0
  342. package/examples/starter/node_modules/is-core-module/core.json +162 -0
  343. package/examples/starter/node_modules/is-core-module/index.js +69 -0
  344. package/examples/starter/node_modules/is-core-module/package.json +76 -0
  345. package/examples/starter/node_modules/is-core-module/test/index.js +157 -0
  346. package/examples/starter/node_modules/is-number/LICENSE +21 -0
  347. package/examples/starter/node_modules/is-number/README.md +187 -0
  348. package/examples/starter/node_modules/is-number/index.js +18 -0
  349. package/examples/starter/node_modules/is-number/package.json +82 -0
  350. package/examples/starter/node_modules/js-tokens/CHANGELOG.md +151 -0
  351. package/examples/starter/node_modules/js-tokens/LICENSE +21 -0
  352. package/examples/starter/node_modules/js-tokens/README.md +240 -0
  353. package/examples/starter/node_modules/js-tokens/index.js +23 -0
  354. package/examples/starter/node_modules/js-tokens/package.json +30 -0
  355. package/examples/starter/node_modules/js-yaml/LICENSE +21 -0
  356. package/examples/starter/node_modules/js-yaml/README.md +247 -0
  357. package/examples/starter/node_modules/js-yaml/bin/js-yaml.js +126 -0
  358. package/examples/starter/node_modules/js-yaml/dist/js-yaml.js +3880 -0
  359. package/examples/starter/node_modules/js-yaml/dist/js-yaml.min.js +2 -0
  360. package/examples/starter/node_modules/js-yaml/dist/js-yaml.mjs +3856 -0
  361. package/examples/starter/node_modules/js-yaml/index.js +47 -0
  362. package/examples/starter/node_modules/js-yaml/lib/common.js +59 -0
  363. package/examples/starter/node_modules/js-yaml/lib/dumper.js +965 -0
  364. package/examples/starter/node_modules/js-yaml/lib/exception.js +55 -0
  365. package/examples/starter/node_modules/js-yaml/lib/loader.js +1733 -0
  366. package/examples/starter/node_modules/js-yaml/lib/schema/core.js +11 -0
  367. package/examples/starter/node_modules/js-yaml/lib/schema/default.js +22 -0
  368. package/examples/starter/node_modules/js-yaml/lib/schema/failsafe.js +17 -0
  369. package/examples/starter/node_modules/js-yaml/lib/schema/json.js +19 -0
  370. package/examples/starter/node_modules/js-yaml/lib/schema.js +121 -0
  371. package/examples/starter/node_modules/js-yaml/lib/snippet.js +101 -0
  372. package/examples/starter/node_modules/js-yaml/lib/type/binary.js +125 -0
  373. package/examples/starter/node_modules/js-yaml/lib/type/bool.js +35 -0
  374. package/examples/starter/node_modules/js-yaml/lib/type/float.js +97 -0
  375. package/examples/starter/node_modules/js-yaml/lib/type/int.js +156 -0
  376. package/examples/starter/node_modules/js-yaml/lib/type/map.js +8 -0
  377. package/examples/starter/node_modules/js-yaml/lib/type/merge.js +12 -0
  378. package/examples/starter/node_modules/js-yaml/lib/type/null.js +35 -0
  379. package/examples/starter/node_modules/js-yaml/lib/type/omap.js +44 -0
  380. package/examples/starter/node_modules/js-yaml/lib/type/pairs.js +53 -0
  381. package/examples/starter/node_modules/js-yaml/lib/type/seq.js +8 -0
  382. package/examples/starter/node_modules/js-yaml/lib/type/set.js +29 -0
  383. package/examples/starter/node_modules/js-yaml/lib/type/str.js +8 -0
  384. package/examples/starter/node_modules/js-yaml/lib/type/timestamp.js +88 -0
  385. package/examples/starter/node_modules/js-yaml/lib/type.js +66 -0
  386. package/examples/starter/node_modules/js-yaml/package.json +66 -0
  387. package/examples/starter/node_modules/json-parse-even-better-errors/CHANGELOG.md +50 -0
  388. package/examples/starter/node_modules/json-parse-even-better-errors/LICENSE.md +25 -0
  389. package/examples/starter/node_modules/json-parse-even-better-errors/README.md +96 -0
  390. package/examples/starter/node_modules/json-parse-even-better-errors/index.js +121 -0
  391. package/examples/starter/node_modules/json-parse-even-better-errors/package.json +33 -0
  392. package/examples/starter/node_modules/kysely-codegen/.cspell.json +97 -0
  393. package/examples/starter/node_modules/kysely-codegen/.github/FUNDING.yml +1 -0
  394. package/examples/starter/node_modules/kysely-codegen/.kysely-codegenrc.json +3 -0
  395. package/examples/starter/node_modules/kysely-codegen/.ncurc.json +3 -0
  396. package/examples/starter/node_modules/kysely-codegen/.prettierignore +1 -0
  397. package/examples/starter/node_modules/kysely-codegen/LICENSE +18 -0
  398. package/examples/starter/node_modules/kysely-codegen/README.md +456 -0
  399. package/examples/starter/node_modules/kysely-codegen/assets/kysely-codegen-logo.svg +28 -0
  400. package/examples/starter/node_modules/kysely-codegen/dist/cli/bin.d.ts +2 -0
  401. package/examples/starter/node_modules/kysely-codegen/dist/cli/bin.js +6 -0
  402. package/examples/starter/node_modules/kysely-codegen/dist/cli/bin.js.map +1 -0
  403. package/examples/starter/node_modules/kysely-codegen/dist/cli/cli.d.ts +17 -0
  404. package/examples/starter/node_modules/kysely-codegen/dist/cli/cli.js +246 -0
  405. package/examples/starter/node_modules/kysely-codegen/dist/cli/cli.js.map +1 -0
  406. package/examples/starter/node_modules/kysely-codegen/dist/cli/config-error.d.ts +6 -0
  407. package/examples/starter/node_modules/kysely-codegen/dist/cli/config-error.js +11 -0
  408. package/examples/starter/node_modules/kysely-codegen/dist/cli/config-error.js.map +1 -0
  409. package/examples/starter/node_modules/kysely-codegen/dist/cli/config.d.ts +106 -0
  410. package/examples/starter/node_modules/kysely-codegen/dist/cli/config.js +87 -0
  411. package/examples/starter/node_modules/kysely-codegen/dist/cli/config.js.map +1 -0
  412. package/examples/starter/node_modules/kysely-codegen/dist/cli/constants.d.ts +5 -0
  413. package/examples/starter/node_modules/kysely-codegen/dist/cli/constants.js +23 -0
  414. package/examples/starter/node_modules/kysely-codegen/dist/cli/constants.js.map +1 -0
  415. package/examples/starter/node_modules/kysely-codegen/dist/cli/flags.d.ts +76 -0
  416. package/examples/starter/node_modules/kysely-codegen/dist/cli/flags.js +152 -0
  417. package/examples/starter/node_modules/kysely-codegen/dist/cli/flags.js.map +1 -0
  418. package/examples/starter/node_modules/kysely-codegen/dist/cli/index.d.ts +4 -0
  419. package/examples/starter/node_modules/kysely-codegen/dist/cli/index.js +21 -0
  420. package/examples/starter/node_modules/kysely-codegen/dist/cli/index.js.map +1 -0
  421. package/examples/starter/node_modules/kysely-codegen/dist/db.d.ts +1 -0
  422. package/examples/starter/node_modules/kysely-codegen/dist/db.js +3 -0
  423. package/examples/starter/node_modules/kysely-codegen/dist/db.js.map +1 -0
  424. package/examples/starter/node_modules/kysely-codegen/dist/generator/adapter.d.ts +16 -0
  425. package/examples/starter/node_modules/kysely-codegen/dist/generator/adapter.js +18 -0
  426. package/examples/starter/node_modules/kysely-codegen/dist/generator/adapter.js.map +1 -0
  427. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/alias-declaration-node.d.ts +9 -0
  428. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/alias-declaration-node.js +13 -0
  429. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/alias-declaration-node.js.map +1 -0
  430. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/array-expression-node.d.ts +6 -0
  431. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/array-expression-node.js +11 -0
  432. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/array-expression-node.js.map +1 -0
  433. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/column-type-node.d.ts +5 -0
  434. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/column-type-node.js +11 -0
  435. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/column-type-node.js.map +1 -0
  436. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/definition-node.d.ts +3 -0
  437. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/definition-node.js +3 -0
  438. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/definition-node.js.map +1 -0
  439. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/export-statement-node.d.ts +10 -0
  440. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/export-statement-node.js +11 -0
  441. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/export-statement-node.js.map +1 -0
  442. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/expression-node.d.ts +11 -0
  443. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/expression-node.js +3 -0
  444. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/expression-node.js.map +1 -0
  445. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/extends-clause-node.d.ts +9 -0
  446. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/extends-clause-node.js +14 -0
  447. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/extends-clause-node.js.map +1 -0
  448. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/generic-expression-node.d.ts +7 -0
  449. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/generic-expression-node.js +12 -0
  450. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/generic-expression-node.js.map +1 -0
  451. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/identifier-node.d.ts +11 -0
  452. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/identifier-node.js +18 -0
  453. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/identifier-node.js.map +1 -0
  454. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/import-clause-node.d.ts +6 -0
  455. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/import-clause-node.js +12 -0
  456. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/import-clause-node.js.map +1 -0
  457. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/import-statement-node.d.ts +7 -0
  458. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/import-statement-node.js +12 -0
  459. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/import-statement-node.js.map +1 -0
  460. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/infer-clause-node.d.ts +5 -0
  461. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/infer-clause-node.js +11 -0
  462. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/infer-clause-node.js.map +1 -0
  463. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/interface-declaration-node.d.ts +8 -0
  464. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/interface-declaration-node.js +12 -0
  465. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/interface-declaration-node.js.map +1 -0
  466. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/json-column-type-node.d.ts +5 -0
  467. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/json-column-type-node.js +11 -0
  468. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/json-column-type-node.js.map +1 -0
  469. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/literal-node.d.ts +7 -0
  470. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/literal-node.js +11 -0
  471. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/literal-node.js.map +1 -0
  472. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/mapped-type-node.d.ts +6 -0
  473. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/mapped-type-node.js +11 -0
  474. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/mapped-type-node.js.map +1 -0
  475. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/module-reference-node.d.ts +15 -0
  476. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/module-reference-node.js +12 -0
  477. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/module-reference-node.js.map +1 -0
  478. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/object-expression-node.d.ts +6 -0
  479. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/object-expression-node.js +11 -0
  480. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/object-expression-node.js.map +1 -0
  481. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/property-node.d.ts +8 -0
  482. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/property-node.js +13 -0
  483. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/property-node.js.map +1 -0
  484. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/raw-expression-node.d.ts +5 -0
  485. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/raw-expression-node.js +11 -0
  486. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/raw-expression-node.js.map +1 -0
  487. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/runtime-enum-declaration-node.d.ts +13 -0
  488. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/runtime-enum-declaration-node.js +28 -0
  489. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/runtime-enum-declaration-node.js.map +1 -0
  490. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/statement-node.d.ts +3 -0
  491. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/statement-node.js +3 -0
  492. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/statement-node.js.map +1 -0
  493. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/template-node.d.ts +7 -0
  494. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/template-node.js +12 -0
  495. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/template-node.js.map +1 -0
  496. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/union-expression-node.d.ts +6 -0
  497. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/union-expression-node.js +11 -0
  498. package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/union-expression-node.js.map +1 -0
  499. package/examples/starter/node_modules/kysely-codegen/dist/generator/connection-string-parser.d.ts +24 -0
  500. package/examples/starter/node_modules/kysely-codegen/dist/generator/connection-string-parser.js +94 -0
  501. package/examples/starter/node_modules/kysely-codegen/dist/generator/connection-string-parser.js.map +1 -0
  502. package/examples/starter/node_modules/kysely-codegen/dist/generator/constants.d.ts +1 -0
  503. package/examples/starter/node_modules/kysely-codegen/dist/generator/constants.js +6 -0
  504. package/examples/starter/node_modules/kysely-codegen/dist/generator/constants.js.map +1 -0
  505. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialect.d.ts +11 -0
  506. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialect.js +38 -0
  507. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialect.js.map +1 -0
  508. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/kysely-bun-sqlite/kysely-bun-sqlite-adapter.d.ts +3 -0
  509. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/kysely-bun-sqlite/kysely-bun-sqlite-adapter.js +8 -0
  510. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/kysely-bun-sqlite/kysely-bun-sqlite-adapter.js.map +1 -0
  511. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/kysely-bun-sqlite/kysely-bun-sqlite-dialect.d.ts +6 -0
  512. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/kysely-bun-sqlite/kysely-bun-sqlite-dialect.js +13 -0
  513. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/kysely-bun-sqlite/kysely-bun-sqlite-dialect.js.map +1 -0
  514. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/libsql/libsql-adapter.d.ts +3 -0
  515. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/libsql/libsql-adapter.js +8 -0
  516. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/libsql/libsql-adapter.js.map +1 -0
  517. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/libsql/libsql-dialect.d.ts +6 -0
  518. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/libsql/libsql-dialect.js +13 -0
  519. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/libsql/libsql-dialect.js.map +1 -0
  520. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mssql/mssql-adapter.d.ts +36 -0
  521. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mssql/mssql-adapter.js +45 -0
  522. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mssql/mssql-adapter.js.map +1 -0
  523. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mssql/mssql-dialect.d.ts +6 -0
  524. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mssql/mssql-dialect.js +13 -0
  525. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mssql/mssql-dialect.js.map +1 -0
  526. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mysql/mysql-adapter.d.ts +58 -0
  527. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mysql/mysql-adapter.js +80 -0
  528. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mysql/mysql-adapter.js.map +1 -0
  529. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mysql/mysql-dialect.d.ts +6 -0
  530. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mysql/mysql-dialect.js +13 -0
  531. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mysql/mysql-dialect.js.map +1 -0
  532. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/postgres/postgres-adapter.d.ts +72 -0
  533. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/postgres/postgres-adapter.js +137 -0
  534. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/postgres/postgres-adapter.js.map +1 -0
  535. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/postgres/postgres-dialect.d.ts +16 -0
  536. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/postgres/postgres-dialect.js +22 -0
  537. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/postgres/postgres-dialect.js.map +1 -0
  538. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/sqlite/sqlite-adapter.d.ts +14 -0
  539. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/sqlite/sqlite-adapter.js +22 -0
  540. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/sqlite/sqlite-adapter.js.map +1 -0
  541. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/sqlite/sqlite-dialect.d.ts +6 -0
  542. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/sqlite/sqlite-dialect.js +13 -0
  543. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/sqlite/sqlite-dialect.js.map +1 -0
  544. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/worker-bun-sqlite/worker-bun-sqlite-dialect.d.ts +6 -0
  545. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/worker-bun-sqlite/worker-bun-sqlite-dialect.js +13 -0
  546. package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/worker-bun-sqlite/worker-bun-sqlite-dialect.js.map +1 -0
  547. package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/diff-checker.d.ts +4 -0
  548. package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/diff-checker.js +27 -0
  549. package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/diff-checker.js.map +1 -0
  550. package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/generate.d.ts +34 -0
  551. package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/generate.js +84 -0
  552. package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/generate.js.map +1 -0
  553. package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/runtime-enums-style.d.ts +1 -0
  554. package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/runtime-enums-style.js +3 -0
  555. package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/runtime-enums-style.js.map +1 -0
  556. package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/serializer.d.ts +68 -0
  557. package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/serializer.js +311 -0
  558. package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/serializer.js.map +1 -0
  559. package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/singularizer.d.ts +1 -0
  560. package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/singularizer.js +32 -0
  561. package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/singularizer.js.map +1 -0
  562. package/examples/starter/node_modules/kysely-codegen/dist/generator/index.d.ts +50 -0
  563. package/examples/starter/node_modules/kysely-codegen/dist/generator/index.js +67 -0
  564. package/examples/starter/node_modules/kysely-codegen/dist/generator/index.js.map +1 -0
  565. package/examples/starter/node_modules/kysely-codegen/dist/generator/logger/log-level.d.ts +8 -0
  566. package/examples/starter/node_modules/kysely-codegen/dist/generator/logger/log-level.js +14 -0
  567. package/examples/starter/node_modules/kysely-codegen/dist/generator/logger/log-level.js.map +1 -0
  568. package/examples/starter/node_modules/kysely-codegen/dist/generator/logger/logger.d.ts +12 -0
  569. package/examples/starter/node_modules/kysely-codegen/dist/generator/logger/logger.js +62 -0
  570. package/examples/starter/node_modules/kysely-codegen/dist/generator/logger/logger.js.map +1 -0
  571. package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/definitions.d.ts +18 -0
  572. package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/definitions.js +44 -0
  573. package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/definitions.js.map +1 -0
  574. package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/identifier-style.d.ts +1 -0
  575. package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/identifier-style.js +3 -0
  576. package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/identifier-style.js.map +1 -0
  577. package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/imports.d.ts +5 -0
  578. package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/imports.js +9 -0
  579. package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/imports.js.map +1 -0
  580. package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/symbol-collection.d.ts +44 -0
  581. package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/symbol-collection.js +59 -0
  582. package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/symbol-collection.js.map +1 -0
  583. package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/transformer.d.ts +38 -0
  584. package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/transformer.js +380 -0
  585. package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/transformer.js.map +1 -0
  586. package/examples/starter/node_modules/kysely-codegen/dist/generator/utils/case-converter.d.ts +30 -0
  587. package/examples/starter/node_modules/kysely-codegen/dist/generator/utils/case-converter.js +67 -0
  588. package/examples/starter/node_modules/kysely-codegen/dist/generator/utils/case-converter.js.map +1 -0
  589. package/examples/starter/node_modules/kysely-codegen/dist/index.d.ts +4 -0
  590. package/examples/starter/node_modules/kysely-codegen/dist/index.js +21 -0
  591. package/examples/starter/node_modules/kysely-codegen/dist/index.js.map +1 -0
  592. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialect.d.ts +19 -0
  593. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialect.js +10 -0
  594. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialect.js.map +1 -0
  595. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/kysely-bun-sqlite/kysely-bun-sqlite-dialect.d.ts +7 -0
  596. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/kysely-bun-sqlite/kysely-bun-sqlite-dialect.js +56 -0
  597. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/kysely-bun-sqlite/kysely-bun-sqlite-dialect.js.map +1 -0
  598. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/kysely-bun-sqlite/kysely-bun-sqlite-introspector.d.ts +6 -0
  599. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/kysely-bun-sqlite/kysely-bun-sqlite-introspector.js +15 -0
  600. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/kysely-bun-sqlite/kysely-bun-sqlite-introspector.js.map +1 -0
  601. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/libsql/libsql-dialect.d.ts +7 -0
  602. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/libsql/libsql-dialect.js +59 -0
  603. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/libsql/libsql-dialect.js.map +1 -0
  604. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/libsql/libsql-introspector.d.ts +6 -0
  605. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/libsql/libsql-introspector.js +15 -0
  606. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/libsql/libsql-introspector.js.map +1 -0
  607. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mssql/mssql-dialect.d.ts +9 -0
  608. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mssql/mssql-dialect.js +112 -0
  609. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mssql/mssql-dialect.js.map +1 -0
  610. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mssql/mssql-introspector.d.ts +6 -0
  611. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mssql/mssql-introspector.js +15 -0
  612. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mssql/mssql-introspector.js.map +1 -0
  613. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-db.d.ts +8 -0
  614. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-db.js +3 -0
  615. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-db.js.map +1 -0
  616. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-dialect.d.ts +8 -0
  617. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-dialect.js +55 -0
  618. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-dialect.js.map +1 -0
  619. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-introspector.d.ts +14 -0
  620. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-introspector.js +46 -0
  621. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-introspector.js.map +1 -0
  622. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-parser.d.ts +7 -0
  623. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-parser.js +66 -0
  624. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-parser.js.map +1 -0
  625. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/date-parser.d.ts +2 -0
  626. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/date-parser.js +5 -0
  627. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/date-parser.js.map +1 -0
  628. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/numeric-parser.d.ts +2 -0
  629. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/numeric-parser.js +5 -0
  630. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/numeric-parser.js.map +1 -0
  631. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-db.d.ts +15 -0
  632. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-db.js +3 -0
  633. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-db.js.map +1 -0
  634. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-dialect.d.ts +20 -0
  635. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-dialect.js +83 -0
  636. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-dialect.js.map +1 -0
  637. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-introspector.d.ts +35 -0
  638. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-introspector.js +128 -0
  639. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-introspector.js.map +1 -0
  640. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/sqlite/sqlite-dialect.d.ts +8 -0
  641. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/sqlite/sqlite-dialect.js +53 -0
  642. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/sqlite/sqlite-dialect.js.map +1 -0
  643. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/sqlite/sqlite-introspector.d.ts +6 -0
  644. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/sqlite/sqlite-introspector.js +15 -0
  645. package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/sqlite/sqlite-introspector.js.map +1 -0
  646. package/examples/starter/node_modules/kysely-codegen/dist/introspector/enum-collection.d.ts +10 -0
  647. package/examples/starter/node_modules/kysely-codegen/dist/introspector/enum-collection.js +26 -0
  648. package/examples/starter/node_modules/kysely-codegen/dist/introspector/enum-collection.js.map +1 -0
  649. package/examples/starter/node_modules/kysely-codegen/dist/introspector/index.d.ts +24 -0
  650. package/examples/starter/node_modules/kysely-codegen/dist/introspector/index.js +41 -0
  651. package/examples/starter/node_modules/kysely-codegen/dist/introspector/index.js.map +1 -0
  652. package/examples/starter/node_modules/kysely-codegen/dist/introspector/introspector.d.ts +23 -0
  653. package/examples/starter/node_modules/kysely-codegen/dist/introspector/introspector.fixtures.d.ts +4 -0
  654. package/examples/starter/node_modules/kysely-codegen/dist/introspector/introspector.fixtures.js +128 -0
  655. package/examples/starter/node_modules/kysely-codegen/dist/introspector/introspector.fixtures.js.map +1 -0
  656. package/examples/starter/node_modules/kysely-codegen/dist/introspector/introspector.js +50 -0
  657. package/examples/starter/node_modules/kysely-codegen/dist/introspector/introspector.js.map +1 -0
  658. package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/column-metadata.d.ts +23 -0
  659. package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/column-metadata.js +18 -0
  660. package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/column-metadata.js.map +1 -0
  661. package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/database-metadata.d.ts +12 -0
  662. package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/database-metadata.js +13 -0
  663. package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/database-metadata.js.map +1 -0
  664. package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/table-metadata.d.ts +17 -0
  665. package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/table-metadata.js +15 -0
  666. package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/table-metadata.js.map +1 -0
  667. package/examples/starter/node_modules/kysely-codegen/dist/introspector/table-matcher.d.ts +6 -0
  668. package/examples/starter/node_modules/kysely-codegen/dist/introspector/table-matcher.js +16 -0
  669. package/examples/starter/node_modules/kysely-codegen/dist/introspector/table-matcher.js.map +1 -0
  670. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/LICENSE +21 -0
  671. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/README.md +208 -0
  672. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/index.cjs +33 -0
  673. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/index.d.cts +4 -0
  674. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/index.d.ts +4 -0
  675. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/index.js +4 -0
  676. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/locales/index.cjs +17 -0
  677. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/locales/index.d.cts +1 -0
  678. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/locales/index.d.ts +1 -0
  679. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/locales/index.js +1 -0
  680. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/locales/package.json +6 -0
  681. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/mini/index.cjs +17 -0
  682. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/mini/index.d.cts +1 -0
  683. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/mini/index.d.ts +1 -0
  684. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/mini/index.js +1 -0
  685. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/mini/package.json +6 -0
  686. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/package.json +135 -0
  687. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/index.ts +4 -0
  688. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/locales/index.ts +1 -0
  689. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/mini/index.ts +1 -0
  690. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/ZodError.ts +330 -0
  691. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  692. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  693. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  694. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  695. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  696. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  697. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  698. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  699. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  700. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/errors.ts +13 -0
  701. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/external.ts +6 -0
  702. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  703. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  704. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  705. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  706. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  707. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/helpers/util.ts +224 -0
  708. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/index.ts +4 -0
  709. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/locales/en.ts +124 -0
  710. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/standard-schema.ts +113 -0
  711. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
  712. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
  713. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
  714. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/array.test.ts +71 -0
  715. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
  716. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
  717. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/base.test.ts +29 -0
  718. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
  719. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
  720. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
  721. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
  722. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
  723. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
  724. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/date.test.ts +32 -0
  725. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
  726. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/default.test.ts +112 -0
  727. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/description.test.ts +33 -0
  728. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  729. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
  730. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/error.test.ts +551 -0
  731. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
  732. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  733. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/function.test.ts +261 -0
  734. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
  735. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
  736. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
  737. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
  738. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
  739. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
  740. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/map.test.ts +110 -0
  741. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
  742. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
  743. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
  744. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  745. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
  746. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/number.test.ts +176 -0
  747. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  748. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  749. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/object.test.ts +434 -0
  750. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
  751. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
  752. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
  753. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
  754. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
  755. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
  756. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
  757. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
  758. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
  759. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
  760. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/record.test.ts +171 -0
  761. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
  762. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
  763. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
  764. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/set.test.ts +142 -0
  765. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
  766. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/string.test.ts +916 -0
  767. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
  768. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
  769. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
  770. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
  771. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/void.test.ts +15 -0
  772. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/types.ts +5138 -0
  773. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/checks.ts +32 -0
  774. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  775. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/compat.ts +70 -0
  776. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/errors.ts +82 -0
  777. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/external.ts +51 -0
  778. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/from-json-schema.ts +643 -0
  779. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/index.ts +5 -0
  780. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/iso.ts +90 -0
  781. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/parse.ts +82 -0
  782. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/schemas.ts +2409 -0
  783. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  784. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
  785. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
  786. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/assignability.test.ts +210 -0
  787. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  788. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  789. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
  790. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
  791. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
  792. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/catch.test.ts +276 -0
  793. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  794. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
  795. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/codec.test.ts +562 -0
  796. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  797. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
  798. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
  799. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
  800. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
  801. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/default.test.ts +365 -0
  802. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
  803. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
  804. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +661 -0
  805. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
  806. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +595 -0
  807. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
  808. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
  809. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
  810. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
  811. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +734 -0
  812. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
  813. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
  814. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
  815. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
  816. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
  817. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
  818. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
  819. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
  820. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
  821. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
  822. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
  823. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  824. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
  825. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  826. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/number.test.ts +270 -0
  827. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/object.test.ts +640 -0
  828. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/optional.test.ts +223 -0
  829. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/partial.test.ts +427 -0
  830. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
  831. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
  832. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
  833. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +282 -0
  834. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  835. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  836. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  837. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
  838. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/record.test.ts +600 -0
  839. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +582 -0
  840. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/refine.test.ts +570 -0
  841. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
  842. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
  843. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
  844. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
  845. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/string.test.ts +1175 -0
  846. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
  847. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
  848. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
  849. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2975 -0
  850. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/transform.test.ts +361 -0
  851. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/tuple.test.ts +183 -0
  852. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/union.test.ts +219 -0
  853. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
  854. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
  855. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
  856. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/api.ts +1798 -0
  857. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/checks.ts +1293 -0
  858. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/config.ts +15 -0
  859. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/core.ts +138 -0
  860. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/doc.ts +44 -0
  861. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/errors.ts +448 -0
  862. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/index.ts +16 -0
  863. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
  864. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/json-schema-processors.ts +667 -0
  865. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/json-schema.ts +147 -0
  866. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/parse.ts +195 -0
  867. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/regexes.ts +183 -0
  868. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/registries.ts +105 -0
  869. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/schemas.ts +4543 -0
  870. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
  871. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
  872. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
  873. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  874. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  875. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
  876. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
  877. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
  878. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  879. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  880. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +83 -0
  881. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +67 -0
  882. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
  883. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/to-json-schema.ts +613 -0
  884. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/util.ts +966 -0
  885. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/versions.ts +5 -0
  886. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/zsf.ts +323 -0
  887. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/index.ts +4 -0
  888. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ar.ts +115 -0
  889. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/az.ts +111 -0
  890. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/be.ts +176 -0
  891. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/bg.ts +128 -0
  892. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ca.ts +116 -0
  893. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/cs.ts +118 -0
  894. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/da.ts +123 -0
  895. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/de.ts +116 -0
  896. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/en.ts +119 -0
  897. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/eo.ts +118 -0
  898. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/es.ts +141 -0
  899. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/fa.ts +126 -0
  900. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/fi.ts +121 -0
  901. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
  902. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/fr.ts +116 -0
  903. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/he.ts +246 -0
  904. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/hu.ts +117 -0
  905. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/hy.ts +164 -0
  906. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/id.ts +115 -0
  907. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/index.ts +49 -0
  908. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/is.ts +119 -0
  909. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/it.ts +116 -0
  910. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ja.ts +114 -0
  911. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ka.ts +123 -0
  912. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/kh.ts +7 -0
  913. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/km.ts +119 -0
  914. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ko.ts +121 -0
  915. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/lt.ts +239 -0
  916. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/mk.ts +118 -0
  917. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ms.ts +115 -0
  918. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/nl.ts +121 -0
  919. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/no.ts +116 -0
  920. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ota.ts +117 -0
  921. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/pl.ts +118 -0
  922. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ps.ts +126 -0
  923. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/pt.ts +116 -0
  924. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ru.ts +176 -0
  925. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/sl.ts +118 -0
  926. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/sv.ts +119 -0
  927. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ta.ts +118 -0
  928. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/th.ts +119 -0
  929. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/tr.ts +111 -0
  930. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ua.ts +7 -0
  931. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/uk.ts +117 -0
  932. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ur.ts +119 -0
  933. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/uz.ts +116 -0
  934. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/vi.ts +117 -0
  935. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/yo.ts +124 -0
  936. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
  937. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
  938. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/checks.ts +32 -0
  939. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/coerce.ts +27 -0
  940. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/external.ts +40 -0
  941. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/index.ts +3 -0
  942. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/iso.ts +66 -0
  943. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/parse.ts +14 -0
  944. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/schemas.ts +1916 -0
  945. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
  946. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
  947. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
  948. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
  949. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/codec.test.ts +529 -0
  950. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
  951. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
  952. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
  953. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/index.test.ts +963 -0
  954. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
  955. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
  956. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  957. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +275 -0
  958. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
  959. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/string.test.ts +347 -0
  960. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4-mini/index.ts +1 -0
  961. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/ZodError.cjs +138 -0
  962. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/ZodError.d.cts +164 -0
  963. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/ZodError.d.ts +164 -0
  964. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/ZodError.js +133 -0
  965. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/errors.cjs +17 -0
  966. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/errors.d.cts +5 -0
  967. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/errors.d.ts +5 -0
  968. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/errors.js +9 -0
  969. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/external.cjs +22 -0
  970. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/external.d.cts +6 -0
  971. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/external.d.ts +6 -0
  972. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/external.js +6 -0
  973. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
  974. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  975. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  976. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/enumUtil.js +1 -0
  977. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
  978. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  979. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  980. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  981. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
  982. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  983. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  984. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  985. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
  986. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  987. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  988. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  989. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
  990. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  991. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  992. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  993. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/util.cjs +137 -0
  994. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/util.d.cts +85 -0
  995. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/util.d.ts +85 -0
  996. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/util.js +133 -0
  997. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/index.cjs +33 -0
  998. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/index.d.cts +4 -0
  999. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/index.d.ts +4 -0
  1000. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/index.js +4 -0
  1001. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/locales/en.cjs +112 -0
  1002. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/locales/en.d.cts +3 -0
  1003. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/locales/en.d.ts +3 -0
  1004. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/locales/en.js +109 -0
  1005. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/package.json +6 -0
  1006. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/standard-schema.cjs +2 -0
  1007. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/standard-schema.d.cts +102 -0
  1008. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/standard-schema.d.ts +102 -0
  1009. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/standard-schema.js +1 -0
  1010. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/types.cjs +3777 -0
  1011. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/types.d.cts +1034 -0
  1012. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/types.d.ts +1034 -0
  1013. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/types.js +3695 -0
  1014. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/checks.cjs +33 -0
  1015. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/checks.d.cts +1 -0
  1016. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/checks.d.ts +1 -0
  1017. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/checks.js +1 -0
  1018. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/coerce.cjs +47 -0
  1019. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  1020. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  1021. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/coerce.js +17 -0
  1022. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/compat.cjs +61 -0
  1023. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/compat.d.cts +50 -0
  1024. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/compat.d.ts +50 -0
  1025. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/compat.js +31 -0
  1026. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/errors.cjs +74 -0
  1027. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/errors.d.cts +30 -0
  1028. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/errors.d.ts +30 -0
  1029. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/errors.js +48 -0
  1030. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/external.cjs +73 -0
  1031. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/external.d.cts +15 -0
  1032. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/external.d.ts +15 -0
  1033. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/external.js +20 -0
  1034. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/from-json-schema.cjs +610 -0
  1035. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
  1036. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
  1037. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/from-json-schema.js +584 -0
  1038. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/index.cjs +33 -0
  1039. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/index.d.cts +4 -0
  1040. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/index.d.ts +4 -0
  1041. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/index.js +4 -0
  1042. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/iso.cjs +60 -0
  1043. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/iso.d.cts +22 -0
  1044. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/iso.d.ts +22 -0
  1045. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/iso.js +30 -0
  1046. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/package.json +6 -0
  1047. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/parse.cjs +41 -0
  1048. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/parse.d.cts +31 -0
  1049. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/parse.d.ts +31 -0
  1050. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/parse.js +15 -0
  1051. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/schemas.cjs +1272 -0
  1052. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/schemas.d.cts +739 -0
  1053. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/schemas.d.ts +739 -0
  1054. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/schemas.js +1157 -0
  1055. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/api.cjs +1222 -0
  1056. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/api.d.cts +304 -0
  1057. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/api.d.ts +304 -0
  1058. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/api.js +1082 -0
  1059. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/checks.cjs +601 -0
  1060. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/checks.d.cts +278 -0
  1061. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/checks.d.ts +278 -0
  1062. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/checks.js +575 -0
  1063. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/core.cjs +83 -0
  1064. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/core.d.cts +70 -0
  1065. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/core.d.ts +70 -0
  1066. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/core.js +76 -0
  1067. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/doc.cjs +39 -0
  1068. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/doc.d.cts +14 -0
  1069. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/doc.d.ts +14 -0
  1070. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/doc.js +35 -0
  1071. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/errors.cjs +213 -0
  1072. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/errors.d.cts +220 -0
  1073. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/errors.d.ts +220 -0
  1074. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/errors.js +182 -0
  1075. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/index.cjs +47 -0
  1076. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/index.d.cts +16 -0
  1077. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/index.d.ts +16 -0
  1078. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/index.js +16 -0
  1079. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
  1080. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
  1081. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
  1082. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema-generator.js +95 -0
  1083. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema-processors.cjs +648 -0
  1084. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
  1085. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
  1086. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema-processors.js +605 -0
  1087. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema.cjs +2 -0
  1088. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema.d.cts +88 -0
  1089. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema.d.ts +88 -0
  1090. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema.js +1 -0
  1091. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/package.json +6 -0
  1092. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/parse.cjs +131 -0
  1093. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/parse.d.cts +49 -0
  1094. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/parse.d.ts +49 -0
  1095. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/parse.js +93 -0
  1096. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/regexes.cjs +166 -0
  1097. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/regexes.d.cts +79 -0
  1098. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/regexes.d.ts +79 -0
  1099. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/regexes.js +133 -0
  1100. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/registries.cjs +56 -0
  1101. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/registries.d.cts +35 -0
  1102. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/registries.d.ts +35 -0
  1103. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/registries.js +51 -0
  1104. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/schemas.cjs +2126 -0
  1105. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/schemas.d.cts +1146 -0
  1106. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/schemas.d.ts +1146 -0
  1107. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/schemas.js +2095 -0
  1108. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/standard-schema.cjs +2 -0
  1109. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
  1110. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
  1111. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/standard-schema.js +1 -0
  1112. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/to-json-schema.cjs +446 -0
  1113. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
  1114. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
  1115. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/to-json-schema.js +437 -0
  1116. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/util.cjs +710 -0
  1117. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/util.d.cts +199 -0
  1118. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/util.d.ts +199 -0
  1119. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/util.js +651 -0
  1120. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/versions.cjs +8 -0
  1121. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/versions.d.cts +5 -0
  1122. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/versions.d.ts +5 -0
  1123. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/versions.js +5 -0
  1124. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/index.cjs +22 -0
  1125. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/index.d.cts +3 -0
  1126. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/index.d.ts +3 -0
  1127. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/index.js +3 -0
  1128. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ar.cjs +133 -0
  1129. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ar.d.cts +5 -0
  1130. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ar.d.ts +4 -0
  1131. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ar.js +106 -0
  1132. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/az.cjs +132 -0
  1133. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/az.d.cts +5 -0
  1134. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/az.d.ts +4 -0
  1135. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/az.js +105 -0
  1136. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/be.cjs +183 -0
  1137. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/be.d.cts +5 -0
  1138. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/be.d.ts +4 -0
  1139. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/be.js +156 -0
  1140. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/bg.cjs +147 -0
  1141. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/bg.d.cts +5 -0
  1142. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/bg.d.ts +4 -0
  1143. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/bg.js +120 -0
  1144. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ca.cjs +134 -0
  1145. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ca.d.cts +5 -0
  1146. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ca.d.ts +4 -0
  1147. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ca.js +107 -0
  1148. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/cs.cjs +138 -0
  1149. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/cs.d.cts +5 -0
  1150. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/cs.d.ts +4 -0
  1151. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/cs.js +111 -0
  1152. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/da.cjs +142 -0
  1153. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/da.d.cts +5 -0
  1154. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/da.d.ts +4 -0
  1155. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/da.js +115 -0
  1156. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/de.cjs +135 -0
  1157. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/de.d.cts +5 -0
  1158. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/de.d.ts +4 -0
  1159. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/de.js +108 -0
  1160. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/en.cjs +136 -0
  1161. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/en.d.cts +5 -0
  1162. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/en.d.ts +4 -0
  1163. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/en.js +109 -0
  1164. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/eo.cjs +136 -0
  1165. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/eo.d.cts +5 -0
  1166. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/eo.d.ts +4 -0
  1167. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/eo.js +109 -0
  1168. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/es.cjs +159 -0
  1169. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/es.d.cts +5 -0
  1170. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/es.d.ts +4 -0
  1171. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/es.js +132 -0
  1172. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fa.cjs +141 -0
  1173. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fa.d.cts +5 -0
  1174. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fa.d.ts +4 -0
  1175. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fa.js +114 -0
  1176. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fi.cjs +139 -0
  1177. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fi.d.cts +5 -0
  1178. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fi.d.ts +4 -0
  1179. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fi.js +112 -0
  1180. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
  1181. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
  1182. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  1183. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fr-CA.js +107 -0
  1184. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fr.cjs +135 -0
  1185. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fr.d.cts +5 -0
  1186. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fr.d.ts +4 -0
  1187. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fr.js +108 -0
  1188. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/he.cjs +241 -0
  1189. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/he.d.cts +5 -0
  1190. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/he.d.ts +4 -0
  1191. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/he.js +214 -0
  1192. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/hu.cjs +135 -0
  1193. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/hu.d.cts +5 -0
  1194. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/hu.d.ts +4 -0
  1195. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/hu.js +108 -0
  1196. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/hy.cjs +174 -0
  1197. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/hy.d.cts +5 -0
  1198. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/hy.d.ts +4 -0
  1199. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/hy.js +147 -0
  1200. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/id.cjs +133 -0
  1201. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/id.d.cts +5 -0
  1202. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/id.d.ts +4 -0
  1203. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/id.js +106 -0
  1204. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/index.cjs +104 -0
  1205. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/index.d.cts +49 -0
  1206. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/index.d.ts +49 -0
  1207. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/index.js +49 -0
  1208. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/is.cjs +136 -0
  1209. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/is.d.cts +5 -0
  1210. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/is.d.ts +4 -0
  1211. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/is.js +109 -0
  1212. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/it.cjs +135 -0
  1213. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/it.d.cts +5 -0
  1214. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/it.d.ts +4 -0
  1215. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/it.js +108 -0
  1216. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ja.cjs +134 -0
  1217. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ja.d.cts +5 -0
  1218. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ja.d.ts +4 -0
  1219. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ja.js +107 -0
  1220. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ka.cjs +139 -0
  1221. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ka.d.cts +5 -0
  1222. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ka.d.ts +4 -0
  1223. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ka.js +112 -0
  1224. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/kh.cjs +12 -0
  1225. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/kh.d.cts +5 -0
  1226. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/kh.d.ts +5 -0
  1227. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/kh.js +5 -0
  1228. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/km.cjs +137 -0
  1229. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/km.d.cts +5 -0
  1230. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/km.d.ts +4 -0
  1231. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/km.js +110 -0
  1232. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ko.cjs +138 -0
  1233. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ko.d.cts +5 -0
  1234. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ko.d.ts +4 -0
  1235. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ko.js +111 -0
  1236. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/lt.cjs +230 -0
  1237. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/lt.d.cts +5 -0
  1238. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/lt.d.ts +4 -0
  1239. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/lt.js +203 -0
  1240. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/mk.cjs +136 -0
  1241. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/mk.d.cts +5 -0
  1242. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/mk.d.ts +4 -0
  1243. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/mk.js +109 -0
  1244. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ms.cjs +134 -0
  1245. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ms.d.cts +5 -0
  1246. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ms.d.ts +4 -0
  1247. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ms.js +107 -0
  1248. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/nl.cjs +137 -0
  1249. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/nl.d.cts +5 -0
  1250. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/nl.d.ts +4 -0
  1251. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/nl.js +110 -0
  1252. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/no.cjs +135 -0
  1253. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/no.d.cts +5 -0
  1254. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/no.d.ts +4 -0
  1255. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/no.js +108 -0
  1256. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ota.cjs +136 -0
  1257. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ota.d.cts +5 -0
  1258. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ota.d.ts +4 -0
  1259. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ota.js +109 -0
  1260. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/package.json +6 -0
  1261. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/pl.cjs +136 -0
  1262. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/pl.d.cts +5 -0
  1263. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/pl.d.ts +4 -0
  1264. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/pl.js +109 -0
  1265. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ps.cjs +141 -0
  1266. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ps.d.cts +5 -0
  1267. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ps.d.ts +4 -0
  1268. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ps.js +114 -0
  1269. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/pt.cjs +135 -0
  1270. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/pt.d.cts +5 -0
  1271. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/pt.d.ts +4 -0
  1272. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/pt.js +108 -0
  1273. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ru.cjs +183 -0
  1274. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ru.d.cts +5 -0
  1275. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ru.d.ts +4 -0
  1276. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ru.js +156 -0
  1277. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/sl.cjs +136 -0
  1278. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/sl.d.cts +5 -0
  1279. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/sl.d.ts +4 -0
  1280. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/sl.js +109 -0
  1281. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/sv.cjs +137 -0
  1282. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/sv.d.cts +5 -0
  1283. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/sv.d.ts +4 -0
  1284. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/sv.js +110 -0
  1285. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ta.cjs +137 -0
  1286. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ta.d.cts +5 -0
  1287. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ta.d.ts +4 -0
  1288. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ta.js +110 -0
  1289. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/th.cjs +137 -0
  1290. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/th.d.cts +5 -0
  1291. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/th.d.ts +4 -0
  1292. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/th.js +110 -0
  1293. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/tr.cjs +132 -0
  1294. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/tr.d.cts +5 -0
  1295. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/tr.d.ts +4 -0
  1296. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/tr.js +105 -0
  1297. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ua.cjs +12 -0
  1298. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ua.d.cts +5 -0
  1299. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ua.d.ts +5 -0
  1300. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ua.js +5 -0
  1301. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/uk.cjs +135 -0
  1302. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/uk.d.cts +5 -0
  1303. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/uk.d.ts +4 -0
  1304. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/uk.js +108 -0
  1305. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ur.cjs +137 -0
  1306. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ur.d.cts +5 -0
  1307. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ur.d.ts +4 -0
  1308. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ur.js +110 -0
  1309. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/uz.cjs +136 -0
  1310. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/uz.d.cts +5 -0
  1311. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/uz.d.ts +4 -0
  1312. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/uz.js +109 -0
  1313. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/vi.cjs +135 -0
  1314. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/vi.d.cts +5 -0
  1315. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/vi.d.ts +4 -0
  1316. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/vi.js +108 -0
  1317. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/yo.cjs +134 -0
  1318. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/yo.d.cts +5 -0
  1319. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/yo.d.ts +4 -0
  1320. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/yo.js +107 -0
  1321. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
  1322. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
  1323. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  1324. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/zh-CN.js +109 -0
  1325. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
  1326. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
  1327. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  1328. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/zh-TW.js +107 -0
  1329. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/checks.cjs +34 -0
  1330. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/checks.d.cts +1 -0
  1331. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/checks.d.ts +1 -0
  1332. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/checks.js +1 -0
  1333. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/coerce.cjs +52 -0
  1334. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  1335. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  1336. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/coerce.js +22 -0
  1337. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/external.cjs +63 -0
  1338. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/external.d.cts +12 -0
  1339. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/external.d.ts +12 -0
  1340. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/external.js +14 -0
  1341. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/index.cjs +32 -0
  1342. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/index.d.cts +3 -0
  1343. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/index.d.ts +3 -0
  1344. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/index.js +3 -0
  1345. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/iso.cjs +64 -0
  1346. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/iso.d.cts +22 -0
  1347. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/iso.d.ts +22 -0
  1348. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/iso.js +34 -0
  1349. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/package.json +6 -0
  1350. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/parse.cjs +16 -0
  1351. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/parse.d.cts +1 -0
  1352. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/parse.d.ts +1 -0
  1353. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/parse.js +1 -0
  1354. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/schemas.cjs +1046 -0
  1355. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/schemas.d.cts +427 -0
  1356. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/schemas.d.ts +427 -0
  1357. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/schemas.js +925 -0
  1358. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/package.json +6 -0
  1359. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4-mini/index.cjs +17 -0
  1360. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4-mini/index.d.cts +1 -0
  1361. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4-mini/index.d.ts +1 -0
  1362. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4-mini/index.js +1 -0
  1363. package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4-mini/package.json +6 -0
  1364. package/examples/starter/node_modules/kysely-codegen/package.json +214 -0
  1365. package/examples/starter/node_modules/kysely-codegen/pnpm-workspace.yaml +3 -0
  1366. package/examples/starter/node_modules/kysely-codegen/tsconfig.build.json +5 -0
  1367. package/examples/starter/node_modules/lines-and-columns/LICENSE +21 -0
  1368. package/examples/starter/node_modules/lines-and-columns/README.md +33 -0
  1369. package/examples/starter/node_modules/lines-and-columns/build/index.d.ts +13 -0
  1370. package/examples/starter/node_modules/lines-and-columns/build/index.js +62 -0
  1371. package/examples/starter/node_modules/lines-and-columns/package.json +49 -0
  1372. package/examples/starter/node_modules/loglevel/.editorconfig +27 -0
  1373. package/examples/starter/node_modules/loglevel/CONTRIBUTING.md +98 -0
  1374. package/examples/starter/node_modules/loglevel/Gruntfile.js +165 -0
  1375. package/examples/starter/node_modules/loglevel/LICENSE-MIT +22 -0
  1376. package/examples/starter/node_modules/loglevel/README.md +408 -0
  1377. package/examples/starter/node_modules/loglevel/_config.yml +1 -0
  1378. package/examples/starter/node_modules/loglevel/bower.json +11 -0
  1379. package/examples/starter/node_modules/loglevel/demo/index.html +139 -0
  1380. package/examples/starter/node_modules/loglevel/demo/script.js +86 -0
  1381. package/examples/starter/node_modules/loglevel/demo/styles.css +107 -0
  1382. package/examples/starter/node_modules/loglevel/dist/loglevel.js +352 -0
  1383. package/examples/starter/node_modules/loglevel/dist/loglevel.min.js +3 -0
  1384. package/examples/starter/node_modules/loglevel/index.d.ts +203 -0
  1385. package/examples/starter/node_modules/loglevel/lib/loglevel.js +357 -0
  1386. package/examples/starter/node_modules/loglevel/package.json +63 -0
  1387. package/examples/starter/node_modules/micromatch/LICENSE +21 -0
  1388. package/examples/starter/node_modules/micromatch/README.md +1024 -0
  1389. package/examples/starter/node_modules/micromatch/index.js +474 -0
  1390. package/examples/starter/node_modules/micromatch/package.json +119 -0
  1391. package/examples/starter/node_modules/minimatch/LICENSE +15 -0
  1392. package/examples/starter/node_modules/minimatch/README.md +230 -0
  1393. package/examples/starter/node_modules/minimatch/minimatch.js +947 -0
  1394. package/examples/starter/node_modules/minimatch/package.json +33 -0
  1395. package/examples/starter/node_modules/minimist/.eslintrc +29 -0
  1396. package/examples/starter/node_modules/minimist/.github/FUNDING.yml +12 -0
  1397. package/examples/starter/node_modules/minimist/.nycrc +14 -0
  1398. package/examples/starter/node_modules/minimist/CHANGELOG.md +298 -0
  1399. package/examples/starter/node_modules/minimist/LICENSE +18 -0
  1400. package/examples/starter/node_modules/minimist/README.md +121 -0
  1401. package/examples/starter/node_modules/minimist/example/parse.js +4 -0
  1402. package/examples/starter/node_modules/minimist/index.js +263 -0
  1403. package/examples/starter/node_modules/minimist/package.json +75 -0
  1404. package/examples/starter/node_modules/minimist/test/all_bool.js +34 -0
  1405. package/examples/starter/node_modules/minimist/test/bool.js +177 -0
  1406. package/examples/starter/node_modules/minimist/test/dash.js +43 -0
  1407. package/examples/starter/node_modules/minimist/test/default_bool.js +37 -0
  1408. package/examples/starter/node_modules/minimist/test/dotted.js +24 -0
  1409. package/examples/starter/node_modules/minimist/test/kv_short.js +32 -0
  1410. package/examples/starter/node_modules/minimist/test/long.js +33 -0
  1411. package/examples/starter/node_modules/minimist/test/num.js +38 -0
  1412. package/examples/starter/node_modules/minimist/test/parse.js +209 -0
  1413. package/examples/starter/node_modules/minimist/test/parse_modified.js +11 -0
  1414. package/examples/starter/node_modules/minimist/test/proto.js +64 -0
  1415. package/examples/starter/node_modules/minimist/test/short.js +69 -0
  1416. package/examples/starter/node_modules/minimist/test/stop_early.js +17 -0
  1417. package/examples/starter/node_modules/minimist/test/unknown.js +104 -0
  1418. package/examples/starter/node_modules/minimist/test/whitespace.js +10 -0
  1419. package/examples/starter/node_modules/parent-module/index.js +37 -0
  1420. package/examples/starter/node_modules/parent-module/license +9 -0
  1421. package/examples/starter/node_modules/parent-module/package.json +46 -0
  1422. package/examples/starter/node_modules/parent-module/readme.md +67 -0
  1423. package/examples/starter/node_modules/parse-json/index.js +54 -0
  1424. package/examples/starter/node_modules/parse-json/license +9 -0
  1425. package/examples/starter/node_modules/parse-json/package.json +45 -0
  1426. package/examples/starter/node_modules/parse-json/readme.md +119 -0
  1427. package/examples/starter/node_modules/path-is-absolute/index.js +20 -0
  1428. package/examples/starter/node_modules/path-is-absolute/license +21 -0
  1429. package/examples/starter/node_modules/path-is-absolute/package.json +43 -0
  1430. package/examples/starter/node_modules/path-is-absolute/readme.md +59 -0
  1431. package/examples/starter/node_modules/path-parse/LICENSE +21 -0
  1432. package/examples/starter/node_modules/path-parse/README.md +42 -0
  1433. package/examples/starter/node_modules/path-parse/index.js +75 -0
  1434. package/examples/starter/node_modules/path-parse/package.json +33 -0
  1435. package/examples/starter/node_modules/picomatch/CHANGELOG.md +136 -0
  1436. package/examples/starter/node_modules/picomatch/LICENSE +21 -0
  1437. package/examples/starter/node_modules/picomatch/README.md +708 -0
  1438. package/examples/starter/node_modules/picomatch/index.js +3 -0
  1439. package/examples/starter/node_modules/picomatch/lib/constants.js +179 -0
  1440. package/examples/starter/node_modules/picomatch/lib/parse.js +1091 -0
  1441. package/examples/starter/node_modules/picomatch/lib/picomatch.js +342 -0
  1442. package/examples/starter/node_modules/picomatch/lib/scan.js +391 -0
  1443. package/examples/starter/node_modules/picomatch/lib/utils.js +64 -0
  1444. package/examples/starter/node_modules/picomatch/package.json +81 -0
  1445. package/examples/starter/node_modules/pluralize/LICENSE +21 -0
  1446. package/examples/starter/node_modules/pluralize/Readme.md +100 -0
  1447. package/examples/starter/node_modules/pluralize/package.json +40 -0
  1448. package/examples/starter/node_modules/pluralize/pluralize.js +503 -0
  1449. package/examples/starter/node_modules/rechoir/.travis.yml +24 -0
  1450. package/examples/starter/node_modules/rechoir/CHANGELOG +38 -0
  1451. package/examples/starter/node_modules/rechoir/LICENSE +22 -0
  1452. package/examples/starter/node_modules/rechoir/README.md +42 -0
  1453. package/examples/starter/node_modules/rechoir/index.js +59 -0
  1454. package/examples/starter/node_modules/rechoir/lib/extension.js +11 -0
  1455. package/examples/starter/node_modules/rechoir/lib/normalize.js +15 -0
  1456. package/examples/starter/node_modules/rechoir/lib/register.js +15 -0
  1457. package/examples/starter/node_modules/rechoir/package.json +88 -0
  1458. package/examples/starter/node_modules/resolve/.editorconfig +37 -0
  1459. package/examples/starter/node_modules/resolve/.eslintrc +65 -0
  1460. package/examples/starter/node_modules/resolve/.github/FUNDING.yml +12 -0
  1461. package/examples/starter/node_modules/resolve/.github/INCIDENT_RESPONSE_PROCESS.md +119 -0
  1462. package/examples/starter/node_modules/resolve/.github/THREAT_MODEL.md +74 -0
  1463. package/examples/starter/node_modules/resolve/LICENSE +21 -0
  1464. package/examples/starter/node_modules/resolve/SECURITY.md +11 -0
  1465. package/examples/starter/node_modules/resolve/async.js +3 -0
  1466. package/examples/starter/node_modules/resolve/bin/resolve +50 -0
  1467. package/examples/starter/node_modules/resolve/example/async.js +5 -0
  1468. package/examples/starter/node_modules/resolve/example/sync.js +3 -0
  1469. package/examples/starter/node_modules/resolve/index.js +6 -0
  1470. package/examples/starter/node_modules/resolve/lib/async.js +333 -0
  1471. package/examples/starter/node_modules/resolve/lib/caller.js +8 -0
  1472. package/examples/starter/node_modules/resolve/lib/core.js +12 -0
  1473. package/examples/starter/node_modules/resolve/lib/core.json +162 -0
  1474. package/examples/starter/node_modules/resolve/lib/homedir.js +24 -0
  1475. package/examples/starter/node_modules/resolve/lib/is-core.js +5 -0
  1476. package/examples/starter/node_modules/resolve/lib/node-modules-paths.js +45 -0
  1477. package/examples/starter/node_modules/resolve/lib/normalize-options.js +10 -0
  1478. package/examples/starter/node_modules/resolve/lib/sync.js +212 -0
  1479. package/examples/starter/node_modules/resolve/package.json +75 -0
  1480. package/examples/starter/node_modules/resolve/readme.markdown +301 -0
  1481. package/examples/starter/node_modules/resolve/sync.js +3 -0
  1482. package/examples/starter/node_modules/resolve/test/core.js +88 -0
  1483. package/examples/starter/node_modules/resolve/test/dotdot/abc/index.js +2 -0
  1484. package/examples/starter/node_modules/resolve/test/dotdot/index.js +1 -0
  1485. package/examples/starter/node_modules/resolve/test/dotdot.js +29 -0
  1486. package/examples/starter/node_modules/resolve/test/faulty_basedir.js +29 -0
  1487. package/examples/starter/node_modules/resolve/test/filter.js +34 -0
  1488. package/examples/starter/node_modules/resolve/test/filter_sync.js +33 -0
  1489. package/examples/starter/node_modules/resolve/test/home_paths.js +127 -0
  1490. package/examples/starter/node_modules/resolve/test/home_paths_sync.js +114 -0
  1491. package/examples/starter/node_modules/resolve/test/mock.js +315 -0
  1492. package/examples/starter/node_modules/resolve/test/mock_sync.js +214 -0
  1493. package/examples/starter/node_modules/resolve/test/module_dir/xmodules/aaa/index.js +1 -0
  1494. package/examples/starter/node_modules/resolve/test/module_dir/ymodules/aaa/index.js +1 -0
  1495. package/examples/starter/node_modules/resolve/test/module_dir/zmodules/bbb/main.js +1 -0
  1496. package/examples/starter/node_modules/resolve/test/module_dir/zmodules/bbb/package.json +3 -0
  1497. package/examples/starter/node_modules/resolve/test/module_dir.js +56 -0
  1498. package/examples/starter/node_modules/resolve/test/node-modules-paths.js +143 -0
  1499. package/examples/starter/node_modules/resolve/test/node_path/x/aaa/index.js +1 -0
  1500. package/examples/starter/node_modules/resolve/test/node_path/x/ccc/index.js +1 -0
  1501. package/examples/starter/node_modules/resolve/test/node_path/y/bbb/index.js +1 -0
  1502. package/examples/starter/node_modules/resolve/test/node_path/y/ccc/index.js +1 -0
  1503. package/examples/starter/node_modules/resolve/test/node_path.js +70 -0
  1504. package/examples/starter/node_modules/resolve/test/nonstring.js +9 -0
  1505. package/examples/starter/node_modules/resolve/test/pathfilter/deep_ref/main.js +0 -0
  1506. package/examples/starter/node_modules/resolve/test/pathfilter.js +75 -0
  1507. package/examples/starter/node_modules/resolve/test/precedence/aaa/index.js +1 -0
  1508. package/examples/starter/node_modules/resolve/test/precedence/aaa/main.js +1 -0
  1509. package/examples/starter/node_modules/resolve/test/precedence/aaa.js +1 -0
  1510. package/examples/starter/node_modules/resolve/test/precedence/bbb/main.js +1 -0
  1511. package/examples/starter/node_modules/resolve/test/precedence/bbb.js +1 -0
  1512. package/examples/starter/node_modules/resolve/test/precedence.js +23 -0
  1513. package/examples/starter/node_modules/resolve/test/resolver/baz/doom.js +0 -0
  1514. package/examples/starter/node_modules/resolve/test/resolver/baz/package.json +4 -0
  1515. package/examples/starter/node_modules/resolve/test/resolver/baz/quux.js +1 -0
  1516. package/examples/starter/node_modules/resolve/test/resolver/browser_field/a.js +0 -0
  1517. package/examples/starter/node_modules/resolve/test/resolver/browser_field/b.js +0 -0
  1518. package/examples/starter/node_modules/resolve/test/resolver/browser_field/package.json +5 -0
  1519. package/examples/starter/node_modules/resolve/test/resolver/cup.coffee +1 -0
  1520. package/examples/starter/node_modules/resolve/test/resolver/dot_main/index.js +1 -0
  1521. package/examples/starter/node_modules/resolve/test/resolver/dot_main/package.json +3 -0
  1522. package/examples/starter/node_modules/resolve/test/resolver/dot_slash_main/index.js +1 -0
  1523. package/examples/starter/node_modules/resolve/test/resolver/dot_slash_main/package.json +3 -0
  1524. package/examples/starter/node_modules/resolve/test/resolver/false_main/index.js +0 -0
  1525. package/examples/starter/node_modules/resolve/test/resolver/false_main/package.json +4 -0
  1526. package/examples/starter/node_modules/resolve/test/resolver/foo.js +1 -0
  1527. package/examples/starter/node_modules/resolve/test/resolver/incorrect_main/index.js +2 -0
  1528. package/examples/starter/node_modules/resolve/test/resolver/incorrect_main/package.json +3 -0
  1529. package/examples/starter/node_modules/resolve/test/resolver/invalid_main/package.json +7 -0
  1530. package/examples/starter/node_modules/resolve/test/resolver/mug.coffee +0 -0
  1531. package/examples/starter/node_modules/resolve/test/resolver/mug.js +0 -0
  1532. package/examples/starter/node_modules/resolve/test/resolver/multirepo/lerna.json +6 -0
  1533. package/examples/starter/node_modules/resolve/test/resolver/multirepo/package.json +20 -0
  1534. package/examples/starter/node_modules/resolve/test/resolver/multirepo/packages/package-a/index.js +35 -0
  1535. package/examples/starter/node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json +14 -0
  1536. package/examples/starter/node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js +0 -0
  1537. package/examples/starter/node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json +14 -0
  1538. package/examples/starter/node_modules/resolve/test/resolver/nested_symlinks/mylib/async.js +26 -0
  1539. package/examples/starter/node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json +15 -0
  1540. package/examples/starter/node_modules/resolve/test/resolver/nested_symlinks/mylib/sync.js +12 -0
  1541. package/examples/starter/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
  1542. package/examples/starter/node_modules/resolve/test/resolver/other_path/root.js +0 -0
  1543. package/examples/starter/node_modules/resolve/test/resolver/quux/foo/index.js +1 -0
  1544. package/examples/starter/node_modules/resolve/test/resolver/same_names/foo/index.js +1 -0
  1545. package/examples/starter/node_modules/resolve/test/resolver/same_names/foo.js +1 -0
  1546. package/examples/starter/node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js +0 -0
  1547. package/examples/starter/node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep +0 -0
  1548. package/examples/starter/node_modules/resolve/test/resolver/symlinked/package/bar.js +1 -0
  1549. package/examples/starter/node_modules/resolve/test/resolver/symlinked/package/package.json +3 -0
  1550. package/examples/starter/node_modules/resolve/test/resolver/without_basedir/main.js +5 -0
  1551. package/examples/starter/node_modules/resolve/test/resolver.js +597 -0
  1552. package/examples/starter/node_modules/resolve/test/resolver_sync.js +730 -0
  1553. package/examples/starter/node_modules/resolve/test/shadowed_core/node_modules/util/index.js +0 -0
  1554. package/examples/starter/node_modules/resolve/test/shadowed_core.js +54 -0
  1555. package/examples/starter/node_modules/resolve/test/subdirs.js +13 -0
  1556. package/examples/starter/node_modules/resolve/test/symlinks.js +176 -0
  1557. package/examples/starter/node_modules/resolve-from/index.js +47 -0
  1558. package/examples/starter/node_modules/resolve-from/license +9 -0
  1559. package/examples/starter/node_modules/resolve-from/package.json +34 -0
  1560. package/examples/starter/node_modules/resolve-from/readme.md +72 -0
  1561. package/examples/starter/node_modules/shelljs/CHANGELOG.md +942 -0
  1562. package/examples/starter/node_modules/shelljs/LICENSE +26 -0
  1563. package/examples/starter/node_modules/shelljs/README.md +835 -0
  1564. package/examples/starter/node_modules/shelljs/bin/shjs +48 -0
  1565. package/examples/starter/node_modules/shelljs/commands.js +29 -0
  1566. package/examples/starter/node_modules/shelljs/global.js +12 -0
  1567. package/examples/starter/node_modules/shelljs/make.js +57 -0
  1568. package/examples/starter/node_modules/shelljs/package.json +79 -0
  1569. package/examples/starter/node_modules/shelljs/plugin.js +16 -0
  1570. package/examples/starter/node_modules/shelljs/shell.js +156 -0
  1571. package/examples/starter/node_modules/shelljs/src/cat.js +76 -0
  1572. package/examples/starter/node_modules/shelljs/src/cd.js +39 -0
  1573. package/examples/starter/node_modules/shelljs/src/chmod.js +216 -0
  1574. package/examples/starter/node_modules/shelljs/src/common.js +468 -0
  1575. package/examples/starter/node_modules/shelljs/src/cp.js +304 -0
  1576. package/examples/starter/node_modules/shelljs/src/dirs.js +212 -0
  1577. package/examples/starter/node_modules/shelljs/src/echo.js +63 -0
  1578. package/examples/starter/node_modules/shelljs/src/error.js +15 -0
  1579. package/examples/starter/node_modules/shelljs/src/exec-child.js +39 -0
  1580. package/examples/starter/node_modules/shelljs/src/exec.js +226 -0
  1581. package/examples/starter/node_modules/shelljs/src/find.js +61 -0
  1582. package/examples/starter/node_modules/shelljs/src/grep.js +73 -0
  1583. package/examples/starter/node_modules/shelljs/src/head.js +107 -0
  1584. package/examples/starter/node_modules/shelljs/src/ln.js +73 -0
  1585. package/examples/starter/node_modules/shelljs/src/ls.js +141 -0
  1586. package/examples/starter/node_modules/shelljs/src/mkdir.js +100 -0
  1587. package/examples/starter/node_modules/shelljs/src/mv.js +118 -0
  1588. package/examples/starter/node_modules/shelljs/src/popd.js +1 -0
  1589. package/examples/starter/node_modules/shelljs/src/pushd.js +1 -0
  1590. package/examples/starter/node_modules/shelljs/src/pwd.js +16 -0
  1591. package/examples/starter/node_modules/shelljs/src/rm.js +201 -0
  1592. package/examples/starter/node_modules/shelljs/src/sed.js +87 -0
  1593. package/examples/starter/node_modules/shelljs/src/set.js +56 -0
  1594. package/examples/starter/node_modules/shelljs/src/sort.js +97 -0
  1595. package/examples/starter/node_modules/shelljs/src/tail.js +80 -0
  1596. package/examples/starter/node_modules/shelljs/src/tempdir.js +75 -0
  1597. package/examples/starter/node_modules/shelljs/src/test.js +85 -0
  1598. package/examples/starter/node_modules/shelljs/src/to.js +37 -0
  1599. package/examples/starter/node_modules/shelljs/src/toEnd.js +36 -0
  1600. package/examples/starter/node_modules/shelljs/src/touch.js +111 -0
  1601. package/examples/starter/node_modules/shelljs/src/uniq.js +92 -0
  1602. package/examples/starter/node_modules/shelljs/src/which.js +118 -0
  1603. package/examples/starter/node_modules/shelljs.exec/.editorconfig +10 -0
  1604. package/examples/starter/node_modules/shelljs.exec/.eslintrc.json +37 -0
  1605. package/examples/starter/node_modules/shelljs.exec/.travis.yml +9 -0
  1606. package/examples/starter/node_modules/shelljs.exec/LICENSE.md +24 -0
  1607. package/examples/starter/node_modules/shelljs.exec/README.md +115 -0
  1608. package/examples/starter/node_modules/shelljs.exec/appveyor.yml +17 -0
  1609. package/examples/starter/node_modules/shelljs.exec/benchmark-results-raw.txt +74 -0
  1610. package/examples/starter/node_modules/shelljs.exec/images/fast.png +0 -0
  1611. package/examples/starter/node_modules/shelljs.exec/images/linux.png +0 -0
  1612. package/examples/starter/node_modules/shelljs.exec/images/slow.png +0 -0
  1613. package/examples/starter/node_modules/shelljs.exec/images/table-linux.odt +0 -0
  1614. package/examples/starter/node_modules/shelljs.exec/images/table-windows.odt +0 -0
  1615. package/examples/starter/node_modules/shelljs.exec/images/windows.png +0 -0
  1616. package/examples/starter/node_modules/shelljs.exec/index.js +35 -0
  1617. package/examples/starter/node_modules/shelljs.exec/js/normaliseOptions/defaultOptions.js +6 -0
  1618. package/examples/starter/node_modules/shelljs.exec/js/normaliseOptions/index.js +34 -0
  1619. package/examples/starter/node_modules/shelljs.exec/js/normaliseOptions/index.spec.js +68 -0
  1620. package/examples/starter/node_modules/shelljs.exec/package.json +58 -0
  1621. package/examples/starter/node_modules/shelljs.exec/test/_js/testImports.js +37 -0
  1622. package/examples/starter/node_modules/shelljs.exec/test/benchmarks/benchmarks.spec.js +288 -0
  1623. package/examples/starter/node_modules/shelljs.exec/test/benchmarks/file1 +1 -0
  1624. package/examples/starter/node_modules/shelljs.exec/test/benchmarks/file2 +1 -0
  1625. package/examples/starter/node_modules/shelljs.exec/test/mocha.opts +6 -0
  1626. package/examples/starter/node_modules/shelljs.exec/test/shelljs.exec/shelljs.exec.spec.js +176 -0
  1627. package/examples/starter/node_modules/supports-color/browser.js +5 -0
  1628. package/examples/starter/node_modules/supports-color/index.js +135 -0
  1629. package/examples/starter/node_modules/supports-color/license +9 -0
  1630. package/examples/starter/node_modules/supports-color/package.json +53 -0
  1631. package/examples/starter/node_modules/supports-color/readme.md +76 -0
  1632. package/examples/starter/node_modules/supports-preserve-symlinks-flag/.eslintrc +14 -0
  1633. package/examples/starter/node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml +12 -0
  1634. package/examples/starter/node_modules/supports-preserve-symlinks-flag/.nycrc +9 -0
  1635. package/examples/starter/node_modules/supports-preserve-symlinks-flag/CHANGELOG.md +22 -0
  1636. package/examples/starter/node_modules/supports-preserve-symlinks-flag/LICENSE +21 -0
  1637. package/examples/starter/node_modules/supports-preserve-symlinks-flag/README.md +42 -0
  1638. package/examples/starter/node_modules/supports-preserve-symlinks-flag/browser.js +3 -0
  1639. package/examples/starter/node_modules/supports-preserve-symlinks-flag/index.js +9 -0
  1640. package/examples/starter/node_modules/supports-preserve-symlinks-flag/package.json +70 -0
  1641. package/examples/starter/node_modules/supports-preserve-symlinks-flag/test/index.js +29 -0
  1642. package/examples/starter/node_modules/to-regex-range/LICENSE +21 -0
  1643. package/examples/starter/node_modules/to-regex-range/README.md +305 -0
  1644. package/examples/starter/node_modules/to-regex-range/index.js +288 -0
  1645. package/examples/starter/node_modules/to-regex-range/package.json +88 -0
  1646. package/examples/starter/package.json +1 -1
  1647. package/examples/starter/src/index.ts +16 -1
  1648. package/examples/starter/src/plugins/stats/index.ts +19 -14
  1649. package/examples/starter/tsconfig.json +2 -3
  1650. package/package.json +1 -1
  1651. package/src/core.ts +17 -0
  1652. package/examples/starter/node_modules/@donkeylabs/server/README.md +0 -15
  1653. package/examples/starter/node_modules/@donkeylabs/server/cli/commands/dev.ts +0 -134
  1654. package/examples/starter/node_modules/@donkeylabs/server/cli/commands/generate.ts +0 -445
  1655. package/examples/starter/node_modules/@donkeylabs/server/cli/commands/init.ts +0 -205
  1656. package/examples/starter/node_modules/@donkeylabs/server/cli/commands/interactive.ts +0 -417
  1657. package/examples/starter/node_modules/@donkeylabs/server/cli/commands/plugin.ts +0 -192
  1658. package/examples/starter/node_modules/@donkeylabs/server/cli/commands/route.ts +0 -195
  1659. package/examples/starter/node_modules/@donkeylabs/server/cli/donkeylabs +0 -2
  1660. package/examples/starter/node_modules/@donkeylabs/server/cli/index.ts +0 -114
  1661. package/examples/starter/node_modules/@donkeylabs/server/docs/api-client.md +0 -520
  1662. package/examples/starter/node_modules/@donkeylabs/server/docs/cache.md +0 -437
  1663. package/examples/starter/node_modules/@donkeylabs/server/docs/cli.md +0 -353
  1664. package/examples/starter/node_modules/@donkeylabs/server/docs/core-services.md +0 -338
  1665. package/examples/starter/node_modules/@donkeylabs/server/docs/cron.md +0 -465
  1666. package/examples/starter/node_modules/@donkeylabs/server/docs/errors.md +0 -303
  1667. package/examples/starter/node_modules/@donkeylabs/server/docs/events.md +0 -460
  1668. package/examples/starter/node_modules/@donkeylabs/server/docs/handlers.md +0 -549
  1669. package/examples/starter/node_modules/@donkeylabs/server/docs/jobs.md +0 -556
  1670. package/examples/starter/node_modules/@donkeylabs/server/docs/logger.md +0 -316
  1671. package/examples/starter/node_modules/@donkeylabs/server/docs/middleware.md +0 -682
  1672. package/examples/starter/node_modules/@donkeylabs/server/docs/plugins.md +0 -524
  1673. package/examples/starter/node_modules/@donkeylabs/server/docs/project-structure.md +0 -493
  1674. package/examples/starter/node_modules/@donkeylabs/server/docs/rate-limiter.md +0 -525
  1675. package/examples/starter/node_modules/@donkeylabs/server/docs/router.md +0 -566
  1676. package/examples/starter/node_modules/@donkeylabs/server/docs/sse.md +0 -542
  1677. package/examples/starter/node_modules/@donkeylabs/server/docs/svelte-frontend.md +0 -324
  1678. package/examples/starter/node_modules/@donkeylabs/server/examples/starter/.@donkeylabs/server/context.d.ts +0 -37
  1679. package/examples/starter/node_modules/@donkeylabs/server/examples/starter/.@donkeylabs/server/registry.d.ts +0 -31
  1680. package/examples/starter/node_modules/@donkeylabs/server/examples/starter/.@donkeylabs/server/routes.ts +0 -21
  1681. package/examples/starter/node_modules/@donkeylabs/server/examples/starter/.env.example +0 -3
  1682. package/examples/starter/node_modules/@donkeylabs/server/examples/starter/.gitignore.template +0 -4
  1683. package/examples/starter/node_modules/@donkeylabs/server/examples/starter/CLAUDE.md +0 -144
  1684. package/examples/starter/node_modules/@donkeylabs/server/examples/starter/donkeylabs.config.ts +0 -6
  1685. package/examples/starter/node_modules/@donkeylabs/server/examples/starter/package.json +0 -20
  1686. package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/db.ts +0 -9
  1687. package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/index.ts +0 -32
  1688. package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/plugins/stats/index.ts +0 -93
  1689. package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/routes/health/index.ts +0 -5
  1690. package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/routes/health/ping/index.ts +0 -13
  1691. package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/routes/health/ping/models/model.ts +0 -23
  1692. package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/routes/health/ping/schema.ts +0 -14
  1693. package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/routes/health/ping/tests/integ.test.ts +0 -20
  1694. package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/routes/health/ping/tests/unit.test.ts +0 -20
  1695. package/examples/starter/node_modules/@donkeylabs/server/examples/starter/tsconfig.json +0 -27
  1696. package/examples/starter/node_modules/@donkeylabs/server/mcp/donkeylabs-mcp +0 -3238
  1697. package/examples/starter/node_modules/@donkeylabs/server/mcp/server.ts +0 -3238
  1698. package/examples/starter/node_modules/@donkeylabs/server/package.json +0 -77
  1699. package/examples/starter/node_modules/@donkeylabs/server/src/client/base.ts +0 -481
  1700. package/examples/starter/node_modules/@donkeylabs/server/src/client/index.ts +0 -150
  1701. package/examples/starter/node_modules/@donkeylabs/server/src/core/cache.ts +0 -183
  1702. package/examples/starter/node_modules/@donkeylabs/server/src/core/cron.ts +0 -255
  1703. package/examples/starter/node_modules/@donkeylabs/server/src/core/errors.ts +0 -320
  1704. package/examples/starter/node_modules/@donkeylabs/server/src/core/events.ts +0 -163
  1705. package/examples/starter/node_modules/@donkeylabs/server/src/core/index.ts +0 -94
  1706. package/examples/starter/node_modules/@donkeylabs/server/src/core/jobs.ts +0 -334
  1707. package/examples/starter/node_modules/@donkeylabs/server/src/core/logger.ts +0 -131
  1708. package/examples/starter/node_modules/@donkeylabs/server/src/core/rate-limiter.ts +0 -193
  1709. package/examples/starter/node_modules/@donkeylabs/server/src/core/sse.ts +0 -210
  1710. package/examples/starter/node_modules/@donkeylabs/server/src/core.ts +0 -428
  1711. package/examples/starter/node_modules/@donkeylabs/server/src/handlers.ts +0 -182
  1712. package/examples/starter/node_modules/@donkeylabs/server/src/harness.ts +0 -70
  1713. package/examples/starter/node_modules/@donkeylabs/server/src/index.ts +0 -51
  1714. package/examples/starter/node_modules/@donkeylabs/server/src/middleware.ts +0 -34
  1715. package/examples/starter/node_modules/@donkeylabs/server/src/registry.ts +0 -13
  1716. package/examples/starter/node_modules/@donkeylabs/server/src/router.ts +0 -172
  1717. package/examples/starter/node_modules/@donkeylabs/server/src/server.ts +0 -240
@@ -0,0 +1,396 @@
1
+ /*istanbul ignore start*/'use strict';
2
+
3
+ exports.__esModule = true;
4
+ exports. /*istanbul ignore end*/calcLineCount = calcLineCount;
5
+ /*istanbul ignore start*/exports. /*istanbul ignore end*/merge = merge;
6
+
7
+ var /*istanbul ignore start*/_create = require('./create') /*istanbul ignore end*/;
8
+
9
+ var /*istanbul ignore start*/_parse = require('./parse') /*istanbul ignore end*/;
10
+
11
+ var /*istanbul ignore start*/_array = require('../util/array') /*istanbul ignore end*/;
12
+
13
+ /*istanbul ignore start*/function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
14
+
15
+ /*istanbul ignore end*/function calcLineCount(hunk) {
16
+ /*istanbul ignore start*/var _calcOldNewLineCount = /*istanbul ignore end*/calcOldNewLineCount(hunk.lines),
17
+ oldLines = _calcOldNewLineCount.oldLines,
18
+ newLines = _calcOldNewLineCount.newLines;
19
+
20
+ if (oldLines !== undefined) {
21
+ hunk.oldLines = oldLines;
22
+ } else {
23
+ delete hunk.oldLines;
24
+ }
25
+
26
+ if (newLines !== undefined) {
27
+ hunk.newLines = newLines;
28
+ } else {
29
+ delete hunk.newLines;
30
+ }
31
+ }
32
+
33
+ function merge(mine, theirs, base) {
34
+ mine = loadPatch(mine, base);
35
+ theirs = loadPatch(theirs, base);
36
+
37
+ var ret = {};
38
+
39
+ // For index we just let it pass through as it doesn't have any necessary meaning.
40
+ // Leaving sanity checks on this to the API consumer that may know more about the
41
+ // meaning in their own context.
42
+ if (mine.index || theirs.index) {
43
+ ret.index = mine.index || theirs.index;
44
+ }
45
+
46
+ if (mine.newFileName || theirs.newFileName) {
47
+ if (!fileNameChanged(mine)) {
48
+ // No header or no change in ours, use theirs (and ours if theirs does not exist)
49
+ ret.oldFileName = theirs.oldFileName || mine.oldFileName;
50
+ ret.newFileName = theirs.newFileName || mine.newFileName;
51
+ ret.oldHeader = theirs.oldHeader || mine.oldHeader;
52
+ ret.newHeader = theirs.newHeader || mine.newHeader;
53
+ } else if (!fileNameChanged(theirs)) {
54
+ // No header or no change in theirs, use ours
55
+ ret.oldFileName = mine.oldFileName;
56
+ ret.newFileName = mine.newFileName;
57
+ ret.oldHeader = mine.oldHeader;
58
+ ret.newHeader = mine.newHeader;
59
+ } else {
60
+ // Both changed... figure it out
61
+ ret.oldFileName = selectField(ret, mine.oldFileName, theirs.oldFileName);
62
+ ret.newFileName = selectField(ret, mine.newFileName, theirs.newFileName);
63
+ ret.oldHeader = selectField(ret, mine.oldHeader, theirs.oldHeader);
64
+ ret.newHeader = selectField(ret, mine.newHeader, theirs.newHeader);
65
+ }
66
+ }
67
+
68
+ ret.hunks = [];
69
+
70
+ var mineIndex = 0,
71
+ theirsIndex = 0,
72
+ mineOffset = 0,
73
+ theirsOffset = 0;
74
+
75
+ while (mineIndex < mine.hunks.length || theirsIndex < theirs.hunks.length) {
76
+ var mineCurrent = mine.hunks[mineIndex] || { oldStart: Infinity },
77
+ theirsCurrent = theirs.hunks[theirsIndex] || { oldStart: Infinity };
78
+
79
+ if (hunkBefore(mineCurrent, theirsCurrent)) {
80
+ // This patch does not overlap with any of the others, yay.
81
+ ret.hunks.push(cloneHunk(mineCurrent, mineOffset));
82
+ mineIndex++;
83
+ theirsOffset += mineCurrent.newLines - mineCurrent.oldLines;
84
+ } else if (hunkBefore(theirsCurrent, mineCurrent)) {
85
+ // This patch does not overlap with any of the others, yay.
86
+ ret.hunks.push(cloneHunk(theirsCurrent, theirsOffset));
87
+ theirsIndex++;
88
+ mineOffset += theirsCurrent.newLines - theirsCurrent.oldLines;
89
+ } else {
90
+ // Overlap, merge as best we can
91
+ var mergedHunk = {
92
+ oldStart: Math.min(mineCurrent.oldStart, theirsCurrent.oldStart),
93
+ oldLines: 0,
94
+ newStart: Math.min(mineCurrent.newStart + mineOffset, theirsCurrent.oldStart + theirsOffset),
95
+ newLines: 0,
96
+ lines: []
97
+ };
98
+ mergeLines(mergedHunk, mineCurrent.oldStart, mineCurrent.lines, theirsCurrent.oldStart, theirsCurrent.lines);
99
+ theirsIndex++;
100
+ mineIndex++;
101
+
102
+ ret.hunks.push(mergedHunk);
103
+ }
104
+ }
105
+
106
+ return ret;
107
+ }
108
+
109
+ function loadPatch(param, base) {
110
+ if (typeof param === 'string') {
111
+ if (/^@@/m.test(param) || /^Index:/m.test(param)) {
112
+ return (/*istanbul ignore start*/(0, _parse.parsePatch) /*istanbul ignore end*/(param)[0]
113
+ );
114
+ }
115
+
116
+ if (!base) {
117
+ throw new Error('Must provide a base reference or pass in a patch');
118
+ }
119
+ return (/*istanbul ignore start*/(0, _create.structuredPatch) /*istanbul ignore end*/(undefined, undefined, base, param)
120
+ );
121
+ }
122
+
123
+ return param;
124
+ }
125
+
126
+ function fileNameChanged(patch) {
127
+ return patch.newFileName && patch.newFileName !== patch.oldFileName;
128
+ }
129
+
130
+ function selectField(index, mine, theirs) {
131
+ if (mine === theirs) {
132
+ return mine;
133
+ } else {
134
+ index.conflict = true;
135
+ return { mine: mine, theirs: theirs };
136
+ }
137
+ }
138
+
139
+ function hunkBefore(test, check) {
140
+ return test.oldStart < check.oldStart && test.oldStart + test.oldLines < check.oldStart;
141
+ }
142
+
143
+ function cloneHunk(hunk, offset) {
144
+ return {
145
+ oldStart: hunk.oldStart, oldLines: hunk.oldLines,
146
+ newStart: hunk.newStart + offset, newLines: hunk.newLines,
147
+ lines: hunk.lines
148
+ };
149
+ }
150
+
151
+ function mergeLines(hunk, mineOffset, mineLines, theirOffset, theirLines) {
152
+ // This will generally result in a conflicted hunk, but there are cases where the context
153
+ // is the only overlap where we can successfully merge the content here.
154
+ var mine = { offset: mineOffset, lines: mineLines, index: 0 },
155
+ their = { offset: theirOffset, lines: theirLines, index: 0 };
156
+
157
+ // Handle any leading content
158
+ insertLeading(hunk, mine, their);
159
+ insertLeading(hunk, their, mine);
160
+
161
+ // Now in the overlap content. Scan through and select the best changes from each.
162
+ while (mine.index < mine.lines.length && their.index < their.lines.length) {
163
+ var mineCurrent = mine.lines[mine.index],
164
+ theirCurrent = their.lines[their.index];
165
+
166
+ if ((mineCurrent[0] === '-' || mineCurrent[0] === '+') && (theirCurrent[0] === '-' || theirCurrent[0] === '+')) {
167
+ // Both modified ...
168
+ mutualChange(hunk, mine, their);
169
+ } else if (mineCurrent[0] === '+' && theirCurrent[0] === ' ') {
170
+ /*istanbul ignore start*/var _hunk$lines;
171
+
172
+ /*istanbul ignore end*/ // Mine inserted
173
+ /*istanbul ignore start*/(_hunk$lines = /*istanbul ignore end*/hunk.lines).push. /*istanbul ignore start*/apply /*istanbul ignore end*/( /*istanbul ignore start*/_hunk$lines /*istanbul ignore end*/, /*istanbul ignore start*/_toConsumableArray( /*istanbul ignore end*/collectChange(mine)));
174
+ } else if (theirCurrent[0] === '+' && mineCurrent[0] === ' ') {
175
+ /*istanbul ignore start*/var _hunk$lines2;
176
+
177
+ /*istanbul ignore end*/ // Theirs inserted
178
+ /*istanbul ignore start*/(_hunk$lines2 = /*istanbul ignore end*/hunk.lines).push. /*istanbul ignore start*/apply /*istanbul ignore end*/( /*istanbul ignore start*/_hunk$lines2 /*istanbul ignore end*/, /*istanbul ignore start*/_toConsumableArray( /*istanbul ignore end*/collectChange(their)));
179
+ } else if (mineCurrent[0] === '-' && theirCurrent[0] === ' ') {
180
+ // Mine removed or edited
181
+ removal(hunk, mine, their);
182
+ } else if (theirCurrent[0] === '-' && mineCurrent[0] === ' ') {
183
+ // Their removed or edited
184
+ removal(hunk, their, mine, true);
185
+ } else if (mineCurrent === theirCurrent) {
186
+ // Context identity
187
+ hunk.lines.push(mineCurrent);
188
+ mine.index++;
189
+ their.index++;
190
+ } else {
191
+ // Context mismatch
192
+ conflict(hunk, collectChange(mine), collectChange(their));
193
+ }
194
+ }
195
+
196
+ // Now push anything that may be remaining
197
+ insertTrailing(hunk, mine);
198
+ insertTrailing(hunk, their);
199
+
200
+ calcLineCount(hunk);
201
+ }
202
+
203
+ function mutualChange(hunk, mine, their) {
204
+ var myChanges = collectChange(mine),
205
+ theirChanges = collectChange(their);
206
+
207
+ if (allRemoves(myChanges) && allRemoves(theirChanges)) {
208
+ // Special case for remove changes that are supersets of one another
209
+ if ( /*istanbul ignore start*/(0, _array.arrayStartsWith) /*istanbul ignore end*/(myChanges, theirChanges) && skipRemoveSuperset(their, myChanges, myChanges.length - theirChanges.length)) {
210
+ /*istanbul ignore start*/var _hunk$lines3;
211
+
212
+ /*istanbul ignore end*/ /*istanbul ignore start*/(_hunk$lines3 = /*istanbul ignore end*/hunk.lines).push. /*istanbul ignore start*/apply /*istanbul ignore end*/( /*istanbul ignore start*/_hunk$lines3 /*istanbul ignore end*/, /*istanbul ignore start*/_toConsumableArray( /*istanbul ignore end*/myChanges));
213
+ return;
214
+ } else if ( /*istanbul ignore start*/(0, _array.arrayStartsWith) /*istanbul ignore end*/(theirChanges, myChanges) && skipRemoveSuperset(mine, theirChanges, theirChanges.length - myChanges.length)) {
215
+ /*istanbul ignore start*/var _hunk$lines4;
216
+
217
+ /*istanbul ignore end*/ /*istanbul ignore start*/(_hunk$lines4 = /*istanbul ignore end*/hunk.lines).push. /*istanbul ignore start*/apply /*istanbul ignore end*/( /*istanbul ignore start*/_hunk$lines4 /*istanbul ignore end*/, /*istanbul ignore start*/_toConsumableArray( /*istanbul ignore end*/theirChanges));
218
+ return;
219
+ }
220
+ } else if ( /*istanbul ignore start*/(0, _array.arrayEqual) /*istanbul ignore end*/(myChanges, theirChanges)) {
221
+ /*istanbul ignore start*/var _hunk$lines5;
222
+
223
+ /*istanbul ignore end*/ /*istanbul ignore start*/(_hunk$lines5 = /*istanbul ignore end*/hunk.lines).push. /*istanbul ignore start*/apply /*istanbul ignore end*/( /*istanbul ignore start*/_hunk$lines5 /*istanbul ignore end*/, /*istanbul ignore start*/_toConsumableArray( /*istanbul ignore end*/myChanges));
224
+ return;
225
+ }
226
+
227
+ conflict(hunk, myChanges, theirChanges);
228
+ }
229
+
230
+ function removal(hunk, mine, their, swap) {
231
+ var myChanges = collectChange(mine),
232
+ theirChanges = collectContext(their, myChanges);
233
+ if (theirChanges.merged) {
234
+ /*istanbul ignore start*/var _hunk$lines6;
235
+
236
+ /*istanbul ignore end*/ /*istanbul ignore start*/(_hunk$lines6 = /*istanbul ignore end*/hunk.lines).push. /*istanbul ignore start*/apply /*istanbul ignore end*/( /*istanbul ignore start*/_hunk$lines6 /*istanbul ignore end*/, /*istanbul ignore start*/_toConsumableArray( /*istanbul ignore end*/theirChanges.merged));
237
+ } else {
238
+ conflict(hunk, swap ? theirChanges : myChanges, swap ? myChanges : theirChanges);
239
+ }
240
+ }
241
+
242
+ function conflict(hunk, mine, their) {
243
+ hunk.conflict = true;
244
+ hunk.lines.push({
245
+ conflict: true,
246
+ mine: mine,
247
+ theirs: their
248
+ });
249
+ }
250
+
251
+ function insertLeading(hunk, insert, their) {
252
+ while (insert.offset < their.offset && insert.index < insert.lines.length) {
253
+ var line = insert.lines[insert.index++];
254
+ hunk.lines.push(line);
255
+ insert.offset++;
256
+ }
257
+ }
258
+ function insertTrailing(hunk, insert) {
259
+ while (insert.index < insert.lines.length) {
260
+ var line = insert.lines[insert.index++];
261
+ hunk.lines.push(line);
262
+ }
263
+ }
264
+
265
+ function collectChange(state) {
266
+ var ret = [],
267
+ operation = state.lines[state.index][0];
268
+ while (state.index < state.lines.length) {
269
+ var line = state.lines[state.index];
270
+
271
+ // Group additions that are immediately after subtractions and treat them as one "atomic" modify change.
272
+ if (operation === '-' && line[0] === '+') {
273
+ operation = '+';
274
+ }
275
+
276
+ if (operation === line[0]) {
277
+ ret.push(line);
278
+ state.index++;
279
+ } else {
280
+ break;
281
+ }
282
+ }
283
+
284
+ return ret;
285
+ }
286
+ function collectContext(state, matchChanges) {
287
+ var changes = [],
288
+ merged = [],
289
+ matchIndex = 0,
290
+ contextChanges = false,
291
+ conflicted = false;
292
+ while (matchIndex < matchChanges.length && state.index < state.lines.length) {
293
+ var change = state.lines[state.index],
294
+ match = matchChanges[matchIndex];
295
+
296
+ // Once we've hit our add, then we are done
297
+ if (match[0] === '+') {
298
+ break;
299
+ }
300
+
301
+ contextChanges = contextChanges || change[0] !== ' ';
302
+
303
+ merged.push(match);
304
+ matchIndex++;
305
+
306
+ // Consume any additions in the other block as a conflict to attempt
307
+ // to pull in the remaining context after this
308
+ if (change[0] === '+') {
309
+ conflicted = true;
310
+
311
+ while (change[0] === '+') {
312
+ changes.push(change);
313
+ change = state.lines[++state.index];
314
+ }
315
+ }
316
+
317
+ if (match.substr(1) === change.substr(1)) {
318
+ changes.push(change);
319
+ state.index++;
320
+ } else {
321
+ conflicted = true;
322
+ }
323
+ }
324
+
325
+ if ((matchChanges[matchIndex] || '')[0] === '+' && contextChanges) {
326
+ conflicted = true;
327
+ }
328
+
329
+ if (conflicted) {
330
+ return changes;
331
+ }
332
+
333
+ while (matchIndex < matchChanges.length) {
334
+ merged.push(matchChanges[matchIndex++]);
335
+ }
336
+
337
+ return {
338
+ merged: merged,
339
+ changes: changes
340
+ };
341
+ }
342
+
343
+ function allRemoves(changes) {
344
+ return changes.reduce(function (prev, change) {
345
+ return prev && change[0] === '-';
346
+ }, true);
347
+ }
348
+ function skipRemoveSuperset(state, removeChanges, delta) {
349
+ for (var i = 0; i < delta; i++) {
350
+ var changeContent = removeChanges[removeChanges.length - delta + i].substr(1);
351
+ if (state.lines[state.index + i] !== ' ' + changeContent) {
352
+ return false;
353
+ }
354
+ }
355
+
356
+ state.index += delta;
357
+ return true;
358
+ }
359
+
360
+ function calcOldNewLineCount(lines) {
361
+ var oldLines = 0;
362
+ var newLines = 0;
363
+
364
+ lines.forEach(function (line) {
365
+ if (typeof line !== 'string') {
366
+ var myCount = calcOldNewLineCount(line.mine);
367
+ var theirCount = calcOldNewLineCount(line.theirs);
368
+
369
+ if (oldLines !== undefined) {
370
+ if (myCount.oldLines === theirCount.oldLines) {
371
+ oldLines += myCount.oldLines;
372
+ } else {
373
+ oldLines = undefined;
374
+ }
375
+ }
376
+
377
+ if (newLines !== undefined) {
378
+ if (myCount.newLines === theirCount.newLines) {
379
+ newLines += myCount.newLines;
380
+ } else {
381
+ newLines = undefined;
382
+ }
383
+ }
384
+ } else {
385
+ if (newLines !== undefined && (line[0] === '+' || line[0] === ' ')) {
386
+ newLines++;
387
+ }
388
+ if (oldLines !== undefined && (line[0] === '-' || line[0] === ' ')) {
389
+ oldLines++;
390
+ }
391
+ }
392
+ });
393
+
394
+ return { oldLines: oldLines, newLines: newLines };
395
+ }
396
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wYXRjaC9tZXJnZS5qcyJdLCJuYW1lcyI6WyJjYWxjTGluZUNvdW50IiwibWVyZ2UiLCJodW5rIiwiY2FsY09sZE5ld0xpbmVDb3VudCIsImxpbmVzIiwib2xkTGluZXMiLCJuZXdMaW5lcyIsInVuZGVmaW5lZCIsIm1pbmUiLCJ0aGVpcnMiLCJiYXNlIiwibG9hZFBhdGNoIiwicmV0IiwiaW5kZXgiLCJuZXdGaWxlTmFtZSIsImZpbGVOYW1lQ2hhbmdlZCIsIm9sZEZpbGVOYW1lIiwib2xkSGVhZGVyIiwibmV3SGVhZGVyIiwic2VsZWN0RmllbGQiLCJodW5rcyIsIm1pbmVJbmRleCIsInRoZWlyc0luZGV4IiwibWluZU9mZnNldCIsInRoZWlyc09mZnNldCIsImxlbmd0aCIsIm1pbmVDdXJyZW50Iiwib2xkU3RhcnQiLCJJbmZpbml0eSIsInRoZWlyc0N1cnJlbnQiLCJodW5rQmVmb3JlIiwicHVzaCIsImNsb25lSHVuayIsIm1lcmdlZEh1bmsiLCJNYXRoIiwibWluIiwibmV3U3RhcnQiLCJtZXJnZUxpbmVzIiwicGFyYW0iLCJ0ZXN0IiwiRXJyb3IiLCJwYXRjaCIsImNvbmZsaWN0IiwiY2hlY2siLCJvZmZzZXQiLCJtaW5lTGlu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ckNvdW50Lm5ld0xpbmVzKSB7XG4gICAgICAgICAgbmV3TGluZXMgKz0gbXlDb3VudC5uZXdMaW5lcztcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICBuZXdMaW5lcyA9IHVuZGVmaW5lZDtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH0gZWxzZSB7XG4gICAgICBpZiAobmV3TGluZXMgIT09IHVuZGVmaW5lZCAmJiAobGluZVswXSA9PT0gJysnIHx8IGxpbmVbMF0gPT09ICcgJykpIHtcbiAgICAgICAgbmV3TGluZXMrKztcbiAgICAgIH1cbiAgICAgIGlmIChvbGRMaW5lcyAhPT0gdW5kZWZpbmVkICYmIChsaW5lWzBdID09PSAnLScgfHwgbGluZVswXSA9PT0gJyAnKSkge1xuICAgICAgICBvbGRMaW5lcysrO1xuICAgICAgfVxuICAgIH1cbiAgfSk7XG5cbiAgcmV0dXJuIHtvbGRMaW5lcywgbmV3TGluZXN9O1xufVxuIl19
@@ -0,0 +1,147 @@
1
+ /*istanbul ignore start*/'use strict';
2
+
3
+ exports.__esModule = true;
4
+ exports. /*istanbul ignore end*/parsePatch = parsePatch;
5
+ function parsePatch(uniDiff) {
6
+ /*istanbul ignore start*/var /*istanbul ignore end*/options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
7
+
8
+ var diffstr = uniDiff.split(/\r\n|[\n\v\f\r\x85]/),
9
+ delimiters = uniDiff.match(/\r\n|[\n\v\f\r\x85]/g) || [],
10
+ list = [],
11
+ i = 0;
12
+
13
+ function parseIndex() {
14
+ var index = {};
15
+ list.push(index);
16
+
17
+ // Parse diff metadata
18
+ while (i < diffstr.length) {
19
+ var line = diffstr[i];
20
+
21
+ // File header found, end parsing diff metadata
22
+ if (/^(\-\-\-|\+\+\+|@@)\s/.test(line)) {
23
+ break;
24
+ }
25
+
26
+ // Diff index
27
+ var header = /^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(line);
28
+ if (header) {
29
+ index.index = header[1];
30
+ }
31
+
32
+ i++;
33
+ }
34
+
35
+ // Parse file headers if they are defined. Unified diff requires them, but
36
+ // there's no technical issues to have an isolated hunk without file header
37
+ parseFileHeader(index);
38
+ parseFileHeader(index);
39
+
40
+ // Parse hunks
41
+ index.hunks = [];
42
+
43
+ while (i < diffstr.length) {
44
+ var _line = diffstr[i];
45
+
46
+ if (/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(_line)) {
47
+ break;
48
+ } else if (/^@@/.test(_line)) {
49
+ index.hunks.push(parseHunk());
50
+ } else if (_line && options.strict) {
51
+ // Ignore unexpected content unless in strict mode
52
+ throw new Error('Unknown line ' + (i + 1) + ' ' + JSON.stringify(_line));
53
+ } else {
54
+ i++;
55
+ }
56
+ }
57
+ }
58
+
59
+ // Parses the --- and +++ headers, if none are found, no lines
60
+ // are consumed.
61
+ function parseFileHeader(index) {
62
+ var fileHeader = /^(---|\+\+\+)\s+(.*)$/.exec(diffstr[i]);
63
+ if (fileHeader) {
64
+ var keyPrefix = fileHeader[1] === '---' ? 'old' : 'new';
65
+ var data = fileHeader[2].split('\t', 2);
66
+ var fileName = data[0].replace(/\\\\/g, '\\');
67
+ if (/^".*"$/.test(fileName)) {
68
+ fileName = fileName.substr(1, fileName.length - 2);
69
+ }
70
+ index[keyPrefix + 'FileName'] = fileName;
71
+ index[keyPrefix + 'Header'] = (data[1] || '').trim();
72
+
73
+ i++;
74
+ }
75
+ }
76
+
77
+ // Parses a hunk
78
+ // This assumes that we are at the start of a hunk.
79
+ function parseHunk() {
80
+ var chunkHeaderIndex = i,
81
+ chunkHeaderLine = diffstr[i++],
82
+ chunkHeader = chunkHeaderLine.split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/);
83
+
84
+ var hunk = {
85
+ oldStart: +chunkHeader[1],
86
+ oldLines: +chunkHeader[2] || 1,
87
+ newStart: +chunkHeader[3],
88
+ newLines: +chunkHeader[4] || 1,
89
+ lines: [],
90
+ linedelimiters: []
91
+ };
92
+
93
+ var addCount = 0,
94
+ removeCount = 0;
95
+ for (; i < diffstr.length; i++) {
96
+ // Lines starting with '---' could be mistaken for the "remove line" operation
97
+ // But they could be the header for the next file. Therefore prune such cases out.
98
+ if (diffstr[i].indexOf('--- ') === 0 && i + 2 < diffstr.length && diffstr[i + 1].indexOf('+++ ') === 0 && diffstr[i + 2].indexOf('@@') === 0) {
99
+ break;
100
+ }
101
+ var operation = diffstr[i].length == 0 && i != diffstr.length - 1 ? ' ' : diffstr[i][0];
102
+
103
+ if (operation === '+' || operation === '-' || operation === ' ' || operation === '\\') {
104
+ hunk.lines.push(diffstr[i]);
105
+ hunk.linedelimiters.push(delimiters[i] || '\n');
106
+
107
+ if (operation === '+') {
108
+ addCount++;
109
+ } else if (operation === '-') {
110
+ removeCount++;
111
+ } else if (operation === ' ') {
112
+ addCount++;
113
+ removeCount++;
114
+ }
115
+ } else {
116
+ break;
117
+ }
118
+ }
119
+
120
+ // Handle the empty block count case
121
+ if (!addCount && hunk.newLines === 1) {
122
+ hunk.newLines = 0;
123
+ }
124
+ if (!removeCount && hunk.oldLines === 1) {
125
+ hunk.oldLines = 0;
126
+ }
127
+
128
+ // Perform optional sanity checking
129
+ if (options.strict) {
130
+ if (addCount !== hunk.newLines) {
131
+ throw new Error('Added line count did not match for hunk at line ' + (chunkHeaderIndex + 1));
132
+ }
133
+ if (removeCount !== hunk.oldLines) {
134
+ throw new Error('Removed line count did not match for hunk at line ' + (chunkHeaderIndex + 1));
135
+ }
136
+ }
137
+
138
+ return hunk;
139
+ }
140
+
141
+ while (i < diffstr.length) {
142
+ parseIndex();
143
+ }
144
+
145
+ return list;
146
+ }
147
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wYXRjaC9wYXJzZS5qcyJdLCJuYW1lcyI6WyJwYXJzZVBhdGNoIiwidW5pRGlmZiIsIm9wdGlvbnMiLCJkaWZmc3RyIiwic3BsaX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QrKztcbiAgICAgICAgfSBlbHNlIGlmIChvcGVyYXRpb24gPT09ICctJykge1xuICAgICAgICAgIHJlbW92ZUNvdW50Kys7XG4gICAgICAgIH0gZWxzZSBpZiAob3BlcmF0aW9uID09PSAnICcpIHtcbiAgICAgICAgICBhZGRDb3VudCsrO1xuICAgICAgICAgIHJlbW92ZUNvdW50Kys7XG4gICAgICAgIH1cbiAgICAgIH0gZWxzZSB7XG4gICAgICAgIGJyZWFrO1xuICAgICAgfVxuICAgIH1cblxuICAgIC8vIEhhbmRsZSB0aGUgZW1wdHkgYmxvY2sgY291bnQgY2FzZVxuICAgIGlmICghYWRkQ291bnQgJiYgaHVuay5uZXdMaW5lcyA9PT0gMSkge1xuICAgICAgaHVuay5uZXdMaW5lcyA9IDA7XG4gICAgfVxuICAgIGlmICghcmVtb3ZlQ291bnQgJiYgaHVuay5vbGRMaW5lcyA9PT0gMSkge1xuICAgICAgaHVuay5vbGRMaW5lcyA9IDA7XG4gICAgfVxuXG4gICAgLy8gUGVyZm9ybSBvcHRpb25hbCBzYW5pdHkgY2hlY2tpbmdcbiAgICBpZiAob3B0aW9ucy5zdHJpY3QpIHtcbiAgICAgIGlmIChhZGRDb3VudCAhPT0gaHVuay5uZXdMaW5lcykge1xuICAgICAgICB0aHJvdyBuZXcgRXJyb3IoJ0FkZGVkIGxpbmUgY291bnQgZGlkIG5vdCBtYXRjaCBmb3IgaHVuayBhdCBsaW5lICcgKyAoY2h1bmtIZWFkZXJJbmRleCArIDEpKTtcbiAgICAgIH1cbiAgICAgIGlmIChyZW1vdmVDb3VudCAhPT0gaHVuay5vbGRMaW5lcykge1xuICAgICAgICB0aHJvdyBuZXcgRXJyb3IoJ1JlbW92ZWQgbGluZSBjb3VudCBkaWQgbm90IG1hdGNoIGZvciBodW5rIGF0IGxpbmUgJyArIChjaHVua0hlYWRlckluZGV4ICsgMSkpO1xuICAgICAgfVxuICAgIH1cblxuICAgIHJldHVybiBodW5rO1xuICB9XG5cbiAgd2hpbGUgKGkgPCBkaWZmc3RyLmxlbmd0aCkge1xuICAgIHBhcnNlSW5kZXgoKTtcbiAgfVxuXG4gIHJldHVybiBsaXN0O1xufVxuIl19
@@ -0,0 +1,27 @@
1
+ /*istanbul ignore start*/"use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports. /*istanbul ignore end*/arrayEqual = arrayEqual;
5
+ /*istanbul ignore start*/exports. /*istanbul ignore end*/arrayStartsWith = arrayStartsWith;
6
+ function arrayEqual(a, b) {
7
+ if (a.length !== b.length) {
8
+ return false;
9
+ }
10
+
11
+ return arrayStartsWith(a, b);
12
+ }
13
+
14
+ function arrayStartsWith(array, start) {
15
+ if (start.length > array.length) {
16
+ return false;
17
+ }
18
+
19
+ for (var i = 0; i < start.length; i++) {
20
+ if (start[i] !== array[i]) {
21
+ return false;
22
+ }
23
+ }
24
+
25
+ return true;
26
+ }
27
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy91dGlsL2FycmF5LmpzIl0sIm5hbWVzIjpbImFycmF5RXF1YWwiLCJhcnJheVN0YXJ0c1dpdGgiLCJhIiwiYiIsImxlbmd0aCIsImFycmF5Iiwic3RhcnQiLCJpIl0sIm1hcHBpbmdzIjoiOzs7Z0NBQWdCQSxVLEdBQUFBLFU7eURBUUFDLGUsR0FBQUEsZTtBQVJULFNBQVNELFVBQVQsQ0FBb0JFLENBQXBCLEVBQXVCQyxDQUF2QixFQUEwQjtBQUMvQixNQUFJRCxFQUFFRSxNQUFGLEtBQWFELEVBQUVDLE1BQW5CLEVBQTJCO0FBQ3pCLFdBQU8sS0FBUDtBQUNEOztBQUVELFNBQU9ILGdCQUFnQkMsQ0FBaEIsRUFBbUJDLENBQW5CLENBQVA7QUFDRDs7QUFFTSxTQUFTRixlQUFULENBQXlCSSxLQUF6QixFQUFnQ0MsS0FBaEMsRUFBdUM7QUFDNUMsTUFBSUEsTUFBTUYsTUFBTixHQUF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