@vapi-network/cli 0.9.4 → 0.9.5
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/README.md +8 -1
- package/dist/accounts.d.ts +3 -1
- package/dist/cli.d.ts +3 -3
- package/dist/cli.js +239 -94
- package/dist/cli.js.map +3 -3
- package/dist/dashboard.d.ts +24 -0
- package/dist/index.js +239 -94
- package/dist/index.js.map +3 -3
- package/dist/login.d.ts +2 -0
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type CliDependencies, type CliIo } from "./cli.js";
|
|
2
|
+
type DashboardLink = {
|
|
3
|
+
linked: true;
|
|
4
|
+
} | {
|
|
5
|
+
linked: false;
|
|
6
|
+
next: {
|
|
7
|
+
kind: "link";
|
|
8
|
+
account: string;
|
|
9
|
+
command: string;
|
|
10
|
+
}[];
|
|
11
|
+
};
|
|
12
|
+
export declare function dashboardUrl(apiBase: string): string;
|
|
13
|
+
/** An optional device grant must never turn a completed local write into a failure. */
|
|
14
|
+
export declare function offerDashboardLink({ name, json, noLink, io, dependencies, home, apiBase, }: {
|
|
15
|
+
name: string;
|
|
16
|
+
json: boolean;
|
|
17
|
+
noLink?: boolean;
|
|
18
|
+
io: CliIo;
|
|
19
|
+
dependencies: CliDependencies;
|
|
20
|
+
home?: string;
|
|
21
|
+
apiBase?: string;
|
|
22
|
+
}): Promise<DashboardLink>;
|
|
23
|
+
export declare function dashboardCommand(argv: string[], json: boolean, io: CliIo, dependencies: CliDependencies): Promise<void>;
|
|
24
|
+
export {};
|