@builder.io/ai-utils 0.5.18 → 0.5.20
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 -2
- package/src/projects.d.ts +5 -0
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -726,14 +726,14 @@ export interface CheckBackupDataResultValid {
|
|
|
726
726
|
}
|
|
727
727
|
export interface CheckBackupDataResultInvalid {
|
|
728
728
|
hasValidBackup: false;
|
|
729
|
-
outcome: "valid" | "no-backup" | "hash-mismatch" | "error" | "not-completed" | "no-session-id" | "no-last-commit-hash" | "no-backup-file" | "no-vcpCodeGenEvent" | "no-after-commit" | "no-signed-url" | "no-git-branch-name";
|
|
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";
|
|
730
730
|
message: string;
|
|
731
731
|
backup: BranchBackup | undefined;
|
|
732
732
|
}
|
|
733
733
|
export type CheckBackupDataResult = CheckBackupDataResultValid | CheckBackupDataResultInvalid;
|
|
734
734
|
export interface BackupMetadata {
|
|
735
735
|
check: CheckBackupDataResultValid;
|
|
736
|
-
downloadUrl: GitBackupDownloadUrlResult;
|
|
736
|
+
downloadUrl: GitBackupDownloadUrlResult | undefined;
|
|
737
737
|
}
|
|
738
738
|
export interface WorkspaceFolder {
|
|
739
739
|
enableGit?: boolean;
|
|
@@ -872,6 +872,7 @@ export interface LaunchServerStatus {
|
|
|
872
872
|
startTime: number;
|
|
873
873
|
machine?: MachineConfig;
|
|
874
874
|
projectId?: string;
|
|
875
|
+
_attemptDryRunBackupOutcome?: string;
|
|
875
876
|
}
|
|
876
877
|
export interface FusionStatus {
|
|
877
878
|
status: "ok";
|
|
@@ -889,6 +890,7 @@ export interface FusionStatus {
|
|
|
889
890
|
projectId?: string;
|
|
890
891
|
secondsActive?: number;
|
|
891
892
|
backupDryRun?: string;
|
|
893
|
+
_attemptDryRunBackupOutcome?: string;
|
|
892
894
|
}
|
|
893
895
|
export interface FusionMetrics {
|
|
894
896
|
counters: {
|
package/src/projects.d.ts
CHANGED
|
@@ -192,4 +192,9 @@ export interface GitBackupRecordOptions {
|
|
|
192
192
|
export interface GitBackupRecordResult {
|
|
193
193
|
success: boolean;
|
|
194
194
|
}
|
|
195
|
+
export interface CodegenSetLastCommit {
|
|
196
|
+
projectId: string;
|
|
197
|
+
branchName: string;
|
|
198
|
+
lastCommitHash: string;
|
|
199
|
+
}
|
|
195
200
|
export {};
|