@sap-ux/inquirer-common 0.5.9 → 0.5.11
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/types.d.ts +17 -0
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -37,6 +37,23 @@ export interface GuiOptions {
|
|
|
37
37
|
* Indicate state in the left hand navigation panel in YUI
|
|
38
38
|
*/
|
|
39
39
|
breadcrumb?: boolean | string;
|
|
40
|
+
/**
|
|
41
|
+
* Indicates how the question will be displayed in YUI
|
|
42
|
+
*/
|
|
43
|
+
type?: 'label' | 'folder-browser';
|
|
44
|
+
/**
|
|
45
|
+
* Link to be shown in input question prompt of type 'label'
|
|
46
|
+
*/
|
|
47
|
+
link?: {
|
|
48
|
+
/**
|
|
49
|
+
* A string that will have the styles of a link and will be concatenated at the end of the question message
|
|
50
|
+
*/
|
|
51
|
+
text?: string;
|
|
52
|
+
/**
|
|
53
|
+
* The URL to which the text points
|
|
54
|
+
*/
|
|
55
|
+
url?: string;
|
|
56
|
+
};
|
|
40
57
|
}
|
|
41
58
|
export type PromptSeverityMessage = (input?: unknown, previousAnswers?: Answers) => IMessageSeverity | undefined | Promise<IMessageSeverity | undefined>;
|
|
42
59
|
export type YUIQuestion<A extends Answers = Answers> = Question<A> & {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/inquirer-common",
|
|
3
3
|
"description": "Commonly used shared functionality and types to support inquirer modules.",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.11",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"semver": "7.5.4",
|
|
31
31
|
"@sap-ux/btp-utils": "0.17.1",
|
|
32
32
|
"@sap-ux/feature-toggle": "0.2.3",
|
|
33
|
-
"@sap-ux/fiori-generator-shared": "0.7.
|
|
33
|
+
"@sap-ux/fiori-generator-shared": "0.7.14",
|
|
34
34
|
"@sap-ux/guided-answers-helper": "0.1.1",
|
|
35
35
|
"@sap-ux/telemetry": "0.5.47",
|
|
36
36
|
"@sap-ux/logger": "0.6.0",
|