balda 0.0.2 → 0.0.3
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/lib/cli.js +43 -26
- package/lib/cli.js.map +1 -1
- package/lib/index.cjs +48 -31
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +18 -1
- package/lib/index.d.ts +18 -1
- package/lib/index.js +48 -31
- package/lib/index.js.map +1 -1
- package/package.json +21 -62
package/lib/index.d.cts
CHANGED
|
@@ -2536,6 +2536,23 @@ declare class GenerateQueueCommand extends Command {
|
|
|
2536
2536
|
static getQueueTemplate(isValidLiteral: boolean): string;
|
|
2537
2537
|
}
|
|
2538
2538
|
|
|
2539
|
+
declare class GenerateSdkCommand extends Command {
|
|
2540
|
+
static commandName: string;
|
|
2541
|
+
static description: string;
|
|
2542
|
+
static help: string[];
|
|
2543
|
+
static serverPath: string;
|
|
2544
|
+
static outputPath: string;
|
|
2545
|
+
static swaggerPath: string;
|
|
2546
|
+
static httpClient: string;
|
|
2547
|
+
static unwrapResponseData: boolean;
|
|
2548
|
+
static singleHttpClient: boolean;
|
|
2549
|
+
static typePrefix?: string;
|
|
2550
|
+
static typeSuffix?: string;
|
|
2551
|
+
static enumNamesAsValues: boolean;
|
|
2552
|
+
static sortTypes: boolean;
|
|
2553
|
+
static handle(): Promise<void>;
|
|
2554
|
+
}
|
|
2555
|
+
|
|
2539
2556
|
declare class InitCommand extends Command {
|
|
2540
2557
|
static commandName: string;
|
|
2541
2558
|
static description: string;
|
|
@@ -2600,7 +2617,7 @@ declare class SetupStorageCommand extends Command {
|
|
|
2600
2617
|
private static getConfigTemplate;
|
|
2601
2618
|
}
|
|
2602
2619
|
|
|
2603
|
-
declare const baseCommands: (typeof BuildCommand | typeof GenerateCommand | typeof GenerateControllerCommand | typeof GenerateCron | typeof GenerateMiddlewareCommand | typeof GenerateMqttCommand | typeof GeneratePluginCommand | typeof GenerateQueueCommand | typeof InitCommand | typeof InitQueueCommand | typeof ListCommand | typeof ServeCommand | typeof SetupStorageCommand)[];
|
|
2620
|
+
declare const baseCommands: (typeof BuildCommand | typeof GenerateCommand | typeof GenerateControllerCommand | typeof GenerateCron | typeof GenerateMiddlewareCommand | typeof GenerateMqttCommand | typeof GeneratePluginCommand | typeof GenerateQueueCommand | typeof GenerateSdkCommand | typeof InitCommand | typeof InitQueueCommand | typeof ListCommand | typeof ServeCommand | typeof SetupStorageCommand)[];
|
|
2604
2621
|
/**
|
|
2605
2622
|
* Singleton that registers all commands and provides a way to execute them.
|
|
2606
2623
|
* Commands are loaded from the commands directory, and are expected to have a default export with the command class that extends the base command class.
|
package/lib/index.d.ts
CHANGED
|
@@ -2536,6 +2536,23 @@ declare class GenerateQueueCommand extends Command {
|
|
|
2536
2536
|
static getQueueTemplate(isValidLiteral: boolean): string;
|
|
2537
2537
|
}
|
|
2538
2538
|
|
|
2539
|
+
declare class GenerateSdkCommand extends Command {
|
|
2540
|
+
static commandName: string;
|
|
2541
|
+
static description: string;
|
|
2542
|
+
static help: string[];
|
|
2543
|
+
static serverPath: string;
|
|
2544
|
+
static outputPath: string;
|
|
2545
|
+
static swaggerPath: string;
|
|
2546
|
+
static httpClient: string;
|
|
2547
|
+
static unwrapResponseData: boolean;
|
|
2548
|
+
static singleHttpClient: boolean;
|
|
2549
|
+
static typePrefix?: string;
|
|
2550
|
+
static typeSuffix?: string;
|
|
2551
|
+
static enumNamesAsValues: boolean;
|
|
2552
|
+
static sortTypes: boolean;
|
|
2553
|
+
static handle(): Promise<void>;
|
|
2554
|
+
}
|
|
2555
|
+
|
|
2539
2556
|
declare class InitCommand extends Command {
|
|
2540
2557
|
static commandName: string;
|
|
2541
2558
|
static description: string;
|
|
@@ -2600,7 +2617,7 @@ declare class SetupStorageCommand extends Command {
|
|
|
2600
2617
|
private static getConfigTemplate;
|
|
2601
2618
|
}
|
|
2602
2619
|
|
|
2603
|
-
declare const baseCommands: (typeof BuildCommand | typeof GenerateCommand | typeof GenerateControllerCommand | typeof GenerateCron | typeof GenerateMiddlewareCommand | typeof GenerateMqttCommand | typeof GeneratePluginCommand | typeof GenerateQueueCommand | typeof InitCommand | typeof InitQueueCommand | typeof ListCommand | typeof ServeCommand | typeof SetupStorageCommand)[];
|
|
2620
|
+
declare const baseCommands: (typeof BuildCommand | typeof GenerateCommand | typeof GenerateControllerCommand | typeof GenerateCron | typeof GenerateMiddlewareCommand | typeof GenerateMqttCommand | typeof GeneratePluginCommand | typeof GenerateQueueCommand | typeof GenerateSdkCommand | typeof InitCommand | typeof InitQueueCommand | typeof ListCommand | typeof ServeCommand | typeof SetupStorageCommand)[];
|
|
2604
2621
|
/**
|
|
2605
2622
|
* Singleton that registers all commands and provides a way to execute them.
|
|
2606
2623
|
* Commands are loaded from the commands directory, and are expected to have a default export with the command class that extends the base command class.
|