@rosthq/cli 0.5.29 → 0.5.31
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/index.d.ts.map +1 -1
- package/dist/index.js +85 -45
- package/dist/index.js.map +3 -3
- package/dist/signup.d.ts +8 -2
- package/dist/signup.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/signup.d.ts
CHANGED
|
@@ -12,15 +12,21 @@ export declare function signupUrl(appUrl: string): string;
|
|
|
12
12
|
*/
|
|
13
13
|
export declare function parseSignupCompany(args: string[]): {
|
|
14
14
|
companyName: string | null;
|
|
15
|
+
json: boolean;
|
|
15
16
|
};
|
|
16
|
-
type CommandRunner = (io: CliIo, client: CommandClient, commandId: string, body: unknown) => Promise<
|
|
17
|
+
type CommandRunner = (io: CliIo, client: CommandClient, commandId: string, body: unknown) => Promise<{
|
|
18
|
+
exitCode: number;
|
|
19
|
+
output?: unknown;
|
|
20
|
+
}>;
|
|
17
21
|
/**
|
|
18
22
|
* Headless company creation (DER-778): provision the tenant for the authenticated
|
|
19
23
|
* CLI session with no web step. On success the new tenant is the user's active
|
|
20
24
|
* tenant, so tenant-scoped commands resolve it immediately. `run` is the shared
|
|
21
25
|
* `rost command <id> --json` execution path (injected from index.ts).
|
|
22
26
|
*/
|
|
23
|
-
export declare function runSignupProvision(io: CliIo, client: CommandClient, companyName: string, run: CommandRunner
|
|
27
|
+
export declare function runSignupProvision(io: CliIo, client: CommandClient, companyName: string, run: CommandRunner, options?: {
|
|
28
|
+
json?: boolean;
|
|
29
|
+
}): Promise<number>;
|
|
24
30
|
/**
|
|
25
31
|
* Open the signup page when a launcher is available, and always print the URL
|
|
26
32
|
* so the next step is actionable even in a headless agent session. The opener
|
package/dist/signup.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signup.d.ts","sourceRoot":"","sources":["../src/signup.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EA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