Type Alias: GovernanceAcquisitionCheckpoint
@kortexya/reasoninglayer / GovernanceAcquisitionCheckpoint
Type Alias: GovernanceAcquisitionCheckpoint
Section titled “Type Alias: GovernanceAcquisitionCheckpoint”GovernanceAcquisitionCheckpoint = {
bytes:number;capturedAt?:string|null;continuation:string;next?:string|null;providerCode?:string|null;request:string;sha256:string;sourceFileId:string;statedTotal?:number|null;status:number;step:"capture"; } | {group:number;step:"run"; } | {complete:boolean;keys:string[];reason?:string|null;scope:string;statedTotal?:number|null;step:"listing";withdrawalScopes:string[]; } | {candidates:number;step:"withdrawal";withdrawn:string[]; }
Defined in: src/types/governance.ts:2534
What one unit of a source_acquisition job did.
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ bytes: number; capturedAt?: string | null; continuation: string; next?: string | null; providerCode?: string | null; request: string; sha256: string; sourceFileId: string; statedTotal?: number | null; status: number; step: "capture"; }
bytes:
number
The byte count.
capturedAt?
Section titled “capturedAt?”
optionalcapturedAt?:string|null
When the provider says it served the page.
continuation
Section titled “continuation”continuation:
string
next, end or provider_error.
optionalnext?:string|null
The continuation the next capture carries (an OAI
resumptionToken, a REST next-page URL).
providerCode?
Section titled “providerCode?”
optionalproviderCode?:string|null
The provider’s error code, for provider_error (not_found: an
absent ORCID iD).
request
Section titled “request”request:
string
The request the page answered (replay:source-file:<id> for a
replayed page).
sha256
Section titled “sha256”sha256:
string
The SHA-256 of the bytes, lowercase hex.
sourceFileId
Section titled “sourceFileId”sourceFileId:
string
The file the page’s bytes are stored in, exactly as served.
statedTotal?
Section titled “statedTotal?”
optionalstatedTotal?:number|null
The listing size the provider states.
status
Section titled “status”status:
number
The HTTP status (200 for a replayed or reused page).
step:
"capture"
step.
Type Literal
Section titled “Type Literal”{ group: number; step: "run"; }
group:
number
The group, from 0.
step:
"run"
step.
Type Literal
Section titled “Type Literal”{ complete: boolean; keys: string[]; reason?: string | null; scope: string; statedTotal?: number | null; step: "listing"; withdrawalScopes: string[]; }
complete
Section titled “complete”complete:
boolean
Whether the listing is complete: only then may a withdrawal follow.
keys:
string[]
The distinct source keys the runs read as served, sorted.
reason?
Section titled “reason?”
optionalreason?:string|null
Why it is not.
scope:
string
The listing’s scope.
statedTotal?
Section titled “statedTotal?”
optionalstatedTotal?:number|null
The total the provider stated.
step:
"listing"
step.
withdrawalScopes
Section titled “withdrawalScopes”withdrawalScopes:
string[]
The scopes the withdrawal reconciles; empty when nothing may be withdrawn.
Type Literal
Section titled “Type Literal”{ candidates: number; step: "withdrawal"; withdrawn: string[]; }
candidates
Section titled “candidates”candidates:
number
How many candidates of the listing’s scopes were read.
step:
"withdrawal"
step.
withdrawn
Section titled “withdrawn”withdrawn:
string[]
The contributions withdrawn, sorted.
Remarks
Section titled “Remarks”SDK schema keys are camelCase; native wire keys are snake_case.