@builder.io/ai-utils 0.5.21 → 0.5.23
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/package.json +1 -1
- package/src/codegen.d.ts +4 -1
- package/src/projects.d.ts +3 -0
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -717,6 +717,8 @@ export interface BranchBackup {
|
|
|
717
717
|
status: "initiated" | "completed";
|
|
718
718
|
contentMd5?: string;
|
|
719
719
|
empty?: boolean;
|
|
720
|
+
repoUrl: string;
|
|
721
|
+
version?: "v1" | "v2";
|
|
720
722
|
}
|
|
721
723
|
export interface CheckBackupDataResultValid {
|
|
722
724
|
hasValidBackup: true;
|
|
@@ -726,7 +728,7 @@ export interface CheckBackupDataResultValid {
|
|
|
726
728
|
}
|
|
727
729
|
export interface CheckBackupDataResultInvalid {
|
|
728
730
|
hasValidBackup: false;
|
|
729
|
-
outcome: "valid" | "no-backup" | "hash-mismatch" | "error" | "not-completed" | "no-session-id" | "no-last-commit-hash" | "no-backup-file" | "empty-full-backup" | "no-vcpCodeGenEvent" | "no-after-commit" | "no-signed-url" | "no-git-branch-name" | "branch-uninitialized";
|
|
731
|
+
outcome: "valid" | "no-backup" | "hash-mismatch" | "error" | "not-completed" | "no-session-id" | "no-last-commit-hash" | "no-backup-file" | "empty-full-backup" | "no-vcpCodeGenEvent" | "no-after-commit" | "no-signed-url" | "no-git-branch-name" | "repo-url-mismatch" | "branch-uninitialized";
|
|
730
732
|
message: string;
|
|
731
733
|
backup: BranchBackup | undefined;
|
|
732
734
|
}
|
|
@@ -739,6 +741,7 @@ export interface WorkspaceFolder {
|
|
|
739
741
|
enableGit?: boolean;
|
|
740
742
|
path: string;
|
|
741
743
|
name?: string;
|
|
744
|
+
originalRepoUrl?: string;
|
|
742
745
|
repoUrl?: string;
|
|
743
746
|
repoName?: string;
|
|
744
747
|
branchName?: string;
|
package/src/projects.d.ts
CHANGED
|
@@ -176,6 +176,7 @@ export interface GitBackupDownloadUrlOptions {
|
|
|
176
176
|
spaceId: string;
|
|
177
177
|
projectId: string;
|
|
178
178
|
branchName: string;
|
|
179
|
+
partial: boolean;
|
|
179
180
|
}
|
|
180
181
|
export interface GitBackupRecordOptions {
|
|
181
182
|
projectId: string;
|
|
@@ -188,6 +189,8 @@ export interface GitBackupRecordOptions {
|
|
|
188
189
|
empty: boolean;
|
|
189
190
|
status: "completed";
|
|
190
191
|
contentMd5?: string;
|
|
192
|
+
repoUrl: string;
|
|
193
|
+
version: "v1" | "v2";
|
|
191
194
|
}
|
|
192
195
|
export interface GitBackupRecordResult {
|
|
193
196
|
success: boolean;
|