@builder.io/ai-utils 0.4.22 → 0.4.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.4.22",
3
+ "version": "0.4.23",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -588,11 +588,13 @@ export interface FusionConfig {
588
588
  checkCommand?: string;
589
589
  setupCommand?: string;
590
590
  projectId?: string;
591
+ branchName?: string;
591
592
  workingDirectory: string;
592
593
  bashWorkingDirectory?: string;
593
594
  workspace?: WorkspaceConfiguration;
594
595
  authenticateProxy?: boolean;
595
596
  allowedCommands?: string[];
597
+ autoBackupGit?: boolean;
596
598
  commitMode: CommitMode;
597
599
  serverUrl: string;
598
600
  isLocal?: boolean;
package/src/projects.d.ts CHANGED
@@ -148,4 +148,16 @@ export type GitConfig = {
148
148
  provider: "github" | "bitbucket" | "gitlab";
149
149
  };
150
150
  export type GitConfigs = Record<string, GitConfig>;
151
+ export declare const EXAMPLE_REPOS: string[];
152
+ export declare const STARTER_REPO = "BuilderIO/fusion-starter";
153
+ export interface GitBackupUploadUrlResult {
154
+ signedUrl: string;
155
+ filePath: string;
156
+ expiresAt: string;
157
+ }
158
+ export interface GitBackupUploadUrlOptions {
159
+ projectId: string;
160
+ branchName: string;
161
+ size: number;
162
+ }
151
163
  export {};
package/src/projects.js CHANGED
@@ -1 +1,7 @@
1
- export {};
1
+ export const EXAMPLE_REPOS = [
2
+ "steve8708/mui-vite",
3
+ "steve8708/carbon-vite",
4
+ "steve8708/vite-react-shopify-polaris",
5
+ "steve8708/cloudscape-demos",
6
+ ];
7
+ export const STARTER_REPO = "BuilderIO/fusion-starter";