@capgo/cli 7.123.0 → 7.124.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/index.js +420 -420
- package/dist/package.json +1 -1
- package/dist/src/init/ui/app.d.ts +2 -1
- package/dist/src/init/ui/components.d.ts +10 -9
- package/dist/src/sdk.js +228 -228
- package/package.json +1 -1
package/dist/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { InitRuntimeState } from '../runtime';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
interface InitInkAppProps {
|
|
3
4
|
getSnapshot: () => InitRuntimeState;
|
|
4
5
|
subscribe: (listener: () => void) => () => void;
|
|
5
6
|
updatePromptError: (error?: string) => void;
|
|
6
7
|
}
|
|
7
|
-
export default function InitInkApp({ getSnapshot, subscribe, updatePromptError }: Readonly<InitInkAppProps>):
|
|
8
|
+
export default function InitInkApp({ getSnapshot, subscribe, updatePromptError }: Readonly<InitInkAppProps>): React.JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
import type { ConfirmPrompt, InitScreen, PromptRequest, SelectPrompt, TextPrompt } from '../runtime';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
export declare function InitHeader({ title }: Readonly<{
|
|
3
4
|
title?: string;
|
|
4
|
-
}>):
|
|
5
|
+
}>): React.JSX.Element;
|
|
5
6
|
export declare function ScreenIntro({ screen }: Readonly<{
|
|
6
7
|
screen: InitScreen;
|
|
7
|
-
}>):
|
|
8
|
+
}>): React.JSX.Element;
|
|
8
9
|
export declare function ProgressSection({ screen }: Readonly<{
|
|
9
10
|
screen: InitScreen;
|
|
10
|
-
}>):
|
|
11
|
+
}>): React.JSX.Element | null;
|
|
11
12
|
export declare function CurrentStepSection({ screen }: Readonly<{
|
|
12
13
|
screen: InitScreen;
|
|
13
|
-
}>):
|
|
14
|
+
}>): React.JSX.Element | null;
|
|
14
15
|
export declare function ConfirmPromptView({ prompt }: Readonly<{
|
|
15
16
|
prompt: ConfirmPrompt;
|
|
16
|
-
}>):
|
|
17
|
+
}>): React.JSX.Element;
|
|
17
18
|
export declare function TextPromptView({ prompt, onError }: Readonly<{
|
|
18
19
|
prompt: TextPrompt;
|
|
19
20
|
onError: (error?: string) => void;
|
|
20
|
-
}>):
|
|
21
|
+
}>): React.JSX.Element;
|
|
21
22
|
export declare function SelectPromptView({ prompt }: Readonly<{
|
|
22
23
|
prompt: SelectPrompt;
|
|
23
|
-
}>):
|
|
24
|
+
}>): React.JSX.Element;
|
|
24
25
|
export declare function PromptArea({ prompt, onTextError }: Readonly<{
|
|
25
26
|
prompt?: PromptRequest;
|
|
26
27
|
onTextError: (error?: string) => void;
|
|
27
|
-
}>):
|
|
28
|
+
}>): React.JSX.Element | null;
|
|
28
29
|
export declare function SpinnerArea({ text }: Readonly<{
|
|
29
30
|
text?: string;
|
|
30
|
-
}>):
|
|
31
|
+
}>): React.JSX.Element | null;
|