Showing the changes to apps/server/src/sourceControl/SourceControlProvider.ts (1 of 33 files). Show all
Unified · Split
| @@ -6,6 +6,7 @@ import type { · 5 unmodified lines | ||
| 6 | 6 | SourceControlProviderInfo, |
| 7 | 7 | SourceControlProviderKind, |
| 8 | 8 | SourceControlRepositoryCloneUrls, |
| 9 | + SourceControlRepositoryVisibility, | |
| 9 | 10 | } from "@t3tools/contracts"; |
| 10 | 11 | |
| 11 | 12 | export interface SourceControlProviderContext { |
| @@ -50,6 +51,11 @@ export interface SourceControlProviderShape { · 38 unmodified lines | ||
| 50 | 51 | readonly context?: SourceControlProviderContext; |
| 51 | 52 | readonly repository: string; |
| 52 | 53 | }) => Effect.Effect<SourceControlRepositoryCloneUrls, SourceControlProviderError>; |
| 54 | + readonly createRepository: (input: { | |
| 55 | + readonly cwd: string; | |
| 56 | + readonly repository: string; | |
| 57 | + readonly visibility: SourceControlRepositoryVisibility; | |
| 58 | + }) => Effect.Effect<SourceControlRepositoryCloneUrls, SourceControlProviderError>; | |
| 53 | 59 | readonly getDefaultBranch: (input: { |
| 54 | 60 | readonly cwd: string; |
| 55 | 61 | readonly context?: SourceControlProviderContext; |