create-yoya-ui 0.2.0 → 0.2.2

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 (914) hide show
  1. package/README.md +11 -10
  2. package/bin/create-yoya-ui.js +1 -1
  3. package/package.json +1 -1
  4. package/templates/admin/README.md +59 -47
  5. package/templates/admin/RULES.md +105 -0
  6. package/templates/admin/dist/assets/index-C9C1xRte.js +35 -0
  7. package/templates/admin/dist/assets/index-Dh32qJDx.css +1 -0
  8. package/templates/admin/dist/index.html +13 -0
  9. package/templates/admin/node_modules/.bin/nanoid +16 -0
  10. package/templates/admin/node_modules/.bin/nanoid.cmd +17 -0
  11. package/templates/admin/node_modules/.bin/nanoid.ps1 +28 -0
  12. package/templates/admin/node_modules/.bin/rolldown +16 -0
  13. package/templates/admin/node_modules/.bin/rolldown.cmd +17 -0
  14. package/templates/admin/node_modules/.bin/rolldown.ps1 +28 -0
  15. package/templates/admin/node_modules/.bin/tsc +16 -0
  16. package/templates/admin/node_modules/.bin/tsc.cmd +17 -0
  17. package/templates/admin/node_modules/.bin/tsc.ps1 +28 -0
  18. package/templates/admin/node_modules/.bin/vite +16 -0
  19. package/templates/admin/node_modules/.bin/vite.cmd +17 -0
  20. package/templates/admin/node_modules/.bin/vite.ps1 +28 -0
  21. package/templates/admin/node_modules/.package-lock.json +389 -0
  22. package/templates/admin/node_modules/.vite/deps/@yoyaflow_yoya-ui.js +13116 -0
  23. package/templates/admin/node_modules/.vite/deps/@yoyaflow_yoya-ui.js.map +1 -0
  24. package/templates/admin/node_modules/.vite/deps/_metadata.json +12 -5
  25. package/templates/admin/node_modules/@oxc-project/types/LICENSE +22 -0
  26. package/templates/admin/node_modules/@oxc-project/types/README.md +3 -0
  27. package/templates/admin/node_modules/@oxc-project/types/package.json +26 -0
  28. package/templates/admin/node_modules/@oxc-project/types/types.d.ts +1912 -0
  29. package/templates/admin/node_modules/@rolldown/binding-win32-x64-msvc/README.md +3 -0
  30. package/templates/admin/node_modules/@rolldown/binding-win32-x64-msvc/package.json +37 -0
  31. package/templates/admin/node_modules/@rolldown/binding-win32-x64-msvc/rolldown-binding.win32-x64-msvc.node +0 -0
  32. package/templates/admin/node_modules/@rolldown/pluginutils/LICENSE +21 -0
  33. package/templates/admin/node_modules/@rolldown/pluginutils/README.md +145 -0
  34. package/templates/admin/node_modules/@rolldown/pluginutils/dist/filter/index.d.mts +194 -0
  35. package/templates/admin/node_modules/@rolldown/pluginutils/dist/filter/index.mjs +2 -0
  36. package/templates/admin/node_modules/@rolldown/pluginutils/dist/filter-B_mD-HGz.mjs +323 -0
  37. package/templates/admin/node_modules/@rolldown/pluginutils/dist/index.d.mts +2 -0
  38. package/templates/admin/node_modules/@rolldown/pluginutils/dist/index.mjs +2 -0
  39. package/templates/admin/node_modules/@rolldown/pluginutils/package.json +40 -0
  40. package/templates/admin/node_modules/@typescript/typescript-win32-x64/LICENSE +55 -0
  41. package/templates/admin/node_modules/@typescript/typescript-win32-x64/NOTICE.txt +436 -0
  42. package/templates/admin/node_modules/@typescript/typescript-win32-x64/README.md +3 -0
  43. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.d.ts +20 -0
  44. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.decorators.d.ts +382 -0
  45. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.decorators.legacy.d.ts +20 -0
  46. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.dom.asynciterable.d.ts +18 -0
  47. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.dom.d.ts +45125 -0
  48. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.dom.iterable.d.ts +18 -0
  49. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.collection.d.ts +159 -0
  50. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.core.d.ts +595 -0
  51. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.d.ts +26 -0
  52. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.generator.d.ts +75 -0
  53. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.iterable.d.ts +603 -0
  54. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.promise.d.ts +79 -0
  55. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.proxy.d.ts +126 -0
  56. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.reflect.d.ts +142 -0
  57. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.symbol.d.ts +44 -0
  58. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.symbol.wellknown.d.ts +324 -0
  59. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2016.array.include.d.ts +114 -0
  60. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2016.d.ts +19 -0
  61. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2016.full.d.ts +21 -0
  62. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2016.intl.d.ts +29 -0
  63. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.arraybuffer.d.ts +19 -0
  64. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.d.ts +24 -0
  65. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.date.d.ts +29 -0
  66. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.full.d.ts +21 -0
  67. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.intl.d.ts +42 -0
  68. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.object.d.ts +47 -0
  69. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.sharedmemory.d.ts +133 -0
  70. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.string.d.ts +47 -0
  71. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.typedarrays.d.ts +51 -0
  72. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2018.asyncgenerator.d.ts +75 -0
  73. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2018.asynciterable.d.ts +51 -0
  74. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2018.d.ts +22 -0
  75. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2018.full.d.ts +22 -0
  76. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2018.intl.d.ts +81 -0
  77. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2018.promise.d.ts +28 -0
  78. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2018.regexp.d.ts +35 -0
  79. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2019.array.d.ts +77 -0
  80. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2019.d.ts +22 -0
  81. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2019.full.d.ts +22 -0
  82. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2019.intl.d.ts +21 -0
  83. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2019.object.d.ts +31 -0
  84. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2019.string.d.ts +35 -0
  85. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2019.symbol.d.ts +22 -0
  86. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.bigint.d.ts +763 -0
  87. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.d.ts +25 -0
  88. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.date.d.ts +40 -0
  89. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.full.d.ts +22 -0
  90. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.intl.d.ts +472 -0
  91. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.number.d.ts +26 -0
  92. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.promise.d.ts +45 -0
  93. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.sharedmemory.d.ts +97 -0
  94. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.string.d.ts +42 -0
  95. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.symbol.wellknown.d.ts +39 -0
  96. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2021.d.ts +21 -0
  97. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2021.full.d.ts +22 -0
  98. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2021.intl.d.ts +164 -0
  99. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2021.promise.d.ts +46 -0
  100. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2021.string.d.ts +31 -0
  101. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2021.weakref.d.ts +76 -0
  102. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2022.array.d.ts +119 -0
  103. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2022.d.ts +23 -0
  104. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2022.error.d.ts +73 -0
  105. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2022.full.d.ts +22 -0
  106. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2022.intl.d.ts +143 -0
  107. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2022.object.d.ts +24 -0
  108. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2022.regexp.d.ts +37 -0
  109. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2022.string.d.ts +23 -0
  110. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2023.array.d.ts +922 -0
  111. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2023.collection.d.ts +19 -0
  112. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2023.d.ts +20 -0
  113. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2023.full.d.ts +22 -0
  114. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2023.intl.d.ts +62 -0
  115. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.arraybuffer.d.ts +63 -0
  116. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.collection.d.ts +27 -0
  117. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.d.ts +24 -0
  118. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.full.d.ts +22 -0
  119. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.object.d.ts +27 -0
  120. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.promise.d.ts +33 -0
  121. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.regexp.d.ts +23 -0
  122. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.sharedmemory.d.ts +66 -0
  123. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.string.d.ts +27 -0
  124. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2025.collection.d.ts +94 -0
  125. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2025.d.ts +23 -0
  126. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2025.float16.d.ts +443 -0
  127. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2025.full.d.ts +22 -0
  128. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2025.intl.d.ts +200 -0
  129. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2025.iterator.d.ts +146 -0
  130. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2025.promise.d.ts +32 -0
  131. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2025.regexp.d.ts +30 -0
  132. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es5.d.ts +4599 -0
  133. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es6.d.ts +21 -0
  134. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.array.d.ts +33 -0
  135. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.collection.d.ts +47 -0
  136. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.d.ts +27 -0
  137. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.date.d.ts +21 -0
  138. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.decorators.d.ts +26 -0
  139. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.disposable.d.ts +191 -0
  140. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.error.d.ts +22 -0
  141. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.full.d.ts +22 -0
  142. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.intl.d.ts +107 -0
  143. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.sharedmemory.d.ts +23 -0
  144. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.temporal.d.ts +485 -0
  145. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.typedarrays.d.ts +90 -0
  146. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.scripthost.d.ts +320 -0
  147. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.webworker.asynciterable.d.ts +18 -0
  148. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.webworker.d.ts +15606 -0
  149. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.webworker.importscripts.d.ts +21 -0
  150. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.webworker.iterable.d.ts +18 -0
  151. package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/tsc.exe +0 -0
  152. package/templates/admin/node_modules/@typescript/typescript-win32-x64/package.json +45 -0
  153. package/templates/admin/node_modules/@yoyaflow/yoya-ui/LICENSE +21 -0
  154. package/templates/admin/node_modules/@yoyaflow/yoya-ui/README.md +271 -0
  155. package/templates/admin/node_modules/@yoyaflow/yoya-ui/README.zh-CN.md +272 -0
  156. package/templates/admin/node_modules/@yoyaflow/yoya-ui/dist/echarts.min.js +45 -0
  157. package/templates/admin/node_modules/@yoyaflow/yoya-ui/dist/yoya-ui.umd.js +35 -0
  158. package/templates/admin/node_modules/@yoyaflow/yoya-ui/dist/yoya.core.js +1779 -0
  159. package/templates/admin/node_modules/@yoyaflow/yoya-ui/dist/yoya.echart.js +643 -0
  160. package/templates/admin/node_modules/@yoyaflow/yoya-ui/dist/yoya.ssr.js +2856 -0
  161. package/templates/admin/node_modules/@yoyaflow/yoya-ui/dist/yoya.ui.css +2289 -0
  162. package/templates/admin/node_modules/@yoyaflow/yoya-ui/dist/yoya.ui.js +13174 -0
  163. package/templates/admin/node_modules/@yoyaflow/yoya-ui/package.json +94 -0
  164. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/actions.d.ts +166 -0
  165. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/async.d.ts +108 -0
  166. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/chart.d.ts +40 -0
  167. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/core.d.ts +582 -0
  168. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/css.d.ts +5 -0
  169. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/data-display.d.ts +620 -0
  170. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/effects.d.ts +64 -0
  171. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/feedback.d.ts +119 -0
  172. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/form.d.ts +507 -0
  173. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/html.d.ts +288 -0
  174. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/i18n.d.ts +56 -0
  175. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/index.d.ts +4 -0
  176. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/layout.d.ts +444 -0
  177. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/navigation.d.ts +275 -0
  178. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/router.d.ts +123 -0
  179. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/ssr.d.ts +124 -0
  180. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/svg.d.ts +159 -0
  181. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/theme.d.ts +40 -0
  182. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/yoya.core.d.ts +7 -0
  183. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/yoya.echart.d.ts +4 -0
  184. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/yoya.ssr.d.ts +9 -0
  185. package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/yoya.ui.d.ts +19 -0
  186. package/templates/admin/node_modules/detect-libc/LICENSE +201 -0
  187. package/templates/admin/node_modules/detect-libc/README.md +163 -0
  188. package/templates/admin/node_modules/detect-libc/index.d.ts +14 -0
  189. package/templates/admin/node_modules/detect-libc/lib/detect-libc.js +313 -0
  190. package/templates/admin/node_modules/detect-libc/lib/elf.js +39 -0
  191. package/templates/admin/node_modules/detect-libc/lib/filesystem.js +51 -0
  192. package/templates/admin/node_modules/detect-libc/lib/process.js +24 -0
  193. package/templates/admin/node_modules/detect-libc/package.json +44 -0
  194. package/templates/admin/node_modules/fdir/LICENSE +7 -0
  195. package/templates/admin/node_modules/fdir/README.md +91 -0
  196. package/templates/admin/node_modules/fdir/dist/index.cjs +588 -0
  197. package/templates/admin/node_modules/fdir/dist/index.d.cts +155 -0
  198. package/templates/admin/node_modules/fdir/dist/index.d.mts +155 -0
  199. package/templates/admin/node_modules/fdir/dist/index.mjs +570 -0
  200. package/templates/admin/node_modules/fdir/package.json +103 -0
  201. package/templates/admin/node_modules/lightningcss/LICENSE +373 -0
  202. package/templates/admin/node_modules/lightningcss/README.md +105 -0
  203. package/templates/admin/node_modules/lightningcss/node/ast.d.ts +9965 -0
  204. package/templates/admin/node_modules/lightningcss/node/ast.js.flow +10615 -0
  205. package/templates/admin/node_modules/lightningcss/node/browserslistToTargets.js +48 -0
  206. package/templates/admin/node_modules/lightningcss/node/composeVisitors.js +450 -0
  207. package/templates/admin/node_modules/lightningcss/node/flags.js +28 -0
  208. package/templates/admin/node_modules/lightningcss/node/index.d.ts +501 -0
  209. package/templates/admin/node_modules/lightningcss/node/index.js +59 -0
  210. package/templates/admin/node_modules/lightningcss/node/index.js.flow +854 -0
  211. package/templates/admin/node_modules/lightningcss/node/index.mjs +4 -0
  212. package/templates/admin/node_modules/lightningcss/node/targets.d.ts +40 -0
  213. package/templates/admin/node_modules/lightningcss/node/targets.js.flow +39 -0
  214. package/templates/admin/node_modules/lightningcss/package.json +110 -0
  215. package/templates/admin/node_modules/lightningcss-win32-x64-msvc/LICENSE +373 -0
  216. package/templates/admin/node_modules/lightningcss-win32-x64-msvc/README.md +1 -0
  217. package/templates/admin/node_modules/lightningcss-win32-x64-msvc/lightningcss.win32-x64-msvc.node +0 -0
  218. package/templates/admin/node_modules/lightningcss-win32-x64-msvc/package.json +34 -0
  219. package/templates/admin/node_modules/nanoid/LICENSE +20 -0
  220. package/templates/admin/node_modules/nanoid/README.md +39 -0
  221. package/templates/admin/node_modules/nanoid/async/index.browser.cjs +43 -0
  222. package/templates/admin/node_modules/nanoid/async/index.browser.js +43 -0
  223. package/templates/admin/node_modules/nanoid/async/index.cjs +47 -0
  224. package/templates/admin/node_modules/nanoid/async/index.d.ts +56 -0
  225. package/templates/admin/node_modules/nanoid/async/index.js +47 -0
  226. package/templates/admin/node_modules/nanoid/async/index.native.js +38 -0
  227. package/templates/admin/node_modules/nanoid/async/package.json +12 -0
  228. package/templates/admin/node_modules/nanoid/bin/nanoid.cjs +55 -0
  229. package/templates/admin/node_modules/nanoid/index.browser.cjs +45 -0
  230. package/templates/admin/node_modules/nanoid/index.browser.js +45 -0
  231. package/templates/admin/node_modules/nanoid/index.cjs +58 -0
  232. package/templates/admin/node_modules/nanoid/index.d.cts +91 -0
  233. package/templates/admin/node_modules/nanoid/index.d.ts +91 -0
  234. package/templates/admin/node_modules/nanoid/index.js +63 -0
  235. package/templates/admin/node_modules/nanoid/nanoid.js +1 -0
  236. package/templates/admin/node_modules/nanoid/non-secure/index.cjs +24 -0
  237. package/templates/admin/node_modules/nanoid/non-secure/index.d.ts +33 -0
  238. package/templates/admin/node_modules/nanoid/non-secure/index.js +24 -0
  239. package/templates/admin/node_modules/nanoid/non-secure/package.json +6 -0
  240. package/templates/admin/node_modules/nanoid/package.json +89 -0
  241. package/templates/admin/node_modules/nanoid/url-alphabet/index.cjs +4 -0
  242. package/templates/admin/node_modules/nanoid/url-alphabet/index.js +4 -0
  243. package/templates/admin/node_modules/nanoid/url-alphabet/package.json +6 -0
  244. package/templates/admin/node_modules/picocolors/LICENSE +15 -0
  245. package/templates/admin/node_modules/picocolors/README.md +21 -0
  246. package/templates/admin/node_modules/picocolors/package.json +25 -0
  247. package/templates/admin/node_modules/picocolors/picocolors.browser.js +4 -0
  248. package/templates/admin/node_modules/picocolors/picocolors.d.ts +5 -0
  249. package/templates/admin/node_modules/picocolors/picocolors.js +75 -0
  250. package/templates/admin/node_modules/picocolors/types.d.ts +51 -0
  251. package/templates/admin/node_modules/picomatch/LICENSE +21 -0
  252. package/templates/admin/node_modules/picomatch/README.md +743 -0
  253. package/templates/admin/node_modules/picomatch/index.js +17 -0
  254. package/templates/admin/node_modules/picomatch/lib/constants.js +184 -0
  255. package/templates/admin/node_modules/picomatch/lib/parse.js +1425 -0
  256. package/templates/admin/node_modules/picomatch/lib/picomatch.js +361 -0
  257. package/templates/admin/node_modules/picomatch/lib/scan.js +403 -0
  258. package/templates/admin/node_modules/picomatch/lib/utils.js +72 -0
  259. package/templates/admin/node_modules/picomatch/package.json +83 -0
  260. package/templates/admin/node_modules/picomatch/posix.js +3 -0
  261. package/templates/admin/node_modules/postcss/LICENSE +20 -0
  262. package/templates/admin/node_modules/postcss/README.md +27 -0
  263. package/templates/admin/node_modules/postcss/lib/at-rule.d.ts +139 -0
  264. package/templates/admin/node_modules/postcss/lib/at-rule.js +25 -0
  265. package/templates/admin/node_modules/postcss/lib/comment.d.ts +67 -0
  266. package/templates/admin/node_modules/postcss/lib/comment.js +13 -0
  267. package/templates/admin/node_modules/postcss/lib/container.d.ts +478 -0
  268. package/templates/admin/node_modules/postcss/lib/container.js +494 -0
  269. package/templates/admin/node_modules/postcss/lib/css-syntax-error.d.ts +247 -0
  270. package/templates/admin/node_modules/postcss/lib/css-syntax-error.js +133 -0
  271. package/templates/admin/node_modules/postcss/lib/declaration.d.ts +150 -0
  272. package/templates/admin/node_modules/postcss/lib/declaration.js +24 -0
  273. package/templates/admin/node_modules/postcss/lib/document.d.ts +68 -0
  274. package/templates/admin/node_modules/postcss/lib/document.js +33 -0
  275. package/templates/admin/node_modules/postcss/lib/fromJSON.d.ts +9 -0
  276. package/templates/admin/node_modules/postcss/lib/fromJSON.js +107 -0
  277. package/templates/admin/node_modules/postcss/lib/input.d.ts +226 -0
  278. package/templates/admin/node_modules/postcss/lib/input.js +282 -0
  279. package/templates/admin/node_modules/postcss/lib/lazy-result.d.ts +189 -0
  280. package/templates/admin/node_modules/postcss/lib/lazy-result.js +626 -0
  281. package/templates/admin/node_modules/postcss/lib/list.d.ts +60 -0
  282. package/templates/admin/node_modules/postcss/lib/list.js +59 -0
  283. package/templates/admin/node_modules/postcss/lib/map-generator.js +376 -0
  284. package/templates/admin/node_modules/postcss/lib/no-work-result.d.ts +45 -0
  285. package/templates/admin/node_modules/postcss/lib/no-work-result.js +137 -0
  286. package/templates/admin/node_modules/postcss/lib/node.d.ts +555 -0
  287. package/templates/admin/node_modules/postcss/lib/node.js +494 -0
  288. package/templates/admin/node_modules/postcss/lib/parse.d.ts +9 -0
  289. package/templates/admin/node_modules/postcss/lib/parse.js +42 -0
  290. package/templates/admin/node_modules/postcss/lib/parser.js +618 -0
  291. package/templates/admin/node_modules/postcss/lib/postcss.d.mts +66 -0
  292. package/templates/admin/node_modules/postcss/lib/postcss.d.ts +464 -0
  293. package/templates/admin/node_modules/postcss/lib/postcss.js +101 -0
  294. package/templates/admin/node_modules/postcss/lib/postcss.mjs +30 -0
  295. package/templates/admin/node_modules/postcss/lib/previous-map.d.ts +80 -0
  296. package/templates/admin/node_modules/postcss/lib/previous-map.js +176 -0
  297. package/templates/admin/node_modules/postcss/lib/processor.d.ts +114 -0
  298. package/templates/admin/node_modules/postcss/lib/processor.js +67 -0
  299. package/templates/admin/node_modules/postcss/lib/result.d.ts +204 -0
  300. package/templates/admin/node_modules/postcss/lib/result.js +42 -0
  301. package/templates/admin/node_modules/postcss/lib/root.d.ts +86 -0
  302. package/templates/admin/node_modules/postcss/lib/root.js +76 -0
  303. package/templates/admin/node_modules/postcss/lib/rule.d.ts +126 -0
  304. package/templates/admin/node_modules/postcss/lib/rule.js +27 -0
  305. package/templates/admin/node_modules/postcss/lib/stringifier.d.ts +45 -0
  306. package/templates/admin/node_modules/postcss/lib/stringifier.js +461 -0
  307. package/templates/admin/node_modules/postcss/lib/stringify.d.ts +9 -0
  308. package/templates/admin/node_modules/postcss/lib/stringify.js +11 -0
  309. package/templates/admin/node_modules/postcss/lib/symbols.js +5 -0
  310. package/templates/admin/node_modules/postcss/lib/terminal-highlight.js +70 -0
  311. package/templates/admin/node_modules/postcss/lib/tokenize.js +270 -0
  312. package/templates/admin/node_modules/postcss/lib/warn-once.js +13 -0
  313. package/templates/admin/node_modules/postcss/lib/warning.d.ts +146 -0
  314. package/templates/admin/node_modules/postcss/lib/warning.js +47 -0
  315. package/templates/admin/node_modules/postcss/package.json +88 -0
  316. package/templates/admin/node_modules/rolldown/LICENSE +25 -0
  317. package/templates/admin/node_modules/rolldown/README.md +11 -0
  318. package/templates/admin/node_modules/rolldown/THIRD-PARTY-LICENSE +33 -0
  319. package/templates/admin/node_modules/rolldown/bin/cli.mjs +11 -0
  320. package/templates/admin/node_modules/rolldown/dist/cli.d.mts +1 -0
  321. package/templates/admin/node_modules/rolldown/dist/cli.mjs +1208 -0
  322. package/templates/admin/node_modules/rolldown/dist/config.d.mts +26 -0
  323. package/templates/admin/node_modules/rolldown/dist/config.mjs +4 -0
  324. package/templates/admin/node_modules/rolldown/dist/experimental-default-runtime.mjs +116 -0
  325. package/templates/admin/node_modules/rolldown/dist/experimental-index.d.mts +324 -0
  326. package/templates/admin/node_modules/rolldown/dist/experimental-index.mjs +383 -0
  327. package/templates/admin/node_modules/rolldown/dist/experimental-runtime-base.mjs +95 -0
  328. package/templates/admin/node_modules/rolldown/dist/experimental-runtime-types.d.ts +177 -0
  329. package/templates/admin/node_modules/rolldown/dist/experimental-runtime.d.ts +177 -0
  330. package/templates/admin/node_modules/rolldown/dist/experimental-runtime.mjs +257 -0
  331. package/templates/admin/node_modules/rolldown/dist/filter-index.d.mts +196 -0
  332. package/templates/admin/node_modules/rolldown/dist/filter-index.mjs +376 -0
  333. package/templates/admin/node_modules/rolldown/dist/get-log-filter.d.mts +3 -0
  334. package/templates/admin/node_modules/rolldown/dist/get-log-filter.mjs +68 -0
  335. package/templates/admin/node_modules/rolldown/dist/index.d.mts +4 -0
  336. package/templates/admin/node_modules/rolldown/dist/index.mjs +56 -0
  337. package/templates/admin/node_modules/rolldown/dist/parallel-plugin-worker.d.mts +1 -0
  338. package/templates/admin/node_modules/rolldown/dist/parallel-plugin-worker.mjs +29 -0
  339. package/templates/admin/node_modules/rolldown/dist/parallel-plugin.d.mts +12 -0
  340. package/templates/admin/node_modules/rolldown/dist/parallel-plugin.mjs +6 -0
  341. package/templates/admin/node_modules/rolldown/dist/parse-ast-index.d.mts +30 -0
  342. package/templates/admin/node_modules/rolldown/dist/parse-ast-index.mjs +60 -0
  343. package/templates/admin/node_modules/rolldown/dist/plugins-index.d.mts +32 -0
  344. package/templates/admin/node_modules/rolldown/dist/plugins-index.mjs +40 -0
  345. package/templates/admin/node_modules/rolldown/dist/shared/binding-CtPG-2KR.mjs +675 -0
  346. package/templates/admin/node_modules/rolldown/dist/shared/binding-Og__jmUi.d.mts +2065 -0
  347. package/templates/admin/node_modules/rolldown/dist/shared/bindingify-input-options-4JJxbZl2.mjs +2416 -0
  348. package/templates/admin/node_modules/rolldown/dist/shared/constructors-Qrp2Xr6w.d.mts +35 -0
  349. package/templates/admin/node_modules/rolldown/dist/shared/constructors-ltBDfHX1.mjs +69 -0
  350. package/templates/admin/node_modules/rolldown/dist/shared/create-bundler-option-DSPiA5F7.mjs +3220 -0
  351. package/templates/admin/node_modules/rolldown/dist/shared/define-config-Demdg3_4.mjs +6 -0
  352. package/templates/admin/node_modules/rolldown/dist/shared/define-config-Nbz-lniw.d.mts +4101 -0
  353. package/templates/admin/node_modules/rolldown/dist/shared/dist-DKbukT1H.mjs +154 -0
  354. package/templates/admin/node_modules/rolldown/dist/shared/error-HDibX49O.mjs +85 -0
  355. package/templates/admin/node_modules/rolldown/dist/shared/get-log-filter-AjBknEEO.d.mts +34 -0
  356. package/templates/admin/node_modules/rolldown/dist/shared/load-config-BMUrE9HH.mjs +137 -0
  357. package/templates/admin/node_modules/rolldown/dist/shared/logging-xuHO4mAy.d.mts +50 -0
  358. package/templates/admin/node_modules/rolldown/dist/shared/logs-DmYCAKcW.mjs +192 -0
  359. package/templates/admin/node_modules/rolldown/dist/shared/misc-DOSKtd97.mjs +29 -0
  360. package/templates/admin/node_modules/rolldown/dist/shared/normalize-string-or-regex-DWz4it3p.mjs +68 -0
  361. package/templates/admin/node_modules/rolldown/dist/shared/parse-D0g29RgN.mjs +74 -0
  362. package/templates/admin/node_modules/rolldown/dist/shared/prompt-CH6TK0bC.mjs +885 -0
  363. package/templates/admin/node_modules/rolldown/dist/shared/resolve-tsconfig-CLYpUIZC.mjs +128 -0
  364. package/templates/admin/node_modules/rolldown/dist/shared/rolldown-C9Hfg50O.mjs +179 -0
  365. package/templates/admin/node_modules/rolldown/dist/shared/transform-DR4CXeQm.d.mts +152 -0
  366. package/templates/admin/node_modules/rolldown/dist/shared/watch-UbzgabQn.mjs +377 -0
  367. package/templates/admin/node_modules/rolldown/dist/utils-index.d.mts +375 -0
  368. package/templates/admin/node_modules/rolldown/dist/utils-index.mjs +2416 -0
  369. package/templates/admin/node_modules/rolldown/package.json +164 -0
  370. package/templates/admin/node_modules/source-map-js/LICENSE +28 -0
  371. package/templates/admin/node_modules/source-map-js/README.md +765 -0
  372. package/templates/admin/node_modules/source-map-js/lib/array-set.js +121 -0
  373. package/templates/admin/node_modules/source-map-js/lib/base64-vlq.js +140 -0
  374. package/templates/admin/node_modules/source-map-js/lib/base64.js +67 -0
  375. package/templates/admin/node_modules/source-map-js/lib/binary-search.js +111 -0
  376. package/templates/admin/node_modules/source-map-js/lib/mapping-list.js +79 -0
  377. package/templates/admin/node_modules/source-map-js/lib/quick-sort.js +132 -0
  378. package/templates/admin/node_modules/source-map-js/lib/source-map-consumer.d.ts +1 -0
  379. package/templates/admin/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
  380. package/templates/admin/node_modules/source-map-js/lib/source-map-generator.d.ts +1 -0
  381. package/templates/admin/node_modules/source-map-js/lib/source-map-generator.js +444 -0
  382. package/templates/admin/node_modules/source-map-js/lib/source-node.d.ts +1 -0
  383. package/templates/admin/node_modules/source-map-js/lib/source-node.js +413 -0
  384. package/templates/admin/node_modules/source-map-js/lib/util.js +594 -0
  385. package/templates/admin/node_modules/source-map-js/package.json +71 -0
  386. package/templates/admin/node_modules/source-map-js/source-map.d.ts +104 -0
  387. package/templates/admin/node_modules/source-map-js/source-map.js +8 -0
  388. package/templates/admin/node_modules/tinyglobby/LICENSE +21 -0
  389. package/templates/admin/node_modules/tinyglobby/README.md +25 -0
  390. package/templates/admin/node_modules/tinyglobby/dist/index.cjs +335 -0
  391. package/templates/admin/node_modules/tinyglobby/dist/index.d.cts +148 -0
  392. package/templates/admin/node_modules/tinyglobby/dist/index.d.mts +148 -0
  393. package/templates/admin/node_modules/tinyglobby/dist/index.mjs +307 -0
  394. package/templates/admin/node_modules/tinyglobby/package.json +70 -0
  395. package/templates/admin/node_modules/typescript/LICENSE +55 -0
  396. package/templates/admin/node_modules/typescript/NOTICE.txt +436 -0
  397. package/templates/admin/node_modules/typescript/README.md +49 -0
  398. package/templates/admin/node_modules/typescript/bin/tsc +2 -0
  399. package/templates/admin/node_modules/typescript/dist/api/async/api.d.ts +529 -0
  400. package/templates/admin/node_modules/typescript/dist/api/async/api.d.ts.map +1 -0
  401. package/templates/admin/node_modules/typescript/dist/api/async/api.js +1657 -0
  402. package/templates/admin/node_modules/typescript/dist/api/async/api.js.map +1 -0
  403. package/templates/admin/node_modules/typescript/dist/api/async/client.d.ts +39 -0
  404. package/templates/admin/node_modules/typescript/dist/api/async/client.d.ts.map +1 -0
  405. package/templates/admin/node_modules/typescript/dist/api/async/client.js +211 -0
  406. package/templates/admin/node_modules/typescript/dist/api/async/client.js.map +1 -0
  407. package/templates/admin/node_modules/typescript/dist/api/async/types.d.ts +310 -0
  408. package/templates/admin/node_modules/typescript/dist/api/async/types.d.ts.map +1 -0
  409. package/templates/admin/node_modules/typescript/dist/api/async/types.js +2 -0
  410. package/templates/admin/node_modules/typescript/dist/api/async/types.js.map +1 -0
  411. package/templates/admin/node_modules/typescript/dist/api/compilerOptions.d.ts +109 -0
  412. package/templates/admin/node_modules/typescript/dist/api/compilerOptions.d.ts.map +1 -0
  413. package/templates/admin/node_modules/typescript/dist/api/compilerOptions.js +2 -0
  414. package/templates/admin/node_modules/typescript/dist/api/compilerOptions.js.map +1 -0
  415. package/templates/admin/node_modules/typescript/dist/api/fs.d.ts +23 -0
  416. package/templates/admin/node_modules/typescript/dist/api/fs.d.ts.map +1 -0
  417. package/templates/admin/node_modules/typescript/dist/api/fs.js +109 -0
  418. package/templates/admin/node_modules/typescript/dist/api/fs.js.map +1 -0
  419. package/templates/admin/node_modules/typescript/dist/api/node/encoder.d.ts +15 -0
  420. package/templates/admin/node_modules/typescript/dist/api/node/encoder.d.ts.map +1 -0
  421. package/templates/admin/node_modules/typescript/dist/api/node/encoder.generated.d.ts +5 -0
  422. package/templates/admin/node_modules/typescript/dist/api/node/encoder.generated.d.ts.map +1 -0
  423. package/templates/admin/node_modules/typescript/dist/api/node/encoder.generated.js +74 -0
  424. package/templates/admin/node_modules/typescript/dist/api/node/encoder.generated.js.map +1 -0
  425. package/templates/admin/node_modules/typescript/dist/api/node/encoder.js +287 -0
  426. package/templates/admin/node_modules/typescript/dist/api/node/encoder.js.map +1 -0
  427. package/templates/admin/node_modules/typescript/dist/api/node/msgpack.d.ts +32 -0
  428. package/templates/admin/node_modules/typescript/dist/api/node/msgpack.d.ts.map +1 -0
  429. package/templates/admin/node_modules/typescript/dist/api/node/msgpack.js +213 -0
  430. package/templates/admin/node_modules/typescript/dist/api/node/msgpack.js.map +1 -0
  431. package/templates/admin/node_modules/typescript/dist/api/node/node.d.ts +76 -0
  432. package/templates/admin/node_modules/typescript/dist/api/node/node.d.ts.map +1 -0
  433. package/templates/admin/node_modules/typescript/dist/api/node/node.generated.d.ts +182 -0
  434. package/templates/admin/node_modules/typescript/dist/api/node/node.generated.d.ts.map +1 -0
  435. package/templates/admin/node_modules/typescript/dist/api/node/node.generated.js +835 -0
  436. package/templates/admin/node_modules/typescript/dist/api/node/node.generated.js.map +1 -0
  437. package/templates/admin/node_modules/typescript/dist/api/node/node.infrastructure.d.ts +62 -0
  438. package/templates/admin/node_modules/typescript/dist/api/node/node.infrastructure.d.ts.map +1 -0
  439. package/templates/admin/node_modules/typescript/dist/api/node/node.infrastructure.js +122 -0
  440. package/templates/admin/node_modules/typescript/dist/api/node/node.infrastructure.js.map +1 -0
  441. package/templates/admin/node_modules/typescript/dist/api/node/node.js +298 -0
  442. package/templates/admin/node_modules/typescript/dist/api/node/node.js.map +1 -0
  443. package/templates/admin/node_modules/typescript/dist/api/node/protocol.d.ts +29 -0
  444. package/templates/admin/node_modules/typescript/dist/api/node/protocol.d.ts.map +1 -0
  445. package/templates/admin/node_modules/typescript/dist/api/node/protocol.generated.d.ts +4 -0
  446. package/templates/admin/node_modules/typescript/dist/api/node/protocol.generated.d.ts.map +1 -0
  447. package/templates/admin/node_modules/typescript/dist/api/node/protocol.generated.js +241 -0
  448. package/templates/admin/node_modules/typescript/dist/api/node/protocol.generated.js.map +1 -0
  449. package/templates/admin/node_modules/typescript/dist/api/node/protocol.js +30 -0
  450. package/templates/admin/node_modules/typescript/dist/api/node/protocol.js.map +1 -0
  451. package/templates/admin/node_modules/typescript/dist/api/node/wtf8.d.ts +6 -0
  452. package/templates/admin/node_modules/typescript/dist/api/node/wtf8.d.ts.map +1 -0
  453. package/templates/admin/node_modules/typescript/dist/api/node/wtf8.js +61 -0
  454. package/templates/admin/node_modules/typescript/dist/api/node/wtf8.js.map +1 -0
  455. package/templates/admin/node_modules/typescript/dist/api/options.d.ts +32 -0
  456. package/templates/admin/node_modules/typescript/dist/api/options.d.ts.map +1 -0
  457. package/templates/admin/node_modules/typescript/dist/api/options.js +11 -0
  458. package/templates/admin/node_modules/typescript/dist/api/options.js.map +1 -0
  459. package/templates/admin/node_modules/typescript/dist/api/path.d.ts +110 -0
  460. package/templates/admin/node_modules/typescript/dist/api/path.d.ts.map +1 -0
  461. package/templates/admin/node_modules/typescript/dist/api/path.js +508 -0
  462. package/templates/admin/node_modules/typescript/dist/api/path.js.map +1 -0
  463. package/templates/admin/node_modules/typescript/dist/api/proto.d.ts +239 -0
  464. package/templates/admin/node_modules/typescript/dist/api/proto.d.ts.map +1 -0
  465. package/templates/admin/node_modules/typescript/dist/api/proto.js +37 -0
  466. package/templates/admin/node_modules/typescript/dist/api/proto.js.map +1 -0
  467. package/templates/admin/node_modules/typescript/dist/api/sourceFileCache.d.ts +79 -0
  468. package/templates/admin/node_modules/typescript/dist/api/sourceFileCache.d.ts.map +1 -0
  469. package/templates/admin/node_modules/typescript/dist/api/sourceFileCache.js +169 -0
  470. package/templates/admin/node_modules/typescript/dist/api/sourceFileCache.js.map +1 -0
  471. package/templates/admin/node_modules/typescript/dist/api/sync/api.d.ts +529 -0
  472. package/templates/admin/node_modules/typescript/dist/api/sync/api.d.ts.map +1 -0
  473. package/templates/admin/node_modules/typescript/dist/api/sync/api.js +1665 -0
  474. package/templates/admin/node_modules/typescript/dist/api/sync/api.js.map +1 -0
  475. package/templates/admin/node_modules/typescript/dist/api/sync/client.d.ts +30 -0
  476. package/templates/admin/node_modules/typescript/dist/api/sync/client.d.ts.map +1 -0
  477. package/templates/admin/node_modules/typescript/dist/api/sync/client.js +124 -0
  478. package/templates/admin/node_modules/typescript/dist/api/sync/client.js.map +1 -0
  479. package/templates/admin/node_modules/typescript/dist/api/sync/types.d.ts +310 -0
  480. package/templates/admin/node_modules/typescript/dist/api/sync/types.d.ts.map +1 -0
  481. package/templates/admin/node_modules/typescript/dist/api/sync/types.js +2 -0
  482. package/templates/admin/node_modules/typescript/dist/api/sync/types.js.map +1 -0
  483. package/templates/admin/node_modules/typescript/dist/api/syncChannel.d.ts +114 -0
  484. package/templates/admin/node_modules/typescript/dist/api/syncChannel.d.ts.map +1 -0
  485. package/templates/admin/node_modules/typescript/dist/api/syncChannel.js +508 -0
  486. package/templates/admin/node_modules/typescript/dist/api/syncChannel.js.map +1 -0
  487. package/templates/admin/node_modules/typescript/dist/api/timing.d.ts +175 -0
  488. package/templates/admin/node_modules/typescript/dist/api/timing.d.ts.map +1 -0
  489. package/templates/admin/node_modules/typescript/dist/api/timing.js +149 -0
  490. package/templates/admin/node_modules/typescript/dist/api/timing.js.map +1 -0
  491. package/templates/admin/node_modules/typescript/dist/ast/ast.d.ts +100 -0
  492. package/templates/admin/node_modules/typescript/dist/ast/ast.d.ts.map +1 -0
  493. package/templates/admin/node_modules/typescript/dist/ast/ast.generated.d.ts +1161 -0
  494. package/templates/admin/node_modules/typescript/dist/ast/ast.generated.d.ts.map +1 -0
  495. package/templates/admin/node_modules/typescript/dist/ast/ast.generated.js +4 -0
  496. package/templates/admin/node_modules/typescript/dist/ast/ast.generated.js.map +1 -0
  497. package/templates/admin/node_modules/typescript/dist/ast/ast.js +7 -0
  498. package/templates/admin/node_modules/typescript/dist/ast/ast.js.map +1 -0
  499. package/templates/admin/node_modules/typescript/dist/ast/astnav.d.ts +19 -0
  500. package/templates/admin/node_modules/typescript/dist/ast/astnav.d.ts.map +1 -0
  501. package/templates/admin/node_modules/typescript/dist/ast/astnav.js +596 -0
  502. package/templates/admin/node_modules/typescript/dist/ast/astnav.js.map +1 -0
  503. package/templates/admin/node_modules/typescript/dist/ast/clone.d.ts +16 -0
  504. package/templates/admin/node_modules/typescript/dist/ast/clone.d.ts.map +1 -0
  505. package/templates/admin/node_modules/typescript/dist/ast/clone.js +104 -0
  506. package/templates/admin/node_modules/typescript/dist/ast/clone.js.map +1 -0
  507. package/templates/admin/node_modules/typescript/dist/ast/factory.generated.d.ts +520 -0
  508. package/templates/admin/node_modules/typescript/dist/ast/factory.generated.d.ts.map +1 -0
  509. package/templates/admin/node_modules/typescript/dist/ast/factory.generated.js +3057 -0
  510. package/templates/admin/node_modules/typescript/dist/ast/factory.generated.js.map +1 -0
  511. package/templates/admin/node_modules/typescript/dist/ast/index.d.ts +20 -0
  512. package/templates/admin/node_modules/typescript/dist/ast/index.d.ts.map +1 -0
  513. package/templates/admin/node_modules/typescript/dist/ast/index.js +20 -0
  514. package/templates/admin/node_modules/typescript/dist/ast/index.js.map +1 -0
  515. package/templates/admin/node_modules/typescript/dist/ast/is.d.ts +35 -0
  516. package/templates/admin/node_modules/typescript/dist/ast/is.d.ts.map +1 -0
  517. package/templates/admin/node_modules/typescript/dist/ast/is.generated.d.ts +329 -0
  518. package/templates/admin/node_modules/typescript/dist/ast/is.generated.d.ts.map +1 -0
  519. package/templates/admin/node_modules/typescript/dist/ast/is.generated.js +1103 -0
  520. package/templates/admin/node_modules/typescript/dist/ast/is.generated.js.map +1 -0
  521. package/templates/admin/node_modules/typescript/dist/ast/is.js +233 -0
  522. package/templates/admin/node_modules/typescript/dist/ast/is.js.map +1 -0
  523. package/templates/admin/node_modules/typescript/dist/ast/jsdoc.d.ts +11 -0
  524. package/templates/admin/node_modules/typescript/dist/ast/jsdoc.d.ts.map +1 -0
  525. package/templates/admin/node_modules/typescript/dist/ast/jsdoc.js +202 -0
  526. package/templates/admin/node_modules/typescript/dist/ast/jsdoc.js.map +1 -0
  527. package/templates/admin/node_modules/typescript/dist/ast/scanner.d.ts +97 -0
  528. package/templates/admin/node_modules/typescript/dist/ast/scanner.d.ts.map +1 -0
  529. package/templates/admin/node_modules/typescript/dist/ast/scanner.js +2230 -0
  530. package/templates/admin/node_modules/typescript/dist/ast/scanner.js.map +1 -0
  531. package/templates/admin/node_modules/typescript/dist/ast/utils.d.ts +17 -0
  532. package/templates/admin/node_modules/typescript/dist/ast/utils.d.ts.map +1 -0
  533. package/templates/admin/node_modules/typescript/dist/ast/utils.js +67 -0
  534. package/templates/admin/node_modules/typescript/dist/ast/utils.js.map +1 -0
  535. package/templates/admin/node_modules/typescript/dist/ast/visitor.d.ts +14 -0
  536. package/templates/admin/node_modules/typescript/dist/ast/visitor.d.ts.map +1 -0
  537. package/templates/admin/node_modules/typescript/dist/ast/visitor.generated.d.ts +50 -0
  538. package/templates/admin/node_modules/typescript/dist/ast/visitor.generated.d.ts.map +1 -0
  539. package/templates/admin/node_modules/typescript/dist/ast/visitor.generated.js +978 -0
  540. package/templates/admin/node_modules/typescript/dist/ast/visitor.generated.js.map +1 -0
  541. package/templates/admin/node_modules/typescript/dist/ast/visitor.js +47 -0
  542. package/templates/admin/node_modules/typescript/dist/ast/visitor.js.map +1 -0
  543. package/templates/admin/node_modules/typescript/dist/enums/characterCodes.d.ts +2 -0
  544. package/templates/admin/node_modules/typescript/dist/enums/characterCodes.d.ts.map +1 -0
  545. package/templates/admin/node_modules/typescript/dist/enums/characterCodes.enum.d.ts +129 -0
  546. package/templates/admin/node_modules/typescript/dist/enums/characterCodes.enum.d.ts.map +1 -0
  547. package/templates/admin/node_modules/typescript/dist/enums/characterCodes.enum.js +132 -0
  548. package/templates/admin/node_modules/typescript/dist/enums/characterCodes.enum.js.map +1 -0
  549. package/templates/admin/node_modules/typescript/dist/enums/characterCodes.js +130 -0
  550. package/templates/admin/node_modules/typescript/dist/enums/characterCodes.js.map +1 -0
  551. package/templates/admin/node_modules/typescript/dist/enums/commentDirectiveType.d.ts +2 -0
  552. package/templates/admin/node_modules/typescript/dist/enums/commentDirectiveType.d.ts.map +1 -0
  553. package/templates/admin/node_modules/typescript/dist/enums/commentDirectiveType.enum.d.ts +5 -0
  554. package/templates/admin/node_modules/typescript/dist/enums/commentDirectiveType.enum.d.ts.map +1 -0
  555. package/templates/admin/node_modules/typescript/dist/enums/commentDirectiveType.enum.js +6 -0
  556. package/templates/admin/node_modules/typescript/dist/enums/commentDirectiveType.enum.js.map +1 -0
  557. package/templates/admin/node_modules/typescript/dist/enums/commentDirectiveType.js +6 -0
  558. package/templates/admin/node_modules/typescript/dist/enums/commentDirectiveType.js.map +1 -0
  559. package/templates/admin/node_modules/typescript/dist/enums/completionItemKind.d.ts +2 -0
  560. package/templates/admin/node_modules/typescript/dist/enums/completionItemKind.d.ts.map +1 -0
  561. package/templates/admin/node_modules/typescript/dist/enums/completionItemKind.enum.d.ts +28 -0
  562. package/templates/admin/node_modules/typescript/dist/enums/completionItemKind.enum.d.ts.map +1 -0
  563. package/templates/admin/node_modules/typescript/dist/enums/completionItemKind.enum.js +30 -0
  564. package/templates/admin/node_modules/typescript/dist/enums/completionItemKind.enum.js.map +1 -0
  565. package/templates/admin/node_modules/typescript/dist/enums/completionItemKind.js +30 -0
  566. package/templates/admin/node_modules/typescript/dist/enums/completionItemKind.js.map +1 -0
  567. package/templates/admin/node_modules/typescript/dist/enums/diagnosticCategory.d.ts +2 -0
  568. package/templates/admin/node_modules/typescript/dist/enums/diagnosticCategory.d.ts.map +1 -0
  569. package/templates/admin/node_modules/typescript/dist/enums/diagnosticCategory.enum.d.ts +7 -0
  570. package/templates/admin/node_modules/typescript/dist/enums/diagnosticCategory.enum.d.ts.map +1 -0
  571. package/templates/admin/node_modules/typescript/dist/enums/diagnosticCategory.enum.js +9 -0
  572. package/templates/admin/node_modules/typescript/dist/enums/diagnosticCategory.enum.js.map +1 -0
  573. package/templates/admin/node_modules/typescript/dist/enums/diagnosticCategory.js +9 -0
  574. package/templates/admin/node_modules/typescript/dist/enums/diagnosticCategory.js.map +1 -0
  575. package/templates/admin/node_modules/typescript/dist/enums/elementFlags.d.ts +2 -0
  576. package/templates/admin/node_modules/typescript/dist/enums/elementFlags.d.ts.map +1 -0
  577. package/templates/admin/node_modules/typescript/dist/enums/elementFlags.enum.d.ts +12 -0
  578. package/templates/admin/node_modules/typescript/dist/enums/elementFlags.enum.d.ts.map +1 -0
  579. package/templates/admin/node_modules/typescript/dist/enums/elementFlags.enum.js +14 -0
  580. package/templates/admin/node_modules/typescript/dist/enums/elementFlags.enum.js.map +1 -0
  581. package/templates/admin/node_modules/typescript/dist/enums/elementFlags.js +14 -0
  582. package/templates/admin/node_modules/typescript/dist/enums/elementFlags.js.map +1 -0
  583. package/templates/admin/node_modules/typescript/dist/enums/internalSymbolName.d.ts +2 -0
  584. package/templates/admin/node_modules/typescript/dist/enums/internalSymbolName.d.ts.map +1 -0
  585. package/templates/admin/node_modules/typescript/dist/enums/internalSymbolName.enum.d.ts +23 -0
  586. package/templates/admin/node_modules/typescript/dist/enums/internalSymbolName.enum.d.ts.map +1 -0
  587. package/templates/admin/node_modules/typescript/dist/enums/internalSymbolName.enum.js +25 -0
  588. package/templates/admin/node_modules/typescript/dist/enums/internalSymbolName.enum.js.map +1 -0
  589. package/templates/admin/node_modules/typescript/dist/enums/internalSymbolName.js +25 -0
  590. package/templates/admin/node_modules/typescript/dist/enums/internalSymbolName.js.map +1 -0
  591. package/templates/admin/node_modules/typescript/dist/enums/jsxEmit.d.ts +2 -0
  592. package/templates/admin/node_modules/typescript/dist/enums/jsxEmit.d.ts.map +1 -0
  593. package/templates/admin/node_modules/typescript/dist/enums/jsxEmit.enum.d.ts +9 -0
  594. package/templates/admin/node_modules/typescript/dist/enums/jsxEmit.enum.d.ts.map +1 -0
  595. package/templates/admin/node_modules/typescript/dist/enums/jsxEmit.enum.js +11 -0
  596. package/templates/admin/node_modules/typescript/dist/enums/jsxEmit.enum.js.map +1 -0
  597. package/templates/admin/node_modules/typescript/dist/enums/jsxEmit.js +11 -0
  598. package/templates/admin/node_modules/typescript/dist/enums/jsxEmit.js.map +1 -0
  599. package/templates/admin/node_modules/typescript/dist/enums/languageVariant.d.ts +2 -0
  600. package/templates/admin/node_modules/typescript/dist/enums/languageVariant.d.ts.map +1 -0
  601. package/templates/admin/node_modules/typescript/dist/enums/languageVariant.enum.d.ts +5 -0
  602. package/templates/admin/node_modules/typescript/dist/enums/languageVariant.enum.d.ts.map +1 -0
  603. package/templates/admin/node_modules/typescript/dist/enums/languageVariant.enum.js +6 -0
  604. package/templates/admin/node_modules/typescript/dist/enums/languageVariant.enum.js.map +1 -0
  605. package/templates/admin/node_modules/typescript/dist/enums/languageVariant.js +6 -0
  606. package/templates/admin/node_modules/typescript/dist/enums/languageVariant.js.map +1 -0
  607. package/templates/admin/node_modules/typescript/dist/enums/modifierFlags.d.ts +2 -0
  608. package/templates/admin/node_modules/typescript/dist/enums/modifierFlags.d.ts.map +1 -0
  609. package/templates/admin/node_modules/typescript/dist/enums/modifierFlags.enum.d.ts +42 -0
  610. package/templates/admin/node_modules/typescript/dist/enums/modifierFlags.enum.d.ts.map +1 -0
  611. package/templates/admin/node_modules/typescript/dist/enums/modifierFlags.enum.js +44 -0
  612. package/templates/admin/node_modules/typescript/dist/enums/modifierFlags.enum.js.map +1 -0
  613. package/templates/admin/node_modules/typescript/dist/enums/modifierFlags.js +44 -0
  614. package/templates/admin/node_modules/typescript/dist/enums/modifierFlags.js.map +1 -0
  615. package/templates/admin/node_modules/typescript/dist/enums/moduleDetectionKind.d.ts +2 -0
  616. package/templates/admin/node_modules/typescript/dist/enums/moduleDetectionKind.d.ts.map +1 -0
  617. package/templates/admin/node_modules/typescript/dist/enums/moduleDetectionKind.enum.d.ts +7 -0
  618. package/templates/admin/node_modules/typescript/dist/enums/moduleDetectionKind.enum.d.ts.map +1 -0
  619. package/templates/admin/node_modules/typescript/dist/enums/moduleDetectionKind.enum.js +9 -0
  620. package/templates/admin/node_modules/typescript/dist/enums/moduleDetectionKind.enum.js.map +1 -0
  621. package/templates/admin/node_modules/typescript/dist/enums/moduleDetectionKind.js +9 -0
  622. package/templates/admin/node_modules/typescript/dist/enums/moduleDetectionKind.js.map +1 -0
  623. package/templates/admin/node_modules/typescript/dist/enums/moduleKind.d.ts +2 -0
  624. package/templates/admin/node_modules/typescript/dist/enums/moduleKind.d.ts.map +1 -0
  625. package/templates/admin/node_modules/typescript/dist/enums/moduleKind.enum.d.ts +17 -0
  626. package/templates/admin/node_modules/typescript/dist/enums/moduleKind.enum.d.ts.map +1 -0
  627. package/templates/admin/node_modules/typescript/dist/enums/moduleKind.enum.js +19 -0
  628. package/templates/admin/node_modules/typescript/dist/enums/moduleKind.enum.js.map +1 -0
  629. package/templates/admin/node_modules/typescript/dist/enums/moduleKind.js +19 -0
  630. package/templates/admin/node_modules/typescript/dist/enums/moduleKind.js.map +1 -0
  631. package/templates/admin/node_modules/typescript/dist/enums/moduleResolutionKind.d.ts +2 -0
  632. package/templates/admin/node_modules/typescript/dist/enums/moduleResolutionKind.d.ts.map +1 -0
  633. package/templates/admin/node_modules/typescript/dist/enums/moduleResolutionKind.enum.d.ts +9 -0
  634. package/templates/admin/node_modules/typescript/dist/enums/moduleResolutionKind.enum.d.ts.map +1 -0
  635. package/templates/admin/node_modules/typescript/dist/enums/moduleResolutionKind.enum.js +11 -0
  636. package/templates/admin/node_modules/typescript/dist/enums/moduleResolutionKind.enum.js.map +1 -0
  637. package/templates/admin/node_modules/typescript/dist/enums/moduleResolutionKind.js +11 -0
  638. package/templates/admin/node_modules/typescript/dist/enums/moduleResolutionKind.js.map +1 -0
  639. package/templates/admin/node_modules/typescript/dist/enums/newLineKind.d.ts +2 -0
  640. package/templates/admin/node_modules/typescript/dist/enums/newLineKind.d.ts.map +1 -0
  641. package/templates/admin/node_modules/typescript/dist/enums/newLineKind.enum.d.ts +6 -0
  642. package/templates/admin/node_modules/typescript/dist/enums/newLineKind.enum.d.ts.map +1 -0
  643. package/templates/admin/node_modules/typescript/dist/enums/newLineKind.enum.js +8 -0
  644. package/templates/admin/node_modules/typescript/dist/enums/newLineKind.enum.js.map +1 -0
  645. package/templates/admin/node_modules/typescript/dist/enums/newLineKind.js +8 -0
  646. package/templates/admin/node_modules/typescript/dist/enums/newLineKind.js.map +1 -0
  647. package/templates/admin/node_modules/typescript/dist/enums/nodeBuilderFlags.d.ts +2 -0
  648. package/templates/admin/node_modules/typescript/dist/enums/nodeBuilderFlags.d.ts.map +1 -0
  649. package/templates/admin/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.d.ts +36 -0
  650. package/templates/admin/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.d.ts.map +1 -0
  651. package/templates/admin/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.js +38 -0
  652. package/templates/admin/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.js.map +1 -0
  653. package/templates/admin/node_modules/typescript/dist/enums/nodeBuilderFlags.js +38 -0
  654. package/templates/admin/node_modules/typescript/dist/enums/nodeBuilderFlags.js.map +1 -0
  655. package/templates/admin/node_modules/typescript/dist/enums/nodeFlags.d.ts +2 -0
  656. package/templates/admin/node_modules/typescript/dist/enums/nodeFlags.d.ts.map +1 -0
  657. package/templates/admin/node_modules/typescript/dist/enums/nodeFlags.enum.d.ts +44 -0
  658. package/templates/admin/node_modules/typescript/dist/enums/nodeFlags.enum.d.ts.map +1 -0
  659. package/templates/admin/node_modules/typescript/dist/enums/nodeFlags.enum.js +46 -0
  660. package/templates/admin/node_modules/typescript/dist/enums/nodeFlags.enum.js.map +1 -0
  661. package/templates/admin/node_modules/typescript/dist/enums/nodeFlags.js +46 -0
  662. package/templates/admin/node_modules/typescript/dist/enums/nodeFlags.js.map +1 -0
  663. package/templates/admin/node_modules/typescript/dist/enums/objectFlags.d.ts +2 -0
  664. package/templates/admin/node_modules/typescript/dist/enums/objectFlags.d.ts.map +1 -0
  665. package/templates/admin/node_modules/typescript/dist/enums/objectFlags.enum.d.ts +50 -0
  666. package/templates/admin/node_modules/typescript/dist/enums/objectFlags.enum.d.ts.map +1 -0
  667. package/templates/admin/node_modules/typescript/dist/enums/objectFlags.enum.js +52 -0
  668. package/templates/admin/node_modules/typescript/dist/enums/objectFlags.enum.js.map +1 -0
  669. package/templates/admin/node_modules/typescript/dist/enums/objectFlags.js +52 -0
  670. package/templates/admin/node_modules/typescript/dist/enums/objectFlags.js.map +1 -0
  671. package/templates/admin/node_modules/typescript/dist/enums/outerExpressionKinds.d.ts +2 -0
  672. package/templates/admin/node_modules/typescript/dist/enums/outerExpressionKinds.d.ts.map +1 -0
  673. package/templates/admin/node_modules/typescript/dist/enums/outerExpressionKinds.enum.d.ts +16 -0
  674. package/templates/admin/node_modules/typescript/dist/enums/outerExpressionKinds.enum.d.ts.map +1 -0
  675. package/templates/admin/node_modules/typescript/dist/enums/outerExpressionKinds.enum.js +18 -0
  676. package/templates/admin/node_modules/typescript/dist/enums/outerExpressionKinds.enum.js.map +1 -0
  677. package/templates/admin/node_modules/typescript/dist/enums/outerExpressionKinds.js +18 -0
  678. package/templates/admin/node_modules/typescript/dist/enums/outerExpressionKinds.js.map +1 -0
  679. package/templates/admin/node_modules/typescript/dist/enums/regularExpressionFlags.d.ts +2 -0
  680. package/templates/admin/node_modules/typescript/dist/enums/regularExpressionFlags.d.ts.map +1 -0
  681. package/templates/admin/node_modules/typescript/dist/enums/regularExpressionFlags.enum.d.ts +13 -0
  682. package/templates/admin/node_modules/typescript/dist/enums/regularExpressionFlags.enum.d.ts.map +1 -0
  683. package/templates/admin/node_modules/typescript/dist/enums/regularExpressionFlags.enum.js +14 -0
  684. package/templates/admin/node_modules/typescript/dist/enums/regularExpressionFlags.enum.js.map +1 -0
  685. package/templates/admin/node_modules/typescript/dist/enums/regularExpressionFlags.js +14 -0
  686. package/templates/admin/node_modules/typescript/dist/enums/regularExpressionFlags.js.map +1 -0
  687. package/templates/admin/node_modules/typescript/dist/enums/scriptKind.d.ts +2 -0
  688. package/templates/admin/node_modules/typescript/dist/enums/scriptKind.d.ts.map +1 -0
  689. package/templates/admin/node_modules/typescript/dist/enums/scriptKind.enum.d.ts +11 -0
  690. package/templates/admin/node_modules/typescript/dist/enums/scriptKind.enum.d.ts.map +1 -0
  691. package/templates/admin/node_modules/typescript/dist/enums/scriptKind.enum.js +12 -0
  692. package/templates/admin/node_modules/typescript/dist/enums/scriptKind.enum.js.map +1 -0
  693. package/templates/admin/node_modules/typescript/dist/enums/scriptKind.js +12 -0
  694. package/templates/admin/node_modules/typescript/dist/enums/scriptKind.js.map +1 -0
  695. package/templates/admin/node_modules/typescript/dist/enums/scriptTarget.d.ts +2 -0
  696. package/templates/admin/node_modules/typescript/dist/enums/scriptTarget.d.ts.map +1 -0
  697. package/templates/admin/node_modules/typescript/dist/enums/scriptTarget.enum.d.ts +17 -0
  698. package/templates/admin/node_modules/typescript/dist/enums/scriptTarget.enum.d.ts.map +1 -0
  699. package/templates/admin/node_modules/typescript/dist/enums/scriptTarget.enum.js +18 -0
  700. package/templates/admin/node_modules/typescript/dist/enums/scriptTarget.enum.js.map +1 -0
  701. package/templates/admin/node_modules/typescript/dist/enums/scriptTarget.js +18 -0
  702. package/templates/admin/node_modules/typescript/dist/enums/scriptTarget.js.map +1 -0
  703. package/templates/admin/node_modules/typescript/dist/enums/signatureFlags.d.ts +2 -0
  704. package/templates/admin/node_modules/typescript/dist/enums/signatureFlags.d.ts.map +1 -0
  705. package/templates/admin/node_modules/typescript/dist/enums/signatureFlags.enum.d.ts +15 -0
  706. package/templates/admin/node_modules/typescript/dist/enums/signatureFlags.enum.d.ts.map +1 -0
  707. package/templates/admin/node_modules/typescript/dist/enums/signatureFlags.enum.js +17 -0
  708. package/templates/admin/node_modules/typescript/dist/enums/signatureFlags.enum.js.map +1 -0
  709. package/templates/admin/node_modules/typescript/dist/enums/signatureFlags.js +17 -0
  710. package/templates/admin/node_modules/typescript/dist/enums/signatureFlags.js.map +1 -0
  711. package/templates/admin/node_modules/typescript/dist/enums/signatureKind.d.ts +2 -0
  712. package/templates/admin/node_modules/typescript/dist/enums/signatureKind.d.ts.map +1 -0
  713. package/templates/admin/node_modules/typescript/dist/enums/signatureKind.enum.d.ts +5 -0
  714. package/templates/admin/node_modules/typescript/dist/enums/signatureKind.enum.d.ts.map +1 -0
  715. package/templates/admin/node_modules/typescript/dist/enums/signatureKind.enum.js +7 -0
  716. package/templates/admin/node_modules/typescript/dist/enums/signatureKind.enum.js.map +1 -0
  717. package/templates/admin/node_modules/typescript/dist/enums/signatureKind.js +7 -0
  718. package/templates/admin/node_modules/typescript/dist/enums/signatureKind.js.map +1 -0
  719. package/templates/admin/node_modules/typescript/dist/enums/symbolFlags.d.ts +2 -0
  720. package/templates/admin/node_modules/typescript/dist/enums/symbolFlags.d.ts.map +1 -0
  721. package/templates/admin/node_modules/typescript/dist/enums/symbolFlags.enum.d.ts +71 -0
  722. package/templates/admin/node_modules/typescript/dist/enums/symbolFlags.enum.d.ts.map +1 -0
  723. package/templates/admin/node_modules/typescript/dist/enums/symbolFlags.enum.js +73 -0
  724. package/templates/admin/node_modules/typescript/dist/enums/symbolFlags.enum.js.map +1 -0
  725. package/templates/admin/node_modules/typescript/dist/enums/symbolFlags.js +73 -0
  726. package/templates/admin/node_modules/typescript/dist/enums/symbolFlags.js.map +1 -0
  727. package/templates/admin/node_modules/typescript/dist/enums/syntaxKind.d.ts +2 -0
  728. package/templates/admin/node_modules/typescript/dist/enums/syntaxKind.d.ts.map +1 -0
  729. package/templates/admin/node_modules/typescript/dist/enums/syntaxKind.enum.d.ts +389 -0
  730. package/templates/admin/node_modules/typescript/dist/enums/syntaxKind.enum.d.ts.map +1 -0
  731. package/templates/admin/node_modules/typescript/dist/enums/syntaxKind.enum.js +391 -0
  732. package/templates/admin/node_modules/typescript/dist/enums/syntaxKind.enum.js.map +1 -0
  733. package/templates/admin/node_modules/typescript/dist/enums/syntaxKind.js +391 -0
  734. package/templates/admin/node_modules/typescript/dist/enums/syntaxKind.js.map +1 -0
  735. package/templates/admin/node_modules/typescript/dist/enums/tokenFlags.d.ts +2 -0
  736. package/templates/admin/node_modules/typescript/dist/enums/tokenFlags.d.ts.map +1 -0
  737. package/templates/admin/node_modules/typescript/dist/enums/tokenFlags.enum.d.ts +30 -0
  738. package/templates/admin/node_modules/typescript/dist/enums/tokenFlags.enum.d.ts.map +1 -0
  739. package/templates/admin/node_modules/typescript/dist/enums/tokenFlags.enum.js +32 -0
  740. package/templates/admin/node_modules/typescript/dist/enums/tokenFlags.enum.js.map +1 -0
  741. package/templates/admin/node_modules/typescript/dist/enums/tokenFlags.js +32 -0
  742. package/templates/admin/node_modules/typescript/dist/enums/tokenFlags.js.map +1 -0
  743. package/templates/admin/node_modules/typescript/dist/enums/typeFlags.d.ts +2 -0
  744. package/templates/admin/node_modules/typescript/dist/enums/typeFlags.d.ts.map +1 -0
  745. package/templates/admin/node_modules/typescript/dist/enums/typeFlags.enum.d.ts +76 -0
  746. package/templates/admin/node_modules/typescript/dist/enums/typeFlags.enum.d.ts.map +1 -0
  747. package/templates/admin/node_modules/typescript/dist/enums/typeFlags.enum.js +78 -0
  748. package/templates/admin/node_modules/typescript/dist/enums/typeFlags.enum.js.map +1 -0
  749. package/templates/admin/node_modules/typescript/dist/enums/typeFlags.js +78 -0
  750. package/templates/admin/node_modules/typescript/dist/enums/typeFlags.js.map +1 -0
  751. package/templates/admin/node_modules/typescript/dist/enums/typePredicateKind.d.ts +2 -0
  752. package/templates/admin/node_modules/typescript/dist/enums/typePredicateKind.d.ts.map +1 -0
  753. package/templates/admin/node_modules/typescript/dist/enums/typePredicateKind.enum.d.ts +7 -0
  754. package/templates/admin/node_modules/typescript/dist/enums/typePredicateKind.enum.d.ts.map +1 -0
  755. package/templates/admin/node_modules/typescript/dist/enums/typePredicateKind.enum.js +9 -0
  756. package/templates/admin/node_modules/typescript/dist/enums/typePredicateKind.enum.js.map +1 -0
  757. package/templates/admin/node_modules/typescript/dist/enums/typePredicateKind.js +9 -0
  758. package/templates/admin/node_modules/typescript/dist/enums/typePredicateKind.js.map +1 -0
  759. package/templates/admin/node_modules/typescript/dist/internal/utils.d.ts +23 -0
  760. package/templates/admin/node_modules/typescript/dist/internal/utils.d.ts.map +1 -0
  761. package/templates/admin/node_modules/typescript/dist/internal/utils.js +25 -0
  762. package/templates/admin/node_modules/typescript/dist/internal/utils.js.map +1 -0
  763. package/templates/admin/node_modules/typescript/lib/getExePath.d.ts +2 -0
  764. package/templates/admin/node_modules/typescript/lib/getExePath.js +70 -0
  765. package/templates/admin/node_modules/typescript/lib/tsc.js +28 -0
  766. package/templates/admin/node_modules/typescript/lib/version.cjs +3 -0
  767. package/templates/admin/node_modules/typescript/lib/version.d.cts +2 -0
  768. package/templates/admin/node_modules/typescript/package.json +87 -0
  769. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/License.txt +11 -0
  770. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/README.md +54 -0
  771. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/main.d.ts +17 -0
  772. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/main.js +83 -0
  773. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/ril.d.ts +22 -0
  774. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/ril.js +210 -0
  775. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/api.d.ts +14 -0
  776. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/api.js +87 -0
  777. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/cancellation.d.ts +32 -0
  778. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/cancellation.js +132 -0
  779. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/connection.d.ts +367 -0
  780. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/connection.js +1271 -0
  781. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/disposable.d.ts +9 -0
  782. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/disposable.js +16 -0
  783. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/encoding.d.ts +52 -0
  784. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/encoding.js +70 -0
  785. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/events.d.ts +39 -0
  786. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/events.js +135 -0
  787. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/is.d.ts +7 -0
  788. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/is.js +34 -0
  789. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/linkedMap.d.ts +55 -0
  790. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/linkedMap.js +412 -0
  791. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageBuffer.d.ts +18 -0
  792. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageBuffer.js +155 -0
  793. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageReader.d.ts +77 -0
  794. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageReader.js +246 -0
  795. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageWriter.d.ts +60 -0
  796. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageWriter.js +157 -0
  797. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messages.d.ts +369 -0
  798. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messages.js +436 -0
  799. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/ral.d.ts +74 -0
  800. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/ral.js +23 -0
  801. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/semaphore.d.ts +10 -0
  802. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/semaphore.js +74 -0
  803. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.d.ts +15 -0
  804. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +77 -0
  805. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/main.d.ts +58 -0
  806. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/main.js +289 -0
  807. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/ril.d.ts +12 -0
  808. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/ril.js +163 -0
  809. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/package.json +54 -0
  810. package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/typings/thenable.d.ts +5 -0
  811. package/templates/admin/node_modules/vite/LICENSE.md +2322 -0
  812. package/templates/admin/node_modules/vite/README.md +20 -0
  813. package/templates/admin/node_modules/vite/bin/openChrome.js +68 -0
  814. package/templates/admin/node_modules/vite/bin/vite.js +79 -0
  815. package/templates/admin/node_modules/vite/client.d.ts +285 -0
  816. package/templates/admin/node_modules/vite/dist/client/bundledDevClient.mjs +1829 -0
  817. package/templates/admin/node_modules/vite/dist/client/client.mjs +1244 -0
  818. package/templates/admin/node_modules/vite/dist/client/env.mjs +18 -0
  819. package/templates/admin/node_modules/vite/dist/node/chunks/build.js +5494 -0
  820. package/templates/admin/node_modules/vite/dist/node/chunks/dist.js +6732 -0
  821. package/templates/admin/node_modules/vite/dist/node/chunks/lib.js +371 -0
  822. package/templates/admin/node_modules/vite/dist/node/chunks/moduleRunnerTransport.d.ts +95 -0
  823. package/templates/admin/node_modules/vite/dist/node/chunks/node.js +37269 -0
  824. package/templates/admin/node_modules/vite/dist/node/chunks/postcss-import.js +465 -0
  825. package/templates/admin/node_modules/vite/dist/node/cli.js +835 -0
  826. package/templates/admin/node_modules/vite/dist/node/index.d.ts +4069 -0
  827. package/templates/admin/node_modules/vite/dist/node/index.js +2 -0
  828. package/templates/admin/node_modules/vite/dist/node/internal.d.ts +2 -0
  829. package/templates/admin/node_modules/vite/dist/node/internal.js +2 -0
  830. package/templates/admin/node_modules/vite/dist/node/module-runner.d.ts +313 -0
  831. package/templates/admin/node_modules/vite/dist/node/module-runner.js +1288 -0
  832. package/templates/admin/node_modules/vite/misc/false.js +1 -0
  833. package/templates/admin/node_modules/vite/misc/true.js +1 -0
  834. package/templates/admin/node_modules/vite/package.json +194 -0
  835. package/templates/admin/node_modules/vite/types/customEvent.d.ts +81 -0
  836. package/templates/admin/node_modules/vite/types/hmrPayload.d.ts +94 -0
  837. package/templates/admin/node_modules/vite/types/hot.d.ts +39 -0
  838. package/templates/admin/node_modules/vite/types/import-meta.d.ts +5 -0
  839. package/templates/admin/node_modules/vite/types/importGlob.d.ts +131 -0
  840. package/templates/admin/node_modules/vite/types/importMeta.d.ts +30 -0
  841. package/templates/admin/node_modules/vite/types/internal/cssPreprocessorOptions.d.ts +44 -0
  842. package/templates/admin/node_modules/vite/types/internal/esbuildOptions.d.ts +28 -0
  843. package/templates/admin/node_modules/vite/types/internal/lightningcssOptions.d.ts +18 -0
  844. package/templates/admin/node_modules/vite/types/internal/rollupTypeCompat.d.ts +24 -0
  845. package/templates/admin/node_modules/vite/types/internal/terserOptions.d.ts +11 -0
  846. package/templates/admin/node_modules/vite/types/metadata.d.ts +47 -0
  847. package/templates/admin/src/features/dashboard/{components → overview/components}/dashboard-chart.js +28 -21
  848. package/templates/admin/src/features/dashboard/todos/pages/todo-approval-page.js +5 -0
  849. package/templates/admin/src/features/ops/deploys/pages/deploy-list-page.js +5 -0
  850. package/templates/admin/src/features/ops/services/pages/service-list-page.js +5 -0
  851. package/templates/admin/src/features/{dicts → system/dicts}/api/dict.mgr.d.ts +24 -17
  852. package/templates/admin/src/features/{dicts → system/dicts}/api/dict.mgr.js +24 -14
  853. package/templates/admin/src/features/{dicts → system/dicts}/api/dict.mock.js +22 -4
  854. package/templates/admin/src/features/{dicts → system/dicts}/api/dict.state.d.ts +5 -0
  855. package/templates/admin/src/features/{dicts → system/dicts}/api/dict.state.js +39 -8
  856. package/templates/admin/src/features/{dicts → system/dicts}/components/dict-editor-dialog.js +1 -1
  857. package/templates/admin/src/features/{dicts → system/dicts}/pages/dict-list-page.js +41 -21
  858. package/templates/admin/src/features/{members → system/members}/api/member.mgr.d.ts +10 -9
  859. package/templates/admin/src/features/{members → system/members}/api/member.mgr.js +8 -3
  860. package/templates/admin/src/features/{members → system/members}/api/member.mock.js +1 -1
  861. package/templates/admin/src/features/{members → system/members}/api/member.req.d.ts +1 -1
  862. package/templates/admin/src/features/{members → system/members}/api/member.req.js +3 -1
  863. package/templates/admin/src/features/{members → system/members}/api/member.state.js +4 -4
  864. package/templates/admin/src/features/{members → system/members}/components/member-table.js +1 -1
  865. package/templates/admin/src/features/{permissions → system/permissions}/api/permission.mgr.d.ts +11 -9
  866. package/templates/admin/src/features/{permissions → system/permissions}/api/permission.mgr.js +10 -5
  867. package/templates/admin/src/features/{permissions → system/permissions}/api/permission.mock.js +1 -1
  868. package/templates/admin/src/features/{permissions → system/permissions}/api/permission.state.js +4 -4
  869. package/templates/admin/src/features/{permissions → system/permissions}/pages/permission-list-page.js +1 -1
  870. package/templates/admin/src/features/{roles → system/roles}/api/role.mgr.d.ts +19 -6
  871. package/templates/admin/src/features/{roles → system/roles}/api/role.mgr.js +8 -3
  872. package/templates/admin/src/features/{roles → system/roles}/api/role.mock.js +1 -1
  873. package/templates/admin/src/features/{roles → system/roles}/api/role.state.js +4 -4
  874. package/templates/admin/src/features/{roles → system/roles}/components/role-table.js +1 -1
  875. package/templates/admin/src/main.js +16 -12
  876. package/templates/admin/src/{ui/row-action-button.js → shared/ui.buttons.js} +1 -0
  877. package/templates/admin/src/{ui/placeholder-page.js → shared/ui.pages.js} +1 -0
  878. package/templates/admin/src/shell/api/shell.mock.js +42 -0
  879. package/templates/admin/src/shell/api/shell.req.js +17 -0
  880. package/templates/admin/src/shell/api/shell.state.js +90 -0
  881. package/templates/admin/src/shell/api/shell.views.js +19 -0
  882. package/templates/admin/src/shell/components/admin-shell.js +42 -0
  883. package/templates/admin/src/{ui → shell/components}/app-navbar.js +11 -12
  884. package/templates/admin/src/shell/components/app-sidebar.js +44 -0
  885. package/templates/admin/src/{ui → shell/components}/sidebar-menu.js +3 -3
  886. package/templates/admin/src/shell/router.js +40 -0
  887. package/templates/admin/src/app/admin-shell.js +0 -51
  888. package/templates/admin/src/app/modules.js +0 -37
  889. package/templates/admin/src/app/router.js +0 -20
  890. package/templates/admin/src/ui/app-sidebar.js +0 -27
  891. /package/templates/admin/src/features/dashboard/{pages → overview/pages}/dashboard-overview-page.js +0 -0
  892. /package/templates/admin/src/features/{dicts → system/dicts}/api/dict.views.d.ts +0 -0
  893. /package/templates/admin/src/features/{dicts → system/dicts}/api/dict.views.js +0 -0
  894. /package/templates/admin/src/features/{dicts → system/dicts}/components/dict-item-form-dialog.js +0 -0
  895. /package/templates/admin/src/features/{dicts → system/dicts}/utils/options.js +0 -0
  896. /package/templates/admin/src/features/{members → system/members}/api/member.state.d.ts +0 -0
  897. /package/templates/admin/src/features/{members → system/members}/api/member.views.d.ts +0 -0
  898. /package/templates/admin/src/features/{members → system/members}/api/member.views.js +0 -0
  899. /package/templates/admin/src/features/{members → system/members}/components/member-form-dialog.js +0 -0
  900. /package/templates/admin/src/features/{members → system/members}/components/member-toolbar.js +0 -0
  901. /package/templates/admin/src/features/{members → system/members}/pages/member-list-page.js +0 -0
  902. /package/templates/admin/src/features/{members → system/members}/utils/options.d.ts +0 -0
  903. /package/templates/admin/src/features/{members → system/members}/utils/options.js +0 -0
  904. /package/templates/admin/src/features/{permissions → system/permissions}/api/permission.state.d.ts +0 -0
  905. /package/templates/admin/src/features/{permissions → system/permissions}/api/permission.views.d.ts +0 -0
  906. /package/templates/admin/src/features/{permissions → system/permissions}/api/permission.views.js +0 -0
  907. /package/templates/admin/src/features/{permissions → system/permissions}/components/permission-form-dialog.js +0 -0
  908. /package/templates/admin/src/features/{roles → system/roles}/api/role.state.d.ts +0 -0
  909. /package/templates/admin/src/features/{roles → system/roles}/api/role.views.d.ts +0 -0
  910. /package/templates/admin/src/features/{roles → system/roles}/api/role.views.js +0 -0
  911. /package/templates/admin/src/features/{roles → system/roles}/components/role-form-dialog.js +0 -0
  912. /package/templates/admin/src/features/{roles → system/roles}/components/role-toolbar.js +0 -0
  913. /package/templates/admin/src/features/{roles → system/roles}/pages/role-list-page.js +0 -0
  914. /package/templates/admin/src/features/{roles → system/roles}/utils/options.js +0 -0
@@ -0,0 +1,239 @@
1
+ import type { CompletionItemKind } from "#enums/completionItemKind";
2
+ import type { ModuleKind } from "#enums/moduleKind";
3
+ import type { __String, Path } from "../ast/index.ts";
4
+ import type { CompilerOptions } from "./compilerOptions.ts";
5
+ export type { CompilerOptions } from "./compilerOptions.ts";
6
+ /**
7
+ * A document identifier that can be either a file name (path string) or a document URI object.
8
+ *
9
+ * @example
10
+ * // Using a file name
11
+ * project.program.getSourceFile("/path/to/file.ts");
12
+ *
13
+ * // Using a URI
14
+ * project.program.getSourceFile({ uri: "file:///path/to/file.ts" });
15
+ */
16
+ export type DocumentIdentifier = string | {
17
+ uri: string;
18
+ };
19
+ /**
20
+ * A position within a document, combining a document identifier with an offset.
21
+ */
22
+ export interface DocumentPosition {
23
+ /** The document containing the position */
24
+ document: DocumentIdentifier;
25
+ /** The character offset within the document */
26
+ position: number;
27
+ }
28
+ /**
29
+ * Resolves a DocumentIdentifier to a file name.
30
+ * If the identifier contains a URI, it is converted to a file name.
31
+ */
32
+ export declare function resolveFileName(identifier: DocumentIdentifier): string;
33
+ /**
34
+ * Resolves a DocumentIdentifier to a document URI.
35
+ * If the identifier contains a file name, it is converted to a URI.
36
+ */
37
+ export declare function resolveDocumentURI(identifier: DocumentIdentifier): string;
38
+ /**
39
+ * Response from the initialize method.
40
+ */
41
+ export interface InitializeResponse {
42
+ /** Whether the host file system is case-sensitive */
43
+ useCaseSensitiveFileNames: boolean;
44
+ /** The server's current working directory */
45
+ currentDirectory: string;
46
+ }
47
+ export interface ConfigResponse {
48
+ options: Record<string, unknown>;
49
+ fileNames: string[];
50
+ }
51
+ export interface LSPUpdateSnapshotParams {
52
+ /**
53
+ * @deprecated Use {@link openProjects} instead.
54
+ * Path to a tsconfig.json file to open in the new snapshot.
55
+ */
56
+ openProject?: string;
57
+ /**
58
+ * tsconfig.json files to open/load in the new snapshot. Opens are ref-counted
59
+ * and persist across snapshots until closed via {@link closeProjects}.
60
+ */
61
+ openProjects?: DocumentIdentifier[];
62
+ /**
63
+ * tsconfig.json files to release in the new snapshot. A project is only unloaded
64
+ * once every API client that opened it closes it.
65
+ */
66
+ closeProjects?: DocumentIdentifier[];
67
+ /**
68
+ * Files to keep open for the API client, mirroring LSP's `textDocument/didOpen`.
69
+ * For each file, ancestor directories are searched for a tsconfig that contains it;
70
+ * if one is found, that configured project is loaded and becomes the file's default
71
+ * project. Otherwise the file is loaded into the inferred project (e.g. a d.ts in
72
+ * node_modules that is not part of any project's import graph). Opens persist across
73
+ * subsequent snapshots until the file is closed via {@link closeFiles}.
74
+ * After calling updateSnapshot with openFiles, getDefaultProjectForFile returns the
75
+ * resolved configured or inferred project.
76
+ */
77
+ openFiles?: DocumentIdentifier[];
78
+ /**
79
+ * Files to release in the new snapshot. A file is only fully closed once every
80
+ * API client that opened it closes it.
81
+ */
82
+ closeFiles?: DocumentIdentifier[];
83
+ }
84
+ export interface FileChangeSummary {
85
+ changed?: DocumentIdentifier[];
86
+ created?: DocumentIdentifier[];
87
+ deleted?: DocumentIdentifier[];
88
+ }
89
+ export type FileChanges = FileChangeSummary | {
90
+ invalidateAll: true;
91
+ };
92
+ /**
93
+ * Parameters for updateSnapshot.
94
+ */
95
+ export interface UpdateSnapshotParams extends LSPUpdateSnapshotParams {
96
+ fileChanges?: FileChanges;
97
+ }
98
+ /**
99
+ * Builds the wire request for updateSnapshot, applying the deprecated `openProject`
100
+ * compatibility shim: a single `openProject` is folded into `openProjects` and is
101
+ * never sent on the wire.
102
+ */
103
+ export declare function toUpdateSnapshotRequest(params?: UpdateSnapshotParams): UpdateSnapshotParams;
104
+ /**
105
+ * Changes to source files within a single project.
106
+ */
107
+ export interface ProjectFileChanges {
108
+ /** Source file paths whose content changed */
109
+ changedFiles?: string[];
110
+ /** Source file paths removed from the project's program */
111
+ deletedFiles?: string[];
112
+ }
113
+ /**
114
+ * Changes between two consecutive snapshots, reported per-project.
115
+ */
116
+ export interface SnapshotChanges {
117
+ /** Project handles mapped to their file changes. Projects not listed are unchanged. */
118
+ changedProjects?: Record<string, ProjectFileChanges>;
119
+ /** Project handles that were removed from the snapshot */
120
+ removedProjects?: string[];
121
+ }
122
+ /**
123
+ * Response from updateSnapshot.
124
+ */
125
+ export interface UpdateSnapshotResponse {
126
+ /** Handle for the newly created snapshot */
127
+ snapshot: number;
128
+ /** List of projects in the snapshot */
129
+ projects: ProjectResponse[];
130
+ /** Changes from the previous snapshot (absent for the first snapshot) */
131
+ changes?: SnapshotChanges;
132
+ }
133
+ export interface ProjectResponse {
134
+ id: Path;
135
+ configFileName: string;
136
+ compilerOptions: CompilerOptions;
137
+ rootFiles: string[];
138
+ }
139
+ export interface SourceFileResponse {
140
+ /** Base64-encoded binary AST data */
141
+ data: string;
142
+ }
143
+ export interface SourceFileMetadata {
144
+ isDefaultLibrary: boolean;
145
+ isFromExternalLibrary: boolean;
146
+ packageJsonType: string;
147
+ packageJsonDirectory: string;
148
+ impliedNodeFormat: ModuleKind;
149
+ }
150
+ export interface SymbolResponse {
151
+ id: number;
152
+ /**
153
+ * The project the symbol was first observed in. Used as the default project for
154
+ * follow-up lookups that need a project context (e.g. members/exports), since symbols
155
+ * are shared snapshot-wide and such lookups can vary by project.
156
+ */
157
+ project: Path;
158
+ name: __String;
159
+ flags: number;
160
+ checkFlags: number;
161
+ declarations?: string[];
162
+ valueDeclaration?: string;
163
+ parent?: number;
164
+ exportSymbol?: number;
165
+ }
166
+ export interface TypeResponse {
167
+ id: number;
168
+ flags: number;
169
+ objectFlags?: number;
170
+ /** Literal value. BigInt literals are encoded as a decimal string (e.g. "-123") since JSON cannot represent bigint. Absent values are serialized as null. */
171
+ value?: string | number | boolean | null;
172
+ freshType?: number;
173
+ regularType?: number;
174
+ target?: number;
175
+ typeParameters?: number[];
176
+ outerTypeParameters?: number[];
177
+ localTypeParameters?: number[];
178
+ elementFlags?: number[];
179
+ fixedLength?: number;
180
+ readonly?: boolean;
181
+ objectType?: number;
182
+ indexType?: number;
183
+ checkType?: number;
184
+ extendsType?: number;
185
+ baseType?: number;
186
+ substConstraint?: number;
187
+ texts?: string[];
188
+ intrinsicName?: string;
189
+ isThisType?: boolean;
190
+ aliasTypeArguments?: number[];
191
+ aliasSymbol?: number;
192
+ symbol?: number;
193
+ }
194
+ export interface SignatureResponse {
195
+ id: number;
196
+ flags: number;
197
+ declaration?: string;
198
+ typeParameters?: number[];
199
+ parameters?: number[];
200
+ thisParameter?: number;
201
+ target?: number;
202
+ }
203
+ export interface TypePredicateResponse {
204
+ kind: number;
205
+ parameterIndex: number;
206
+ parameterName?: string;
207
+ type?: TypeResponse;
208
+ }
209
+ export interface IndexInfoResponse {
210
+ keyType: TypeResponse;
211
+ valueType: TypeResponse;
212
+ isReadonly?: boolean;
213
+ declaration?: string;
214
+ }
215
+ export interface ProfileParams {
216
+ dir: string;
217
+ }
218
+ export interface ProfileResult {
219
+ file: string;
220
+ }
221
+ export interface CompletionEntryLabelDetailsResponse {
222
+ detail?: string;
223
+ description?: string;
224
+ }
225
+ export interface CompletionEntryResponse {
226
+ name: string;
227
+ kind?: CompletionItemKind;
228
+ sortText?: string;
229
+ insertText?: string;
230
+ filterText?: string;
231
+ detail?: string;
232
+ labelDetails?: CompletionEntryLabelDetailsResponse;
233
+ symbol?: SymbolResponse;
234
+ }
235
+ export interface CompletionInfoResponse {
236
+ isIncomplete: boolean;
237
+ entries: CompletionEntryResponse[];
238
+ }
239
+ //# sourceMappingURL=proto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"proto.d.ts","sourceRoot":"","sources":["../../src/api/proto.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,KAAK,EACR,QAAQ,EACR,IAAI,EACP,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAM5D,YAAY,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D;;;;;;;;;GASG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;CAAE,CAAC;AAE3D;;GAEG;AACH,M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entURIToFileName, fileNameToDocumentURI, } from "./path.js";
2
+ /**
3
+ * Resolves a DocumentIdentifier to a file name.
4
+ * If the identifier contains a URI, it is converted to a file name.
5
+ */
6
+ export function resolveFileName(identifier) {
7
+ if (typeof identifier === "string") {
8
+ return identifier;
9
+ }
10
+ return documentURIToFileName(identifier.uri);
11
+ }
12
+ /**
13
+ * Resolves a DocumentIdentifier to a document URI.
14
+ * If the identifier contains a file name, it is converted to a URI.
15
+ */
16
+ export function resolveDocumentURI(identifier) {
17
+ if (typeof identifier === "string") {
18
+ return fileNameToDocumentURI(identifier);
19
+ }
20
+ return identifier.uri;
21
+ }
22
+ /**
23
+ * Builds the wire request for updateSnapshot, applying the deprecated `openProject`
24
+ * compatibility shim: a single `openProject` is folded into `openProjects` and is
25
+ * never sent on the wire.
26
+ */
27
+ export function toUpdateSnapshotRequest(params) {
28
+ const { openProject, openProjects, ...rest } = params ?? {};
29
+ const mergedOpenProjects = openProject !== undefined
30
+ ? [resolveFileName(openProject), ...(openProjects ?? [])]
31
+ : openProjects;
32
+ return {
33
+ ...rest,
34
+ ...(mergedOpenProjects !== undefined ? { openProjects: mergedOpenProjects } : {}),
35
+ };
36
+ }
37
+ //# sourceMappingURL=proto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"proto.js","sourceRoot":"","sources":["../../src/api/proto.ts"],"names":[],"mappings":"AAOA,OAAO,EACH,qBAAqB,EACrB,qBAAqB,GACxB,MAAM,WAAW,CAAC;AA0BnB;;;GAGG;AACH,MAAM,UAAU,eAAe,CAAC,UAA8B;IAC1D,IAAI,OAAO,UAAU,KAAK,QAAQ,EAAE,CAAC;QACjC,OAAO,UAAU,CAAC;IACtB,CAAC;IACD,OAAO,qBAAqB,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;AACjD,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,kBAAkB,CAAC,UAA8B;IAC7D,IAAI,OAAO,UAAU,KAAK,QAAQ,EAAE,CAAC;QACjC,OAAO,qBAAqB,CAAC,UAAU,CAAC,CAAC;IAC7C,CAAC;IACD,OAAO,UAAU,CAAC,GAAG,CAAC;AAC1B,CAAC;AAkED;;;;GAIG;AACH,MAAM,UAAU,uBAAuB,CAAC,MAA6B;IACjE,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;IAC5D,MAAM,kBAAkB,GAAG,WAAW,KAAK,SAAS;QAChD,CAAC,CAAC,CAAC,eAAe,CAAC,WAAW,CAAC,EAAE,GAAG,CAAC,YAAY,IAAI,EAAE,CAAC,CAAC;QACzD,CAAC,CAAC,YAAY,CAAC;IACnB,OAAO;QACH,GAAG,IAAI;QACP,GAAG,CAAC,kBAAkB,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,kBAAkB,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KACpF,CAAC;AACN,CAAC"}
@@ -0,0 +1,79 @@
1
+ import type { Path, SourceFile } from "../ast/index.ts";
2
+ import type { SnapshotChanges } from "./proto.ts";
3
+ /**
4
+ * A cached source file entry, identified by content hash.
5
+ */
6
+ export interface CachedSourceFile {
7
+ /** The cached source file object */
8
+ file: SourceFile;
9
+ /** The content hash from the server */
10
+ contentHash: string;
11
+ /** The parse options key that was used to create this file */
12
+ parseOptionsKey: string;
13
+ /** Set of (snapshot, project) ref keys that reference this entry */
14
+ refs: Set<string>;
15
+ }
16
+ /**
17
+ * Client-side cache for source files keyed by (path, parseOptionsKey, contentHash).
18
+ *
19
+ * Supports multiple versions of the same file at the same path (e.g., from
20
+ * different snapshots with different file contents). Each version is identified
21
+ * by its content hash and parse options key.
22
+ *
23
+ * Entries are ref-counted by (snapshot, project) pairs. When a snapshot is
24
+ * disposed, all refs for that snapshot across all projects are released,
25
+ * and entries with no remaining references are evicted.
26
+ *
27
+ * When a new snapshot is created, unchanged cache entries from the previous
28
+ * snapshot are retained per-project. Only files within changed or removed
29
+ * projects are invalidated.
30
+ */
31
+ export declare class SourceFileCache {
32
+ /** Map from path to all cached versions of that file */
33
+ private cache;
34
+ /** Map from snapshotId to (projectId → Set of paths fetched through that project) */
35
+ private snapshotProjectPaths;
36
+ /**
37
+ * Get a cached source file already retained for the given (snapshot, project) pair.
38
+ * This does not require a content hash or parse options key — it returns the entry
39
+ * if one exists with a matching ref. Used to skip the server request entirely when
40
+ * retainForSnapshot has already carried over the ref.
41
+ *
42
+ * A given (snapshot, project) pair always parses a file the same way, so there is
43
+ * at most one matching entry per ref.
44
+ */
45
+ getRetained(path: Path, snapshotId: number, projectId: string): SourceFile | undefined;
46
+ /**
47
+ * Store a source file in the cache and retain it for the given (snapshot, project) pair.
48
+ * Returns the cached file — which may be an existing entry if the hash matches.
49
+ */
50
+ set(path: Path, file: SourceFile, parseOptionsKey: string, contentHash: string, snapshotId: number, projectId: string): SourceFile;
51
+ /**
52
+ * Retain cache entries from a previous snapshot for a new snapshot.
53
+ * For each project in the previous snapshot:
54
+ * - Removed projects: skip (don't retain any refs).
55
+ * - Changed projects: retain refs for files not listed in changedFiles/deletedFiles.
56
+ * - Unchanged projects: retain all refs.
57
+ */
58
+ retainForSnapshot(newSnapshotId: number, previousSnapshotId: number, changes: SnapshotChanges | undefined): void;
59
+ /**
60
+ * Release all entries retained by the given snapshot across all projects.
61
+ * Only visits paths that the snapshot actually referenced.
62
+ * Entries with no remaining refs are evicted.
63
+ */
64
+ releaseSnapshot(snapshotId: number): void;
65
+ private trackPath;
66
+ /**
67
+ * Clear all entries from the cache.
68
+ */
69
+ clear(): void;
70
+ /**
71
+ * Get the number of unique paths in the cache.
72
+ */
73
+ get size(): number;
74
+ /**
75
+ * Check if a path is in the cache.
76
+ */
77
+ has(path: Path): boolean;
78
+ }
79
+ //# sourceMappingURL=sourceFileCache.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sourceFileCache.d.ts","sourceRoot":"","sources":["../../src/api/sourceFileCache.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,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.
3
+ */
4
+ function refKey(snapshotId, projectId) {
5
+ return `${snapshotId}:${projectId}`;
6
+ }
7
+ /**
8
+ * Client-side cache for source files keyed by (path, parseOptionsKey, contentHash).
9
+ *
10
+ * Supports multiple versions of the same file at the same path (e.g., from
11
+ * different snapshots with different file contents). Each version is identified
12
+ * by its content hash and parse options key.
13
+ *
14
+ * Entries are ref-counted by (snapshot, project) pairs. When a snapshot is
15
+ * disposed, all refs for that snapshot across all projects are released,
16
+ * and entries with no remaining references are evicted.
17
+ *
18
+ * When a new snapshot is created, unchanged cache entries from the previous
19
+ * snapshot are retained per-project. Only files within changed or removed
20
+ * projects are invalidated.
21
+ */
22
+ export class SourceFileCache {
23
+ /** Map from path to all cached versions of that file */
24
+ cache = new Map();
25
+ /** Map from snapshotId to (projectId → Set of paths fetched through that project) */
26
+ snapshotProjectPaths = new Map();
27
+ /**
28
+ * Get a cached source file already retained for the given (snapshot, project) pair.
29
+ * This does not require a content hash or parse options key — it returns the entry
30
+ * if one exists with a matching ref. Used to skip the server request entirely when
31
+ * retainForSnapshot has already carried over the ref.
32
+ *
33
+ * A given (snapshot, project) pair always parses a file the same way, so there is
34
+ * at most one matching entry per ref.
35
+ */
36
+ getRetained(path, snapshotId, projectId) {
37
+ const entries = this.cache.get(path);
38
+ if (!entries)
39
+ return undefined;
40
+ const key = refKey(snapshotId, projectId);
41
+ const entry = entries.find(e => e.refs.has(key));
42
+ return entry?.file;
43
+ }
44
+ /**
45
+ * Store a source file in the cache and retain it for the given (snapshot, project) pair.
46
+ * Returns the cached file — which may be an existing entry if the hash matches.
47
+ */
48
+ set(path, file, parseOptionsKey, contentHash, snapshotId, projectId) {
49
+ let entries = this.cache.get(path);
50
+ if (!entries) {
51
+ entries = [];
52
+ this.cache.set(path, entries);
53
+ }
54
+ const ref = refKey(snapshotId, projectId);
55
+ // Check if we already have this exact version
56
+ const existing = entries.find(e => e.parseOptionsKey === parseOptionsKey && e.contentHash === contentHash);
57
+ if (existing) {
58
+ existing.refs.add(ref);
59
+ this.trackPath(snapshotId, projectId, path);
60
+ return existing.file;
61
+ }
62
+ entries.push({ file, contentHash, parseOptionsKey, refs: new Set([ref]) });
63
+ this.trackPath(snapshotId, projectId, path);
64
+ return file;
65
+ }
66
+ /**
67
+ * Retain cache entries from a previous snapshot for a new snapshot.
68
+ * For each project in the previous snapshot:
69
+ * - Removed projects: skip (don't retain any refs).
70
+ * - Changed projects: retain refs for files not listed in changedFiles/deletedFiles.
71
+ * - Unchanged projects: retain all refs.
72
+ */
73
+ retainForSnapshot(newSnapshotId, previousSnapshotId, changes) {
74
+ const prevProjectMap = this.snapshotProjectPaths.get(previousSnapshotId);
75
+ if (!prevProjectMap)
76
+ return;
77
+ const removedProjects = new Set(changes?.removedProjects ?? []);
78
+ const changedProjects = changes?.changedProjects ?? {};
79
+ for (const [projectId, paths] of prevProjectMap) {
80
+ if (removedProjects.has(projectId))
81
+ continue;
82
+ const projectChanges = changedProjects[projectId];
83
+ let invalidPaths;
84
+ if (projectChanges) {
85
+ invalidPaths = new Set();
86
+ for (const p of projectChanges.changedFiles ?? [])
87
+ invalidPaths.add(p);
88
+ for (const p of projectChanges.deletedFiles ?? [])
89
+ invalidPaths.add(p);
90
+ }
91
+ const prevRef = refKey(previousSnapshotId, projectId);
92
+ const newRef = refKey(newSnapshotId, projectId);
93
+ for (const path of paths) {
94
+ if (invalidPaths?.has(path))
95
+ continue;
96
+ const entries = this.cache.get(path);
97
+ if (!entries)
98
+ continue;
99
+ for (const entry of entries) {
100
+ if (entry.refs.has(prevRef)) {
101
+ entry.refs.add(newRef);
102
+ this.trackPath(newSnapshotId, projectId, path);
103
+ }
104
+ }
105
+ }
106
+ }
107
+ }
108
+ /**
109
+ * Release all entries retained by the given snapshot across all projects.
110
+ * Only visits paths that the snapshot actually referenced.
111
+ * Entries with no remaining refs are evicted.
112
+ */
113
+ releaseSnapshot(snapshotId) {
114
+ const projectMap = this.snapshotProjectPaths.get(snapshotId);
115
+ if (!projectMap)
116
+ return;
117
+ for (const [projectId, paths] of projectMap) {
118
+ const key = refKey(snapshotId, projectId);
119
+ for (const path of paths) {
120
+ const entries = this.cache.get(path);
121
+ if (!entries)
122
+ continue;
123
+ for (let i = entries.length - 1; i >= 0; i--) {
124
+ entries[i].refs.delete(key);
125
+ if (entries[i].refs.size === 0) {
126
+ entries.splice(i, 1);
127
+ }
128
+ }
129
+ if (entries.length === 0) {
130
+ this.cache.delete(path);
131
+ }
132
+ }
133
+ }
134
+ this.snapshotProjectPaths.delete(snapshotId);
135
+ }
136
+ trackPath(snapshotId, projectId, path) {
137
+ let projectMap = this.snapshotProjectPaths.get(snapshotId);
138
+ if (!projectMap) {
139
+ projectMap = new Map();
140
+ this.snapshotProjectPaths.set(snapshotId, projectMap);
141
+ }
142
+ let paths = projectMap.get(projectId);
143
+ if (!paths) {
144
+ paths = new Set();
145
+ projectMap.set(projectId, paths);
146
+ }
147
+ paths.add(path);
148
+ }
149
+ /**
150
+ * Clear all entries from the cache.
151
+ */
152
+ clear() {
153
+ this.cache.clear();
154
+ this.snapshotProjectPaths.clear();
155
+ }
156
+ /**
157
+ * Get the number of unique paths in the cache.
158
+ */
159
+ get size() {
160
+ return this.cache.size;
161
+ }
162
+ /**
163
+ * Check if a path is in the cache.
164
+ */
165
+ has(path) {
166
+ return this.cache.has(path);
167
+ }
168
+ }
169
+ //# sourceMappingURL=sourceFileCache.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sourceFileCache.js","sourceRoot":"","sources":["../../src/api/sourceFileCache.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,SAAS,MAAM,CAAC,UAAkB,EAAE,SAAiB;IACjD,OAAO,GAAG,UAAU,IAAI,SAAS,EAAE,CAAC;AACxC,CAAC;AAgBD;;;;;;;;;;;;;;GAcG;AACH,MAAM,OAAO,eAAe;IACxB,wDAAwD;IAChD,KAAK,GAAkC,IAAI,GAAG,EAAE,CAAC;IACzD,qFAAqF;IAC7E,oBAAoB,GAAwC,IAAI,GAAG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