@sap-ux/system-access
Version:
Reusable module allowing to access systems using the store or prompts.
21 lines • 667 B
TypeScript
import type { PromptObject } from 'prompts';
/**
* Export map of questions for usage with the prompts modules
*/
export declare const questions: {
readonly authType: PromptObject<string>;
readonly username: PromptObject<string>;
readonly password: PromptObject<string>;
readonly serviceKeysPath: PromptObject<string>;
readonly storeCredentials: PromptObject<string>;
readonly systemName: PromptObject<string>;
};
type keys = keyof typeof questions;
/**
* Generate a map of questions for usages with inquirer (e.g. in yeoman)
*/
export declare const inquirer: {
[key in keys]: object;
};
export {};
//# sourceMappingURL=prompts.d.ts.map