@ykdz/template 0.1.0-experimental.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1690) hide show
  1. package/dist/application.d.ts +18 -48
  2. package/dist/application.js +164 -111
  3. package/dist/input-schemas.d.ts +21 -44
  4. package/dist/input-schemas.js +46 -43
  5. package/dist/input-validation.js +3 -30
  6. package/dist/main.js +116 -218
  7. package/dist/preset-catalog.d.ts +410 -29
  8. package/dist/preset-catalog.js +4 -30
  9. package/dist/result-schemas.d.ts +146 -250
  10. package/dist/result-schemas.js +57 -59
  11. package/node_modules/@ykdz/default-content-authoring/dist/contracts.d.ts +240 -0
  12. package/node_modules/@ykdz/default-content-authoring/dist/environment-needs.d.ts +16 -0
  13. package/node_modules/@ykdz/default-content-authoring/dist/preset-root-contribution.d.ts +36 -0
  14. package/node_modules/@ykdz/default-content-authoring/dist/preset-root-contribution.js +1 -0
  15. package/node_modules/@ykdz/default-content-authoring/dist/reference-package.d.ts +65 -0
  16. package/node_modules/@ykdz/default-content-authoring/dist/reference-package.js +742 -0
  17. package/node_modules/@ykdz/default-content-authoring/package.json +59 -0
  18. package/node_modules/@ykdz/preset-rust-bin/native/package.json +2 -0
  19. package/node_modules/@ykdz/preset-rust-bin/native/template-dist/definition.d.ts +2 -40
  20. package/node_modules/@ykdz/preset-rust-bin/native/template-dist/definition.d.ts.map +1 -1
  21. package/node_modules/@ykdz/preset-rust-bin/native/template-dist/definition.js +3 -2
  22. package/node_modules/@ykdz/preset-ts-cli/native/package.json +4 -0
  23. package/node_modules/@ykdz/preset-ts-cli/native/template-dist/definition.d.ts +2 -15
  24. package/node_modules/@ykdz/preset-ts-cli/native/template-dist/definition.d.ts.map +1 -1
  25. package/node_modules/@ykdz/preset-ts-lib/native/package.json +3 -0
  26. package/node_modules/@ykdz/preset-ts-lib/native/template-dist/definition.d.ts +2 -15
  27. package/node_modules/@ykdz/preset-ts-lib/native/template-dist/definition.d.ts.map +1 -1
  28. package/node_modules/@ykdz/preset-vike-app/native/package.json +3 -0
  29. package/node_modules/@ykdz/preset-vike-app/native/template-dist/definition.d.ts +40 -23
  30. package/node_modules/@ykdz/preset-vike-app/native/template-dist/definition.d.ts.map +1 -1
  31. package/node_modules/@ykdz/preset-vike-app/native/template-dist/definition.js +19 -36
  32. package/node_modules/@ykdz/preset-vike-app/native/template-dist/deployment.d.ts +54 -17
  33. package/node_modules/@ykdz/preset-vike-app/native/template-dist/deployment.d.ts.map +1 -1
  34. package/node_modules/@ykdz/preset-vike-app/native/template-dist/deployment.js +393 -207
  35. package/node_modules/@ykdz/preset-vike-app/package.json +2 -1
  36. package/node_modules/@ykdz/preset-vue-app/native/package.json +2 -0
  37. package/node_modules/@ykdz/preset-vue-app/native/template-dist/definition.d.ts +2 -15
  38. package/node_modules/@ykdz/preset-vue-app/native/template-dist/definition.d.ts.map +1 -1
  39. package/node_modules/@ykdz/preset-vue-hono-app/native/package.json +4 -0
  40. package/node_modules/@ykdz/preset-vue-hono-app/native/template-dist/definition.d.ts +49 -23
  41. package/node_modules/@ykdz/preset-vue-hono-app/native/template-dist/definition.d.ts.map +1 -1
  42. package/node_modules/@ykdz/preset-vue-hono-app/native/template-dist/definition.js +31 -102
  43. package/node_modules/@ykdz/preset-vue-hono-app/native/template-dist/joint-e2e.d.ts +42 -0
  44. package/node_modules/@ykdz/preset-vue-hono-app/native/template-dist/joint-e2e.d.ts.map +1 -0
  45. package/node_modules/@ykdz/preset-vue-hono-app/native/template-dist/joint-e2e.js +173 -0
  46. package/node_modules/@ykdz/reference-hono-api/native/package.json +3 -1
  47. package/node_modules/@ykdz/reference-hono-api/native/template-dist/definition.d.ts +1 -1
  48. package/node_modules/@ykdz/reference-hono-api/native/template-dist/definition.js +51 -18
  49. package/node_modules/@ykdz/reference-hono-api/native/tsconfig.json +1 -1
  50. package/node_modules/@ykdz/reference-hono-api/native/turbo.json +2 -2
  51. package/node_modules/@ykdz/reference-hono-api/package.json +3 -2
  52. package/node_modules/@ykdz/reference-npm-publication/native/README.md +14 -6
  53. package/node_modules/@ykdz/reference-npm-publication/native/package.json +2 -2
  54. package/node_modules/@ykdz/reference-npm-publication/native/resources/release.yml +4 -1
  55. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/definition.d.ts +8 -4
  56. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/definition.d.ts.map +1 -1
  57. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/definition.js +68 -21
  58. package/node_modules/@ykdz/reference-npm-publication/package.json +1 -2
  59. package/node_modules/@ykdz/reference-rust-bin/native/package.json +13 -3
  60. package/node_modules/@ykdz/reference-rust-bin/native/resources/gitignore +5 -0
  61. package/node_modules/@ykdz/reference-rust-bin/native/resources/npmignore +1 -0
  62. package/node_modules/@ykdz/reference-rust-bin/native/template/rust-toolchain.toml +1 -1
  63. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/definition.d.ts +86 -12
  64. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/definition.d.ts.map +1 -1
  65. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/definition.js +227 -106
  66. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/environment.d.ts +6 -0
  67. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/environment.d.ts.map +1 -0
  68. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/environment.js +44 -0
  69. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/rust-package-projection.d.ts +19 -0
  70. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/rust-package-projection.d.ts.map +1 -0
  71. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/rust-package-projection.js +65 -0
  72. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/rust-toolchain-projection.d.ts +15 -0
  73. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/rust-toolchain-projection.d.ts.map +1 -0
  74. package/node_modules/@ykdz/reference-rust-bin/native/template-dist/rust-toolchain-projection.js +44 -0
  75. package/node_modules/@ykdz/reference-rust-bin/native/turbo.json +3 -1
  76. package/node_modules/@ykdz/reference-rust-bin/package.json +6 -1
  77. package/node_modules/@ykdz/reference-tooling-config/native/package.json +4 -5
  78. package/node_modules/@ykdz/reference-tooling-config/native/template/workspace/oxfmt.config.ts +1 -0
  79. package/node_modules/@ykdz/reference-tooling-config/native/template/workspace/oxlint.config.ts +4 -0
  80. package/node_modules/@ykdz/reference-tooling-config/native/template-dist/definition.d.ts +1 -27
  81. package/node_modules/@ykdz/reference-tooling-config/native/template-dist/definition.js +53 -11
  82. package/node_modules/@ykdz/reference-tooling-config/native/tsconfig.json +1 -1
  83. package/node_modules/@ykdz/reference-tooling-config/native/turbo.json +5 -4
  84. package/node_modules/@ykdz/reference-tooling-config/package.json +5 -1
  85. package/node_modules/@ykdz/reference-ts-cli/native/package.json +8 -8
  86. package/node_modules/@ykdz/reference-ts-cli/native/resources/gitignore +5 -0
  87. package/node_modules/@ykdz/reference-ts-cli/native/resources/npmignore +1 -0
  88. package/node_modules/@ykdz/reference-ts-cli/native/src/cli-command-identity.ts +18 -0
  89. package/node_modules/@ykdz/reference-ts-cli/native/src/cli.ts +1 -1
  90. package/node_modules/@ykdz/reference-ts-cli/native/src/main.ts +9 -19
  91. package/node_modules/@ykdz/reference-ts-cli/native/template-dist/definition.d.ts +8 -6
  92. package/node_modules/@ykdz/reference-ts-cli/native/template-dist/definition.d.ts.map +1 -1
  93. package/node_modules/@ykdz/reference-ts-cli/native/template-dist/definition.js +119 -59
  94. package/node_modules/@ykdz/reference-ts-cli/native/template-dist/package-manifest.d.ts +7 -0
  95. package/node_modules/@ykdz/reference-ts-cli/native/template-dist/package-manifest.d.ts.map +1 -0
  96. package/node_modules/@ykdz/reference-ts-cli/native/template-dist/package-manifest.js +28 -0
  97. package/node_modules/@ykdz/reference-ts-cli/native/test/e2e/journeys/lookup.journey.ts +1 -1
  98. package/node_modules/@ykdz/reference-ts-cli/native/test/integration/command.test.ts +1 -1
  99. package/node_modules/@ykdz/reference-ts-cli/native/test/unit/cli-command-identity.test.ts +7 -55
  100. package/node_modules/@ykdz/reference-ts-cli/native/tsconfig.build.json +1 -1
  101. package/node_modules/@ykdz/reference-ts-cli/native/tsconfig.node.json +8 -2
  102. package/node_modules/@ykdz/reference-ts-cli/native/turbo.json +11 -3
  103. package/node_modules/@ykdz/reference-ts-cli/package.json +3 -2
  104. package/node_modules/@ykdz/reference-ts-lib/native/package.json +4 -2
  105. package/node_modules/@ykdz/reference-ts-lib/native/resources/gitignore +3 -0
  106. package/node_modules/@ykdz/reference-ts-lib/native/resources/npmignore +1 -0
  107. package/node_modules/@ykdz/reference-ts-lib/native/src/index.ts +1 -3
  108. package/node_modules/@ykdz/reference-ts-lib/native/src/name-schema.ts +2 -2
  109. package/node_modules/@ykdz/reference-ts-lib/native/template-dist/definition.d.ts +1 -1
  110. package/node_modules/@ykdz/reference-ts-lib/native/template-dist/definition.js +70 -26
  111. package/node_modules/@ykdz/reference-ts-lib/native/tsconfig.node.json +1 -1
  112. package/node_modules/@ykdz/reference-ts-lib/native/turbo.json +3 -1
  113. package/node_modules/@ykdz/reference-ts-lib/package.json +3 -2
  114. package/node_modules/@ykdz/reference-vike-db/native/package.json +3 -1
  115. package/node_modules/@ykdz/reference-vike-db/native/template-dist/definition.d.ts +1 -1
  116. package/node_modules/@ykdz/reference-vike-db/native/template-dist/definition.js +70 -23
  117. package/node_modules/@ykdz/reference-vike-db/native/tsconfig.node.json +1 -1
  118. package/node_modules/@ykdz/reference-vike-db/native/turbo.json +3 -3
  119. package/node_modules/@ykdz/reference-vike-db/package.json +4 -2
  120. package/node_modules/@ykdz/reference-vike-migrations/native/package.json +3 -1
  121. package/node_modules/@ykdz/reference-vike-migrations/native/template-dist/definition.d.ts +2 -1
  122. package/node_modules/@ykdz/reference-vike-migrations/native/template-dist/definition.js +78 -23
  123. package/node_modules/@ykdz/reference-vike-migrations/native/tsconfig.json +1 -1
  124. package/node_modules/@ykdz/reference-vike-migrations/native/turbo.json +3 -3
  125. package/node_modules/@ykdz/reference-vike-migrations/package.json +4 -2
  126. package/node_modules/@ykdz/reference-vike-web/native/package.json +3 -1
  127. package/node_modules/@ykdz/reference-vike-web/native/template-dist/definition.d.ts +2 -1
  128. package/node_modules/@ykdz/reference-vike-web/native/template-dist/definition.js +137 -38
  129. package/node_modules/@ykdz/reference-vike-web/native/tsconfig.app.json +1 -1
  130. package/node_modules/@ykdz/reference-vike-web/native/tsconfig.node.json +1 -1
  131. package/node_modules/@ykdz/reference-vike-web/native/turbo.json +8 -4
  132. package/node_modules/@ykdz/reference-vike-web/package.json +4 -3
  133. package/node_modules/@ykdz/reference-vue-app/native/package.json +3 -1
  134. package/node_modules/@ykdz/reference-vue-app/native/template-dist/definition.d.ts +1 -1
  135. package/node_modules/@ykdz/reference-vue-app/native/template-dist/definition.js +72 -32
  136. package/node_modules/@ykdz/reference-vue-app/native/tsconfig.app.json +1 -1
  137. package/node_modules/@ykdz/reference-vue-app/native/tsconfig.node.json +1 -1
  138. package/node_modules/@ykdz/reference-vue-app/native/turbo.json +2 -2
  139. package/node_modules/@ykdz/reference-vue-app/package.json +3 -3
  140. package/node_modules/@ykdz/reference-vue-hono-web/native/package.json +3 -1
  141. package/node_modules/@ykdz/reference-vue-hono-web/native/template-dist/definition.d.ts +3 -1
  142. package/node_modules/@ykdz/reference-vue-hono-web/native/template-dist/definition.js +78 -28
  143. package/node_modules/@ykdz/reference-vue-hono-web/native/tsconfig.app.json +1 -1
  144. package/node_modules/@ykdz/reference-vue-hono-web/native/tsconfig.node.json +1 -1
  145. package/node_modules/@ykdz/reference-vue-hono-web/native/turbo.json +2 -2
  146. package/node_modules/@ykdz/reference-vue-hono-web/package.json +4 -3
  147. package/node_modules/@ykdz/reference-workspace-root/native/package.json +59 -0
  148. package/node_modules/@ykdz/reference-workspace-root/native/template/files/turbo.json +40 -0
  149. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/definition.d.ts +10 -0
  150. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/definition.d.ts.map +1 -0
  151. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/definition.js +140 -0
  152. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/editor-customization.d.ts +19 -0
  153. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/editor-customization.d.ts.map +1 -0
  154. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/editor-customization.js +82 -0
  155. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/environment-sources.d.ts +6 -0
  156. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/environment-sources.d.ts.map +1 -0
  157. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/environment-sources.js +10 -0
  158. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/environment.d.ts +36 -0
  159. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/environment.d.ts.map +1 -0
  160. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/environment.js +210 -0
  161. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/project-github.d.ts +31 -0
  162. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/project-github.d.ts.map +1 -0
  163. package/node_modules/@ykdz/reference-workspace-root/native/template-dist/project-github.js +94 -0
  164. package/node_modules/@ykdz/reference-workspace-root/native/tsconfig.config.json +10 -0
  165. package/node_modules/@ykdz/reference-workspace-root/native/tsconfig.json +7 -0
  166. package/node_modules/@ykdz/reference-workspace-root/native/tsconfig.scripts.json +8 -0
  167. package/node_modules/@ykdz/reference-workspace-root/package.json +33 -0
  168. package/node_modules/@ykdz/template-content/dist/index.d.ts +10 -10
  169. package/node_modules/@ykdz/template-content/dist/index.js +3 -3
  170. package/node_modules/@ykdz/template-content/package.json +2 -1
  171. package/node_modules/@ykdz/template-content-provider-51cfac9642dc43a4/dist/index.d.ts +3 -45
  172. package/node_modules/@ykdz/template-content-provider-51cfac9642dc43a4/dist/index.js +18 -23
  173. package/node_modules/@ykdz/template-content-provider-51cfac9642dc43a4/package.json +2 -2
  174. package/node_modules/@ykdz/template-core/dist/composition.d.ts +49 -0
  175. package/node_modules/@ykdz/template-core/dist/composition.js +1 -0
  176. package/node_modules/@ykdz/template-core/dist/content-identity.d.ts +10 -0
  177. package/node_modules/@ykdz/template-core/dist/content-identity.js +21 -2
  178. package/node_modules/@ykdz/template-core/dist/generation-record.d.ts +63 -28
  179. package/node_modules/@ykdz/template-core/dist/generation-record.js +104 -35
  180. package/node_modules/@ykdz/template-core/dist/json.d.ts +8 -0
  181. package/node_modules/@ykdz/template-core/dist/json.js +62 -0
  182. package/node_modules/@ykdz/template-core/dist/package-contribution.d.ts +29 -12
  183. package/node_modules/@ykdz/template-core/dist/package-contribution.js +164 -33
  184. package/node_modules/@ykdz/template-core/dist/preset-definition.d.ts +6 -33
  185. package/node_modules/@ykdz/template-core/dist/preset-definition.js +23 -6
  186. package/node_modules/@ykdz/template-core/dist/project-blueprint.d.ts +40 -30
  187. package/node_modules/@ykdz/template-core/dist/project-blueprint.js +145 -140
  188. package/node_modules/@ykdz/template-core/dist/project-projection.d.ts +91 -33
  189. package/node_modules/@ykdz/template-core/dist/project-projection.js +639 -323
  190. package/node_modules/@ykdz/template-core/dist/reference-package.d.ts +101 -0
  191. package/node_modules/@ykdz/template-core/dist/reference-package.js +14 -0
  192. package/node_modules/@ykdz/template-core/dist/template-source.d.ts +10 -0
  193. package/node_modules/@ykdz/template-core/dist/template-source.js +31 -0
  194. package/node_modules/@ykdz/template-core/package.json +5 -6
  195. package/node_modules/@ykdz/template-environment/dist/development-container-tool-layer.d.ts +2 -3
  196. package/node_modules/@ykdz/template-environment/dist/development-container-tool-layer.js +2 -6
  197. package/node_modules/@ykdz/template-environment/package.json +3 -3
  198. package/node_modules/@ykdz/template-generator/dist/content-source.d.ts +25 -3
  199. package/node_modules/@ykdz/template-generator/dist/content-source.js +28 -27
  200. package/node_modules/@ykdz/template-generator/dist/index.d.ts +191 -60
  201. package/node_modules/@ykdz/template-generator/dist/index.js +1868 -1000
  202. package/node_modules/@ykdz/template-generator/dist/owner-local-reference.d.ts +8 -0
  203. package/node_modules/@ykdz/template-generator/dist/owner-local-reference.js +80 -0
  204. package/node_modules/@ykdz/template-generator/package.json +2 -2
  205. package/node_modules/@ykdz/template-workspace/dist/application-requirements.d.ts +13 -3
  206. package/node_modules/@ykdz/template-workspace/dist/application-requirements.js +34 -0
  207. package/node_modules/@ykdz/template-workspace/dist/ci-diagnostic-artifact.d.ts +1 -6
  208. package/node_modules/@ykdz/template-workspace/dist/default-composition.d.ts +109 -0
  209. package/node_modules/@ykdz/template-workspace/dist/default-composition.js +1353 -0
  210. package/node_modules/@ykdz/template-workspace/dist/default-generation.d.ts +618 -0
  211. package/node_modules/@ykdz/template-workspace/dist/default-generation.js +638 -0
  212. package/node_modules/@ykdz/template-workspace/dist/default-package-identity.js +23 -19
  213. package/node_modules/@ykdz/template-workspace/dist/project-requirements.d.ts +23 -9
  214. package/node_modules/@ykdz/template-workspace/dist/project-requirements.js +16 -1
  215. package/node_modules/@ykdz/template-workspace/dist/release-toolchain-snapshot.d.ts +1 -1
  216. package/node_modules/@ykdz/template-workspace/dist/release-toolchain-snapshot.js +1 -1
  217. package/node_modules/@ykdz/template-workspace/dist/rust-toolchain-facts.d.ts +13 -7
  218. package/node_modules/@ykdz/template-workspace/dist/rust-toolchain-facts.js +35 -21
  219. package/node_modules/@ykdz/template-workspace/dist/shared-root-files.d.ts +7 -67
  220. package/node_modules/@ykdz/template-workspace/dist/shared-root-files.js +18 -50
  221. package/node_modules/@ykdz/template-workspace/dist/workspace-policy-snapshot.d.ts +0 -1
  222. package/node_modules/@ykdz/template-workspace/dist/workspace-policy-snapshot.js +7 -18
  223. package/node_modules/@ykdz/template-workspace/package.json +16 -58
  224. package/node_modules/@ykdz/template-workspace-authoring/dist/content-artifact.d.ts +38 -2
  225. package/node_modules/@ykdz/template-workspace-authoring/dist/content-artifact.js +95 -44
  226. package/node_modules/@ykdz/template-workspace-authoring/package.json +4 -3
  227. package/node_modules/@ykdz/tooling-config/base.json +15 -0
  228. package/node_modules/@ykdz/tooling-config/node.json +13 -0
  229. package/node_modules/@ykdz/tooling-config/oxfmt.config.ts +3 -0
  230. package/node_modules/@ykdz/tooling-config/oxlint.config.ts +8 -0
  231. package/node_modules/@ykdz/tooling-config/package.json +36 -0
  232. package/node_modules/zod/LICENSE +21 -0
  233. package/node_modules/zod/README.md +218 -0
  234. package/node_modules/zod/compile.cjs +96 -0
  235. package/node_modules/zod/compile.d.cts +1 -0
  236. package/node_modules/zod/compile.d.ts +1 -0
  237. package/node_modules/zod/compile.js +52 -0
  238. package/node_modules/zod/index.cjs +52 -0
  239. package/node_modules/zod/index.d.cts +3 -0
  240. package/node_modules/zod/index.d.ts +3 -0
  241. package/node_modules/zod/index.js +7 -0
  242. package/node_modules/zod/locales/index.cjs +36 -0
  243. package/node_modules/zod/locales/index.d.cts +1 -0
  244. package/node_modules/zod/locales/index.d.ts +1 -0
  245. package/node_modules/zod/locales/index.js +1 -0
  246. package/node_modules/zod/locales/package.json +7 -0
  247. package/node_modules/zod/mini/index.cjs +51 -0
  248. package/node_modules/zod/mini/index.d.cts +3 -0
  249. package/node_modules/zod/mini/index.d.ts +3 -0
  250. package/node_modules/zod/mini/index.js +3 -0
  251. package/node_modules/zod/mini/package.json +7 -0
  252. package/node_modules/zod/package.json +147 -0
  253. package/node_modules/zod/src/compile.ts +56 -0
  254. package/node_modules/zod/src/index.ts +7 -0
  255. package/node_modules/zod/src/locales/index.ts +1 -0
  256. package/node_modules/zod/src/mini/index.ts +3 -0
  257. package/node_modules/zod/src/v3/ZodError.ts +340 -0
  258. package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  259. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  260. package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  261. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  262. package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  263. package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  264. package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  265. package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  266. package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  267. package/node_modules/zod/src/v3/errors.ts +13 -0
  268. package/node_modules/zod/src/v3/external.ts +6 -0
  269. package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  270. package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  271. package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  272. package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  273. package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  274. package/node_modules/zod/src/v3/helpers/util.ts +224 -0
  275. package/node_modules/zod/src/v3/index.ts +4 -0
  276. package/node_modules/zod/src/v3/locales/en.ts +124 -0
  277. package/node_modules/zod/src/v3/standard-schema.ts +113 -0
  278. package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
  279. package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
  280. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
  281. package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
  282. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
  283. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
  284. package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
  285. package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
  286. package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
  287. package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
  288. package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
  289. package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
  290. package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
  291. package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
  292. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
  293. package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
  294. package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
  295. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  296. package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
  297. package/node_modules/zod/src/v3/tests/error.test.ts +586 -0
  298. package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
  299. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  300. package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
  301. package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
  302. package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
  303. package/node_modules/zod/src/v3/tests/intersection.test.ts +128 -0
  304. package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
  305. package/node_modules/zod/src/v3/tests/language-server.test.ts +206 -0
  306. package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
  307. package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
  308. package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
  309. package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
  310. package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
  311. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  312. package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
  313. package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
  314. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  315. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  316. package/node_modules/zod/src/v3/tests/object.test.ts +431 -0
  317. package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
  318. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
  319. package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
  320. package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
  321. package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
  322. package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
  323. package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
  324. package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
  325. package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
  326. package/node_modules/zod/src/v3/tests/readonly.test.ts +114 -0
  327. package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
  328. package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
  329. package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
  330. package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
  331. package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
  332. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
  333. package/node_modules/zod/src/v3/tests/string.test.ts +922 -0
  334. package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
  335. package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
  336. package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
  337. package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
  338. package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
  339. package/node_modules/zod/src/v3/types.ts +5138 -0
  340. package/node_modules/zod/src/v4/classic/checks.ts +33 -0
  341. package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  342. package/node_modules/zod/src/v4/classic/compat.ts +78 -0
  343. package/node_modules/zod/src/v4/classic/deep-partial.ts +76 -0
  344. package/node_modules/zod/src/v4/classic/errors.ts +97 -0
  345. package/node_modules/zod/src/v4/classic/external.ts +57 -0
  346. package/node_modules/zod/src/v4/classic/from-json-schema.ts +944 -0
  347. package/node_modules/zod/src/v4/classic/in-out.ts +45 -0
  348. package/node_modules/zod/src/v4/classic/index.ts +5 -0
  349. package/node_modules/zod/src/v4/classic/iso.ts +20 -0
  350. package/node_modules/zod/src/v4/classic/parse.ts +88 -0
  351. package/node_modules/zod/src/v4/classic/schemas.ts +2937 -0
  352. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  353. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +86 -0
  354. package/node_modules/zod/src/v4/classic/tests/array.test.ts +291 -0
  355. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +402 -0
  356. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  357. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  358. package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
  359. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +89 -0
  360. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
  361. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +604 -0
  362. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  363. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +572 -0
  364. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +704 -0
  365. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  366. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
  367. package/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +76 -0
  368. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
  369. package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +985 -0
  370. package/node_modules/zod/src/v4/classic/tests/date.test.ts +92 -0
  371. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +316 -0
  372. package/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +380 -0
  373. package/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +32 -0
  374. package/node_modules/zod/src/v4/classic/tests/default.test.ts +455 -0
  375. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
  376. package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
  377. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +221 -0
  378. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +942 -0
  379. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +305 -0
  380. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +917 -0
  381. package/node_modules/zod/src/v4/classic/tests/error.test.ts +1108 -0
  382. package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
  383. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
  384. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
  385. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +1467 -0
  386. package/node_modules/zod/src/v4/classic/tests/function.test.ts +391 -0
  387. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
  388. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +32 -0
  389. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +67 -0
  390. package/node_modules/zod/src/v4/classic/tests/iban.test.ts +81 -0
  391. package/node_modules/zod/src/v4/classic/tests/in-out.test.ts +159 -0
  392. package/node_modules/zod/src/v4/classic/tests/index.test.ts +958 -0
  393. package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +319 -0
  394. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +127 -0
  395. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +334 -0
  396. package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +215 -0
  397. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +39 -0
  398. package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
  399. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +262 -0
  400. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +128 -0
  401. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
  402. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
  403. package/node_modules/zod/src/v4/classic/tests/map.test.ts +349 -0
  404. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
  405. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  406. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
  407. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  408. package/node_modules/zod/src/v4/classic/tests/number.test.ts +401 -0
  409. package/node_modules/zod/src/v4/classic/tests/object.test.ts +1006 -0
  410. package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +235 -0
  411. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +366 -0
  412. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +497 -0
  413. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
  414. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
  415. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +144 -0
  416. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +44 -0
  417. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
  418. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  419. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  420. package/node_modules/zod/src/v4/classic/tests/properties.test.ts +141 -0
  421. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  422. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +184 -0
  423. package/node_modules/zod/src/v4/classic/tests/record.test.ts +885 -0
  424. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +707 -0
  425. package/node_modules/zod/src/v4/classic/tests/redos.test.ts +68 -0
  426. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +693 -0
  427. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
  428. package/node_modules/zod/src/v4/classic/tests/set.test.ts +196 -0
  429. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +153 -0
  430. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
  431. package/node_modules/zod/src/v4/classic/tests/string.test.ts +1440 -0
  432. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +124 -0
  433. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +812 -0
  434. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
  435. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +4733 -0
  436. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
  437. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +511 -0
  438. package/node_modules/zod/src/v4/classic/tests/union.test.ts +310 -0
  439. package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
  440. package/node_modules/zod/src/v4/classic/tests/validate.test.ts +645 -0
  441. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
  442. package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
  443. package/node_modules/zod/src/v4/core/api.ts +1875 -0
  444. package/node_modules/zod/src/v4/core/checks.ts +1266 -0
  445. package/node_modules/zod/src/v4/core/compile.ts +2322 -0
  446. package/node_modules/zod/src/v4/core/core.ts +230 -0
  447. package/node_modules/zod/src/v4/core/doc.ts +52 -0
  448. package/node_modules/zod/src/v4/core/errors.ts +543 -0
  449. package/node_modules/zod/src/v4/core/index.ts +19 -0
  450. package/node_modules/zod/src/v4/core/json-schema-generator.ts +131 -0
  451. package/node_modules/zod/src/v4/core/json-schema-processors.ts +934 -0
  452. package/node_modules/zod/src/v4/core/json-schema.ts +148 -0
  453. package/node_modules/zod/src/v4/core/memoizer.ts +331 -0
  454. package/node_modules/zod/src/v4/core/parse.ts +309 -0
  455. package/node_modules/zod/src/v4/core/regexes.ts +217 -0
  456. package/node_modules/zod/src/v4/core/registries.ts +105 -0
  457. package/node_modules/zod/src/v4/core/schemas.ts +5226 -0
  458. package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
  459. package/node_modules/zod/src/v4/core/tests/cached.test.ts +54 -0
  460. package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +1004 -0
  461. package/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +445 -0
  462. package/node_modules/zod/src/v4/core/tests/compile-global.test.ts +89 -0
  463. package/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +26 -0
  464. package/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +34 -0
  465. package/node_modules/zod/src/v4/core/tests/compile.test.ts +2036 -0
  466. package/node_modules/zod/src/v4/core/tests/email-regex.test.ts +140 -0
  467. package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
  468. package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
  469. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  470. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +214 -0
  471. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  472. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +180 -0
  473. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
  474. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
  475. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
  476. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
  477. package/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +42 -0
  478. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  479. package/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +85 -0
  480. package/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +69 -0
  481. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  482. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
  483. package/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +46 -0
  484. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
  485. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
  486. package/node_modules/zod/src/v4/core/tests/treeshake.test.ts +51 -0
  487. package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +133 -0
  488. package/node_modules/zod/src/v4/core/to-json-schema.ts +857 -0
  489. package/node_modules/zod/src/v4/core/util.ts +1293 -0
  490. package/node_modules/zod/src/v4/core/versions.ts +5 -0
  491. package/node_modules/zod/src/v4/core/visit.ts +193 -0
  492. package/node_modules/zod/src/v4/core/zsf.ts +323 -0
  493. package/node_modules/zod/src/v4/index.ts +4 -0
  494. package/node_modules/zod/src/v4/locales/ar.ts +120 -0
  495. package/node_modules/zod/src/v4/locales/az.ts +116 -0
  496. package/node_modules/zod/src/v4/locales/be.ts +188 -0
  497. package/node_modules/zod/src/v4/locales/bg.ts +133 -0
  498. package/node_modules/zod/src/v4/locales/bn.ts +123 -0
  499. package/node_modules/zod/src/v4/locales/ca.ts +121 -0
  500. package/node_modules/zod/src/v4/locales/ckb.ts +140 -0
  501. package/node_modules/zod/src/v4/locales/cs.ts +123 -0
  502. package/node_modules/zod/src/v4/locales/da.ts +128 -0
  503. package/node_modules/zod/src/v4/locales/de.ts +121 -0
  504. package/node_modules/zod/src/v4/locales/el.ts +124 -0
  505. package/node_modules/zod/src/v4/locales/en.ts +136 -0
  506. package/node_modules/zod/src/v4/locales/eo.ts +123 -0
  507. package/node_modules/zod/src/v4/locales/es.ts +145 -0
  508. package/node_modules/zod/src/v4/locales/fa.ts +131 -0
  509. package/node_modules/zod/src/v4/locales/fi.ts +126 -0
  510. package/node_modules/zod/src/v4/locales/fr-CA.ts +121 -0
  511. package/node_modules/zod/src/v4/locales/fr.ts +139 -0
  512. package/node_modules/zod/src/v4/locales/gu.ts +123 -0
  513. package/node_modules/zod/src/v4/locales/he.ts +253 -0
  514. package/node_modules/zod/src/v4/locales/hi.ts +126 -0
  515. package/node_modules/zod/src/v4/locales/hr.ts +135 -0
  516. package/node_modules/zod/src/v4/locales/hu.ts +122 -0
  517. package/node_modules/zod/src/v4/locales/hy.ts +175 -0
  518. package/node_modules/zod/src/v4/locales/id.ts +120 -0
  519. package/node_modules/zod/src/v4/locales/index.ts +63 -0
  520. package/node_modules/zod/src/v4/locales/is.ts +124 -0
  521. package/node_modules/zod/src/v4/locales/it.ts +121 -0
  522. package/node_modules/zod/src/v4/locales/ja.ts +119 -0
  523. package/node_modules/zod/src/v4/locales/ka.ts +128 -0
  524. package/node_modules/zod/src/v4/locales/kh.ts +7 -0
  525. package/node_modules/zod/src/v4/locales/km.ts +124 -0
  526. package/node_modules/zod/src/v4/locales/kn.ts +126 -0
  527. package/node_modules/zod/src/v4/locales/ko.ts +126 -0
  528. package/node_modules/zod/src/v4/locales/lt.ts +243 -0
  529. package/node_modules/zod/src/v4/locales/mk.ts +123 -0
  530. package/node_modules/zod/src/v4/locales/ms.ts +120 -0
  531. package/node_modules/zod/src/v4/locales/ne.ts +128 -0
  532. package/node_modules/zod/src/v4/locales/nl.ts +126 -0
  533. package/node_modules/zod/src/v4/locales/nn.ts +121 -0
  534. package/node_modules/zod/src/v4/locales/no.ts +121 -0
  535. package/node_modules/zod/src/v4/locales/ota.ts +122 -0
  536. package/node_modules/zod/src/v4/locales/pl.ts +123 -0
  537. package/node_modules/zod/src/v4/locales/ps.ts +131 -0
  538. package/node_modules/zod/src/v4/locales/pt-BR.ts +161 -0
  539. package/node_modules/zod/src/v4/locales/pt.ts +159 -0
  540. package/node_modules/zod/src/v4/locales/ro.ts +132 -0
  541. package/node_modules/zod/src/v4/locales/ru.ts +188 -0
  542. package/node_modules/zod/src/v4/locales/sk.ts +123 -0
  543. package/node_modules/zod/src/v4/locales/sl.ts +123 -0
  544. package/node_modules/zod/src/v4/locales/sv.ts +124 -0
  545. package/node_modules/zod/src/v4/locales/ta.ts +123 -0
  546. package/node_modules/zod/src/v4/locales/tg.ts +135 -0
  547. package/node_modules/zod/src/v4/locales/th.ts +124 -0
  548. package/node_modules/zod/src/v4/locales/tk.ts +113 -0
  549. package/node_modules/zod/src/v4/locales/tr.ts +116 -0
  550. package/node_modules/zod/src/v4/locales/ua.ts +7 -0
  551. package/node_modules/zod/src/v4/locales/uk.ts +122 -0
  552. package/node_modules/zod/src/v4/locales/ur.ts +124 -0
  553. package/node_modules/zod/src/v4/locales/uz.ts +120 -0
  554. package/node_modules/zod/src/v4/locales/vi.ts +122 -0
  555. package/node_modules/zod/src/v4/locales/yo.ts +129 -0
  556. package/node_modules/zod/src/v4/locales/zh-CN.ts +121 -0
  557. package/node_modules/zod/src/v4/locales/zh-TW.ts +120 -0
  558. package/node_modules/zod/src/v4/mini/checks.ts +33 -0
  559. package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
  560. package/node_modules/zod/src/v4/mini/deep-partial.ts +73 -0
  561. package/node_modules/zod/src/v4/mini/external.ts +52 -0
  562. package/node_modules/zod/src/v4/mini/in-out.ts +45 -0
  563. package/node_modules/zod/src/v4/mini/index.ts +3 -0
  564. package/node_modules/zod/src/v4/mini/iso.ts +66 -0
  565. package/node_modules/zod/src/v4/mini/parse.ts +16 -0
  566. package/node_modules/zod/src/v4/mini/schemas.ts +2051 -0
  567. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +57 -0
  568. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +190 -0
  569. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
  570. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +158 -0
  571. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +582 -0
  572. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +30 -0
  573. package/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +84 -0
  574. package/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +54 -0
  575. package/node_modules/zod/src/v4/mini/tests/error.test.ts +41 -0
  576. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +14 -0
  577. package/node_modules/zod/src/v4/mini/tests/index.test.ts +1146 -0
  578. package/node_modules/zod/src/v4/mini/tests/number.test.ts +109 -0
  579. package/node_modules/zod/src/v4/mini/tests/object.test.ts +292 -0
  580. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  581. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +341 -0
  582. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
  583. package/node_modules/zod/src/v4/mini/tests/string.test.ts +396 -0
  584. package/node_modules/zod/src/v4-mini/index.ts +3 -0
  585. package/node_modules/zod/v3/ZodError.cjs +167 -0
  586. package/node_modules/zod/v3/ZodError.d.cts +164 -0
  587. package/node_modules/zod/v3/ZodError.d.ts +164 -0
  588. package/node_modules/zod/v3/ZodError.js +143 -0
  589. package/node_modules/zod/v3/errors.cjs +36 -0
  590. package/node_modules/zod/v3/errors.d.cts +5 -0
  591. package/node_modules/zod/v3/errors.d.ts +5 -0
  592. package/node_modules/zod/v3/errors.js +9 -0
  593. package/node_modules/zod/v3/external.cjs +41 -0
  594. package/node_modules/zod/v3/external.d.cts +6 -0
  595. package/node_modules/zod/v3/external.d.ts +6 -0
  596. package/node_modules/zod/v3/external.js +6 -0
  597. package/node_modules/zod/v3/helpers/enumUtil.cjs +21 -0
  598. package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  599. package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  600. package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
  601. package/node_modules/zod/v3/helpers/errorUtil.cjs +28 -0
  602. package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  603. package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  604. package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  605. package/node_modules/zod/v3/helpers/parseUtil.cjs +143 -0
  606. package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  607. package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  608. package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  609. package/node_modules/zod/v3/helpers/partialUtil.cjs +21 -0
  610. package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  611. package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  612. package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  613. package/node_modules/zod/v3/helpers/typeAliases.cjs +21 -0
  614. package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  615. package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  616. package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  617. package/node_modules/zod/v3/helpers/util.cjs +156 -0
  618. package/node_modules/zod/v3/helpers/util.d.cts +85 -0
  619. package/node_modules/zod/v3/helpers/util.d.ts +85 -0
  620. package/node_modules/zod/v3/helpers/util.js +133 -0
  621. package/node_modules/zod/v3/index.cjs +52 -0
  622. package/node_modules/zod/v3/index.d.cts +4 -0
  623. package/node_modules/zod/v3/index.d.ts +4 -0
  624. package/node_modules/zod/v3/index.js +4 -0
  625. package/node_modules/zod/v3/locales/en.cjs +112 -0
  626. package/node_modules/zod/v3/locales/en.d.cts +3 -0
  627. package/node_modules/zod/v3/locales/en.d.ts +3 -0
  628. package/node_modules/zod/v3/locales/en.js +109 -0
  629. package/node_modules/zod/v3/package.json +7 -0
  630. package/node_modules/zod/v3/standard-schema.cjs +21 -0
  631. package/node_modules/zod/v3/standard-schema.d.cts +102 -0
  632. package/node_modules/zod/v3/standard-schema.d.ts +102 -0
  633. package/node_modules/zod/v3/standard-schema.js +1 -0
  634. package/node_modules/zod/v3/types.cjs +3798 -0
  635. package/node_modules/zod/v3/types.d.cts +1034 -0
  636. package/node_modules/zod/v3/types.d.ts +1034 -0
  637. package/node_modules/zod/v3/types.js +3697 -0
  638. package/node_modules/zod/v4/classic/checks.cjs +53 -0
  639. package/node_modules/zod/v4/classic/checks.d.cts +1 -0
  640. package/node_modules/zod/v4/classic/checks.d.ts +1 -0
  641. package/node_modules/zod/v4/classic/checks.js +1 -0
  642. package/node_modules/zod/v4/classic/coerce.cjs +66 -0
  643. package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  644. package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  645. package/node_modules/zod/v4/classic/coerce.js +17 -0
  646. package/node_modules/zod/v4/classic/compat.cjs +80 -0
  647. package/node_modules/zod/v4/classic/compat.d.cts +48 -0
  648. package/node_modules/zod/v4/classic/compat.d.ts +48 -0
  649. package/node_modules/zod/v4/classic/compat.js +31 -0
  650. package/node_modules/zod/v4/classic/deep-partial.cjs +58 -0
  651. package/node_modules/zod/v4/classic/deep-partial.d.cts +14 -0
  652. package/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
  653. package/node_modules/zod/v4/classic/deep-partial.js +13 -0
  654. package/node_modules/zod/v4/classic/errors.cjs +102 -0
  655. package/node_modules/zod/v4/classic/errors.d.cts +29 -0
  656. package/node_modules/zod/v4/classic/errors.d.ts +29 -0
  657. package/node_modules/zod/v4/classic/errors.js +57 -0
  658. package/node_modules/zod/v4/classic/external.cjs +97 -0
  659. package/node_modules/zod/v4/classic/external.d.cts +19 -0
  660. package/node_modules/zod/v4/classic/external.d.ts +19 -0
  661. package/node_modules/zod/v4/classic/external.js +17 -0
  662. package/node_modules/zod/v4/classic/from-json-schema.cjs +926 -0
  663. package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
  664. package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
  665. package/node_modules/zod/v4/classic/from-json-schema.js +881 -0
  666. package/node_modules/zod/v4/classic/in-out.cjs +82 -0
  667. package/node_modules/zod/v4/classic/in-out.d.cts +8 -0
  668. package/node_modules/zod/v4/classic/in-out.d.ts +8 -0
  669. package/node_modules/zod/v4/classic/in-out.js +36 -0
  670. package/node_modules/zod/v4/classic/index.cjs +52 -0
  671. package/node_modules/zod/v4/classic/index.d.cts +3 -0
  672. package/node_modules/zod/v4/classic/index.d.ts +3 -0
  673. package/node_modules/zod/v4/classic/index.js +4 -0
  674. package/node_modules/zod/v4/classic/iso.cjs +68 -0
  675. package/node_modules/zod/v4/classic/iso.d.cts +7 -0
  676. package/node_modules/zod/v4/classic/iso.d.ts +7 -0
  677. package/node_modules/zod/v4/classic/iso.js +15 -0
  678. package/node_modules/zod/v4/classic/package.json +7 -0
  679. package/node_modules/zod/v4/classic/parse.cjs +63 -0
  680. package/node_modules/zod/v4/classic/parse.d.cts +44 -0
  681. package/node_modules/zod/v4/classic/parse.d.ts +44 -0
  682. package/node_modules/zod/v4/classic/parse.js +16 -0
  683. package/node_modules/zod/v4/classic/schemas.cjs +1676 -0
  684. package/node_modules/zod/v4/classic/schemas.d.cts +816 -0
  685. package/node_modules/zod/v4/classic/schemas.d.ts +816 -0
  686. package/node_modules/zod/v4/classic/schemas.js +1535 -0
  687. package/node_modules/zod/v4/core/api.cjs +1269 -0
  688. package/node_modules/zod/v4/core/api.d.cts +335 -0
  689. package/node_modules/zod/v4/core/api.d.ts +335 -0
  690. package/node_modules/zod/v4/core/api.js +1107 -0
  691. package/node_modules/zod/v4/core/checks.cjs +561 -0
  692. package/node_modules/zod/v4/core/checks.d.cts +294 -0
  693. package/node_modules/zod/v4/core/checks.d.ts +294 -0
  694. package/node_modules/zod/v4/core/checks.js +516 -0
  695. package/node_modules/zod/v4/core/compile.cjs +1916 -0
  696. package/node_modules/zod/v4/core/compile.d.cts +65 -0
  697. package/node_modules/zod/v4/core/compile.d.ts +65 -0
  698. package/node_modules/zod/v4/core/compile.js +1866 -0
  699. package/node_modules/zod/v4/core/core.cjs +167 -0
  700. package/node_modules/zod/v4/core/core.d.cts +82 -0
  701. package/node_modules/zod/v4/core/core.d.ts +82 -0
  702. package/node_modules/zod/v4/core/core.js +141 -0
  703. package/node_modules/zod/v4/core/doc.cjs +61 -0
  704. package/node_modules/zod/v4/core/doc.d.cts +16 -0
  705. package/node_modules/zod/v4/core/doc.d.ts +16 -0
  706. package/node_modules/zod/v4/core/doc.js +38 -0
  707. package/node_modules/zod/v4/core/errors.cjs +317 -0
  708. package/node_modules/zod/v4/core/errors.d.cts +225 -0
  709. package/node_modules/zod/v4/core/errors.d.ts +225 -0
  710. package/node_modules/zod/v4/core/errors.js +267 -0
  711. package/node_modules/zod/v4/core/index.cjs +70 -0
  712. package/node_modules/zod/v4/core/index.d.cts +19 -0
  713. package/node_modules/zod/v4/core/index.d.ts +19 -0
  714. package/node_modules/zod/v4/core/index.js +19 -0
  715. package/node_modules/zod/v4/core/json-schema-generator.cjs +122 -0
  716. package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
  717. package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
  718. package/node_modules/zod/v4/core/json-schema-generator.js +99 -0
  719. package/node_modules/zod/v4/core/json-schema-processors.cjs +929 -0
  720. package/node_modules/zod/v4/core/json-schema-processors.d.cts +65 -0
  721. package/node_modules/zod/v4/core/json-schema-processors.d.ts +65 -0
  722. package/node_modules/zod/v4/core/json-schema-processors.js +843 -0
  723. package/node_modules/zod/v4/core/json-schema.cjs +21 -0
  724. package/node_modules/zod/v4/core/json-schema.d.cts +89 -0
  725. package/node_modules/zod/v4/core/json-schema.d.ts +89 -0
  726. package/node_modules/zod/v4/core/json-schema.js +1 -0
  727. package/node_modules/zod/v4/core/memoizer.cjs +360 -0
  728. package/node_modules/zod/v4/core/memoizer.d.cts +15 -0
  729. package/node_modules/zod/v4/core/memoizer.d.ts +15 -0
  730. package/node_modules/zod/v4/core/memoizer.js +311 -0
  731. package/node_modules/zod/v4/core/package.json +7 -0
  732. package/node_modules/zod/v4/core/parse.cjs +233 -0
  733. package/node_modules/zod/v4/core/parse.d.cts +52 -0
  734. package/node_modules/zod/v4/core/parse.d.ts +52 -0
  735. package/node_modules/zod/v4/core/parse.js +175 -0
  736. package/node_modules/zod/v4/core/regexes.cjs +209 -0
  737. package/node_modules/zod/v4/core/regexes.d.cts +90 -0
  738. package/node_modules/zod/v4/core/regexes.d.ts +90 -0
  739. package/node_modules/zod/v4/core/regexes.js +156 -0
  740. package/node_modules/zod/v4/core/registries.cjs +75 -0
  741. package/node_modules/zod/v4/core/registries.d.cts +35 -0
  742. package/node_modules/zod/v4/core/registries.d.ts +35 -0
  743. package/node_modules/zod/v4/core/registries.js +51 -0
  744. package/node_modules/zod/v4/core/schemas.cjs +2699 -0
  745. package/node_modules/zod/v4/core/schemas.d.cts +1275 -0
  746. package/node_modules/zod/v4/core/schemas.d.ts +1275 -0
  747. package/node_modules/zod/v4/core/schemas.js +2636 -0
  748. package/node_modules/zod/v4/core/standard-schema.cjs +21 -0
  749. package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
  750. package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
  751. package/node_modules/zod/v4/core/standard-schema.js +1 -0
  752. package/node_modules/zod/v4/core/to-json-schema.cjs +681 -0
  753. package/node_modules/zod/v4/core/to-json-schema.d.cts +154 -0
  754. package/node_modules/zod/v4/core/to-json-schema.d.ts +154 -0
  755. package/node_modules/zod/v4/core/to-json-schema.js +651 -0
  756. package/node_modules/zod/v4/core/util.cjs +964 -0
  757. package/node_modules/zod/v4/core/util.d.cts +280 -0
  758. package/node_modules/zod/v4/core/util.d.ts +280 -0
  759. package/node_modules/zod/v4/core/util.js +873 -0
  760. package/node_modules/zod/v4/core/versions.cjs +27 -0
  761. package/node_modules/zod/v4/core/versions.d.cts +5 -0
  762. package/node_modules/zod/v4/core/versions.d.ts +5 -0
  763. package/node_modules/zod/v4/core/versions.js +5 -0
  764. package/node_modules/zod/v4/core/visit.cjs +214 -0
  765. package/node_modules/zod/v4/core/visit.d.cts +30 -0
  766. package/node_modules/zod/v4/core/visit.d.ts +30 -0
  767. package/node_modules/zod/v4/core/visit.js +169 -0
  768. package/node_modules/zod/v4/index.cjs +51 -0
  769. package/node_modules/zod/v4/index.d.cts +3 -0
  770. package/node_modules/zod/v4/index.d.ts +3 -0
  771. package/node_modules/zod/v4/index.js +4 -0
  772. package/node_modules/zod/v4/locales/ar.cjs +138 -0
  773. package/node_modules/zod/v4/locales/ar.d.cts +5 -0
  774. package/node_modules/zod/v4/locales/ar.d.ts +4 -0
  775. package/node_modules/zod/v4/locales/ar.js +111 -0
  776. package/node_modules/zod/v4/locales/az.cjs +137 -0
  777. package/node_modules/zod/v4/locales/az.d.cts +5 -0
  778. package/node_modules/zod/v4/locales/az.d.ts +4 -0
  779. package/node_modules/zod/v4/locales/az.js +110 -0
  780. package/node_modules/zod/v4/locales/be.cjs +195 -0
  781. package/node_modules/zod/v4/locales/be.d.cts +5 -0
  782. package/node_modules/zod/v4/locales/be.d.ts +4 -0
  783. package/node_modules/zod/v4/locales/be.js +168 -0
  784. package/node_modules/zod/v4/locales/bg.cjs +152 -0
  785. package/node_modules/zod/v4/locales/bg.d.cts +5 -0
  786. package/node_modules/zod/v4/locales/bg.d.ts +4 -0
  787. package/node_modules/zod/v4/locales/bg.js +125 -0
  788. package/node_modules/zod/v4/locales/bn.cjs +140 -0
  789. package/node_modules/zod/v4/locales/bn.d.cts +5 -0
  790. package/node_modules/zod/v4/locales/bn.d.ts +4 -0
  791. package/node_modules/zod/v4/locales/bn.js +113 -0
  792. package/node_modules/zod/v4/locales/ca.cjs +139 -0
  793. package/node_modules/zod/v4/locales/ca.d.cts +5 -0
  794. package/node_modules/zod/v4/locales/ca.d.ts +4 -0
  795. package/node_modules/zod/v4/locales/ca.js +112 -0
  796. package/node_modules/zod/v4/locales/ckb.cjs +160 -0
  797. package/node_modules/zod/v4/locales/ckb.d.cts +5 -0
  798. package/node_modules/zod/v4/locales/ckb.d.ts +4 -0
  799. package/node_modules/zod/v4/locales/ckb.js +133 -0
  800. package/node_modules/zod/v4/locales/cs.cjs +143 -0
  801. package/node_modules/zod/v4/locales/cs.d.cts +5 -0
  802. package/node_modules/zod/v4/locales/cs.d.ts +4 -0
  803. package/node_modules/zod/v4/locales/cs.js +116 -0
  804. package/node_modules/zod/v4/locales/da.cjs +147 -0
  805. package/node_modules/zod/v4/locales/da.d.cts +5 -0
  806. package/node_modules/zod/v4/locales/da.d.ts +4 -0
  807. package/node_modules/zod/v4/locales/da.js +120 -0
  808. package/node_modules/zod/v4/locales/de.cjs +140 -0
  809. package/node_modules/zod/v4/locales/de.d.cts +5 -0
  810. package/node_modules/zod/v4/locales/de.d.ts +4 -0
  811. package/node_modules/zod/v4/locales/de.js +113 -0
  812. package/node_modules/zod/v4/locales/el.cjs +139 -0
  813. package/node_modules/zod/v4/locales/el.d.cts +5 -0
  814. package/node_modules/zod/v4/locales/el.d.ts +4 -0
  815. package/node_modules/zod/v4/locales/el.js +112 -0
  816. package/node_modules/zod/v4/locales/en.cjs +152 -0
  817. package/node_modules/zod/v4/locales/en.d.cts +5 -0
  818. package/node_modules/zod/v4/locales/en.d.ts +4 -0
  819. package/node_modules/zod/v4/locales/en.js +125 -0
  820. package/node_modules/zod/v4/locales/eo.cjs +141 -0
  821. package/node_modules/zod/v4/locales/eo.d.cts +5 -0
  822. package/node_modules/zod/v4/locales/eo.d.ts +4 -0
  823. package/node_modules/zod/v4/locales/eo.js +114 -0
  824. package/node_modules/zod/v4/locales/es.cjs +163 -0
  825. package/node_modules/zod/v4/locales/es.d.cts +5 -0
  826. package/node_modules/zod/v4/locales/es.d.ts +4 -0
  827. package/node_modules/zod/v4/locales/es.js +136 -0
  828. package/node_modules/zod/v4/locales/fa.cjs +146 -0
  829. package/node_modules/zod/v4/locales/fa.d.cts +5 -0
  830. package/node_modules/zod/v4/locales/fa.d.ts +4 -0
  831. package/node_modules/zod/v4/locales/fa.js +119 -0
  832. package/node_modules/zod/v4/locales/fi.cjs +144 -0
  833. package/node_modules/zod/v4/locales/fi.d.cts +5 -0
  834. package/node_modules/zod/v4/locales/fi.d.ts +4 -0
  835. package/node_modules/zod/v4/locales/fi.js +117 -0
  836. package/node_modules/zod/v4/locales/fr-CA.cjs +139 -0
  837. package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
  838. package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  839. package/node_modules/zod/v4/locales/fr-CA.js +112 -0
  840. package/node_modules/zod/v4/locales/fr.cjs +156 -0
  841. package/node_modules/zod/v4/locales/fr.d.cts +5 -0
  842. package/node_modules/zod/v4/locales/fr.d.ts +4 -0
  843. package/node_modules/zod/v4/locales/fr.js +129 -0
  844. package/node_modules/zod/v4/locales/gu.cjs +140 -0
  845. package/node_modules/zod/v4/locales/gu.d.cts +5 -0
  846. package/node_modules/zod/v4/locales/gu.d.ts +4 -0
  847. package/node_modules/zod/v4/locales/gu.js +113 -0
  848. package/node_modules/zod/v4/locales/he.cjs +248 -0
  849. package/node_modules/zod/v4/locales/he.d.cts +5 -0
  850. package/node_modules/zod/v4/locales/he.d.ts +4 -0
  851. package/node_modules/zod/v4/locales/he.js +221 -0
  852. package/node_modules/zod/v4/locales/hi.cjs +138 -0
  853. package/node_modules/zod/v4/locales/hi.d.cts +5 -0
  854. package/node_modules/zod/v4/locales/hi.d.ts +4 -0
  855. package/node_modules/zod/v4/locales/hi.js +111 -0
  856. package/node_modules/zod/v4/locales/hr.cjs +153 -0
  857. package/node_modules/zod/v4/locales/hr.d.cts +5 -0
  858. package/node_modules/zod/v4/locales/hr.d.ts +4 -0
  859. package/node_modules/zod/v4/locales/hr.js +126 -0
  860. package/node_modules/zod/v4/locales/hu.cjs +140 -0
  861. package/node_modules/zod/v4/locales/hu.d.cts +5 -0
  862. package/node_modules/zod/v4/locales/hu.d.ts +4 -0
  863. package/node_modules/zod/v4/locales/hu.js +113 -0
  864. package/node_modules/zod/v4/locales/hy.cjs +185 -0
  865. package/node_modules/zod/v4/locales/hy.d.cts +5 -0
  866. package/node_modules/zod/v4/locales/hy.d.ts +4 -0
  867. package/node_modules/zod/v4/locales/hy.js +158 -0
  868. package/node_modules/zod/v4/locales/id.cjs +138 -0
  869. package/node_modules/zod/v4/locales/id.d.cts +5 -0
  870. package/node_modules/zod/v4/locales/id.d.ts +4 -0
  871. package/node_modules/zod/v4/locales/id.js +111 -0
  872. package/node_modules/zod/v4/locales/index.cjs +152 -0
  873. package/node_modules/zod/v4/locales/index.d.cts +63 -0
  874. package/node_modules/zod/v4/locales/index.d.ts +63 -0
  875. package/node_modules/zod/v4/locales/index.js +63 -0
  876. package/node_modules/zod/v4/locales/is.cjs +141 -0
  877. package/node_modules/zod/v4/locales/is.d.cts +5 -0
  878. package/node_modules/zod/v4/locales/is.d.ts +4 -0
  879. package/node_modules/zod/v4/locales/is.js +114 -0
  880. package/node_modules/zod/v4/locales/it.cjs +140 -0
  881. package/node_modules/zod/v4/locales/it.d.cts +5 -0
  882. package/node_modules/zod/v4/locales/it.d.ts +4 -0
  883. package/node_modules/zod/v4/locales/it.js +113 -0
  884. package/node_modules/zod/v4/locales/ja.cjs +139 -0
  885. package/node_modules/zod/v4/locales/ja.d.cts +5 -0
  886. package/node_modules/zod/v4/locales/ja.d.ts +4 -0
  887. package/node_modules/zod/v4/locales/ja.js +112 -0
  888. package/node_modules/zod/v4/locales/ka.cjs +144 -0
  889. package/node_modules/zod/v4/locales/ka.d.cts +5 -0
  890. package/node_modules/zod/v4/locales/ka.d.ts +4 -0
  891. package/node_modules/zod/v4/locales/ka.js +117 -0
  892. package/node_modules/zod/v4/locales/kh.cjs +12 -0
  893. package/node_modules/zod/v4/locales/kh.d.cts +5 -0
  894. package/node_modules/zod/v4/locales/kh.d.ts +5 -0
  895. package/node_modules/zod/v4/locales/kh.js +5 -0
  896. package/node_modules/zod/v4/locales/km.cjs +142 -0
  897. package/node_modules/zod/v4/locales/km.d.cts +5 -0
  898. package/node_modules/zod/v4/locales/km.d.ts +4 -0
  899. package/node_modules/zod/v4/locales/km.js +115 -0
  900. package/node_modules/zod/v4/locales/kn.cjs +143 -0
  901. package/node_modules/zod/v4/locales/kn.d.cts +5 -0
  902. package/node_modules/zod/v4/locales/kn.d.ts +4 -0
  903. package/node_modules/zod/v4/locales/kn.js +116 -0
  904. package/node_modules/zod/v4/locales/ko.cjs +143 -0
  905. package/node_modules/zod/v4/locales/ko.d.cts +5 -0
  906. package/node_modules/zod/v4/locales/ko.d.ts +4 -0
  907. package/node_modules/zod/v4/locales/ko.js +116 -0
  908. package/node_modules/zod/v4/locales/lt.cjs +234 -0
  909. package/node_modules/zod/v4/locales/lt.d.cts +5 -0
  910. package/node_modules/zod/v4/locales/lt.d.ts +4 -0
  911. package/node_modules/zod/v4/locales/lt.js +207 -0
  912. package/node_modules/zod/v4/locales/mk.cjs +141 -0
  913. package/node_modules/zod/v4/locales/mk.d.cts +5 -0
  914. package/node_modules/zod/v4/locales/mk.d.ts +4 -0
  915. package/node_modules/zod/v4/locales/mk.js +114 -0
  916. package/node_modules/zod/v4/locales/ms.cjs +139 -0
  917. package/node_modules/zod/v4/locales/ms.d.cts +5 -0
  918. package/node_modules/zod/v4/locales/ms.d.ts +4 -0
  919. package/node_modules/zod/v4/locales/ms.js +112 -0
  920. package/node_modules/zod/v4/locales/ne.cjs +138 -0
  921. package/node_modules/zod/v4/locales/ne.d.cts +5 -0
  922. package/node_modules/zod/v4/locales/ne.d.ts +4 -0
  923. package/node_modules/zod/v4/locales/ne.js +111 -0
  924. package/node_modules/zod/v4/locales/nl.cjs +142 -0
  925. package/node_modules/zod/v4/locales/nl.d.cts +5 -0
  926. package/node_modules/zod/v4/locales/nl.d.ts +4 -0
  927. package/node_modules/zod/v4/locales/nl.js +115 -0
  928. package/node_modules/zod/v4/locales/nn.cjs +140 -0
  929. package/node_modules/zod/v4/locales/nn.d.cts +5 -0
  930. package/node_modules/zod/v4/locales/nn.d.ts +4 -0
  931. package/node_modules/zod/v4/locales/nn.js +113 -0
  932. package/node_modules/zod/v4/locales/no.cjs +140 -0
  933. package/node_modules/zod/v4/locales/no.d.cts +5 -0
  934. package/node_modules/zod/v4/locales/no.d.ts +4 -0
  935. package/node_modules/zod/v4/locales/no.js +113 -0
  936. package/node_modules/zod/v4/locales/ota.cjs +141 -0
  937. package/node_modules/zod/v4/locales/ota.d.cts +5 -0
  938. package/node_modules/zod/v4/locales/ota.d.ts +4 -0
  939. package/node_modules/zod/v4/locales/ota.js +114 -0
  940. package/node_modules/zod/v4/locales/package.json +7 -0
  941. package/node_modules/zod/v4/locales/pl.cjs +141 -0
  942. package/node_modules/zod/v4/locales/pl.d.cts +5 -0
  943. package/node_modules/zod/v4/locales/pl.d.ts +4 -0
  944. package/node_modules/zod/v4/locales/pl.js +114 -0
  945. package/node_modules/zod/v4/locales/ps.cjs +146 -0
  946. package/node_modules/zod/v4/locales/ps.d.cts +5 -0
  947. package/node_modules/zod/v4/locales/ps.d.ts +4 -0
  948. package/node_modules/zod/v4/locales/ps.js +119 -0
  949. package/node_modules/zod/v4/locales/pt-BR.cjs +170 -0
  950. package/node_modules/zod/v4/locales/pt-BR.d.cts +5 -0
  951. package/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
  952. package/node_modules/zod/v4/locales/pt-BR.js +143 -0
  953. package/node_modules/zod/v4/locales/pt.cjs +169 -0
  954. package/node_modules/zod/v4/locales/pt.d.cts +5 -0
  955. package/node_modules/zod/v4/locales/pt.d.ts +4 -0
  956. package/node_modules/zod/v4/locales/pt.js +142 -0
  957. package/node_modules/zod/v4/locales/ro.cjs +149 -0
  958. package/node_modules/zod/v4/locales/ro.d.cts +5 -0
  959. package/node_modules/zod/v4/locales/ro.d.ts +4 -0
  960. package/node_modules/zod/v4/locales/ro.js +122 -0
  961. package/node_modules/zod/v4/locales/ru.cjs +195 -0
  962. package/node_modules/zod/v4/locales/ru.d.cts +5 -0
  963. package/node_modules/zod/v4/locales/ru.d.ts +4 -0
  964. package/node_modules/zod/v4/locales/ru.js +168 -0
  965. package/node_modules/zod/v4/locales/sk.cjs +143 -0
  966. package/node_modules/zod/v4/locales/sk.d.cts +5 -0
  967. package/node_modules/zod/v4/locales/sk.d.ts +4 -0
  968. package/node_modules/zod/v4/locales/sk.js +116 -0
  969. package/node_modules/zod/v4/locales/sl.cjs +141 -0
  970. package/node_modules/zod/v4/locales/sl.d.cts +5 -0
  971. package/node_modules/zod/v4/locales/sl.d.ts +4 -0
  972. package/node_modules/zod/v4/locales/sl.js +114 -0
  973. package/node_modules/zod/v4/locales/sv.cjs +142 -0
  974. package/node_modules/zod/v4/locales/sv.d.cts +5 -0
  975. package/node_modules/zod/v4/locales/sv.d.ts +4 -0
  976. package/node_modules/zod/v4/locales/sv.js +115 -0
  977. package/node_modules/zod/v4/locales/ta.cjs +142 -0
  978. package/node_modules/zod/v4/locales/ta.d.cts +5 -0
  979. package/node_modules/zod/v4/locales/ta.d.ts +4 -0
  980. package/node_modules/zod/v4/locales/ta.js +115 -0
  981. package/node_modules/zod/v4/locales/tg.cjs +144 -0
  982. package/node_modules/zod/v4/locales/tg.d.cts +5 -0
  983. package/node_modules/zod/v4/locales/tg.d.ts +4 -0
  984. package/node_modules/zod/v4/locales/tg.js +117 -0
  985. package/node_modules/zod/v4/locales/th.cjs +142 -0
  986. package/node_modules/zod/v4/locales/th.d.cts +5 -0
  987. package/node_modules/zod/v4/locales/th.d.ts +4 -0
  988. package/node_modules/zod/v4/locales/th.js +115 -0
  989. package/node_modules/zod/v4/locales/tk.cjs +134 -0
  990. package/node_modules/zod/v4/locales/tk.d.cts +5 -0
  991. package/node_modules/zod/v4/locales/tk.d.ts +4 -0
  992. package/node_modules/zod/v4/locales/tk.js +107 -0
  993. package/node_modules/zod/v4/locales/tr.cjs +137 -0
  994. package/node_modules/zod/v4/locales/tr.d.cts +5 -0
  995. package/node_modules/zod/v4/locales/tr.d.ts +4 -0
  996. package/node_modules/zod/v4/locales/tr.js +110 -0
  997. package/node_modules/zod/v4/locales/ua.cjs +12 -0
  998. package/node_modules/zod/v4/locales/ua.d.cts +5 -0
  999. package/node_modules/zod/v4/locales/ua.d.ts +5 -0
  1000. package/node_modules/zod/v4/locales/ua.js +5 -0
  1001. package/node_modules/zod/v4/locales/uk.cjs +140 -0
  1002. package/node_modules/zod/v4/locales/uk.d.cts +5 -0
  1003. package/node_modules/zod/v4/locales/uk.d.ts +4 -0
  1004. package/node_modules/zod/v4/locales/uk.js +113 -0
  1005. package/node_modules/zod/v4/locales/ur.cjs +142 -0
  1006. package/node_modules/zod/v4/locales/ur.d.cts +5 -0
  1007. package/node_modules/zod/v4/locales/ur.d.ts +4 -0
  1008. package/node_modules/zod/v4/locales/ur.js +115 -0
  1009. package/node_modules/zod/v4/locales/uz.cjs +140 -0
  1010. package/node_modules/zod/v4/locales/uz.d.cts +5 -0
  1011. package/node_modules/zod/v4/locales/uz.d.ts +4 -0
  1012. package/node_modules/zod/v4/locales/uz.js +113 -0
  1013. package/node_modules/zod/v4/locales/vi.cjs +140 -0
  1014. package/node_modules/zod/v4/locales/vi.d.cts +5 -0
  1015. package/node_modules/zod/v4/locales/vi.d.ts +4 -0
  1016. package/node_modules/zod/v4/locales/vi.js +113 -0
  1017. package/node_modules/zod/v4/locales/yo.cjs +139 -0
  1018. package/node_modules/zod/v4/locales/yo.d.cts +5 -0
  1019. package/node_modules/zod/v4/locales/yo.d.ts +4 -0
  1020. package/node_modules/zod/v4/locales/yo.js +112 -0
  1021. package/node_modules/zod/v4/locales/zh-CN.cjs +141 -0
  1022. package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
  1023. package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  1024. package/node_modules/zod/v4/locales/zh-CN.js +114 -0
  1025. package/node_modules/zod/v4/locales/zh-TW.cjs +139 -0
  1026. package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
  1027. package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  1028. package/node_modules/zod/v4/locales/zh-TW.js +112 -0
  1029. package/node_modules/zod/v4/mini/checks.cjs +54 -0
  1030. package/node_modules/zod/v4/mini/checks.d.cts +1 -0
  1031. package/node_modules/zod/v4/mini/checks.d.ts +1 -0
  1032. package/node_modules/zod/v4/mini/checks.js +1 -0
  1033. package/node_modules/zod/v4/mini/coerce.cjs +71 -0
  1034. package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  1035. package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  1036. package/node_modules/zod/v4/mini/coerce.js +22 -0
  1037. package/node_modules/zod/v4/mini/deep-partial.cjs +58 -0
  1038. package/node_modules/zod/v4/mini/deep-partial.d.cts +14 -0
  1039. package/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
  1040. package/node_modules/zod/v4/mini/deep-partial.js +13 -0
  1041. package/node_modules/zod/v4/mini/external.cjs +95 -0
  1042. package/node_modules/zod/v4/mini/external.d.cts +16 -0
  1043. package/node_modules/zod/v4/mini/external.d.ts +16 -0
  1044. package/node_modules/zod/v4/mini/external.js +16 -0
  1045. package/node_modules/zod/v4/mini/in-out.cjs +82 -0
  1046. package/node_modules/zod/v4/mini/in-out.d.cts +8 -0
  1047. package/node_modules/zod/v4/mini/in-out.d.ts +8 -0
  1048. package/node_modules/zod/v4/mini/in-out.js +36 -0
  1049. package/node_modules/zod/v4/mini/index.cjs +51 -0
  1050. package/node_modules/zod/v4/mini/index.d.cts +3 -0
  1051. package/node_modules/zod/v4/mini/index.d.ts +3 -0
  1052. package/node_modules/zod/v4/mini/index.js +3 -0
  1053. package/node_modules/zod/v4/mini/iso.cjs +83 -0
  1054. package/node_modules/zod/v4/mini/iso.d.cts +22 -0
  1055. package/node_modules/zod/v4/mini/iso.d.ts +22 -0
  1056. package/node_modules/zod/v4/mini/iso.js +34 -0
  1057. package/node_modules/zod/v4/mini/package.json +7 -0
  1058. package/node_modules/zod/v4/mini/parse.cjs +37 -0
  1059. package/node_modules/zod/v4/mini/parse.d.cts +1 -0
  1060. package/node_modules/zod/v4/mini/parse.d.ts +1 -0
  1061. package/node_modules/zod/v4/mini/parse.js +1 -0
  1062. package/node_modules/zod/v4/mini/schemas.cjs +1147 -0
  1063. package/node_modules/zod/v4/mini/schemas.d.cts +480 -0
  1064. package/node_modules/zod/v4/mini/schemas.d.ts +480 -0
  1065. package/node_modules/zod/v4/mini/schemas.js +1002 -0
  1066. package/node_modules/zod/v4/package.json +7 -0
  1067. package/node_modules/zod/v4-mini/index.cjs +51 -0
  1068. package/node_modules/zod/v4-mini/index.d.cts +3 -0
  1069. package/node_modules/zod/v4-mini/index.d.ts +3 -0
  1070. package/node_modules/zod/v4-mini/index.js +3 -0
  1071. package/node_modules/zod/v4-mini/package.json +7 -0
  1072. package/package.json +15 -10
  1073. package/dist/standard-schema.d.ts +0 -3
  1074. package/dist/standard-schema.js +0 -21
  1075. package/node_modules/@typescript/typescript-linux-x64/LICENSE +0 -55
  1076. package/node_modules/@typescript/typescript-linux-x64/NOTICE.txt +0 -436
  1077. package/node_modules/@typescript/typescript-linux-x64/README.md +0 -3
  1078. package/node_modules/@typescript/typescript-linux-x64/lib/lib.d.ts +0 -20
  1079. package/node_modules/@typescript/typescript-linux-x64/lib/lib.decorators.d.ts +0 -382
  1080. package/node_modules/@typescript/typescript-linux-x64/lib/lib.decorators.legacy.d.ts +0 -20
  1081. package/node_modules/@typescript/typescript-linux-x64/lib/lib.dom.asynciterable.d.ts +0 -18
  1082. package/node_modules/@typescript/typescript-linux-x64/lib/lib.dom.d.ts +0 -45125
  1083. package/node_modules/@typescript/typescript-linux-x64/lib/lib.dom.iterable.d.ts +0 -18
  1084. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.collection.d.ts +0 -159
  1085. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.core.d.ts +0 -595
  1086. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.d.ts +0 -26
  1087. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.generator.d.ts +0 -75
  1088. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.iterable.d.ts +0 -603
  1089. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.promise.d.ts +0 -79
  1090. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.proxy.d.ts +0 -126
  1091. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.reflect.d.ts +0 -142
  1092. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.symbol.d.ts +0 -44
  1093. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2015.symbol.wellknown.d.ts +0 -324
  1094. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2016.array.include.d.ts +0 -114
  1095. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2016.d.ts +0 -19
  1096. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2016.full.d.ts +0 -21
  1097. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2016.intl.d.ts +0 -29
  1098. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.arraybuffer.d.ts +0 -19
  1099. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.d.ts +0 -24
  1100. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.date.d.ts +0 -29
  1101. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.full.d.ts +0 -21
  1102. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.intl.d.ts +0 -42
  1103. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.object.d.ts +0 -47
  1104. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.sharedmemory.d.ts +0 -133
  1105. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.string.d.ts +0 -47
  1106. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2017.typedarrays.d.ts +0 -51
  1107. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.asyncgenerator.d.ts +0 -75
  1108. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.asynciterable.d.ts +0 -51
  1109. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.d.ts +0 -22
  1110. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.full.d.ts +0 -22
  1111. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.intl.d.ts +0 -81
  1112. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.promise.d.ts +0 -28
  1113. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2018.regexp.d.ts +0 -35
  1114. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.array.d.ts +0 -77
  1115. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.d.ts +0 -22
  1116. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.full.d.ts +0 -22
  1117. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.intl.d.ts +0 -21
  1118. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.object.d.ts +0 -31
  1119. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.string.d.ts +0 -35
  1120. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2019.symbol.d.ts +0 -22
  1121. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.bigint.d.ts +0 -763
  1122. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.d.ts +0 -25
  1123. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.date.d.ts +0 -40
  1124. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.full.d.ts +0 -22
  1125. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.intl.d.ts +0 -472
  1126. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.number.d.ts +0 -26
  1127. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.promise.d.ts +0 -45
  1128. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.sharedmemory.d.ts +0 -97
  1129. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.string.d.ts +0 -42
  1130. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2020.symbol.wellknown.d.ts +0 -39
  1131. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2021.d.ts +0 -21
  1132. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2021.full.d.ts +0 -22
  1133. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2021.intl.d.ts +0 -164
  1134. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2021.promise.d.ts +0 -46
  1135. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2021.string.d.ts +0 -31
  1136. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2021.weakref.d.ts +0 -76
  1137. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.array.d.ts +0 -119
  1138. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.d.ts +0 -23
  1139. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.error.d.ts +0 -73
  1140. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.full.d.ts +0 -22
  1141. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.intl.d.ts +0 -143
  1142. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.object.d.ts +0 -24
  1143. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.regexp.d.ts +0 -37
  1144. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2022.string.d.ts +0 -23
  1145. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2023.array.d.ts +0 -922
  1146. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2023.collection.d.ts +0 -19
  1147. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2023.d.ts +0 -20
  1148. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2023.full.d.ts +0 -22
  1149. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2023.intl.d.ts +0 -62
  1150. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.arraybuffer.d.ts +0 -63
  1151. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.collection.d.ts +0 -27
  1152. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.d.ts +0 -24
  1153. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.full.d.ts +0 -22
  1154. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.object.d.ts +0 -27
  1155. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.promise.d.ts +0 -33
  1156. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.regexp.d.ts +0 -23
  1157. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.sharedmemory.d.ts +0 -66
  1158. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2024.string.d.ts +0 -27
  1159. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.collection.d.ts +0 -94
  1160. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.d.ts +0 -23
  1161. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.float16.d.ts +0 -443
  1162. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.full.d.ts +0 -22
  1163. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.intl.d.ts +0 -200
  1164. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.iterator.d.ts +0 -146
  1165. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.promise.d.ts +0 -32
  1166. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es2025.regexp.d.ts +0 -30
  1167. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es5.d.ts +0 -4599
  1168. package/node_modules/@typescript/typescript-linux-x64/lib/lib.es6.d.ts +0 -21
  1169. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.array.d.ts +0 -33
  1170. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.collection.d.ts +0 -47
  1171. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.d.ts +0 -27
  1172. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.date.d.ts +0 -21
  1173. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.decorators.d.ts +0 -26
  1174. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.disposable.d.ts +0 -191
  1175. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.error.d.ts +0 -22
  1176. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.full.d.ts +0 -22
  1177. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.intl.d.ts +0 -107
  1178. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.sharedmemory.d.ts +0 -23
  1179. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.temporal.d.ts +0 -485
  1180. package/node_modules/@typescript/typescript-linux-x64/lib/lib.esnext.typedarrays.d.ts +0 -90
  1181. package/node_modules/@typescript/typescript-linux-x64/lib/lib.scripthost.d.ts +0 -320
  1182. package/node_modules/@typescript/typescript-linux-x64/lib/lib.webworker.asynciterable.d.ts +0 -18
  1183. package/node_modules/@typescript/typescript-linux-x64/lib/lib.webworker.d.ts +0 -15606
  1184. package/node_modules/@typescript/typescript-linux-x64/lib/lib.webworker.importscripts.d.ts +0 -21
  1185. package/node_modules/@typescript/typescript-linux-x64/lib/lib.webworker.iterable.d.ts +0 -18
  1186. package/node_modules/@typescript/typescript-linux-x64/lib/tsc +0 -0
  1187. package/node_modules/@typescript/typescript-linux-x64/lib/tsc.sig +0 -11
  1188. package/node_modules/@typescript/typescript-linux-x64/package.json +0 -45
  1189. package/node_modules/@valibot/to-json-schema/LICENSE.md +0 -9
  1190. package/node_modules/@valibot/to-json-schema/README.md +0 -475
  1191. package/node_modules/@valibot/to-json-schema/dist/index.cjs +0 -800
  1192. package/node_modules/@valibot/to-json-schema/dist/index.d.cts +0 -991
  1193. package/node_modules/@valibot/to-json-schema/dist/index.d.mts +0 -991
  1194. package/node_modules/@valibot/to-json-schema/dist/index.min.cjs +0 -1
  1195. package/node_modules/@valibot/to-json-schema/dist/index.min.mjs +0 -1
  1196. package/node_modules/@valibot/to-json-schema/dist/index.mjs +0 -795
  1197. package/node_modules/@valibot/to-json-schema/package.json +0 -75
  1198. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/target.d.ts +0 -13
  1199. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/target.d.ts.map +0 -1
  1200. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/target.js +0 -30
  1201. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/workspace.d.ts +0 -11
  1202. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/workspace.d.ts.map +0 -1
  1203. package/node_modules/@ykdz/reference-npm-publication/native/template-dist/workspace.js +0 -51
  1204. package/node_modules/@ykdz/reference-rust-bin/native/tsconfig.json +0 -8
  1205. package/node_modules/@ykdz/reference-ts-cli/native/src/publication/cli-command-identity.ts +0 -88
  1206. package/node_modules/@ykdz/template-content/dist/template-members.d.ts +0 -9
  1207. package/node_modules/@ykdz/template-content/dist/template-members.js +0 -16
  1208. package/node_modules/@ykdz/template-core/dist/renderer-policy-snapshot.d.ts +0 -1
  1209. package/node_modules/@ykdz/template-core/dist/renderer-policy-snapshot.js +0 -2
  1210. package/node_modules/@ykdz/template-core/dist/renderer.d.ts +0 -101
  1211. package/node_modules/@ykdz/template-core/dist/renderer.js +0 -386
  1212. package/node_modules/@ykdz/template-core/dist/workspace-strategy.d.ts +0 -188
  1213. package/node_modules/@ykdz/template-core/dist/workspace-strategy.js +0 -1
  1214. package/node_modules/@ykdz/template-workspace/assets/tsconfig.config.json +0 -6
  1215. package/node_modules/@ykdz/template-workspace/assets/tsconfig.json +0 -7
  1216. package/node_modules/@ykdz/template-workspace/assets/turbo.json +0 -64
  1217. package/node_modules/@ykdz/template-workspace/dist/default-environment-sources.d.ts +0 -5
  1218. package/node_modules/@ykdz/template-workspace/dist/default-environment-sources.js +0 -8
  1219. package/node_modules/@ykdz/template-workspace/dist/default-environment.d.ts +0 -9
  1220. package/node_modules/@ykdz/template-workspace/dist/default-environment.js +0 -5
  1221. package/node_modules/@ykdz/template-workspace/dist/default-workspace-strategy.d.ts +0 -89
  1222. package/node_modules/@ykdz/template-workspace/dist/default-workspace-strategy.js +0 -967
  1223. package/node_modules/@ykdz/template-workspace/dist/development-container.d.ts +0 -3
  1224. package/node_modules/@ykdz/template-workspace/dist/development-container.js +0 -36
  1225. package/node_modules/@ykdz/template-workspace/dist/development-environment.d.ts +0 -36
  1226. package/node_modules/@ykdz/template-workspace/dist/development-environment.js +0 -241
  1227. package/node_modules/@ykdz/template-workspace/dist/editor-customization.d.ts +0 -18
  1228. package/node_modules/@ykdz/template-workspace/dist/editor-customization.js +0 -83
  1229. package/node_modules/@ykdz/template-workspace/dist/environment-needs.d.ts +0 -51
  1230. package/node_modules/@ykdz/template-workspace/dist/generation-context.d.ts +0 -14
  1231. package/node_modules/@ykdz/template-workspace/dist/package-addition-facts.d.ts +0 -21
  1232. package/node_modules/@ykdz/template-workspace/dist/package-addition-facts.js +0 -90
  1233. package/node_modules/@ykdz/template-workspace/dist/package-contribution.d.ts +0 -64
  1234. package/node_modules/@ykdz/template-workspace/dist/package-contribution.js +0 -65
  1235. package/node_modules/@ykdz/template-workspace/dist/project-github.d.ts +0 -24
  1236. package/node_modules/@ykdz/template-workspace/dist/project-github.js +0 -98
  1237. package/node_modules/@ykdz/template-workspace/dist/project-linking.d.ts +0 -48
  1238. package/node_modules/@ykdz/template-workspace/dist/project-linking.js +0 -218
  1239. package/node_modules/@ykdz/template-workspace/dist/reference-package.d.ts +0 -146
  1240. package/node_modules/@ykdz/template-workspace/dist/reference-package.js +0 -521
  1241. package/node_modules/@ykdz/template-workspace/dist/root-projection.d.ts +0 -29
  1242. package/node_modules/@ykdz/template-workspace/dist/root-projection.js +0 -144
  1243. package/node_modules/@ykdz/template-workspace/dist/rust-target-projection.d.ts +0 -35
  1244. package/node_modules/@ykdz/template-workspace/dist/rust-target-projection.js +0 -74
  1245. package/node_modules/@ykdz/template-workspace/dist/workspace-resources.d.ts +0 -23
  1246. package/node_modules/@ykdz/template-workspace/dist/workspace-resources.js +0 -83
  1247. package/node_modules/@ykdz/template-workspace/resources/oxfmt.config.ts +0 -1
  1248. package/node_modules/@ykdz/template-workspace/resources/oxlint.config.ts +0 -4
  1249. package/node_modules/typescript-7/LICENSE +0 -55
  1250. package/node_modules/typescript-7/NOTICE.txt +0 -436
  1251. package/node_modules/typescript-7/README.md +0 -49
  1252. package/node_modules/typescript-7/bin/tsc +0 -2
  1253. package/node_modules/typescript-7/dist/api/async/api.d.ts +0 -529
  1254. package/node_modules/typescript-7/dist/api/async/api.d.ts.map +0 -1
  1255. package/node_modules/typescript-7/dist/api/async/api.js +0 -1657
  1256. package/node_modules/typescript-7/dist/api/async/api.js.map +0 -1
  1257. package/node_modules/typescript-7/dist/api/async/client.d.ts +0 -39
  1258. package/node_modules/typescript-7/dist/api/async/client.d.ts.map +0 -1
  1259. package/node_modules/typescript-7/dist/api/async/client.js +0 -211
  1260. package/node_modules/typescript-7/dist/api/async/client.js.map +0 -1
  1261. package/node_modules/typescript-7/dist/api/async/types.d.ts +0 -310
  1262. package/node_modules/typescript-7/dist/api/async/types.d.ts.map +0 -1
  1263. package/node_modules/typescript-7/dist/api/async/types.js +0 -2
  1264. package/node_modules/typescript-7/dist/api/async/types.js.map +0 -1
  1265. package/node_modules/typescript-7/dist/api/compilerOptions.d.ts +0 -109
  1266. package/node_modules/typescript-7/dist/api/compilerOptions.d.ts.map +0 -1
  1267. package/node_modules/typescript-7/dist/api/compilerOptions.js +0 -2
  1268. package/node_modules/typescript-7/dist/api/compilerOptions.js.map +0 -1
  1269. package/node_modules/typescript-7/dist/api/fs.d.ts +0 -23
  1270. package/node_modules/typescript-7/dist/api/fs.d.ts.map +0 -1
  1271. package/node_modules/typescript-7/dist/api/fs.js +0 -109
  1272. package/node_modules/typescript-7/dist/api/fs.js.map +0 -1
  1273. package/node_modules/typescript-7/dist/api/node/encoder.d.ts +0 -15
  1274. package/node_modules/typescript-7/dist/api/node/encoder.d.ts.map +0 -1
  1275. package/node_modules/typescript-7/dist/api/node/encoder.generated.d.ts +0 -5
  1276. package/node_modules/typescript-7/dist/api/node/encoder.generated.d.ts.map +0 -1
  1277. package/node_modules/typescript-7/dist/api/node/encoder.generated.js +0 -74
  1278. package/node_modules/typescript-7/dist/api/node/encoder.generated.js.map +0 -1
  1279. package/node_modules/typescript-7/dist/api/node/encoder.js +0 -287
  1280. package/node_modules/typescript-7/dist/api/node/encoder.js.map +0 -1
  1281. package/node_modules/typescript-7/dist/api/node/msgpack.d.ts +0 -32
  1282. package/node_modules/typescript-7/dist/api/node/msgpack.d.ts.map +0 -1
  1283. package/node_modules/typescript-7/dist/api/node/msgpack.js +0 -213
  1284. package/node_modules/typescript-7/dist/api/node/msgpack.js.map +0 -1
  1285. package/node_modules/typescript-7/dist/api/node/node.d.ts +0 -76
  1286. package/node_modules/typescript-7/dist/api/node/node.d.ts.map +0 -1
  1287. package/node_modules/typescript-7/dist/api/node/node.generated.d.ts +0 -182
  1288. package/node_modules/typescript-7/dist/api/node/node.generated.d.ts.map +0 -1
  1289. package/node_modules/typescript-7/dist/api/node/node.generated.js +0 -835
  1290. package/node_modules/typescript-7/dist/api/node/node.generated.js.map +0 -1
  1291. package/node_modules/typescript-7/dist/api/node/node.infrastructure.d.ts +0 -62
  1292. package/node_modules/typescript-7/dist/api/node/node.infrastructure.d.ts.map +0 -1
  1293. package/node_modules/typescript-7/dist/api/node/node.infrastructure.js +0 -122
  1294. package/node_modules/typescript-7/dist/api/node/node.infrastructure.js.map +0 -1
  1295. package/node_modules/typescript-7/dist/api/node/node.js +0 -298
  1296. package/node_modules/typescript-7/dist/api/node/node.js.map +0 -1
  1297. package/node_modules/typescript-7/dist/api/node/protocol.d.ts +0 -29
  1298. package/node_modules/typescript-7/dist/api/node/protocol.d.ts.map +0 -1
  1299. package/node_modules/typescript-7/dist/api/node/protocol.generated.d.ts +0 -4
  1300. package/node_modules/typescript-7/dist/api/node/protocol.generated.d.ts.map +0 -1
  1301. package/node_modules/typescript-7/dist/api/node/protocol.generated.js +0 -241
  1302. package/node_modules/typescript-7/dist/api/node/protocol.generated.js.map +0 -1
  1303. package/node_modules/typescript-7/dist/api/node/protocol.js +0 -30
  1304. package/node_modules/typescript-7/dist/api/node/protocol.js.map +0 -1
  1305. package/node_modules/typescript-7/dist/api/node/wtf8.d.ts +0 -6
  1306. package/node_modules/typescript-7/dist/api/node/wtf8.d.ts.map +0 -1
  1307. package/node_modules/typescript-7/dist/api/node/wtf8.js +0 -61
  1308. package/node_modules/typescript-7/dist/api/node/wtf8.js.map +0 -1
  1309. package/node_modules/typescript-7/dist/api/options.d.ts +0 -32
  1310. package/node_modules/typescript-7/dist/api/options.d.ts.map +0 -1
  1311. package/node_modules/typescript-7/dist/api/options.js +0 -11
  1312. package/node_modules/typescript-7/dist/api/options.js.map +0 -1
  1313. package/node_modules/typescript-7/dist/api/path.d.ts +0 -110
  1314. package/node_modules/typescript-7/dist/api/path.d.ts.map +0 -1
  1315. package/node_modules/typescript-7/dist/api/path.js +0 -508
  1316. package/node_modules/typescript-7/dist/api/path.js.map +0 -1
  1317. package/node_modules/typescript-7/dist/api/proto.d.ts +0 -239
  1318. package/node_modules/typescript-7/dist/api/proto.d.ts.map +0 -1
  1319. package/node_modules/typescript-7/dist/api/proto.js +0 -37
  1320. package/node_modules/typescript-7/dist/api/proto.js.map +0 -1
  1321. package/node_modules/typescript-7/dist/api/sourceFileCache.d.ts +0 -79
  1322. package/node_modules/typescript-7/dist/api/sourceFileCache.d.ts.map +0 -1
  1323. package/node_modules/typescript-7/dist/api/sourceFileCache.js +0 -169
  1324. package/node_modules/typescript-7/dist/api/sourceFileCache.js.map +0 -1
  1325. package/node_modules/typescript-7/dist/api/sync/api.d.ts +0 -529
  1326. package/node_modules/typescript-7/dist/api/sync/api.d.ts.map +0 -1
  1327. package/node_modules/typescript-7/dist/api/sync/api.js +0 -1665
  1328. package/node_modules/typescript-7/dist/api/sync/api.js.map +0 -1
  1329. package/node_modules/typescript-7/dist/api/sync/client.d.ts +0 -30
  1330. package/node_modules/typescript-7/dist/api/sync/client.d.ts.map +0 -1
  1331. package/node_modules/typescript-7/dist/api/sync/client.js +0 -124
  1332. package/node_modules/typescript-7/dist/api/sync/client.js.map +0 -1
  1333. package/node_modules/typescript-7/dist/api/sync/types.d.ts +0 -310
  1334. package/node_modules/typescript-7/dist/api/sync/types.d.ts.map +0 -1
  1335. package/node_modules/typescript-7/dist/api/sync/types.js +0 -2
  1336. package/node_modules/typescript-7/dist/api/sync/types.js.map +0 -1
  1337. package/node_modules/typescript-7/dist/api/syncChannel.d.ts +0 -114
  1338. package/node_modules/typescript-7/dist/api/syncChannel.d.ts.map +0 -1
  1339. package/node_modules/typescript-7/dist/api/syncChannel.js +0 -508
  1340. package/node_modules/typescript-7/dist/api/syncChannel.js.map +0 -1
  1341. package/node_modules/typescript-7/dist/api/timing.d.ts +0 -175
  1342. package/node_modules/typescript-7/dist/api/timing.d.ts.map +0 -1
  1343. package/node_modules/typescript-7/dist/api/timing.js +0 -149
  1344. package/node_modules/typescript-7/dist/api/timing.js.map +0 -1
  1345. package/node_modules/typescript-7/dist/ast/ast.d.ts +0 -100
  1346. package/node_modules/typescript-7/dist/ast/ast.d.ts.map +0 -1
  1347. package/node_modules/typescript-7/dist/ast/ast.generated.d.ts +0 -1161
  1348. package/node_modules/typescript-7/dist/ast/ast.generated.d.ts.map +0 -1
  1349. package/node_modules/typescript-7/dist/ast/ast.generated.js +0 -4
  1350. package/node_modules/typescript-7/dist/ast/ast.generated.js.map +0 -1
  1351. package/node_modules/typescript-7/dist/ast/ast.js +0 -7
  1352. package/node_modules/typescript-7/dist/ast/ast.js.map +0 -1
  1353. package/node_modules/typescript-7/dist/ast/astnav.d.ts +0 -19
  1354. package/node_modules/typescript-7/dist/ast/astnav.d.ts.map +0 -1
  1355. package/node_modules/typescript-7/dist/ast/astnav.js +0 -596
  1356. package/node_modules/typescript-7/dist/ast/astnav.js.map +0 -1
  1357. package/node_modules/typescript-7/dist/ast/clone.d.ts +0 -16
  1358. package/node_modules/typescript-7/dist/ast/clone.d.ts.map +0 -1
  1359. package/node_modules/typescript-7/dist/ast/clone.js +0 -104
  1360. package/node_modules/typescript-7/dist/ast/clone.js.map +0 -1
  1361. package/node_modules/typescript-7/dist/ast/factory.generated.d.ts +0 -520
  1362. package/node_modules/typescript-7/dist/ast/factory.generated.d.ts.map +0 -1
  1363. package/node_modules/typescript-7/dist/ast/factory.generated.js +0 -3057
  1364. package/node_modules/typescript-7/dist/ast/factory.generated.js.map +0 -1
  1365. package/node_modules/typescript-7/dist/ast/index.d.ts +0 -20
  1366. package/node_modules/typescript-7/dist/ast/index.d.ts.map +0 -1
  1367. package/node_modules/typescript-7/dist/ast/index.js +0 -20
  1368. package/node_modules/typescript-7/dist/ast/index.js.map +0 -1
  1369. package/node_modules/typescript-7/dist/ast/is.d.ts +0 -35
  1370. package/node_modules/typescript-7/dist/ast/is.d.ts.map +0 -1
  1371. package/node_modules/typescript-7/dist/ast/is.generated.d.ts +0 -329
  1372. package/node_modules/typescript-7/dist/ast/is.generated.d.ts.map +0 -1
  1373. package/node_modules/typescript-7/dist/ast/is.generated.js +0 -1103
  1374. package/node_modules/typescript-7/dist/ast/is.generated.js.map +0 -1
  1375. package/node_modules/typescript-7/dist/ast/is.js +0 -233
  1376. package/node_modules/typescript-7/dist/ast/is.js.map +0 -1
  1377. package/node_modules/typescript-7/dist/ast/jsdoc.d.ts +0 -11
  1378. package/node_modules/typescript-7/dist/ast/jsdoc.d.ts.map +0 -1
  1379. package/node_modules/typescript-7/dist/ast/jsdoc.js +0 -202
  1380. package/node_modules/typescript-7/dist/ast/jsdoc.js.map +0 -1
  1381. package/node_modules/typescript-7/dist/ast/scanner.d.ts +0 -97
  1382. package/node_modules/typescript-7/dist/ast/scanner.d.ts.map +0 -1
  1383. package/node_modules/typescript-7/dist/ast/scanner.js +0 -2230
  1384. package/node_modules/typescript-7/dist/ast/scanner.js.map +0 -1
  1385. package/node_modules/typescript-7/dist/ast/utils.d.ts +0 -17
  1386. package/node_modules/typescript-7/dist/ast/utils.d.ts.map +0 -1
  1387. package/node_modules/typescript-7/dist/ast/utils.js +0 -67
  1388. package/node_modules/typescript-7/dist/ast/utils.js.map +0 -1
  1389. package/node_modules/typescript-7/dist/ast/visitor.d.ts +0 -14
  1390. package/node_modules/typescript-7/dist/ast/visitor.d.ts.map +0 -1
  1391. package/node_modules/typescript-7/dist/ast/visitor.generated.d.ts +0 -50
  1392. package/node_modules/typescript-7/dist/ast/visitor.generated.d.ts.map +0 -1
  1393. package/node_modules/typescript-7/dist/ast/visitor.generated.js +0 -978
  1394. package/node_modules/typescript-7/dist/ast/visitor.generated.js.map +0 -1
  1395. package/node_modules/typescript-7/dist/ast/visitor.js +0 -47
  1396. package/node_modules/typescript-7/dist/ast/visitor.js.map +0 -1
  1397. package/node_modules/typescript-7/dist/enums/characterCodes.d.ts +0 -2
  1398. package/node_modules/typescript-7/dist/enums/characterCodes.d.ts.map +0 -1
  1399. package/node_modules/typescript-7/dist/enums/characterCodes.enum.d.ts +0 -129
  1400. package/node_modules/typescript-7/dist/enums/characterCodes.enum.d.ts.map +0 -1
  1401. package/node_modules/typescript-7/dist/enums/characterCodes.enum.js +0 -132
  1402. package/node_modules/typescript-7/dist/enums/characterCodes.enum.js.map +0 -1
  1403. package/node_modules/typescript-7/dist/enums/characterCodes.js +0 -130
  1404. package/node_modules/typescript-7/dist/enums/characterCodes.js.map +0 -1
  1405. package/node_modules/typescript-7/dist/enums/commentDirectiveType.d.ts +0 -2
  1406. package/node_modules/typescript-7/dist/enums/commentDirectiveType.d.ts.map +0 -1
  1407. package/node_modules/typescript-7/dist/enums/commentDirectiveType.enum.d.ts +0 -5
  1408. package/node_modules/typescript-7/dist/enums/commentDirectiveType.enum.d.ts.map +0 -1
  1409. package/node_modules/typescript-7/dist/enums/commentDirectiveType.enum.js +0 -6
  1410. package/node_modules/typescript-7/dist/enums/commentDirectiveType.enum.js.map +0 -1
  1411. package/node_modules/typescript-7/dist/enums/commentDirectiveType.js +0 -6
  1412. package/node_modules/typescript-7/dist/enums/commentDirectiveType.js.map +0 -1
  1413. package/node_modules/typescript-7/dist/enums/completionItemKind.d.ts +0 -2
  1414. package/node_modules/typescript-7/dist/enums/completionItemKind.d.ts.map +0 -1
  1415. package/node_modules/typescript-7/dist/enums/completionItemKind.enum.d.ts +0 -28
  1416. package/node_modules/typescript-7/dist/enums/completionItemKind.enum.d.ts.map +0 -1
  1417. package/node_modules/typescript-7/dist/enums/completionItemKind.enum.js +0 -30
  1418. package/node_modules/typescript-7/dist/enums/completionItemKind.enum.js.map +0 -1
  1419. package/node_modules/typescript-7/dist/enums/completionItemKind.js +0 -30
  1420. package/node_modules/typescript-7/dist/enums/completionItemKind.js.map +0 -1
  1421. package/node_modules/typescript-7/dist/enums/diagnosticCategory.d.ts +0 -2
  1422. package/node_modules/typescript-7/dist/enums/diagnosticCategory.d.ts.map +0 -1
  1423. package/node_modules/typescript-7/dist/enums/diagnosticCategory.enum.d.ts +0 -7
  1424. package/node_modules/typescript-7/dist/enums/diagnosticCategory.enum.d.ts.map +0 -1
  1425. package/node_modules/typescript-7/dist/enums/diagnosticCategory.enum.js +0 -9
  1426. package/node_modules/typescript-7/dist/enums/diagnosticCategory.enum.js.map +0 -1
  1427. package/node_modules/typescript-7/dist/enums/diagnosticCategory.js +0 -9
  1428. package/node_modules/typescript-7/dist/enums/diagnosticCategory.js.map +0 -1
  1429. package/node_modules/typescript-7/dist/enums/elementFlags.d.ts +0 -2
  1430. package/node_modules/typescript-7/dist/enums/elementFlags.d.ts.map +0 -1
  1431. package/node_modules/typescript-7/dist/enums/elementFlags.enum.d.ts +0 -12
  1432. package/node_modules/typescript-7/dist/enums/elementFlags.enum.d.ts.map +0 -1
  1433. package/node_modules/typescript-7/dist/enums/elementFlags.enum.js +0 -14
  1434. package/node_modules/typescript-7/dist/enums/elementFlags.enum.js.map +0 -1
  1435. package/node_modules/typescript-7/dist/enums/elementFlags.js +0 -14
  1436. package/node_modules/typescript-7/dist/enums/elementFlags.js.map +0 -1
  1437. package/node_modules/typescript-7/dist/enums/internalSymbolName.d.ts +0 -2
  1438. package/node_modules/typescript-7/dist/enums/internalSymbolName.d.ts.map +0 -1
  1439. package/node_modules/typescript-7/dist/enums/internalSymbolName.enum.d.ts +0 -23
  1440. package/node_modules/typescript-7/dist/enums/internalSymbolName.enum.d.ts.map +0 -1
  1441. package/node_modules/typescript-7/dist/enums/internalSymbolName.enum.js +0 -25
  1442. package/node_modules/typescript-7/dist/enums/internalSymbolName.enum.js.map +0 -1
  1443. package/node_modules/typescript-7/dist/enums/internalSymbolName.js +0 -25
  1444. package/node_modules/typescript-7/dist/enums/internalSymbolName.js.map +0 -1
  1445. package/node_modules/typescript-7/dist/enums/jsxEmit.d.ts +0 -2
  1446. package/node_modules/typescript-7/dist/enums/jsxEmit.d.ts.map +0 -1
  1447. package/node_modules/typescript-7/dist/enums/jsxEmit.enum.d.ts +0 -9
  1448. package/node_modules/typescript-7/dist/enums/jsxEmit.enum.d.ts.map +0 -1
  1449. package/node_modules/typescript-7/dist/enums/jsxEmit.enum.js +0 -11
  1450. package/node_modules/typescript-7/dist/enums/jsxEmit.enum.js.map +0 -1
  1451. package/node_modules/typescript-7/dist/enums/jsxEmit.js +0 -11
  1452. package/node_modules/typescript-7/dist/enums/jsxEmit.js.map +0 -1
  1453. package/node_modules/typescript-7/dist/enums/languageVariant.d.ts +0 -2
  1454. package/node_modules/typescript-7/dist/enums/languageVariant.d.ts.map +0 -1
  1455. package/node_modules/typescript-7/dist/enums/languageVariant.enum.d.ts +0 -5
  1456. package/node_modules/typescript-7/dist/enums/languageVariant.enum.d.ts.map +0 -1
  1457. package/node_modules/typescript-7/dist/enums/languageVariant.enum.js +0 -6
  1458. package/node_modules/typescript-7/dist/enums/languageVariant.enum.js.map +0 -1
  1459. package/node_modules/typescript-7/dist/enums/languageVariant.js +0 -6
  1460. package/node_modules/typescript-7/dist/enums/languageVariant.js.map +0 -1
  1461. package/node_modules/typescript-7/dist/enums/modifierFlags.d.ts +0 -2
  1462. package/node_modules/typescript-7/dist/enums/modifierFlags.d.ts.map +0 -1
  1463. package/node_modules/typescript-7/dist/enums/modifierFlags.enum.d.ts +0 -42
  1464. package/node_modules/typescript-7/dist/enums/modifierFlags.enum.d.ts.map +0 -1
  1465. package/node_modules/typescript-7/dist/enums/modifierFlags.enum.js +0 -44
  1466. package/node_modules/typescript-7/dist/enums/modifierFlags.enum.js.map +0 -1
  1467. package/node_modules/typescript-7/dist/enums/modifierFlags.js +0 -44
  1468. package/node_modules/typescript-7/dist/enums/modifierFlags.js.map +0 -1
  1469. package/node_modules/typescript-7/dist/enums/moduleDetectionKind.d.ts +0 -2
  1470. package/node_modules/typescript-7/dist/enums/moduleDetectionKind.d.ts.map +0 -1
  1471. package/node_modules/typescript-7/dist/enums/moduleDetectionKind.enum.d.ts +0 -7
  1472. package/node_modules/typescript-7/dist/enums/moduleDetectionKind.enum.d.ts.map +0 -1
  1473. package/node_modules/typescript-7/dist/enums/moduleDetectionKind.enum.js +0 -9
  1474. package/node_modules/typescript-7/dist/enums/moduleDetectionKind.enum.js.map +0 -1
  1475. package/node_modules/typescript-7/dist/enums/moduleDetectionKind.js +0 -9
  1476. package/node_modules/typescript-7/dist/enums/moduleDetectionKind.js.map +0 -1
  1477. package/node_modules/typescript-7/dist/enums/moduleKind.d.ts +0 -2
  1478. package/node_modules/typescript-7/dist/enums/moduleKind.d.ts.map +0 -1
  1479. package/node_modules/typescript-7/dist/enums/moduleKind.enum.d.ts +0 -17
  1480. package/node_modules/typescript-7/dist/enums/moduleKind.enum.d.ts.map +0 -1
  1481. package/node_modules/typescript-7/dist/enums/moduleKind.enum.js +0 -19
  1482. package/node_modules/typescript-7/dist/enums/moduleKind.enum.js.map +0 -1
  1483. package/node_modules/typescript-7/dist/enums/moduleKind.js +0 -19
  1484. package/node_modules/typescript-7/dist/enums/moduleKind.js.map +0 -1
  1485. package/node_modules/typescript-7/dist/enums/moduleResolutionKind.d.ts +0 -2
  1486. package/node_modules/typescript-7/dist/enums/moduleResolutionKind.d.ts.map +0 -1
  1487. package/node_modules/typescript-7/dist/enums/moduleResolutionKind.enum.d.ts +0 -9
  1488. package/node_modules/typescript-7/dist/enums/moduleResolutionKind.enum.d.ts.map +0 -1
  1489. package/node_modules/typescript-7/dist/enums/moduleResolutionKind.enum.js +0 -11
  1490. package/node_modules/typescript-7/dist/enums/moduleResolutionKind.enum.js.map +0 -1
  1491. package/node_modules/typescript-7/dist/enums/moduleResolutionKind.js +0 -11
  1492. package/node_modules/typescript-7/dist/enums/moduleResolutionKind.js.map +0 -1
  1493. package/node_modules/typescript-7/dist/enums/newLineKind.d.ts +0 -2
  1494. package/node_modules/typescript-7/dist/enums/newLineKind.d.ts.map +0 -1
  1495. package/node_modules/typescript-7/dist/enums/newLineKind.enum.d.ts +0 -6
  1496. package/node_modules/typescript-7/dist/enums/newLineKind.enum.d.ts.map +0 -1
  1497. package/node_modules/typescript-7/dist/enums/newLineKind.enum.js +0 -8
  1498. package/node_modules/typescript-7/dist/enums/newLineKind.enum.js.map +0 -1
  1499. package/node_modules/typescript-7/dist/enums/newLineKind.js +0 -8
  1500. package/node_modules/typescript-7/dist/enums/newLineKind.js.map +0 -1
  1501. package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.d.ts +0 -2
  1502. package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.d.ts.map +0 -1
  1503. package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.enum.d.ts +0 -36
  1504. package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.enum.d.ts.map +0 -1
  1505. package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.enum.js +0 -38
  1506. package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.enum.js.map +0 -1
  1507. package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.js +0 -38
  1508. package/node_modules/typescript-7/dist/enums/nodeBuilderFlags.js.map +0 -1
  1509. package/node_modules/typescript-7/dist/enums/nodeFlags.d.ts +0 -2
  1510. package/node_modules/typescript-7/dist/enums/nodeFlags.d.ts.map +0 -1
  1511. package/node_modules/typescript-7/dist/enums/nodeFlags.enum.d.ts +0 -44
  1512. package/node_modules/typescript-7/dist/enums/nodeFlags.enum.d.ts.map +0 -1
  1513. package/node_modules/typescript-7/dist/enums/nodeFlags.enum.js +0 -46
  1514. package/node_modules/typescript-7/dist/enums/nodeFlags.enum.js.map +0 -1
  1515. package/node_modules/typescript-7/dist/enums/nodeFlags.js +0 -46
  1516. package/node_modules/typescript-7/dist/enums/nodeFlags.js.map +0 -1
  1517. package/node_modules/typescript-7/dist/enums/objectFlags.d.ts +0 -2
  1518. package/node_modules/typescript-7/dist/enums/objectFlags.d.ts.map +0 -1
  1519. package/node_modules/typescript-7/dist/enums/objectFlags.enum.d.ts +0 -50
  1520. package/node_modules/typescript-7/dist/enums/objectFlags.enum.d.ts.map +0 -1
  1521. package/node_modules/typescript-7/dist/enums/objectFlags.enum.js +0 -52
  1522. package/node_modules/typescript-7/dist/enums/objectFlags.enum.js.map +0 -1
  1523. package/node_modules/typescript-7/dist/enums/objectFlags.js +0 -52
  1524. package/node_modules/typescript-7/dist/enums/objectFlags.js.map +0 -1
  1525. package/node_modules/typescript-7/dist/enums/outerExpressionKinds.d.ts +0 -2
  1526. package/node_modules/typescript-7/dist/enums/outerExpressionKinds.d.ts.map +0 -1
  1527. package/node_modules/typescript-7/dist/enums/outerExpressionKinds.enum.d.ts +0 -16
  1528. package/node_modules/typescript-7/dist/enums/outerExpressionKinds.enum.d.ts.map +0 -1
  1529. package/node_modules/typescript-7/dist/enums/outerExpressionKinds.enum.js +0 -18
  1530. package/node_modules/typescript-7/dist/enums/outerExpressionKinds.enum.js.map +0 -1
  1531. package/node_modules/typescript-7/dist/enums/outerExpressionKinds.js +0 -18
  1532. package/node_modules/typescript-7/dist/enums/outerExpressionKinds.js.map +0 -1
  1533. package/node_modules/typescript-7/dist/enums/regularExpressionFlags.d.ts +0 -2
  1534. package/node_modules/typescript-7/dist/enums/regularExpressionFlags.d.ts.map +0 -1
  1535. package/node_modules/typescript-7/dist/enums/regularExpressionFlags.enum.d.ts +0 -13
  1536. package/node_modules/typescript-7/dist/enums/regularExpressionFlags.enum.d.ts.map +0 -1
  1537. package/node_modules/typescript-7/dist/enums/regularExpressionFlags.enum.js +0 -14
  1538. package/node_modules/typescript-7/dist/enums/regularExpressionFlags.enum.js.map +0 -1
  1539. package/node_modules/typescript-7/dist/enums/regularExpressionFlags.js +0 -14
  1540. package/node_modules/typescript-7/dist/enums/regularExpressionFlags.js.map +0 -1
  1541. package/node_modules/typescript-7/dist/enums/scriptKind.d.ts +0 -2
  1542. package/node_modules/typescript-7/dist/enums/scriptKind.d.ts.map +0 -1
  1543. package/node_modules/typescript-7/dist/enums/scriptKind.enum.d.ts +0 -11
  1544. package/node_modules/typescript-7/dist/enums/scriptKind.enum.d.ts.map +0 -1
  1545. package/node_modules/typescript-7/dist/enums/scriptKind.enum.js +0 -12
  1546. package/node_modules/typescript-7/dist/enums/scriptKind.enum.js.map +0 -1
  1547. package/node_modules/typescript-7/dist/enums/scriptKind.js +0 -12
  1548. package/node_modules/typescript-7/dist/enums/scriptKind.js.map +0 -1
  1549. package/node_modules/typescript-7/dist/enums/scriptTarget.d.ts +0 -2
  1550. package/node_modules/typescript-7/dist/enums/scriptTarget.d.ts.map +0 -1
  1551. package/node_modules/typescript-7/dist/enums/scriptTarget.enum.d.ts +0 -17
  1552. package/node_modules/typescript-7/dist/enums/scriptTarget.enum.d.ts.map +0 -1
  1553. package/node_modules/typescript-7/dist/enums/scriptTarget.enum.js +0 -18
  1554. package/node_modules/typescript-7/dist/enums/scriptTarget.enum.js.map +0 -1
  1555. package/node_modules/typescript-7/dist/enums/scriptTarget.js +0 -18
  1556. package/node_modules/typescript-7/dist/enums/scriptTarget.js.map +0 -1
  1557. package/node_modules/typescript-7/dist/enums/signatureFlags.d.ts +0 -2
  1558. package/node_modules/typescript-7/dist/enums/signatureFlags.d.ts.map +0 -1
  1559. package/node_modules/typescript-7/dist/enums/signatureFlags.enum.d.ts +0 -15
  1560. package/node_modules/typescript-7/dist/enums/signatureFlags.enum.d.ts.map +0 -1
  1561. package/node_modules/typescript-7/dist/enums/signatureFlags.enum.js +0 -17
  1562. package/node_modules/typescript-7/dist/enums/signatureFlags.enum.js.map +0 -1
  1563. package/node_modules/typescript-7/dist/enums/signatureFlags.js +0 -17
  1564. package/node_modules/typescript-7/dist/enums/signatureFlags.js.map +0 -1
  1565. package/node_modules/typescript-7/dist/enums/signatureKind.d.ts +0 -2
  1566. package/node_modules/typescript-7/dist/enums/signatureKind.d.ts.map +0 -1
  1567. package/node_modules/typescript-7/dist/enums/signatureKind.enum.d.ts +0 -5
  1568. package/node_modules/typescript-7/dist/enums/signatureKind.enum.d.ts.map +0 -1
  1569. package/node_modules/typescript-7/dist/enums/signatureKind.enum.js +0 -7
  1570. package/node_modules/typescript-7/dist/enums/signatureKind.enum.js.map +0 -1
  1571. package/node_modules/typescript-7/dist/enums/signatureKind.js +0 -7
  1572. package/node_modules/typescript-7/dist/enums/signatureKind.js.map +0 -1
  1573. package/node_modules/typescript-7/dist/enums/symbolFlags.d.ts +0 -2
  1574. package/node_modules/typescript-7/dist/enums/symbolFlags.d.ts.map +0 -1
  1575. package/node_modules/typescript-7/dist/enums/symbolFlags.enum.d.ts +0 -71
  1576. package/node_modules/typescript-7/dist/enums/symbolFlags.enum.d.ts.map +0 -1
  1577. package/node_modules/typescript-7/dist/enums/symbolFlags.enum.js +0 -73
  1578. package/node_modules/typescript-7/dist/enums/symbolFlags.enum.js.map +0 -1
  1579. package/node_modules/typescript-7/dist/enums/symbolFlags.js +0 -73
  1580. package/node_modules/typescript-7/dist/enums/symbolFlags.js.map +0 -1
  1581. package/node_modules/typescript-7/dist/enums/syntaxKind.d.ts +0 -2
  1582. package/node_modules/typescript-7/dist/enums/syntaxKind.d.ts.map +0 -1
  1583. package/node_modules/typescript-7/dist/enums/syntaxKind.enum.d.ts +0 -389
  1584. package/node_modules/typescript-7/dist/enums/syntaxKind.enum.d.ts.map +0 -1
  1585. package/node_modules/typescript-7/dist/enums/syntaxKind.enum.js +0 -391
  1586. package/node_modules/typescript-7/dist/enums/syntaxKind.enum.js.map +0 -1
  1587. package/node_modules/typescript-7/dist/enums/syntaxKind.js +0 -391
  1588. package/node_modules/typescript-7/dist/enums/syntaxKind.js.map +0 -1
  1589. package/node_modules/typescript-7/dist/enums/tokenFlags.d.ts +0 -2
  1590. package/node_modules/typescript-7/dist/enums/tokenFlags.d.ts.map +0 -1
  1591. package/node_modules/typescript-7/dist/enums/tokenFlags.enum.d.ts +0 -30
  1592. package/node_modules/typescript-7/dist/enums/tokenFlags.enum.d.ts.map +0 -1
  1593. package/node_modules/typescript-7/dist/enums/tokenFlags.enum.js +0 -32
  1594. package/node_modules/typescript-7/dist/enums/tokenFlags.enum.js.map +0 -1
  1595. package/node_modules/typescript-7/dist/enums/tokenFlags.js +0 -32
  1596. package/node_modules/typescript-7/dist/enums/tokenFlags.js.map +0 -1
  1597. package/node_modules/typescript-7/dist/enums/typeFlags.d.ts +0 -2
  1598. package/node_modules/typescript-7/dist/enums/typeFlags.d.ts.map +0 -1
  1599. package/node_modules/typescript-7/dist/enums/typeFlags.enum.d.ts +0 -76
  1600. package/node_modules/typescript-7/dist/enums/typeFlags.enum.d.ts.map +0 -1
  1601. package/node_modules/typescript-7/dist/enums/typeFlags.enum.js +0 -78
  1602. package/node_modules/typescript-7/dist/enums/typeFlags.enum.js.map +0 -1
  1603. package/node_modules/typescript-7/dist/enums/typeFlags.js +0 -78
  1604. package/node_modules/typescript-7/dist/enums/typeFlags.js.map +0 -1
  1605. package/node_modules/typescript-7/dist/enums/typePredicateKind.d.ts +0 -2
  1606. package/node_modules/typescript-7/dist/enums/typePredicateKind.d.ts.map +0 -1
  1607. package/node_modules/typescript-7/dist/enums/typePredicateKind.enum.d.ts +0 -7
  1608. package/node_modules/typescript-7/dist/enums/typePredicateKind.enum.d.ts.map +0 -1
  1609. package/node_modules/typescript-7/dist/enums/typePredicateKind.enum.js +0 -9
  1610. package/node_modules/typescript-7/dist/enums/typePredicateKind.enum.js.map +0 -1
  1611. package/node_modules/typescript-7/dist/enums/typePredicateKind.js +0 -9
  1612. package/node_modules/typescript-7/dist/enums/typePredicateKind.js.map +0 -1
  1613. package/node_modules/typescript-7/dist/internal/utils.d.ts +0 -23
  1614. package/node_modules/typescript-7/dist/internal/utils.d.ts.map +0 -1
  1615. package/node_modules/typescript-7/dist/internal/utils.js +0 -25
  1616. package/node_modules/typescript-7/dist/internal/utils.js.map +0 -1
  1617. package/node_modules/typescript-7/lib/getExePath.d.ts +0 -2
  1618. package/node_modules/typescript-7/lib/getExePath.js +0 -70
  1619. package/node_modules/typescript-7/lib/tsc.js +0 -28
  1620. package/node_modules/typescript-7/lib/version.cjs +0 -3
  1621. package/node_modules/typescript-7/lib/version.d.cts +0 -2
  1622. package/node_modules/typescript-7/package.json +0 -87
  1623. package/node_modules/typescript-7/vendor/vscode-jsonrpc/License.txt +0 -11
  1624. package/node_modules/typescript-7/vendor/vscode-jsonrpc/README.md +0 -54
  1625. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/browser/main.d.ts +0 -17
  1626. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/browser/main.js +0 -83
  1627. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/browser/ril.d.ts +0 -22
  1628. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/browser/ril.js +0 -210
  1629. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/api.d.ts +0 -14
  1630. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/api.js +0 -87
  1631. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/cancellation.d.ts +0 -32
  1632. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/cancellation.js +0 -132
  1633. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/connection.d.ts +0 -367
  1634. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/connection.js +0 -1271
  1635. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/disposable.d.ts +0 -9
  1636. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/disposable.js +0 -16
  1637. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/encoding.d.ts +0 -52
  1638. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/encoding.js +0 -70
  1639. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/events.d.ts +0 -39
  1640. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/events.js +0 -135
  1641. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/is.d.ts +0 -7
  1642. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/is.js +0 -34
  1643. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/linkedMap.d.ts +0 -55
  1644. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/linkedMap.js +0 -412
  1645. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messageBuffer.d.ts +0 -18
  1646. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messageBuffer.js +0 -155
  1647. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messageReader.d.ts +0 -77
  1648. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messageReader.js +0 -246
  1649. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messageWriter.d.ts +0 -60
  1650. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messageWriter.js +0 -157
  1651. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messages.d.ts +0 -369
  1652. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/messages.js +0 -436
  1653. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/ral.d.ts +0 -74
  1654. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/ral.js +0 -23
  1655. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/semaphore.d.ts +0 -10
  1656. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/semaphore.js +0 -74
  1657. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.d.ts +0 -15
  1658. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +0 -77
  1659. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/node/main.d.ts +0 -58
  1660. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/node/main.js +0 -289
  1661. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/node/ril.d.ts +0 -12
  1662. package/node_modules/typescript-7/vendor/vscode-jsonrpc/lib/node/ril.js +0 -163
  1663. package/node_modules/typescript-7/vendor/vscode-jsonrpc/package.json +0 -54
  1664. package/node_modules/typescript-7/vendor/vscode-jsonrpc/typings/thenable.d.ts +0 -5
  1665. package/node_modules/valibot/LICENSE.md +0 -9
  1666. package/node_modules/valibot/README.md +0 -94
  1667. package/node_modules/valibot/dist/index.cjs +0 -7897
  1668. package/node_modules/valibot/dist/index.d.cts +0 -16579
  1669. package/node_modules/valibot/dist/index.d.mts +0 -16579
  1670. package/node_modules/valibot/dist/index.min.cjs +0 -2
  1671. package/node_modules/valibot/dist/index.min.mjs +0 -2
  1672. package/node_modules/valibot/dist/index.mjs +0 -7577
  1673. package/node_modules/valibot/package.json +0 -84
  1674. /package/node_modules/@ykdz/{template-workspace/dist/generation-context.js → default-content-authoring/dist/contracts.js} +0 -0
  1675. /package/node_modules/@ykdz/{template-workspace → default-content-authoring}/dist/environment-needs.js +0 -0
  1676. /package/node_modules/@ykdz/{template-workspace/dist/default-package-role.d.ts → default-content-authoring/dist/package-role.d.ts} +0 -0
  1677. /package/node_modules/@ykdz/{template-workspace/dist/default-package-role.js → default-content-authoring/dist/package-role.js} +0 -0
  1678. /package/node_modules/@ykdz/{template-workspace/assets/environment → reference-rust-bin/native/resources}/devcontainer/rust.Dockerfile +0 -0
  1679. /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/agent-instructions.md +0 -0
  1680. /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/environment/base.Dockerfile +0 -0
  1681. /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/environment/devcontainer/browser-test.Dockerfile +0 -0
  1682. /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/environment/devcontainer/github-cli.Dockerfile +0 -0
  1683. /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/environment/devcontainer/shellcheck.Dockerfile +0 -0
  1684. /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/environment/devcontainer/workspace-template.json +0 -0
  1685. /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/environment/editor-customization/capabilities.json +0 -0
  1686. /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/github/check.yml +0 -0
  1687. /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/github/dependabot.yml +0 -0
  1688. /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/gitignore +0 -0
  1689. /package/node_modules/@ykdz/{template-workspace/assets → reference-workspace-root/native/resources}/next-steps.md +0 -0
  1690. /package/node_modules/@ykdz/{template-workspace → reference-workspace-root/native}/scripts/task-gates.ts +0 -0
@@ -1,1657 +0,0 @@
1
- /// <reference path="../node/node.ts" preserve="true" />
2
- import { CompletionItemKind } from "#enums/completionItemKind";
3
- import { DiagnosticCategory } from "#enums/diagnosticCategory";
4
- import { ElementFlags } from "#enums/elementFlags";
5
- import { ModuleKind } from "#enums/moduleKind";
6
- import { NodeBuilderFlags } from "#enums/nodeBuilderFlags";
7
- import { ObjectFlags } from "#enums/objectFlags";
8
- import { SignatureFlags } from "#enums/signatureFlags";
9
- import { SignatureKind } from "#enums/signatureKind";
10
- import { SymbolFlags } from "#enums/symbolFlags";
11
- import { TypeFlags } from "#enums/typeFlags";
12
- import { TypePredicateKind } from "#enums/typePredicateKind";
13
- import { ModifierFlags, unescapeLeadingUnderscores, } from "../../ast/index.js";
14
- import { encodeNode, uint8ArrayToBase64, } from "../node/encoder.js";
15
- import { decodeNode, getNodeId, parseNodeHandle, readParseOptionsKey, readSourceFileHash, RemoteSourceFile, } from "../node/node.js";
16
- import { Wtf8Decoder } from "../node/wtf8.js";
17
- import { createGetCanonicalFileName, toPath, } from "../path.js";
18
- import { resolveFileName, toUpdateSnapshotRequest, } from "../proto.js";
19
- import { SourceFileCache } from "../sourceFileCache.js";
20
- import { Client, } from "./client.js";
21
- export { documentURIToFileName, fileNameToDocumentURI } from "../path.js";
22
- export { CompletionItemKind, DiagnosticCategory, ElementFlags, ModifierFlags, ModuleKind, NodeBuilderFlags, ObjectFlags, SignatureFlags, SignatureKind, SymbolFlags, TypeFlags, TypePredicateKind };
23
- export class API {
24
- client;
25
- sourceFileCache;
26
- toPath;
27
- initialized = false;
28
- activeSnapshots = new Set();
29
- latestSnapshot;
30
- internal;
31
- constructor(options = {}) {
32
- this.client = new Client(options);
33
- this.sourceFileCache = new SourceFileCache();
34
- this.internal = new InternalAPI(this.client, () => this.ensureInitialized());
35
- }
36
- /**
37
- * Create an API instance from an existing LSP connection's API session.
38
- * Use this when connecting to an API pipe provided by an LSP server via custom/initializeAPISession.
39
- */
40
- static async fromLSPConnection(options) {
41
- const api = new API(options);
42
- await api.ensureInitialized();
43
- return api;
44
- }
45
- async ensureInitialized() {
46
- if (!this.initialized) {
47
- const response = await this.client.apiRequest("initialize", null);
48
- const getCanonicalFileName = createGetCanonicalFileName(response.useCaseSensitiveFileNames);
49
- const currentDirectory = response.currentDirectory;
50
- this.toPath = (fileName) => toPath(fileName, currentDirectory, getCanonicalFileName);
51
- this.initialized = true;
52
- }
53
- }
54
- async parseConfigFile(file) {
55
- await this.ensureInitialized();
56
- return this.client.apiRequest("parseConfigFile", { file });
57
- }
58
- async updateSnapshot(params) {
59
- await this.ensureInitialized();
60
- const requestParams = toUpdateSnapshotRequest(params);
61
- const data = await this.client.apiRequest("updateSnapshot", requestParams);
62
- // Retain cached source files from previous snapshot for unchanged files
63
- if (this.latestSnapshot) {
64
- this.sourceFileCache.retainForSnapshot(data.snapshot, this.latestSnapshot.id, data.changes);
65
- if (this.latestSnapshot.isDisposed()) {
66
- this.sourceFileCache.releaseSnapshot(this.latestSnapshot.id);
67
- }
68
- }
69
- const snapshot = new Snapshot(data, this.client, this.sourceFileCache, this.toPath, () => {
70
- this.activeSnapshots.delete(snapshot);
71
- if (snapshot !== this.latestSnapshot) {
72
- this.sourceFileCache.releaseSnapshot(snapshot.id);
73
- }
74
- });
75
- this.latestSnapshot = snapshot;
76
- this.activeSnapshots.add(snapshot);
77
- return snapshot;
78
- }
79
- async close() {
80
- // Dispose all active snapshots
81
- for (const snapshot of [...this.activeSnapshots]) {
82
- await snapshot.dispose();
83
- }
84
- // Release the latest snapshot's cache refs if still held
85
- if (this.latestSnapshot) {
86
- this.sourceFileCache.releaseSnapshot(this.latestSnapshot.id);
87
- this.latestSnapshot = undefined;
88
- }
89
- await this.client.close();
90
- this.sourceFileCache.clear();
91
- }
92
- clearSourceFileCache() {
93
- this.sourceFileCache.clear();
94
- }
95
- /**
96
- * Returns a snapshot of collected timing information for requests made
97
- * through this API instance: client-measured round-trip latency and bytes
98
- * transferred, folded together with the server's own per-request processing
99
- * time and an estimated transport overhead (round-trip minus server time).
100
- *
101
- * Fetching the snapshot issues a lightweight request to the server to
102
- * retrieve its timing collection. Collection must be enabled via the
103
- * `collectTiming` option; when it is not, the returned snapshot has
104
- * `enabled: false` and zeroed totals.
105
- */
106
- getTimingInfo() {
107
- return this.client.getTimingInfo();
108
- }
109
- /** Clears all accumulated timing totals and recent-request history, on both the client and the server. */
110
- resetTimingInfo() {
111
- return this.client.resetTimingInfo();
112
- }
113
- }
114
- export class InternalAPI {
115
- client;
116
- ensureInitialized;
117
- /** @internal */
118
- constructor(client, ensureInitialized) {
119
- this.client = client;
120
- this.ensureInitialized = ensureInitialized;
121
- }
122
- async startCPUProfile(dir) {
123
- await this.ensureInitialized();
124
- await this.client.apiRequest("startCPUProfile", { dir });
125
- }
126
- async stopCPUProfile() {
127
- await this.ensureInitialized();
128
- const result = await this.client.apiRequest("stopCPUProfile", null);
129
- return result.file;
130
- }
131
- async saveHeapProfile(dir) {
132
- await this.ensureInitialized();
133
- const result = await this.client.apiRequest("saveHeapProfile", { dir });
134
- return result.file;
135
- }
136
- }
137
- export class Snapshot {
138
- id;
139
- projectMap;
140
- toPath;
141
- client;
142
- disposed = false;
143
- onDispose;
144
- snapshotRegistry;
145
- constructor(data, client, sourceFileCache, toPath, onDispose) {
146
- this.id = data.snapshot;
147
- this.client = client;
148
- this.toPath = toPath;
149
- this.onDispose = onDispose;
150
- this.projectMap = new Map();
151
- this.snapshotRegistry = new SnapshotObjectRegistry(client, this.id, projectId => this.projectMap.get(projectId));
152
- for (const projData of data.projects) {
153
- const project = new Project(projData, this.id, client, sourceFileCache, toPath, this.snapshotRegistry);
154
- this.projectMap.set(toPath(projData.configFileName), project);
155
- }
156
- }
157
- getProjects() {
158
- this.ensureNotDisposed();
159
- return [...this.projectMap.values()];
160
- }
161
- getProject(configFileName) {
162
- this.ensureNotDisposed();
163
- return this.projectMap.get(this.toPath(configFileName));
164
- }
165
- async getDefaultProjectForFile(file) {
166
- this.ensureNotDisposed();
167
- const data = await this.client.apiRequest("getDefaultProjectForFile", {
168
- snapshot: this.id,
169
- file,
170
- });
171
- if (!data)
172
- return undefined;
173
- return this.projectMap.get(this.toPath(data.configFileName));
174
- }
175
- [globalThis.Symbol.dispose]() {
176
- this.dispose();
177
- }
178
- async dispose() {
179
- if (this.disposed)
180
- return;
181
- this.disposed = true;
182
- for (const project of this.projectMap.values()) {
183
- project.dispose();
184
- }
185
- this.projectMap.clear();
186
- this.snapshotRegistry.clear();
187
- this.onDispose();
188
- await this.client.apiRequest("release", { snapshot: this.id });
189
- }
190
- isDisposed() {
191
- return this.disposed;
192
- }
193
- ensureNotDisposed() {
194
- if (this.disposed) {
195
- throw new Error("Snapshot is disposed");
196
- }
197
- }
198
- }
199
- class SnapshotObjectRegistry {
200
- symbols = new Map();
201
- client;
202
- snapshotId;
203
- resolveProject;
204
- constructor(client, snapshotId, resolveProject) {
205
- this.client = client;
206
- this.snapshotId = snapshotId;
207
- this.resolveProject = resolveProject;
208
- }
209
- /** Resolve a project id (a config file path) to its Project within this snapshot. */
210
- getProject(projectId) {
211
- return this.resolveProject(projectId);
212
- }
213
- getOrCreateSymbol(data) {
214
- let symbol = this.symbols.get(data.id);
215
- if (!symbol) {
216
- symbol = new Symbol(data, this);
217
- this.symbols.set(data.id, symbol);
218
- }
219
- return symbol;
220
- }
221
- getSymbol(id) {
222
- return this.symbols.get(id);
223
- }
224
- clear() {
225
- this.symbols.clear();
226
- }
227
- async fetchSymbol(source, method, handle, projectId) {
228
- if (!handle)
229
- return undefined;
230
- const cached = this.getSymbol(handle);
231
- if (cached)
232
- return cached;
233
- const data = await this.client.apiRequest(method, {
234
- snapshot: this.snapshotId,
235
- project: projectId,
236
- objectId: source.id,
237
- });
238
- if (!data)
239
- throw new Error(`${method} returned null symbol for ${source.constructor.name} ${source.id}`);
240
- return this.getOrCreateSymbol(data);
241
- }
242
- async fetchSymbols(source, method, handles, projectId) {
243
- if (handles) {
244
- const result = new Array(handles.length);
245
- let allCached = true;
246
- for (let i = 0; i < handles.length; i++) {
247
- const cached = this.getSymbol(handles[i]);
248
- if (!cached) {
249
- allCached = false;
250
- break;
251
- }
252
- result[i] = cached;
253
- }
254
- if (allCached)
255
- return result;
256
- }
257
- const symbolData = await this.client.apiRequest(method, {
258
- snapshot: this.snapshotId,
259
- project: projectId,
260
- objectId: source.id,
261
- });
262
- if (symbolData == null)
263
- return [];
264
- else
265
- return symbolData.map(data => this.getOrCreateSymbol(data));
266
- }
267
- }
268
- class ProjectObjectRegistry {
269
- client;
270
- snapshotId;
271
- project;
272
- snapshotRegistry;
273
- types = new Map();
274
- signatures = new Map();
275
- constructor(client, snapshotId, project, snapshotRegistry) {
276
- this.client = client;
277
- this.snapshotId = snapshotId;
278
- this.project = project;
279
- this.snapshotRegistry = snapshotRegistry;
280
- }
281
- getOrCreateSymbol(data) {
282
- return this.snapshotRegistry.getOrCreateSymbol(data);
283
- }
284
- getSymbol(id) {
285
- return this.snapshotRegistry.getSymbol(id);
286
- }
287
- getOrCreateType(data) {
288
- let type = this.types.get(data.id);
289
- if (!type) {
290
- type = new TypeObject(data, this);
291
- this.types.set(data.id, type);
292
- }
293
- return type;
294
- }
295
- getType(id) {
296
- return this.types.get(id);
297
- }
298
- getOrCreateSignature(data) {
299
- let sig = this.signatures.get(data.id);
300
- if (!sig) {
301
- sig = new Signature(data, this.project, this);
302
- this.signatures.set(data.id, sig);
303
- }
304
- return sig;
305
- }
306
- getSignature(id) {
307
- return this.signatures.get(id);
308
- }
309
- clear() {
310
- this.types.clear();
311
- this.signatures.clear();
312
- }
313
- async fetchType(source, method, handle) {
314
- if (handle !== false) {
315
- if (!handle)
316
- return undefined;
317
- const cached = this.getType(handle);
318
- if (cached)
319
- return cached;
320
- }
321
- const data = await this.client.apiRequest(method, {
322
- snapshot: this.snapshotId,
323
- project: this.project.id,
324
- objectId: source.id,
325
- });
326
- if (!data)
327
- throw new Error(`${method} returned null type for ${source.constructor.name} ${source.id}`);
328
- return this.getOrCreateType(data);
329
- }
330
- async fetchSymbol(source, method, handle) {
331
- return this.snapshotRegistry.fetchSymbol(source, method, handle, this.project.id);
332
- }
333
- async fetchSignature(source, method, handle) {
334
- if (!handle)
335
- return undefined;
336
- const cached = this.getSignature(handle);
337
- if (cached)
338
- return cached;
339
- const data = await this.client.apiRequest(method, {
340
- snapshot: this.snapshotId,
341
- project: this.project.id,
342
- objectId: source.id,
343
- });
344
- if (!data)
345
- throw new Error(`${method} returned null signature for ${source.constructor.name} ${source.id}`);
346
- return this.getOrCreateSignature(data);
347
- }
348
- async fetchTypes(source, method, handles) {
349
- if (handles) {
350
- const result = new Array(handles.length);
351
- let allCached = true;
352
- for (let i = 0; i < handles.length; i++) {
353
- const cached = this.getType(handles[i]);
354
- if (!cached) {
355
- allCached = false;
356
- break;
357
- }
358
- result[i] = cached;
359
- }
360
- if (allCached)
361
- return result;
362
- }
363
- const typesData = await this.client.apiRequest(method, {
364
- snapshot: this.snapshotId,
365
- project: this.project.id,
366
- objectId: source.id,
367
- });
368
- if (typesData == null)
369
- return [];
370
- else
371
- return typesData.map(data => this.getOrCreateType(data));
372
- }
373
- async fetchSymbols(source, method, handles) {
374
- return this.snapshotRegistry.fetchSymbols(source, method, handles, this.project.id);
375
- }
376
- // getBaseTypes is a checker-level endpoint keyed by `type` (not `objectId`),
377
- // so it cannot go through fetchTypes. This helper reuses that server method.
378
- async fetchBaseTypes(source) {
379
- const typesData = await this.client.apiRequest("getBaseTypes", {
380
- snapshot: this.snapshotId,
381
- project: this.project.id,
382
- type: source.id,
383
- });
384
- if (typesData == null)
385
- return [];
386
- return typesData.map(data => this.getOrCreateType(data));
387
- }
388
- }
389
- export class Project {
390
- id;
391
- configFileName;
392
- compilerOptions;
393
- rootFiles;
394
- program;
395
- checker;
396
- emitter;
397
- client;
398
- constructor(data, snapshotId, client, sourceFileCache, toPath, snapshotRegistry) {
399
- this.id = data.id;
400
- this.configFileName = data.configFileName;
401
- this.compilerOptions = data.compilerOptions;
402
- this.rootFiles = data.rootFiles;
403
- this.client = client;
404
- this.program = new Program(snapshotId, this, client, sourceFileCache, toPath);
405
- const objectRegistry = new ProjectObjectRegistry(client, snapshotId, this, snapshotRegistry);
406
- this.checker = new Checker(snapshotId, this, client, objectRegistry);
407
- this.emitter = new Emitter(client);
408
- }
409
- dispose() {
410
- this.checker.dispose();
411
- }
412
- }
413
- export class Program {
414
- snapshotId;
415
- project;
416
- client;
417
- sourceFileCache;
418
- toPath;
419
- decoder = new Wtf8Decoder();
420
- sourceFileMetadataCache = new Map();
421
- constructor(snapshotId, project, client, sourceFileCache, toPath) {
422
- this.snapshotId = snapshotId;
423
- this.project = project;
424
- this.client = client;
425
- this.sourceFileCache = sourceFileCache;
426
- this.toPath = toPath;
427
- }
428
- getCompilerOptions() {
429
- return this.project.compilerOptions;
430
- }
431
- async getSourceFile(file) {
432
- const fileName = resolveFileName(file);
433
- const path = this.toPath(fileName);
434
- // Check if we already have a retained cache entry for this (snapshot, project) pair
435
- const retained = this.sourceFileCache.getRetained(path, this.snapshotId, this.project.id);
436
- if (retained) {
437
- return retained;
438
- }
439
- // Fetch from server
440
- const binaryData = await this.client.apiRequestBinary("getSourceFile", {
441
- snapshot: this.snapshotId,
442
- project: this.project.id,
443
- file,
444
- });
445
- if (!binaryData) {
446
- return undefined;
447
- }
448
- const view = new DataView(binaryData.buffer, binaryData.byteOffset, binaryData.byteLength);
449
- const contentHash = readSourceFileHash(view);
450
- const parseOptionsKey = readParseOptionsKey(view);
451
- // Create a new RemoteSourceFile and cache it (set returns existing if hash matches)
452
- const sourceFile = new RemoteSourceFile(binaryData, this.decoder, this.client.getTimingCollector());
453
- return this.sourceFileCache.set(path, sourceFile, parseOptionsKey, contentHash, this.snapshotId, this.project.id);
454
- }
455
- async getSourceFileNames() {
456
- const data = await this.client.apiRequest("getSourceFileNames", {
457
- snapshot: this.snapshotId,
458
- project: this.project.id,
459
- });
460
- return data ?? [];
461
- }
462
- /**
463
- * Returns program-stored metadata for the given source file, or `undefined` if the file
464
- * is not part of the program. Metadata is fetched lazily per file and cached on this
465
- * `Program` instance.
466
- */
467
- getSourceFileMetadata(fileName) {
468
- return this.getSourceFileMetadataByPath(this.toPath(fileName));
469
- }
470
- /**
471
- * Returns program-stored metadata for the source file at the given path, or `undefined`
472
- * if the file is not part of the program. Like {@link getSourceFileMetadata}, but skips
473
- * the file name to path conversion. Metadata is fetched lazily per file and cached on
474
- * this `Program` instance.
475
- */
476
- getSourceFileMetadataByPath(path) {
477
- let metadata = this.sourceFileMetadataCache.get(path);
478
- if (metadata === undefined) {
479
- metadata = this.fetchSourceFileMetadata(path);
480
- this.sourceFileMetadataCache.set(path, metadata);
481
- }
482
- return metadata;
483
- }
484
- async fetchSourceFileMetadata(path) {
485
- const data = await this.client.apiRequest("getSourceFileMetadata", {
486
- snapshot: this.snapshotId,
487
- project: this.project.id,
488
- file: path,
489
- });
490
- return data ?? undefined;
491
- }
492
- /**
493
- * Returns whether the given source file was loaded as part of an external library
494
- * (e.g. a dependency resolved from `node_modules`). The underlying program metadata is
495
- * fetched lazily per file and cached on this `Program` instance.
496
- */
497
- async isSourceFileFromExternalLibrary(file) {
498
- const metadata = await this.getSourceFileMetadataByPath(file.path);
499
- return metadata?.isFromExternalLibrary ?? false;
500
- }
501
- /**
502
- * Returns whether the given source file is a default library file (e.g. `lib.d.ts`).
503
- * The underlying program metadata is fetched lazily per file and cached on this
504
- * `Program` instance.
505
- */
506
- async isSourceFileDefaultLibrary(file) {
507
- const metadata = await this.getSourceFileMetadataByPath(file.path);
508
- return metadata?.isDefaultLibrary ?? false;
509
- }
510
- /**
511
- * Get syntactic (parse) diagnostics for a specific file or all files.
512
- * @param file - Optional file to get diagnostics for. If omitted, returns diagnostics for all files.
513
- */
514
- async getSyntacticDiagnostics(file) {
515
- const data = await this.client.apiRequest("getSyntacticDiagnostics", {
516
- snapshot: this.snapshotId,
517
- project: this.project.id,
518
- ...(file !== undefined ? { file } : {}),
519
- });
520
- return data ?? [];
521
- }
522
- /**
523
- * Get binder diagnostics for a specific file or all files.
524
- * @param file - Optional file to get diagnostics for. If omitted, returns diagnostics for all files.
525
- */
526
- async getBindDiagnostics(file) {
527
- const data = await this.client.apiRequest("getBindDiagnostics", {
528
- snapshot: this.snapshotId,
529
- project: this.project.id,
530
- ...(file !== undefined ? { file } : {}),
531
- });
532
- return data ?? [];
533
- }
534
- /**
535
- * Get semantic (type-check) diagnostics for a specific file or all files.
536
- * @param file - Optional file to get diagnostics for. If omitted, returns diagnostics for all files.
537
- */
538
- async getSemanticDiagnostics(file) {
539
- const data = await this.client.apiRequest("getSemanticDiagnostics", {
540
- snapshot: this.snapshotId,
541
- project: this.project.id,
542
- ...(file !== undefined ? { file } : {}),
543
- });
544
- return data ?? [];
545
- }
546
- /**
547
- * Get suggestion diagnostics for a specific file or all files.
548
- * @param file - Optional file to get diagnostics for. If omitted, returns diagnostics for all files.
549
- */
550
- async getSuggestionDiagnostics(file) {
551
- const data = await this.client.apiRequest("getSuggestionDiagnostics", {
552
- snapshot: this.snapshotId,
553
- project: this.project.id,
554
- ...(file !== undefined ? { file } : {}),
555
- });
556
- return data ?? [];
557
- }
558
- /**
559
- * Get declaration emit diagnostics for a specific file or all files.
560
- * @param file - Optional file to get diagnostics for. If omitted, returns diagnostics for all files.
561
- */
562
- async getDeclarationDiagnostics(file) {
563
- const data = await this.client.apiRequest("getDeclarationDiagnostics", {
564
- snapshot: this.snapshotId,
565
- project: this.project.id,
566
- ...(file !== undefined ? { file } : {}),
567
- });
568
- return data ?? [];
569
- }
570
- /**
571
- * Get program-wide diagnostics for the project, including compiler options diagnostics.
572
- */
573
- async getProgramDiagnostics() {
574
- const data = await this.client.apiRequest("getProgramDiagnostics", {
575
- snapshot: this.snapshotId,
576
- project: this.project.id,
577
- });
578
- return data ?? [];
579
- }
580
- /**
581
- * Get global (non-file-specific) semantic diagnostics for the project.
582
- */
583
- async getGlobalDiagnostics() {
584
- const data = await this.client.apiRequest("getGlobalDiagnostics", {
585
- snapshot: this.snapshotId,
586
- project: this.project.id,
587
- });
588
- return data ?? [];
589
- }
590
- /**
591
- * Get config file parsing diagnostics for the project.
592
- */
593
- async getConfigFileParsingDiagnostics() {
594
- const data = await this.client.apiRequest("getConfigFileParsingDiagnostics", {
595
- snapshot: this.snapshotId,
596
- project: this.project.id,
597
- });
598
- return data ?? [];
599
- }
600
- }
601
- export class Checker {
602
- snapshotId;
603
- project;
604
- client;
605
- objectRegistry;
606
- wellKnownSymbols;
607
- constructor(snapshotId, project, client, objectRegistry) {
608
- this.snapshotId = snapshotId;
609
- this.project = project;
610
- this.client = client;
611
- this.objectRegistry = objectRegistry;
612
- }
613
- dispose() {
614
- this.objectRegistry.clear();
615
- }
616
- async getSymbolAtLocation(nodeOrNodes) {
617
- if (Array.isArray(nodeOrNodes)) {
618
- const data = await this.client.apiRequest("getSymbolsAtLocations", {
619
- snapshot: this.snapshotId,
620
- project: this.project.id,
621
- locations: nodeOrNodes.map(node => getNodeId(node)),
622
- });
623
- return data.map(d => d ? this.objectRegistry.getOrCreateSymbol(d) : undefined);
624
- }
625
- const data = await this.client.apiRequest("getSymbolAtLocation", {
626
- snapshot: this.snapshotId,
627
- project: this.project.id,
628
- location: getNodeId(nodeOrNodes),
629
- });
630
- return data ? this.objectRegistry.getOrCreateSymbol(data) : undefined;
631
- }
632
- async getSymbolAtPosition(file, positionOrPositions) {
633
- if (typeof positionOrPositions === "number") {
634
- const data = await this.client.apiRequest("getSymbolAtPosition", {
635
- snapshot: this.snapshotId,
636
- project: this.project.id,
637
- file,
638
- position: positionOrPositions,
639
- });
640
- return data ? this.objectRegistry.getOrCreateSymbol(data) : undefined;
641
- }
642
- const data = await this.client.apiRequest("getSymbolsAtPositions", {
643
- snapshot: this.snapshotId,
644
- project: this.project.id,
645
- file,
646
- positions: positionOrPositions,
647
- });
648
- return data.map(d => d ? this.objectRegistry.getOrCreateSymbol(d) : undefined);
649
- }
650
- async getTypeOfSymbol(symbolOrSymbols) {
651
- if (Array.isArray(symbolOrSymbols)) {
652
- const data = await this.client.apiRequest("getTypesOfSymbols", {
653
- snapshot: this.snapshotId,
654
- project: this.project.id,
655
- symbols: symbolOrSymbols.map(s => s.id),
656
- });
657
- return data.map(d => d ? this.objectRegistry.getOrCreateType(d) : undefined);
658
- }
659
- const data = await this.client.apiRequest("getTypeOfSymbol", {
660
- snapshot: this.snapshotId,
661
- project: this.project.id,
662
- symbol: symbolOrSymbols.id,
663
- });
664
- return data ? this.objectRegistry.getOrCreateType(data) : undefined;
665
- }
666
- /**
667
- * Get the declared type of a symbol. Always returns a type; for symbols whose
668
- * declared type cannot be determined the checker yields the error type (use
669
- * {@link Type.isErrorType} to detect it).
670
- */
671
- async getDeclaredTypeOfSymbol(symbol) {
672
- const data = await this.client.apiRequest("getDeclaredTypeOfSymbol", {
673
- snapshot: this.snapshotId,
674
- project: this.project.id,
675
- symbol: symbol.id,
676
- });
677
- if (!data)
678
- throw new Error(`getDeclaredTypeOfSymbol returned no type for symbol ${symbol.id}`);
679
- return this.objectRegistry.getOrCreateType(data);
680
- }
681
- async getReferencesToSymbolInFile(file, symbol) {
682
- const data = await this.client.apiRequest("getReferencesToSymbolInFile", {
683
- snapshot: this.snapshotId,
684
- project: this.project.id,
685
- file,
686
- symbol: symbol.id,
687
- });
688
- return (data ?? []).map(h => new NodeHandle(h, this.project));
689
- }
690
- async getReferencedSymbolsForNode(node, position) {
691
- const data = await this.client.apiRequest("getReferencedSymbolsForNode", {
692
- snapshot: this.snapshotId,
693
- project: this.project.id,
694
- node: getNodeId(node),
695
- position,
696
- });
697
- return (data ?? []).map(entry => ({
698
- definition: new NodeHandle(entry.definition, this.project),
699
- symbol: entry.symbol ? this.objectRegistry.getOrCreateSymbol(entry.symbol) : undefined,
700
- references: (entry.references ?? []).map(h => new NodeHandle(h, this.project)),
701
- }));
702
- }
703
- async getSignatureUsage(signatureDecl) {
704
- const data = await this.client.apiRequest("getSignatureUsages", {
705
- snapshot: this.snapshotId,
706
- project: this.project.id,
707
- signatureDecl: getNodeId(signatureDecl),
708
- });
709
- return (data ?? []).map(entry => ({
710
- name: new NodeHandle(entry.name, this.project),
711
- call: entry.call ? new NodeHandle(entry.call, this.project) : undefined,
712
- }));
713
- }
714
- async getCompletionsAtPosition(document, position, options) {
715
- const data = await this.client.apiRequest("getCompletionsAtPosition", {
716
- snapshot: this.snapshotId,
717
- project: this.project.id,
718
- file: document,
719
- position,
720
- triggerCharacter: options?.triggerCharacter,
721
- includeSymbol: options?.includeSymbol,
722
- });
723
- if (!data)
724
- return undefined;
725
- return {
726
- isIncomplete: data.isIncomplete,
727
- entries: data.entries.map(e => ({
728
- ...e,
729
- symbol: e.symbol ? this.objectRegistry.getOrCreateSymbol(e.symbol) : undefined,
730
- })),
731
- };
732
- }
733
- async getTypeAtLocation(nodeOrNodes) {
734
- if (Array.isArray(nodeOrNodes)) {
735
- const data = await this.client.apiRequest("getTypeAtLocations", {
736
- snapshot: this.snapshotId,
737
- project: this.project.id,
738
- locations: nodeOrNodes.map(node => getNodeId(node)),
739
- });
740
- return data.map(d => d ? this.objectRegistry.getOrCreateType(d) : undefined);
741
- }
742
- const data = await this.client.apiRequest("getTypeAtLocation", {
743
- snapshot: this.snapshotId,
744
- project: this.project.id,
745
- location: getNodeId(nodeOrNodes),
746
- });
747
- return data ? this.objectRegistry.getOrCreateType(data) : undefined;
748
- }
749
- async getSignaturesOfType(type, kind) {
750
- const data = await this.client.apiRequest("getSignaturesOfType", {
751
- snapshot: this.snapshotId,
752
- project: this.project.id,
753
- type: type.id,
754
- kind,
755
- });
756
- return data.map(d => this.objectRegistry.getOrCreateSignature(d));
757
- }
758
- async getResolvedSignature(node) {
759
- const data = await this.client.apiRequest("getResolvedSignature", {
760
- snapshot: this.snapshotId,
761
- project: this.project.id,
762
- location: getNodeId(node),
763
- });
764
- return data ? this.objectRegistry.getOrCreateSignature(data) : undefined;
765
- }
766
- async getTypeAtPosition(file, positionOrPositions) {
767
- if (typeof positionOrPositions === "number") {
768
- const data = await this.client.apiRequest("getTypeAtPosition", {
769
- snapshot: this.snapshotId,
770
- project: this.project.id,
771
- file,
772
- position: positionOrPositions,
773
- });
774
- return data ? this.objectRegistry.getOrCreateType(data) : undefined;
775
- }
776
- const data = await this.client.apiRequest("getTypesAtPositions", {
777
- snapshot: this.snapshotId,
778
- project: this.project.id,
779
- file,
780
- positions: positionOrPositions,
781
- });
782
- return data.map(d => d ? this.objectRegistry.getOrCreateType(d) : undefined);
783
- }
784
- async resolveName(name, meaning, location, excludeGlobals) {
785
- // Distinguish Node (has `kind`) from DocumentPosition (has `document` and `position`)
786
- const isNode = location && "kind" in location;
787
- const data = await this.client.apiRequest("resolveName", {
788
- snapshot: this.snapshotId,
789
- project: this.project.id,
790
- name,
791
- meaning,
792
- location: isNode ? getNodeId(location) : undefined,
793
- file: !isNode && location ? location.document : undefined,
794
- position: !isNode && location ? location.position : undefined,
795
- excludeGlobals,
796
- });
797
- return data ? this.objectRegistry.getOrCreateSymbol(data) : undefined;
798
- }
799
- async getResolvedSymbol(node) {
800
- const text = node.text;
801
- if (!text)
802
- return undefined;
803
- return this.resolveName(text, SymbolFlags.Value | SymbolFlags.ExportValue, node);
804
- }
805
- async getContextualType(node) {
806
- const data = await this.client.apiRequest("getContextualType", {
807
- snapshot: this.snapshotId,
808
- project: this.project.id,
809
- location: getNodeId(node),
810
- });
811
- return data ? this.objectRegistry.getOrCreateType(data) : undefined;
812
- }
813
- async getBaseTypeOfLiteralType(type) {
814
- const data = await this.client.apiRequest("getBaseTypeOfLiteralType", {
815
- snapshot: this.snapshotId,
816
- project: this.project.id,
817
- type: type.id,
818
- });
819
- return data ? this.objectRegistry.getOrCreateType(data) : undefined;
820
- }
821
- async getNonNullableType(type) {
822
- const data = await this.client.apiRequest("getNonNullableType", {
823
- snapshot: this.snapshotId,
824
- project: this.project.id,
825
- type: type.id,
826
- });
827
- return data ? this.objectRegistry.getOrCreateType(data) : undefined;
828
- }
829
- async getTypeFromTypeNode(node) {
830
- const data = await this.client.apiRequest("getTypeFromTypeNode", {
831
- snapshot: this.snapshotId,
832
- project: this.project.id,
833
- location: getNodeId(node),
834
- });
835
- return data ? this.objectRegistry.getOrCreateType(data) : undefined;
836
- }
837
- async getWidenedType(type) {
838
- const data = await this.client.apiRequest("getWidenedType", {
839
- snapshot: this.snapshotId,
840
- project: this.project.id,
841
- type: type.id,
842
- });
843
- return data ? this.objectRegistry.getOrCreateType(data) : undefined;
844
- }
845
- async getParameterType(signature, index) {
846
- const data = await this.client.apiRequest("getParameterType", {
847
- snapshot: this.snapshotId,
848
- project: this.project.id,
849
- signature: signature.id,
850
- index,
851
- });
852
- return data ? this.objectRegistry.getOrCreateType(data) : undefined;
853
- }
854
- async isArrayLikeType(type) {
855
- return this.client.apiRequest("isArrayLikeType", {
856
- snapshot: this.snapshotId,
857
- project: this.project.id,
858
- type: type.id,
859
- });
860
- }
861
- async isTypeAssignableTo(source, target) {
862
- return this.client.apiRequest("isTypeAssignableTo", {
863
- snapshot: this.snapshotId,
864
- project: this.project.id,
865
- source: source.id,
866
- target: target.id,
867
- });
868
- }
869
- async getShorthandAssignmentValueSymbol(node) {
870
- const data = await this.client.apiRequest("getShorthandAssignmentValueSymbol", {
871
- snapshot: this.snapshotId,
872
- project: this.project.id,
873
- location: getNodeId(node),
874
- });
875
- return data ? this.objectRegistry.getOrCreateSymbol(data) : undefined;
876
- }
877
- /**
878
- * Get the type of a symbol as narrowed at a specific location. Always returns
879
- * a type; for symbols whose type cannot be determined the checker yields the
880
- * error type (use {@link Type.isErrorType} to detect it).
881
- */
882
- async getTypeOfSymbolAtLocation(symbol, location) {
883
- const data = await this.client.apiRequest("getTypeOfSymbolAtLocation", {
884
- snapshot: this.snapshotId,
885
- project: this.project.id,
886
- symbol: symbol.id,
887
- location: getNodeId(location),
888
- });
889
- if (!data)
890
- throw new Error(`getTypeOfSymbolAtLocation returned no type for symbol ${symbol.id}`);
891
- return this.objectRegistry.getOrCreateType(data);
892
- }
893
- async getIntrinsicType(method) {
894
- const data = await this.client.apiRequest(method, {
895
- snapshot: this.snapshotId,
896
- project: this.project.id,
897
- });
898
- return this.objectRegistry.getOrCreateType(data);
899
- }
900
- async getAnyType() {
901
- return this.getIntrinsicType("getAnyType");
902
- }
903
- async getStringType() {
904
- return this.getIntrinsicType("getStringType");
905
- }
906
- async getNumberType() {
907
- return this.getIntrinsicType("getNumberType");
908
- }
909
- async getBooleanType() {
910
- return this.getIntrinsicType("getBooleanType");
911
- }
912
- async getVoidType() {
913
- return this.getIntrinsicType("getVoidType");
914
- }
915
- async getUndefinedType() {
916
- return this.getIntrinsicType("getUndefinedType");
917
- }
918
- async getNullType() {
919
- return this.getIntrinsicType("getNullType");
920
- }
921
- async getNeverType() {
922
- return this.getIntrinsicType("getNeverType");
923
- }
924
- async getUnknownType() {
925
- return this.getIntrinsicType("getUnknownType");
926
- }
927
- async getBigIntType() {
928
- return this.getIntrinsicType("getBigIntType");
929
- }
930
- async getESSymbolType() {
931
- return this.getIntrinsicType("getESSymbolType");
932
- }
933
- async typeToTypeNode(type, enclosingDeclaration, flags) {
934
- const binaryData = await this.client.apiRequestBinary("typeToTypeNode", {
935
- snapshot: this.snapshotId,
936
- project: this.project.id,
937
- type: type.id,
938
- location: enclosingDeclaration ? getNodeId(enclosingDeclaration) : undefined,
939
- flags,
940
- });
941
- if (!binaryData)
942
- return undefined;
943
- return decodeNode(binaryData);
944
- }
945
- async signatureToSignatureDeclaration(signature, kind, enclosingDeclaration, flags) {
946
- const binaryData = await this.client.apiRequestBinary("signatureToSignatureDeclaration", {
947
- snapshot: this.snapshotId,
948
- project: this.project.id,
949
- signature: signature.id,
950
- kind,
951
- location: enclosingDeclaration ? getNodeId(enclosingDeclaration) : undefined,
952
- flags,
953
- });
954
- if (!binaryData)
955
- return undefined;
956
- return decodeNode(binaryData);
957
- }
958
- async typeToString(type, enclosingDeclaration, flags) {
959
- return this.client.apiRequest("typeToString", {
960
- snapshot: this.snapshotId,
961
- project: this.project.id,
962
- type: type.id,
963
- location: enclosingDeclaration ? getNodeId(enclosingDeclaration) : undefined,
964
- flags,
965
- });
966
- }
967
- async isContextSensitive(node) {
968
- return this.client.apiRequest("isContextSensitive", {
969
- snapshot: this.snapshotId,
970
- project: this.project.id,
971
- location: getNodeId(node),
972
- });
973
- }
974
- async isArrayType(type) {
975
- return this.client.apiRequest("isArrayType", {
976
- snapshot: this.snapshotId,
977
- project: this.project.id,
978
- type: type.id,
979
- });
980
- }
981
- async isTupleType(type) {
982
- return this.client.apiRequest("isTupleType", {
983
- snapshot: this.snapshotId,
984
- project: this.project.id,
985
- type: type.id,
986
- });
987
- }
988
- async getReturnTypeOfSignature(signature) {
989
- const data = await this.client.apiRequest("getReturnTypeOfSignature", {
990
- snapshot: this.snapshotId,
991
- project: this.project.id,
992
- signature: signature.id,
993
- });
994
- return data ? this.objectRegistry.getOrCreateType(data) : undefined;
995
- }
996
- async getRestTypeOfSignature(signature) {
997
- const data = await this.client.apiRequest("getRestTypeOfSignature", {
998
- snapshot: this.snapshotId,
999
- project: this.project.id,
1000
- signature: signature.id,
1001
- });
1002
- return data ? this.objectRegistry.getOrCreateType(data) : undefined;
1003
- }
1004
- async getTypePredicateOfSignature(signature) {
1005
- const data = await this.client.apiRequest("getTypePredicateOfSignature", {
1006
- snapshot: this.snapshotId,
1007
- project: this.project.id,
1008
- signature: signature.id,
1009
- });
1010
- if (!data)
1011
- return undefined;
1012
- return {
1013
- kind: data.kind,
1014
- parameterIndex: data.parameterIndex,
1015
- parameterName: data.parameterName,
1016
- type: data.type ? this.objectRegistry.getOrCreateType(data.type) : undefined,
1017
- };
1018
- }
1019
- /**
1020
- * Get the base types of a class or interface type. A type with no base types
1021
- * yields an empty array.
1022
- */
1023
- async getBaseTypes(type) {
1024
- const data = await this.client.apiRequest("getBaseTypes", {
1025
- snapshot: this.snapshotId,
1026
- project: this.project.id,
1027
- type: type.id,
1028
- });
1029
- return data ? data.map(d => this.objectRegistry.getOrCreateType(d)) : [];
1030
- }
1031
- async getApparentType(type) {
1032
- const data = await this.client.apiRequest("getApparentType", {
1033
- snapshot: this.snapshotId,
1034
- project: this.project.id,
1035
- type: type.id,
1036
- });
1037
- return data ? this.objectRegistry.getOrCreateType(data) : undefined;
1038
- }
1039
- async getPropertiesOfType(type) {
1040
- const data = await this.client.apiRequest("getPropertiesOfType", {
1041
- snapshot: this.snapshotId,
1042
- project: this.project.id,
1043
- type: type.id,
1044
- });
1045
- return data ? data.map(d => this.objectRegistry.getOrCreateSymbol(d)) : [];
1046
- }
1047
- async getIndexInfosOfType(type) {
1048
- const data = await this.client.apiRequest("getIndexInfosOfType", {
1049
- snapshot: this.snapshotId,
1050
- project: this.project.id,
1051
- type: type.id,
1052
- });
1053
- if (!data)
1054
- return [];
1055
- return data.map(d => ({
1056
- keyType: this.objectRegistry.getOrCreateType(d.keyType),
1057
- valueType: this.objectRegistry.getOrCreateType(d.valueType),
1058
- isReadonly: d.isReadonly ?? false,
1059
- declaration: d.declaration ? new NodeHandle(d.declaration, this.project) : undefined,
1060
- }));
1061
- }
1062
- /**
1063
- * Get the constraint of a type parameter (the `T` in `<U extends T>`), or
1064
- * undefined if it has none.
1065
- */
1066
- async getConstraintOfTypeParameter(type) {
1067
- const data = await this.client.apiRequest("getConstraintOfTypeParameter", {
1068
- snapshot: this.snapshotId,
1069
- project: this.project.id,
1070
- type: type.id,
1071
- });
1072
- return data ? this.objectRegistry.getOrCreateType(data) : undefined;
1073
- }
1074
- async getBaseConstraintOfType(type) {
1075
- const data = await this.client.apiRequest("getBaseConstraintOfType", {
1076
- snapshot: this.snapshotId,
1077
- project: this.project.id,
1078
- type: type.id,
1079
- });
1080
- return data ? this.objectRegistry.getOrCreateType(data) : undefined;
1081
- }
1082
- async getPropertyOfType(type, name) {
1083
- const data = await this.client.apiRequest("getPropertyOfType", {
1084
- snapshot: this.snapshotId,
1085
- project: this.project.id,
1086
- type: type.id,
1087
- name,
1088
- });
1089
- return data ? this.objectRegistry.getOrCreateSymbol(data) : undefined;
1090
- }
1091
- async getConstantValue(node) {
1092
- const data = await this.client.apiRequest("getConstantValue", {
1093
- snapshot: this.snapshotId,
1094
- project: this.project.id,
1095
- location: getNodeId(node),
1096
- });
1097
- return data ?? undefined;
1098
- }
1099
- async getSignatureFromDeclaration(node) {
1100
- const data = await this.client.apiRequest("getSignatureFromDeclaration", {
1101
- snapshot: this.snapshotId,
1102
- project: this.project.id,
1103
- location: getNodeId(node),
1104
- });
1105
- return data ? this.objectRegistry.getOrCreateSignature(data) : undefined;
1106
- }
1107
- async getExportSpecifierLocalTargetSymbol(node) {
1108
- const data = await this.client.apiRequest("getExportSpecifierLocalTargetSymbol", {
1109
- snapshot: this.snapshotId,
1110
- project: this.project.id,
1111
- location: getNodeId(node),
1112
- });
1113
- return data ? this.objectRegistry.getOrCreateSymbol(data) : undefined;
1114
- }
1115
- /**
1116
- * Follow all aliases to get the original symbol. Always returns a symbol; for
1117
- * an unresolved alias the checker yields the unknown symbol (use
1118
- * {@link Checker.isUnknownSymbol} to detect it).
1119
- */
1120
- async getAliasedSymbol(symbol) {
1121
- const data = await this.client.apiRequest("getAliasedSymbol", {
1122
- snapshot: this.snapshotId,
1123
- project: this.project.id,
1124
- symbol: symbol.id,
1125
- });
1126
- if (!data)
1127
- throw new Error(`getAliasedSymbol returned no symbol for symbol ${symbol.id}`);
1128
- return this.objectRegistry.getOrCreateSymbol(data);
1129
- }
1130
- async getImmediateAliasedSymbol(symbol) {
1131
- const data = await this.client.apiRequest("getImmediateAliasedSymbol", {
1132
- snapshot: this.snapshotId,
1133
- project: this.project.id,
1134
- symbol: symbol.id,
1135
- });
1136
- return data ? this.objectRegistry.getOrCreateSymbol(data) : undefined;
1137
- }
1138
- /**
1139
- * Fetch (once, then cache) the handle ids of the per-checker singleton
1140
- * symbols (unknown, undefined, arguments). These ids are stable for the life
1141
- * of the project's checker, so identity checks against them are local after
1142
- * the first call.
1143
- */
1144
- getWellKnownSymbols() {
1145
- return this.wellKnownSymbols ??= this.client.apiRequest("getWellKnownSymbols", {
1146
- snapshot: this.snapshotId,
1147
- project: this.project.id,
1148
- });
1149
- }
1150
- /**
1151
- * Returns `true` if the symbol is the checker's "unknown" symbol (e.g. the
1152
- * result of {@link Checker.getAliasedSymbol} on an unresolved alias).
1153
- */
1154
- async isUnknownSymbol(symbol) {
1155
- return symbol.id === (await this.getWellKnownSymbols()).unknown;
1156
- }
1157
- /**
1158
- * Returns `true` if the symbol is the checker's "undefined" symbol.
1159
- */
1160
- async isUndefinedSymbol(symbol) {
1161
- return symbol.id === (await this.getWellKnownSymbols()).undefined;
1162
- }
1163
- /**
1164
- * Returns `true` if the symbol is the checker's "arguments" symbol.
1165
- */
1166
- async isArgumentsSymbol(symbol) {
1167
- return symbol.id === (await this.getWellKnownSymbols()).arguments;
1168
- }
1169
- async getExportsOfModule(symbol) {
1170
- const data = await this.client.apiRequest("getExportsOfModule", {
1171
- snapshot: this.snapshotId,
1172
- project: this.project.id,
1173
- symbol: symbol.id,
1174
- });
1175
- return data ? data.map(d => this.objectRegistry.getOrCreateSymbol(d)) : [];
1176
- }
1177
- async getMemberInModuleExports(symbol, name) {
1178
- const data = await this.client.apiRequest("getMemberInModuleExports", {
1179
- snapshot: this.snapshotId,
1180
- project: this.project.id,
1181
- symbol: symbol.id,
1182
- name,
1183
- });
1184
- return data ? this.objectRegistry.getOrCreateSymbol(data) : undefined;
1185
- }
1186
- async getJsDocTagsOfSymbol(symbol) {
1187
- const data = await this.client.apiRequest("getJsDocTags", {
1188
- snapshot: this.snapshotId,
1189
- project: this.project.id,
1190
- symbol: symbol.id,
1191
- });
1192
- return data ?? [];
1193
- }
1194
- async getDocumentationCommentOfSymbol(symbol) {
1195
- return this.client.apiRequest("getDocumentationComment", {
1196
- snapshot: this.snapshotId,
1197
- project: this.project.id,
1198
- symbol: symbol.id,
1199
- });
1200
- }
1201
- /**
1202
- * Get the type arguments of a type reference (e.g. the `string` in `Array<string>`).
1203
- */
1204
- async getTypeArguments(type) {
1205
- const data = await this.client.apiRequest("getTypeArguments", {
1206
- snapshot: this.snapshotId,
1207
- project: this.project.id,
1208
- type: type.id,
1209
- });
1210
- return data ? data.map(d => this.objectRegistry.getOrCreateType(d)) : [];
1211
- }
1212
- }
1213
- export class Emitter {
1214
- client;
1215
- constructor(client) {
1216
- this.client = client;
1217
- }
1218
- async printNode(node, options = {}) {
1219
- const encoded = encodeNode(node);
1220
- const base64 = uint8ArrayToBase64(encoded);
1221
- return this.client.apiRequest("printNode", {
1222
- data: base64,
1223
- ...options,
1224
- });
1225
- }
1226
- }
1227
- export class NodeHandle {
1228
- /**
1229
- * The project this handle was produced in, used as the default for {@link resolve}.
1230
- * Node handles are only meaningful within a project's program, so the producing project
1231
- * is remembered so callers don't have to pass it explicitly.
1232
- */
1233
- canonicalProject;
1234
- index;
1235
- kind;
1236
- path;
1237
- constructor(handle, canonicalProject) {
1238
- const parsed = parseNodeHandle(handle);
1239
- this.index = parsed.index;
1240
- this.kind = parsed.kind;
1241
- this.path = parsed.path;
1242
- this.canonicalProject = canonicalProject;
1243
- }
1244
- /**
1245
- * Resolve this handle to the actual AST node by fetching the source file from a project
1246
- * and looking up the node by index. If no project is passed, the project that produced
1247
- * the handle is used.
1248
- */
1249
- async resolve(project = this.canonicalProject) {
1250
- const sourceFile = await project.program.getSourceFile(this.path);
1251
- if (!sourceFile) {
1252
- return undefined;
1253
- }
1254
- return sourceFile.getOrCreateNodeAtIndex(this.index);
1255
- }
1256
- }
1257
- export class Symbol {
1258
- objectRegistry;
1259
- /**
1260
- * The project this symbol was first observed in, used as the default project for
1261
- * lookups that need a project context (members/exports/parent). Symbols are shared
1262
- * snapshot-wide, so these lookups can otherwise be ambiguous about which project to use.
1263
- */
1264
- canonicalProject;
1265
- id;
1266
- /** The escaped (`__String`) name, used as the key in member/export tables. */
1267
- escapedName;
1268
- /** The display name (escaped underscores removed). */
1269
- name;
1270
- flags;
1271
- checkFlags;
1272
- declarations;
1273
- valueDeclaration;
1274
- parent;
1275
- exportSymbol;
1276
- membersCache;
1277
- exportsCache;
1278
- constructor(data, objectRegistry) {
1279
- this.objectRegistry = objectRegistry;
1280
- this.id = data.id;
1281
- this.escapedName = data.name;
1282
- this.name = unescapeLeadingUnderscores(data.name);
1283
- this.flags = data.flags;
1284
- this.checkFlags = data.checkFlags;
1285
- const canonicalProject = objectRegistry.getProject(data.project);
1286
- if (!canonicalProject) {
1287
- throw new Error(`Symbol ${data.id} references unknown canonical project '${data.project}'`);
1288
- }
1289
- this.canonicalProject = canonicalProject;
1290
- this.declarations = (data.declarations ?? []).map(d => new NodeHandle(d, canonicalProject));
1291
- this.valueDeclaration = data.valueDeclaration ? new NodeHandle(data.valueDeclaration, canonicalProject) : undefined;
1292
- if (data.parent !== undefined)
1293
- this.parent = data.parent;
1294
- if (data.exportSymbol !== undefined)
1295
- this.exportSymbol = data.exportSymbol;
1296
- }
1297
- async getParent() {
1298
- return this.objectRegistry.fetchSymbol(this, "getParentOfSymbol", this.parent, this.canonicalProject.id);
1299
- }
1300
- /**
1301
- * Get this symbol's members keyed by escaped name. The result is cached on
1302
- * the symbol, so repeated calls do not round-trip to the server.
1303
- */
1304
- getMembers() {
1305
- return this.membersCache ??= this.fetchSymbolTable("getMembersOfSymbol");
1306
- }
1307
- /**
1308
- * Get this symbol's exports keyed by escaped name. The result is cached on
1309
- * the symbol, so repeated calls do not round-trip to the server.
1310
- */
1311
- getExports() {
1312
- return this.exportsCache ??= this.fetchSymbolTable("getExportsOfSymbol");
1313
- }
1314
- async fetchSymbolTable(method) {
1315
- const symbols = await this.objectRegistry.fetchSymbols(this, method, undefined, this.canonicalProject.id);
1316
- const table = new Map();
1317
- for (const symbol of symbols) {
1318
- table.set(symbol.escapedName, symbol);
1319
- }
1320
- return table;
1321
- }
1322
- async getExportSymbol() {
1323
- if (!this.exportSymbol)
1324
- return this;
1325
- return this.objectRegistry.fetchSymbol(this, "getExportSymbolOfSymbol", this.exportSymbol, this.canonicalProject.id);
1326
- }
1327
- async getJsDocTags(checker) {
1328
- return checker.getJsDocTagsOfSymbol(this);
1329
- }
1330
- async getDocumentationComment(checker) {
1331
- return checker.getDocumentationCommentOfSymbol(this);
1332
- }
1333
- }
1334
- class TypeObject {
1335
- objectRegistry;
1336
- id;
1337
- flags;
1338
- objectFlags;
1339
- symbol;
1340
- value;
1341
- intrinsicName;
1342
- isThisType;
1343
- freshType;
1344
- regularType;
1345
- target;
1346
- typeParameters;
1347
- outerTypeParameters;
1348
- localTypeParameters;
1349
- aliasTypeArguments;
1350
- aliasSymbol;
1351
- elementFlags;
1352
- fixedLength;
1353
- readonly;
1354
- texts;
1355
- objectType;
1356
- indexType;
1357
- checkType;
1358
- extendsType;
1359
- baseType;
1360
- substConstraint;
1361
- trueType; // false if not yet loaded
1362
- falseType; // false if not yet loaded
1363
- constructor(data, objectRegistry) {
1364
- this.objectRegistry = objectRegistry;
1365
- this.id = data.id;
1366
- this.flags = data.flags;
1367
- if (data.objectFlags !== undefined)
1368
- this.objectFlags = data.objectFlags;
1369
- if (data.symbol !== undefined)
1370
- this.symbol = data.symbol;
1371
- if (data.value != null) {
1372
- // BigInt literal values are serialized as decimal strings (e.g. "-123") because
1373
- // JSON cannot represent bigint. Decode them back into a real bigint here.
1374
- this.value = (data.flags & TypeFlags.BigIntLiteral) ? BigInt(data.value) : data.value;
1375
- }
1376
- if (data.intrinsicName !== undefined)
1377
- this.intrinsicName = data.intrinsicName;
1378
- if (data.isThisType !== undefined)
1379
- this.isThisType = data.isThisType;
1380
- if (data.freshType !== undefined)
1381
- this.freshType = data.freshType;
1382
- if (data.regularType !== undefined)
1383
- this.regularType = data.regularType;
1384
- if (data.target !== undefined)
1385
- this.target = data.target;
1386
- this.typeParameters = data.typeParameters ?? [];
1387
- this.outerTypeParameters = data.outerTypeParameters ?? [];
1388
- this.localTypeParameters = data.localTypeParameters ?? [];
1389
- this.aliasTypeArguments = data.aliasTypeArguments ?? [];
1390
- if (data.aliasSymbol !== undefined)
1391
- this.aliasSymbol = data.aliasSymbol;
1392
- if (data.elementFlags !== undefined)
1393
- this.elementFlags = data.elementFlags;
1394
- if (data.fixedLength !== undefined)
1395
- this.fixedLength = data.fixedLength;
1396
- if (data.readonly !== undefined)
1397
- this.readonly = data.readonly;
1398
- if (data.texts !== undefined)
1399
- this.texts = data.texts;
1400
- if (data.objectType !== undefined)
1401
- this.objectType = data.objectType;
1402
- if (data.indexType !== undefined)
1403
- this.indexType = data.indexType;
1404
- if (data.checkType !== undefined)
1405
- this.checkType = data.checkType;
1406
- if (data.extendsType !== undefined)
1407
- this.extendsType = data.extendsType;
1408
- if (data.baseType !== undefined)
1409
- this.baseType = data.baseType;
1410
- if (data.substConstraint !== undefined)
1411
- this.substConstraint = data.substConstraint;
1412
- this.trueType = false;
1413
- this.falseType = false;
1414
- }
1415
- async getSymbol() {
1416
- return this.objectRegistry.fetchSymbol(this, "getSymbolOfType", this.symbol);
1417
- }
1418
- async getAliasSymbol() {
1419
- return this.objectRegistry.fetchSymbol(this, "getAliasSymbolOfType", this.aliasSymbol);
1420
- }
1421
- async getTarget() {
1422
- return this.objectRegistry.fetchType(this, "getTargetOfType", this.target);
1423
- }
1424
- async getFreshType() {
1425
- return this.objectRegistry.fetchType(this, "getFreshTypeOfType", this.freshType);
1426
- }
1427
- async getRegularType() {
1428
- return this.objectRegistry.fetchType(this, "getRegularTypeOfType", this.regularType);
1429
- }
1430
- async getTypes() {
1431
- // Only union, intersection, and template literal types have constituent
1432
- // types; any other kind has none, so return undefined rather than sending
1433
- // a request the server cannot satisfy.
1434
- if (!(this.flags & (TypeFlags.UnionOrIntersection | TypeFlags.TemplateLiteral))) {
1435
- return undefined;
1436
- }
1437
- return this.objectRegistry.fetchTypes(this, "getTypesOfType");
1438
- }
1439
- async getTypeParameters() {
1440
- return this.objectRegistry.fetchTypes(this, "getTypeParametersOfType", this.typeParameters);
1441
- }
1442
- async getOuterTypeParameters() {
1443
- return this.objectRegistry.fetchTypes(this, "getOuterTypeParametersOfType", this.outerTypeParameters);
1444
- }
1445
- async getLocalTypeParameters() {
1446
- return this.objectRegistry.fetchTypes(this, "getLocalTypeParametersOfType", this.localTypeParameters);
1447
- }
1448
- async getAliasTypeArguments() {
1449
- return this.objectRegistry.fetchTypes(this, "getAliasTypeArgumentsOfType", this.aliasTypeArguments);
1450
- }
1451
- async getObjectType() {
1452
- return this.objectRegistry.fetchType(this, "getObjectTypeOfType", this.objectType);
1453
- }
1454
- async getIndexType() {
1455
- return this.objectRegistry.fetchType(this, "getIndexTypeOfType", this.indexType);
1456
- }
1457
- async getCheckType() {
1458
- return this.objectRegistry.fetchType(this, "getCheckTypeOfType", this.checkType);
1459
- }
1460
- async getExtendsType() {
1461
- return this.objectRegistry.fetchType(this, "getExtendsTypeOfType", this.extendsType);
1462
- }
1463
- async getBaseType() {
1464
- return this.objectRegistry.fetchType(this, "getBaseTypeOfType", this.baseType);
1465
- }
1466
- async getConstraint() {
1467
- return this.objectRegistry.fetchType(this, "getConstraintOfType", this.substConstraint);
1468
- }
1469
- async getTrueType() {
1470
- const result = await this.objectRegistry.fetchType(this, "getTrueTypeOfConditionalType", this.trueType);
1471
- this.trueType = result.id;
1472
- return result;
1473
- }
1474
- async getFalseType() {
1475
- const result = await this.objectRegistry.fetchType(this, "getFalseTypeOfConditionalType", this.falseType);
1476
- this.falseType = result.id;
1477
- return result;
1478
- }
1479
- /**
1480
- * Get the base types of this type. Returns `undefined` for any type that is
1481
- * not a class or interface.
1482
- */
1483
- async getBaseTypes() {
1484
- if (!this.isClassOrInterface()) {
1485
- return undefined;
1486
- }
1487
- return this.objectRegistry.fetchBaseTypes(this);
1488
- }
1489
- isClassOrInterface() {
1490
- return isClassOrInterfaceType(this);
1491
- }
1492
- isUnionType() {
1493
- return isUnionType(this);
1494
- }
1495
- isIntersectionType() {
1496
- return isIntersectionType(this);
1497
- }
1498
- isObjectType() {
1499
- return isObjectType(this);
1500
- }
1501
- isIntrinsicType() {
1502
- return isIntrinsicType(this);
1503
- }
1504
- isErrorType() {
1505
- return isErrorType(this);
1506
- }
1507
- isLiteralType() {
1508
- return isLiteralType(this);
1509
- }
1510
- isStringLiteralType() {
1511
- return isStringLiteralType(this);
1512
- }
1513
- isNumberLiteralType() {
1514
- return isNumberLiteralType(this);
1515
- }
1516
- isBigIntLiteralType() {
1517
- return isBigIntLiteralType(this);
1518
- }
1519
- isBooleanLiteralType() {
1520
- return isBooleanLiteralType(this);
1521
- }
1522
- isTypeReference() {
1523
- return isTypeReference(this);
1524
- }
1525
- isTupleType() {
1526
- return isTupleType(this);
1527
- }
1528
- isIndexType() {
1529
- return isIndexType(this);
1530
- }
1531
- isIndexedAccessType() {
1532
- return isIndexedAccessType(this);
1533
- }
1534
- isConditionalType() {
1535
- return isConditionalType(this);
1536
- }
1537
- isSubstitutionType() {
1538
- return isSubstitutionType(this);
1539
- }
1540
- isTemplateLiteralType() {
1541
- return isTemplateLiteralType(this);
1542
- }
1543
- isStringMappingType() {
1544
- return isStringMappingType(this);
1545
- }
1546
- isTypeParameter() {
1547
- return isTypeParameter(this);
1548
- }
1549
- }
1550
- export function isUnionType(type) {
1551
- return (type.flags & TypeFlags.Union) !== 0;
1552
- }
1553
- export function isIntersectionType(type) {
1554
- return (type.flags & TypeFlags.Intersection) !== 0;
1555
- }
1556
- export function isObjectType(type) {
1557
- return (type.flags & TypeFlags.Object) !== 0;
1558
- }
1559
- export function isClassOrInterfaceType(type) {
1560
- return isObjectType(type) && (type.objectFlags & ObjectFlags.ClassOrInterface) !== 0;
1561
- }
1562
- export function isIntrinsicType(type) {
1563
- return (type.flags & TypeFlags.Intrinsic) !== 0;
1564
- }
1565
- /**
1566
- * Whether this is the error type — the placeholder the checker produces when a
1567
- * type cannot be determined (e.g. an unresolved reference). It is an intrinsic
1568
- * type named `"error"` (this covers both the singleton error type and the
1569
- * per-alias error types manufactured for unresolved type alias references).
1570
- */
1571
- export function isErrorType(type) {
1572
- return isIntrinsicType(type) && type.intrinsicName === "error";
1573
- }
1574
- export function isLiteralType(type) {
1575
- return (type.flags & TypeFlags.Literal) !== 0;
1576
- }
1577
- export function isStringLiteralType(type) {
1578
- return (type.flags & TypeFlags.StringLiteral) !== 0;
1579
- }
1580
- export function isNumberLiteralType(type) {
1581
- return (type.flags & TypeFlags.NumberLiteral) !== 0;
1582
- }
1583
- export function isBigIntLiteralType(type) {
1584
- return (type.flags & TypeFlags.BigIntLiteral) !== 0;
1585
- }
1586
- export function isBooleanLiteralType(type) {
1587
- return (type.flags & TypeFlags.BooleanLiteral) !== 0;
1588
- }
1589
- export function isTypeReference(type) {
1590
- return isObjectType(type) && (type.objectFlags & ObjectFlags.Reference) !== 0;
1591
- }
1592
- export function isTupleType(type) {
1593
- return isObjectType(type) && (type.objectFlags & ObjectFlags.Tuple) !== 0;
1594
- }
1595
- export function isIndexType(type) {
1596
- return (type.flags & TypeFlags.Index) !== 0;
1597
- }
1598
- export function isIndexedAccessType(type) {
1599
- return (type.flags & TypeFlags.IndexedAccess) !== 0;
1600
- }
1601
- export function isConditionalType(type) {
1602
- return (type.flags & TypeFlags.Conditional) !== 0;
1603
- }
1604
- export function isSubstitutionType(type) {
1605
- return (type.flags & TypeFlags.Substitution) !== 0;
1606
- }
1607
- export function isTemplateLiteralType(type) {
1608
- return (type.flags & TypeFlags.TemplateLiteral) !== 0;
1609
- }
1610
- export function isStringMappingType(type) {
1611
- return (type.flags & TypeFlags.StringMapping) !== 0;
1612
- }
1613
- export function isTypeParameter(type) {
1614
- return (type.flags & TypeFlags.TypeParameter) !== 0;
1615
- }
1616
- export class Signature {
1617
- flags;
1618
- objectRegistry;
1619
- id;
1620
- declaration;
1621
- typeParameters;
1622
- parameters;
1623
- thisParameter;
1624
- target;
1625
- constructor(data, project, objectRegistry) {
1626
- this.id = data.id;
1627
- this.flags = data.flags;
1628
- this.objectRegistry = objectRegistry;
1629
- this.declaration = data.declaration ? new NodeHandle(data.declaration, project) : undefined;
1630
- this.typeParameters = data.typeParameters ?? [];
1631
- this.parameters = data.parameters ?? [];
1632
- this.thisParameter = data.thisParameter;
1633
- this.target = data.target;
1634
- }
1635
- async getTypeParameters() {
1636
- return this.objectRegistry.fetchTypes(this, "getTypeParametersOfSignature", this.typeParameters);
1637
- }
1638
- async getParameters() {
1639
- return this.objectRegistry.fetchSymbols(this, "getParametersOfSignature", this.parameters);
1640
- }
1641
- async getThisParameter() {
1642
- return this.objectRegistry.fetchSymbol(this, "getThisParameterOfSignature", this.thisParameter);
1643
- }
1644
- async getTarget() {
1645
- return this.objectRegistry.fetchSignature(this, "getTargetOfSignature", this.target);
1646
- }
1647
- get hasRestParameter() {
1648
- return (this.flags & SignatureFlags.HasRestParameter) !== 0;
1649
- }
1650
- get isConstruct() {
1651
- return (this.flags & SignatureFlags.Construct) !== 0;
1652
- }
1653
- get isAbstract() {
1654
- return (this.flags & SignatureFlags.Abstract) !== 0;
1655
- }
1656
- }
1657
- //# sourceMappingURL=api.js.map