generator-jhipster
Version:
Spring Boot + Angular/React/Vue in one handy generator
86 lines (85 loc) • 3.45 kB
TypeScript
declare const command: {
readonly configs: {
readonly defaultEnvironment: {
readonly description: "Default environment for the application";
readonly cli: {
readonly type: StringConstructor;
readonly hide: true;
readonly env: "JHI_PROFILE";
};
readonly choices: readonly ["prod", "dev"];
readonly default: "prod";
readonly scope: "storage";
};
readonly skipClient: {
readonly cli: {
readonly description: "Skip the client-side application generation";
readonly type: BooleanConstructor;
};
readonly scope: "storage";
};
readonly skipServer: {
readonly cli: {
readonly description: "Skip the server-side application generation";
readonly type: BooleanConstructor;
};
readonly scope: "storage";
};
readonly authenticationType: {
readonly cli: {
readonly name: "auth";
readonly description: "Provide authentication type for the application when skipping server side generation";
readonly type: StringConstructor;
};
readonly choices: readonly [{
readonly value: "jwt";
readonly name: "JWT authentication (stateless, with a token)";
}, {
readonly value: "oauth2";
readonly name: "OAuth 2.0 / OIDC Authentication (stateful, works with Keycloak and Okta)";
}, {
readonly value: "session";
readonly name: "HTTP Session Authentication (stateful, default Spring Security mechanism)";
}];
readonly scope: "storage";
};
readonly skipUserManagement: {
readonly description: "Skip the user management module during app generation";
readonly cli: {
readonly type: BooleanConstructor;
};
readonly scope: "storage";
};
readonly applicationType: {
readonly description: "Application type to generate";
readonly cli: {
readonly type: StringConstructor;
};
readonly prompt: {
readonly type: "select";
readonly message: `Which ${string} of application would you like to create?`;
};
readonly choices: [{
readonly value: "monolith";
readonly name: "Monolithic application (recommended for simple projects)";
}, {
readonly value: "gateway";
readonly name: "Gateway application";
}, {
readonly value: "microservice";
readonly name: "Microservice application";
}];
readonly scope: "storage";
};
readonly serverPort: {
readonly description: "Server port to use";
readonly cli: {
readonly type: NumberConstructor;
};
readonly default: 8080;
readonly scope: "storage";
};
};
readonly import: readonly ["jhipster:base-application:bootstrap", "jhipster:javascript-simple-application:prettier", "jhipster:javascript-simple-application:husky"];
};
export default command;