builder.io 1.11.2 → 1.11.4
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/cli/index.cjs +39 -39
- package/cli/index.cjs.map +4 -4
- package/core/index.cjs +1 -1
- package/core/index.mjs +1 -1
- package/node/index.cjs +1 -1
- package/node/index.mjs +1 -1
- package/package.json +1 -1
- package/server/index.cjs +122 -122
- package/server/index.mjs +125 -125
- package/types/cli/backup.d.ts +7 -1
- package/types/cli/index.d.ts +2 -2
- package/types/tsconfig.tsbuildinfo +1 -1
package/types/cli/backup.d.ts
CHANGED
|
@@ -32,9 +32,15 @@ interface BackupGitRepoOptions {
|
|
|
32
32
|
*/
|
|
33
33
|
export declare function backupGitRepo({ sys, credentials, projectId, branchName, repoPath, aiBranch, featureBranch, workspace, isConnectedToProvider, debug, forcedFullBackup, }: BackupGitRepoOptions): Promise<BackupGitRepoResult>;
|
|
34
34
|
type InitialCommitHashResult = {
|
|
35
|
+
initialBranch: string;
|
|
36
|
+
initialCommitHash: undefined;
|
|
37
|
+
partial: false;
|
|
38
|
+
forcedFullBackup: true;
|
|
39
|
+
} | {
|
|
35
40
|
initialBranch: string;
|
|
36
41
|
initialCommitHash: string;
|
|
37
42
|
partial: boolean;
|
|
43
|
+
forcedFullBackup: false;
|
|
38
44
|
};
|
|
39
45
|
/**
|
|
40
46
|
* Determines the initial commit hash and whether to create a partial or full backup.
|
|
@@ -53,7 +59,7 @@ export declare function getInitialCommitHash({ sys, repoPath, featureBranch, deb
|
|
|
53
59
|
debug: boolean;
|
|
54
60
|
workspace: WorkspaceConfiguration | undefined;
|
|
55
61
|
isConnectedToProvider: boolean;
|
|
56
|
-
forcedFullBackup
|
|
62
|
+
forcedFullBackup: boolean;
|
|
57
63
|
}): Promise<InitialCommitHashResult>;
|
|
58
64
|
/**
|
|
59
65
|
* Requests a signed upload URL for git backup
|
package/types/cli/index.d.ts
CHANGED