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,310 @@
|
|
|
1
|
+
import type { CompletionItemKind } from "#enums/completionItemKind";
|
|
2
|
+
import type { DiagnosticCategory } from "#enums/diagnosticCategory";
|
|
3
|
+
import type { ElementFlags } from "#enums/elementFlags";
|
|
4
|
+
import type { ObjectFlags } from "#enums/objectFlags";
|
|
5
|
+
import type { TypeFlags } from "#enums/typeFlags";
|
|
6
|
+
import type { TypePredicateKind } from "#enums/typePredicateKind";
|
|
7
|
+
import type { NodeHandle, Symbol } from "./api.ts";
|
|
8
|
+
/**
|
|
9
|
+
* A TypeScript type.
|
|
10
|
+
*
|
|
11
|
+
* Use TypeFlags to determine the specific kind of type and access
|
|
12
|
+
* kind-specific properties. For example:
|
|
13
|
+
*
|
|
14
|
+
* ```ts
|
|
15
|
+
* if (type.flags & TypeFlags.StringLiteral) {
|
|
16
|
+
* console.log((type as StringLiteralType).value); // string
|
|
17
|
+
* }
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export interface Type {
|
|
21
|
+
/** Type flags — use to determine the specific kind of type. */
|
|
22
|
+
readonly flags: TypeFlags;
|
|
23
|
+
/** Unique identifier for this type */
|
|
24
|
+
readonly id: number;
|
|
25
|
+
/** Get the symbol associated with this type, if any */
|
|
26
|
+
getSymbol(): Promise<Symbol | undefined>;
|
|
27
|
+
/** Get the type arguments of the type alias this type was instantiated from, if any */
|
|
28
|
+
getAliasTypeArguments(): Promise<readonly Type[]>;
|
|
29
|
+
/** Get the symbol of the type alias this type was instantiated from, if any */
|
|
30
|
+
getAliasSymbol(): Promise<Symbol | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* Get the base types of this type, or `undefined` if it is not a class or
|
|
33
|
+
* interface type.
|
|
34
|
+
*/
|
|
35
|
+
getBaseTypes(): Promise<readonly Type[] | undefined>;
|
|
36
|
+
/** Whether this type is a class or interface type */
|
|
37
|
+
isClassOrInterface(): this is InterfaceType;
|
|
38
|
+
/** Whether this type is a union type */
|
|
39
|
+
isUnionType(): this is UnionType;
|
|
40
|
+
/** Whether this type is an intersection type */
|
|
41
|
+
isIntersectionType(): this is IntersectionType;
|
|
42
|
+
/** Whether this type is an object type */
|
|
43
|
+
isObjectType(): this is ObjectType;
|
|
44
|
+
/** Whether this type is an intrinsic primitive type */
|
|
45
|
+
isIntrinsicType(): this is IntrinsicType;
|
|
46
|
+
/**
|
|
47
|
+
* Whether this is the error type — the placeholder produced when a type
|
|
48
|
+
* cannot be determined (e.g. an unresolved reference).
|
|
49
|
+
*/
|
|
50
|
+
isErrorType(): boolean;
|
|
51
|
+
/** Whether this type is a literal type */
|
|
52
|
+
isLiteralType(): this is LiteralType;
|
|
53
|
+
/** Whether this type is a string literal type */
|
|
54
|
+
isStringLiteralType(): this is StringLiteralType;
|
|
55
|
+
/** Whether this type is a number literal type */
|
|
56
|
+
isNumberLiteralType(): this is NumberLiteralType;
|
|
57
|
+
/** Whether this type is a bigint literal type */
|
|
58
|
+
isBigIntLiteralType(): this is BigIntLiteralType;
|
|
59
|
+
/** Whether this type is a boolean literal type */
|
|
60
|
+
isBooleanLiteralType(): this is BooleanLiteralType;
|
|
61
|
+
/** Whether this type is a type reference */
|
|
62
|
+
isTypeReference(): this is TypeReference;
|
|
63
|
+
/** Whether this type is a tuple type */
|
|
64
|
+
isTupleType(): this is TupleType;
|
|
65
|
+
/** Whether this type is an index type (`keyof T`) */
|
|
66
|
+
isIndexType(): this is IndexType;
|
|
67
|
+
/** Whether this type is an indexed access type (`T[K]`) */
|
|
68
|
+
isIndexedAccessType(): this is IndexedAccessType;
|
|
69
|
+
/** Whether this type is a conditional type */
|
|
70
|
+
isConditionalType(): this is ConditionalType;
|
|
71
|
+
/** Whether this type is a substitution type */
|
|
72
|
+
isSubstitutionType(): this is SubstitutionType;
|
|
73
|
+
/** Whether this type is a template literal type */
|
|
74
|
+
isTemplateLiteralType(): this is TemplateLiteralType;
|
|
75
|
+
/** Whether this type is a string mapping type */
|
|
76
|
+
isStringMappingType(): this is StringMappingType;
|
|
77
|
+
/** Whether this type is a type parameter */
|
|
78
|
+
isTypeParameter(): this is TypeParameter;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Freshable types (TypeFlags.Freshable) - literal types (TypeFlags.Literal) and computed enum types (TypeFlags.Enum).
|
|
82
|
+
*/
|
|
83
|
+
export interface FreshableType extends Type {
|
|
84
|
+
/** Get the fresh version of this type, if any */
|
|
85
|
+
getFreshType(): Promise<FreshableType | undefined>;
|
|
86
|
+
/** Get the regular (non-fresh) version of this type, if any */
|
|
87
|
+
getRegularType(): Promise<FreshableType | undefined>;
|
|
88
|
+
}
|
|
89
|
+
/** Literal types: StringLiteral, NumberLiteral, BigIntLiteral, BooleanLiteral */
|
|
90
|
+
export interface LiteralType extends FreshableType {
|
|
91
|
+
/** The literal value. Use TypeFlags to narrow to a specific literal subtype with a concrete value type. */
|
|
92
|
+
readonly value: string | number | boolean | bigint;
|
|
93
|
+
}
|
|
94
|
+
/** String literal types (TypeFlags.StringLiteral) */
|
|
95
|
+
export interface StringLiteralType extends LiteralType {
|
|
96
|
+
/** The string value of the literal */
|
|
97
|
+
readonly value: string;
|
|
98
|
+
}
|
|
99
|
+
/** Numeric literal types (TypeFlags.NumberLiteral) */
|
|
100
|
+
export interface NumberLiteralType extends LiteralType {
|
|
101
|
+
/** The numeric value of the literal */
|
|
102
|
+
readonly value: number;
|
|
103
|
+
}
|
|
104
|
+
/** BigInt literal types (TypeFlags.BigIntLiteral) */
|
|
105
|
+
export interface BigIntLiteralType extends LiteralType {
|
|
106
|
+
/** The bigint value of the literal */
|
|
107
|
+
readonly value: bigint;
|
|
108
|
+
}
|
|
109
|
+
/** Boolean literal types (TypeFlags.BooleanLiteral) */
|
|
110
|
+
export interface BooleanLiteralType extends LiteralType {
|
|
111
|
+
/** The boolean value of the literal */
|
|
112
|
+
readonly value: boolean;
|
|
113
|
+
}
|
|
114
|
+
/** Object types (TypeFlags.Object) */
|
|
115
|
+
export interface ObjectType extends Type {
|
|
116
|
+
/** Object flags — use to determine the specific kind of object type. */
|
|
117
|
+
readonly objectFlags: ObjectFlags;
|
|
118
|
+
}
|
|
119
|
+
/** Type references (ObjectFlags.Reference) — e.g. Array<string>, Map<K, V> */
|
|
120
|
+
export interface TypeReference extends ObjectType {
|
|
121
|
+
/** Get the generic target type (e.g. Array for Array<string>) */
|
|
122
|
+
getTarget(): Promise<Type>;
|
|
123
|
+
}
|
|
124
|
+
/** Interface types — classes and interfaces (ObjectFlags.ClassOrInterface) */
|
|
125
|
+
export interface InterfaceType extends TypeReference {
|
|
126
|
+
/** Get all type parameters (outer + local, excluding thisType) */
|
|
127
|
+
getTypeParameters(): Promise<readonly TypeParameter[]>;
|
|
128
|
+
/** Get outer type parameters from enclosing declarations */
|
|
129
|
+
getOuterTypeParameters(): Promise<readonly TypeParameter[]>;
|
|
130
|
+
/** Get local type parameters declared on this interface/class */
|
|
131
|
+
getLocalTypeParameters(): Promise<readonly TypeParameter[]>;
|
|
132
|
+
}
|
|
133
|
+
/** Tuple types (ObjectFlags.Tuple) */
|
|
134
|
+
export interface TupleType extends InterfaceType {
|
|
135
|
+
/** Per-element flags (Required, Optional, Rest, Variadic) */
|
|
136
|
+
readonly elementFlags: readonly ElementFlags[];
|
|
137
|
+
/** Number of initial required or optional elements */
|
|
138
|
+
readonly fixedLength: number;
|
|
139
|
+
/** Whether the tuple is readonly */
|
|
140
|
+
readonly readonly: boolean;
|
|
141
|
+
}
|
|
142
|
+
/** Union or intersection types (TypeFlags.Union | TypeFlags.Intersection) */
|
|
143
|
+
export interface UnionOrIntersectionType extends Type {
|
|
144
|
+
/** Get the constituent types */
|
|
145
|
+
getTypes(): Promise<readonly Type[]>;
|
|
146
|
+
}
|
|
147
|
+
/** Union types (TypeFlags.Union) */
|
|
148
|
+
export interface UnionType extends UnionOrIntersectionType {
|
|
149
|
+
}
|
|
150
|
+
/** Intersection types (TypeFlags.Intersection) */
|
|
151
|
+
export interface IntersectionType extends UnionOrIntersectionType {
|
|
152
|
+
}
|
|
153
|
+
/** Type parameters (TypeFlags.TypeParameter) */
|
|
154
|
+
export interface TypeParameter extends Type {
|
|
155
|
+
/** True if this is the synthetic `this` type of an interface, class, or tuple */
|
|
156
|
+
readonly isThisType?: boolean | undefined;
|
|
157
|
+
}
|
|
158
|
+
/** Index types — keyof T (TypeFlags.Index) */
|
|
159
|
+
export interface IndexType extends Type {
|
|
160
|
+
/** Get the target type T in `keyof T` */
|
|
161
|
+
getTarget(): Promise<Type>;
|
|
162
|
+
}
|
|
163
|
+
/** Indexed access types — T[K] (TypeFlags.IndexedAccess) */
|
|
164
|
+
export interface IndexedAccessType extends Type {
|
|
165
|
+
/** Get the object type T in `T[K]` */
|
|
166
|
+
getObjectType(): Promise<Type>;
|
|
167
|
+
/** Get the index type K in `T[K]` */
|
|
168
|
+
getIndexType(): Promise<Type>;
|
|
169
|
+
}
|
|
170
|
+
/** Conditional types — T extends U ? X : Y (TypeFlags.Conditional) */
|
|
171
|
+
export interface ConditionalType extends Type {
|
|
172
|
+
/** Get the check type T in `T extends U ? X : Y` */
|
|
173
|
+
getCheckType(): Promise<Type>;
|
|
174
|
+
/** Get the extends type U in `T extends U ? X : Y` */
|
|
175
|
+
getExtendsType(): Promise<Type>;
|
|
176
|
+
/** Get the true type X in `T extends U ? X : Y` */
|
|
177
|
+
getTrueType(): Promise<Type>;
|
|
178
|
+
/** Get the false type Y in `T extends U ? X : Y` */
|
|
179
|
+
getFalseType(): Promise<Type>;
|
|
180
|
+
}
|
|
181
|
+
/** Substitution types (TypeFlags.Substitution) */
|
|
182
|
+
export interface SubstitutionType extends Type {
|
|
183
|
+
getBaseType(): Promise<Type>;
|
|
184
|
+
getConstraint(): Promise<Type>;
|
|
185
|
+
}
|
|
186
|
+
/** Template literal types (TypeFlags.TemplateLiteral) */
|
|
187
|
+
export interface TemplateLiteralType extends Type {
|
|
188
|
+
/** Text segments (always one more than the number of type spans) */
|
|
189
|
+
readonly texts: readonly string[];
|
|
190
|
+
/** Get the types interspersed between text segments */
|
|
191
|
+
getTypes(): Promise<readonly Type[]>;
|
|
192
|
+
}
|
|
193
|
+
/** String mapping types — Uppercase<T>, Lowercase<T>, etc. (TypeFlags.StringMapping) */
|
|
194
|
+
export interface StringMappingType extends Type {
|
|
195
|
+
/** Get the mapped type */
|
|
196
|
+
getTarget(): Promise<Type>;
|
|
197
|
+
}
|
|
198
|
+
/** Intrinsic types — any, unknown, string, number, bigint, symbol, void, undefined, null, never, object (TypeFlags.Intrinsic) */
|
|
199
|
+
export interface IntrinsicType extends Type {
|
|
200
|
+
/** The intrinsic type name (e.g. "any", "string", "never") */
|
|
201
|
+
readonly intrinsicName: string;
|
|
202
|
+
}
|
|
203
|
+
/** Base for all type predicates */
|
|
204
|
+
export interface TypePredicateBase {
|
|
205
|
+
readonly kind: TypePredicateKind;
|
|
206
|
+
readonly type: Type | undefined;
|
|
207
|
+
}
|
|
208
|
+
/** `this is T` */
|
|
209
|
+
export interface ThisTypePredicate extends TypePredicateBase {
|
|
210
|
+
readonly kind: TypePredicateKind.This;
|
|
211
|
+
readonly parameterName: undefined;
|
|
212
|
+
readonly parameterIndex: undefined;
|
|
213
|
+
readonly type: Type;
|
|
214
|
+
}
|
|
215
|
+
/** `x is T` */
|
|
216
|
+
export interface IdentifierTypePredicate extends TypePredicateBase {
|
|
217
|
+
readonly kind: TypePredicateKind.Identifier;
|
|
218
|
+
readonly parameterName: string;
|
|
219
|
+
readonly parameterIndex: number;
|
|
220
|
+
readonly type: Type;
|
|
221
|
+
}
|
|
222
|
+
/** `asserts this is T` */
|
|
223
|
+
export interface AssertsThisTypePredicate extends TypePredicateBase {
|
|
224
|
+
readonly kind: TypePredicateKind.AssertsThis;
|
|
225
|
+
readonly parameterName: undefined;
|
|
226
|
+
readonly parameterIndex: undefined;
|
|
227
|
+
readonly type: Type | undefined;
|
|
228
|
+
}
|
|
229
|
+
/** `asserts x is T` */
|
|
230
|
+
export interface AssertsIdentifierTypePredicate extends TypePredicateBase {
|
|
231
|
+
readonly kind: TypePredicateKind.AssertsIdentifier;
|
|
232
|
+
readonly parameterName: string;
|
|
233
|
+
readonly parameterIndex: number;
|
|
234
|
+
readonly type: Type | undefined;
|
|
235
|
+
}
|
|
236
|
+
/** A type predicate — e.g. `x is T` or `asserts x is T` */
|
|
237
|
+
export type TypePredicate = ThisTypePredicate | IdentifierTypePredicate | AssertsThisTypePredicate | AssertsIdentifierTypePredicate;
|
|
238
|
+
/** An index signature — e.g. `[key: string]: T` */
|
|
239
|
+
export interface IndexInfo {
|
|
240
|
+
/** The index key type (e.g. string or number) */
|
|
241
|
+
readonly keyType: Type;
|
|
242
|
+
/** The index value type */
|
|
243
|
+
readonly valueType: Type;
|
|
244
|
+
/** Whether the index signature is readonly */
|
|
245
|
+
readonly isReadonly: boolean;
|
|
246
|
+
/** The index signature declaration, if any */
|
|
247
|
+
readonly declaration?: NodeHandle | undefined;
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* A single JSDoc tag attached to a symbol — e.g. `@param`, `@returns`.
|
|
251
|
+
*/
|
|
252
|
+
export interface JSDocTagInfo {
|
|
253
|
+
/** The tag name, without the leading `@` — e.g. `"param"`. */
|
|
254
|
+
readonly name: string;
|
|
255
|
+
/** The rendered tag text, if any — e.g. `"a the first number"` for `@param a the first number`. */
|
|
256
|
+
readonly text?: string | undefined;
|
|
257
|
+
}
|
|
258
|
+
export interface CompletionEntryLabelDetails {
|
|
259
|
+
detail?: string | undefined;
|
|
260
|
+
description?: string | undefined;
|
|
261
|
+
}
|
|
262
|
+
/** Options for {@link Checker.getCompletionsAtPosition}. */
|
|
263
|
+
export interface CompletionOptions {
|
|
264
|
+
triggerCharacter?: string | undefined;
|
|
265
|
+
/** Include a `symbol` property on each completion entry. Only populated for symbol-based completions (not keywords or literals). */
|
|
266
|
+
includeSymbol?: boolean | undefined;
|
|
267
|
+
}
|
|
268
|
+
/** A single completion item returned by {@link Checker.getCompletionsAtPosition}. */
|
|
269
|
+
export interface CompletionEntry {
|
|
270
|
+
readonly name: string;
|
|
271
|
+
readonly kind?: CompletionItemKind | undefined;
|
|
272
|
+
readonly sortText?: string | undefined;
|
|
273
|
+
readonly insertText?: string | undefined;
|
|
274
|
+
readonly filterText?: string | undefined;
|
|
275
|
+
readonly detail?: string | undefined;
|
|
276
|
+
readonly labelDetails?: CompletionEntryLabelDetails | undefined;
|
|
277
|
+
/** The symbol associated with this completion entry. Only set when `includeSymbol: true` is passed and a symbol is available. */
|
|
278
|
+
readonly symbol?: Symbol | undefined;
|
|
279
|
+
}
|
|
280
|
+
/** The result of {@link Checker.getCompletionsAtPosition}. */
|
|
281
|
+
export interface CompletionInfo {
|
|
282
|
+
readonly isIncomplete: boolean;
|
|
283
|
+
readonly entries: readonly CompletionEntry[];
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* A diagnostic message from the TypeScript compiler.
|
|
287
|
+
*/
|
|
288
|
+
export interface Diagnostic {
|
|
289
|
+
/** File name of the source file this diagnostic belongs to, if any */
|
|
290
|
+
readonly fileName?: string | undefined;
|
|
291
|
+
/** Start position of the diagnostic */
|
|
292
|
+
readonly pos: number;
|
|
293
|
+
/** End position of the diagnostic */
|
|
294
|
+
readonly end: number;
|
|
295
|
+
/** Diagnostic error code */
|
|
296
|
+
readonly code: number;
|
|
297
|
+
/** Diagnostic category (error, warning, suggestion, message) */
|
|
298
|
+
readonly category: DiagnosticCategory;
|
|
299
|
+
/** Localized diagnostic message text */
|
|
300
|
+
readonly text: string;
|
|
301
|
+
/** Whether this diagnostic highlights unnecessary code */
|
|
302
|
+
readonly reportsUnnecessary?: boolean | undefined;
|
|
303
|
+
/** Whether this diagnostic highlights deprecated code */
|
|
304
|
+
readonly reportsDeprecated?: boolean | undefined;
|
|
305
|
+
/** Chained diagnostic messages */
|
|
306
|
+
readonly messageChain?: readonly Diagnostic[] | undefined;
|
|
307
|
+
/** Related diagnostic information */
|
|
308
|
+
readonly relatedInformation?: readonly Diagnostic[] | undefined;
|
|
309
|
+
}
|
|
310
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/api/async/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EACR,UAAU,EACV,MAAM,EACT,MAAM,UAAU,CAAC;AAElB;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,IAAI;IACjB,+DAA+D;IAC/D,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC;IAE1B,sCAAsC;IACtC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IAEpB,uDAAuD;IACvD,SAAS,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAEzC,uFAAuF;IACvF,qBAAqB,IAAI,OAAO,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC;IAElD,+EAA+E;IAC/E,cAAc,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAE9C;;;OAGG;IACH,YAAY,IAAI,OAAO,CAAC,SAAS,IAAI,EAAE,GAAG,SAAS,CAAC,CAAC;IAErD,qDAAqD;IACrD,kBAAkB,IAAI,IAAI,IAAI,aAAa,CAAC;IAC5C,wCAAwC;IACxC,WAAW,IAAI,IAAI,IAAI,SAAS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,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,0DAA0D;IAC1D,QAAQ,CAAC,kBAAkB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAClD,yDAAyD;IACzD,QAAQ,CAAC,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACjD,kCAAkC;IAClC,QAAQ,CAAC,YAAY,CAAC,EAAE,SAAS,UAAU,EAAE,GAAG,SAAS,CAAC;IAC1D,qCAAqC;IACrC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,SAAS,UAAU,EAAE,GAAG,SAAS,CAAC;CACnE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/api/async/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import type { JsxEmit } from "#enums/jsxEmit";
|
|
2
|
+
import type { ModuleDetectionKind } from "#enums/moduleDetectionKind";
|
|
3
|
+
import type { ModuleKind } from "#enums/moduleKind";
|
|
4
|
+
import type { ModuleResolutionKind } from "#enums/moduleResolutionKind";
|
|
5
|
+
import type { NewLineKind } from "#enums/newLineKind";
|
|
6
|
+
import type { ScriptTarget } from "#enums/scriptTarget";
|
|
7
|
+
export interface CompilerOptions {
|
|
8
|
+
allowJs?: boolean;
|
|
9
|
+
allowArbitraryExtensions?: boolean;
|
|
10
|
+
allowImportingTsExtensions?: boolean;
|
|
11
|
+
allowNonTsExtensions?: boolean;
|
|
12
|
+
allowUmdGlobalAccess?: boolean;
|
|
13
|
+
allowUnreachableCode?: boolean;
|
|
14
|
+
allowUnusedLabels?: boolean;
|
|
15
|
+
assumeChangesOnlyAffectDirectDependencies?: boolean;
|
|
16
|
+
checkJs?: boolean;
|
|
17
|
+
customConditions?: string[];
|
|
18
|
+
composite?: boolean;
|
|
19
|
+
emitDeclarationOnly?: boolean;
|
|
20
|
+
emitBOM?: boolean;
|
|
21
|
+
emitDecoratorMetadata?: boolean;
|
|
22
|
+
declaration?: boolean;
|
|
23
|
+
declarationDir?: string;
|
|
24
|
+
declarationMap?: boolean;
|
|
25
|
+
deduplicatePackages?: boolean;
|
|
26
|
+
disableSizeLimit?: boolean;
|
|
27
|
+
disableSourceOfProjectReferenceRedirect?: boolean;
|
|
28
|
+
disableSolutionSearching?: boolean;
|
|
29
|
+
disableReferencedProjectLoad?: boolean;
|
|
30
|
+
erasableSyntaxOnly?: boolean;
|
|
31
|
+
exactOptionalPropertyTypes?: boolean;
|
|
32
|
+
experimentalDecorators?: boolean;
|
|
33
|
+
forceConsistentCasingInFileNames?: boolean;
|
|
34
|
+
isolatedModules?: boolean;
|
|
35
|
+
isolatedDeclarations?: boolean;
|
|
36
|
+
ignoreConfig?: boolean;
|
|
37
|
+
ignoreDeprecations?: string;
|
|
38
|
+
importHelpers?: boolean;
|
|
39
|
+
inlineSourceMap?: boolean;
|
|
40
|
+
inlineSources?: boolean;
|
|
41
|
+
init?: boolean;
|
|
42
|
+
incremental?: boolean;
|
|
43
|
+
jsx?: JsxEmit;
|
|
44
|
+
jsxFactory?: string;
|
|
45
|
+
jsxFragmentFactory?: string;
|
|
46
|
+
jsxImportSource?: string;
|
|
47
|
+
lib?: string[];
|
|
48
|
+
libReplacement?: boolean;
|
|
49
|
+
locale?: string;
|
|
50
|
+
mapRoot?: string;
|
|
51
|
+
module?: ModuleKind;
|
|
52
|
+
moduleResolution?: ModuleResolutionKind;
|
|
53
|
+
moduleSuffixes?: string[];
|
|
54
|
+
moduleDetection?: ModuleDetectionKind;
|
|
55
|
+
newLine?: NewLineKind;
|
|
56
|
+
noEmit?: boolean;
|
|
57
|
+
noCheck?: boolean;
|
|
58
|
+
noErrorTruncation?: boolean;
|
|
59
|
+
noFallthroughCasesInSwitch?: boolean;
|
|
60
|
+
noImplicitAny?: boolean;
|
|
61
|
+
noImplicitThis?: boolean;
|
|
62
|
+
noImplicitReturns?: boolean;
|
|
63
|
+
noEmitHelpers?: boolean;
|
|
64
|
+
noLib?: boolean;
|
|
65
|
+
noPropertyAccessFromIndexSignature?: boolean;
|
|
66
|
+
noUncheckedIndexedAccess?: boolean;
|
|
67
|
+
noEmitOnError?: boolean;
|
|
68
|
+
noUnusedLocals?: boolean;
|
|
69
|
+
noUnusedParameters?: boolean;
|
|
70
|
+
noResolve?: boolean;
|
|
71
|
+
noImplicitOverride?: boolean;
|
|
72
|
+
noUncheckedSideEffectImports?: boolean;
|
|
73
|
+
outDir?: string;
|
|
74
|
+
paths?: Record<string, string[]>;
|
|
75
|
+
preserveConstEnums?: boolean;
|
|
76
|
+
preserveSymlinks?: boolean;
|
|
77
|
+
project?: string;
|
|
78
|
+
resolveJsonModule?: boolean;
|
|
79
|
+
resolvePackageJsonExports?: boolean;
|
|
80
|
+
resolvePackageJsonImports?: boolean;
|
|
81
|
+
removeComments?: boolean;
|
|
82
|
+
rewriteRelativeImportExtensions?: boolean;
|
|
83
|
+
reactNamespace?: string;
|
|
84
|
+
rootDir?: string;
|
|
85
|
+
rootDirs?: string[];
|
|
86
|
+
skipLibCheck?: boolean;
|
|
87
|
+
stableTypeOrdering?: boolean;
|
|
88
|
+
strict?: boolean;
|
|
89
|
+
strictBindCallApply?: boolean;
|
|
90
|
+
strictBuiltinIteratorReturn?: boolean;
|
|
91
|
+
strictFunctionTypes?: boolean;
|
|
92
|
+
strictNullChecks?: boolean;
|
|
93
|
+
strictPropertyInitialization?: boolean;
|
|
94
|
+
stripInternal?: boolean;
|
|
95
|
+
skipDefaultLibCheck?: boolean;
|
|
96
|
+
sourceMap?: boolean;
|
|
97
|
+
sourceRoot?: string;
|
|
98
|
+
suppressOutputPathCheck?: boolean;
|
|
99
|
+
target?: ScriptTarget;
|
|
100
|
+
traceResolution?: boolean;
|
|
101
|
+
tsBuildInfoFile?: string;
|
|
102
|
+
typeRoots?: string[];
|
|
103
|
+
types?: string[];
|
|
104
|
+
useDefineForClassFields?: boolean;
|
|
105
|
+
useUnknownInCatchVariables?: boolean;
|
|
106
|
+
verbatimModuleSyntax?: boolean;
|
|
107
|
+
maxNodeModuleJsDepth?: number;
|
|
108
|
+
}
|
|
109
|
+
//# sourceMappingURL=compilerOptions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compilerOptions.d.ts","sourceRoot":"","sources":["../../src/api/compilerOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAIxD,MAAM,WAAW,eAAe;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,yCAAyC,CAAC,EAAE,OAAO,CAAC;IACpD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,OAA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C;IACjB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,oBAAoB,CAAC,EAAE,MAAM,CAAC;CACjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compilerOptions.js","sourceRoot":"","sources":["../../src/api/compilerOptions.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface FileSystemEntries {
|
|
2
|
+
files: string[];
|
|
3
|
+
directories: string[];
|
|
4
|
+
}
|
|
5
|
+
export interface FileSystem {
|
|
6
|
+
directoryExists?: (directoryName: string) => boolean | undefined;
|
|
7
|
+
fileExists?: (fileName: string) => boolean | undefined;
|
|
8
|
+
getAccessibleEntries?: (directoryName: string) => FileSystemEntries | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* Read a file's content.
|
|
11
|
+
* - Return the file content as a `string` (including `""` for empty files).
|
|
12
|
+
* - Return `null` to indicate the file does not exist (without falling back to the real FS).
|
|
13
|
+
* - Return `undefined` to fall back to the real filesystem.
|
|
14
|
+
*/
|
|
15
|
+
readFile?: (fileName: string) => string | null | undefined;
|
|
16
|
+
realpath?: (path: string) => string | undefined;
|
|
17
|
+
writeFile?: (path: string, content: string) => void;
|
|
18
|
+
removeFile?: (path: string) => void;
|
|
19
|
+
}
|
|
20
|
+
/** The callback names supported by the Go server for virtual FS delegation. */
|
|
21
|
+
export declare const fsCallbackNames: readonly ["readFile", "fileExists", "directoryExists", "getAccessibleEntries", "realpath"];
|
|
22
|
+
export declare function createVirtualFileSystem(files: Record<string, string>): FileSystem;
|
|
23
|
+
//# sourceMappingURL=fs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fs.d.ts","sourceRoot":"","sources":["../../src/api/fs.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,iBAAiB;IAC9B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,WAAW,EAAE,MAAM,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,UAAU;IACvB,eAAe,CAAC,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,OAAO,GAAG,SAAS,CAAC;IACjE,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,GAAG,SAAS,CAAC;IACvD,oBAAoB,CAAC,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,iBAAiB,GAAG,SAAS,CAAC;IAChF;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3D,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC;IAChD,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC;AAED,+EAA+E;AAC/E,eAAO,MAAM,eAAe,4FAA6F,CAAC;AAa1H,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,UAAU,CAkHjF"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { getPathComponents } from "./path.js";
|
|
2
|
+
/** The callback names supported by the Go server for virtual FS delegation. */
|
|
3
|
+
export const fsCallbackNames = ["readFile", "fileExists", "directoryExists", "getAccessibleEntries", "realpath"];
|
|
4
|
+
export function createVirtualFileSystem(files) {
|
|
5
|
+
const root = {
|
|
6
|
+
type: "directory",
|
|
7
|
+
children: {},
|
|
8
|
+
};
|
|
9
|
+
const content = {};
|
|
10
|
+
for (const filePath of Object.keys(files)) {
|
|
11
|
+
content[filePath] = files[filePath];
|
|
12
|
+
addToTree(filePath);
|
|
13
|
+
}
|
|
14
|
+
return {
|
|
15
|
+
directoryExists,
|
|
16
|
+
fileExists,
|
|
17
|
+
getAccessibleEntries,
|
|
18
|
+
readFile,
|
|
19
|
+
realpath: path => path,
|
|
20
|
+
writeFile,
|
|
21
|
+
removeFile,
|
|
22
|
+
};
|
|
23
|
+
function getNodeFromPath(path) {
|
|
24
|
+
if (!path || path === "/") {
|
|
25
|
+
return root;
|
|
26
|
+
}
|
|
27
|
+
const segments = getPathComponents(path).slice(1);
|
|
28
|
+
let current = root;
|
|
29
|
+
for (const segment of segments) {
|
|
30
|
+
if (current.type !== "directory") {
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
const child = current.children[segment];
|
|
34
|
+
if (!child) {
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
current = child;
|
|
38
|
+
}
|
|
39
|
+
return current;
|
|
40
|
+
}
|
|
41
|
+
function ensureDirectory(segments) {
|
|
42
|
+
let current = root;
|
|
43
|
+
for (const segment of segments) {
|
|
44
|
+
if (!current.children[segment]) {
|
|
45
|
+
current.children[segment] = { type: "directory", children: {} };
|
|
46
|
+
}
|
|
47
|
+
else if (current.children[segment].type !== "directory") {
|
|
48
|
+
throw new Error(`Cannot create directory: a file already exists at "/${segments.join("/")}"`);
|
|
49
|
+
}
|
|
50
|
+
current = current.children[segment];
|
|
51
|
+
}
|
|
52
|
+
return current;
|
|
53
|
+
}
|
|
54
|
+
function addToTree(path) {
|
|
55
|
+
const segments = getPathComponents(path).slice(1);
|
|
56
|
+
if (segments.length === 0) {
|
|
57
|
+
throw new Error(`Invalid file path: "${path}"`);
|
|
58
|
+
}
|
|
59
|
+
const filename = segments.pop();
|
|
60
|
+
const dirNode = ensureDirectory(segments);
|
|
61
|
+
dirNode.children[filename] = { type: "file" };
|
|
62
|
+
}
|
|
63
|
+
function writeFile(path, data) {
|
|
64
|
+
content[path] = data;
|
|
65
|
+
addToTree(path);
|
|
66
|
+
}
|
|
67
|
+
function removeFile(path) {
|
|
68
|
+
delete content[path];
|
|
69
|
+
const segments = getPathComponents(path).slice(1);
|
|
70
|
+
if (segments.length === 0)
|
|
71
|
+
return;
|
|
72
|
+
const filename = segments.pop();
|
|
73
|
+
const dirNode = getNodeFromPath("/" + segments.join("/"));
|
|
74
|
+
if (dirNode && dirNode.type === "directory") {
|
|
75
|
+
delete dirNode.children[filename];
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
function directoryExists(directoryName) {
|
|
79
|
+
const node = getNodeFromPath(directoryName);
|
|
80
|
+
return !!node && node.type === "directory";
|
|
81
|
+
}
|
|
82
|
+
function fileExists(fileName) {
|
|
83
|
+
return fileName in content;
|
|
84
|
+
}
|
|
85
|
+
function getAccessibleEntries(directoryName) {
|
|
86
|
+
const node = getNodeFromPath(directoryName);
|
|
87
|
+
if (!node || node.type !== "directory") {
|
|
88
|
+
return undefined;
|
|
89
|
+
}
|
|
90
|
+
const fileEntries = [];
|
|
91
|
+
const directories = [];
|
|
92
|
+
for (const [name, child] of Object.entries(node.children)) {
|
|
93
|
+
if (child.type === "file") {
|
|
94
|
+
fileEntries.push(name);
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
directories.push(name);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
return { files: fileEntries, directories };
|
|
101
|
+
}
|
|
102
|
+
function readFile(fileName) {
|
|
103
|
+
if (fileName in content) {
|
|
104
|
+
return content[fileName];
|
|
105
|
+
}
|
|
106
|
+
return undefined;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
//# sourceMappingURL=fs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fs.js","sourceRoot":"","sources":["../../src/api/fs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAuB9C,+EAA+E;AAC/E,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,UAAU,EAAE,YAAY,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,UAAU,CAAU,CAAC;AAa1H,MAAM,UAAU,uBAAuB,CAAC,KAA6B;IACjE,MAAM,IAAI,GAAe;QACrB,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,EAAE;KACf,CAAC;IACF,MAAM,OAAO,GAA2B,EAAE,CAAC;IAE3C,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QACxC,OAAO,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC;QACpC,SAAS,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;IAED,OAAO;QACH,eAAe;QACf,UAAU;QACV,oBAAoB;QACpB,QAAQ;QACR,QAAQ,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI;QACtB,SAAS;QACT,UAAU;KACb,CAAC;IAEF,SAAS,eAAe,CAAC,IAAY;QACjC,IAAI,CAAC,IAAI,IAAI,IAAI,KAAK,GAAG,EAAE,CAAC;YACxB,OAAO,IAAI,CAAC;QAChB,CAAC;QACD,MAAM,QA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CAAC,aAAqB;QAC/C,MAAM,IAAI,GAAG,eAAe,CAAC,aAAa,CAAC,CAAC;QAC5C,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,WAAW,EAAE,CAAC;YACrC,OAAO,SAAS,CAAC;QACrB,CAAC;QACD,MAAM,WAAW,GAAa,EAAE,CAAC;QACjC,MAAM,WAAW,GAAa,EAAE,CAAC;QACjC,KAAK,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;YACxD,IAAI,KAAK,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;gBACxB,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAC3B,CAAC;iBACI,CAAC;gBACF,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAC3B,CAAC;QACL,CAAC;QACD,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC;IAC/C,CAAC;IAED,SAAS,QAAQ,CAAC,QAAgB;QAC9B,IAAI,QAAQ,IAAI,OAAO,EAAE,CAAC;YACtB,OAAO,OAAO,CAAC,QAAQ,CAAC,CAAC;QAC7B,CAAC;QACD,OAAO,SAAS,CAAC;IACrB,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Node, SourceFile } from "../../ast/index.ts";
|
|
2
|
+
/**
|
|
3
|
+
* Encode a SourceFile AST node into the binary format.
|
|
4
|
+
*/
|
|
5
|
+
export declare function encodeSourceFile(sourceFile: SourceFile): Uint8Array;
|
|
6
|
+
/**
|
|
7
|
+
* Encode an arbitrary AST node into the binary format.
|
|
8
|
+
* When encoding a non-SourceFile node, the header hash and parse options fields will be zero.
|
|
9
|
+
*/
|
|
10
|
+
export declare function encodeNode(node: Node): Uint8Array;
|
|
11
|
+
/**
|
|
12
|
+
* Encode a Uint8Array to a base64 string.
|
|
13
|
+
*/
|
|
14
|
+
export declare function uint8ArrayToBase64(data: Uint8Array): string;
|
|
15
|
+
//# sourceMappingURL=encoder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"encoder.d.ts","sourceRoot":"","sources":["../../../src/api/node/encoder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGR,IAAI,EAEJ,UAAU,EAEb,MAAM,oBAAoB,CAAC;AAyL5B;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,UAAU,GAAG,UAAU,CAEnE;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,UAAU,CAuKjD;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM,CAE3D"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Node } from "../../ast/index.ts";
|
|
2
|
+
import { SyntaxKind } from "../../ast/index.ts";
|
|
3
|
+
export declare function getNodeDataType(kind: SyntaxKind): number;
|
|
4
|
+
export declare function getNodeCommonData(node: Node): number;
|
|
5
|
+
//# sourceMappingURL=encoder.generated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"encoder.generated.d.ts","sourceRoot":"","sources":["../../../src/api/node/encoder.generated.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAiBR,IAAI,EAMP,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAOhD,wBAAgB,eAAe,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM,CAuBxD;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CA6CpD"}
|