builder.io 1.7.29 → 1.7.30

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.
@@ -4,7 +4,7 @@ import type { GitBackupUploadUrlResult, GitBackupUploadUrlOptions, GitBackupReco
4
4
  /**
5
5
  * Requests a signed upload URL for git backup
6
6
  */
7
- export declare function requestSignedUploadUrl(credentials: Credentials, body: GitBackupUploadUrlOptions): Promise<GitBackupUploadUrlResult>;
7
+ export declare function requestSignedUploadUrl(credentials: Credentials, body: GitBackupUploadUrlOptions): Promise<GitBackupUploadUrlResult | null>;
8
8
  /**
9
9
  * Records a successful git backup in Firebase
10
10
  */
@@ -101,6 +101,17 @@ export declare class CodeGenSession {
101
101
  bundleSize?: undefined;
102
102
  contentMd5?: undefined;
103
103
  error?: undefined;
104
+ } | {
105
+ success: boolean;
106
+ skipped: boolean;
107
+ reason: string;
108
+ lastCommitHash?: undefined;
109
+ empty?: undefined;
110
+ filePath?: undefined;
111
+ expiresAt?: undefined;
112
+ bundleSize?: undefined;
113
+ contentMd5?: undefined;
114
+ error?: undefined;
104
115
  } | {
105
116
  success: boolean;
106
117
  filePath: string;
@@ -171,6 +182,7 @@ export declare class CodeGenSession {
171
182
  * Get the current commit hash
172
183
  */
173
184
  getCurrentCommitHash(branchName?: string): Promise<string | undefined>;
185
+ getCurrentBranch(): Promise<string>;
174
186
  /**
175
187
  * Get the feature branch name
176
188
  */