@quantiya/codevibe-codex-plugin 2.0.4 → 2.0.5
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/node_modules/@quantiya/codevibe-core/dist/index.js +198 -196
- package/node_modules/@quantiya/codevibe-core/dist/local-model/manager.d.ts +18 -6
- package/node_modules/@quantiya/codevibe-core/dist/local-model/ollama.d.ts +38 -1
- package/node_modules/@quantiya/codevibe-core/dist/orchestration/setup-types.d.ts +9 -4
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/mobile-user-prompt-return.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/runOrchestrationShell-session-retire.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/cli.d.ts +10 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/cli.js +1155 -824
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/components/InputBar.d.ts +67 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/emit-shell-event.d.ts +1 -1
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/index.d.ts +119 -2
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/ink-runtime.d.ts +11 -1
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/mode-selection.d.ts +5 -9
- package/node_modules/@quantiya/codevibe-core/dist/types/session.d.ts +2 -1
- package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/LICENSE +21 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/README.md +278 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.d.ts +7 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.js +57 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/consts.d.ts +17 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/consts.js +28 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/consts.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/diff.js +26 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/diff.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/reduce.js +37 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/reduce.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/tokenize.d.ts +16 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/tokenize.js +194 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/build/tokenize.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/@alcalzone/ansi-tokenize/package.json +55 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/cli-boxes/index.d.ts +122 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/cli-boxes/index.js +3 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/cli-boxes/package.json +49 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/cli-boxes/readme.md +103 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/cli-truncate/index.d.ts +118 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/cli-truncate/index.js +194 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/cli-truncate/package.json +52 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/cli-truncate/readme.md +153 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/ansi-tokenizer.d.ts +38 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/ansi-tokenizer.js +316 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/ansi-tokenizer.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/AccessibilityContext.d.ts +3 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/AccessibilityContext.js +5 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/AccessibilityContext.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/AnimationContext.d.ts +9 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/AnimationContext.js +13 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/AnimationContext.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/App.d.ts +24 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/App.js +554 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/App.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/AppContext.d.ts +80 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/AppContext.js +25 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/AppContext.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/BackgroundContext.d.ts +4 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/BackgroundContext.js +3 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/BackgroundContext.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Box.d.ts +130 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Box.js +34 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Box.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/CursorContext.d.ts +11 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/CursorContext.js +8 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/CursorContext.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/ErrorBoundary.d.ts +18 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/ErrorBoundary.js +23 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/ErrorBoundary.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/ErrorOverview.js +90 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/ErrorOverview.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Newline.d.ts +13 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Newline.js +8 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Newline.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Spacer.d.ts +7 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Spacer.js +11 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Spacer.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Static.d.ts +24 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Static.js +28 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Static.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/StderrContext.d.ts +15 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/StderrContext.js +13 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/StderrContext.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/StdinContext.d.ts +28 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/StdinContext.js +20 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/StdinContext.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/StdoutContext.d.ts +15 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/StdoutContext.js +13 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/StdoutContext.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Text.d.ts +55 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Text.js +50 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Text.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Transform.d.ts +16 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Transform.js +15 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/components/Transform.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/cursor-helpers.d.ts +38 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/cursor-helpers.js +56 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/cursor-helpers.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/devtools-window-polyfill.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/devtools-window-polyfill.js +68 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/devtools-window-polyfill.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/devtools.js +36 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/devtools.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/dom.d.ts +62 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/dom.js +143 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/dom.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-animation.d.ts +49 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-animation.js +87 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-animation.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-app.d.ts +5 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-app.js +8 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-app.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-box-metrics.d.ts +59 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-box-metrics.js +81 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-box-metrics.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-cursor.d.ts +12 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-cursor.js +29 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-cursor.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-focus-manager.d.ts +43 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-focus-manager.js +18 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-focus-manager.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-focus.d.ts +30 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-focus.js +43 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-focus.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-input.d.ts +132 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-input.js +126 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-input.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-is-screen-reader-enabled.d.ts +6 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js +12 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-is-screen-reader-enabled.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-paste.d.ts +35 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-paste.js +62 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-paste.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-stderr.d.ts +5 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-stderr.js +8 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-stderr.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-stdin.d.ts +7 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-stdin.js +9 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-stdin.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-stdout.d.ts +5 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-stdout.js +8 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-stdout.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-window-size.d.ts +18 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-window-size.js +22 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/hooks/use-window-size.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/index.d.ts +42 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/index.js +24 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/index.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/ink.d.ts +146 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/ink.js +950 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/ink.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/input-parser.d.ts +10 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/input-parser.js +194 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/input-parser.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/kitty-keyboard.d.ts +23 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/kitty-keyboard.js +32 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/kitty-keyboard.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/log-update.d.ts +20 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/log-update.js +254 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/log-update.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/measure-element.d.ts +20 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/measure-element.js +13 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/measure-element.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/measure-text.js +21 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/measure-text.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/output.d.ts +35 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/output.js +208 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/output.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/parse-keypress.d.ts +20 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/parse-keypress.js +495 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/parse-keypress.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/reconciler.d.ts +4 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/reconciler.js +306 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/reconciler.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render-background.d.ts +4 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render-background.js +25 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render-background.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render-border.js +84 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render-border.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render-node-to-output.d.ts +14 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render-node-to-output.js +147 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render-node-to-output.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render-to-string.d.ts +38 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render-to-string.js +116 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render-to-string.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render.d.ts +176 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render.js +62 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/render.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/renderer.d.ts +8 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/renderer.js +55 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/renderer.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/sanitize-ansi.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/sanitize-ansi.js +27 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/sanitize-ansi.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/squash-text-nodes.js +36 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/squash-text-nodes.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/styles.d.ts +302 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/styles.js +303 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/styles.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/utils.d.ts +9 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/utils.js +19 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/utils.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/wrap-text.js +38 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/wrap-text.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/write-synchronized.d.ts +4 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/write-synchronized.js +9 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/build/write-synchronized.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/license +10 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/package.json +137 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ink/readme.md +3192 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/is-in-ci/index.js +7 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/is-in-ci/package.json +49 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/is-in-ci/readme.md +44 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/LICENSE +21 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/README.md +37 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-compiler-runtime.development.js +24 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-compiler-runtime.production.js +16 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-compiler-runtime.profiling.js +16 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-jsx-dev-runtime.development.js +338 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-jsx-dev-runtime.production.js +14 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-jsx-dev-runtime.profiling.js +14 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-jsx-dev-runtime.react-server.development.js +370 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-jsx-dev-runtime.react-server.production.js +40 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-jsx-runtime.development.js +352 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-jsx-runtime.production.js +34 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-jsx-runtime.profiling.js +34 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-jsx-runtime.react-server.development.js +370 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react-jsx-runtime.react-server.production.js +40 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react.development.js +1284 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react.production.js +542 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react.react-server.development.js +848 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/cjs/react.react-server.production.js +423 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/compiler-runtime.js +14 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/index.js +7 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/jsx-dev-runtime.js +7 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/jsx-dev-runtime.react-server.js +7 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/jsx-runtime.js +7 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/jsx-runtime.react-server.js +7 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/package.json +51 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react/react.react-server.js +7 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/README.md +152 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/backend.js +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/dist/backend.js +18302 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/dist/backend.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/dist/importFile.worker.worker.js +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/dist/importFile.worker.worker.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/dist/parseHookNames.chunk.js +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/dist/parseHookNames.chunk.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/dist/parseSourceAndMetadata.worker.worker.js +2 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/dist/parseSourceAndMetadata.worker.worker.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/dist/standalone.js +3 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/dist/standalone.js.LICENSE.txt +41 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/dist/standalone.js.map +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/LICENSE +21 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/README.md +495 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/browser.js +8 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/index.js +10 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/lib/buffer-util.js +129 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/lib/constants.js +10 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/lib/event-target.js +184 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/lib/extension.js +223 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/lib/limiter.js +55 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/lib/permessage-deflate.js +518 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/lib/receiver.js +664 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/lib/sender.js +409 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/lib/stream.js +180 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/lib/validation.js +104 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/lib/websocket-server.js +461 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/lib/websocket.js +1215 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/node_modules/ws/package.json +56 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/package.json +38 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-devtools-core/standalone.js +1 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/LICENSE +21 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/README.md +353 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js +19 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/cjs/react-reconciler-constants.production.js +18 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/cjs/react-reconciler-reflection.development.js +394 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/cjs/react-reconciler-reflection.production.js +382 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/cjs/react-reconciler.development.js +19736 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/cjs/react-reconciler.production.js +11594 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/cjs/react-reconciler.profiling.js +13427 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/constants.js +7 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/index.js +7 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/package.json +34 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/react-reconciler/reflection.js +7 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/LICENSE +21 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +414 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/cjs/scheduler-unstable_mock.production.js +406 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +150 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.js +140 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/cjs/scheduler.development.js +364 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/cjs/scheduler.native.development.js +350 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/cjs/scheduler.native.production.js +330 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/cjs/scheduler.production.js +340 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/index.js +7 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/index.native.js +7 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/package.json +27 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/unstable_mock.js +7 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/scheduler/unstable_post_task.js +7 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/slice-ansi/index.d.ts +19 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/slice-ansi/index.js +317 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/slice-ansi/package.json +59 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/slice-ansi/readme.md +55 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/slice-ansi/tokenize-ansi.js +752 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/string-width/index.js +203 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/string-width/package.json +65 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/string-width/readme.md +66 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/index.d.ts +227 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/package.json +75 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/readme.md +1085 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/absolute.d.ts +52 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/all-extend.d.ts +121 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/all-union-fields.d.ts +91 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/and-all.d.ts +76 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/and.d.ts +82 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/array-element.d.ts +46 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/array-indices.d.ts +25 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/array-length.d.ts +36 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/array-reverse.d.ts +85 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/array-slice.d.ts +132 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/array-splice.d.ts +104 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/array-tail.d.ts +70 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/array-values.d.ts +24 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/arrayable.d.ts +31 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/async-return-type.d.ts +28 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/asyncify.d.ts +25 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/basic.d.ts +38 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/camel-case.d.ts +125 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +106 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/camel-cased-properties.d.ts +49 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/characters.d.ts +67 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/conditional-except.d.ts +47 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/conditional-keys.d.ts +63 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/conditional-pick-deep.d.ts +122 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/conditional-pick.d.ts +48 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/conditional-simplify-deep.d.ts +73 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/conditional-simplify.d.ts +50 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/delimiter-case.d.ts +79 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +115 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/delimiter-cased-properties.d.ts +52 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/distributed-omit.d.ts +96 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/distributed-pick.d.ts +92 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/empty-object.d.ts +51 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/entries.d.ts +64 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/entry.d.ts +67 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/exact.d.ts +73 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/except.d.ts +112 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/exclude-exactly.d.ts +57 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/exclude-rest-element.d.ts +40 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/exclude-strict.d.ts +51 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/exclusify-union.d.ts +147 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/extends-strict.d.ts +151 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/extract-exactly.d.ts +56 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/extract-rest-element.d.ts +30 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/extract-strict.d.ts +51 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/find-global-type.d.ts +68 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/fixed-length-array.d.ts +97 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/get.d.ts +227 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/global-this.d.ts +24 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/globals/index.d.ts +3 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/globals/observable-like.d.ts +78 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/greater-than-or-equal.d.ts +63 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/greater-than.d.ts +92 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/has-optional-keys.d.ts +23 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/has-readonly-keys.d.ts +23 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/has-required-keys.d.ts +61 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/has-writable-keys.d.ts +23 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/if-any.d.ts +28 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/if-empty-object.d.ts +30 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/if-never.d.ts +28 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/if-null.d.ts +28 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/if-unknown.d.ts +28 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/if.d.ts +102 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/includes.d.ts +24 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/int-closed-range.d.ts +45 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/int-range.d.ts +67 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/internal/array.d.ts +144 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/internal/characters.d.ts +65 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/internal/enforce-optional.d.ts +49 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/internal/index.d.ts +11 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/internal/keys.d.ts +100 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/internal/numeric.d.ts +143 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/internal/object.d.ts +301 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/internal/string.d.ts +127 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/internal/tuple.d.ts +79 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/internal/type.d.ts +171 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/invariant-of.d.ts +85 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-any.d.ts +31 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-equal.d.ts +41 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-float.d.ts +43 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-integer.d.ts +60 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-literal.d.ts +317 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-lowercase.d.ts +38 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-never.d.ts +56 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-null.d.ts +22 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-nullable.d.ts +30 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-optional-key-of.d.ts +51 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-optional.d.ts +28 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-readonly-key-of.d.ts +55 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-required-key-of.d.ts +51 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-tuple.d.ts +92 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-undefined.d.ts +22 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-union.d.ts +40 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-unknown.d.ts +43 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-uppercase.d.ts +38 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/is-writable-key-of.d.ts +51 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/iterable-element.d.ts +66 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/join.d.ts +79 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/json-value.d.ts +33 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/jsonifiable.d.ts +37 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/jsonify.d.ts +127 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/kebab-case.d.ts +47 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +72 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/kebab-cased-properties.d.ts +46 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/key-as-string.d.ts +27 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/keys-of-union.d.ts +44 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/last-array-element.d.ts +89 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/less-than-or-equal.d.ts +60 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/less-than.d.ts +60 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +71 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/literal-to-primitive.d.ts +38 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/literal-union.d.ts +39 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/merge-deep.d.ts +495 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/merge-exclusive.d.ts +45 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/merge.d.ts +87 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/multidimensional-array.d.ts +38 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +38 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/non-empty-object.d.ts +38 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/non-empty-string.d.ts +32 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/non-empty-tuple.d.ts +24 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/non-nullable-deep.d.ts +102 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/numeric.d.ts +226 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/object-merge.d.ts +199 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/omit-deep.d.ts +153 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/omit-index-signature.d.ts +98 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/opaque.d.ts +3 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/optional-keys-of.d.ts +46 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/optional.d.ts +31 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/or-all.d.ts +73 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/or.d.ts +82 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/override-properties.d.ts +43 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/package-json.d.ts +710 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/partial-deep.d.ts +157 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +81 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/pascal-case.d.ts +52 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +79 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/pascal-cased-properties.d.ts +46 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/paths.d.ts +241 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/pick-deep.d.ts +139 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/pick-index-signature.d.ts +52 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/primitive.d.ts +15 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/promisable.d.ts +27 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/readonly-deep.d.ts +118 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/readonly-keys-of.d.ts +38 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/readonly-tuple.d.ts +34 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/remove-prefix.d.ts +114 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/remove-suffix.d.ts +114 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/replace.d.ts +87 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/require-all-or-none.d.ts +54 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/require-at-least-one.d.ts +48 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/require-exactly-one.d.ts +48 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/require-one-or-none.d.ts +49 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/required-deep.d.ts +78 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/required-keys-of.d.ts +38 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/schema.d.ts +127 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/screaming-snake-case.d.ts +31 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/set-field-type.d.ts +67 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/set-non-nullable-deep.d.ts +89 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/set-non-nullable.d.ts +34 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/set-optional.d.ts +42 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/set-parameter-type.d.ts +125 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/set-readonly.d.ts +40 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/set-required-deep.d.ts +65 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/set-required.d.ts +75 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/set-return-type.d.ts +31 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/shared-union-fields-deep.d.ts +180 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/shared-union-fields.d.ts +79 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/simplify-deep.d.ts +117 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/simplify.d.ts +61 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/single-key-object.d.ts +28 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/snake-case.d.ts +48 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +72 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/snake-cased-properties.d.ts +46 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/some-extend.d.ts +115 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/split-on-rest-element.d.ts +108 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/split.d.ts +90 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/spread.d.ts +78 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/string-length.d.ts +38 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/string-repeat.d.ts +76 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/string-slice.d.ts +39 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/string-to-array.d.ts +97 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/string-to-number.d.ts +67 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/stringified.d.ts +25 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/structured-cloneable.d.ts +89 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/subtract.d.ts +87 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/sum.d.ts +82 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/tagged-union.d.ts +53 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/tagged.d.ts +261 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/trim.d.ts +29 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/tsconfig-json.d.ts +1356 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/tuple-of.d.ts +114 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/tuple-to-object.d.ts +47 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/tuple-to-union.d.ts +54 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/typed-array.d.ts +19 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +83 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/union-length.d.ts +27 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/union-member.d.ts +65 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/union-to-intersection.d.ts +35 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/union-to-tuple.d.ts +49 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/unknown-array.d.ts +27 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/unknown-map.d.ts +26 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/unknown-record.d.ts +33 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/unknown-set.d.ts +26 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/unwrap-partial.d.ts +33 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/unwrap-required.d.ts +37 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/value-of.d.ts +24 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/words.d.ts +148 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/writable-deep.d.ts +84 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/writable-keys-of.d.ts +34 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/writable.d.ts +68 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/type-fest/source/xor.d.ts +83 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/widest-line/package.json +60 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/wrap-ansi/index.d.ts +41 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/wrap-ansi/index.js +468 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/wrap-ansi/package.json +69 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/wrap-ansi/readme.md +77 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ws/LICENSE +20 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ws/README.md +548 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ws/browser.js +8 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ws/index.js +22 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/buffer-util.js +131 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/constants.js +19 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/event-target.js +292 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/extension.js +203 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/limiter.js +55 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/permessage-deflate.js +528 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/receiver.js +760 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/sender.js +607 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/stream.js +161 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/subprotocol.js +62 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/validation.js +152 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/websocket-server.js +562 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ws/lib/websocket.js +1407 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ws/package.json +70 -0
- package/node_modules/@quantiya/codevibe-core/node_modules/ws/wrapper.mjs +21 -0
- package/node_modules/@quantiya/codevibe-core/package.json +5 -4
- package/node_modules/shell-quote/.github/FUNDING.yml +12 -0
- package/node_modules/shell-quote/.nycrc +14 -0
- package/node_modules/shell-quote/LICENSE +24 -0
- package/node_modules/shell-quote/README.md +168 -0
- package/node_modules/shell-quote/eslint.config.mjs +29 -0
- package/node_modules/shell-quote/index.d.ts +28 -0
- package/node_modules/shell-quote/index.js +4 -0
- package/node_modules/shell-quote/package.json +76 -0
- package/node_modules/shell-quote/parse.d.ts +46 -0
- package/node_modules/shell-quote/parse.js +261 -0
- package/node_modules/shell-quote/quote.d.ts +15 -0
- package/node_modules/shell-quote/quote.js +65 -0
- package/node_modules/shell-quote/security.md +11 -0
- package/node_modules/shell-quote/test/comment.js +16 -0
- package/node_modules/shell-quote/test/env.js +52 -0
- package/node_modules/shell-quote/test/env_fn.js +21 -0
- package/node_modules/shell-quote/test/op.js +102 -0
- package/node_modules/shell-quote/test/parse.js +67 -0
- package/node_modules/shell-quote/test/quote.js +128 -0
- package/node_modules/shell-quote/test/set.js +31 -0
- package/node_modules/shell-quote/tsconfig.json +10 -0
- package/node_modules/tagged-tag/index.d.ts +3 -0
- package/node_modules/tagged-tag/package.json +36 -0
- package/node_modules/tagged-tag/readme.md +5 -0
- package/node_modules/terminal-size/index.d.ts +17 -0
- package/node_modules/terminal-size/index.js +139 -0
- package/node_modules/terminal-size/package.json +49 -0
- package/node_modules/terminal-size/readme.md +32 -0
- package/package.json +13 -3
- package/node_modules/@alcalzone/ansi-tokenize/README.md +0 -248
- package/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.d.ts +0 -11
- package/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.js +0 -41
- package/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.js.map +0 -1
- package/node_modules/@alcalzone/ansi-tokenize/build/diff.js +0 -17
- package/node_modules/@alcalzone/ansi-tokenize/build/diff.js.map +0 -1
- package/node_modules/@alcalzone/ansi-tokenize/build/reduce.js +0 -27
- package/node_modules/@alcalzone/ansi-tokenize/build/reduce.js.map +0 -1
- package/node_modules/@alcalzone/ansi-tokenize/build/tokenize.d.ts +0 -12
- package/node_modules/@alcalzone/ansi-tokenize/build/tokenize.js +0 -70
- package/node_modules/@alcalzone/ansi-tokenize/build/tokenize.js.map +0 -1
- package/node_modules/@alcalzone/ansi-tokenize/node_modules/is-fullwidth-code-point/index.js +0 -40
- package/node_modules/@alcalzone/ansi-tokenize/node_modules/is-fullwidth-code-point/package.json +0 -45
- package/node_modules/@alcalzone/ansi-tokenize/node_modules/is-fullwidth-code-point/readme.md +0 -43
- package/node_modules/@alcalzone/ansi-tokenize/package.json +0 -63
- package/node_modules/cli-boxes/index.d.ts +0 -127
- package/node_modules/cli-boxes/index.js +0 -6
- package/node_modules/cli-boxes/package.json +0 -42
- package/node_modules/cli-boxes/readme.md +0 -115
- package/node_modules/cli-truncate/index.d.ts +0 -116
- package/node_modules/cli-truncate/index.js +0 -99
- package/node_modules/cli-truncate/node_modules/ansi-styles/index.d.ts +0 -236
- package/node_modules/cli-truncate/node_modules/ansi-styles/package.json +0 -54
- package/node_modules/cli-truncate/node_modules/ansi-styles/readme.md +0 -173
- package/node_modules/cli-truncate/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
- package/node_modules/cli-truncate/node_modules/emoji-regex/README.md +0 -107
- package/node_modules/cli-truncate/node_modules/emoji-regex/index.d.ts +0 -3
- package/node_modules/cli-truncate/node_modules/emoji-regex/index.js +0 -4
- package/node_modules/cli-truncate/node_modules/emoji-regex/index.mjs +0 -4
- package/node_modules/cli-truncate/node_modules/emoji-regex/package.json +0 -45
- package/node_modules/cli-truncate/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
- package/node_modules/cli-truncate/node_modules/is-fullwidth-code-point/index.js +0 -40
- package/node_modules/cli-truncate/node_modules/is-fullwidth-code-point/package.json +0 -45
- package/node_modules/cli-truncate/node_modules/is-fullwidth-code-point/readme.md +0 -43
- package/node_modules/cli-truncate/node_modules/slice-ansi/index.js +0 -105
- package/node_modules/cli-truncate/node_modules/slice-ansi/package.json +0 -53
- package/node_modules/cli-truncate/node_modules/slice-ansi/readme.md +0 -66
- package/node_modules/cli-truncate/node_modules/string-width/index.js +0 -82
- package/node_modules/cli-truncate/node_modules/string-width/package.json +0 -64
- package/node_modules/cli-truncate/node_modules/string-width/readme.md +0 -66
- package/node_modules/cli-truncate/package.json +0 -51
- package/node_modules/cli-truncate/readme.md +0 -150
- package/node_modules/ink/build/apply-styles.js +0 -175
- package/node_modules/ink/build/build-layout.js +0 -77
- package/node_modules/ink/build/calculate-wrapped-text.js +0 -53
- package/node_modules/ink/build/components/App.d.ts +0 -59
- package/node_modules/ink/build/components/App.js +0 -286
- package/node_modules/ink/build/components/App.js.map +0 -1
- package/node_modules/ink/build/components/AppContext.d.ts +0 -11
- package/node_modules/ink/build/components/AppContext.js +0 -11
- package/node_modules/ink/build/components/AppContext.js.map +0 -1
- package/node_modules/ink/build/components/Box.d.ts +0 -62
- package/node_modules/ink/build/components/Box.js +0 -20
- package/node_modules/ink/build/components/Box.js.map +0 -1
- package/node_modules/ink/build/components/Color.js +0 -62
- package/node_modules/ink/build/components/ErrorOverview.js +0 -79
- package/node_modules/ink/build/components/ErrorOverview.js.map +0 -1
- package/node_modules/ink/build/components/Newline.d.ts +0 -13
- package/node_modules/ink/build/components/Newline.js +0 -8
- package/node_modules/ink/build/components/Newline.js.map +0 -1
- package/node_modules/ink/build/components/Spacer.d.ts +0 -6
- package/node_modules/ink/build/components/Spacer.js +0 -10
- package/node_modules/ink/build/components/Spacer.js.map +0 -1
- package/node_modules/ink/build/components/Static.d.ts +0 -31
- package/node_modules/ink/build/components/Static.js +0 -33
- package/node_modules/ink/build/components/Static.js.map +0 -1
- package/node_modules/ink/build/components/StderrContext.d.ts +0 -17
- package/node_modules/ink/build/components/StderrContext.js +0 -13
- package/node_modules/ink/build/components/StderrContext.js.map +0 -1
- package/node_modules/ink/build/components/StdinContext.d.ts +0 -23
- package/node_modules/ink/build/components/StdinContext.js +0 -19
- package/node_modules/ink/build/components/StdinContext.js.map +0 -1
- package/node_modules/ink/build/components/StdoutContext.d.ts +0 -17
- package/node_modules/ink/build/components/StdoutContext.js +0 -13
- package/node_modules/ink/build/components/StdoutContext.js.map +0 -1
- package/node_modules/ink/build/components/Text.d.ts +0 -49
- package/node_modules/ink/build/components/Text.js +0 -40
- package/node_modules/ink/build/components/Text.js.map +0 -1
- package/node_modules/ink/build/components/Transform.d.ts +0 -15
- package/node_modules/ink/build/components/Transform.js +0 -14
- package/node_modules/ink/build/components/Transform.js.map +0 -1
- package/node_modules/ink/build/devtools-window-polyfill.js +0 -64
- package/node_modules/ink/build/devtools-window-polyfill.js.map +0 -1
- package/node_modules/ink/build/devtools.js +0 -9
- package/node_modules/ink/build/devtools.js.map +0 -1
- package/node_modules/ink/build/dom.d.ts +0 -42
- package/node_modules/ink/build/dom.js +0 -117
- package/node_modules/ink/build/dom.js.map +0 -1
- package/node_modules/ink/build/experimental/apply-style.js +0 -140
- package/node_modules/ink/build/experimental/dom.js +0 -123
- package/node_modules/ink/build/experimental/output.js +0 -91
- package/node_modules/ink/build/experimental/reconciler.js +0 -141
- package/node_modules/ink/build/experimental/renderer.js +0 -81
- package/node_modules/ink/build/hooks/use-app.d.ts +0 -5
- package/node_modules/ink/build/hooks/use-app.js +0 -8
- package/node_modules/ink/build/hooks/use-app.js.map +0 -1
- package/node_modules/ink/build/hooks/use-focus-manager.d.ts +0 -34
- package/node_modules/ink/build/hooks/use-focus-manager.js +0 -18
- package/node_modules/ink/build/hooks/use-focus-manager.js.map +0 -1
- package/node_modules/ink/build/hooks/use-focus.d.ts +0 -34
- package/node_modules/ink/build/hooks/use-focus.js +0 -47
- package/node_modules/ink/build/hooks/use-focus.js.map +0 -1
- package/node_modules/ink/build/hooks/use-input.d.ts +0 -97
- package/node_modules/ink/build/hooks/use-input.js +0 -96
- package/node_modules/ink/build/hooks/use-input.js.map +0 -1
- package/node_modules/ink/build/hooks/use-stderr.d.ts +0 -5
- package/node_modules/ink/build/hooks/use-stderr.js +0 -8
- package/node_modules/ink/build/hooks/use-stderr.js.map +0 -1
- package/node_modules/ink/build/hooks/use-stdin.d.ts +0 -5
- package/node_modules/ink/build/hooks/use-stdin.js +0 -8
- package/node_modules/ink/build/hooks/use-stdin.js.map +0 -1
- package/node_modules/ink/build/hooks/use-stdout.d.ts +0 -5
- package/node_modules/ink/build/hooks/use-stdout.js +0 -8
- package/node_modules/ink/build/hooks/use-stdout.js.map +0 -1
- package/node_modules/ink/build/hooks/useInput.js +0 -38
- package/node_modules/ink/build/index.d.ts +0 -27
- package/node_modules/ink/build/index.js +0 -16
- package/node_modules/ink/build/index.js.map +0 -1
- package/node_modules/ink/build/ink.d.ts +0 -37
- package/node_modules/ink/build/ink.js +0 -235
- package/node_modules/ink/build/ink.js.map +0 -1
- package/node_modules/ink/build/instance.js +0 -205
- package/node_modules/ink/build/log-update.d.ts +0 -12
- package/node_modules/ink/build/log-update.js +0 -37
- package/node_modules/ink/build/log-update.js.map +0 -1
- package/node_modules/ink/build/measure-element.d.ts +0 -16
- package/node_modules/ink/build/measure-element.js +0 -9
- package/node_modules/ink/build/measure-element.js.map +0 -1
- package/node_modules/ink/build/measure-text.js +0 -20
- package/node_modules/ink/build/measure-text.js.map +0 -1
- package/node_modules/ink/build/output.d.ts +0 -35
- package/node_modules/ink/build/output.js +0 -148
- package/node_modules/ink/build/output.js.map +0 -1
- package/node_modules/ink/build/parse-keypress.d.ts +0 -14
- package/node_modules/ink/build/parse-keypress.js +0 -225
- package/node_modules/ink/build/parse-keypress.js.map +0 -1
- package/node_modules/ink/build/reconciler.d.ts +0 -4
- package/node_modules/ink/build/reconciler.js +0 -219
- package/node_modules/ink/build/reconciler.js.map +0 -1
- package/node_modules/ink/build/render-border.js +0 -73
- package/node_modules/ink/build/render-border.js.map +0 -1
- package/node_modules/ink/build/render-node-to-output.d.ts +0 -10
- package/node_modules/ink/build/render-node-to-output.js +0 -99
- package/node_modules/ink/build/render-node-to-output.js.map +0 -1
- package/node_modules/ink/build/render.d.ts +0 -63
- package/node_modules/ink/build/render.js +0 -48
- package/node_modules/ink/build/render.js.map +0 -1
- package/node_modules/ink/build/renderer.d.ts +0 -8
- package/node_modules/ink/build/renderer.js +0 -36
- package/node_modules/ink/build/renderer.js.map +0 -1
- package/node_modules/ink/build/squash-text-nodes.js +0 -35
- package/node_modules/ink/build/squash-text-nodes.js.map +0 -1
- package/node_modules/ink/build/styles.d.ts +0 -243
- package/node_modules/ink/build/styles.js +0 -232
- package/node_modules/ink/build/styles.js.map +0 -1
- package/node_modules/ink/build/wrap-text.js +0 -31
- package/node_modules/ink/build/wrap-text.js.map +0 -1
- package/node_modules/ink/license +0 -9
- package/node_modules/ink/node_modules/ansi-styles/index.d.ts +0 -236
- package/node_modules/ink/node_modules/ansi-styles/index.js +0 -223
- package/node_modules/ink/node_modules/ansi-styles/package.json +0 -54
- package/node_modules/ink/node_modules/ansi-styles/readme.md +0 -173
- package/node_modules/ink/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/node_modules/ink/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
- package/node_modules/ink/node_modules/emoji-regex/README.md +0 -107
- package/node_modules/ink/node_modules/emoji-regex/index.d.ts +0 -3
- package/node_modules/ink/node_modules/emoji-regex/index.js +0 -4
- package/node_modules/ink/node_modules/emoji-regex/index.mjs +0 -4
- package/node_modules/ink/node_modules/emoji-regex/package.json +0 -45
- package/node_modules/ink/node_modules/string-width/index.d.ts +0 -39
- package/node_modules/ink/node_modules/string-width/index.js +0 -82
- package/node_modules/ink/node_modules/string-width/package.json +0 -64
- package/node_modules/ink/node_modules/string-width/readme.md +0 -66
- package/node_modules/ink/node_modules/type-fest/index.d.ts +0 -178
- package/node_modules/ink/node_modules/type-fest/package.json +0 -91
- package/node_modules/ink/node_modules/type-fest/readme.md +0 -1060
- package/node_modules/ink/node_modules/type-fest/source/all-union-fields.d.ts +0 -88
- package/node_modules/ink/node_modules/type-fest/source/and.d.ts +0 -25
- package/node_modules/ink/node_modules/type-fest/source/array-indices.d.ts +0 -23
- package/node_modules/ink/node_modules/type-fest/source/array-slice.d.ts +0 -109
- package/node_modules/ink/node_modules/type-fest/source/array-splice.d.ts +0 -99
- package/node_modules/ink/node_modules/type-fest/source/array-tail.d.ts +0 -76
- package/node_modules/ink/node_modules/type-fest/source/array-values.d.ts +0 -22
- package/node_modules/ink/node_modules/type-fest/source/arrayable.d.ts +0 -29
- package/node_modules/ink/node_modules/type-fest/source/async-return-type.d.ts +0 -23
- package/node_modules/ink/node_modules/type-fest/source/asyncify.d.ts +0 -32
- package/node_modules/ink/node_modules/type-fest/source/basic.d.ts +0 -68
- package/node_modules/ink/node_modules/type-fest/source/camel-case.d.ts +0 -89
- package/node_modules/ink/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +0 -97
- package/node_modules/ink/node_modules/type-fest/source/camel-cased-properties.d.ts +0 -43
- package/node_modules/ink/node_modules/type-fest/source/conditional-except.d.ts +0 -45
- package/node_modules/ink/node_modules/type-fest/source/conditional-keys.d.ts +0 -47
- package/node_modules/ink/node_modules/type-fest/source/conditional-pick-deep.d.ts +0 -118
- package/node_modules/ink/node_modules/type-fest/source/conditional-pick.d.ts +0 -44
- package/node_modules/ink/node_modules/type-fest/source/conditional-simplify.d.ts +0 -32
- package/node_modules/ink/node_modules/type-fest/source/delimiter-case.d.ts +0 -78
- package/node_modules/ink/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +0 -106
- package/node_modules/ink/node_modules/type-fest/source/delimiter-cased-properties.d.ts +0 -46
- package/node_modules/ink/node_modules/type-fest/source/distributed-omit.d.ts +0 -89
- package/node_modules/ink/node_modules/type-fest/source/distributed-pick.d.ts +0 -85
- package/node_modules/ink/node_modules/type-fest/source/empty-object.d.ts +0 -46
- package/node_modules/ink/node_modules/type-fest/source/enforce-optional.d.ts +0 -47
- package/node_modules/ink/node_modules/type-fest/source/entries.d.ts +0 -62
- package/node_modules/ink/node_modules/type-fest/source/entry.d.ts +0 -65
- package/node_modules/ink/node_modules/type-fest/source/exact.d.ts +0 -68
- package/node_modules/ink/node_modules/type-fest/source/except.d.ts +0 -108
- package/node_modules/ink/node_modules/type-fest/source/find-global-type.d.ts +0 -64
- package/node_modules/ink/node_modules/type-fest/source/fixed-length-array.d.ts +0 -43
- package/node_modules/ink/node_modules/type-fest/source/get.d.ts +0 -219
- package/node_modules/ink/node_modules/type-fest/source/global-this.d.ts +0 -21
- package/node_modules/ink/node_modules/type-fest/source/greater-than-or-equal.d.ts +0 -22
- package/node_modules/ink/node_modules/type-fest/source/greater-than.d.ts +0 -56
- package/node_modules/ink/node_modules/type-fest/source/has-optional-keys.d.ts +0 -21
- package/node_modules/ink/node_modules/type-fest/source/has-readonly-keys.d.ts +0 -21
- package/node_modules/ink/node_modules/type-fest/source/has-required-keys.d.ts +0 -59
- package/node_modules/ink/node_modules/type-fest/source/has-writable-keys.d.ts +0 -21
- package/node_modules/ink/node_modules/type-fest/source/if-any.d.ts +0 -24
- package/node_modules/ink/node_modules/type-fest/source/if-empty-object.d.ts +0 -26
- package/node_modules/ink/node_modules/type-fest/source/if-never.d.ts +0 -24
- package/node_modules/ink/node_modules/type-fest/source/if-null.d.ts +0 -24
- package/node_modules/ink/node_modules/type-fest/source/if-unknown.d.ts +0 -24
- package/node_modules/ink/node_modules/type-fest/source/includes.d.ts +0 -22
- package/node_modules/ink/node_modules/type-fest/source/int-closed-range.d.ts +0 -35
- package/node_modules/ink/node_modules/type-fest/source/int-range.d.ts +0 -55
- package/node_modules/ink/node_modules/type-fest/source/internal/array.d.ts +0 -126
- package/node_modules/ink/node_modules/type-fest/source/internal/characters.d.ts +0 -67
- package/node_modules/ink/node_modules/type-fest/source/internal/index.d.ts +0 -8
- package/node_modules/ink/node_modules/type-fest/source/internal/keys.d.ts +0 -97
- package/node_modules/ink/node_modules/type-fest/source/internal/numeric.d.ts +0 -118
- package/node_modules/ink/node_modules/type-fest/source/internal/object.d.ts +0 -236
- package/node_modules/ink/node_modules/type-fest/source/internal/string.d.ts +0 -210
- package/node_modules/ink/node_modules/type-fest/source/internal/tuple.d.ts +0 -90
- package/node_modules/ink/node_modules/type-fest/source/internal/type.d.ts +0 -139
- package/node_modules/ink/node_modules/type-fest/source/invariant-of.d.ts +0 -76
- package/node_modules/ink/node_modules/type-fest/source/is-any.d.ts +0 -33
- package/node_modules/ink/node_modules/type-fest/source/is-equal.d.ts +0 -31
- package/node_modules/ink/node_modules/type-fest/source/is-float.d.ts +0 -41
- package/node_modules/ink/node_modules/type-fest/source/is-integer.d.ts +0 -58
- package/node_modules/ink/node_modules/type-fest/source/is-literal.d.ts +0 -296
- package/node_modules/ink/node_modules/type-fest/source/is-never.d.ts +0 -42
- package/node_modules/ink/node_modules/type-fest/source/is-null.d.ts +0 -20
- package/node_modules/ink/node_modules/type-fest/source/is-tuple.d.ts +0 -89
- package/node_modules/ink/node_modules/type-fest/source/is-unknown.d.ts +0 -52
- package/node_modules/ink/node_modules/type-fest/source/iterable-element.d.ts +0 -64
- package/node_modules/ink/node_modules/type-fest/source/join.d.ts +0 -68
- package/node_modules/ink/node_modules/type-fest/source/jsonifiable.d.ts +0 -37
- package/node_modules/ink/node_modules/type-fest/source/jsonify.d.ts +0 -122
- package/node_modules/ink/node_modules/type-fest/source/kebab-case.d.ts +0 -44
- package/node_modules/ink/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +0 -63
- package/node_modules/ink/node_modules/type-fest/source/kebab-cased-properties.d.ts +0 -40
- package/node_modules/ink/node_modules/type-fest/source/keys-of-union.d.ts +0 -42
- package/node_modules/ink/node_modules/type-fest/source/last-array-element.d.ts +0 -38
- package/node_modules/ink/node_modules/type-fest/source/less-than-or-equal.d.ts +0 -22
- package/node_modules/ink/node_modules/type-fest/source/less-than.d.ts +0 -26
- package/node_modules/ink/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +0 -36
- package/node_modules/ink/node_modules/type-fest/source/literal-to-primitive.d.ts +0 -36
- package/node_modules/ink/node_modules/type-fest/source/literal-union.d.ts +0 -37
- package/node_modules/ink/node_modules/type-fest/source/merge-deep.d.ts +0 -486
- package/node_modules/ink/node_modules/type-fest/source/merge-exclusive.d.ts +0 -41
- package/node_modules/ink/node_modules/type-fest/source/merge.d.ts +0 -48
- package/node_modules/ink/node_modules/type-fest/source/multidimensional-array.d.ts +0 -44
- package/node_modules/ink/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +0 -48
- package/node_modules/ink/node_modules/type-fest/source/non-empty-object.d.ts +0 -35
- package/node_modules/ink/node_modules/type-fest/source/non-empty-string.d.ts +0 -28
- package/node_modules/ink/node_modules/type-fest/source/non-empty-tuple.d.ts +0 -21
- package/node_modules/ink/node_modules/type-fest/source/numeric.d.ts +0 -222
- package/node_modules/ink/node_modules/type-fest/source/observable-like.d.ts +0 -63
- package/node_modules/ink/node_modules/type-fest/source/omit-deep.d.ts +0 -167
- package/node_modules/ink/node_modules/type-fest/source/omit-index-signature.d.ts +0 -95
- package/node_modules/ink/node_modules/type-fest/source/opaque.d.ts +0 -1
- package/node_modules/ink/node_modules/type-fest/source/optional-keys-of.d.ts +0 -39
- package/node_modules/ink/node_modules/type-fest/source/or.d.ts +0 -25
- package/node_modules/ink/node_modules/type-fest/source/override-properties.d.ts +0 -36
- package/node_modules/ink/node_modules/type-fest/source/package-json.d.ts +0 -676
- package/node_modules/ink/node_modules/type-fest/source/partial-deep.d.ts +0 -151
- package/node_modules/ink/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +0 -78
- package/node_modules/ink/node_modules/type-fest/source/pascal-case.d.ts +0 -42
- package/node_modules/ink/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +0 -62
- package/node_modules/ink/node_modules/type-fest/source/pascal-cased-properties.d.ts +0 -36
- package/node_modules/ink/node_modules/type-fest/source/paths.d.ts +0 -262
- package/node_modules/ink/node_modules/type-fest/source/pick-deep.d.ts +0 -149
- package/node_modules/ink/node_modules/type-fest/source/pick-index-signature.d.ts +0 -50
- package/node_modules/ink/node_modules/type-fest/source/primitive.d.ts +0 -13
- package/node_modules/ink/node_modules/type-fest/source/promisable.d.ts +0 -25
- package/node_modules/ink/node_modules/type-fest/source/readonly-deep.d.ts +0 -81
- package/node_modules/ink/node_modules/type-fest/source/readonly-keys-of.d.ts +0 -30
- package/node_modules/ink/node_modules/type-fest/source/readonly-tuple.d.ts +0 -41
- package/node_modules/ink/node_modules/type-fest/source/replace.d.ts +0 -85
- package/node_modules/ink/node_modules/type-fest/source/require-all-or-none.d.ts +0 -51
- package/node_modules/ink/node_modules/type-fest/source/require-at-least-one.d.ts +0 -47
- package/node_modules/ink/node_modules/type-fest/source/require-exactly-one.d.ts +0 -45
- package/node_modules/ink/node_modules/type-fest/source/require-one-or-none.d.ts +0 -46
- package/node_modules/ink/node_modules/type-fest/source/required-deep.d.ts +0 -78
- package/node_modules/ink/node_modules/type-fest/source/required-keys-of.d.ts +0 -30
- package/node_modules/ink/node_modules/type-fest/source/schema.d.ts +0 -114
- package/node_modules/ink/node_modules/type-fest/source/screaming-snake-case.d.ts +0 -28
- package/node_modules/ink/node_modules/type-fest/source/set-field-type.d.ts +0 -65
- package/node_modules/ink/node_modules/type-fest/source/set-non-nullable-deep.d.ts +0 -83
- package/node_modules/ink/node_modules/type-fest/source/set-non-nullable.d.ts +0 -39
- package/node_modules/ink/node_modules/type-fest/source/set-optional.d.ts +0 -38
- package/node_modules/ink/node_modules/type-fest/source/set-parameter-type.d.ts +0 -117
- package/node_modules/ink/node_modules/type-fest/source/set-readonly.d.ts +0 -39
- package/node_modules/ink/node_modules/type-fest/source/set-required-deep.d.ts +0 -68
- package/node_modules/ink/node_modules/type-fest/source/set-required.d.ts +0 -70
- package/node_modules/ink/node_modules/type-fest/source/set-return-type.d.ts +0 -29
- package/node_modules/ink/node_modules/type-fest/source/shared-union-fields-deep.d.ts +0 -178
- package/node_modules/ink/node_modules/type-fest/source/shared-union-fields.d.ts +0 -76
- package/node_modules/ink/node_modules/type-fest/source/simplify-deep.d.ts +0 -115
- package/node_modules/ink/node_modules/type-fest/source/simplify.d.ts +0 -58
- package/node_modules/ink/node_modules/type-fest/source/single-key-object.d.ts +0 -29
- package/node_modules/ink/node_modules/type-fest/source/snake-case.d.ts +0 -45
- package/node_modules/ink/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +0 -63
- package/node_modules/ink/node_modules/type-fest/source/snake-cased-properties.d.ts +0 -40
- package/node_modules/ink/node_modules/type-fest/source/split.d.ts +0 -88
- package/node_modules/ink/node_modules/type-fest/source/spread.d.ts +0 -84
- package/node_modules/ink/node_modules/type-fest/source/string-key-of.d.ts +0 -25
- package/node_modules/ink/node_modules/type-fest/source/string-repeat.d.ts +0 -47
- package/node_modules/ink/node_modules/type-fest/source/string-slice.d.ts +0 -37
- package/node_modules/ink/node_modules/type-fest/source/stringified.d.ts +0 -23
- package/node_modules/ink/node_modules/type-fest/source/structured-cloneable.d.ts +0 -92
- package/node_modules/ink/node_modules/type-fest/source/subtract.d.ts +0 -83
- package/node_modules/ink/node_modules/type-fest/source/sum.d.ts +0 -78
- package/node_modules/ink/node_modules/type-fest/source/tagged-union.d.ts +0 -51
- package/node_modules/ink/node_modules/type-fest/source/tagged.d.ts +0 -256
- package/node_modules/ink/node_modules/type-fest/source/trim.d.ts +0 -27
- package/node_modules/ink/node_modules/type-fest/source/tsconfig-json.d.ts +0 -1294
- package/node_modules/ink/node_modules/type-fest/source/tuple-to-object.d.ts +0 -42
- package/node_modules/ink/node_modules/type-fest/source/tuple-to-union.d.ts +0 -51
- package/node_modules/ink/node_modules/type-fest/source/typed-array.d.ts +0 -17
- package/node_modules/ink/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +0 -80
- package/node_modules/ink/node_modules/type-fest/source/union-to-intersection.d.ts +0 -61
- package/node_modules/ink/node_modules/type-fest/source/union-to-tuple.d.ts +0 -56
- package/node_modules/ink/node_modules/type-fest/source/unknown-array.d.ts +0 -25
- package/node_modules/ink/node_modules/type-fest/source/unknown-map.d.ts +0 -24
- package/node_modules/ink/node_modules/type-fest/source/unknown-record.d.ts +0 -31
- package/node_modules/ink/node_modules/type-fest/source/unknown-set.d.ts +0 -24
- package/node_modules/ink/node_modules/type-fest/source/value-of.d.ts +0 -42
- package/node_modules/ink/node_modules/type-fest/source/words.d.ts +0 -118
- package/node_modules/ink/node_modules/type-fest/source/writable-deep.d.ts +0 -83
- package/node_modules/ink/node_modules/type-fest/source/writable-keys-of.d.ts +0 -33
- package/node_modules/ink/node_modules/type-fest/source/writable.d.ts +0 -68
- package/node_modules/ink/node_modules/wrap-ansi/index.d.ts +0 -41
- package/node_modules/ink/node_modules/wrap-ansi/index.js +0 -222
- package/node_modules/ink/node_modules/wrap-ansi/package.json +0 -69
- package/node_modules/ink/node_modules/wrap-ansi/readme.md +0 -75
- package/node_modules/ink/package.json +0 -196
- package/node_modules/ink/readme.md +0 -2162
- package/node_modules/is-in-ci/index.js +0 -11
- package/node_modules/is-in-ci/license +0 -9
- package/node_modules/is-in-ci/package.json +0 -49
- package/node_modules/is-in-ci/readme.md +0 -44
- package/node_modules/js-tokens/CHANGELOG.md +0 -151
- package/node_modules/js-tokens/LICENSE +0 -21
- package/node_modules/js-tokens/README.md +0 -240
- package/node_modules/js-tokens/index.js +0 -23
- package/node_modules/js-tokens/package.json +0 -30
- package/node_modules/loose-envify/LICENSE +0 -21
- package/node_modules/loose-envify/README.md +0 -45
- package/node_modules/loose-envify/cli.js +0 -16
- package/node_modules/loose-envify/custom.js +0 -4
- package/node_modules/loose-envify/index.js +0 -3
- package/node_modules/loose-envify/loose-envify.js +0 -36
- package/node_modules/loose-envify/package.json +0 -36
- package/node_modules/loose-envify/replace.js +0 -65
- package/node_modules/react/LICENSE +0 -21
- package/node_modules/react/README.md +0 -37
- package/node_modules/react/cjs/react-jsx-dev-runtime.development.js +0 -1315
- package/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +0 -10
- package/node_modules/react/cjs/react-jsx-dev-runtime.profiling.min.js +0 -10
- package/node_modules/react/cjs/react-jsx-runtime.development.js +0 -1333
- package/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -11
- package/node_modules/react/cjs/react-jsx-runtime.profiling.min.js +0 -11
- package/node_modules/react/cjs/react.development.js +0 -2740
- package/node_modules/react/cjs/react.production.min.js +0 -26
- package/node_modules/react/cjs/react.shared-subset.development.js +0 -20
- package/node_modules/react/cjs/react.shared-subset.production.min.js +0 -10
- package/node_modules/react/index.js +0 -7
- package/node_modules/react/jsx-dev-runtime.js +0 -7
- package/node_modules/react/jsx-runtime.js +0 -7
- package/node_modules/react/package.json +0 -47
- package/node_modules/react/react.shared-subset.js +0 -7
- package/node_modules/react/umd/react.development.js +0 -3343
- package/node_modules/react/umd/react.production.min.js +0 -31
- package/node_modules/react/umd/react.profiling.min.js +0 -31
- package/node_modules/react-reconciler/LICENSE +0 -21
- package/node_modules/react-reconciler/README.md +0 -337
- package/node_modules/react-reconciler/cjs/react-reconciler-constants.development.js +0 -45
- package/node_modules/react-reconciler/cjs/react-reconciler-constants.production.min.js +0 -10
- package/node_modules/react-reconciler/cjs/react-reconciler-reflection.development.js +0 -660
- package/node_modules/react-reconciler/cjs/react-reconciler-reflection.production.min.js +0 -15
- package/node_modules/react-reconciler/cjs/react-reconciler.development.js +0 -21531
- package/node_modules/react-reconciler/cjs/react-reconciler.production.min.js +0 -234
- package/node_modules/react-reconciler/cjs/react-reconciler.profiling.min.js +0 -255
- package/node_modules/react-reconciler/constants.js +0 -7
- package/node_modules/react-reconciler/index.js +0 -7
- package/node_modules/react-reconciler/package.json +0 -40
- package/node_modules/react-reconciler/reflection.js +0 -7
- package/node_modules/scheduler/LICENSE +0 -21
- package/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +0 -700
- package/node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js +0 -20
- package/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +0 -207
- package/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js +0 -14
- package/node_modules/scheduler/cjs/scheduler.development.js +0 -634
- package/node_modules/scheduler/cjs/scheduler.production.min.js +0 -19
- package/node_modules/scheduler/index.js +0 -7
- package/node_modules/scheduler/package.json +0 -36
- package/node_modules/scheduler/umd/scheduler-unstable_mock.development.js +0 -699
- package/node_modules/scheduler/umd/scheduler-unstable_mock.production.min.js +0 -19
- package/node_modules/scheduler/umd/scheduler.development.js +0 -152
- package/node_modules/scheduler/umd/scheduler.production.min.js +0 -146
- package/node_modules/scheduler/umd/scheduler.profiling.min.js +0 -146
- package/node_modules/scheduler/unstable_mock.js +0 -7
- package/node_modules/scheduler/unstable_post_task.js +0 -7
- package/node_modules/slice-ansi/index.d.ts +0 -19
- package/node_modules/slice-ansi/index.js +0 -169
- package/node_modules/slice-ansi/license +0 -10
- package/node_modules/slice-ansi/node_modules/ansi-styles/index.d.ts +0 -236
- package/node_modules/slice-ansi/node_modules/ansi-styles/index.js +0 -223
- package/node_modules/slice-ansi/node_modules/ansi-styles/license +0 -9
- package/node_modules/slice-ansi/node_modules/ansi-styles/package.json +0 -54
- package/node_modules/slice-ansi/node_modules/ansi-styles/readme.md +0 -173
- package/node_modules/slice-ansi/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
- package/node_modules/slice-ansi/node_modules/is-fullwidth-code-point/license +0 -9
- package/node_modules/slice-ansi/package.json +0 -58
- package/node_modules/slice-ansi/readme.md +0 -54
- package/node_modules/widest-line/license +0 -9
- package/node_modules/widest-line/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
- package/node_modules/widest-line/node_modules/emoji-regex/README.md +0 -107
- package/node_modules/widest-line/node_modules/emoji-regex/index.d.ts +0 -3
- package/node_modules/widest-line/node_modules/emoji-regex/index.js +0 -4
- package/node_modules/widest-line/node_modules/emoji-regex/index.mjs +0 -4
- package/node_modules/widest-line/node_modules/emoji-regex/package.json +0 -45
- package/node_modules/widest-line/node_modules/string-width/index.d.ts +0 -39
- package/node_modules/widest-line/node_modules/string-width/index.js +0 -82
- package/node_modules/widest-line/node_modules/string-width/license +0 -9
- package/node_modules/widest-line/node_modules/string-width/package.json +0 -64
- package/node_modules/widest-line/node_modules/string-width/readme.md +0 -66
- package/node_modules/widest-line/package.json +0 -60
- /package/node_modules/{ink/build/devtools-window-polyfill.d.ts → @quantiya/codevibe-core/dist/orchestration-shell/__tests__/companion-turn-mirror.test.d.ts} +0 -0
- /package/node_modules/{@alcalzone → @quantiya/codevibe-core/node_modules/@alcalzone}/ansi-tokenize/build/diff.d.ts +0 -0
- /package/node_modules/{@alcalzone → @quantiya/codevibe-core/node_modules/@alcalzone}/ansi-tokenize/build/index.d.ts +0 -0
- /package/node_modules/{@alcalzone → @quantiya/codevibe-core/node_modules/@alcalzone}/ansi-tokenize/build/index.js +0 -0
- /package/node_modules/{@alcalzone → @quantiya/codevibe-core/node_modules/@alcalzone}/ansi-tokenize/build/index.js.map +0 -0
- /package/node_modules/{@alcalzone → @quantiya/codevibe-core/node_modules/@alcalzone}/ansi-tokenize/build/reduce.d.ts +0 -0
- /package/node_modules/{@alcalzone → @quantiya/codevibe-core/node_modules/@alcalzone}/ansi-tokenize/build/styledChars.d.ts +0 -0
- /package/node_modules/{@alcalzone → @quantiya/codevibe-core/node_modules/@alcalzone}/ansi-tokenize/build/styledChars.js +0 -0
- /package/node_modules/{@alcalzone → @quantiya/codevibe-core/node_modules/@alcalzone}/ansi-tokenize/build/styledChars.js.map +0 -0
- /package/node_modules/{@alcalzone → @quantiya/codevibe-core/node_modules/@alcalzone}/ansi-tokenize/build/undo.d.ts +0 -0
- /package/node_modules/{@alcalzone → @quantiya/codevibe-core/node_modules/@alcalzone}/ansi-tokenize/build/undo.js +0 -0
- /package/node_modules/{@alcalzone → @quantiya/codevibe-core/node_modules/@alcalzone}/ansi-tokenize/build/undo.js.map +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/ansi-escapes/base.d.ts +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/ansi-escapes/base.js +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/ansi-escapes/index.d.ts +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/ansi-escapes/index.js +0 -0
- /package/node_modules/{@alcalzone/ansi-tokenize/node_modules/ansi-styles → @quantiya/codevibe-core/node_modules/ansi-escapes}/license +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/ansi-escapes/package.json +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/ansi-escapes/readme.md +0 -0
- /package/node_modules/{@alcalzone/ansi-tokenize → @quantiya/codevibe-core}/node_modules/ansi-styles/index.d.ts +0 -0
- /package/node_modules/{@alcalzone/ansi-tokenize → @quantiya/codevibe-core}/node_modules/ansi-styles/index.js +0 -0
- /package/node_modules/{@alcalzone/ansi-tokenize/node_modules/is-fullwidth-code-point → @quantiya/codevibe-core/node_modules/ansi-styles}/license +0 -0
- /package/node_modules/{@alcalzone/ansi-tokenize → @quantiya/codevibe-core}/node_modules/ansi-styles/package.json +0 -0
- /package/node_modules/{@alcalzone/ansi-tokenize → @quantiya/codevibe-core}/node_modules/ansi-styles/readme.md +0 -0
- /package/node_modules/{cli-boxes → @quantiya/codevibe-core/node_modules/chalk}/license +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/chalk/package.json +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/chalk/readme.md +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/chalk/source/index.d.ts +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/chalk/source/index.js +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/chalk/source/utilities.js +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -0
- /package/node_modules/{cli-truncate/node_modules → @quantiya/codevibe-core/node_modules/chalk/source/vendor}/ansi-styles/index.js +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/chalk/source/vendor/supports-color/browser.js +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/chalk/source/vendor/supports-color/index.js +0 -0
- /package/node_modules/{cli-boxes → @quantiya/codevibe-core/node_modules/cli-boxes}/boxes.json +0 -0
- /package/node_modules/{cli-truncate → @quantiya/codevibe-core/node_modules/cli-boxes}/license +0 -0
- /package/node_modules/{cli-truncate/node_modules/ansi-styles → @quantiya/codevibe-core/node_modules/cli-truncate}/license +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/colorize.d.ts +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/colorize.js +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/colorize.js.map +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/components/ErrorOverview.d.ts +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/components/FocusContext.d.ts +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/components/FocusContext.js +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/components/FocusContext.js.map +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/devtools.d.ts +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/get-max-width.d.ts +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/get-max-width.js +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/get-max-width.js.map +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/instances.d.ts +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/instances.js +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/instances.js.map +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/measure-text.d.ts +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/render-border.d.ts +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/squash-text-nodes.d.ts +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core/node_modules/ink}/build/wrap-text.d.ts +0 -0
- /package/node_modules/{@alcalzone/ansi-tokenize → @quantiya/codevibe-core}/node_modules/is-fullwidth-code-point/index.d.ts +0 -0
- /package/node_modules/{slice-ansi → @quantiya/codevibe-core}/node_modules/is-fullwidth-code-point/index.js +0 -0
- /package/node_modules/{cli-truncate → @quantiya/codevibe-core}/node_modules/is-fullwidth-code-point/license +0 -0
- /package/node_modules/{slice-ansi → @quantiya/codevibe-core}/node_modules/is-fullwidth-code-point/package.json +0 -0
- /package/node_modules/{slice-ansi → @quantiya/codevibe-core}/node_modules/is-fullwidth-code-point/readme.md +0 -0
- /package/node_modules/{is-in-ci → @quantiya/codevibe-core/node_modules/is-in-ci}/cli.js +0 -0
- /package/node_modules/{is-in-ci → @quantiya/codevibe-core/node_modules/is-in-ci}/index.d.ts +0 -0
- /package/node_modules/{cli-truncate/node_modules/string-width → @quantiya/codevibe-core/node_modules/is-in-ci}/license +0 -0
- /package/node_modules/{scheduler → @quantiya/codevibe-core/node_modules/scheduler}/README.md +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/signal-exit/LICENSE.txt +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/signal-exit/README.md +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/signal-exit/index.js +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/signal-exit/package.json +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/signal-exit/signals.js +0 -0
- /package/node_modules/{cli-truncate → @quantiya/codevibe-core}/node_modules/slice-ansi/license +0 -0
- /package/node_modules/{cli-truncate → @quantiya/codevibe-core}/node_modules/string-width/index.d.ts +0 -0
- /package/node_modules/{ink/node_modules/ansi-escapes → @quantiya/codevibe-core/node_modules/string-width}/license +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/type-fest/license-cc0 +0 -0
- /package/node_modules/{ink → @quantiya/codevibe-core}/node_modules/type-fest/license-mit +0 -0
- /package/node_modules/{widest-line → @quantiya/codevibe-core/node_modules/widest-line}/index.d.ts +0 -0
- /package/node_modules/{widest-line → @quantiya/codevibe-core/node_modules/widest-line}/index.js +0 -0
- /package/node_modules/{ink/node_modules/ansi-styles → @quantiya/codevibe-core/node_modules/widest-line}/license +0 -0
- /package/node_modules/{widest-line → @quantiya/codevibe-core/node_modules/widest-line}/readme.md +0 -0
- /package/node_modules/{ink/node_modules/chalk → @quantiya/codevibe-core/node_modules/wrap-ansi}/license +0 -0
- /package/node_modules/{ink/node_modules/string-width → tagged-tag}/license +0 -0
- /package/node_modules/{ink/node_modules/wrap-ansi → terminal-size}/license +0 -0
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import type {KeysOfUnion} from './keys-of-union';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
Omits keys from a type, distributing the operation over a union.
|
|
5
|
-
|
|
6
|
-
TypeScript's `Omit` doesn't distribute over unions, leading to the erasure of unique properties from union members when omitting keys. This creates a type that only retains properties common to all union members, making it impossible to access member-specific properties after the Omit. Essentially, using `Omit` on a union type merges the types into a less specific one, hindering type narrowing and property access based on discriminants. This type solves that.
|
|
7
|
-
|
|
8
|
-
Example:
|
|
9
|
-
|
|
10
|
-
```
|
|
11
|
-
type A = {
|
|
12
|
-
discriminant: 'A';
|
|
13
|
-
foo: string;
|
|
14
|
-
a: number;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
type B = {
|
|
18
|
-
discriminant: 'B';
|
|
19
|
-
foo: string;
|
|
20
|
-
b: string;
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
type Union = A | B;
|
|
24
|
-
|
|
25
|
-
type OmittedUnion = Omit<Union, 'foo'>;
|
|
26
|
-
//=> {discriminant: 'A' | 'B'}
|
|
27
|
-
|
|
28
|
-
const omittedUnion: OmittedUnion = createOmittedUnion();
|
|
29
|
-
|
|
30
|
-
if (omittedUnion.discriminant === 'A') {
|
|
31
|
-
// We would like to narrow `omittedUnion`'s type
|
|
32
|
-
// to `A` here, but we can't because `Omit`
|
|
33
|
-
// doesn't distribute over unions.
|
|
34
|
-
|
|
35
|
-
omittedUnion.a;
|
|
36
|
-
//=> Error: `a` is not a property of `{discriminant: 'A' | 'B'}`
|
|
37
|
-
}
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
While `Except` solves this problem, it restricts the keys you can omit to the ones that are present in **ALL** union members, where `DistributedOmit` allows you to omit keys that are present in **ANY** union member.
|
|
41
|
-
|
|
42
|
-
@example
|
|
43
|
-
```
|
|
44
|
-
type A = {
|
|
45
|
-
discriminant: 'A';
|
|
46
|
-
foo: string;
|
|
47
|
-
a: number;
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
type B = {
|
|
51
|
-
discriminant: 'B';
|
|
52
|
-
foo: string;
|
|
53
|
-
bar: string;
|
|
54
|
-
b: string;
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
type C = {
|
|
58
|
-
discriminant: 'C';
|
|
59
|
-
bar: string;
|
|
60
|
-
c: boolean;
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
// Notice that `foo` exists in `A` and `B`, but not in `C`, and
|
|
64
|
-
// `bar` exists in `B` and `C`, but not in `A`.
|
|
65
|
-
|
|
66
|
-
type Union = A | B | C;
|
|
67
|
-
|
|
68
|
-
type OmittedUnion = DistributedOmit<Union, 'foo' | 'bar'>;
|
|
69
|
-
|
|
70
|
-
const omittedUnion: OmittedUnion = createOmittedUnion();
|
|
71
|
-
|
|
72
|
-
if (omittedUnion.discriminant === 'A') {
|
|
73
|
-
omittedUnion.a;
|
|
74
|
-
//=> OK
|
|
75
|
-
|
|
76
|
-
omittedUnion.foo;
|
|
77
|
-
//=> Error: `foo` is not a property of `{discriminant: 'A'; a: string}`
|
|
78
|
-
|
|
79
|
-
omittedUnion.bar;
|
|
80
|
-
//=> Error: `bar` is not a property of `{discriminant: 'A'; a: string}`
|
|
81
|
-
}
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
@category Object
|
|
85
|
-
*/
|
|
86
|
-
export type DistributedOmit<ObjectType, KeyType extends KeysOfUnion<ObjectType>> =
|
|
87
|
-
ObjectType extends unknown
|
|
88
|
-
? Omit<ObjectType, KeyType>
|
|
89
|
-
: never;
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import type {KeysOfUnion} from './keys-of-union';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
Pick keys from a type, distributing the operation over a union.
|
|
5
|
-
|
|
6
|
-
TypeScript's `Pick` doesn't distribute over unions, leading to the erasure of unique properties from union members when picking keys. This creates a type that only retains properties common to all union members, making it impossible to access member-specific properties after the Pick. Essentially, using `Pick` on a union type merges the types into a less specific one, hindering type narrowing and property access based on discriminants. This type solves that.
|
|
7
|
-
|
|
8
|
-
Example:
|
|
9
|
-
|
|
10
|
-
```
|
|
11
|
-
type A = {
|
|
12
|
-
discriminant: 'A';
|
|
13
|
-
foo: {
|
|
14
|
-
bar: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
type B = {
|
|
19
|
-
discriminant: 'B';
|
|
20
|
-
foo: {
|
|
21
|
-
baz: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
type Union = A | B;
|
|
26
|
-
|
|
27
|
-
type PickedUnion = Pick<Union, 'discriminant' | 'foo'>;
|
|
28
|
-
//=> {discriminant: 'A' | 'B', foo: {bar: string} | {baz: string}}
|
|
29
|
-
|
|
30
|
-
const pickedUnion: PickedUnion = createPickedUnion();
|
|
31
|
-
|
|
32
|
-
if (pickedUnion.discriminant === 'A') {
|
|
33
|
-
// We would like to narrow `pickedUnion`'s type
|
|
34
|
-
// to `A` here, but we can't because `Pick`
|
|
35
|
-
// doesn't distribute over unions.
|
|
36
|
-
|
|
37
|
-
pickedUnion.foo.bar;
|
|
38
|
-
//=> Error: Property 'bar' does not exist on type '{bar: string} | {baz: string}'.
|
|
39
|
-
}
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
@example
|
|
43
|
-
```
|
|
44
|
-
type A = {
|
|
45
|
-
discriminant: 'A';
|
|
46
|
-
foo: {
|
|
47
|
-
bar: string;
|
|
48
|
-
};
|
|
49
|
-
extraneous: boolean;
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
type B = {
|
|
53
|
-
discriminant: 'B';
|
|
54
|
-
foo: {
|
|
55
|
-
baz: string;
|
|
56
|
-
};
|
|
57
|
-
extraneous: boolean;
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
// Notice that `foo.bar` exists in `A` but not in `B`.
|
|
61
|
-
|
|
62
|
-
type Union = A | B;
|
|
63
|
-
|
|
64
|
-
type PickedUnion = DistributedPick<Union, 'discriminant' | 'foo'>;
|
|
65
|
-
|
|
66
|
-
const pickedUnion: PickedUnion = createPickedUnion();
|
|
67
|
-
|
|
68
|
-
if (pickedUnion.discriminant === 'A') {
|
|
69
|
-
pickedUnion.foo.bar;
|
|
70
|
-
//=> OK
|
|
71
|
-
|
|
72
|
-
pickedUnion.extraneous;
|
|
73
|
-
//=> Error: Property `extraneous` does not exist on type `Pick<A, 'discriminant' | 'foo'>`.
|
|
74
|
-
|
|
75
|
-
pickedUnion.foo.baz;
|
|
76
|
-
//=> Error: `bar` is not a property of `{discriminant: 'A'; a: string}`.
|
|
77
|
-
}
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
@category Object
|
|
81
|
-
*/
|
|
82
|
-
export type DistributedPick<ObjectType, KeyType extends KeysOfUnion<ObjectType>> =
|
|
83
|
-
ObjectType extends unknown
|
|
84
|
-
? Pick<ObjectType, Extract<KeyType, keyof ObjectType>>
|
|
85
|
-
: never;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
declare const emptyObjectSymbol: unique symbol;
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
Represents a strictly empty plain object, the `{}` value.
|
|
5
|
-
|
|
6
|
-
When you annotate something as the type `{}`, it can be anything except `null` and `undefined`. This means that you cannot use `{}` to represent an empty plain object ([read more](https://stackoverflow.com/questions/47339869/typescript-empty-object-and-any-difference/52193484#52193484)).
|
|
7
|
-
|
|
8
|
-
@example
|
|
9
|
-
```
|
|
10
|
-
import type {EmptyObject} from 'type-fest';
|
|
11
|
-
|
|
12
|
-
// The following illustrates the problem with `{}`.
|
|
13
|
-
const foo1: {} = {}; // Pass
|
|
14
|
-
const foo2: {} = []; // Pass
|
|
15
|
-
const foo3: {} = 42; // Pass
|
|
16
|
-
const foo4: {} = {a: 1}; // Pass
|
|
17
|
-
|
|
18
|
-
// With `EmptyObject` only the first case is valid.
|
|
19
|
-
const bar1: EmptyObject = {}; // Pass
|
|
20
|
-
const bar2: EmptyObject = 42; // Fail
|
|
21
|
-
const bar3: EmptyObject = []; // Fail
|
|
22
|
-
const bar4: EmptyObject = {a: 1}; // Fail
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Unfortunately, `Record<string, never>`, `Record<keyof any, never>` and `Record<never, never>` do not work. See {@link https://github.com/sindresorhus/type-fest/issues/395 #395}.
|
|
26
|
-
|
|
27
|
-
@category Object
|
|
28
|
-
*/
|
|
29
|
-
export type EmptyObject = {[emptyObjectSymbol]?: never};
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
Returns a `boolean` for whether the type is strictly equal to an empty plain object, the `{}` value.
|
|
33
|
-
|
|
34
|
-
@example
|
|
35
|
-
```
|
|
36
|
-
import type {IsEmptyObject} from 'type-fest';
|
|
37
|
-
|
|
38
|
-
type Pass = IsEmptyObject<{}>; //=> true
|
|
39
|
-
type Fail = IsEmptyObject<[]>; //=> false
|
|
40
|
-
type Fail = IsEmptyObject<null>; //=> false
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
@see EmptyObject
|
|
44
|
-
@category Object
|
|
45
|
-
*/
|
|
46
|
-
export type IsEmptyObject<T> = T extends EmptyObject ? true : false;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import type {Simplify} from './simplify';
|
|
2
|
-
|
|
3
|
-
// Returns `never` if the key is optional otherwise return the key type.
|
|
4
|
-
type RequiredFilter<Type, Key extends keyof Type> = undefined extends Type[Key]
|
|
5
|
-
? Type[Key] extends undefined
|
|
6
|
-
? Key
|
|
7
|
-
: never
|
|
8
|
-
: Key;
|
|
9
|
-
|
|
10
|
-
// Returns `never` if the key is required otherwise return the key type.
|
|
11
|
-
type OptionalFilter<Type, Key extends keyof Type> = undefined extends Type[Key]
|
|
12
|
-
? Type[Key] extends undefined
|
|
13
|
-
? never
|
|
14
|
-
: Key
|
|
15
|
-
: never;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
Enforce optional keys (by adding the `?` operator) for keys that have a union with `undefined`.
|
|
19
|
-
|
|
20
|
-
@example
|
|
21
|
-
```
|
|
22
|
-
import type {EnforceOptional} from 'type-fest';
|
|
23
|
-
|
|
24
|
-
type Foo = {
|
|
25
|
-
a: string;
|
|
26
|
-
b?: string;
|
|
27
|
-
c: undefined;
|
|
28
|
-
d: number | undefined;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
type FooBar = EnforceOptional<Foo>;
|
|
32
|
-
// => {
|
|
33
|
-
// a: string;
|
|
34
|
-
// b?: string;
|
|
35
|
-
// c: undefined;
|
|
36
|
-
// d?: number;
|
|
37
|
-
// }
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
@internal
|
|
41
|
-
@category Object
|
|
42
|
-
*/
|
|
43
|
-
export type EnforceOptional<ObjectType> = Simplify<{
|
|
44
|
-
[Key in keyof ObjectType as RequiredFilter<ObjectType, Key>]: ObjectType[Key]
|
|
45
|
-
} & {
|
|
46
|
-
[Key in keyof ObjectType as OptionalFilter<ObjectType, Key>]?: Exclude<ObjectType[Key], undefined>
|
|
47
|
-
}>;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import type {ArrayEntry, MapEntry, ObjectEntry, SetEntry} from './entry';
|
|
2
|
-
|
|
3
|
-
type ArrayEntries<BaseType extends readonly unknown[]> = Array<ArrayEntry<BaseType>>;
|
|
4
|
-
type MapEntries<BaseType> = Array<MapEntry<BaseType>>;
|
|
5
|
-
type ObjectEntries<BaseType> = Array<ObjectEntry<BaseType>>;
|
|
6
|
-
type SetEntries<BaseType extends Set<unknown>> = Array<SetEntry<BaseType>>;
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
Many collections have an `entries` method which returns an array of a given object's own enumerable string-keyed property [key, value] pairs. The `Entries` type will return the type of that collection's entries.
|
|
10
|
-
|
|
11
|
-
For example the {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries|`Object`}, {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/entries|`Map`}, {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/entries|`Array`}, and {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/entries|`Set`} collections all have this method. Note that `WeakMap` and `WeakSet` do not have this method since their entries are not enumerable.
|
|
12
|
-
|
|
13
|
-
@see `Entry` if you want to just access the type of a single entry.
|
|
14
|
-
|
|
15
|
-
@example
|
|
16
|
-
```
|
|
17
|
-
import type {Entries} from 'type-fest';
|
|
18
|
-
|
|
19
|
-
interface Example {
|
|
20
|
-
someKey: number;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
const manipulatesEntries = (examples: Entries<Example>) => examples.map(example => [
|
|
24
|
-
// Does some arbitrary processing on the key (with type information available)
|
|
25
|
-
example[0].toUpperCase(),
|
|
26
|
-
|
|
27
|
-
// Does some arbitrary processing on the value (with type information available)
|
|
28
|
-
example[1].toFixed()
|
|
29
|
-
]);
|
|
30
|
-
|
|
31
|
-
const example: Example = {someKey: 1};
|
|
32
|
-
const entries = Object.entries(example) as Entries<Example>;
|
|
33
|
-
const output = manipulatesEntries(entries);
|
|
34
|
-
|
|
35
|
-
// Objects
|
|
36
|
-
const objectExample = {a: 1};
|
|
37
|
-
const objectEntries: Entries<typeof objectExample> = [['a', 1]];
|
|
38
|
-
|
|
39
|
-
// Arrays
|
|
40
|
-
const arrayExample = ['a', 1];
|
|
41
|
-
const arrayEntries: Entries<typeof arrayExample> = [[0, 'a'], [1, 1]];
|
|
42
|
-
|
|
43
|
-
// Maps
|
|
44
|
-
const mapExample = new Map([['a', 1]]);
|
|
45
|
-
const mapEntries: Entries<typeof mapExample> = [['a', 1]];
|
|
46
|
-
|
|
47
|
-
// Sets
|
|
48
|
-
const setExample = new Set(['a', 1]);
|
|
49
|
-
const setEntries: Entries<typeof setExample> = [['a', 'a'], [1, 1]];
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
@category Object
|
|
53
|
-
@category Map
|
|
54
|
-
@category Set
|
|
55
|
-
@category Array
|
|
56
|
-
*/
|
|
57
|
-
export type Entries<BaseType> =
|
|
58
|
-
BaseType extends Map<unknown, unknown> ? MapEntries<BaseType>
|
|
59
|
-
: BaseType extends Set<unknown> ? SetEntries<BaseType>
|
|
60
|
-
: BaseType extends readonly unknown[] ? ArrayEntries<BaseType>
|
|
61
|
-
: BaseType extends object ? ObjectEntries<BaseType>
|
|
62
|
-
: never;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
type MapKey<BaseType> = BaseType extends Map<infer KeyType, unknown> ? KeyType : never;
|
|
2
|
-
type MapValue<BaseType> = BaseType extends Map<unknown, infer ValueType> ? ValueType : never;
|
|
3
|
-
|
|
4
|
-
export type ArrayEntry<BaseType extends readonly unknown[]> = [number, BaseType[number]];
|
|
5
|
-
export type MapEntry<BaseType> = [MapKey<BaseType>, MapValue<BaseType>];
|
|
6
|
-
export type ObjectEntry<BaseType> = [keyof BaseType, BaseType[keyof BaseType]];
|
|
7
|
-
export type SetEntry<BaseType> = BaseType extends Set<infer ItemType> ? [ItemType, ItemType] : never;
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
Many collections have an `entries` method which returns an array of a given object's own enumerable string-keyed property [key, value] pairs. The `Entry` type will return the type of that collection's entry.
|
|
11
|
-
|
|
12
|
-
For example the {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries|`Object`}, {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/entries|`Map`}, {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/entries|`Array`}, and {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/entries|`Set`} collections all have this method. Note that `WeakMap` and `WeakSet` do not have this method since their entries are not enumerable.
|
|
13
|
-
|
|
14
|
-
@see `Entries` if you want to just access the type of the array of entries (which is the return of the `.entries()` method).
|
|
15
|
-
|
|
16
|
-
@example
|
|
17
|
-
```
|
|
18
|
-
import type {Entry} from 'type-fest';
|
|
19
|
-
|
|
20
|
-
interface Example {
|
|
21
|
-
someKey: number;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
const manipulatesEntry = (example: Entry<Example>) => [
|
|
25
|
-
// Does some arbitrary processing on the key (with type information available)
|
|
26
|
-
example[0].toUpperCase(),
|
|
27
|
-
|
|
28
|
-
// Does some arbitrary processing on the value (with type information available)
|
|
29
|
-
example[1].toFixed(),
|
|
30
|
-
];
|
|
31
|
-
|
|
32
|
-
const example: Example = {someKey: 1};
|
|
33
|
-
const entry = Object.entries(example)[0] as Entry<Example>;
|
|
34
|
-
const output = manipulatesEntry(entry);
|
|
35
|
-
|
|
36
|
-
// Objects
|
|
37
|
-
const objectExample = {a: 1};
|
|
38
|
-
const objectEntry: Entry<typeof objectExample> = ['a', 1];
|
|
39
|
-
|
|
40
|
-
// Arrays
|
|
41
|
-
const arrayExample = ['a', 1];
|
|
42
|
-
const arrayEntryString: Entry<typeof arrayExample> = [0, 'a'];
|
|
43
|
-
const arrayEntryNumber: Entry<typeof arrayExample> = [1, 1];
|
|
44
|
-
|
|
45
|
-
// Maps
|
|
46
|
-
const mapExample = new Map([['a', 1]]);
|
|
47
|
-
const mapEntry: Entry<typeof mapExample> = ['a', 1];
|
|
48
|
-
|
|
49
|
-
// Sets
|
|
50
|
-
const setExample = new Set(['a', 1]);
|
|
51
|
-
const setEntryString: Entry<typeof setExample> = ['a', 'a'];
|
|
52
|
-
const setEntryNumber: Entry<typeof setExample> = [1, 1];
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
@category Object
|
|
56
|
-
@category Map
|
|
57
|
-
@category Array
|
|
58
|
-
@category Set
|
|
59
|
-
*/
|
|
60
|
-
export type Entry<BaseType> =
|
|
61
|
-
BaseType extends Map<unknown, unknown> ? MapEntry<BaseType>
|
|
62
|
-
: BaseType extends Set<unknown> ? SetEntry<BaseType>
|
|
63
|
-
: BaseType extends readonly unknown[] ? ArrayEntry<BaseType>
|
|
64
|
-
: BaseType extends object ? ObjectEntry<BaseType>
|
|
65
|
-
: never;
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import type {ArrayElement, ObjectValue} from './internal';
|
|
2
|
-
import type {IsEqual} from './is-equal';
|
|
3
|
-
import type {KeysOfUnion} from './keys-of-union';
|
|
4
|
-
import type {IsUnknown} from './is-unknown';
|
|
5
|
-
import type {Primitive} from './primitive';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
Create a type from `ParameterType` and `InputType` and change keys exclusive to `InputType` to `never`.
|
|
9
|
-
- Generate a list of keys that exists in `InputType` but not in `ParameterType`.
|
|
10
|
-
- Mark these excess keys as `never`.
|
|
11
|
-
*/
|
|
12
|
-
type ExactObject<ParameterType, InputType> = {[Key in keyof ParameterType]: Exact<ParameterType[Key], ObjectValue<InputType, Key>>}
|
|
13
|
-
& Record<Exclude<keyof InputType, KeysOfUnion<ParameterType>>, never>;
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
Create a type that does not allow extra properties, meaning it only allows properties that are explicitly declared.
|
|
17
|
-
|
|
18
|
-
This is useful for function type-guarding to reject arguments with excess properties. Due to the nature of TypeScript, it does not complain if excess properties are provided unless the provided value is an object literal.
|
|
19
|
-
|
|
20
|
-
*Please upvote [this issue](https://github.com/microsoft/TypeScript/issues/12936) if you want to have this type as a built-in in TypeScript.*
|
|
21
|
-
|
|
22
|
-
@example
|
|
23
|
-
```
|
|
24
|
-
type OnlyAcceptName = {name: string};
|
|
25
|
-
|
|
26
|
-
function onlyAcceptName(arguments_: OnlyAcceptName) {}
|
|
27
|
-
|
|
28
|
-
// TypeScript complains about excess properties when an object literal is provided.
|
|
29
|
-
onlyAcceptName({name: 'name', id: 1});
|
|
30
|
-
//=> `id` is excess
|
|
31
|
-
|
|
32
|
-
// TypeScript does not complain about excess properties when the provided value is a variable (not an object literal).
|
|
33
|
-
const invalidInput = {name: 'name', id: 1};
|
|
34
|
-
onlyAcceptName(invalidInput); // No errors
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
Having `Exact` allows TypeScript to reject excess properties.
|
|
38
|
-
|
|
39
|
-
@example
|
|
40
|
-
```
|
|
41
|
-
import {Exact} from 'type-fest';
|
|
42
|
-
|
|
43
|
-
type OnlyAcceptName = {name: string};
|
|
44
|
-
|
|
45
|
-
function onlyAcceptNameImproved<T extends Exact<OnlyAcceptName, T>>(arguments_: T) {}
|
|
46
|
-
|
|
47
|
-
const invalidInput = {name: 'name', id: 1};
|
|
48
|
-
onlyAcceptNameImproved(invalidInput); // Compilation error
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
[Read more](https://stackoverflow.com/questions/49580725/is-it-possible-to-restrict-typescript-object-to-contain-only-properties-defined)
|
|
52
|
-
|
|
53
|
-
@category Utilities
|
|
54
|
-
*/
|
|
55
|
-
export type Exact<ParameterType, InputType> =
|
|
56
|
-
// Before distributing, check if the two types are equal and if so, return the parameter type immediately
|
|
57
|
-
IsEqual<ParameterType, InputType> extends true ? ParameterType
|
|
58
|
-
// If the parameter is a primitive, return it as is immediately to avoid it being converted to a complex type
|
|
59
|
-
: ParameterType extends Primitive ? ParameterType
|
|
60
|
-
// If the parameter is an unknown, return it as is immediately to avoid it being converted to a complex type
|
|
61
|
-
: IsUnknown<ParameterType> extends true ? unknown
|
|
62
|
-
// If the parameter is a Function, return it as is because this type is not capable of handling function, leave it to TypeScript
|
|
63
|
-
: ParameterType extends Function ? ParameterType
|
|
64
|
-
// Convert union of array to array of union: A[] & B[] => (A & B)[]
|
|
65
|
-
: ParameterType extends unknown[] ? Array<Exact<ArrayElement<ParameterType>, ArrayElement<InputType>>>
|
|
66
|
-
// In TypeScript, Array is a subtype of ReadonlyArray, so always test Array before ReadonlyArray.
|
|
67
|
-
: ParameterType extends readonly unknown[] ? ReadonlyArray<Exact<ArrayElement<ParameterType>, ArrayElement<InputType>>>
|
|
68
|
-
: ExactObject<ParameterType, InputType>;
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import type {ApplyDefaultOptions} from './internal';
|
|
2
|
-
import type {IsEqual} from './is-equal';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
Filter out keys from an object.
|
|
6
|
-
|
|
7
|
-
Returns `never` if `Exclude` is strictly equal to `Key`.
|
|
8
|
-
Returns `never` if `Key` extends `Exclude`.
|
|
9
|
-
Returns `Key` otherwise.
|
|
10
|
-
|
|
11
|
-
@example
|
|
12
|
-
```
|
|
13
|
-
type Filtered = Filter<'foo', 'foo'>;
|
|
14
|
-
//=> never
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
@example
|
|
18
|
-
```
|
|
19
|
-
type Filtered = Filter<'bar', string>;
|
|
20
|
-
//=> never
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
@example
|
|
24
|
-
```
|
|
25
|
-
type Filtered = Filter<'bar', 'foo'>;
|
|
26
|
-
//=> 'bar'
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
@see {Except}
|
|
30
|
-
*/
|
|
31
|
-
type Filter<KeyType, ExcludeType> = IsEqual<KeyType, ExcludeType> extends true ? never : (KeyType extends ExcludeType ? never : KeyType);
|
|
32
|
-
|
|
33
|
-
type ExceptOptions = {
|
|
34
|
-
/**
|
|
35
|
-
Disallow assigning non-specified properties.
|
|
36
|
-
|
|
37
|
-
Note that any omitted properties in the resulting type will be present in autocomplete as `undefined`.
|
|
38
|
-
|
|
39
|
-
@default false
|
|
40
|
-
*/
|
|
41
|
-
requireExactProps?: boolean;
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
type DefaultExceptOptions = {
|
|
45
|
-
requireExactProps: false;
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
Create a type from an object type without certain keys.
|
|
50
|
-
|
|
51
|
-
We recommend setting the `requireExactProps` option to `true`.
|
|
52
|
-
|
|
53
|
-
This type is a stricter version of [`Omit`](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-5.html#the-omit-helper-type). The `Omit` type does not restrict the omitted keys to be keys present on the given type, while `Except` does. The benefits of a stricter type are avoiding typos and allowing the compiler to pick up on rename refactors automatically.
|
|
54
|
-
|
|
55
|
-
This type was proposed to the TypeScript team, which declined it, saying they prefer that libraries implement stricter versions of the built-in types ([microsoft/TypeScript#30825](https://github.com/microsoft/TypeScript/issues/30825#issuecomment-523668235)).
|
|
56
|
-
|
|
57
|
-
@example
|
|
58
|
-
```
|
|
59
|
-
import type {Except} from 'type-fest';
|
|
60
|
-
|
|
61
|
-
type Foo = {
|
|
62
|
-
a: number;
|
|
63
|
-
b: string;
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
type FooWithoutA = Except<Foo, 'a'>;
|
|
67
|
-
//=> {b: string}
|
|
68
|
-
|
|
69
|
-
const fooWithoutA: FooWithoutA = {a: 1, b: '2'};
|
|
70
|
-
//=> errors: 'a' does not exist in type '{ b: string; }'
|
|
71
|
-
|
|
72
|
-
type FooWithoutB = Except<Foo, 'b', {requireExactProps: true}>;
|
|
73
|
-
//=> {a: number} & Partial<Record<"b", never>>
|
|
74
|
-
|
|
75
|
-
const fooWithoutB: FooWithoutB = {a: 1, b: '2'};
|
|
76
|
-
//=> errors at 'b': Type 'string' is not assignable to type 'undefined'.
|
|
77
|
-
|
|
78
|
-
// The `Omit` utility type doesn't work when omitting specific keys from objects containing index signatures.
|
|
79
|
-
|
|
80
|
-
// Consider the following example:
|
|
81
|
-
|
|
82
|
-
type UserData = {
|
|
83
|
-
[metadata: string]: string;
|
|
84
|
-
email: string;
|
|
85
|
-
name: string;
|
|
86
|
-
role: 'admin' | 'user';
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
// `Omit` clearly doesn't behave as expected in this case:
|
|
90
|
-
type PostPayload = Omit<UserData, 'email'>;
|
|
91
|
-
//=> type PostPayload = { [x: string]: string; [x: number]: string; }
|
|
92
|
-
|
|
93
|
-
// In situations like this, `Except` works better.
|
|
94
|
-
// It simply removes the `email` key while preserving all the other keys.
|
|
95
|
-
type PostPayload = Except<UserData, 'email'>;
|
|
96
|
-
//=> type PostPayload = { [x: string]: string; name: string; role: 'admin' | 'user'; }
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
@category Object
|
|
100
|
-
*/
|
|
101
|
-
export type Except<ObjectType, KeysType extends keyof ObjectType, Options extends ExceptOptions = {}> =
|
|
102
|
-
_Except<ObjectType, KeysType, ApplyDefaultOptions<ExceptOptions, DefaultExceptOptions, Options>>;
|
|
103
|
-
|
|
104
|
-
type _Except<ObjectType, KeysType extends keyof ObjectType, Options extends Required<ExceptOptions>> = {
|
|
105
|
-
[KeyType in keyof ObjectType as Filter<KeyType, KeysType>]: ObjectType[KeyType];
|
|
106
|
-
} & (Options['requireExactProps'] extends true
|
|
107
|
-
? Partial<Record<KeysType, never>>
|
|
108
|
-
: {});
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
Tries to find the type of a global with the given name.
|
|
3
|
-
|
|
4
|
-
Limitations: Due to peculiarities with the behavior of `globalThis`, "globally defined" only includes `var` declarations in `declare global` blocks, not `let` or `const` declarations.
|
|
5
|
-
|
|
6
|
-
@example
|
|
7
|
-
```
|
|
8
|
-
import type {FindGlobalType} from 'type-fest';
|
|
9
|
-
|
|
10
|
-
declare global {
|
|
11
|
-
const foo: number; // let and const don't work
|
|
12
|
-
var bar: string; // var works
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
type FooType = FindGlobalType<'foo'> //=> never (let/const don't work)
|
|
16
|
-
type BarType = FindGlobalType<'bar'> //=> string
|
|
17
|
-
type OtherType = FindGlobalType<'other'> //=> never (no global named 'other')
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
@category Utilities
|
|
21
|
-
*/
|
|
22
|
-
export type FindGlobalType<Name extends string> = typeof globalThis extends Record<Name, infer T> ? T : never;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
Tries to find one or more types from their globally-defined constructors.
|
|
26
|
-
|
|
27
|
-
Use-case: Conditionally referencing DOM types only when the DOM library present.
|
|
28
|
-
|
|
29
|
-
*Limitations:* Due to peculiarities with the behavior of `globalThis`, "globally defined" has a narrow definition in this case. Declaring a class in a `declare global` block won't work, instead you must declare its type using an interface and declare its constructor as a `var` (*not* `let`/`const`) inside the `declare global` block.
|
|
30
|
-
|
|
31
|
-
@example
|
|
32
|
-
```
|
|
33
|
-
import type {FindGlobalInstanceType} from 'type-fest';
|
|
34
|
-
|
|
35
|
-
class Point {
|
|
36
|
-
constructor(public x: number, public y: number) {}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
type PointLike = Point | FindGlobalInstanceType<'DOMPoint'>;
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
@example
|
|
43
|
-
```
|
|
44
|
-
import type {FindGlobalInstanceType} from 'type-fest';
|
|
45
|
-
|
|
46
|
-
declare global {
|
|
47
|
-
// Class syntax won't add the key to `globalThis`
|
|
48
|
-
class Foo {}
|
|
49
|
-
|
|
50
|
-
// interface + constructor style works
|
|
51
|
-
interface Bar {}
|
|
52
|
-
var Bar: new () => Bar; // Not let or const
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
type FindFoo = FindGlobalInstanceType<'Foo'>; // Doesn't work
|
|
56
|
-
type FindBar = FindGlobalInstanceType<'Bar'>; // Works
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
@category Utilities
|
|
60
|
-
*/
|
|
61
|
-
export type FindGlobalInstanceType<Name extends string> =
|
|
62
|
-
Name extends string
|
|
63
|
-
? typeof globalThis extends Record<Name, abstract new (...arguments: any[]) => infer T> ? T : never
|
|
64
|
-
: never;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
Methods to exclude.
|
|
3
|
-
*/
|
|
4
|
-
type ArrayLengthMutationKeys = 'splice' | 'push' | 'pop' | 'shift' | 'unshift';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
Create a type that represents an array of the given type and length. The array's length and the `Array` prototype methods that manipulate its length are excluded in the resulting type.
|
|
8
|
-
|
|
9
|
-
Please participate in [this issue](https://github.com/microsoft/TypeScript/issues/26223) if you want to have a similar type built into TypeScript.
|
|
10
|
-
|
|
11
|
-
Use-cases:
|
|
12
|
-
- Declaring fixed-length tuples or arrays with a large number of items.
|
|
13
|
-
- Creating a range union (for example, `0 | 1 | 2 | 3 | 4` from the keys of such a type) without having to resort to recursive types.
|
|
14
|
-
- Creating an array of coordinates with a static length, for example, length of 3 for a 3D vector.
|
|
15
|
-
|
|
16
|
-
Note: This type does not prevent out-of-bounds access. Prefer `ReadonlyTuple` unless you need mutability.
|
|
17
|
-
|
|
18
|
-
@example
|
|
19
|
-
```
|
|
20
|
-
import type {FixedLengthArray} from 'type-fest';
|
|
21
|
-
|
|
22
|
-
type FencingTeam = FixedLengthArray<string, 3>;
|
|
23
|
-
|
|
24
|
-
const guestFencingTeam: FencingTeam = ['Josh', 'Michael', 'Robert'];
|
|
25
|
-
|
|
26
|
-
const homeFencingTeam: FencingTeam = ['George', 'John'];
|
|
27
|
-
//=> error TS2322: Type string[] is not assignable to type 'FencingTeam'
|
|
28
|
-
|
|
29
|
-
guestFencingTeam.push('Sam');
|
|
30
|
-
//=> error TS2339: Property 'push' does not exist on type 'FencingTeam'
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
@category Array
|
|
34
|
-
@see ReadonlyTuple
|
|
35
|
-
*/
|
|
36
|
-
export type FixedLengthArray<Element, Length extends number, ArrayPrototype = [Element, ...Element[]]> = Pick<
|
|
37
|
-
ArrayPrototype,
|
|
38
|
-
Exclude<keyof ArrayPrototype, ArrayLengthMutationKeys>
|
|
39
|
-
> & {
|
|
40
|
-
[index: number]: Element;
|
|
41
|
-
[Symbol.iterator]: () => IterableIterator<Element>;
|
|
42
|
-
readonly length: Length;
|
|
43
|
-
};
|