builder.io 1.7.7 → 1.7.9

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.
@@ -56,33 +56,13 @@ export declare class CodeGenSession {
56
56
  getRepoUrl(): string | undefined;
57
57
  setPrUrl(prUrl: string): void;
58
58
  prExists(): boolean;
59
- pushRepoV2({ repoFullName, remoteUrl, }: {
59
+ pushRepoV2({ repoFullName }: {
60
60
  repoFullName: string;
61
- remoteUrl: string;
62
61
  }): Promise<{
63
- output: string;
64
- upToDate: boolean;
65
- createdBranch: boolean;
66
- setUpToStream: boolean;
67
- status: GenerateCompletionStepGit | null;
68
- success: boolean;
69
- error?: undefined;
70
- details?: undefined;
71
- } | {
72
62
  success: boolean;
73
63
  error: string;
74
- details: string;
64
+ details?: undefined;
75
65
  } | {
76
- success: boolean;
77
- error: string;
78
- }>;
79
- pushRepo(...args: [
80
- {
81
- repoFullName: string;
82
- githubToken: string;
83
- githubBaseUrl?: string;
84
- }
85
- ] | [string, string, string?]): Promise<{
86
66
  output: string;
87
67
  upToDate: boolean;
88
68
  createdBranch: boolean;
@@ -95,9 +75,6 @@ export declare class CodeGenSession {
95
75
  success: boolean;
96
76
  error: string;
97
77
  details: string;
98
- } | {
99
- success: boolean;
100
- error: string;
101
78
  }>;
102
79
  archiveProject(): Promise<string>;
103
80
  isIdle(): Promise<boolean>;
@@ -1,12 +1 @@
1
- /**
2
- * Get the GitHub remote URL for a given repository
3
- * @param repoFullName - The full name of the repository (e.g. "BuilderIO/fusion-starter")
4
- * @param githubToken - The GitHub token to use for the remote URL
5
- * @returns The GitHub remote URL
6
- */
7
- export declare const getGitHubRemoteUrl: ({ repoFullName, githubToken, githubHost, }: {
8
- repoFullName: string;
9
- githubToken: string | undefined;
10
- githubHost: string;
11
- }) => string;
12
1
  export declare const getCommandWithShellArgs: (command: string, shell: string) => string[];