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.
- package/README.md +11 -10
- package/bin/create-yoya-ui.js +1 -1
- package/package.json +1 -1
- package/templates/admin/README.md +59 -47
- package/templates/admin/RULES.md +105 -0
- package/templates/admin/dist/assets/index-C9C1xRte.js +35 -0
- package/templates/admin/dist/assets/index-Dh32qJDx.css +1 -0
- package/templates/admin/dist/index.html +13 -0
- package/templates/admin/node_modules/.bin/nanoid +16 -0
- package/templates/admin/node_modules/.bin/nanoid.cmd +17 -0
- package/templates/admin/node_modules/.bin/nanoid.ps1 +28 -0
- package/templates/admin/node_modules/.bin/rolldown +16 -0
- package/templates/admin/node_modules/.bin/rolldown.cmd +17 -0
- package/templates/admin/node_modules/.bin/rolldown.ps1 +28 -0
- package/templates/admin/node_modules/.bin/tsc +16 -0
- package/templates/admin/node_modules/.bin/tsc.cmd +17 -0
- package/templates/admin/node_modules/.bin/tsc.ps1 +28 -0
- package/templates/admin/node_modules/.bin/vite +16 -0
- package/templates/admin/node_modules/.bin/vite.cmd +17 -0
- package/templates/admin/node_modules/.bin/vite.ps1 +28 -0
- package/templates/admin/node_modules/.package-lock.json +389 -0
- package/templates/admin/node_modules/.vite/deps/@yoyaflow_yoya-ui.js +13116 -0
- package/templates/admin/node_modules/.vite/deps/@yoyaflow_yoya-ui.js.map +1 -0
- package/templates/admin/node_modules/.vite/deps/_metadata.json +12 -5
- package/templates/admin/node_modules/@oxc-project/types/LICENSE +22 -0
- package/templates/admin/node_modules/@oxc-project/types/README.md +3 -0
- package/templates/admin/node_modules/@oxc-project/types/package.json +26 -0
- package/templates/admin/node_modules/@oxc-project/types/types.d.ts +1912 -0
- package/templates/admin/node_modules/@rolldown/binding-win32-x64-msvc/README.md +3 -0
- package/templates/admin/node_modules/@rolldown/binding-win32-x64-msvc/package.json +37 -0
- package/templates/admin/node_modules/@rolldown/binding-win32-x64-msvc/rolldown-binding.win32-x64-msvc.node +0 -0
- package/templates/admin/node_modules/@rolldown/pluginutils/LICENSE +21 -0
- package/templates/admin/node_modules/@rolldown/pluginutils/README.md +145 -0
- package/templates/admin/node_modules/@rolldown/pluginutils/dist/filter/index.d.mts +194 -0
- package/templates/admin/node_modules/@rolldown/pluginutils/dist/filter/index.mjs +2 -0
- package/templates/admin/node_modules/@rolldown/pluginutils/dist/filter-B_mD-HGz.mjs +323 -0
- package/templates/admin/node_modules/@rolldown/pluginutils/dist/index.d.mts +2 -0
- package/templates/admin/node_modules/@rolldown/pluginutils/dist/index.mjs +2 -0
- package/templates/admin/node_modules/@rolldown/pluginutils/package.json +40 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/LICENSE +55 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/NOTICE.txt +436 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/README.md +3 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.d.ts +20 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.decorators.d.ts +382 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.decorators.legacy.d.ts +20 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.dom.asynciterable.d.ts +18 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.dom.d.ts +45125 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.dom.iterable.d.ts +18 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.collection.d.ts +159 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.core.d.ts +595 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.d.ts +26 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.generator.d.ts +75 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.iterable.d.ts +603 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.promise.d.ts +79 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.proxy.d.ts +126 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.reflect.d.ts +142 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.symbol.d.ts +44 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2015.symbol.wellknown.d.ts +324 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2016.array.include.d.ts +114 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2016.d.ts +19 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2016.full.d.ts +21 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2016.intl.d.ts +29 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.arraybuffer.d.ts +19 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.d.ts +24 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.date.d.ts +29 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.full.d.ts +21 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.intl.d.ts +42 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.object.d.ts +47 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.sharedmemory.d.ts +133 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.string.d.ts +47 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2017.typedarrays.d.ts +51 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2018.asyncgenerator.d.ts +75 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2018.asynciterable.d.ts +51 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2018.d.ts +22 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2018.full.d.ts +22 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2018.intl.d.ts +81 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2018.promise.d.ts +28 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2018.regexp.d.ts +35 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2019.array.d.ts +77 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2019.d.ts +22 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2019.full.d.ts +22 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2019.intl.d.ts +21 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2019.object.d.ts +31 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2019.string.d.ts +35 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2019.symbol.d.ts +22 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.bigint.d.ts +763 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.d.ts +25 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.date.d.ts +40 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.full.d.ts +22 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.intl.d.ts +472 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.number.d.ts +26 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.promise.d.ts +45 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.sharedmemory.d.ts +97 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.string.d.ts +42 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2020.symbol.wellknown.d.ts +39 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2021.d.ts +21 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2021.full.d.ts +22 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2021.intl.d.ts +164 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2021.promise.d.ts +46 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2021.string.d.ts +31 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2021.weakref.d.ts +76 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2022.array.d.ts +119 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2022.d.ts +23 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2022.error.d.ts +73 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2022.full.d.ts +22 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2022.intl.d.ts +143 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2022.object.d.ts +24 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2022.regexp.d.ts +37 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2022.string.d.ts +23 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2023.array.d.ts +922 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2023.collection.d.ts +19 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2023.d.ts +20 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2023.full.d.ts +22 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2023.intl.d.ts +62 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.arraybuffer.d.ts +63 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.collection.d.ts +27 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.d.ts +24 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.full.d.ts +22 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.object.d.ts +27 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.promise.d.ts +33 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.regexp.d.ts +23 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.sharedmemory.d.ts +66 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2024.string.d.ts +27 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2025.collection.d.ts +94 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2025.d.ts +23 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2025.float16.d.ts +443 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2025.full.d.ts +22 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2025.intl.d.ts +200 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2025.iterator.d.ts +146 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2025.promise.d.ts +32 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es2025.regexp.d.ts +30 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es5.d.ts +4599 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.es6.d.ts +21 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.array.d.ts +33 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.collection.d.ts +47 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.d.ts +27 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.date.d.ts +21 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.decorators.d.ts +26 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.disposable.d.ts +191 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.error.d.ts +22 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.full.d.ts +22 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.intl.d.ts +107 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.sharedmemory.d.ts +23 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.temporal.d.ts +485 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.esnext.typedarrays.d.ts +90 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.scripthost.d.ts +320 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.webworker.asynciterable.d.ts +18 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.webworker.d.ts +15606 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.webworker.importscripts.d.ts +21 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/lib.webworker.iterable.d.ts +18 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/lib/tsc.exe +0 -0
- package/templates/admin/node_modules/@typescript/typescript-win32-x64/package.json +45 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/LICENSE +21 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/README.md +271 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/README.zh-CN.md +272 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/dist/echarts.min.js +45 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/dist/yoya-ui.umd.js +35 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/dist/yoya.core.js +1779 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/dist/yoya.echart.js +643 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/dist/yoya.ssr.js +2856 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/dist/yoya.ui.css +2289 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/dist/yoya.ui.js +13174 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/package.json +94 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/actions.d.ts +166 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/async.d.ts +108 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/chart.d.ts +40 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/core.d.ts +582 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/css.d.ts +5 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/data-display.d.ts +620 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/effects.d.ts +64 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/feedback.d.ts +119 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/form.d.ts +507 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/html.d.ts +288 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/i18n.d.ts +56 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/index.d.ts +4 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/layout.d.ts +444 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/navigation.d.ts +275 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/router.d.ts +123 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/ssr.d.ts +124 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/svg.d.ts +159 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/theme.d.ts +40 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/yoya.core.d.ts +7 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/yoya.echart.d.ts +4 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/yoya.ssr.d.ts +9 -0
- package/templates/admin/node_modules/@yoyaflow/yoya-ui/types/yoya.ui.d.ts +19 -0
- package/templates/admin/node_modules/detect-libc/LICENSE +201 -0
- package/templates/admin/node_modules/detect-libc/README.md +163 -0
- package/templates/admin/node_modules/detect-libc/index.d.ts +14 -0
- package/templates/admin/node_modules/detect-libc/lib/detect-libc.js +313 -0
- package/templates/admin/node_modules/detect-libc/lib/elf.js +39 -0
- package/templates/admin/node_modules/detect-libc/lib/filesystem.js +51 -0
- package/templates/admin/node_modules/detect-libc/lib/process.js +24 -0
- package/templates/admin/node_modules/detect-libc/package.json +44 -0
- package/templates/admin/node_modules/fdir/LICENSE +7 -0
- package/templates/admin/node_modules/fdir/README.md +91 -0
- package/templates/admin/node_modules/fdir/dist/index.cjs +588 -0
- package/templates/admin/node_modules/fdir/dist/index.d.cts +155 -0
- package/templates/admin/node_modules/fdir/dist/index.d.mts +155 -0
- package/templates/admin/node_modules/fdir/dist/index.mjs +570 -0
- package/templates/admin/node_modules/fdir/package.json +103 -0
- package/templates/admin/node_modules/lightningcss/LICENSE +373 -0
- package/templates/admin/node_modules/lightningcss/README.md +105 -0
- package/templates/admin/node_modules/lightningcss/node/ast.d.ts +9965 -0
- package/templates/admin/node_modules/lightningcss/node/ast.js.flow +10615 -0
- package/templates/admin/node_modules/lightningcss/node/browserslistToTargets.js +48 -0
- package/templates/admin/node_modules/lightningcss/node/composeVisitors.js +450 -0
- package/templates/admin/node_modules/lightningcss/node/flags.js +28 -0
- package/templates/admin/node_modules/lightningcss/node/index.d.ts +501 -0
- package/templates/admin/node_modules/lightningcss/node/index.js +59 -0
- package/templates/admin/node_modules/lightningcss/node/index.js.flow +854 -0
- package/templates/admin/node_modules/lightningcss/node/index.mjs +4 -0
- package/templates/admin/node_modules/lightningcss/node/targets.d.ts +40 -0
- package/templates/admin/node_modules/lightningcss/node/targets.js.flow +39 -0
- package/templates/admin/node_modules/lightningcss/package.json +110 -0
- package/templates/admin/node_modules/lightningcss-win32-x64-msvc/LICENSE +373 -0
- package/templates/admin/node_modules/lightningcss-win32-x64-msvc/README.md +1 -0
- package/templates/admin/node_modules/lightningcss-win32-x64-msvc/lightningcss.win32-x64-msvc.node +0 -0
- package/templates/admin/node_modules/lightningcss-win32-x64-msvc/package.json +34 -0
- package/templates/admin/node_modules/nanoid/LICENSE +20 -0
- package/templates/admin/node_modules/nanoid/README.md +39 -0
- package/templates/admin/node_modules/nanoid/async/index.browser.cjs +43 -0
- package/templates/admin/node_modules/nanoid/async/index.browser.js +43 -0
- package/templates/admin/node_modules/nanoid/async/index.cjs +47 -0
- package/templates/admin/node_modules/nanoid/async/index.d.ts +56 -0
- package/templates/admin/node_modules/nanoid/async/index.js +47 -0
- package/templates/admin/node_modules/nanoid/async/index.native.js +38 -0
- package/templates/admin/node_modules/nanoid/async/package.json +12 -0
- package/templates/admin/node_modules/nanoid/bin/nanoid.cjs +55 -0
- package/templates/admin/node_modules/nanoid/index.browser.cjs +45 -0
- package/templates/admin/node_modules/nanoid/index.browser.js +45 -0
- package/templates/admin/node_modules/nanoid/index.cjs +58 -0
- package/templates/admin/node_modules/nanoid/index.d.cts +91 -0
- package/templates/admin/node_modules/nanoid/index.d.ts +91 -0
- package/templates/admin/node_modules/nanoid/index.js +63 -0
- package/templates/admin/node_modules/nanoid/nanoid.js +1 -0
- package/templates/admin/node_modules/nanoid/non-secure/index.cjs +24 -0
- package/templates/admin/node_modules/nanoid/non-secure/index.d.ts +33 -0
- package/templates/admin/node_modules/nanoid/non-secure/index.js +24 -0
- package/templates/admin/node_modules/nanoid/non-secure/package.json +6 -0
- package/templates/admin/node_modules/nanoid/package.json +89 -0
- package/templates/admin/node_modules/nanoid/url-alphabet/index.cjs +4 -0
- package/templates/admin/node_modules/nanoid/url-alphabet/index.js +4 -0
- package/templates/admin/node_modules/nanoid/url-alphabet/package.json +6 -0
- package/templates/admin/node_modules/picocolors/LICENSE +15 -0
- package/templates/admin/node_modules/picocolors/README.md +21 -0
- package/templates/admin/node_modules/picocolors/package.json +25 -0
- package/templates/admin/node_modules/picocolors/picocolors.browser.js +4 -0
- package/templates/admin/node_modules/picocolors/picocolors.d.ts +5 -0
- package/templates/admin/node_modules/picocolors/picocolors.js +75 -0
- package/templates/admin/node_modules/picocolors/types.d.ts +51 -0
- package/templates/admin/node_modules/picomatch/LICENSE +21 -0
- package/templates/admin/node_modules/picomatch/README.md +743 -0
- package/templates/admin/node_modules/picomatch/index.js +17 -0
- package/templates/admin/node_modules/picomatch/lib/constants.js +184 -0
- package/templates/admin/node_modules/picomatch/lib/parse.js +1425 -0
- package/templates/admin/node_modules/picomatch/lib/picomatch.js +361 -0
- package/templates/admin/node_modules/picomatch/lib/scan.js +403 -0
- package/templates/admin/node_modules/picomatch/lib/utils.js +72 -0
- package/templates/admin/node_modules/picomatch/package.json +83 -0
- package/templates/admin/node_modules/picomatch/posix.js +3 -0
- package/templates/admin/node_modules/postcss/LICENSE +20 -0
- package/templates/admin/node_modules/postcss/README.md +27 -0
- package/templates/admin/node_modules/postcss/lib/at-rule.d.ts +139 -0
- package/templates/admin/node_modules/postcss/lib/at-rule.js +25 -0
- package/templates/admin/node_modules/postcss/lib/comment.d.ts +67 -0
- package/templates/admin/node_modules/postcss/lib/comment.js +13 -0
- package/templates/admin/node_modules/postcss/lib/container.d.ts +478 -0
- package/templates/admin/node_modules/postcss/lib/container.js +494 -0
- package/templates/admin/node_modules/postcss/lib/css-syntax-error.d.ts +247 -0
- package/templates/admin/node_modules/postcss/lib/css-syntax-error.js +133 -0
- package/templates/admin/node_modules/postcss/lib/declaration.d.ts +150 -0
- package/templates/admin/node_modules/postcss/lib/declaration.js +24 -0
- package/templates/admin/node_modules/postcss/lib/document.d.ts +68 -0
- package/templates/admin/node_modules/postcss/lib/document.js +33 -0
- package/templates/admin/node_modules/postcss/lib/fromJSON.d.ts +9 -0
- package/templates/admin/node_modules/postcss/lib/fromJSON.js +107 -0
- package/templates/admin/node_modules/postcss/lib/input.d.ts +226 -0
- package/templates/admin/node_modules/postcss/lib/input.js +282 -0
- package/templates/admin/node_modules/postcss/lib/lazy-result.d.ts +189 -0
- package/templates/admin/node_modules/postcss/lib/lazy-result.js +626 -0
- package/templates/admin/node_modules/postcss/lib/list.d.ts +60 -0
- package/templates/admin/node_modules/postcss/lib/list.js +59 -0
- package/templates/admin/node_modules/postcss/lib/map-generator.js +376 -0
- package/templates/admin/node_modules/postcss/lib/no-work-result.d.ts +45 -0
- package/templates/admin/node_modules/postcss/lib/no-work-result.js +137 -0
- package/templates/admin/node_modules/postcss/lib/node.d.ts +555 -0
- package/templates/admin/node_modules/postcss/lib/node.js +494 -0
- package/templates/admin/node_modules/postcss/lib/parse.d.ts +9 -0
- package/templates/admin/node_modules/postcss/lib/parse.js +42 -0
- package/templates/admin/node_modules/postcss/lib/parser.js +618 -0
- package/templates/admin/node_modules/postcss/lib/postcss.d.mts +66 -0
- package/templates/admin/node_modules/postcss/lib/postcss.d.ts +464 -0
- package/templates/admin/node_modules/postcss/lib/postcss.js +101 -0
- package/templates/admin/node_modules/postcss/lib/postcss.mjs +30 -0
- package/templates/admin/node_modules/postcss/lib/previous-map.d.ts +80 -0
- package/templates/admin/node_modules/postcss/lib/previous-map.js +176 -0
- package/templates/admin/node_modules/postcss/lib/processor.d.ts +114 -0
- package/templates/admin/node_modules/postcss/lib/processor.js +67 -0
- package/templates/admin/node_modules/postcss/lib/result.d.ts +204 -0
- package/templates/admin/node_modules/postcss/lib/result.js +42 -0
- package/templates/admin/node_modules/postcss/lib/root.d.ts +86 -0
- package/templates/admin/node_modules/postcss/lib/root.js +76 -0
- package/templates/admin/node_modules/postcss/lib/rule.d.ts +126 -0
- package/templates/admin/node_modules/postcss/lib/rule.js +27 -0
- package/templates/admin/node_modules/postcss/lib/stringifier.d.ts +45 -0
- package/templates/admin/node_modules/postcss/lib/stringifier.js +461 -0
- package/templates/admin/node_modules/postcss/lib/stringify.d.ts +9 -0
- package/templates/admin/node_modules/postcss/lib/stringify.js +11 -0
- package/templates/admin/node_modules/postcss/lib/symbols.js +5 -0
- package/templates/admin/node_modules/postcss/lib/terminal-highlight.js +70 -0
- package/templates/admin/node_modules/postcss/lib/tokenize.js +270 -0
- package/templates/admin/node_modules/postcss/lib/warn-once.js +13 -0
- package/templates/admin/node_modules/postcss/lib/warning.d.ts +146 -0
- package/templates/admin/node_modules/postcss/lib/warning.js +47 -0
- package/templates/admin/node_modules/postcss/package.json +88 -0
- package/templates/admin/node_modules/rolldown/LICENSE +25 -0
- package/templates/admin/node_modules/rolldown/README.md +11 -0
- package/templates/admin/node_modules/rolldown/THIRD-PARTY-LICENSE +33 -0
- package/templates/admin/node_modules/rolldown/bin/cli.mjs +11 -0
- package/templates/admin/node_modules/rolldown/dist/cli.d.mts +1 -0
- package/templates/admin/node_modules/rolldown/dist/cli.mjs +1208 -0
- package/templates/admin/node_modules/rolldown/dist/config.d.mts +26 -0
- package/templates/admin/node_modules/rolldown/dist/config.mjs +4 -0
- package/templates/admin/node_modules/rolldown/dist/experimental-default-runtime.mjs +116 -0
- package/templates/admin/node_modules/rolldown/dist/experimental-index.d.mts +324 -0
- package/templates/admin/node_modules/rolldown/dist/experimental-index.mjs +383 -0
- package/templates/admin/node_modules/rolldown/dist/experimental-runtime-base.mjs +95 -0
- package/templates/admin/node_modules/rolldown/dist/experimental-runtime-types.d.ts +177 -0
- package/templates/admin/node_modules/rolldown/dist/experimental-runtime.d.ts +177 -0
- package/templates/admin/node_modules/rolldown/dist/experimental-runtime.mjs +257 -0
- package/templates/admin/node_modules/rolldown/dist/filter-index.d.mts +196 -0
- package/templates/admin/node_modules/rolldown/dist/filter-index.mjs +376 -0
- package/templates/admin/node_modules/rolldown/dist/get-log-filter.d.mts +3 -0
- package/templates/admin/node_modules/rolldown/dist/get-log-filter.mjs +68 -0
- package/templates/admin/node_modules/rolldown/dist/index.d.mts +4 -0
- package/templates/admin/node_modules/rolldown/dist/index.mjs +56 -0
- package/templates/admin/node_modules/rolldown/dist/parallel-plugin-worker.d.mts +1 -0
- package/templates/admin/node_modules/rolldown/dist/parallel-plugin-worker.mjs +29 -0
- package/templates/admin/node_modules/rolldown/dist/parallel-plugin.d.mts +12 -0
- package/templates/admin/node_modules/rolldown/dist/parallel-plugin.mjs +6 -0
- package/templates/admin/node_modules/rolldown/dist/parse-ast-index.d.mts +30 -0
- package/templates/admin/node_modules/rolldown/dist/parse-ast-index.mjs +60 -0
- package/templates/admin/node_modules/rolldown/dist/plugins-index.d.mts +32 -0
- package/templates/admin/node_modules/rolldown/dist/plugins-index.mjs +40 -0
- package/templates/admin/node_modules/rolldown/dist/shared/binding-CtPG-2KR.mjs +675 -0
- package/templates/admin/node_modules/rolldown/dist/shared/binding-Og__jmUi.d.mts +2065 -0
- package/templates/admin/node_modules/rolldown/dist/shared/bindingify-input-options-4JJxbZl2.mjs +2416 -0
- package/templates/admin/node_modules/rolldown/dist/shared/constructors-Qrp2Xr6w.d.mts +35 -0
- package/templates/admin/node_modules/rolldown/dist/shared/constructors-ltBDfHX1.mjs +69 -0
- package/templates/admin/node_modules/rolldown/dist/shared/create-bundler-option-DSPiA5F7.mjs +3220 -0
- package/templates/admin/node_modules/rolldown/dist/shared/define-config-Demdg3_4.mjs +6 -0
- package/templates/admin/node_modules/rolldown/dist/shared/define-config-Nbz-lniw.d.mts +4101 -0
- package/templates/admin/node_modules/rolldown/dist/shared/dist-DKbukT1H.mjs +154 -0
- package/templates/admin/node_modules/rolldown/dist/shared/error-HDibX49O.mjs +85 -0
- package/templates/admin/node_modules/rolldown/dist/shared/get-log-filter-AjBknEEO.d.mts +34 -0
- package/templates/admin/node_modules/rolldown/dist/shared/load-config-BMUrE9HH.mjs +137 -0
- package/templates/admin/node_modules/rolldown/dist/shared/logging-xuHO4mAy.d.mts +50 -0
- package/templates/admin/node_modules/rolldown/dist/shared/logs-DmYCAKcW.mjs +192 -0
- package/templates/admin/node_modules/rolldown/dist/shared/misc-DOSKtd97.mjs +29 -0
- package/templates/admin/node_modules/rolldown/dist/shared/normalize-string-or-regex-DWz4it3p.mjs +68 -0
- package/templates/admin/node_modules/rolldown/dist/shared/parse-D0g29RgN.mjs +74 -0
- package/templates/admin/node_modules/rolldown/dist/shared/prompt-CH6TK0bC.mjs +885 -0
- package/templates/admin/node_modules/rolldown/dist/shared/resolve-tsconfig-CLYpUIZC.mjs +128 -0
- package/templates/admin/node_modules/rolldown/dist/shared/rolldown-C9Hfg50O.mjs +179 -0
- package/templates/admin/node_modules/rolldown/dist/shared/transform-DR4CXeQm.d.mts +152 -0
- package/templates/admin/node_modules/rolldown/dist/shared/watch-UbzgabQn.mjs +377 -0
- package/templates/admin/node_modules/rolldown/dist/utils-index.d.mts +375 -0
- package/templates/admin/node_modules/rolldown/dist/utils-index.mjs +2416 -0
- package/templates/admin/node_modules/rolldown/package.json +164 -0
- package/templates/admin/node_modules/source-map-js/LICENSE +28 -0
- package/templates/admin/node_modules/source-map-js/README.md +765 -0
- package/templates/admin/node_modules/source-map-js/lib/array-set.js +121 -0
- package/templates/admin/node_modules/source-map-js/lib/base64-vlq.js +140 -0
- package/templates/admin/node_modules/source-map-js/lib/base64.js +67 -0
- package/templates/admin/node_modules/source-map-js/lib/binary-search.js +111 -0
- package/templates/admin/node_modules/source-map-js/lib/mapping-list.js +79 -0
- package/templates/admin/node_modules/source-map-js/lib/quick-sort.js +132 -0
- package/templates/admin/node_modules/source-map-js/lib/source-map-consumer.d.ts +1 -0
- package/templates/admin/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
- package/templates/admin/node_modules/source-map-js/lib/source-map-generator.d.ts +1 -0
- package/templates/admin/node_modules/source-map-js/lib/source-map-generator.js +444 -0
- package/templates/admin/node_modules/source-map-js/lib/source-node.d.ts +1 -0
- package/templates/admin/node_modules/source-map-js/lib/source-node.js +413 -0
- package/templates/admin/node_modules/source-map-js/lib/util.js +594 -0
- package/templates/admin/node_modules/source-map-js/package.json +71 -0
- package/templates/admin/node_modules/source-map-js/source-map.d.ts +104 -0
- package/templates/admin/node_modules/source-map-js/source-map.js +8 -0
- package/templates/admin/node_modules/tinyglobby/LICENSE +21 -0
- package/templates/admin/node_modules/tinyglobby/README.md +25 -0
- package/templates/admin/node_modules/tinyglobby/dist/index.cjs +335 -0
- package/templates/admin/node_modules/tinyglobby/dist/index.d.cts +148 -0
- package/templates/admin/node_modules/tinyglobby/dist/index.d.mts +148 -0
- package/templates/admin/node_modules/tinyglobby/dist/index.mjs +307 -0
- package/templates/admin/node_modules/tinyglobby/package.json +70 -0
- package/templates/admin/node_modules/typescript/LICENSE +55 -0
- package/templates/admin/node_modules/typescript/NOTICE.txt +436 -0
- package/templates/admin/node_modules/typescript/README.md +49 -0
- package/templates/admin/node_modules/typescript/bin/tsc +2 -0
- package/templates/admin/node_modules/typescript/dist/api/async/api.d.ts +529 -0
- package/templates/admin/node_modules/typescript/dist/api/async/api.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/async/api.js +1657 -0
- package/templates/admin/node_modules/typescript/dist/api/async/api.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/async/client.d.ts +39 -0
- package/templates/admin/node_modules/typescript/dist/api/async/client.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/async/client.js +211 -0
- package/templates/admin/node_modules/typescript/dist/api/async/client.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/async/types.d.ts +310 -0
- package/templates/admin/node_modules/typescript/dist/api/async/types.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/async/types.js +2 -0
- package/templates/admin/node_modules/typescript/dist/api/async/types.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/compilerOptions.d.ts +109 -0
- package/templates/admin/node_modules/typescript/dist/api/compilerOptions.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/compilerOptions.js +2 -0
- package/templates/admin/node_modules/typescript/dist/api/compilerOptions.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/fs.d.ts +23 -0
- package/templates/admin/node_modules/typescript/dist/api/fs.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/fs.js +109 -0
- package/templates/admin/node_modules/typescript/dist/api/fs.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/node/encoder.d.ts +15 -0
- package/templates/admin/node_modules/typescript/dist/api/node/encoder.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/node/encoder.generated.d.ts +5 -0
- package/templates/admin/node_modules/typescript/dist/api/node/encoder.generated.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/node/encoder.generated.js +74 -0
- package/templates/admin/node_modules/typescript/dist/api/node/encoder.generated.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/node/encoder.js +287 -0
- package/templates/admin/node_modules/typescript/dist/api/node/encoder.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/node/msgpack.d.ts +32 -0
- package/templates/admin/node_modules/typescript/dist/api/node/msgpack.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/node/msgpack.js +213 -0
- package/templates/admin/node_modules/typescript/dist/api/node/msgpack.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/node/node.d.ts +76 -0
- package/templates/admin/node_modules/typescript/dist/api/node/node.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/node/node.generated.d.ts +182 -0
- package/templates/admin/node_modules/typescript/dist/api/node/node.generated.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/node/node.generated.js +835 -0
- package/templates/admin/node_modules/typescript/dist/api/node/node.generated.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/node/node.infrastructure.d.ts +62 -0
- package/templates/admin/node_modules/typescript/dist/api/node/node.infrastructure.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/node/node.infrastructure.js +122 -0
- package/templates/admin/node_modules/typescript/dist/api/node/node.infrastructure.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/node/node.js +298 -0
- package/templates/admin/node_modules/typescript/dist/api/node/node.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/node/protocol.d.ts +29 -0
- package/templates/admin/node_modules/typescript/dist/api/node/protocol.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/node/protocol.generated.d.ts +4 -0
- package/templates/admin/node_modules/typescript/dist/api/node/protocol.generated.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/node/protocol.generated.js +241 -0
- package/templates/admin/node_modules/typescript/dist/api/node/protocol.generated.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/node/protocol.js +30 -0
- package/templates/admin/node_modules/typescript/dist/api/node/protocol.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/node/wtf8.d.ts +6 -0
- package/templates/admin/node_modules/typescript/dist/api/node/wtf8.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/node/wtf8.js +61 -0
- package/templates/admin/node_modules/typescript/dist/api/node/wtf8.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/options.d.ts +32 -0
- package/templates/admin/node_modules/typescript/dist/api/options.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/options.js +11 -0
- package/templates/admin/node_modules/typescript/dist/api/options.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/path.d.ts +110 -0
- package/templates/admin/node_modules/typescript/dist/api/path.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/path.js +508 -0
- package/templates/admin/node_modules/typescript/dist/api/path.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/proto.d.ts +239 -0
- package/templates/admin/node_modules/typescript/dist/api/proto.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/proto.js +37 -0
- package/templates/admin/node_modules/typescript/dist/api/proto.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/sourceFileCache.d.ts +79 -0
- package/templates/admin/node_modules/typescript/dist/api/sourceFileCache.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/sourceFileCache.js +169 -0
- package/templates/admin/node_modules/typescript/dist/api/sourceFileCache.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/sync/api.d.ts +529 -0
- package/templates/admin/node_modules/typescript/dist/api/sync/api.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/sync/api.js +1665 -0
- package/templates/admin/node_modules/typescript/dist/api/sync/api.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/sync/client.d.ts +30 -0
- package/templates/admin/node_modules/typescript/dist/api/sync/client.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/sync/client.js +124 -0
- package/templates/admin/node_modules/typescript/dist/api/sync/client.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/sync/types.d.ts +310 -0
- package/templates/admin/node_modules/typescript/dist/api/sync/types.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/sync/types.js +2 -0
- package/templates/admin/node_modules/typescript/dist/api/sync/types.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/syncChannel.d.ts +114 -0
- package/templates/admin/node_modules/typescript/dist/api/syncChannel.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/syncChannel.js +508 -0
- package/templates/admin/node_modules/typescript/dist/api/syncChannel.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/timing.d.ts +175 -0
- package/templates/admin/node_modules/typescript/dist/api/timing.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/api/timing.js +149 -0
- package/templates/admin/node_modules/typescript/dist/api/timing.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/ast.d.ts +100 -0
- package/templates/admin/node_modules/typescript/dist/ast/ast.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/ast.generated.d.ts +1161 -0
- package/templates/admin/node_modules/typescript/dist/ast/ast.generated.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/ast.generated.js +4 -0
- package/templates/admin/node_modules/typescript/dist/ast/ast.generated.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/ast.js +7 -0
- package/templates/admin/node_modules/typescript/dist/ast/ast.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/astnav.d.ts +19 -0
- package/templates/admin/node_modules/typescript/dist/ast/astnav.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/astnav.js +596 -0
- package/templates/admin/node_modules/typescript/dist/ast/astnav.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/clone.d.ts +16 -0
- package/templates/admin/node_modules/typescript/dist/ast/clone.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/clone.js +104 -0
- package/templates/admin/node_modules/typescript/dist/ast/clone.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/factory.generated.d.ts +520 -0
- package/templates/admin/node_modules/typescript/dist/ast/factory.generated.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/factory.generated.js +3057 -0
- package/templates/admin/node_modules/typescript/dist/ast/factory.generated.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/index.d.ts +20 -0
- package/templates/admin/node_modules/typescript/dist/ast/index.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/index.js +20 -0
- package/templates/admin/node_modules/typescript/dist/ast/index.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/is.d.ts +35 -0
- package/templates/admin/node_modules/typescript/dist/ast/is.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/is.generated.d.ts +329 -0
- package/templates/admin/node_modules/typescript/dist/ast/is.generated.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/is.generated.js +1103 -0
- package/templates/admin/node_modules/typescript/dist/ast/is.generated.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/is.js +233 -0
- package/templates/admin/node_modules/typescript/dist/ast/is.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/jsdoc.d.ts +11 -0
- package/templates/admin/node_modules/typescript/dist/ast/jsdoc.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/jsdoc.js +202 -0
- package/templates/admin/node_modules/typescript/dist/ast/jsdoc.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/scanner.d.ts +97 -0
- package/templates/admin/node_modules/typescript/dist/ast/scanner.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/scanner.js +2230 -0
- package/templates/admin/node_modules/typescript/dist/ast/scanner.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/utils.d.ts +17 -0
- package/templates/admin/node_modules/typescript/dist/ast/utils.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/utils.js +67 -0
- package/templates/admin/node_modules/typescript/dist/ast/utils.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/visitor.d.ts +14 -0
- package/templates/admin/node_modules/typescript/dist/ast/visitor.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/visitor.generated.d.ts +50 -0
- package/templates/admin/node_modules/typescript/dist/ast/visitor.generated.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/visitor.generated.js +978 -0
- package/templates/admin/node_modules/typescript/dist/ast/visitor.generated.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/ast/visitor.js +47 -0
- package/templates/admin/node_modules/typescript/dist/ast/visitor.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/characterCodes.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/characterCodes.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/characterCodes.enum.d.ts +129 -0
- package/templates/admin/node_modules/typescript/dist/enums/characterCodes.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/characterCodes.enum.js +132 -0
- package/templates/admin/node_modules/typescript/dist/enums/characterCodes.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/characterCodes.js +130 -0
- package/templates/admin/node_modules/typescript/dist/enums/characterCodes.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/commentDirectiveType.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/commentDirectiveType.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/commentDirectiveType.enum.d.ts +5 -0
- package/templates/admin/node_modules/typescript/dist/enums/commentDirectiveType.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/commentDirectiveType.enum.js +6 -0
- package/templates/admin/node_modules/typescript/dist/enums/commentDirectiveType.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/commentDirectiveType.js +6 -0
- package/templates/admin/node_modules/typescript/dist/enums/commentDirectiveType.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/completionItemKind.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/completionItemKind.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/completionItemKind.enum.d.ts +28 -0
- package/templates/admin/node_modules/typescript/dist/enums/completionItemKind.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/completionItemKind.enum.js +30 -0
- package/templates/admin/node_modules/typescript/dist/enums/completionItemKind.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/completionItemKind.js +30 -0
- package/templates/admin/node_modules/typescript/dist/enums/completionItemKind.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/diagnosticCategory.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/diagnosticCategory.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/diagnosticCategory.enum.d.ts +7 -0
- package/templates/admin/node_modules/typescript/dist/enums/diagnosticCategory.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/diagnosticCategory.enum.js +9 -0
- package/templates/admin/node_modules/typescript/dist/enums/diagnosticCategory.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/diagnosticCategory.js +9 -0
- package/templates/admin/node_modules/typescript/dist/enums/diagnosticCategory.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/elementFlags.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/elementFlags.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/elementFlags.enum.d.ts +12 -0
- package/templates/admin/node_modules/typescript/dist/enums/elementFlags.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/elementFlags.enum.js +14 -0
- package/templates/admin/node_modules/typescript/dist/enums/elementFlags.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/elementFlags.js +14 -0
- package/templates/admin/node_modules/typescript/dist/enums/elementFlags.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/internalSymbolName.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/internalSymbolName.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/internalSymbolName.enum.d.ts +23 -0
- package/templates/admin/node_modules/typescript/dist/enums/internalSymbolName.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/internalSymbolName.enum.js +25 -0
- package/templates/admin/node_modules/typescript/dist/enums/internalSymbolName.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/internalSymbolName.js +25 -0
- package/templates/admin/node_modules/typescript/dist/enums/internalSymbolName.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/jsxEmit.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/jsxEmit.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/jsxEmit.enum.d.ts +9 -0
- package/templates/admin/node_modules/typescript/dist/enums/jsxEmit.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/jsxEmit.enum.js +11 -0
- package/templates/admin/node_modules/typescript/dist/enums/jsxEmit.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/jsxEmit.js +11 -0
- package/templates/admin/node_modules/typescript/dist/enums/jsxEmit.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/languageVariant.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/languageVariant.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/languageVariant.enum.d.ts +5 -0
- package/templates/admin/node_modules/typescript/dist/enums/languageVariant.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/languageVariant.enum.js +6 -0
- package/templates/admin/node_modules/typescript/dist/enums/languageVariant.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/languageVariant.js +6 -0
- package/templates/admin/node_modules/typescript/dist/enums/languageVariant.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/modifierFlags.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/modifierFlags.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/modifierFlags.enum.d.ts +42 -0
- package/templates/admin/node_modules/typescript/dist/enums/modifierFlags.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/modifierFlags.enum.js +44 -0
- package/templates/admin/node_modules/typescript/dist/enums/modifierFlags.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/modifierFlags.js +44 -0
- package/templates/admin/node_modules/typescript/dist/enums/modifierFlags.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/moduleDetectionKind.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/moduleDetectionKind.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/moduleDetectionKind.enum.d.ts +7 -0
- package/templates/admin/node_modules/typescript/dist/enums/moduleDetectionKind.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/moduleDetectionKind.enum.js +9 -0
- package/templates/admin/node_modules/typescript/dist/enums/moduleDetectionKind.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/moduleDetectionKind.js +9 -0
- package/templates/admin/node_modules/typescript/dist/enums/moduleDetectionKind.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/moduleKind.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/moduleKind.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/moduleKind.enum.d.ts +17 -0
- package/templates/admin/node_modules/typescript/dist/enums/moduleKind.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/moduleKind.enum.js +19 -0
- package/templates/admin/node_modules/typescript/dist/enums/moduleKind.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/moduleKind.js +19 -0
- package/templates/admin/node_modules/typescript/dist/enums/moduleKind.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/moduleResolutionKind.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/moduleResolutionKind.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/moduleResolutionKind.enum.d.ts +9 -0
- package/templates/admin/node_modules/typescript/dist/enums/moduleResolutionKind.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/moduleResolutionKind.enum.js +11 -0
- package/templates/admin/node_modules/typescript/dist/enums/moduleResolutionKind.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/moduleResolutionKind.js +11 -0
- package/templates/admin/node_modules/typescript/dist/enums/moduleResolutionKind.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/newLineKind.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/newLineKind.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/newLineKind.enum.d.ts +6 -0
- package/templates/admin/node_modules/typescript/dist/enums/newLineKind.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/newLineKind.enum.js +8 -0
- package/templates/admin/node_modules/typescript/dist/enums/newLineKind.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/newLineKind.js +8 -0
- package/templates/admin/node_modules/typescript/dist/enums/newLineKind.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/nodeBuilderFlags.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/nodeBuilderFlags.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.d.ts +36 -0
- package/templates/admin/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.js +38 -0
- package/templates/admin/node_modules/typescript/dist/enums/nodeBuilderFlags.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/nodeBuilderFlags.js +38 -0
- package/templates/admin/node_modules/typescript/dist/enums/nodeBuilderFlags.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/nodeFlags.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/nodeFlags.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/nodeFlags.enum.d.ts +44 -0
- package/templates/admin/node_modules/typescript/dist/enums/nodeFlags.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/nodeFlags.enum.js +46 -0
- package/templates/admin/node_modules/typescript/dist/enums/nodeFlags.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/nodeFlags.js +46 -0
- package/templates/admin/node_modules/typescript/dist/enums/nodeFlags.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/objectFlags.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/objectFlags.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/objectFlags.enum.d.ts +50 -0
- package/templates/admin/node_modules/typescript/dist/enums/objectFlags.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/objectFlags.enum.js +52 -0
- package/templates/admin/node_modules/typescript/dist/enums/objectFlags.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/objectFlags.js +52 -0
- package/templates/admin/node_modules/typescript/dist/enums/objectFlags.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/outerExpressionKinds.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/outerExpressionKinds.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/outerExpressionKinds.enum.d.ts +16 -0
- package/templates/admin/node_modules/typescript/dist/enums/outerExpressionKinds.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/outerExpressionKinds.enum.js +18 -0
- package/templates/admin/node_modules/typescript/dist/enums/outerExpressionKinds.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/outerExpressionKinds.js +18 -0
- package/templates/admin/node_modules/typescript/dist/enums/outerExpressionKinds.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/regularExpressionFlags.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/regularExpressionFlags.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/regularExpressionFlags.enum.d.ts +13 -0
- package/templates/admin/node_modules/typescript/dist/enums/regularExpressionFlags.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/regularExpressionFlags.enum.js +14 -0
- package/templates/admin/node_modules/typescript/dist/enums/regularExpressionFlags.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/regularExpressionFlags.js +14 -0
- package/templates/admin/node_modules/typescript/dist/enums/regularExpressionFlags.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/scriptKind.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/scriptKind.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/scriptKind.enum.d.ts +11 -0
- package/templates/admin/node_modules/typescript/dist/enums/scriptKind.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/scriptKind.enum.js +12 -0
- package/templates/admin/node_modules/typescript/dist/enums/scriptKind.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/scriptKind.js +12 -0
- package/templates/admin/node_modules/typescript/dist/enums/scriptKind.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/scriptTarget.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/scriptTarget.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/scriptTarget.enum.d.ts +17 -0
- package/templates/admin/node_modules/typescript/dist/enums/scriptTarget.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/scriptTarget.enum.js +18 -0
- package/templates/admin/node_modules/typescript/dist/enums/scriptTarget.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/scriptTarget.js +18 -0
- package/templates/admin/node_modules/typescript/dist/enums/scriptTarget.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/signatureFlags.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/signatureFlags.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/signatureFlags.enum.d.ts +15 -0
- package/templates/admin/node_modules/typescript/dist/enums/signatureFlags.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/signatureFlags.enum.js +17 -0
- package/templates/admin/node_modules/typescript/dist/enums/signatureFlags.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/signatureFlags.js +17 -0
- package/templates/admin/node_modules/typescript/dist/enums/signatureFlags.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/signatureKind.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/signatureKind.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/signatureKind.enum.d.ts +5 -0
- package/templates/admin/node_modules/typescript/dist/enums/signatureKind.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/signatureKind.enum.js +7 -0
- package/templates/admin/node_modules/typescript/dist/enums/signatureKind.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/signatureKind.js +7 -0
- package/templates/admin/node_modules/typescript/dist/enums/signatureKind.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/symbolFlags.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/symbolFlags.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/symbolFlags.enum.d.ts +71 -0
- package/templates/admin/node_modules/typescript/dist/enums/symbolFlags.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/symbolFlags.enum.js +73 -0
- package/templates/admin/node_modules/typescript/dist/enums/symbolFlags.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/symbolFlags.js +73 -0
- package/templates/admin/node_modules/typescript/dist/enums/symbolFlags.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/syntaxKind.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/syntaxKind.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/syntaxKind.enum.d.ts +389 -0
- package/templates/admin/node_modules/typescript/dist/enums/syntaxKind.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/syntaxKind.enum.js +391 -0
- package/templates/admin/node_modules/typescript/dist/enums/syntaxKind.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/syntaxKind.js +391 -0
- package/templates/admin/node_modules/typescript/dist/enums/syntaxKind.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/tokenFlags.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/tokenFlags.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/tokenFlags.enum.d.ts +30 -0
- package/templates/admin/node_modules/typescript/dist/enums/tokenFlags.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/tokenFlags.enum.js +32 -0
- package/templates/admin/node_modules/typescript/dist/enums/tokenFlags.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/tokenFlags.js +32 -0
- package/templates/admin/node_modules/typescript/dist/enums/tokenFlags.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/typeFlags.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/typeFlags.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/typeFlags.enum.d.ts +76 -0
- package/templates/admin/node_modules/typescript/dist/enums/typeFlags.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/typeFlags.enum.js +78 -0
- package/templates/admin/node_modules/typescript/dist/enums/typeFlags.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/typeFlags.js +78 -0
- package/templates/admin/node_modules/typescript/dist/enums/typeFlags.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/typePredicateKind.d.ts +2 -0
- package/templates/admin/node_modules/typescript/dist/enums/typePredicateKind.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/typePredicateKind.enum.d.ts +7 -0
- package/templates/admin/node_modules/typescript/dist/enums/typePredicateKind.enum.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/typePredicateKind.enum.js +9 -0
- package/templates/admin/node_modules/typescript/dist/enums/typePredicateKind.enum.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/enums/typePredicateKind.js +9 -0
- package/templates/admin/node_modules/typescript/dist/enums/typePredicateKind.js.map +1 -0
- package/templates/admin/node_modules/typescript/dist/internal/utils.d.ts +23 -0
- package/templates/admin/node_modules/typescript/dist/internal/utils.d.ts.map +1 -0
- package/templates/admin/node_modules/typescript/dist/internal/utils.js +25 -0
- package/templates/admin/node_modules/typescript/dist/internal/utils.js.map +1 -0
- package/templates/admin/node_modules/typescript/lib/getExePath.d.ts +2 -0
- package/templates/admin/node_modules/typescript/lib/getExePath.js +70 -0
- package/templates/admin/node_modules/typescript/lib/tsc.js +28 -0
- package/templates/admin/node_modules/typescript/lib/version.cjs +3 -0
- package/templates/admin/node_modules/typescript/lib/version.d.cts +2 -0
- package/templates/admin/node_modules/typescript/package.json +87 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/License.txt +11 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/README.md +54 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/main.d.ts +17 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/main.js +83 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/ril.d.ts +22 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/browser/ril.js +210 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/api.d.ts +14 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/api.js +87 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/cancellation.d.ts +32 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/cancellation.js +132 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/connection.d.ts +367 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/connection.js +1271 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/disposable.d.ts +9 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/disposable.js +16 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/encoding.d.ts +52 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/encoding.js +70 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/events.d.ts +39 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/events.js +135 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/is.d.ts +7 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/is.js +34 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/linkedMap.d.ts +55 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/linkedMap.js +412 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageBuffer.d.ts +18 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageBuffer.js +155 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageReader.d.ts +77 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageReader.js +246 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageWriter.d.ts +60 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messageWriter.js +157 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messages.d.ts +369 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/messages.js +436 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/ral.d.ts +74 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/ral.js +23 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/semaphore.d.ts +10 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/semaphore.js +74 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.d.ts +15 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +77 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/main.d.ts +58 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/main.js +289 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/ril.d.ts +12 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/lib/node/ril.js +163 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/package.json +54 -0
- package/templates/admin/node_modules/typescript/vendor/vscode-jsonrpc/typings/thenable.d.ts +5 -0
- package/templates/admin/node_modules/vite/LICENSE.md +2322 -0
- package/templates/admin/node_modules/vite/README.md +20 -0
- package/templates/admin/node_modules/vite/bin/openChrome.js +68 -0
- package/templates/admin/node_modules/vite/bin/vite.js +79 -0
- package/templates/admin/node_modules/vite/client.d.ts +285 -0
- package/templates/admin/node_modules/vite/dist/client/bundledDevClient.mjs +1829 -0
- package/templates/admin/node_modules/vite/dist/client/client.mjs +1244 -0
- package/templates/admin/node_modules/vite/dist/client/env.mjs +18 -0
- package/templates/admin/node_modules/vite/dist/node/chunks/build.js +5494 -0
- package/templates/admin/node_modules/vite/dist/node/chunks/dist.js +6732 -0
- package/templates/admin/node_modules/vite/dist/node/chunks/lib.js +371 -0
- package/templates/admin/node_modules/vite/dist/node/chunks/moduleRunnerTransport.d.ts +95 -0
- package/templates/admin/node_modules/vite/dist/node/chunks/node.js +37269 -0
- package/templates/admin/node_modules/vite/dist/node/chunks/postcss-import.js +465 -0
- package/templates/admin/node_modules/vite/dist/node/cli.js +835 -0
- package/templates/admin/node_modules/vite/dist/node/index.d.ts +4069 -0
- package/templates/admin/node_modules/vite/dist/node/index.js +2 -0
- package/templates/admin/node_modules/vite/dist/node/internal.d.ts +2 -0
- package/templates/admin/node_modules/vite/dist/node/internal.js +2 -0
- package/templates/admin/node_modules/vite/dist/node/module-runner.d.ts +313 -0
- package/templates/admin/node_modules/vite/dist/node/module-runner.js +1288 -0
- package/templates/admin/node_modules/vite/misc/false.js +1 -0
- package/templates/admin/node_modules/vite/misc/true.js +1 -0
- package/templates/admin/node_modules/vite/package.json +194 -0
- package/templates/admin/node_modules/vite/types/customEvent.d.ts +81 -0
- package/templates/admin/node_modules/vite/types/hmrPayload.d.ts +94 -0
- package/templates/admin/node_modules/vite/types/hot.d.ts +39 -0
- package/templates/admin/node_modules/vite/types/import-meta.d.ts +5 -0
- package/templates/admin/node_modules/vite/types/importGlob.d.ts +131 -0
- package/templates/admin/node_modules/vite/types/importMeta.d.ts +30 -0
- package/templates/admin/node_modules/vite/types/internal/cssPreprocessorOptions.d.ts +44 -0
- package/templates/admin/node_modules/vite/types/internal/esbuildOptions.d.ts +28 -0
- package/templates/admin/node_modules/vite/types/internal/lightningcssOptions.d.ts +18 -0
- package/templates/admin/node_modules/vite/types/internal/rollupTypeCompat.d.ts +24 -0
- package/templates/admin/node_modules/vite/types/internal/terserOptions.d.ts +11 -0
- package/templates/admin/node_modules/vite/types/metadata.d.ts +47 -0
- package/templates/admin/src/features/dashboard/{components → overview/components}/dashboard-chart.js +28 -21
- package/templates/admin/src/features/dashboard/todos/pages/todo-approval-page.js +5 -0
- package/templates/admin/src/features/ops/deploys/pages/deploy-list-page.js +5 -0
- package/templates/admin/src/features/ops/services/pages/service-list-page.js +5 -0
- package/templates/admin/src/features/{dicts → system/dicts}/api/dict.mgr.d.ts +24 -17
- package/templates/admin/src/features/{dicts → system/dicts}/api/dict.mgr.js +24 -14
- package/templates/admin/src/features/{dicts → system/dicts}/api/dict.mock.js +22 -4
- package/templates/admin/src/features/{dicts → system/dicts}/api/dict.state.d.ts +5 -0
- package/templates/admin/src/features/{dicts → system/dicts}/api/dict.state.js +39 -8
- package/templates/admin/src/features/{dicts → system/dicts}/components/dict-editor-dialog.js +1 -1
- package/templates/admin/src/features/{dicts → system/dicts}/pages/dict-list-page.js +41 -21
- package/templates/admin/src/features/{members → system/members}/api/member.mgr.d.ts +10 -9
- package/templates/admin/src/features/{members → system/members}/api/member.mgr.js +8 -3
- package/templates/admin/src/features/{members → system/members}/api/member.mock.js +1 -1
- package/templates/admin/src/features/{members → system/members}/api/member.req.d.ts +1 -1
- package/templates/admin/src/features/{members → system/members}/api/member.req.js +3 -1
- package/templates/admin/src/features/{members → system/members}/api/member.state.js +4 -4
- package/templates/admin/src/features/{members → system/members}/components/member-table.js +1 -1
- package/templates/admin/src/features/{permissions → system/permissions}/api/permission.mgr.d.ts +11 -9
- package/templates/admin/src/features/{permissions → system/permissions}/api/permission.mgr.js +10 -5
- package/templates/admin/src/features/{permissions → system/permissions}/api/permission.mock.js +1 -1
- package/templates/admin/src/features/{permissions → system/permissions}/api/permission.state.js +4 -4
- package/templates/admin/src/features/{permissions → system/permissions}/pages/permission-list-page.js +1 -1
- package/templates/admin/src/features/{roles → system/roles}/api/role.mgr.d.ts +19 -6
- package/templates/admin/src/features/{roles → system/roles}/api/role.mgr.js +8 -3
- package/templates/admin/src/features/{roles → system/roles}/api/role.mock.js +1 -1
- package/templates/admin/src/features/{roles → system/roles}/api/role.state.js +4 -4
- package/templates/admin/src/features/{roles → system/roles}/components/role-table.js +1 -1
- package/templates/admin/src/main.js +16 -12
- package/templates/admin/src/{ui/row-action-button.js → shared/ui.buttons.js} +1 -0
- package/templates/admin/src/{ui/placeholder-page.js → shared/ui.pages.js} +1 -0
- package/templates/admin/src/shell/api/shell.mock.js +42 -0
- package/templates/admin/src/shell/api/shell.req.js +17 -0
- package/templates/admin/src/shell/api/shell.state.js +90 -0
- package/templates/admin/src/shell/api/shell.views.js +19 -0
- package/templates/admin/src/shell/components/admin-shell.js +42 -0
- package/templates/admin/src/{ui → shell/components}/app-navbar.js +11 -12
- package/templates/admin/src/shell/components/app-sidebar.js +44 -0
- package/templates/admin/src/{ui → shell/components}/sidebar-menu.js +3 -3
- package/templates/admin/src/shell/router.js +40 -0
- package/templates/admin/src/app/admin-shell.js +0 -51
- package/templates/admin/src/app/modules.js +0 -37
- package/templates/admin/src/app/router.js +0 -20
- package/templates/admin/src/ui/app-sidebar.js +0 -27
- /package/templates/admin/src/features/dashboard/{pages → overview/pages}/dashboard-overview-page.js +0 -0
- /package/templates/admin/src/features/{dicts → system/dicts}/api/dict.views.d.ts +0 -0
- /package/templates/admin/src/features/{dicts → system/dicts}/api/dict.views.js +0 -0
- /package/templates/admin/src/features/{dicts → system/dicts}/components/dict-item-form-dialog.js +0 -0
- /package/templates/admin/src/features/{dicts → system/dicts}/utils/options.js +0 -0
- /package/templates/admin/src/features/{members → system/members}/api/member.state.d.ts +0 -0
- /package/templates/admin/src/features/{members → system/members}/api/member.views.d.ts +0 -0
- /package/templates/admin/src/features/{members → system/members}/api/member.views.js +0 -0
- /package/templates/admin/src/features/{members → system/members}/components/member-form-dialog.js +0 -0
- /package/templates/admin/src/features/{members → system/members}/components/member-toolbar.js +0 -0
- /package/templates/admin/src/features/{members → system/members}/pages/member-list-page.js +0 -0
- /package/templates/admin/src/features/{members → system/members}/utils/options.d.ts +0 -0
- /package/templates/admin/src/features/{members → system/members}/utils/options.js +0 -0
- /package/templates/admin/src/features/{permissions → system/permissions}/api/permission.state.d.ts +0 -0
- /package/templates/admin/src/features/{permissions → system/permissions}/api/permission.views.d.ts +0 -0
- /package/templates/admin/src/features/{permissions → system/permissions}/api/permission.views.js +0 -0
- /package/templates/admin/src/features/{permissions → system/permissions}/components/permission-form-dialog.js +0 -0
- /package/templates/admin/src/features/{roles → system/roles}/api/role.state.d.ts +0 -0
- /package/templates/admin/src/features/{roles → system/roles}/api/role.views.d.ts +0 -0
- /package/templates/admin/src/features/{roles → system/roles}/api/role.views.js +0 -0
- /package/templates/admin/src/features/{roles → system/roles}/components/role-form-dialog.js +0 -0
- /package/templates/admin/src/features/{roles → system/roles}/components/role-toolbar.js +0 -0
- /package/templates/admin/src/features/{roles → system/roles}/pages/role-list-page.js +0 -0
- /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,MAAM,WAAW,gBAAgB;IAC7B,2CAA2C;IAC3C,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,+CAA+C;IAC/C,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,UAAU,EAAE,kBAAkB,GAAG,MAAM,CAKtE;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,kBAAkB,GAAG,MAAM,CAKzE;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B,qDAAqD;IACrD,yBAAyB,EAAE,OAAO,CAAC;IACnC,6CAA6C;IAC7C,gBAAgB,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,cAAc;IA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;IACtB,SAAS,EAAE,YAAY,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,aAAa;IAC1B,GAAG,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,aAAa;IAC1B,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,mCAAmC;IAChD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,uBAAuB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,mCAAmC,CAAC;IACnD,MAAM,CAAC,EAAE,cAAc,CAAC;CAC3B;AAED,MAAM,WAAW,sBAAsB;IACnC,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,uBAAuB,EAAE,CAAC;CACtC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { documentURIToFileName, 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,EACR,IAAI,EACJ,UAAU,EACb,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AASlD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,oCAAoC;IACpC,IAAI,EAAE,UAAU,CAAC;IACjB,uCAAuC;IACvC,WAAW,EAAE,MAAM,CAAC;IACpB,8DAA8D;IAC9D,eAAe,EAAE,MAAM,CAAC;IACxB,oEAAoE;IACpE,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CACrB;AAED;;;;;;;;;;;;;;GAcG;AACH,qBAAa,eAAe;IACxB,wDAAwD;IACxD,OAAO,CAAC,KAAK,CAA4C;IACzD,qFAAqF;IACrF,OAAO,CAAC,oBAAoB,CAAkD;IAE9E;;;;;;;;OAQG;IACH,WAAW,CAAC,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS;IAQtF;;;OAGG;IACH,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,UAAU;IAmBlI;;;;;;OAMG;IACH,iBAAiB,CAAC,aAAa,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,GAAG,SAAS,GAAG,IAAI;IAmChH;;;;OAIG;IACH,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI;IAsBzC,OAAO,CAAC,SAAS;IAcjB;;OAEG;IACH,KAAK,IAAI,IAAI;IAKb;;OAEG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED;;OAEG;IACH,GAAG,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;CAG3B"}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Builds a composite ref key from a snapshot ID and project ID.
|
|
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,EAAE,CAAC;IAE9E;;;;;;;;OAQG;IACH,WAAW,CAAC,IAAU,EAAE,UAAkB,EAAE,SAAiB;QACzD,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,OAAO;YAAE,OAAO,SAAS,CAAC;QAC/B,MAAM,GAAG,GAAG,MAAM,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;QAC1C,MAAM,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,OAAO,KAAK,EAAE,IAAI,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,GAAG,CAAC,IAAU,EAAE,IAAgB,EAAE,eAAuB,EAAE,WAAmB,EAAE,UAAkB,EAAE,SAAiB;QACjH,IAAI,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACnC,IAAI,CAAC,OAAO,EAAE,CAAC;YACX,OAAO,GAAG,EAAE,CAAC;YACb,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,EAAE,OAAO,CAAC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