builder.io 1.8.2 → 1.9.1

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,3 @@
1
+ import type { DevToolsSys } from "../../types";
2
+ import type { CLIArgs } from "../index";
3
+ export declare const runAuthCommand: (sys: DevToolsSys, subCommand: string, args: CLIArgs) => Promise<void>;
@@ -0,0 +1,3 @@
1
+ import type { DevToolsSys } from "../../types";
2
+ import type { CLIArgs } from "../index";
3
+ export declare const runAuthStatus: (sys: DevToolsSys, args: CLIArgs) => void;
@@ -44,6 +44,14 @@ export interface Credentials {
44
44
  userId?: string;
45
45
  timestamp?: string;
46
46
  }
47
+ export declare const readCredentials: (sys: DevToolsSys, args: CLIArgs) => {
48
+ spaceName: string | undefined;
49
+ userId: string | undefined;
50
+ builderPublicKey: string | undefined;
51
+ builderPrivateKey: string | undefined;
52
+ figmaAuth: FigmaAuth | undefined;
53
+ timestamp: string | undefined;
54
+ };
47
55
  export declare const getCredentials: (sys: DevToolsSys, args: CLIArgs, opts: CredentialsOptions) => Promise<Credentials>;
48
56
  export declare function getFigmaAuth(sys: DevToolsSys): Promise<FigmaAuth>;
49
57
  export declare function getBuilderCodegenUsage(builderPublicKey: string, builderPrivateKey: string): Promise<BuilderCodegenUsage>;
@@ -1,3 +1,9 @@
1
1
  import { type InitConfig } from "./InitStateMachine";
2
2
  import type { InitState } from "$/ai-utils";
3
- export declare const attemptDryRunBackupGit: (initConfig: InitConfig, realInitState: InitState) => Promise<void>;
3
+ export declare const attemptDryRunBackupGit: (initConfig: InitConfig, realInitState: InitState) => Promise<{
4
+ success: boolean;
5
+ error: string;
6
+ } | {
7
+ success: boolean;
8
+ error?: undefined;
9
+ } | null>;
@@ -0,0 +1,18 @@
1
+ export declare function analyzeProjects(inputPath?: string): Promise<{
2
+ success: boolean;
3
+ error: string;
4
+ projectsCount?: undefined;
5
+ branchesCount?: undefined;
6
+ csvRowsCount?: undefined;
7
+ outputPath?: undefined;
8
+ } | {
9
+ success: boolean;
10
+ projectsCount: number;
11
+ branchesCount: number;
12
+ csvRowsCount: number;
13
+ outputPath: string;
14
+ error?: undefined;
15
+ }>;
16
+ export declare function handleAnalyzeProjects(args: {
17
+ inputPath?: string;
18
+ }): Promise<void>;
@@ -0,0 +1,5 @@
1
+ export declare function ensureContainer(projectId: string, branchName: string): Promise<unknown>;
2
+ export declare function handleCallEnsureContainer(args: {
3
+ appName: string;
4
+ branchName: string;
5
+ }): Promise<void>;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ import admin from "firebase-admin";
2
+ export declare const db: admin.firestore.Firestore;
3
+ export declare const storage: admin.storage.Storage;
@@ -0,0 +1,12 @@
1
+ export declare function downloadProjects(): Promise<{
2
+ success: boolean;
3
+ count: number;
4
+ outputPath: string;
5
+ error?: undefined;
6
+ } | {
7
+ success: boolean;
8
+ error: string;
9
+ count?: undefined;
10
+ outputPath?: undefined;
11
+ }>;
12
+ export declare function handleDownloadProjects(): Promise<void>;