refactor(contracts): source control provider kind is an open branded slug (#17739)

Co-authored-by: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Julius MarmingeandClaude Opus 5.5 authored and GitHub committed 2026-10-10 12:06:59 -07:00
1 parent dacd2cb649
commit fd3549c8ff
74 files changed
+816 -551

No files matched your search

@@ -1,3 +1,4 @@
import { SourceControlProviderKind } from "@t3tools/contracts";
import { ProjectId, type PullRequestSummary, type VcsStatusResult } from "@t3tools/contracts";
import { describe, expect, it } from "@effect/vitest";
import * as Effect from "effect/Effect";
@@ -93,7 +94,7 @@ function pullRequestSummary(
updatedAt: string,
): PullRequestSummary {
return {
provider: "github",
provider: SourceControlProviderKind.make("github"),
projectId: ProjectId.make("project-1"),
repository: "pingdotgg/t3code",
number: 42,
@@ -179,7 +180,7 @@ describe("resolveDisplayedThreadPr + nextThreadChangeRequestSnapshot", () => {
url: "https://github.com/pingdotgg/t3code/pull/42",
};
const provider = {
kind: "github" as const,
kind: SourceControlProviderKind.make("github"),
name: "GitHub",
baseUrl: "https://github.com",
};