@contentful/experience-design-system-cli 2.32.1-dev-build-6b922ec.0 → 2.32.1-dev-build-b7d2d34.0
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/dist/package.json +1 -2
- package/dist/src/credentials-store.d.ts +23 -0
- package/dist/src/helpers/build-contentful-management-client.d.ts +7 -0
- package/dist/src/helpers/fetch-and-persist-existing-contentful-entities.d.ts +29 -0
- package/dist/src/helpers/fetch-existing-contentful-entities.d.ts +11 -0
- package/dist/src/helpers/find-nearly-matching-component.d.ts +7 -0
- package/dist/src/helpers/read-existing-contentful-entities-from-session.d.ts +7 -0
- package/dist/src/helpers/summarize-existing-contentful-entities.d.ts +50 -0
- package/dist/src/import/orchestrator.d.ts +0 -1
- package/dist/src/import/tui/WizardApp.d.ts +3 -0
- package/dist/src/index.js +1304 -1537
- package/dist/src/session/cache-keys.d.ts +1 -1
- package/dist/src/setup/analytics-prompt.d.ts +13 -0
- package/dist/src/setup/auto-filter-prompt.d.ts +13 -0
- package/dist/src/setup/command.d.ts +13 -4
- package/dist/src/setup/composition-mode-prompt.d.ts +14 -0
- package/dist/src/setup/debug-mode-prompt.d.ts +11 -0
- package/package.json +6 -7
- package/skills/generate-components.md +27 -0
- package/skills/map-tokens.md +12 -0
- package/skills/select-components.md +11 -0
- package/dist/src/doctor/checks.d.ts +0 -5
- package/dist/src/doctor/command.d.ts +0 -7
- package/dist/src/doctor/report.d.ts +0 -12
- package/dist/src/helpers/cma-client.d.ts +0 -17
- package/dist/src/helpers/fetch-existing-entities.d.ts +0 -16
- package/dist/src/lib/agent-definitions.d.ts +0 -7
- package/dist/src/setup/lib/checks.d.ts +0 -69
- package/dist/src/setup/lib/layout.d.ts +0 -34
- package/dist/src/setup/lib/prompt-input.d.ts +0 -17
- package/dist/src/setup/lib/shell.d.ts +0 -15
- package/dist/src/setup/lib/types.d.ts +0 -55
- package/dist/src/setup/lib/yes-no-prompt.d.ts +0 -8
- package/dist/src/setup/steps/coding-agent.d.ts +0 -2
- package/dist/src/setup/steps/contentful.d.ts +0 -2
- package/dist/src/setup/steps/preferences/analytics.d.ts +0 -5
- package/dist/src/setup/steps/preferences/auto-filter.d.ts +0 -4
- package/dist/src/setup/steps/preferences/concurrency.d.ts +0 -3
- package/dist/src/setup/steps/preferences/custom-prompts.d.ts +0 -8
- package/dist/src/setup/steps/preferences/debug.d.ts +0 -4
- package/dist/src/setup/steps/preferences/index.d.ts +0 -41
- package/dist/src/setup/steps/preferences/no-color.d.ts +0 -3
- package/dist/src/setup/steps/prerequisites/build.d.ts +0 -2
- package/dist/src/setup/steps/prerequisites/index.d.ts +0 -8
- package/dist/src/setup/steps/prerequisites/node.d.ts +0 -4
- package/dist/src/setup/steps/prerequisites/pnpm.d.ts +0 -2
- package/dist/src/setup/tui/SetupScreen.d.ts +0 -30
- package/dist/src/setup/tui/SetupStepper.d.ts +0 -7
- package/dist/src/setup/tui/usePromptInput.d.ts +0 -19
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export type PromptKey = {
|
|
2
|
-
return: boolean;
|
|
3
|
-
escape: boolean;
|
|
4
|
-
tab: boolean;
|
|
5
|
-
backspace: boolean;
|
|
6
|
-
delete: boolean;
|
|
7
|
-
upArrow: boolean;
|
|
8
|
-
downArrow: boolean;
|
|
9
|
-
ctrl: boolean;
|
|
10
|
-
meta: boolean;
|
|
11
|
-
};
|
|
12
|
-
export type PromptInputHandler = (chunk: string, key: PromptKey) => void;
|
|
13
|
-
/**
|
|
14
|
-
* Raw-mode stdin that hands the handler the unparsed chunk.
|
|
15
|
-
*
|
|
16
|
-
* Setup needs the raw data because `useImmediateInput` blanks `input` for a
|
|
17
|
-
* chunk that ends in a newline, which is exactly how a pasted value arrives.
|
|
18
|
-
*/
|
|
19
|
-
export declare function usePromptInput(handler: PromptInputHandler): void;
|