@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,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
Given a [literal type](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#literal-types) return the {@link Primitive | primitive type} it belongs to, or `never` if it's not a primitive.
|
|
3
|
-
|
|
4
|
-
Use-case: Working with generic types that may be literal types.
|
|
5
|
-
|
|
6
|
-
@example
|
|
7
|
-
```
|
|
8
|
-
import type {LiteralToPrimitive} from 'type-fest';
|
|
9
|
-
|
|
10
|
-
// No overloads needed to get the correct return type
|
|
11
|
-
function plus<T extends number | bigint | string>(x: T, y: T): LiteralToPrimitive<T> {
|
|
12
|
-
return x + (y as any);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
plus('a', 'b'); // string
|
|
16
|
-
plus(1, 2); // number
|
|
17
|
-
plus(1n, 2n); // bigint
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
@category Type
|
|
21
|
-
*/
|
|
22
|
-
export type LiteralToPrimitive<T> = T extends number
|
|
23
|
-
? number
|
|
24
|
-
: T extends bigint
|
|
25
|
-
? bigint
|
|
26
|
-
: T extends string
|
|
27
|
-
? string
|
|
28
|
-
: T extends boolean
|
|
29
|
-
? boolean
|
|
30
|
-
: T extends symbol
|
|
31
|
-
? symbol
|
|
32
|
-
: T extends null
|
|
33
|
-
? null
|
|
34
|
-
: T extends undefined
|
|
35
|
-
? undefined
|
|
36
|
-
: never;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import type {Primitive} from './primitive';
|
|
2
|
-
|
|
3
|
-
export type LiteralStringUnion<T> = LiteralUnion<T, string>;
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
Allows creating a union type by combining primitive types and literal types without sacrificing auto-completion in IDEs for the literal type part of the union.
|
|
7
|
-
|
|
8
|
-
Currently, when a union type of a primitive type is combined with literal types, TypeScript loses all information about the combined literals. Thus, when such type is used in an IDE with autocompletion, no suggestions are made for the declared literals.
|
|
9
|
-
|
|
10
|
-
This type is a workaround for [Microsoft/TypeScript#29729](https://github.com/Microsoft/TypeScript/issues/29729). It will be removed as soon as it's not needed anymore.
|
|
11
|
-
|
|
12
|
-
@example
|
|
13
|
-
```
|
|
14
|
-
import type {LiteralUnion} from 'type-fest';
|
|
15
|
-
|
|
16
|
-
// Before
|
|
17
|
-
|
|
18
|
-
type Pet = 'dog' | 'cat' | string;
|
|
19
|
-
|
|
20
|
-
const pet: Pet = '';
|
|
21
|
-
// Start typing in your TypeScript-enabled IDE.
|
|
22
|
-
// You **will not** get auto-completion for `dog` and `cat` literals.
|
|
23
|
-
|
|
24
|
-
// After
|
|
25
|
-
|
|
26
|
-
type Pet2 = LiteralUnion<'dog' | 'cat', string>;
|
|
27
|
-
|
|
28
|
-
const pet: Pet2 = '';
|
|
29
|
-
// You **will** get auto-completion for `dog` and `cat` literals.
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
@category Type
|
|
33
|
-
*/
|
|
34
|
-
export type LiteralUnion<
|
|
35
|
-
LiteralType,
|
|
36
|
-
BaseType extends Primitive,
|
|
37
|
-
> = LiteralType | (BaseType & Record<never, never>);
|
|
@@ -1,486 +0,0 @@
|
|
|
1
|
-
import type {ConditionalSimplifyDeep} from './conditional-simplify';
|
|
2
|
-
import type {OmitIndexSignature} from './omit-index-signature';
|
|
3
|
-
import type {PickIndexSignature} from './pick-index-signature';
|
|
4
|
-
import type {Merge} from './merge';
|
|
5
|
-
import type {
|
|
6
|
-
FirstArrayElement,
|
|
7
|
-
IsBothExtends,
|
|
8
|
-
UnknownArrayOrTuple,
|
|
9
|
-
} from './internal';
|
|
10
|
-
import type {NonEmptyTuple} from './non-empty-tuple';
|
|
11
|
-
import type {ArrayTail} from './array-tail';
|
|
12
|
-
import type {UnknownRecord} from './unknown-record';
|
|
13
|
-
import type {EnforceOptional} from './enforce-optional';
|
|
14
|
-
import type {SimplifyDeep} from './simplify-deep';
|
|
15
|
-
import type {UnknownArray} from './unknown-array';
|
|
16
|
-
|
|
17
|
-
type SimplifyDeepExcludeArray<T> = SimplifyDeep<T, UnknownArray>;
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
Try to merge two record properties or return the source property value, preserving `undefined` properties values in both cases.
|
|
21
|
-
*/
|
|
22
|
-
type MergeDeepRecordProperty<
|
|
23
|
-
Destination,
|
|
24
|
-
Source,
|
|
25
|
-
Options extends MergeDeepInternalOptions,
|
|
26
|
-
> = undefined extends Source
|
|
27
|
-
? MergeDeepOrReturn<Source, Exclude<Destination, undefined>, Exclude<Source, undefined>, Options> | undefined
|
|
28
|
-
: MergeDeepOrReturn<Source, Destination, Source, Options>;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
Walk through the union of the keys of the two objects and test in which object the properties are defined.
|
|
32
|
-
Rules:
|
|
33
|
-
1. If the source does not contain the key, the value of the destination is returned.
|
|
34
|
-
2. If the source contains the key and the destination does not contain the key, the value of the source is returned.
|
|
35
|
-
3. If both contain the key, try to merge according to the chosen {@link MergeDeepOptions options} or return the source if unable to merge.
|
|
36
|
-
*/
|
|
37
|
-
type DoMergeDeepRecord<
|
|
38
|
-
Destination extends UnknownRecord,
|
|
39
|
-
Source extends UnknownRecord,
|
|
40
|
-
Options extends MergeDeepInternalOptions,
|
|
41
|
-
> =
|
|
42
|
-
// Case in rule 1: The destination contains the key but the source doesn't.
|
|
43
|
-
{
|
|
44
|
-
[Key in keyof Destination as Key extends keyof Source ? never : Key]: Destination[Key];
|
|
45
|
-
}
|
|
46
|
-
// Case in rule 2: The source contains the key but the destination doesn't.
|
|
47
|
-
& {
|
|
48
|
-
[Key in keyof Source as Key extends keyof Destination ? never : Key]: Source[Key];
|
|
49
|
-
}
|
|
50
|
-
// Case in rule 3: Both the source and the destination contain the key.
|
|
51
|
-
& {
|
|
52
|
-
[Key in keyof Source as Key extends keyof Destination ? Key : never]: MergeDeepRecordProperty<Destination[Key], Source[Key], Options>;
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
Wrapper around {@link DoMergeDeepRecord} which preserves index signatures.
|
|
57
|
-
*/
|
|
58
|
-
type MergeDeepRecord<
|
|
59
|
-
Destination extends UnknownRecord,
|
|
60
|
-
Source extends UnknownRecord,
|
|
61
|
-
Options extends MergeDeepInternalOptions,
|
|
62
|
-
> = DoMergeDeepRecord<OmitIndexSignature<Destination>, OmitIndexSignature<Source>, Options>
|
|
63
|
-
& Merge<PickIndexSignature<Destination>, PickIndexSignature<Source>>;
|
|
64
|
-
|
|
65
|
-
// Helper to avoid computing ArrayTail twice.
|
|
66
|
-
type PickRestTypeHelper<Tail extends UnknownArrayOrTuple, Type> = Tail extends [] ? Type : PickRestType<Tail>;
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
Pick the rest type.
|
|
70
|
-
|
|
71
|
-
@example
|
|
72
|
-
```
|
|
73
|
-
type Rest1 = PickRestType<[]>; // => []
|
|
74
|
-
type Rest2 = PickRestType<[string]>; // => []
|
|
75
|
-
type Rest3 = PickRestType<[...number[]]>; // => number[]
|
|
76
|
-
type Rest4 = PickRestType<[string, ...number[]]>; // => number[]
|
|
77
|
-
type Rest5 = PickRestType<string[]>; // => string[]
|
|
78
|
-
```
|
|
79
|
-
*/
|
|
80
|
-
type PickRestType<Type extends UnknownArrayOrTuple> = number extends Type['length']
|
|
81
|
-
? PickRestTypeHelper<ArrayTail<Type>, Type>
|
|
82
|
-
: [];
|
|
83
|
-
|
|
84
|
-
// Helper to avoid computing ArrayTail twice.
|
|
85
|
-
type OmitRestTypeHelper<
|
|
86
|
-
Tail extends UnknownArrayOrTuple,
|
|
87
|
-
Type extends UnknownArrayOrTuple,
|
|
88
|
-
Result extends UnknownArrayOrTuple = [],
|
|
89
|
-
> = Tail extends []
|
|
90
|
-
? Result
|
|
91
|
-
: OmitRestType<Tail, [...Result, FirstArrayElement<Type>]>;
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
Omit the rest type.
|
|
95
|
-
|
|
96
|
-
@example
|
|
97
|
-
```
|
|
98
|
-
type Tuple1 = OmitRestType<[]>; // => []
|
|
99
|
-
type Tuple2 = OmitRestType<[string]>; // => [string]
|
|
100
|
-
type Tuple3 = OmitRestType<[...number[]]>; // => []
|
|
101
|
-
type Tuple4 = OmitRestType<[string, ...number[]]>; // => [string]
|
|
102
|
-
type Tuple5 = OmitRestType<[string, boolean[], ...number[]]>; // => [string, boolean[]]
|
|
103
|
-
type Tuple6 = OmitRestType<string[]>; // => []
|
|
104
|
-
```
|
|
105
|
-
*/
|
|
106
|
-
type OmitRestType<Type extends UnknownArrayOrTuple, Result extends UnknownArrayOrTuple = []> = number extends Type['length']
|
|
107
|
-
? OmitRestTypeHelper<ArrayTail<Type>, Type, Result>
|
|
108
|
-
: Type;
|
|
109
|
-
|
|
110
|
-
// Utility to avoid picking two times the type.
|
|
111
|
-
type TypeNumberOrType<Type extends UnknownArrayOrTuple> = Type[number] extends never ? Type : Type[number];
|
|
112
|
-
|
|
113
|
-
// Pick the rest type (array) and try to get the intrinsic type or return the provided type.
|
|
114
|
-
type PickRestTypeFlat<Type extends UnknownArrayOrTuple> = TypeNumberOrType<PickRestType<Type>>;
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
Try to merge two array/tuple elements or return the source element if the end of the destination is reached or vis-versa.
|
|
118
|
-
*/
|
|
119
|
-
type MergeDeepArrayOrTupleElements<
|
|
120
|
-
Destination,
|
|
121
|
-
Source,
|
|
122
|
-
Options extends MergeDeepInternalOptions,
|
|
123
|
-
> = Source extends []
|
|
124
|
-
? Destination
|
|
125
|
-
: Destination extends []
|
|
126
|
-
? Source
|
|
127
|
-
: MergeDeepOrReturn<Source, Destination, Source, Options>;
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
Merge two tuples recursively.
|
|
131
|
-
*/
|
|
132
|
-
type DoMergeDeepTupleAndTupleRecursive<
|
|
133
|
-
Destination extends UnknownArrayOrTuple,
|
|
134
|
-
Source extends UnknownArrayOrTuple,
|
|
135
|
-
DestinationRestType,
|
|
136
|
-
SourceRestType,
|
|
137
|
-
Options extends MergeDeepInternalOptions,
|
|
138
|
-
> = Destination extends []
|
|
139
|
-
? Source extends []
|
|
140
|
-
? []
|
|
141
|
-
: MergeArrayTypeAndTuple<DestinationRestType, Source, Options>
|
|
142
|
-
: Source extends []
|
|
143
|
-
? MergeTupleAndArrayType<Destination, SourceRestType, Options>
|
|
144
|
-
: [
|
|
145
|
-
MergeDeepArrayOrTupleElements<FirstArrayElement<Destination>, FirstArrayElement<Source>, Options>,
|
|
146
|
-
...DoMergeDeepTupleAndTupleRecursive<ArrayTail<Destination>, ArrayTail<Source>, DestinationRestType, SourceRestType, Options>,
|
|
147
|
-
];
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
Merge two tuples recursively taking into account a possible rest element.
|
|
151
|
-
*/
|
|
152
|
-
type MergeDeepTupleAndTupleRecursive<
|
|
153
|
-
Destination extends UnknownArrayOrTuple,
|
|
154
|
-
Source extends UnknownArrayOrTuple,
|
|
155
|
-
Options extends MergeDeepInternalOptions,
|
|
156
|
-
> = [
|
|
157
|
-
...DoMergeDeepTupleAndTupleRecursive<OmitRestType<Destination>, OmitRestType<Source>, PickRestTypeFlat<Destination>, PickRestTypeFlat<Source>, Options>,
|
|
158
|
-
...MergeDeepArrayOrTupleElements<PickRestType<Destination>, PickRestType<Source>, Options>,
|
|
159
|
-
];
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
Merge an array type with a tuple recursively.
|
|
163
|
-
*/
|
|
164
|
-
type MergeTupleAndArrayType<
|
|
165
|
-
Tuple extends UnknownArrayOrTuple,
|
|
166
|
-
ArrayType,
|
|
167
|
-
Options extends MergeDeepInternalOptions,
|
|
168
|
-
> = Tuple extends []
|
|
169
|
-
? Tuple
|
|
170
|
-
: [
|
|
171
|
-
MergeDeepArrayOrTupleElements<FirstArrayElement<Tuple>, ArrayType, Options>,
|
|
172
|
-
...MergeTupleAndArrayType<ArrayTail<Tuple>, ArrayType, Options>,
|
|
173
|
-
];
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
Merge an array into a tuple recursively taking into account a possible rest element.
|
|
177
|
-
*/
|
|
178
|
-
type MergeDeepTupleAndArrayRecursive<
|
|
179
|
-
Destination extends UnknownArrayOrTuple,
|
|
180
|
-
Source extends UnknownArrayOrTuple,
|
|
181
|
-
Options extends MergeDeepInternalOptions,
|
|
182
|
-
> = [
|
|
183
|
-
...MergeTupleAndArrayType<OmitRestType<Destination>, Source[number], Options>,
|
|
184
|
-
...MergeDeepArrayOrTupleElements<PickRestType<Destination>, PickRestType<Source>, Options>,
|
|
185
|
-
];
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
Merge a tuple with an array type recursively.
|
|
189
|
-
*/
|
|
190
|
-
type MergeArrayTypeAndTuple<
|
|
191
|
-
ArrayType,
|
|
192
|
-
Tuple extends UnknownArrayOrTuple,
|
|
193
|
-
Options extends MergeDeepInternalOptions,
|
|
194
|
-
> = Tuple extends []
|
|
195
|
-
? Tuple
|
|
196
|
-
: [
|
|
197
|
-
MergeDeepArrayOrTupleElements<ArrayType, FirstArrayElement<Tuple>, Options>,
|
|
198
|
-
...MergeArrayTypeAndTuple<ArrayType, ArrayTail<Tuple>, Options>,
|
|
199
|
-
];
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
Merge a tuple into an array recursively taking into account a possible rest element.
|
|
203
|
-
*/
|
|
204
|
-
type MergeDeepArrayAndTupleRecursive<
|
|
205
|
-
Destination extends UnknownArrayOrTuple,
|
|
206
|
-
Source extends UnknownArrayOrTuple,
|
|
207
|
-
Options extends MergeDeepInternalOptions,
|
|
208
|
-
> = [
|
|
209
|
-
...MergeArrayTypeAndTuple<Destination[number], OmitRestType<Source>, Options>,
|
|
210
|
-
...MergeDeepArrayOrTupleElements<PickRestType<Destination>, PickRestType<Source>, Options>,
|
|
211
|
-
];
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
Merge mode for array/tuple elements.
|
|
215
|
-
*/
|
|
216
|
-
type ArrayMergeMode = 'spread' | 'replace';
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
Test if it should spread top-level arrays.
|
|
220
|
-
*/
|
|
221
|
-
type ShouldSpread<Options extends MergeDeepInternalOptions> = Options['spreadTopLevelArrays'] extends false
|
|
222
|
-
? Options['arrayMergeMode'] extends 'spread' ? true : false
|
|
223
|
-
: true;
|
|
224
|
-
|
|
225
|
-
/**
|
|
226
|
-
Merge two arrays/tuples according to the chosen {@link MergeDeepOptions.arrayMergeMode arrayMergeMode} option.
|
|
227
|
-
*/
|
|
228
|
-
type DoMergeArrayOrTuple<
|
|
229
|
-
Destination extends UnknownArrayOrTuple,
|
|
230
|
-
Source extends UnknownArrayOrTuple,
|
|
231
|
-
Options extends MergeDeepInternalOptions,
|
|
232
|
-
> = ShouldSpread<Options> extends true
|
|
233
|
-
? Array<Exclude<Destination, undefined>[number] | Exclude<Source, undefined>[number]>
|
|
234
|
-
: Source; // 'replace'
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
Merge two arrays recursively.
|
|
238
|
-
|
|
239
|
-
If the two arrays are multi-level, we merge deeply, otherwise we merge the first level only.
|
|
240
|
-
|
|
241
|
-
Note: The `[number]` accessor is used to test the type of the second level.
|
|
242
|
-
*/
|
|
243
|
-
type MergeDeepArrayRecursive<
|
|
244
|
-
Destination extends UnknownArrayOrTuple,
|
|
245
|
-
Source extends UnknownArrayOrTuple,
|
|
246
|
-
Options extends MergeDeepInternalOptions,
|
|
247
|
-
> = Destination[number] extends UnknownArrayOrTuple
|
|
248
|
-
? Source[number] extends UnknownArrayOrTuple
|
|
249
|
-
? Array<MergeDeepArrayOrTupleRecursive<Destination[number], Source[number], Options>>
|
|
250
|
-
: DoMergeArrayOrTuple<Destination, Source, Options>
|
|
251
|
-
: Destination[number] extends UnknownRecord
|
|
252
|
-
? Source[number] extends UnknownRecord
|
|
253
|
-
? Array<SimplifyDeepExcludeArray<MergeDeepRecord<Destination[number], Source[number], Options>>>
|
|
254
|
-
: DoMergeArrayOrTuple<Destination, Source, Options>
|
|
255
|
-
: DoMergeArrayOrTuple<Destination, Source, Options>;
|
|
256
|
-
|
|
257
|
-
/**
|
|
258
|
-
Merge two array/tuple recursively by selecting one of the four strategies according to the type of inputs.
|
|
259
|
-
|
|
260
|
-
- tuple/tuple
|
|
261
|
-
- tuple/array
|
|
262
|
-
- array/tuple
|
|
263
|
-
- array/array
|
|
264
|
-
*/
|
|
265
|
-
type MergeDeepArrayOrTupleRecursive<
|
|
266
|
-
Destination extends UnknownArrayOrTuple,
|
|
267
|
-
Source extends UnknownArrayOrTuple,
|
|
268
|
-
Options extends MergeDeepInternalOptions,
|
|
269
|
-
> = IsBothExtends<NonEmptyTuple, Destination, Source> extends true
|
|
270
|
-
? MergeDeepTupleAndTupleRecursive<Destination, Source, Options>
|
|
271
|
-
: Destination extends NonEmptyTuple
|
|
272
|
-
? MergeDeepTupleAndArrayRecursive<Destination, Source, Options>
|
|
273
|
-
: Source extends NonEmptyTuple
|
|
274
|
-
? MergeDeepArrayAndTupleRecursive<Destination, Source, Options>
|
|
275
|
-
: MergeDeepArrayRecursive<Destination, Source, Options>;
|
|
276
|
-
|
|
277
|
-
/**
|
|
278
|
-
Merge two array/tuple according to {@link MergeDeepOptions.recurseIntoArrays recurseIntoArrays} option.
|
|
279
|
-
*/
|
|
280
|
-
type MergeDeepArrayOrTuple<
|
|
281
|
-
Destination extends UnknownArrayOrTuple,
|
|
282
|
-
Source extends UnknownArrayOrTuple,
|
|
283
|
-
Options extends MergeDeepInternalOptions,
|
|
284
|
-
> = Options['recurseIntoArrays'] extends true
|
|
285
|
-
? MergeDeepArrayOrTupleRecursive<Destination, Source, Options>
|
|
286
|
-
: DoMergeArrayOrTuple<Destination, Source, Options>;
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
Try to merge two objects or two arrays/tuples recursively into a new type or return the default value.
|
|
290
|
-
*/
|
|
291
|
-
type MergeDeepOrReturn<
|
|
292
|
-
DefaultType,
|
|
293
|
-
Destination,
|
|
294
|
-
Source,
|
|
295
|
-
Options extends MergeDeepInternalOptions,
|
|
296
|
-
> = SimplifyDeepExcludeArray<[undefined] extends [Destination | Source]
|
|
297
|
-
? DefaultType
|
|
298
|
-
: Destination extends UnknownRecord
|
|
299
|
-
? Source extends UnknownRecord
|
|
300
|
-
? MergeDeepRecord<Destination, Source, Options>
|
|
301
|
-
: DefaultType
|
|
302
|
-
: Destination extends UnknownArrayOrTuple
|
|
303
|
-
? Source extends UnknownArrayOrTuple
|
|
304
|
-
? MergeDeepArrayOrTuple<Destination, Source, EnforceOptional<Merge<Options, {spreadTopLevelArrays: false}>>>
|
|
305
|
-
: DefaultType
|
|
306
|
-
: DefaultType>;
|
|
307
|
-
|
|
308
|
-
/**
|
|
309
|
-
MergeDeep options.
|
|
310
|
-
|
|
311
|
-
@see {@link MergeDeep}
|
|
312
|
-
*/
|
|
313
|
-
export type MergeDeepOptions = {
|
|
314
|
-
/**
|
|
315
|
-
Merge mode for array and tuple.
|
|
316
|
-
|
|
317
|
-
When we walk through the properties of the objects and the same key is found and both are array or tuple, a merge mode must be chosen:
|
|
318
|
-
- `replace`: Replaces the destination value by the source value. This is the default mode.
|
|
319
|
-
- `spread`: Spreads the destination and the source values.
|
|
320
|
-
|
|
321
|
-
See {@link MergeDeep} for usages and examples.
|
|
322
|
-
|
|
323
|
-
Note: Top-level arrays and tuples are always spread.
|
|
324
|
-
|
|
325
|
-
@default 'replace'
|
|
326
|
-
*/
|
|
327
|
-
arrayMergeMode?: ArrayMergeMode;
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
Whether to affect the individual elements of arrays and tuples.
|
|
331
|
-
|
|
332
|
-
If this option is set to `true` the following rules are applied:
|
|
333
|
-
- If the source does not contain the key, the value of the destination is returned.
|
|
334
|
-
- If the source contains the key and the destination does not contain the key, the value of the source is returned.
|
|
335
|
-
- If both contain the key, try to merge according to the chosen {@link MergeDeepOptions.arrayMergeMode arrayMergeMode} or return the source if unable to merge.
|
|
336
|
-
|
|
337
|
-
@default false
|
|
338
|
-
*/
|
|
339
|
-
recurseIntoArrays?: boolean;
|
|
340
|
-
};
|
|
341
|
-
|
|
342
|
-
/**
|
|
343
|
-
Internal options.
|
|
344
|
-
*/
|
|
345
|
-
type MergeDeepInternalOptions = Merge<MergeDeepOptions, {spreadTopLevelArrays?: boolean}>;
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
Merge default and internal options with user provided options.
|
|
349
|
-
*/
|
|
350
|
-
type DefaultMergeDeepOptions<Options extends MergeDeepOptions> = Merge<{
|
|
351
|
-
arrayMergeMode: 'replace';
|
|
352
|
-
recurseIntoArrays: false;
|
|
353
|
-
spreadTopLevelArrays: true;
|
|
354
|
-
}, Options>;
|
|
355
|
-
|
|
356
|
-
/**
|
|
357
|
-
This utility selects the correct entry point with the corresponding default options. This avoids re-merging the options at each iteration.
|
|
358
|
-
*/
|
|
359
|
-
type MergeDeepWithDefaultOptions<Destination, Source, Options extends MergeDeepOptions> = SimplifyDeepExcludeArray<
|
|
360
|
-
[undefined] extends [Destination | Source]
|
|
361
|
-
? never
|
|
362
|
-
: Destination extends UnknownRecord
|
|
363
|
-
? Source extends UnknownRecord
|
|
364
|
-
? MergeDeepRecord<Destination, Source, DefaultMergeDeepOptions<Options>>
|
|
365
|
-
: never
|
|
366
|
-
: Destination extends UnknownArrayOrTuple
|
|
367
|
-
? Source extends UnknownArrayOrTuple
|
|
368
|
-
? MergeDeepArrayOrTuple<Destination, Source, DefaultMergeDeepOptions<Options>>
|
|
369
|
-
: never
|
|
370
|
-
: never
|
|
371
|
-
>;
|
|
372
|
-
|
|
373
|
-
/**
|
|
374
|
-
Merge two objects or two arrays/tuples recursively into a new type.
|
|
375
|
-
|
|
376
|
-
- Properties that only exist in one object are copied into the new object.
|
|
377
|
-
- Properties that exist in both objects are merged if possible or replaced by the one of the source if not.
|
|
378
|
-
- Top-level arrays and tuples are always spread.
|
|
379
|
-
- By default, inner arrays and tuples are replaced. See {@link MergeDeepOptions.arrayMergeMode arrayMergeMode} option to change this behaviour.
|
|
380
|
-
- By default, individual array/tuple elements are not affected. See {@link MergeDeepOptions.recurseIntoArrays recurseIntoArrays} option to change this behaviour.
|
|
381
|
-
|
|
382
|
-
@example
|
|
383
|
-
```
|
|
384
|
-
import type {MergeDeep} from 'type-fest';
|
|
385
|
-
|
|
386
|
-
type Foo = {
|
|
387
|
-
life: number;
|
|
388
|
-
items: string[];
|
|
389
|
-
a: {b: string; c: boolean; d: number[]};
|
|
390
|
-
};
|
|
391
|
-
|
|
392
|
-
interface Bar {
|
|
393
|
-
name: string;
|
|
394
|
-
items: number[];
|
|
395
|
-
a: {b: number; d: boolean[]};
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
type FooBar = MergeDeep<Foo, Bar>;
|
|
399
|
-
// {
|
|
400
|
-
// life: number;
|
|
401
|
-
// name: string;
|
|
402
|
-
// items: number[];
|
|
403
|
-
// a: {b: number; c: boolean; d: boolean[]};
|
|
404
|
-
// }
|
|
405
|
-
|
|
406
|
-
type FooBar = MergeDeep<Foo, Bar, {arrayMergeMode: 'spread'}>;
|
|
407
|
-
// {
|
|
408
|
-
// life: number;
|
|
409
|
-
// name: string;
|
|
410
|
-
// items: (string | number)[];
|
|
411
|
-
// a: {b: number; c: boolean; d: (number | boolean)[]};
|
|
412
|
-
// }
|
|
413
|
-
```
|
|
414
|
-
|
|
415
|
-
@example
|
|
416
|
-
```
|
|
417
|
-
import type {MergeDeep} from 'type-fest';
|
|
418
|
-
|
|
419
|
-
// Merge two arrays
|
|
420
|
-
type ArrayMerge = MergeDeep<string[], number[]>; // => (string | number)[]
|
|
421
|
-
|
|
422
|
-
// Merge two tuples
|
|
423
|
-
type TupleMerge = MergeDeep<[1, 2, 3], ['a', 'b']>; // => (1 | 2 | 3 | 'a' | 'b')[]
|
|
424
|
-
|
|
425
|
-
// Merge an array into a tuple
|
|
426
|
-
type TupleArrayMerge = MergeDeep<[1, 2, 3], string[]>; // => (string | 1 | 2 | 3)[]
|
|
427
|
-
|
|
428
|
-
// Merge a tuple into an array
|
|
429
|
-
type ArrayTupleMerge = MergeDeep<number[], ['a', 'b']>; // => (number | 'b' | 'a')[]
|
|
430
|
-
```
|
|
431
|
-
|
|
432
|
-
@example
|
|
433
|
-
```
|
|
434
|
-
import type {MergeDeep, MergeDeepOptions} from 'type-fest';
|
|
435
|
-
|
|
436
|
-
type Foo = {foo: 'foo'; fooBar: string[]};
|
|
437
|
-
type Bar = {bar: 'bar'; fooBar: number[]};
|
|
438
|
-
|
|
439
|
-
type FooBar = MergeDeep<Foo, Bar>;
|
|
440
|
-
// { foo: "foo"; bar: "bar"; fooBar: number[]}
|
|
441
|
-
|
|
442
|
-
type FooBarSpread = MergeDeep<Foo, Bar, {arrayMergeMode: 'spread'}>;
|
|
443
|
-
// { foo: "foo"; bar: "bar"; fooBar: (string | number)[]}
|
|
444
|
-
|
|
445
|
-
type FooBarArray = MergeDeep<Foo[], Bar[]>;
|
|
446
|
-
// (Foo | Bar)[]
|
|
447
|
-
|
|
448
|
-
type FooBarArrayDeep = MergeDeep<Foo[], Bar[], {recurseIntoArrays: true}>;
|
|
449
|
-
// FooBar[]
|
|
450
|
-
|
|
451
|
-
type FooBarArraySpreadDeep = MergeDeep<Foo[], Bar[], {recurseIntoArrays: true; arrayMergeMode: 'spread'}>;
|
|
452
|
-
// FooBarSpread[]
|
|
453
|
-
|
|
454
|
-
type FooBarTupleDeep = MergeDeep<[Foo, true, 42], [Bar, 'life'], {recurseIntoArrays: true}>;
|
|
455
|
-
// [FooBar, 'life', 42]
|
|
456
|
-
|
|
457
|
-
type FooBarTupleWithArrayDeep = MergeDeep<[Foo[], true], [Bar[], 'life', 42], {recurseIntoArrays: true}>;
|
|
458
|
-
// [FooBar[], 'life', 42]
|
|
459
|
-
```
|
|
460
|
-
|
|
461
|
-
@example
|
|
462
|
-
```
|
|
463
|
-
import type {MergeDeep, MergeDeepOptions} from 'type-fest';
|
|
464
|
-
|
|
465
|
-
function mergeDeep<Destination, Source, Options extends MergeDeepOptions = {}>(
|
|
466
|
-
destination: Destination,
|
|
467
|
-
source: Source,
|
|
468
|
-
options?: Options,
|
|
469
|
-
): MergeDeep<Destination, Source, Options> {
|
|
470
|
-
// Make your implementation ...
|
|
471
|
-
}
|
|
472
|
-
```
|
|
473
|
-
|
|
474
|
-
@experimental This type is marked as experimental because it depends on {@link ConditionalSimplifyDeep} which itself is experimental.
|
|
475
|
-
|
|
476
|
-
@see {@link MergeDeepOptions}
|
|
477
|
-
|
|
478
|
-
@category Array
|
|
479
|
-
@category Object
|
|
480
|
-
@category Utilities
|
|
481
|
-
*/
|
|
482
|
-
export type MergeDeep<Destination, Source, Options extends MergeDeepOptions = {}> = MergeDeepWithDefaultOptions<
|
|
483
|
-
SimplifyDeepExcludeArray<Destination>,
|
|
484
|
-
SimplifyDeepExcludeArray<Source>,
|
|
485
|
-
Options
|
|
486
|
-
>;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
// Helper type. Not useful on its own.
|
|
2
|
-
type Without<FirstType, SecondType> = {[KeyType in Exclude<keyof FirstType, keyof SecondType>]?: never};
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
Create a type that has mutually exclusive keys.
|
|
6
|
-
|
|
7
|
-
This type was inspired by [this comment](https://github.com/Microsoft/TypeScript/issues/14094#issuecomment-373782604).
|
|
8
|
-
|
|
9
|
-
This type works with a helper type, called `Without`. `Without<FirstType, SecondType>` produces a type that has only keys from `FirstType` which are not present on `SecondType` and sets the value type for these keys to `never`. This helper type is then used in `MergeExclusive` to remove keys from either `FirstType` or `SecondType`.
|
|
10
|
-
|
|
11
|
-
@example
|
|
12
|
-
```
|
|
13
|
-
import type {MergeExclusive} from 'type-fest';
|
|
14
|
-
|
|
15
|
-
interface ExclusiveVariation1 {
|
|
16
|
-
exclusive1: boolean;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
interface ExclusiveVariation2 {
|
|
20
|
-
exclusive2: string;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
type ExclusiveOptions = MergeExclusive<ExclusiveVariation1, ExclusiveVariation2>;
|
|
24
|
-
|
|
25
|
-
let exclusiveOptions: ExclusiveOptions;
|
|
26
|
-
|
|
27
|
-
exclusiveOptions = {exclusive1: true};
|
|
28
|
-
//=> Works
|
|
29
|
-
exclusiveOptions = {exclusive2: 'hi'};
|
|
30
|
-
//=> Works
|
|
31
|
-
exclusiveOptions = {exclusive1: true, exclusive2: 'hi'};
|
|
32
|
-
//=> Error
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
@category Object
|
|
36
|
-
*/
|
|
37
|
-
export type MergeExclusive<FirstType, SecondType> =
|
|
38
|
-
(FirstType | SecondType) extends object ?
|
|
39
|
-
(Without<FirstType, SecondType> & SecondType) | (Without<SecondType, FirstType> & FirstType) :
|
|
40
|
-
FirstType | SecondType;
|
|
41
|
-
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import type {OmitIndexSignature} from './omit-index-signature';
|
|
2
|
-
import type {PickIndexSignature} from './pick-index-signature';
|
|
3
|
-
import type {Simplify} from './simplify';
|
|
4
|
-
|
|
5
|
-
// Merges two objects without worrying about index signatures.
|
|
6
|
-
type SimpleMerge<Destination, Source> = {
|
|
7
|
-
[Key in keyof Destination as Key extends keyof Source ? never : Key]: Destination[Key];
|
|
8
|
-
} & Source;
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
Merge two types into a new type. Keys of the second type overrides keys of the first type.
|
|
12
|
-
|
|
13
|
-
@example
|
|
14
|
-
```
|
|
15
|
-
import type {Merge} from 'type-fest';
|
|
16
|
-
|
|
17
|
-
interface Foo {
|
|
18
|
-
[x: string]: unknown;
|
|
19
|
-
[x: number]: unknown;
|
|
20
|
-
foo: string;
|
|
21
|
-
bar: symbol;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
type Bar = {
|
|
25
|
-
[x: number]: number;
|
|
26
|
-
[x: symbol]: unknown;
|
|
27
|
-
bar: Date;
|
|
28
|
-
baz: boolean;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
export type FooBar = Merge<Foo, Bar>;
|
|
32
|
-
// => {
|
|
33
|
-
// [x: string]: unknown;
|
|
34
|
-
// [x: number]: number;
|
|
35
|
-
// [x: symbol]: unknown;
|
|
36
|
-
// foo: string;
|
|
37
|
-
// bar: Date;
|
|
38
|
-
// baz: boolean;
|
|
39
|
-
// }
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
@category Object
|
|
43
|
-
*/
|
|
44
|
-
export type Merge<Destination, Source> =
|
|
45
|
-
Simplify<
|
|
46
|
-
SimpleMerge<PickIndexSignature<Destination>, PickIndexSignature<Source>>
|
|
47
|
-
& SimpleMerge<OmitIndexSignature<Destination>, OmitIndexSignature<Source>>
|
|
48
|
-
>;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import type {Subtract} from './subtract';
|
|
2
|
-
import type {IsEqual} from './is-equal';
|
|
3
|
-
|
|
4
|
-
type Recursive<T> = Array<Recursive<T>>;
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
Creates a type that represents a multidimensional array of the given type and dimension.
|
|
8
|
-
|
|
9
|
-
Use-cases:
|
|
10
|
-
- Return a n-dimensional array from functions.
|
|
11
|
-
- Declare a n-dimensional array by defining its dimensions rather than declaring `[]` repetitively.
|
|
12
|
-
- Infer the dimensions of a n-dimensional array automatically from function arguments.
|
|
13
|
-
- Avoid the need to know in advance the dimensions of a n-dimensional array allowing them to be dynamic.
|
|
14
|
-
|
|
15
|
-
@example
|
|
16
|
-
```
|
|
17
|
-
import type {MultidimensionalArray} from 'type-fest';
|
|
18
|
-
|
|
19
|
-
function emptyMatrix<T extends number>(dimensions: T): MultidimensionalArray<unknown, T> {
|
|
20
|
-
const matrix: unknown[] = [];
|
|
21
|
-
|
|
22
|
-
let subMatrix = matrix;
|
|
23
|
-
for (let dimension = 1; dimension < dimensions; ++dimension) {
|
|
24
|
-
console.log(`Initializing dimension #${dimension}`);
|
|
25
|
-
|
|
26
|
-
subMatrix[0] = [];
|
|
27
|
-
subMatrix = subMatrix[0] as unknown[];
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
return matrix as MultidimensionalArray<unknown, T>;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
const matrix = emptyMatrix(3);
|
|
34
|
-
|
|
35
|
-
matrix[0][0][0] = 42;
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
@category Array
|
|
39
|
-
*/
|
|
40
|
-
export type MultidimensionalArray<Element, Dimensions extends number> = number extends Dimensions
|
|
41
|
-
? Recursive<Element>
|
|
42
|
-
: IsEqual<Dimensions, 0> extends true
|
|
43
|
-
? Element
|
|
44
|
-
: Array<MultidimensionalArray<Element, Subtract<Dimensions, 1>>>;
|