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 | SourceControlProviderInfo, | 6 | SourceControlProviderInfo, |
| 7 | SourceControlProviderKind, | 7 | SourceControlProviderKind, |
| 8 | SourceControlRepositoryCloneUrls, | 8 | SourceControlRepositoryCloneUrls, |
| 9 | SourceControlRepositoryVisibility, | ||
| 9 | } from "@t3tools/contracts"; | 10 | } from "@t3tools/contracts"; |
| 10 | 11 | ||
| 11 | export interface SourceControlProviderContext { | 12 | export interface SourceControlProviderContext { |
| @@ -50,6 +51,11 @@ export interface SourceControlProviderShape { · 38 unmodified lines | |||
| 50 | readonly context?: SourceControlProviderContext; | 51 | readonly context?: SourceControlProviderContext; |
| 51 | readonly repository: string; | 52 | readonly repository: string; |
| 52 | }) => Effect.Effect<SourceControlRepositoryCloneUrls, SourceControlProviderError>; | 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 | readonly getDefaultBranch: (input: { | 59 | readonly getDefaultBranch: (input: { |
| 54 | readonly cwd: string; | 60 | readonly cwd: string; |
| 55 | readonly context?: SourceControlProviderContext; | 61 | readonly context?: SourceControlProviderContext; |