@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.
- package/cli/commands/generate.ts +4 -4
- package/examples/starter/.@donkeylabs/server/client.ts +18 -0
- package/examples/starter/bun.lock +126 -2
- package/examples/starter/node_modules/@babel/code-frame/LICENSE +22 -0
- package/examples/starter/node_modules/@babel/code-frame/README.md +19 -0
- package/examples/starter/node_modules/@babel/code-frame/lib/index.js +216 -0
- package/examples/starter/node_modules/@babel/code-frame/lib/index.js.map +1 -0
- package/examples/starter/node_modules/@babel/code-frame/package.json +32 -0
- package/examples/starter/node_modules/@babel/helper-validator-identifier/LICENSE +22 -0
- package/examples/starter/node_modules/@babel/helper-validator-identifier/README.md +19 -0
- package/examples/starter/node_modules/@babel/helper-validator-identifier/lib/identifier.js +70 -0
- package/examples/starter/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
- package/examples/starter/node_modules/@babel/helper-validator-identifier/lib/index.js +57 -0
- package/examples/starter/node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
- package/examples/starter/node_modules/@babel/helper-validator-identifier/lib/keyword.js +35 -0
- package/examples/starter/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
- package/examples/starter/node_modules/@babel/helper-validator-identifier/package.json +31 -0
- package/examples/starter/node_modules/@types/prompts/LICENSE +21 -0
- package/examples/starter/node_modules/@types/prompts/README.md +15 -0
- package/examples/starter/node_modules/@types/prompts/index.d.ts +123 -0
- package/examples/starter/node_modules/@types/prompts/package.json +58 -0
- package/examples/starter/node_modules/ansi-styles/index.d.ts +345 -0
- package/examples/starter/node_modules/ansi-styles/index.js +163 -0
- package/examples/starter/node_modules/ansi-styles/license +9 -0
- package/examples/starter/node_modules/ansi-styles/package.json +56 -0
- package/examples/starter/node_modules/ansi-styles/readme.md +152 -0
- package/examples/starter/node_modules/argparse/CHANGELOG.md +216 -0
- package/examples/starter/node_modules/argparse/LICENSE +254 -0
- package/examples/starter/node_modules/argparse/README.md +84 -0
- package/examples/starter/node_modules/argparse/argparse.js +3707 -0
- package/examples/starter/node_modules/argparse/lib/sub.js +67 -0
- package/examples/starter/node_modules/argparse/lib/textwrap.js +440 -0
- package/examples/starter/node_modules/argparse/package.json +31 -0
- package/examples/starter/node_modules/balanced-match/.github/FUNDING.yml +2 -0
- package/examples/starter/node_modules/balanced-match/LICENSE.md +21 -0
- package/examples/starter/node_modules/balanced-match/README.md +97 -0
- package/examples/starter/node_modules/balanced-match/index.js +62 -0
- package/examples/starter/node_modules/balanced-match/package.json +48 -0
- package/examples/starter/node_modules/brace-expansion/LICENSE +21 -0
- package/examples/starter/node_modules/brace-expansion/README.md +129 -0
- package/examples/starter/node_modules/brace-expansion/index.js +201 -0
- package/examples/starter/node_modules/brace-expansion/package.json +50 -0
- package/examples/starter/node_modules/braces/LICENSE +21 -0
- package/examples/starter/node_modules/braces/README.md +586 -0
- package/examples/starter/node_modules/braces/index.js +170 -0
- package/examples/starter/node_modules/braces/lib/compile.js +60 -0
- package/examples/starter/node_modules/braces/lib/constants.js +57 -0
- package/examples/starter/node_modules/braces/lib/expand.js +113 -0
- package/examples/starter/node_modules/braces/lib/parse.js +331 -0
- package/examples/starter/node_modules/braces/lib/stringify.js +32 -0
- package/examples/starter/node_modules/braces/lib/utils.js +122 -0
- package/examples/starter/node_modules/braces/package.json +77 -0
- package/examples/starter/node_modules/callsites/index.d.ts +96 -0
- package/examples/starter/node_modules/callsites/index.js +13 -0
- package/examples/starter/node_modules/callsites/license +9 -0
- package/examples/starter/node_modules/callsites/package.json +39 -0
- package/examples/starter/node_modules/callsites/readme.md +48 -0
- package/examples/starter/node_modules/chalk/index.d.ts +415 -0
- package/examples/starter/node_modules/chalk/license +9 -0
- package/examples/starter/node_modules/chalk/package.json +68 -0
- package/examples/starter/node_modules/chalk/readme.md +341 -0
- package/examples/starter/node_modules/chalk/source/index.js +229 -0
- package/examples/starter/node_modules/chalk/source/templates.js +134 -0
- package/examples/starter/node_modules/chalk/source/util.js +39 -0
- package/examples/starter/node_modules/color-convert/CHANGELOG.md +54 -0
- package/examples/starter/node_modules/color-convert/LICENSE +21 -0
- package/examples/starter/node_modules/color-convert/README.md +68 -0
- package/examples/starter/node_modules/color-convert/conversions.js +839 -0
- package/examples/starter/node_modules/color-convert/index.js +81 -0
- package/examples/starter/node_modules/color-convert/package.json +48 -0
- package/examples/starter/node_modules/color-convert/route.js +97 -0
- package/examples/starter/node_modules/color-name/LICENSE +8 -0
- package/examples/starter/node_modules/color-name/README.md +11 -0
- package/examples/starter/node_modules/color-name/index.js +152 -0
- package/examples/starter/node_modules/color-name/package.json +28 -0
- package/examples/starter/node_modules/concat-map/.travis.yml +4 -0
- package/examples/starter/node_modules/concat-map/LICENSE +18 -0
- package/examples/starter/node_modules/concat-map/README.markdown +62 -0
- package/examples/starter/node_modules/concat-map/example/map.js +6 -0
- package/examples/starter/node_modules/concat-map/index.js +13 -0
- package/examples/starter/node_modules/concat-map/package.json +43 -0
- package/examples/starter/node_modules/concat-map/test/map.js +39 -0
- package/examples/starter/node_modules/cosmiconfig/LICENSE +22 -0
- package/examples/starter/node_modules/cosmiconfig/README.md +782 -0
- package/examples/starter/node_modules/cosmiconfig/dist/Explorer.d.ts +2 -0
- package/examples/starter/node_modules/cosmiconfig/dist/Explorer.d.ts.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/Explorer.js +170 -0
- package/examples/starter/node_modules/cosmiconfig/dist/Explorer.js.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/ExplorerBase.d.ts +2 -0
- package/examples/starter/node_modules/cosmiconfig/dist/ExplorerBase.d.ts.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/ExplorerBase.js +126 -0
- package/examples/starter/node_modules/cosmiconfig/dist/ExplorerBase.js.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/ExplorerSync.d.ts +2 -0
- package/examples/starter/node_modules/cosmiconfig/dist/ExplorerSync.d.ts.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/ExplorerSync.js +184 -0
- package/examples/starter/node_modules/cosmiconfig/dist/ExplorerSync.js.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/cacheWrapper.d.ts +5 -0
- package/examples/starter/node_modules/cosmiconfig/dist/cacheWrapper.d.ts.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/cacheWrapper.js +32 -0
- package/examples/starter/node_modules/cosmiconfig/dist/cacheWrapper.js.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/canUseDynamicImport.d.ts +3 -0
- package/examples/starter/node_modules/cosmiconfig/dist/canUseDynamicImport.d.ts.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/canUseDynamicImport.js +23 -0
- package/examples/starter/node_modules/cosmiconfig/dist/canUseDynamicImport.js.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/defaults.d.ts +25 -0
- package/examples/starter/node_modules/cosmiconfig/dist/defaults.d.ts.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/defaults.js +105 -0
- package/examples/starter/node_modules/cosmiconfig/dist/defaults.js.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/getDirectory.d.ts +4 -0
- package/examples/starter/node_modules/cosmiconfig/dist/getDirectory.d.ts.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/getDirectory.js +38 -0
- package/examples/starter/node_modules/cosmiconfig/dist/getDirectory.js.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/getPropertyByPath.d.ts +5 -0
- package/examples/starter/node_modules/cosmiconfig/dist/getPropertyByPath.d.ts.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/getPropertyByPath.js +28 -0
- package/examples/starter/node_modules/cosmiconfig/dist/getPropertyByPath.js.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/index.d.ts +6 -0
- package/examples/starter/node_modules/cosmiconfig/dist/index.d.ts.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/index.js +148 -0
- package/examples/starter/node_modules/cosmiconfig/dist/index.js.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/loaders.d.ts +8 -0
- package/examples/starter/node_modules/cosmiconfig/dist/loaders.d.ts.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/loaders.js +148 -0
- package/examples/starter/node_modules/cosmiconfig/dist/loaders.js.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/merge.d.ts +9 -0
- package/examples/starter/node_modules/cosmiconfig/dist/merge.d.ts.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/merge.js +40 -0
- package/examples/starter/node_modules/cosmiconfig/dist/merge.js.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/readFile.d.ts +7 -0
- package/examples/starter/node_modules/cosmiconfig/dist/readFile.d.ts.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/readFile.js +56 -0
- package/examples/starter/node_modules/cosmiconfig/dist/readFile.js.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/types.d.ts +98 -0
- package/examples/starter/node_modules/cosmiconfig/dist/types.d.ts.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/types.js +3 -0
- package/examples/starter/node_modules/cosmiconfig/dist/types.js.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/util.d.ts +2 -0
- package/examples/starter/node_modules/cosmiconfig/dist/util.d.ts.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/dist/util.js +99 -0
- package/examples/starter/node_modules/cosmiconfig/dist/util.js.map +1 -0
- package/examples/starter/node_modules/cosmiconfig/package.json +102 -0
- package/examples/starter/node_modules/diff/CONTRIBUTING.md +39 -0
- package/examples/starter/node_modules/diff/LICENSE +31 -0
- package/examples/starter/node_modules/diff/README.md +211 -0
- package/examples/starter/node_modules/diff/dist/diff.js +1843 -0
- package/examples/starter/node_modules/diff/dist/diff.min.js +416 -0
- package/examples/starter/node_modules/diff/lib/convert/dmp.js +24 -0
- package/examples/starter/node_modules/diff/lib/convert/xml.js +35 -0
- package/examples/starter/node_modules/diff/lib/diff/array.js +24 -0
- package/examples/starter/node_modules/diff/lib/diff/base.js +235 -0
- package/examples/starter/node_modules/diff/lib/diff/character.js +17 -0
- package/examples/starter/node_modules/diff/lib/diff/css.js +21 -0
- package/examples/starter/node_modules/diff/lib/diff/json.js +108 -0
- package/examples/starter/node_modules/diff/lib/diff/line.js +50 -0
- package/examples/starter/node_modules/diff/lib/diff/sentence.js +21 -0
- package/examples/starter/node_modules/diff/lib/diff/word.js +70 -0
- package/examples/starter/node_modules/diff/lib/index.js +74 -0
- package/examples/starter/node_modules/diff/lib/patch/apply.js +180 -0
- package/examples/starter/node_modules/diff/lib/patch/create.js +148 -0
- package/examples/starter/node_modules/diff/lib/patch/merge.js +396 -0
- package/examples/starter/node_modules/diff/lib/patch/parse.js +147 -0
- package/examples/starter/node_modules/diff/lib/util/array.js +27 -0
- package/examples/starter/node_modules/diff/lib/util/distance-iterator.js +47 -0
- package/examples/starter/node_modules/diff/lib/util/params.js +18 -0
- package/examples/starter/node_modules/diff/package.json +67 -0
- package/examples/starter/node_modules/diff/release-notes.md +247 -0
- package/examples/starter/node_modules/diff/runtime.js +3 -0
- package/examples/starter/node_modules/diff/yarn.lock +5729 -0
- package/examples/starter/node_modules/dotenv/CHANGELOG.md +598 -0
- package/examples/starter/node_modules/dotenv/LICENSE +23 -0
- package/examples/starter/node_modules/dotenv/README-es.md +405 -0
- package/examples/starter/node_modules/dotenv/README.md +692 -0
- package/examples/starter/node_modules/dotenv/SECURITY.md +1 -0
- package/examples/starter/node_modules/dotenv/config.d.ts +1 -0
- package/examples/starter/node_modules/dotenv/config.js +9 -0
- package/examples/starter/node_modules/dotenv/lib/cli-options.js +17 -0
- package/examples/starter/node_modules/dotenv/lib/env-options.js +28 -0
- package/examples/starter/node_modules/dotenv/lib/main.d.ts +179 -0
- package/examples/starter/node_modules/dotenv/lib/main.js +434 -0
- package/examples/starter/node_modules/dotenv/package.json +62 -0
- package/examples/starter/node_modules/dotenv-expand/CHANGELOG.md +177 -0
- package/examples/starter/node_modules/dotenv-expand/LICENSE +24 -0
- package/examples/starter/node_modules/dotenv-expand/README.md +174 -0
- package/examples/starter/node_modules/dotenv-expand/config.d.ts +1 -0
- package/examples/starter/node_modules/dotenv-expand/config.js +13 -0
- package/examples/starter/node_modules/dotenv-expand/lib/main.d.ts +50 -0
- package/examples/starter/node_modules/dotenv-expand/lib/main.js +98 -0
- package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/CHANGELOG.md +520 -0
- package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/LICENSE +23 -0
- package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/README-es.md +411 -0
- package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/README.md +645 -0
- package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/SECURITY.md +1 -0
- package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/config.d.ts +1 -0
- package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/config.js +9 -0
- package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/lib/cli-options.js +17 -0
- package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/lib/env-options.js +28 -0
- package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/lib/main.d.ts +162 -0
- package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/lib/main.js +386 -0
- package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/package.json +62 -0
- package/examples/starter/node_modules/dotenv-expand/package.json +56 -0
- package/examples/starter/node_modules/env-paths/index.d.ts +101 -0
- package/examples/starter/node_modules/env-paths/index.js +74 -0
- package/examples/starter/node_modules/env-paths/license +9 -0
- package/examples/starter/node_modules/env-paths/package.json +45 -0
- package/examples/starter/node_modules/env-paths/readme.md +115 -0
- package/examples/starter/node_modules/error-ex/LICENSE +21 -0
- package/examples/starter/node_modules/error-ex/README.md +144 -0
- package/examples/starter/node_modules/error-ex/index.js +141 -0
- package/examples/starter/node_modules/error-ex/package.json +46 -0
- package/examples/starter/node_modules/escape-string-regexp/index.js +11 -0
- package/examples/starter/node_modules/escape-string-regexp/license +21 -0
- package/examples/starter/node_modules/escape-string-regexp/package.json +41 -0
- package/examples/starter/node_modules/escape-string-regexp/readme.md +27 -0
- package/examples/starter/node_modules/fill-range/LICENSE +21 -0
- package/examples/starter/node_modules/fill-range/README.md +237 -0
- package/examples/starter/node_modules/fill-range/index.js +248 -0
- package/examples/starter/node_modules/fill-range/package.json +74 -0
- package/examples/starter/node_modules/fs.realpath/LICENSE +43 -0
- package/examples/starter/node_modules/fs.realpath/README.md +33 -0
- package/examples/starter/node_modules/fs.realpath/index.js +66 -0
- package/examples/starter/node_modules/fs.realpath/old.js +303 -0
- package/examples/starter/node_modules/fs.realpath/package.json +26 -0
- package/examples/starter/node_modules/git-diff/.editorconfig +10 -0
- package/examples/starter/node_modules/git-diff/.eslintrc.json +42 -0
- package/examples/starter/node_modules/git-diff/.travis.yml +9 -0
- package/examples/starter/node_modules/git-diff/LICENSE.md +24 -0
- package/examples/starter/node_modules/git-diff/README.md +218 -0
- package/examples/starter/node_modules/git-diff/appveyor.yml +17 -0
- package/examples/starter/node_modules/git-diff/async.js +14 -0
- package/examples/starter/node_modules/git-diff/config.js +8 -0
- package/examples/starter/node_modules/git-diff/diffs.png +0 -0
- package/examples/starter/node_modules/git-diff/js/_shared/defaultOptions.js +10 -0
- package/examples/starter/node_modules/git-diff/js/gitDiffFake/color.js +14 -0
- package/examples/starter/node_modules/git-diff/js/gitDiffFake/index.js +10 -0
- package/examples/starter/node_modules/git-diff/js/gitDiffFake/index.spec.js +74 -0
- package/examples/starter/node_modules/git-diff/js/gitDiffFake/lineDiffFake/index.js +56 -0
- package/examples/starter/node_modules/git-diff/js/gitDiffFake/mostCommonLineEnding.js +21 -0
- package/examples/starter/node_modules/git-diff/js/gitDiffFake/wordDiffFake/index.js +44 -0
- package/examples/starter/node_modules/git-diff/js/gitDiffReal/bugFixes.spec.js +25 -0
- package/examples/starter/node_modules/git-diff/js/gitDiffReal/generateDiff/index.js +105 -0
- package/examples/starter/node_modules/git-diff/js/gitDiffReal/generateDiffNoRepo/index.js +27 -0
- package/examples/starter/node_modules/git-diff/js/gitDiffReal/index.js +16 -0
- package/examples/starter/node_modules/git-diff/js/gitDiffReal/index.spec.js +222 -0
- package/examples/starter/node_modules/git-diff/js/gitDiffReal/keepIt.js +40 -0
- package/examples/starter/node_modules/git-diff/js/normaliseOptions/index.js +63 -0
- package/examples/starter/node_modules/git-diff/js/normaliseOptions/index.spec.js +93 -0
- package/examples/starter/node_modules/git-diff/js/validate/index.js +11 -0
- package/examples/starter/node_modules/git-diff/js/validate/index.spec.js +30 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/index.js +228 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/index.js.flow +93 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/license +9 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/index.js +165 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/license +9 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/CHANGELOG.md +54 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/LICENSE +21 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/README.md +68 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/conversions.js +868 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/index.js +78 -0
- 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
- 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
- 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
- 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
- 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
- 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
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/package.json +46 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/route.js +97 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/package.json +56 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/readme.md +147 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/browser.js +5 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/index.js +131 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/license +9 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/index.js +8 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/license +9 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/package.json +44 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/readme.md +70 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/package.json +53 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/readme.md +66 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/package.json +71 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/readme.md +314 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/templates.js +128 -0
- package/examples/starter/node_modules/git-diff/node_modules/chalk/types/index.d.ts +97 -0
- package/examples/starter/node_modules/git-diff/package.json +75 -0
- package/examples/starter/node_modules/git-diff/server.bootstrap.js +4 -0
- package/examples/starter/node_modules/git-diff/sync.js +24 -0
- package/examples/starter/node_modules/git-diff/test/_js/testImports.js +31 -0
- package/examples/starter/node_modules/git-diff/test/data/index.js +29 -0
- package/examples/starter/node_modules/git-diff/test/data/lineDiffVim.txt +13 -0
- package/examples/starter/node_modules/git-diff/test/data/shortstatReal.txt +1 -0
- package/examples/starter/node_modules/git-diff/test/data/str1.txt +9 -0
- package/examples/starter/node_modules/git-diff/test/data/str2.txt +9 -0
- package/examples/starter/node_modules/git-diff/test/data/wordDiffFake.txt +10 -0
- package/examples/starter/node_modules/git-diff/test/data/wordDiffReal.txt +10 -0
- package/examples/starter/node_modules/git-diff/test/examples/examples.spec.js +105 -0
- package/examples/starter/node_modules/git-diff/test/examples/newStr.txt +9 -0
- package/examples/starter/node_modules/git-diff/test/examples/oldStr.txt +9 -0
- package/examples/starter/node_modules/git-diff/test/gitDiffAsync/gitDiffAsync.spec.js +50 -0
- package/examples/starter/node_modules/git-diff/test/gitDiffSync/fake.spec.js +126 -0
- package/examples/starter/node_modules/git-diff/test/gitDiffSync/misc.spec.js +62 -0
- package/examples/starter/node_modules/git-diff/test/gitDiffSync/real.spec.js +206 -0
- package/examples/starter/node_modules/git-diff/test/mocha.opts +8 -0
- package/examples/starter/node_modules/git-diff/test/test.bootstrap.js +1 -0
- package/examples/starter/node_modules/git-diff/top.png +0 -0
- package/examples/starter/node_modules/git-diff/yarn.lock +1829 -0
- package/examples/starter/node_modules/glob/LICENSE +21 -0
- package/examples/starter/node_modules/glob/README.md +378 -0
- package/examples/starter/node_modules/glob/common.js +238 -0
- package/examples/starter/node_modules/glob/glob.js +790 -0
- package/examples/starter/node_modules/glob/package.json +55 -0
- package/examples/starter/node_modules/glob/sync.js +486 -0
- package/examples/starter/node_modules/has-flag/index.d.ts +39 -0
- package/examples/starter/node_modules/has-flag/index.js +8 -0
- package/examples/starter/node_modules/has-flag/license +9 -0
- package/examples/starter/node_modules/has-flag/package.json +46 -0
- package/examples/starter/node_modules/has-flag/readme.md +89 -0
- package/examples/starter/node_modules/import-fresh/index.d.ts +30 -0
- package/examples/starter/node_modules/import-fresh/index.js +34 -0
- package/examples/starter/node_modules/import-fresh/license +9 -0
- package/examples/starter/node_modules/import-fresh/package.json +48 -0
- package/examples/starter/node_modules/import-fresh/readme.md +54 -0
- package/examples/starter/node_modules/inflight/LICENSE +15 -0
- package/examples/starter/node_modules/inflight/README.md +37 -0
- package/examples/starter/node_modules/inflight/inflight.js +54 -0
- package/examples/starter/node_modules/inflight/package.json +29 -0
- package/examples/starter/node_modules/interpret/CHANGELOG +115 -0
- package/examples/starter/node_modules/interpret/LICENSE +22 -0
- package/examples/starter/node_modules/interpret/README.md +187 -0
- package/examples/starter/node_modules/interpret/index.js +168 -0
- package/examples/starter/node_modules/interpret/mjs-stub.js +1 -0
- package/examples/starter/node_modules/interpret/package.json +75 -0
- package/examples/starter/node_modules/is-arrayish/.editorconfig +18 -0
- package/examples/starter/node_modules/is-arrayish/.istanbul.yml +4 -0
- package/examples/starter/node_modules/is-arrayish/.travis.yml +17 -0
- package/examples/starter/node_modules/is-arrayish/LICENSE +21 -0
- package/examples/starter/node_modules/is-arrayish/README.md +16 -0
- package/examples/starter/node_modules/is-arrayish/index.js +10 -0
- package/examples/starter/node_modules/is-arrayish/package.json +34 -0
- package/examples/starter/node_modules/is-core-module/.eslintrc +18 -0
- package/examples/starter/node_modules/is-core-module/.nycrc +9 -0
- package/examples/starter/node_modules/is-core-module/CHANGELOG.md +218 -0
- package/examples/starter/node_modules/is-core-module/LICENSE +20 -0
- package/examples/starter/node_modules/is-core-module/README.md +40 -0
- package/examples/starter/node_modules/is-core-module/core.json +162 -0
- package/examples/starter/node_modules/is-core-module/index.js +69 -0
- package/examples/starter/node_modules/is-core-module/package.json +76 -0
- package/examples/starter/node_modules/is-core-module/test/index.js +157 -0
- package/examples/starter/node_modules/is-number/LICENSE +21 -0
- package/examples/starter/node_modules/is-number/README.md +187 -0
- package/examples/starter/node_modules/is-number/index.js +18 -0
- package/examples/starter/node_modules/is-number/package.json +82 -0
- package/examples/starter/node_modules/js-tokens/CHANGELOG.md +151 -0
- package/examples/starter/node_modules/js-tokens/LICENSE +21 -0
- package/examples/starter/node_modules/js-tokens/README.md +240 -0
- package/examples/starter/node_modules/js-tokens/index.js +23 -0
- package/examples/starter/node_modules/js-tokens/package.json +30 -0
- package/examples/starter/node_modules/js-yaml/LICENSE +21 -0
- package/examples/starter/node_modules/js-yaml/README.md +247 -0
- package/examples/starter/node_modules/js-yaml/bin/js-yaml.js +126 -0
- package/examples/starter/node_modules/js-yaml/dist/js-yaml.js +3880 -0
- package/examples/starter/node_modules/js-yaml/dist/js-yaml.min.js +2 -0
- package/examples/starter/node_modules/js-yaml/dist/js-yaml.mjs +3856 -0
- package/examples/starter/node_modules/js-yaml/index.js +47 -0
- package/examples/starter/node_modules/js-yaml/lib/common.js +59 -0
- package/examples/starter/node_modules/js-yaml/lib/dumper.js +965 -0
- package/examples/starter/node_modules/js-yaml/lib/exception.js +55 -0
- package/examples/starter/node_modules/js-yaml/lib/loader.js +1733 -0
- package/examples/starter/node_modules/js-yaml/lib/schema/core.js +11 -0
- package/examples/starter/node_modules/js-yaml/lib/schema/default.js +22 -0
- package/examples/starter/node_modules/js-yaml/lib/schema/failsafe.js +17 -0
- package/examples/starter/node_modules/js-yaml/lib/schema/json.js +19 -0
- package/examples/starter/node_modules/js-yaml/lib/schema.js +121 -0
- package/examples/starter/node_modules/js-yaml/lib/snippet.js +101 -0
- package/examples/starter/node_modules/js-yaml/lib/type/binary.js +125 -0
- package/examples/starter/node_modules/js-yaml/lib/type/bool.js +35 -0
- package/examples/starter/node_modules/js-yaml/lib/type/float.js +97 -0
- package/examples/starter/node_modules/js-yaml/lib/type/int.js +156 -0
- package/examples/starter/node_modules/js-yaml/lib/type/map.js +8 -0
- package/examples/starter/node_modules/js-yaml/lib/type/merge.js +12 -0
- package/examples/starter/node_modules/js-yaml/lib/type/null.js +35 -0
- package/examples/starter/node_modules/js-yaml/lib/type/omap.js +44 -0
- package/examples/starter/node_modules/js-yaml/lib/type/pairs.js +53 -0
- package/examples/starter/node_modules/js-yaml/lib/type/seq.js +8 -0
- package/examples/starter/node_modules/js-yaml/lib/type/set.js +29 -0
- package/examples/starter/node_modules/js-yaml/lib/type/str.js +8 -0
- package/examples/starter/node_modules/js-yaml/lib/type/timestamp.js +88 -0
- package/examples/starter/node_modules/js-yaml/lib/type.js +66 -0
- package/examples/starter/node_modules/js-yaml/package.json +66 -0
- package/examples/starter/node_modules/json-parse-even-better-errors/CHANGELOG.md +50 -0
- package/examples/starter/node_modules/json-parse-even-better-errors/LICENSE.md +25 -0
- package/examples/starter/node_modules/json-parse-even-better-errors/README.md +96 -0
- package/examples/starter/node_modules/json-parse-even-better-errors/index.js +121 -0
- package/examples/starter/node_modules/json-parse-even-better-errors/package.json +33 -0
- package/examples/starter/node_modules/kysely-codegen/.cspell.json +97 -0
- package/examples/starter/node_modules/kysely-codegen/.github/FUNDING.yml +1 -0
- package/examples/starter/node_modules/kysely-codegen/.kysely-codegenrc.json +3 -0
- package/examples/starter/node_modules/kysely-codegen/.ncurc.json +3 -0
- package/examples/starter/node_modules/kysely-codegen/.prettierignore +1 -0
- package/examples/starter/node_modules/kysely-codegen/LICENSE +18 -0
- package/examples/starter/node_modules/kysely-codegen/README.md +456 -0
- package/examples/starter/node_modules/kysely-codegen/assets/kysely-codegen-logo.svg +28 -0
- package/examples/starter/node_modules/kysely-codegen/dist/cli/bin.d.ts +2 -0
- package/examples/starter/node_modules/kysely-codegen/dist/cli/bin.js +6 -0
- package/examples/starter/node_modules/kysely-codegen/dist/cli/bin.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/cli/cli.d.ts +17 -0
- package/examples/starter/node_modules/kysely-codegen/dist/cli/cli.js +246 -0
- package/examples/starter/node_modules/kysely-codegen/dist/cli/cli.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/cli/config-error.d.ts +6 -0
- package/examples/starter/node_modules/kysely-codegen/dist/cli/config-error.js +11 -0
- package/examples/starter/node_modules/kysely-codegen/dist/cli/config-error.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/cli/config.d.ts +106 -0
- package/examples/starter/node_modules/kysely-codegen/dist/cli/config.js +87 -0
- package/examples/starter/node_modules/kysely-codegen/dist/cli/config.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/cli/constants.d.ts +5 -0
- package/examples/starter/node_modules/kysely-codegen/dist/cli/constants.js +23 -0
- package/examples/starter/node_modules/kysely-codegen/dist/cli/constants.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/cli/flags.d.ts +76 -0
- package/examples/starter/node_modules/kysely-codegen/dist/cli/flags.js +152 -0
- package/examples/starter/node_modules/kysely-codegen/dist/cli/flags.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/cli/index.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/dist/cli/index.js +21 -0
- package/examples/starter/node_modules/kysely-codegen/dist/cli/index.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/db.d.ts +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/db.js +3 -0
- package/examples/starter/node_modules/kysely-codegen/dist/db.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/adapter.d.ts +16 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/adapter.js +18 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/adapter.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/alias-declaration-node.d.ts +9 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/alias-declaration-node.js +13 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/alias-declaration-node.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/array-expression-node.d.ts +6 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/array-expression-node.js +11 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/array-expression-node.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/column-type-node.d.ts +5 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/column-type-node.js +11 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/column-type-node.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/definition-node.d.ts +3 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/definition-node.js +3 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/definition-node.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/export-statement-node.d.ts +10 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/export-statement-node.js +11 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/export-statement-node.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/expression-node.d.ts +11 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/expression-node.js +3 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/expression-node.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/extends-clause-node.d.ts +9 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/extends-clause-node.js +14 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/extends-clause-node.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/generic-expression-node.d.ts +7 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/generic-expression-node.js +12 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/generic-expression-node.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/identifier-node.d.ts +11 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/identifier-node.js +18 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/identifier-node.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/import-clause-node.d.ts +6 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/import-clause-node.js +12 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/import-clause-node.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/import-statement-node.d.ts +7 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/import-statement-node.js +12 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/import-statement-node.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/infer-clause-node.d.ts +5 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/infer-clause-node.js +11 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/infer-clause-node.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/interface-declaration-node.d.ts +8 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/interface-declaration-node.js +12 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/interface-declaration-node.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/json-column-type-node.d.ts +5 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/json-column-type-node.js +11 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/json-column-type-node.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/literal-node.d.ts +7 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/literal-node.js +11 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/literal-node.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/mapped-type-node.d.ts +6 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/mapped-type-node.js +11 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/mapped-type-node.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/module-reference-node.d.ts +15 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/module-reference-node.js +12 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/module-reference-node.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/object-expression-node.d.ts +6 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/object-expression-node.js +11 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/object-expression-node.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/property-node.d.ts +8 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/property-node.js +13 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/property-node.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/raw-expression-node.d.ts +5 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/raw-expression-node.js +11 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/raw-expression-node.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/runtime-enum-declaration-node.d.ts +13 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/runtime-enum-declaration-node.js +28 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/runtime-enum-declaration-node.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/statement-node.d.ts +3 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/statement-node.js +3 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/statement-node.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/template-node.d.ts +7 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/template-node.js +12 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/template-node.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/union-expression-node.d.ts +6 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/union-expression-node.js +11 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/union-expression-node.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/connection-string-parser.d.ts +24 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/connection-string-parser.js +94 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/connection-string-parser.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/constants.d.ts +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/constants.js +6 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/constants.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialect.d.ts +11 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialect.js +38 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialect.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/kysely-bun-sqlite/kysely-bun-sqlite-adapter.d.ts +3 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/kysely-bun-sqlite/kysely-bun-sqlite-adapter.js +8 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/kysely-bun-sqlite/kysely-bun-sqlite-adapter.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/kysely-bun-sqlite/kysely-bun-sqlite-dialect.d.ts +6 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/kysely-bun-sqlite/kysely-bun-sqlite-dialect.js +13 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/kysely-bun-sqlite/kysely-bun-sqlite-dialect.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/libsql/libsql-adapter.d.ts +3 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/libsql/libsql-adapter.js +8 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/libsql/libsql-adapter.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/libsql/libsql-dialect.d.ts +6 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/libsql/libsql-dialect.js +13 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/libsql/libsql-dialect.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mssql/mssql-adapter.d.ts +36 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mssql/mssql-adapter.js +45 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mssql/mssql-adapter.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mssql/mssql-dialect.d.ts +6 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mssql/mssql-dialect.js +13 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mssql/mssql-dialect.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mysql/mysql-adapter.d.ts +58 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mysql/mysql-adapter.js +80 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mysql/mysql-adapter.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mysql/mysql-dialect.d.ts +6 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mysql/mysql-dialect.js +13 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mysql/mysql-dialect.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/postgres/postgres-adapter.d.ts +72 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/postgres/postgres-adapter.js +137 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/postgres/postgres-adapter.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/postgres/postgres-dialect.d.ts +16 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/postgres/postgres-dialect.js +22 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/postgres/postgres-dialect.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/sqlite/sqlite-adapter.d.ts +14 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/sqlite/sqlite-adapter.js +22 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/sqlite/sqlite-adapter.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/sqlite/sqlite-dialect.d.ts +6 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/sqlite/sqlite-dialect.js +13 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/sqlite/sqlite-dialect.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/worker-bun-sqlite/worker-bun-sqlite-dialect.d.ts +6 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/worker-bun-sqlite/worker-bun-sqlite-dialect.js +13 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/worker-bun-sqlite/worker-bun-sqlite-dialect.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/diff-checker.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/diff-checker.js +27 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/diff-checker.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/generate.d.ts +34 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/generate.js +84 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/generate.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/runtime-enums-style.d.ts +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/runtime-enums-style.js +3 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/runtime-enums-style.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/serializer.d.ts +68 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/serializer.js +311 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/serializer.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/singularizer.d.ts +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/singularizer.js +32 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/singularizer.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/index.d.ts +50 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/index.js +67 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/index.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/logger/log-level.d.ts +8 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/logger/log-level.js +14 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/logger/log-level.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/logger/logger.d.ts +12 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/logger/logger.js +62 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/logger/logger.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/definitions.d.ts +18 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/definitions.js +44 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/definitions.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/identifier-style.d.ts +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/identifier-style.js +3 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/identifier-style.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/imports.d.ts +5 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/imports.js +9 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/imports.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/symbol-collection.d.ts +44 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/symbol-collection.js +59 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/symbol-collection.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/transformer.d.ts +38 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/transformer.js +380 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/transformer.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/utils/case-converter.d.ts +30 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/utils/case-converter.js +67 -0
- package/examples/starter/node_modules/kysely-codegen/dist/generator/utils/case-converter.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/index.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/dist/index.js +21 -0
- package/examples/starter/node_modules/kysely-codegen/dist/index.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialect.d.ts +19 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialect.js +10 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialect.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/kysely-bun-sqlite/kysely-bun-sqlite-dialect.d.ts +7 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/kysely-bun-sqlite/kysely-bun-sqlite-dialect.js +56 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/kysely-bun-sqlite/kysely-bun-sqlite-dialect.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/kysely-bun-sqlite/kysely-bun-sqlite-introspector.d.ts +6 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/kysely-bun-sqlite/kysely-bun-sqlite-introspector.js +15 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/kysely-bun-sqlite/kysely-bun-sqlite-introspector.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/libsql/libsql-dialect.d.ts +7 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/libsql/libsql-dialect.js +59 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/libsql/libsql-dialect.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/libsql/libsql-introspector.d.ts +6 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/libsql/libsql-introspector.js +15 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/libsql/libsql-introspector.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mssql/mssql-dialect.d.ts +9 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mssql/mssql-dialect.js +112 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mssql/mssql-dialect.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mssql/mssql-introspector.d.ts +6 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mssql/mssql-introspector.js +15 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mssql/mssql-introspector.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-db.d.ts +8 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-db.js +3 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-db.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-dialect.d.ts +8 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-dialect.js +55 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-dialect.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-introspector.d.ts +14 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-introspector.js +46 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-introspector.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-parser.d.ts +7 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-parser.js +66 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-parser.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/date-parser.d.ts +2 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/date-parser.js +5 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/date-parser.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/numeric-parser.d.ts +2 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/numeric-parser.js +5 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/numeric-parser.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-db.d.ts +15 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-db.js +3 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-db.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-dialect.d.ts +20 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-dialect.js +83 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-dialect.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-introspector.d.ts +35 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-introspector.js +128 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-introspector.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/sqlite/sqlite-dialect.d.ts +8 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/sqlite/sqlite-dialect.js +53 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/sqlite/sqlite-dialect.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/sqlite/sqlite-introspector.d.ts +6 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/sqlite/sqlite-introspector.js +15 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/sqlite/sqlite-introspector.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/enum-collection.d.ts +10 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/enum-collection.js +26 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/enum-collection.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/index.d.ts +24 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/index.js +41 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/index.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/introspector.d.ts +23 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/introspector.fixtures.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/introspector.fixtures.js +128 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/introspector.fixtures.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/introspector.js +50 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/introspector.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/column-metadata.d.ts +23 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/column-metadata.js +18 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/column-metadata.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/database-metadata.d.ts +12 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/database-metadata.js +13 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/database-metadata.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/table-metadata.d.ts +17 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/table-metadata.js +15 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/table-metadata.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/table-matcher.d.ts +6 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/table-matcher.js +16 -0
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/table-matcher.js.map +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/LICENSE +21 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/README.md +208 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/index.cjs +33 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/index.d.cts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/index.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/index.js +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/locales/index.cjs +17 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/locales/index.d.cts +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/locales/index.d.ts +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/locales/index.js +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/locales/package.json +6 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/mini/index.cjs +17 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/mini/index.d.cts +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/mini/index.d.ts +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/mini/index.js +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/mini/package.json +6 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/package.json +135 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/index.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/locales/index.ts +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/mini/index.ts +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/errors.ts +13 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/external.ts +6 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/index.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/types.ts +5138 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/checks.ts +32 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/compat.ts +70 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/errors.ts +82 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/external.ts +51 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/from-json-schema.ts +643 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/parse.ts +82 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/schemas.ts +2409 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/assignability.test.ts +210 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/catch.test.ts +276 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/codec.test.ts +562 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/default.test.ts +365 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +661 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +595 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +734 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/number.test.ts +270 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/object.test.ts +640 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/optional.test.ts +223 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/partial.test.ts +427 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +282 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/record.test.ts +600 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +582 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/refine.test.ts +570 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/string.test.ts +1175 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2975 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/transform.test.ts +361 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/tuple.test.ts +183 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/union.test.ts +219 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/api.ts +1798 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/checks.ts +1293 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/config.ts +15 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/core.ts +138 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/errors.ts +448 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/index.ts +16 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/json-schema-processors.ts +667 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/json-schema.ts +147 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/parse.ts +195 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/regexes.ts +183 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/schemas.ts +4543 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +83 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +67 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/to-json-schema.ts +613 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/util.ts +966 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/index.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ar.ts +115 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/az.ts +111 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/be.ts +176 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/bg.ts +128 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ca.ts +116 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/cs.ts +118 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/da.ts +123 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/de.ts +116 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/en.ts +119 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/eo.ts +118 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/es.ts +141 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/fa.ts +126 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/fi.ts +121 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/fr.ts +116 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/he.ts +246 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/hu.ts +117 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/hy.ts +164 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/id.ts +115 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/index.ts +49 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/is.ts +119 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/it.ts +116 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ja.ts +114 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ka.ts +123 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/km.ts +119 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ko.ts +121 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/lt.ts +239 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/mk.ts +118 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ms.ts +115 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/nl.ts +121 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/no.ts +116 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ota.ts +117 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/pl.ts +118 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ps.ts +126 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/pt.ts +116 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ru.ts +176 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/sl.ts +118 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/sv.ts +119 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ta.ts +118 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/th.ts +119 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/tr.ts +111 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/uk.ts +117 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ur.ts +119 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/uz.ts +116 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/vi.ts +117 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/yo.ts +124 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/external.ts +40 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/parse.ts +14 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/schemas.ts +1916 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/codec.test.ts +529 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/index.test.ts +963 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +275 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/string.test.ts +347 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4-mini/index.ts +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/ZodError.cjs +138 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/ZodError.js +133 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/errors.cjs +17 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/errors.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/errors.d.ts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/errors.js +9 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/external.cjs +22 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/external.d.cts +6 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/external.d.ts +6 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/external.js +6 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/util.js +133 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/index.cjs +33 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/index.d.cts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/index.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/index.js +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/locales/en.cjs +112 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/locales/en.js +109 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/package.json +6 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/standard-schema.js +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/types.cjs +3777 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/types.d.cts +1034 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/types.d.ts +1034 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/types.js +3695 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/checks.cjs +33 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/checks.js +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/coerce.js +17 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/compat.cjs +61 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/compat.d.cts +50 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/compat.d.ts +50 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/compat.js +31 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/errors.cjs +74 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/errors.js +48 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/external.cjs +73 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/external.d.cts +15 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/external.d.ts +15 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/external.js +20 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/from-json-schema.cjs +610 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/from-json-schema.js +584 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/index.cjs +33 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/index.js +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/iso.js +30 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/package.json +6 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/parse.cjs +41 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/parse.d.cts +31 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/parse.d.ts +31 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/parse.js +15 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/schemas.cjs +1272 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/schemas.d.cts +739 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/schemas.d.ts +739 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/schemas.js +1157 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/api.cjs +1222 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/api.d.cts +304 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/api.d.ts +304 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/api.js +1082 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/checks.cjs +601 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/checks.js +575 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/core.cjs +83 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/core.d.cts +70 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/core.d.ts +70 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/core.js +76 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/doc.cjs +39 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/doc.js +35 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/errors.cjs +213 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/errors.d.cts +220 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/errors.d.ts +220 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/errors.js +182 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/index.cjs +47 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/index.d.cts +16 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/index.d.ts +16 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/index.js +16 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema-generator.js +95 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema-processors.cjs +648 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema-processors.js +605 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema.d.cts +88 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema.d.ts +88 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema.js +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/package.json +6 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/parse.cjs +131 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/parse.d.cts +49 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/parse.d.ts +49 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/parse.js +93 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/regexes.cjs +166 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/regexes.d.cts +79 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/regexes.d.ts +79 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/regexes.js +133 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/registries.cjs +56 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/registries.js +51 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/schemas.cjs +2126 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/schemas.d.cts +1146 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/schemas.d.ts +1146 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/schemas.js +2095 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/to-json-schema.cjs +446 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/to-json-schema.js +437 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/util.cjs +710 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/util.d.cts +199 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/util.d.ts +199 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/util.js +651 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/versions.cjs +8 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/versions.js +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/index.cjs +22 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/index.d.cts +3 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/index.d.ts +3 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/index.js +3 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ar.cjs +133 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ar.js +106 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/az.cjs +132 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/az.js +105 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/be.cjs +183 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/be.js +156 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/bg.cjs +147 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/bg.js +120 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ca.cjs +134 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ca.js +107 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/cs.cjs +138 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/cs.js +111 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/da.cjs +142 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/da.js +115 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/de.cjs +135 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/de.js +108 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/en.cjs +136 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/en.js +109 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/eo.cjs +136 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/eo.js +109 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/es.cjs +159 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/es.js +132 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fa.cjs +141 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fa.js +114 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fi.cjs +139 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fi.js +112 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fr-CA.js +107 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fr.cjs +135 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fr.js +108 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/he.cjs +241 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/he.js +214 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/hu.cjs +135 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/hu.js +108 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/hy.cjs +174 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/hy.js +147 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/id.cjs +133 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/id.js +106 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/index.cjs +104 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/index.d.cts +49 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/index.d.ts +49 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/index.js +49 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/is.cjs +136 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/is.js +109 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/it.cjs +135 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/it.js +108 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ja.cjs +134 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ja.js +107 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ka.cjs +139 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ka.js +112 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/kh.js +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/km.cjs +137 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/km.js +110 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ko.cjs +138 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ko.js +111 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/lt.cjs +230 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/lt.js +203 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/mk.cjs +136 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/mk.js +109 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ms.cjs +134 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ms.js +107 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/nl.cjs +137 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/nl.js +110 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/no.cjs +135 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/no.js +108 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ota.cjs +136 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ota.js +109 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/package.json +6 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/pl.cjs +136 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/pl.js +109 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ps.cjs +141 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ps.js +114 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/pt.cjs +135 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/pt.js +108 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ru.cjs +183 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ru.js +156 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/sl.cjs +136 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/sl.js +109 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/sv.cjs +137 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/sv.js +110 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ta.cjs +137 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ta.js +110 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/th.cjs +137 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/th.js +110 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/tr.cjs +132 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/tr.js +105 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ua.js +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/uk.cjs +135 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/uk.js +108 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ur.cjs +137 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ur.js +110 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/uz.cjs +136 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/uz.js +109 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/vi.cjs +135 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/vi.js +108 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/yo.cjs +134 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/yo.js +107 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/zh-CN.js +109 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/zh-TW.js +107 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/checks.js +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/coerce.cjs +52 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/coerce.js +22 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/external.cjs +63 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/external.d.cts +12 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/external.d.ts +12 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/external.js +14 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/index.cjs +32 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/index.js +3 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/iso.cjs +64 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/iso.js +34 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/package.json +6 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/parse.cjs +16 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/parse.js +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/schemas.cjs +1046 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/schemas.d.cts +427 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/schemas.d.ts +427 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/schemas.js +925 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/package.json +6 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4-mini/index.cjs +17 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4-mini/index.d.cts +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4-mini/index.d.ts +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4-mini/index.js +1 -0
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4-mini/package.json +6 -0
- package/examples/starter/node_modules/kysely-codegen/package.json +214 -0
- package/examples/starter/node_modules/kysely-codegen/pnpm-workspace.yaml +3 -0
- package/examples/starter/node_modules/kysely-codegen/tsconfig.build.json +5 -0
- package/examples/starter/node_modules/lines-and-columns/LICENSE +21 -0
- package/examples/starter/node_modules/lines-and-columns/README.md +33 -0
- package/examples/starter/node_modules/lines-and-columns/build/index.d.ts +13 -0
- package/examples/starter/node_modules/lines-and-columns/build/index.js +62 -0
- package/examples/starter/node_modules/lines-and-columns/package.json +49 -0
- package/examples/starter/node_modules/loglevel/.editorconfig +27 -0
- package/examples/starter/node_modules/loglevel/CONTRIBUTING.md +98 -0
- package/examples/starter/node_modules/loglevel/Gruntfile.js +165 -0
- package/examples/starter/node_modules/loglevel/LICENSE-MIT +22 -0
- package/examples/starter/node_modules/loglevel/README.md +408 -0
- package/examples/starter/node_modules/loglevel/_config.yml +1 -0
- package/examples/starter/node_modules/loglevel/bower.json +11 -0
- package/examples/starter/node_modules/loglevel/demo/index.html +139 -0
- package/examples/starter/node_modules/loglevel/demo/script.js +86 -0
- package/examples/starter/node_modules/loglevel/demo/styles.css +107 -0
- package/examples/starter/node_modules/loglevel/dist/loglevel.js +352 -0
- package/examples/starter/node_modules/loglevel/dist/loglevel.min.js +3 -0
- package/examples/starter/node_modules/loglevel/index.d.ts +203 -0
- package/examples/starter/node_modules/loglevel/lib/loglevel.js +357 -0
- package/examples/starter/node_modules/loglevel/package.json +63 -0
- package/examples/starter/node_modules/micromatch/LICENSE +21 -0
- package/examples/starter/node_modules/micromatch/README.md +1024 -0
- package/examples/starter/node_modules/micromatch/index.js +474 -0
- package/examples/starter/node_modules/micromatch/package.json +119 -0
- package/examples/starter/node_modules/minimatch/LICENSE +15 -0
- package/examples/starter/node_modules/minimatch/README.md +230 -0
- package/examples/starter/node_modules/minimatch/minimatch.js +947 -0
- package/examples/starter/node_modules/minimatch/package.json +33 -0
- package/examples/starter/node_modules/minimist/.eslintrc +29 -0
- package/examples/starter/node_modules/minimist/.github/FUNDING.yml +12 -0
- package/examples/starter/node_modules/minimist/.nycrc +14 -0
- package/examples/starter/node_modules/minimist/CHANGELOG.md +298 -0
- package/examples/starter/node_modules/minimist/LICENSE +18 -0
- package/examples/starter/node_modules/minimist/README.md +121 -0
- package/examples/starter/node_modules/minimist/example/parse.js +4 -0
- package/examples/starter/node_modules/minimist/index.js +263 -0
- package/examples/starter/node_modules/minimist/package.json +75 -0
- package/examples/starter/node_modules/minimist/test/all_bool.js +34 -0
- package/examples/starter/node_modules/minimist/test/bool.js +177 -0
- package/examples/starter/node_modules/minimist/test/dash.js +43 -0
- package/examples/starter/node_modules/minimist/test/default_bool.js +37 -0
- package/examples/starter/node_modules/minimist/test/dotted.js +24 -0
- package/examples/starter/node_modules/minimist/test/kv_short.js +32 -0
- package/examples/starter/node_modules/minimist/test/long.js +33 -0
- package/examples/starter/node_modules/minimist/test/num.js +38 -0
- package/examples/starter/node_modules/minimist/test/parse.js +209 -0
- package/examples/starter/node_modules/minimist/test/parse_modified.js +11 -0
- package/examples/starter/node_modules/minimist/test/proto.js +64 -0
- package/examples/starter/node_modules/minimist/test/short.js +69 -0
- package/examples/starter/node_modules/minimist/test/stop_early.js +17 -0
- package/examples/starter/node_modules/minimist/test/unknown.js +104 -0
- package/examples/starter/node_modules/minimist/test/whitespace.js +10 -0
- package/examples/starter/node_modules/parent-module/index.js +37 -0
- package/examples/starter/node_modules/parent-module/license +9 -0
- package/examples/starter/node_modules/parent-module/package.json +46 -0
- package/examples/starter/node_modules/parent-module/readme.md +67 -0
- package/examples/starter/node_modules/parse-json/index.js +54 -0
- package/examples/starter/node_modules/parse-json/license +9 -0
- package/examples/starter/node_modules/parse-json/package.json +45 -0
- package/examples/starter/node_modules/parse-json/readme.md +119 -0
- package/examples/starter/node_modules/path-is-absolute/index.js +20 -0
- package/examples/starter/node_modules/path-is-absolute/license +21 -0
- package/examples/starter/node_modules/path-is-absolute/package.json +43 -0
- package/examples/starter/node_modules/path-is-absolute/readme.md +59 -0
- package/examples/starter/node_modules/path-parse/LICENSE +21 -0
- package/examples/starter/node_modules/path-parse/README.md +42 -0
- package/examples/starter/node_modules/path-parse/index.js +75 -0
- package/examples/starter/node_modules/path-parse/package.json +33 -0
- package/examples/starter/node_modules/picomatch/CHANGELOG.md +136 -0
- package/examples/starter/node_modules/picomatch/LICENSE +21 -0
- package/examples/starter/node_modules/picomatch/README.md +708 -0
- package/examples/starter/node_modules/picomatch/index.js +3 -0
- package/examples/starter/node_modules/picomatch/lib/constants.js +179 -0
- package/examples/starter/node_modules/picomatch/lib/parse.js +1091 -0
- package/examples/starter/node_modules/picomatch/lib/picomatch.js +342 -0
- package/examples/starter/node_modules/picomatch/lib/scan.js +391 -0
- package/examples/starter/node_modules/picomatch/lib/utils.js +64 -0
- package/examples/starter/node_modules/picomatch/package.json +81 -0
- package/examples/starter/node_modules/pluralize/LICENSE +21 -0
- package/examples/starter/node_modules/pluralize/Readme.md +100 -0
- package/examples/starter/node_modules/pluralize/package.json +40 -0
- package/examples/starter/node_modules/pluralize/pluralize.js +503 -0
- package/examples/starter/node_modules/rechoir/.travis.yml +24 -0
- package/examples/starter/node_modules/rechoir/CHANGELOG +38 -0
- package/examples/starter/node_modules/rechoir/LICENSE +22 -0
- package/examples/starter/node_modules/rechoir/README.md +42 -0
- package/examples/starter/node_modules/rechoir/index.js +59 -0
- package/examples/starter/node_modules/rechoir/lib/extension.js +11 -0
- package/examples/starter/node_modules/rechoir/lib/normalize.js +15 -0
- package/examples/starter/node_modules/rechoir/lib/register.js +15 -0
- package/examples/starter/node_modules/rechoir/package.json +88 -0
- package/examples/starter/node_modules/resolve/.editorconfig +37 -0
- package/examples/starter/node_modules/resolve/.eslintrc +65 -0
- package/examples/starter/node_modules/resolve/.github/FUNDING.yml +12 -0
- package/examples/starter/node_modules/resolve/.github/INCIDENT_RESPONSE_PROCESS.md +119 -0
- package/examples/starter/node_modules/resolve/.github/THREAT_MODEL.md +74 -0
- package/examples/starter/node_modules/resolve/LICENSE +21 -0
- package/examples/starter/node_modules/resolve/SECURITY.md +11 -0
- package/examples/starter/node_modules/resolve/async.js +3 -0
- package/examples/starter/node_modules/resolve/bin/resolve +50 -0
- package/examples/starter/node_modules/resolve/example/async.js +5 -0
- package/examples/starter/node_modules/resolve/example/sync.js +3 -0
- package/examples/starter/node_modules/resolve/index.js +6 -0
- package/examples/starter/node_modules/resolve/lib/async.js +333 -0
- package/examples/starter/node_modules/resolve/lib/caller.js +8 -0
- package/examples/starter/node_modules/resolve/lib/core.js +12 -0
- package/examples/starter/node_modules/resolve/lib/core.json +162 -0
- package/examples/starter/node_modules/resolve/lib/homedir.js +24 -0
- package/examples/starter/node_modules/resolve/lib/is-core.js +5 -0
- package/examples/starter/node_modules/resolve/lib/node-modules-paths.js +45 -0
- package/examples/starter/node_modules/resolve/lib/normalize-options.js +10 -0
- package/examples/starter/node_modules/resolve/lib/sync.js +212 -0
- package/examples/starter/node_modules/resolve/package.json +75 -0
- package/examples/starter/node_modules/resolve/readme.markdown +301 -0
- package/examples/starter/node_modules/resolve/sync.js +3 -0
- package/examples/starter/node_modules/resolve/test/core.js +88 -0
- package/examples/starter/node_modules/resolve/test/dotdot/abc/index.js +2 -0
- package/examples/starter/node_modules/resolve/test/dotdot/index.js +1 -0
- package/examples/starter/node_modules/resolve/test/dotdot.js +29 -0
- package/examples/starter/node_modules/resolve/test/faulty_basedir.js +29 -0
- package/examples/starter/node_modules/resolve/test/filter.js +34 -0
- package/examples/starter/node_modules/resolve/test/filter_sync.js +33 -0
- package/examples/starter/node_modules/resolve/test/home_paths.js +127 -0
- package/examples/starter/node_modules/resolve/test/home_paths_sync.js +114 -0
- package/examples/starter/node_modules/resolve/test/mock.js +315 -0
- package/examples/starter/node_modules/resolve/test/mock_sync.js +214 -0
- package/examples/starter/node_modules/resolve/test/module_dir/xmodules/aaa/index.js +1 -0
- package/examples/starter/node_modules/resolve/test/module_dir/ymodules/aaa/index.js +1 -0
- package/examples/starter/node_modules/resolve/test/module_dir/zmodules/bbb/main.js +1 -0
- package/examples/starter/node_modules/resolve/test/module_dir/zmodules/bbb/package.json +3 -0
- package/examples/starter/node_modules/resolve/test/module_dir.js +56 -0
- package/examples/starter/node_modules/resolve/test/node-modules-paths.js +143 -0
- package/examples/starter/node_modules/resolve/test/node_path/x/aaa/index.js +1 -0
- package/examples/starter/node_modules/resolve/test/node_path/x/ccc/index.js +1 -0
- package/examples/starter/node_modules/resolve/test/node_path/y/bbb/index.js +1 -0
- package/examples/starter/node_modules/resolve/test/node_path/y/ccc/index.js +1 -0
- package/examples/starter/node_modules/resolve/test/node_path.js +70 -0
- package/examples/starter/node_modules/resolve/test/nonstring.js +9 -0
- package/examples/starter/node_modules/resolve/test/pathfilter/deep_ref/main.js +0 -0
- package/examples/starter/node_modules/resolve/test/pathfilter.js +75 -0
- package/examples/starter/node_modules/resolve/test/precedence/aaa/index.js +1 -0
- package/examples/starter/node_modules/resolve/test/precedence/aaa/main.js +1 -0
- package/examples/starter/node_modules/resolve/test/precedence/aaa.js +1 -0
- package/examples/starter/node_modules/resolve/test/precedence/bbb/main.js +1 -0
- package/examples/starter/node_modules/resolve/test/precedence/bbb.js +1 -0
- package/examples/starter/node_modules/resolve/test/precedence.js +23 -0
- package/examples/starter/node_modules/resolve/test/resolver/baz/doom.js +0 -0
- package/examples/starter/node_modules/resolve/test/resolver/baz/package.json +4 -0
- package/examples/starter/node_modules/resolve/test/resolver/baz/quux.js +1 -0
- package/examples/starter/node_modules/resolve/test/resolver/browser_field/a.js +0 -0
- package/examples/starter/node_modules/resolve/test/resolver/browser_field/b.js +0 -0
- package/examples/starter/node_modules/resolve/test/resolver/browser_field/package.json +5 -0
- package/examples/starter/node_modules/resolve/test/resolver/cup.coffee +1 -0
- package/examples/starter/node_modules/resolve/test/resolver/dot_main/index.js +1 -0
- package/examples/starter/node_modules/resolve/test/resolver/dot_main/package.json +3 -0
- package/examples/starter/node_modules/resolve/test/resolver/dot_slash_main/index.js +1 -0
- package/examples/starter/node_modules/resolve/test/resolver/dot_slash_main/package.json +3 -0
- package/examples/starter/node_modules/resolve/test/resolver/false_main/index.js +0 -0
- package/examples/starter/node_modules/resolve/test/resolver/false_main/package.json +4 -0
- package/examples/starter/node_modules/resolve/test/resolver/foo.js +1 -0
- package/examples/starter/node_modules/resolve/test/resolver/incorrect_main/index.js +2 -0
- package/examples/starter/node_modules/resolve/test/resolver/incorrect_main/package.json +3 -0
- package/examples/starter/node_modules/resolve/test/resolver/invalid_main/package.json +7 -0
- package/examples/starter/node_modules/resolve/test/resolver/mug.coffee +0 -0
- package/examples/starter/node_modules/resolve/test/resolver/mug.js +0 -0
- package/examples/starter/node_modules/resolve/test/resolver/multirepo/lerna.json +6 -0
- package/examples/starter/node_modules/resolve/test/resolver/multirepo/package.json +20 -0
- package/examples/starter/node_modules/resolve/test/resolver/multirepo/packages/package-a/index.js +35 -0
- package/examples/starter/node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json +14 -0
- package/examples/starter/node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js +0 -0
- package/examples/starter/node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json +14 -0
- package/examples/starter/node_modules/resolve/test/resolver/nested_symlinks/mylib/async.js +26 -0
- package/examples/starter/node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json +15 -0
- package/examples/starter/node_modules/resolve/test/resolver/nested_symlinks/mylib/sync.js +12 -0
- package/examples/starter/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
- package/examples/starter/node_modules/resolve/test/resolver/other_path/root.js +0 -0
- package/examples/starter/node_modules/resolve/test/resolver/quux/foo/index.js +1 -0
- package/examples/starter/node_modules/resolve/test/resolver/same_names/foo/index.js +1 -0
- package/examples/starter/node_modules/resolve/test/resolver/same_names/foo.js +1 -0
- package/examples/starter/node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js +0 -0
- package/examples/starter/node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep +0 -0
- package/examples/starter/node_modules/resolve/test/resolver/symlinked/package/bar.js +1 -0
- package/examples/starter/node_modules/resolve/test/resolver/symlinked/package/package.json +3 -0
- package/examples/starter/node_modules/resolve/test/resolver/without_basedir/main.js +5 -0
- package/examples/starter/node_modules/resolve/test/resolver.js +597 -0
- package/examples/starter/node_modules/resolve/test/resolver_sync.js +730 -0
- package/examples/starter/node_modules/resolve/test/shadowed_core/node_modules/util/index.js +0 -0
- package/examples/starter/node_modules/resolve/test/shadowed_core.js +54 -0
- package/examples/starter/node_modules/resolve/test/subdirs.js +13 -0
- package/examples/starter/node_modules/resolve/test/symlinks.js +176 -0
- package/examples/starter/node_modules/resolve-from/index.js +47 -0
- package/examples/starter/node_modules/resolve-from/license +9 -0
- package/examples/starter/node_modules/resolve-from/package.json +34 -0
- package/examples/starter/node_modules/resolve-from/readme.md +72 -0
- package/examples/starter/node_modules/shelljs/CHANGELOG.md +942 -0
- package/examples/starter/node_modules/shelljs/LICENSE +26 -0
- package/examples/starter/node_modules/shelljs/README.md +835 -0
- package/examples/starter/node_modules/shelljs/bin/shjs +48 -0
- package/examples/starter/node_modules/shelljs/commands.js +29 -0
- package/examples/starter/node_modules/shelljs/global.js +12 -0
- package/examples/starter/node_modules/shelljs/make.js +57 -0
- package/examples/starter/node_modules/shelljs/package.json +79 -0
- package/examples/starter/node_modules/shelljs/plugin.js +16 -0
- package/examples/starter/node_modules/shelljs/shell.js +156 -0
- package/examples/starter/node_modules/shelljs/src/cat.js +76 -0
- package/examples/starter/node_modules/shelljs/src/cd.js +39 -0
- package/examples/starter/node_modules/shelljs/src/chmod.js +216 -0
- package/examples/starter/node_modules/shelljs/src/common.js +468 -0
- package/examples/starter/node_modules/shelljs/src/cp.js +304 -0
- package/examples/starter/node_modules/shelljs/src/dirs.js +212 -0
- package/examples/starter/node_modules/shelljs/src/echo.js +63 -0
- package/examples/starter/node_modules/shelljs/src/error.js +15 -0
- package/examples/starter/node_modules/shelljs/src/exec-child.js +39 -0
- package/examples/starter/node_modules/shelljs/src/exec.js +226 -0
- package/examples/starter/node_modules/shelljs/src/find.js +61 -0
- package/examples/starter/node_modules/shelljs/src/grep.js +73 -0
- package/examples/starter/node_modules/shelljs/src/head.js +107 -0
- package/examples/starter/node_modules/shelljs/src/ln.js +73 -0
- package/examples/starter/node_modules/shelljs/src/ls.js +141 -0
- package/examples/starter/node_modules/shelljs/src/mkdir.js +100 -0
- package/examples/starter/node_modules/shelljs/src/mv.js +118 -0
- package/examples/starter/node_modules/shelljs/src/popd.js +1 -0
- package/examples/starter/node_modules/shelljs/src/pushd.js +1 -0
- package/examples/starter/node_modules/shelljs/src/pwd.js +16 -0
- package/examples/starter/node_modules/shelljs/src/rm.js +201 -0
- package/examples/starter/node_modules/shelljs/src/sed.js +87 -0
- package/examples/starter/node_modules/shelljs/src/set.js +56 -0
- package/examples/starter/node_modules/shelljs/src/sort.js +97 -0
- package/examples/starter/node_modules/shelljs/src/tail.js +80 -0
- package/examples/starter/node_modules/shelljs/src/tempdir.js +75 -0
- package/examples/starter/node_modules/shelljs/src/test.js +85 -0
- package/examples/starter/node_modules/shelljs/src/to.js +37 -0
- package/examples/starter/node_modules/shelljs/src/toEnd.js +36 -0
- package/examples/starter/node_modules/shelljs/src/touch.js +111 -0
- package/examples/starter/node_modules/shelljs/src/uniq.js +92 -0
- package/examples/starter/node_modules/shelljs/src/which.js +118 -0
- package/examples/starter/node_modules/shelljs.exec/.editorconfig +10 -0
- package/examples/starter/node_modules/shelljs.exec/.eslintrc.json +37 -0
- package/examples/starter/node_modules/shelljs.exec/.travis.yml +9 -0
- package/examples/starter/node_modules/shelljs.exec/LICENSE.md +24 -0
- package/examples/starter/node_modules/shelljs.exec/README.md +115 -0
- package/examples/starter/node_modules/shelljs.exec/appveyor.yml +17 -0
- package/examples/starter/node_modules/shelljs.exec/benchmark-results-raw.txt +74 -0
- package/examples/starter/node_modules/shelljs.exec/images/fast.png +0 -0
- package/examples/starter/node_modules/shelljs.exec/images/linux.png +0 -0
- package/examples/starter/node_modules/shelljs.exec/images/slow.png +0 -0
- package/examples/starter/node_modules/shelljs.exec/images/table-linux.odt +0 -0
- package/examples/starter/node_modules/shelljs.exec/images/table-windows.odt +0 -0
- package/examples/starter/node_modules/shelljs.exec/images/windows.png +0 -0
- package/examples/starter/node_modules/shelljs.exec/index.js +35 -0
- package/examples/starter/node_modules/shelljs.exec/js/normaliseOptions/defaultOptions.js +6 -0
- package/examples/starter/node_modules/shelljs.exec/js/normaliseOptions/index.js +34 -0
- package/examples/starter/node_modules/shelljs.exec/js/normaliseOptions/index.spec.js +68 -0
- package/examples/starter/node_modules/shelljs.exec/package.json +58 -0
- package/examples/starter/node_modules/shelljs.exec/test/_js/testImports.js +37 -0
- package/examples/starter/node_modules/shelljs.exec/test/benchmarks/benchmarks.spec.js +288 -0
- package/examples/starter/node_modules/shelljs.exec/test/benchmarks/file1 +1 -0
- package/examples/starter/node_modules/shelljs.exec/test/benchmarks/file2 +1 -0
- package/examples/starter/node_modules/shelljs.exec/test/mocha.opts +6 -0
- package/examples/starter/node_modules/shelljs.exec/test/shelljs.exec/shelljs.exec.spec.js +176 -0
- package/examples/starter/node_modules/supports-color/browser.js +5 -0
- package/examples/starter/node_modules/supports-color/index.js +135 -0
- package/examples/starter/node_modules/supports-color/license +9 -0
- package/examples/starter/node_modules/supports-color/package.json +53 -0
- package/examples/starter/node_modules/supports-color/readme.md +76 -0
- package/examples/starter/node_modules/supports-preserve-symlinks-flag/.eslintrc +14 -0
- package/examples/starter/node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml +12 -0
- package/examples/starter/node_modules/supports-preserve-symlinks-flag/.nycrc +9 -0
- package/examples/starter/node_modules/supports-preserve-symlinks-flag/CHANGELOG.md +22 -0
- package/examples/starter/node_modules/supports-preserve-symlinks-flag/LICENSE +21 -0
- package/examples/starter/node_modules/supports-preserve-symlinks-flag/README.md +42 -0
- package/examples/starter/node_modules/supports-preserve-symlinks-flag/browser.js +3 -0
- package/examples/starter/node_modules/supports-preserve-symlinks-flag/index.js +9 -0
- package/examples/starter/node_modules/supports-preserve-symlinks-flag/package.json +70 -0
- package/examples/starter/node_modules/supports-preserve-symlinks-flag/test/index.js +29 -0
- package/examples/starter/node_modules/to-regex-range/LICENSE +21 -0
- package/examples/starter/node_modules/to-regex-range/README.md +305 -0
- package/examples/starter/node_modules/to-regex-range/index.js +288 -0
- package/examples/starter/node_modules/to-regex-range/package.json +88 -0
- package/examples/starter/package.json +1 -1
- package/examples/starter/src/index.ts +16 -1
- package/examples/starter/src/plugins/stats/index.ts +19 -14
- package/examples/starter/tsconfig.json +2 -3
- package/package.json +1 -1
- package/src/core.ts +17 -0
- package/examples/starter/node_modules/@donkeylabs/server/README.md +0 -15
- package/examples/starter/node_modules/@donkeylabs/server/cli/commands/dev.ts +0 -134
- package/examples/starter/node_modules/@donkeylabs/server/cli/commands/generate.ts +0 -445
- package/examples/starter/node_modules/@donkeylabs/server/cli/commands/init.ts +0 -205
- package/examples/starter/node_modules/@donkeylabs/server/cli/commands/interactive.ts +0 -417
- package/examples/starter/node_modules/@donkeylabs/server/cli/commands/plugin.ts +0 -192
- package/examples/starter/node_modules/@donkeylabs/server/cli/commands/route.ts +0 -195
- package/examples/starter/node_modules/@donkeylabs/server/cli/donkeylabs +0 -2
- package/examples/starter/node_modules/@donkeylabs/server/cli/index.ts +0 -114
- package/examples/starter/node_modules/@donkeylabs/server/docs/api-client.md +0 -520
- package/examples/starter/node_modules/@donkeylabs/server/docs/cache.md +0 -437
- package/examples/starter/node_modules/@donkeylabs/server/docs/cli.md +0 -353
- package/examples/starter/node_modules/@donkeylabs/server/docs/core-services.md +0 -338
- package/examples/starter/node_modules/@donkeylabs/server/docs/cron.md +0 -465
- package/examples/starter/node_modules/@donkeylabs/server/docs/errors.md +0 -303
- package/examples/starter/node_modules/@donkeylabs/server/docs/events.md +0 -460
- package/examples/starter/node_modules/@donkeylabs/server/docs/handlers.md +0 -549
- package/examples/starter/node_modules/@donkeylabs/server/docs/jobs.md +0 -556
- package/examples/starter/node_modules/@donkeylabs/server/docs/logger.md +0 -316
- package/examples/starter/node_modules/@donkeylabs/server/docs/middleware.md +0 -682
- package/examples/starter/node_modules/@donkeylabs/server/docs/plugins.md +0 -524
- package/examples/starter/node_modules/@donkeylabs/server/docs/project-structure.md +0 -493
- package/examples/starter/node_modules/@donkeylabs/server/docs/rate-limiter.md +0 -525
- package/examples/starter/node_modules/@donkeylabs/server/docs/router.md +0 -566
- package/examples/starter/node_modules/@donkeylabs/server/docs/sse.md +0 -542
- package/examples/starter/node_modules/@donkeylabs/server/docs/svelte-frontend.md +0 -324
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/.@donkeylabs/server/context.d.ts +0 -37
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/.@donkeylabs/server/registry.d.ts +0 -31
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/.@donkeylabs/server/routes.ts +0 -21
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/.env.example +0 -3
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/.gitignore.template +0 -4
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/CLAUDE.md +0 -144
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/donkeylabs.config.ts +0 -6
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/package.json +0 -20
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/db.ts +0 -9
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/index.ts +0 -32
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/plugins/stats/index.ts +0 -93
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/routes/health/index.ts +0 -5
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/routes/health/ping/index.ts +0 -13
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/routes/health/ping/models/model.ts +0 -23
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/routes/health/ping/schema.ts +0 -14
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/routes/health/ping/tests/integ.test.ts +0 -20
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/routes/health/ping/tests/unit.test.ts +0 -20
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/tsconfig.json +0 -27
- package/examples/starter/node_modules/@donkeylabs/server/mcp/donkeylabs-mcp +0 -3238
- package/examples/starter/node_modules/@donkeylabs/server/mcp/server.ts +0 -3238
- package/examples/starter/node_modules/@donkeylabs/server/package.json +0 -77
- package/examples/starter/node_modules/@donkeylabs/server/src/client/base.ts +0 -481
- package/examples/starter/node_modules/@donkeylabs/server/src/client/index.ts +0 -150
- package/examples/starter/node_modules/@donkeylabs/server/src/core/cache.ts +0 -183
- package/examples/starter/node_modules/@donkeylabs/server/src/core/cron.ts +0 -255
- package/examples/starter/node_modules/@donkeylabs/server/src/core/errors.ts +0 -320
- package/examples/starter/node_modules/@donkeylabs/server/src/core/events.ts +0 -163
- package/examples/starter/node_modules/@donkeylabs/server/src/core/index.ts +0 -94
- package/examples/starter/node_modules/@donkeylabs/server/src/core/jobs.ts +0 -334
- package/examples/starter/node_modules/@donkeylabs/server/src/core/logger.ts +0 -131
- package/examples/starter/node_modules/@donkeylabs/server/src/core/rate-limiter.ts +0 -193
- package/examples/starter/node_modules/@donkeylabs/server/src/core/sse.ts +0 -210
- package/examples/starter/node_modules/@donkeylabs/server/src/core.ts +0 -428
- package/examples/starter/node_modules/@donkeylabs/server/src/handlers.ts +0 -182
- package/examples/starter/node_modules/@donkeylabs/server/src/harness.ts +0 -70
- package/examples/starter/node_modules/@donkeylabs/server/src/index.ts +0 -51
- package/examples/starter/node_modules/@donkeylabs/server/src/middleware.ts +0 -34
- package/examples/starter/node_modules/@donkeylabs/server/src/registry.ts +0 -13
- package/examples/starter/node_modules/@donkeylabs/server/src/router.ts +0 -172
- 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wYXRjaC9tZXJnZS5qcyJdLCJuYW1lcyI6WyJjYWxjTGluZUNvdW50IiwibWVyZ2UiLCJodW5rIiwiY2FsY09sZE5ld0xpbmVDb3VudCIsImxpbmVzIiwib2xkTGluZXMiLCJuZXdMaW5lcyIsInVuZGVmaW5lZCIsIm1pbmUiLCJ0aGVpcnMiLCJiYXNlIiwibG9hZFBhdGNoIiwicmV0IiwiaW5kZXgiLCJuZXdGaWxlTmFtZSIsImZpbGVOYW1lQ2hhbmdlZCIsIm9sZEZpbGVOYW1lIiwib2xkSGVhZGVyIiwibmV3SGVhZGVyIiwic2VsZWN0RmllbGQiLCJodW5rcyIsIm1pbmVJbmRleCIsInRoZWlyc0luZGV4IiwibWluZU9mZnNldCIsInRoZWlyc09mZnNldCIsImx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TGluZXMgPT09IHRoZWlyQ291bnQub2xkTGluZXMpIHtcbiAgICAgICAgICBvbGRMaW5lcyArPSBteUNvdW50Lm9sZExpbmVzO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgIG9sZExpbmVzID0gdW5kZWZpbmVkO1xuICAgICAgICB9XG4gICAgICB9XG5cbiAgICAgIGlmIChuZXdMaW5lcyAhPT0gdW5kZWZpbmVkKSB7XG4gICAgICAgIGlmIChteUNvdW50Lm5ld0xpbmVzID09PSB0aGVpckNvdW50Lm5ld0xpbmVzKSB7XG4gICAgICAgICAgbmV3TGluZXMgKz0gbXlDb3VudC5uZXdMaW5lcztcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICBuZXdMaW5lcyA9IHVuZGVmaW5lZDtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH0gZWxzZSB7XG4gICAgICBpZiAobmV3TGluZXMgIT09IHVuZGVmaW5lZCAmJiAobGluZVswXSA9PT0gJysnIHx8IGxpbmVbMF0gPT09ICcgJykpIHtcbiAgICAgICAgbmV3TGluZXMrKztcbiAgICAgIH1cbiAgICAgIGlmIChvbGRMaW5lcyAhPT0gdW5kZWZpbmVkICYmIChsaW5lWzBdID09PSAnLScgfHwgbGluZVswXSA9PT0gJyAnKSkge1xuICAgICAgICBvbGRMaW5lcysrO1xuICAgICAgfVxuICAgIH1cbiAgfSk7XG5cbiAgcmV0dXJuIHtvbGRMaW5lcywgbmV3TGluZXN9O1xufVxuIl19
|
|
@@ -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,eyJ2ZXJzaW9uIjoz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WQgbm90IG1hdGNoIGZvciBodW5rIGF0IGxpbmUgJyArIChjaHVua0hlYWRlckluZGV4ICsgMSkpO1xuICAgICAgfVxuICAgIH1cblxuICAgIHJldHVybiBodW5rO1xuICB9XG5cbiAgd2hpbGUgKGkgPCBkaWZmc3RyLmxlbmd0aCkge1xuICAgIHBhcnNlSW5kZXgoKTtcbiAgfVxuXG4gIHJldHVybiBsaXN0O1xufVxuIl19
|
|
@@ -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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy91dGlsL2FycmF5LmpzIl0sIm5hbWVzIjpbImFycmF5RXF1YWwiLCJhcnJheVN0YXJ0c1dpdGgiLCJhIiwiYiIsImxlbmd0aCIsImFycmF5Iiwic3RhcnQiLCJpIl0sIm1hcHBpbmdzIjoiOzs7Z0NBQWdCQSxVLEdBQUFBLFU7eURBUUFDLGUsR0FBQUEsZTtBQVJULFNBQVNELF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