@builder.io/ai-utils 0.5.18 → 0.5.19

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.5.18",
3
+ "version": "0.5.19",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
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";
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;
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 {};