@rebasepro/cli 0.0.1-canary.1 → 0.0.1-canary.4d4fb3e

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.
@@ -0,0 +1 @@
1
+ export declare function authCommand(subcommand: string | undefined, rawArgs: string[]): Promise<void>;
@@ -0,0 +1 @@
1
+ export declare function dbCommand(subcommand: string | undefined, rawArgs: string[]): Promise<void>;
@@ -0,0 +1 @@
1
+ export declare function devCommand(rawArgs: string[]): Promise<void>;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * CLI command: generate-sdk
3
+ *
4
+ * Reads collection definitions from a specified directory (default: ./shared/collections),
5
+ * generates a typed JS SDK, and writes it to the output directory (default: ./generated/sdk).
6
+ *
7
+ * Uses jiti for dynamic TypeScript import of collection files.
8
+ */
9
+ interface GenerateSDKArgs {
10
+ collectionsDir: string;
11
+ output: string;
12
+ cwd: string;
13
+ }
14
+ /**
15
+ * Main entry point for the generate-sdk command.
16
+ */
17
+ export declare function generateSdkCommand(args: GenerateSDKArgs): Promise<void>;
18
+ export {};
@@ -1,6 +1,7 @@
1
1
  export interface InitOptions {
2
2
  projectName: string;
3
3
  git: boolean;
4
+ installDeps: boolean;
4
5
  targetDirectory: string;
5
6
  templateDirectory: string;
6
7
  }
@@ -0,0 +1 @@
1
+ export declare function schemaCommand(subcommand: string | undefined, rawArgs: string[]): Promise<void>;