Showing the changes to apps/server/src/sourceControl/SourceControlRepositoryService.test.ts (1 of 42 files). Show all
Unified · Split
| @@ -7,7 +7,7 @@ import { ChildProcessSpawner } from "effect/unstable/process"; · 6 unmodified lines | ||
| 7 | 7 | |
| 8 | 8 | import { GitCommandError, type SourceControlProviderError } from "@t3tools/contracts"; |
| 9 | 9 | |
| 10 | −import { ServerConfig } from "../config.ts"; | |
| 10 | +import * as ServerConfig from "../config.ts"; | |
| 11 | 11 | import * as GitVcsDriver from "../vcs/GitVcsDriver.ts"; |
| 12 | 12 | import type * as SourceControlProvider from "./SourceControlProvider.ts"; |
| 13 | 13 | import * as SourceControlProviderRegistry from "./SourceControlProviderRegistry.ts"; |
| @@ -20,8 +20,8 @@ const CLONE_URLS = { · 6 unmodified lines | ||
| 20 | 20 | }; |
| 21 | 21 | |
| 22 | 22 | function makeProvider( |
| 23 | − overrides: Partial<SourceControlProvider.SourceControlProviderShape> = {}, | |
| 24 | −): SourceControlProvider.SourceControlProviderShape { | |
| 23 | + overrides: Partial<SourceControlProvider.SourceControlProvider["Service"]> = {}, | |
| 24 | +): SourceControlProvider.SourceControlProvider["Service"] { | |
| 25 | 25 | const unsupported = (operation: string) => |
| 26 | 26 | Effect.die(`unexpected provider operation ${operation}`) as Effect.Effect< |
| 27 | 27 | never, |
| @@ -52,8 +52,8 @@ function processOutput(): GitVcsDriver.ExecuteGitResult { · 24 unmodified lines | ||
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | function makeLayer(input: { |
| 55 | − readonly provider?: SourceControlProvider.SourceControlProviderShape; | |
| 56 | − readonly git?: Partial<GitVcsDriver.GitVcsDriverShape>; | |
| 55 | + readonly provider?: SourceControlProvider.SourceControlProvider["Service"]; | |
| 56 | + readonly git?: Partial<GitVcsDriver.GitVcsDriver["Service"]>; | |
| 57 | 57 | }) { |
| 58 | 58 | return SourceControlRepositoryService.layer.pipe( |
| 59 | 59 | Layer.provide( |