# Schemas: source-control-tanstack-source

> T3 Code · channel `stable` · v0.1.14 @ [`c0eed7328db2`](https://github.com/pingdotgg/t3code/tree/c0eed7328db2609e5a535be704e90638aef1c111) · 2026-12-05 · generated by Everdoc from source (no LLM).

25 entries.

<a id="schema-sourcecheckrun"></a>

## `SourceCheckRun`

- Kind: schema
- Workspace: [@t3tools/source-control-tanstack-source](../../architecture/t3tools-source-control-tanstack-source.md)
- Source: [packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts:82](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts#L82-L93)
- Shape: `{ jobId?: string; name: string; view?: string; status: string; conclusion: string | null; startedAt?: number | null; completedAt?: number | null; summary?: string | null; url?: string | null; source?: string | null }`

<a id="schema-sourcecheckruns"></a>

## `SourceCheckRuns`

- Kind: schema
- Workspace: [@t3tools/source-control-tanstack-source](../../architecture/t3tools-source-control-tanstack-source.md)
- Source: [packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts:95](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts#L95)
- Shape: `SourceCheckRun[]`

<a id="schema-sourcecirundetail"></a>

## `SourceCiRunDetail`

- Kind: schema
- Workspace: [@t3tools/source-control-tanstack-source](../../architecture/t3tools-source-control-tanstack-source.md)
- Source: [packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts:111](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts#L111-L116)
- Shape: `{ id: string; jobs: { key: string; name: string; jobId: string | null }[] }`

<a id="schema-sourceciruns"></a>

## `SourceCiRuns`

- Kind: schema
- Workspace: [@t3tools/source-control-tanstack-source](../../architecture/t3tools-source-control-tanstack-source.md)
- Source: [packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts:97](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts#L97-L108)
- Shape: `{ items: { id: string; workflow: string; headSha: string; createdAt: number; htmlUrl: string }[]; next: string | null }`

<a id="schema-sourcecommits"></a>

## `SourceCommits`

- Kind: schema
- Workspace: [@t3tools/source-control-tanstack-source](../../architecture/t3tools-source-control-tanstack-source.md)
- Source: [packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts:176](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts#L176-L188)
- Shape: `{ baseSha: string | null; headSha: string | null; mergeBaseSha: string | null; available: boolean; unavailable?: unknown | null; tooLarge?: unknown | null; commitsTruncated: boolean | null; commits: { sha: string; title: string; author: {…} }[] | null }`

<a id="schema-sourcecontents"></a>

## `SourceContents`

- Kind: schema
- Workspace: [@t3tools/source-control-tanstack-source](../../architecture/t3tools-source-control-tanstack-source.md)
- Source: [packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts:214](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts#L214-L218)
- Shape: `{ binary: boolean; truncated: boolean; content: string | null }`

<a id="schema-sourcediff"></a>

## `SourceDiff`

- Kind: schema
- Workspace: [@t3tools/source-control-tanstack-source](../../architecture/t3tools-source-control-tanstack-source.md)
- Source: [packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts:208](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts#L208-L212)
- Shape: `{ baseSha: string | null; headSha: string | null; mergeBaseSha: string | null; available: boolean; unavailable?: unknown | null; tooLarge?: unknown | null; truncated: boolean | null; patch: string | null }`

<a id="schema-sourcefiles"></a>

## `SourceFiles`

- Kind: schema
- Workspace: [@t3tools/source-control-tanstack-source](../../architecture/t3tools-source-control-tanstack-source.md)
- Source: [packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts:190](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts#L190-L205)
- Shape: `{ baseSha: string | null; headSha: string | null; mergeBaseSha: string | null; available: boolean; unavailable?: unknown | null; tooLarge?: unknown | null; truncated: boolean | null; files: { path: string; oldPath?: string | null; status: string; binary?: boolean; additions?: number; deletions?: number }[] | null }`

<a id="schema-sourcelabels"></a>

## `SourceLabels`

- Kind: schema
- Workspace: [@t3tools/source-control-tanstack-source](../../architecture/t3tools-source-control-tanstack-source.md)
- Source: [packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts:233](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts#L233-L239)
- Shape: `{ name: string; color: string | null; description?: string | null }[]`

<a id="schema-sourcemergechecks"></a>

## `SourceMergeChecks`

- Kind: schema
- Workspace: [@t3tools/source-control-tanstack-source](../../architecture/t3tools-source-control-tanstack-source.md)
- Source: [packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts:66](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts#L66-L78)
- Shape: `{ headSha?: string | null; checks: { name: string; state: string; reason?: string | null }[]; upToDate?: boolean | null; mayMerge: boolean; refusal?: string | null }`

<a id="schema-sourcepull"></a>

## `SourcePull`

- Kind: schema
- Workspace: [@t3tools/source-control-tanstack-source](../../architecture/t3tools-source-control-tanstack-source.md)
- Source: [packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts:25](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts#L25-L35)
- Shape: `{ number: number; title: string; state: "open" | "closed" | "merged"; draft: boolean; author: string | null; labels?: string[]; head: string; createdAt: number; visibility?: string }`

<a id="schema-sourcepulldetail"></a>

## `SourcePullDetail`

- Kind: schema
- Workspace: [@t3tools/source-control-tanstack-source](../../architecture/t3tools-source-control-tanstack-source.md)
- Source: [packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts:45](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts#L45-L62)
- Shape: `{ body: string | null; base: string; headRepo: string | null; headSha: string | null; baseSha: string | null; mergeCommitSha: string | null; mergedAt: number | null; mergedBy: string | null; mergeable: boolean | null; changedFiles: number | null; changedLines?: unknown | null; reviewRequests?: string[]; autoMerge?: { method?: string } | null; locked?: boolean; htmlUrl?: string }`

<a id="schema-sourcepulls"></a>

## `SourcePulls`

- Kind: schema
- Workspace: [@t3tools/source-control-tanstack-source](../../architecture/t3tools-source-control-tanstack-source.md)
- Source: [packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts:38](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts#L38-L41)
- Shape: `{ items: SourcePull[]; next: string | null }`

<a id="schema-sourcestack"></a>

## `SourceStack`

- Kind: schema
- Workspace: [@t3tools/source-control-tanstack-source](../../architecture/t3tools-source-control-tanstack-source.md)
- Source: [packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts:220](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts#L220-L230)
- Shape: `{ members: { number: number; title: string; headRef: string; baseRef: string; draft: boolean }[] }`

<a id="schema-sourcethreads"></a>

## `SourceThreads`

- Kind: schema
- Workspace: [@t3tools/source-control-tanstack-source](../../architecture/t3tools-source-control-tanstack-source.md)
- Source: [packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts:154](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts#L154-L165)
- Shape: `{ id: number; htmlUrl?: string | null; path: string; side: "old" | "new"; line: number | null; outdated: boolean; resolved: boolean; comments: {…}[] }[]`

<a id="schema-sourcetimeline"></a>

## `SourceTimeline`

- Kind: schema
- Workspace: [@t3tools/source-control-tanstack-source](../../architecture/t3tools-source-control-tanstack-source.md)
- Source: [packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts:140](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts#L140-L144)
- Shape: `{ timeline: ({ id: number; comment: string | null; author: string | null; at: number; updatedAt?: number | null; moderation?: string; review?: string | null; path?: string | null; replyTo?: number | null; reviewId?: number | null } | { event: string })[]; next: string | null }`

<a id="schema-sourceuser"></a>

## `SourceUser`

- Kind: schema
- Workspace: [@t3tools/source-control-tanstack-source](../../architecture/t3tools-source-control-tanstack-source.md)
- Source: [packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts:241](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-tanstack-source/src/server/tanStackSourceJson.ts#L241)
- Shape: `{ username: string }`

<a id="schema-tanstacksourceapierror"></a>

## `TanStackSourceApiError`

- Kind: schema
- Workspace: [@t3tools/source-control-tanstack-source](../../architecture/t3tools-source-control-tanstack-source.md)
- Source: [packages/source-control-tanstack-source/src/server/TanStackSourceApi.ts:29](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-tanstack-source/src/server/TanStackSourceApi.ts#L29-L44)
- Shape: `{ _tag: "TanStackSourceApiError"; host: string; operation: string; status: number | null; reason: TanStackSourceApiFailure; detail: string; retryAt?: number; cause?: unknown }`

<a id="schema-tanstacksourceapifailure"></a>

## `TanStackSourceApiFailure`

- Kind: schema
- Workspace: [@t3tools/source-control-tanstack-source](../../architecture/t3tools-source-control-tanstack-source.md)
- Source: [packages/source-control-tanstack-source/src/server/TanStackSourceApi.ts:20](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-tanstack-source/src/server/TanStackSourceApi.ts#L20-L27)
- Shape: `"missing-tool" | "unauthenticated" | "forbidden" | "rate-limited" | "not-found" | "failed"`

<a id="schema-tanstacksourceclifailederror"></a>

## `TanStackSourceCliFailedError`

- Kind: schema
- Workspace: [@t3tools/source-control-tanstack-source](../../architecture/t3tools-source-control-tanstack-source.md)
- Source: [packages/source-control-tanstack-source/src/server/TanStackSourceCredentials.ts:65](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-tanstack-source/src/server/TanStackSourceCredentials.ts#L65-L72)
- Shape: `{ _tag: "TanStackSourceCliFailedError"; host: string; cause: unknown }`

<a id="schema-tanstacksourceclimissingerror"></a>

## `TanStackSourceCliMissingError`

- Kind: schema
- Workspace: [@t3tools/source-control-tanstack-source](../../architecture/t3tools-source-control-tanstack-source.md)
- Source: [packages/source-control-tanstack-source/src/server/TanStackSourceCredentials.ts:36](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-tanstack-source/src/server/TanStackSourceCredentials.ts#L36-L43)
- Shape: `{ _tag: "TanStackSourceCliMissingError"; host: string }`

<a id="schema-tanstacksourceclitimeouterror"></a>

## `TanStackSourceCliTimeoutError`

- Kind: schema
- Workspace: [@t3tools/source-control-tanstack-source](../../architecture/t3tools-source-control-tanstack-source.md)
- Source: [packages/source-control-tanstack-source/src/server/TanStackSourceCredentials.ts:74](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-tanstack-source/src/server/TanStackSourceCredentials.ts#L74-L81)
- Shape: `{ _tag: "TanStackSourceCliTimeoutError"; host: string; timeoutMs: number; cause: unknown }`

<a id="schema-tanstacksourcecredentialsource"></a>

## `TanStackSourceCredentialSource`

- Kind: schema
- Workspace: [@t3tools/source-control-tanstack-source](../../architecture/t3tools-source-control-tanstack-source.md)
- Source: [packages/source-control-tanstack-source/src/server/TanStackSourceCredentials.ts:27](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-tanstack-source/src/server/TanStackSourceCredentials.ts#L27)
- Shape: `"settings" | "env" | "src"`

<a id="schema-tanstacksourcehostdisablederror"></a>

## `TanStackSourceHostDisabledError`

- Kind: schema
- Workspace: [@t3tools/source-control-tanstack-source](../../architecture/t3tools-source-control-tanstack-source.md)
- Source: [packages/source-control-tanstack-source/src/server/TanStackSourceCredentials.ts:56](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-tanstack-source/src/server/TanStackSourceCredentials.ts#L56-L63)
- Shape: `{ _tag: "TanStackSourceHostDisabledError"; host: string }`

<a id="schema-tanstacksourcenotsignedinerror"></a>

## `TanStackSourceNotSignedInError`

- Kind: schema
- Workspace: [@t3tools/source-control-tanstack-source](../../architecture/t3tools-source-control-tanstack-source.md)
- Source: [packages/source-control-tanstack-source/src/server/TanStackSourceCredentials.ts:45](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/source-control-tanstack-source/src/server/TanStackSourceCredentials.ts#L45-L54)
- Shape: `{ _tag: "TanStackSourceNotSignedInError"; host: string; account?: string }`
