# Conflicts: # modules/mesh-delivery-indexer/cmd/mesh-delivery-indexer-tools/main.go # modules/mesh-delivery-indexer/cmd/mesh-delivery-indexer/integration_test.go # modules/mesh-delivery-indexer/cmd/mesh-delivery-indexer/main.go # modules/mesh-delivery-indexer/internal/index/pending.go # modules/mesh-delivery-indexer/internal/index/pending_test.go # modules/mesh-delivery-indexer/manifest_test.go
1215 lines
44 KiB
TypeScript
1215 lines
44 KiB
TypeScript
// Code generated by seatgen from the seat definitions; DO NOT EDIT.
|
|
|
|
// The contract of the seat "mesh-catalog", defined whole (seats/mesh-catalog/seat.json): The catalog of the mesh: every module the trunk holds with its manifest, fingerprint and verdict, the packages published, and the seat list (ADR 0636 §1, §4).
|
|
|
|
export declare const seat: "mesh-catalog";
|
|
|
|
export declare const verbs: {
|
|
readonly modules: "modules";
|
|
readonly module: "module";
|
|
readonly provides: "provides";
|
|
readonly dependents: "dependents";
|
|
readonly seatDefinitions: "seat-definitions";
|
|
readonly revision: "revision";
|
|
readonly registrations: "registrations";
|
|
readonly register: "register";
|
|
readonly policy: "policy";
|
|
readonly watch: "watch";
|
|
readonly unwatch: "unwatch";
|
|
readonly versions: "versions";
|
|
readonly outdated: "outdated";
|
|
readonly input: "input";
|
|
readonly entry: "entry";
|
|
};
|
|
|
|
export declare const events: {
|
|
readonly seatDefinitionChanged: "seat-definition-changed";
|
|
readonly seatDefinitionRemoved: "seat-definition-removed";
|
|
readonly manifestAccepted: "manifest-accepted";
|
|
readonly manifestRefused: "manifest-refused";
|
|
readonly catalogRevision: "catalog-revision";
|
|
readonly filling: "filling";
|
|
readonly full: "full";
|
|
readonly room: "room";
|
|
readonly registrationChanged: "registration-changed";
|
|
readonly versionReleased: "version-released";
|
|
readonly versionsFilled: "versions-filled";
|
|
};
|
|
|
|
export declare const family: { readonly name: "mesh-catalog.events"; readonly maxAgeDays: 7 };
|
|
|
|
export declare const seatDefinitionChangedSubject: "mesh.seat.mesh-catalog.event.seat-definition-changed";
|
|
|
|
export declare const seatDefinitionRemovedSubject: "mesh.seat.mesh-catalog.event.seat-definition-removed";
|
|
|
|
export declare const manifestAcceptedSubject: "mesh.seat.mesh-catalog.event.manifest-accepted";
|
|
|
|
export declare const manifestRefusedSubject: "mesh.seat.mesh-catalog.event.manifest-refused";
|
|
|
|
export declare function catalogRevisionSubject(branch: string): string;
|
|
|
|
export declare const catalogRevisionSubjectAll: "mesh.seat.mesh-catalog.event.catalog-revision.*";
|
|
|
|
export declare const fillingSubject: "mesh.seat.mesh-catalog.event.filling";
|
|
|
|
export declare const fullSubject: "mesh.seat.mesh-catalog.event.full";
|
|
|
|
export declare const roomSubject: "mesh.seat.mesh-catalog.event.room";
|
|
|
|
export declare const registrationChangedStream: "SEAT_mesh-catalog_registration-changed";
|
|
|
|
export declare const registrationChangedSubject: "mesh.seat.mesh-catalog.event.registration-changed";
|
|
|
|
export declare const versionReleasedStream: "SEAT_mesh-catalog_version-released";
|
|
|
|
export declare const versionReleasedSubject: "mesh.seat.mesh-catalog.event.version-released";
|
|
|
|
export declare const versionsFilledStream: "SEAT_mesh-catalog_versions-filled";
|
|
|
|
export declare const versionsFilledSubject: "mesh.seat.mesh-catalog.event.versions-filled";
|
|
|
|
export declare const states: {
|
|
readonly manifests: "manifests";
|
|
readonly modules: "modules";
|
|
readonly candidates: "candidates";
|
|
readonly verdicts: "verdicts";
|
|
readonly predefined: "predefined";
|
|
readonly configCandidates: "config-candidates";
|
|
readonly packages: "packages";
|
|
readonly catalogRevisions: "catalog-revisions";
|
|
readonly registrations: "registrations";
|
|
readonly registrationHistory: "registration-history";
|
|
readonly versions: "versions";
|
|
readonly buildEdges: "build-edges";
|
|
readonly inputs: "inputs";
|
|
};
|
|
|
|
/** The key of one value of the state manifests under the form "<digest>". */
|
|
export declare function manifestsByDigestKey(digest: string): string;
|
|
|
|
/** The parts of a key of the form "<digest>", or undefined for a key of another form. */
|
|
export declare function parseManifestsByDigestKey(_key: string): { digest: string } | undefined;
|
|
|
|
/** The key of one value of the state modules under the form "<module>". */
|
|
export declare function modulesByModuleKey(module: string): string;
|
|
|
|
/** The parts of a key of the form "<module>", or undefined for a key of another form. */
|
|
export declare function parseModulesByModuleKey(_key: string): { module: string } | undefined;
|
|
|
|
/** The key of one value of the state candidates under the form "<group>". */
|
|
export declare function candidatesByGroupKey(group: string): string;
|
|
|
|
/** The parts of a key of the form "<group>", or undefined for a key of another form. */
|
|
export declare function parseCandidatesByGroupKey(_key: string): { group: string } | undefined;
|
|
|
|
/** The key of one value of the state verdicts under the form "<digest>". */
|
|
export declare function verdictsByDigestKey(digest: string): string;
|
|
|
|
/** The parts of a key of the form "<digest>", or undefined for a key of another form. */
|
|
export declare function parseVerdictsByDigestKey(_key: string): { digest: string } | undefined;
|
|
|
|
/** The key of one value of the state predefined under the form "list". */
|
|
export declare function predefinedByListKey(): string;
|
|
|
|
/** The parts of a key of the form "list", or undefined for a key of another form. */
|
|
export declare function parsePredefinedByListKey(_key: string): { } | undefined;
|
|
|
|
/** The key of one value of the state config-candidates under the form "<pull>". */
|
|
export declare function configCandidatesByPullKey(pull: string): string;
|
|
|
|
/** The parts of a key of the form "<pull>", or undefined for a key of another form. */
|
|
export declare function parseConfigCandidatesByPullKey(_key: string): { pull: string } | undefined;
|
|
|
|
/** The key of one value of the state packages under the form "<module>". */
|
|
export declare function packagesByModuleKey(module: string): string;
|
|
|
|
/** The parts of a key of the form "<module>", or undefined for a key of another form. */
|
|
export declare function parsePackagesByModuleKey(_key: string): { module: string } | undefined;
|
|
|
|
/** The key of one value of the state packages under the form "<package>.<series>". */
|
|
export declare function packagesByPackageSeriesKey(packagePart: string, series: string): string;
|
|
|
|
/** The parts of a key of the form "<package>.<series>", or undefined for a key of another form. */
|
|
export declare function parsePackagesByPackageSeriesKey(_key: string): { packagePart: string; series: string } | undefined;
|
|
|
|
/** The key of one value of the state catalog-revisions under the form "<branch>.<revision>". */
|
|
export declare function catalogRevisionsByBranchRevisionKey(branch: string, revision: string): string;
|
|
|
|
/** The parts of a key of the form "<branch>.<revision>", or undefined for a key of another form. */
|
|
export declare function parseCatalogRevisionsByBranchRevisionKey(_key: string): { branch: string; revision: string } | undefined;
|
|
|
|
/** The key of one value of the state catalog-revisions under the form "candidate.<group>.<heads>". */
|
|
export declare function catalogRevisionsByCandidateGroupHeadsKey(group: string, heads: string): string;
|
|
|
|
/** The parts of a key of the form "candidate.<group>.<heads>", or undefined for a key of another form. */
|
|
export declare function parseCatalogRevisionsByCandidateGroupHeadsKey(_key: string): { group: string; heads: string } | undefined;
|
|
|
|
/** The key of one value of the state catalog-revisions under the form "entry.<digest>". */
|
|
export declare function catalogRevisionsByEntryDigestKey(digest: string): string;
|
|
|
|
/** The parts of a key of the form "entry.<digest>", or undefined for a key of another form. */
|
|
export declare function parseCatalogRevisionsByEntryDigestKey(_key: string): { digest: string } | undefined;
|
|
|
|
/** The key of one value of the state registrations under the form "<module>". */
|
|
export declare function registrationsByModuleKey(module: string): string;
|
|
|
|
/** The parts of a key of the form "<module>", or undefined for a key of another form. */
|
|
export declare function parseRegistrationsByModuleKey(_key: string): { module: string } | undefined;
|
|
|
|
/** The key of one value of the state registration-history under the form "<module>.<version>". */
|
|
export declare function registrationHistoryByModuleVersionKey(module: string, version: string): string;
|
|
|
|
/** The parts of a key of the form "<module>.<version>", or undefined for a key of another form. */
|
|
export declare function parseRegistrationHistoryByModuleVersionKey(_key: string): { module: string; version: string } | undefined;
|
|
|
|
/** The key of one value of the state versions under the form "<module>.<version>". */
|
|
export declare function versionsByModuleVersionKey(module: string, version: string): string;
|
|
|
|
/** The parts of a key of the form "<module>.<version>", or undefined for a key of another form. */
|
|
export declare function parseVersionsByModuleVersionKey(_key: string): { module: string; version: string } | undefined;
|
|
|
|
/** The key of one value of the state build-edges under the form "<module>.<branch>". */
|
|
export declare function buildEdgesByModuleBranchKey(module: string, branch: string): string;
|
|
|
|
/** The parts of a key of the form "<module>.<branch>", or undefined for a key of another form. */
|
|
export declare function parseBuildEdgesByModuleBranchKey(_key: string): { module: string; branch: string } | undefined;
|
|
|
|
/** The key of one value of the state inputs under the form "<time>.<digest>". */
|
|
export declare function inputsByTimeDigestKey(time: string, digest: string): string;
|
|
|
|
/** The parts of a key of the form "<time>.<digest>", or undefined for a key of another form. */
|
|
export declare function parseInputsByTimeDigestKey(_key: string): { time: string; digest: string } | undefined;
|
|
|
|
/** a rule a seat the module claims declares in its acts: the step the module acts in, on which entries, and how long a new version of it may take before it acts (design 47, An acting part's new version acts first) */
|
|
export interface ActingRule {
|
|
/** a duration such as 30m */
|
|
"bound"?: string;
|
|
/** which entries it acts on: every, or a language */
|
|
"on"?: string;
|
|
"seat": string;
|
|
/** take-in, validate, check, build, compose, grant or place */
|
|
"step": string;
|
|
}
|
|
|
|
/** the package's name read from the revision's own files at the artifact's path (the module of its go.mod, the name of its package.json, the manifest's image name), written at take-in (design 47 G section 676) */
|
|
export interface ArtifactPackage {
|
|
/** go, npm or image */
|
|
"ecosystem": string;
|
|
"name": string;
|
|
}
|
|
|
|
/** one artifact of a module in the catalog graph entry */
|
|
export interface Artifact {
|
|
/** the artifact's kind */
|
|
"kind"?: string;
|
|
/** the artifact's language as its manifest says it (go, typescript, ...); a step's build seat is read from it (design 47 G section 323) */
|
|
"language": string;
|
|
/** the package's name read from the revision's own files at the artifact's path (the module of its go.mod, the name of its package.json, the manifest's image name), written at take-in (design 47 G section 676) */
|
|
"package"?: ArtifactPackage;
|
|
"ref": ArtifactRef;
|
|
}
|
|
|
|
/** an artifact reference, <module>:<artifact>, such as mesh-grants:program (design 47 *Dependencies between artifacts*) */
|
|
export type ArtifactRef = string;
|
|
|
|
/** the build edge of one language: the build module that builds the module, and the toolchain and recipe version its fingerprint names (ADR 0603 §2) */
|
|
export interface BuildEdge {
|
|
/** the build module */
|
|
"module"?: string;
|
|
/** the build module's recipe version */
|
|
"recipe": string;
|
|
/** the installed toolchain's version */
|
|
"version": string;
|
|
}
|
|
|
|
/** the newest build's edge entries of a module on a watched branch other than the first, keyed by its fingerprint, which releases no version (design 47 G section 374) */
|
|
export interface BuildEdges {
|
|
"edges": VersionEdge[];
|
|
/** the build's fingerprint */
|
|
"fp": string;
|
|
"source"?: number;
|
|
"v": number;
|
|
}
|
|
|
|
/** one module of a catalog graph revision as its manifest declares it, stored once by its digest (ADR 0656, design 47 Two graphs) */
|
|
export interface CatalogEntry {
|
|
/** the acting rules of the seats it claims */
|
|
"acts"?: ActingRule[];
|
|
/** the module's artifacts by reference, each with its language and kind (design 47 G section 47, section 323) */
|
|
"artifacts"?: Artifact[];
|
|
/** the provisions it requires that no module offers yet */
|
|
"awaits"?: string[];
|
|
/** the images and modules it is built on */
|
|
"bases"?: string[];
|
|
/** the merge commit it was last changed at */
|
|
"commit": string;
|
|
/** the edges into this module's artifacts, each from the artifact that comes first; the build and the delivery order by these alone */
|
|
"edges"?: Edge[];
|
|
/** its fingerprint (src2: and 64 hex digits); absent when it has none */
|
|
"fp"?: string;
|
|
"inputs"?: EntryInputs;
|
|
/** each a seat verb or a module tool it calls */
|
|
"invokes"?: string[];
|
|
/** its verb edges left out because they lie on a cycle (ADR 0614 §3) */
|
|
"left-out"?: string[];
|
|
/** the Go main package the check's first tier builds when this module acts: the from of the Go artifact its process runs, as its manifest names it beside path; absent when it runs no Go program (design 47, The check on the change's own acting parts) */
|
|
"main"?: string;
|
|
/** the validated manifest whole, kept as an object by the entry's digest, so no size limit applies; read by anyone but the indexer through the entry, never as a manifest (design 47 G section 443, section 442) */
|
|
"manifest": Record<string, unknown>;
|
|
/** the sha256: digest of the manifest's bytes as the forge answered them, set by the indexer at take-in and never computed again from the manifest whole; the module's value and the manifests key are this digest (design 47 G section 506) */
|
|
"manifest-digest"?: string;
|
|
"module": string;
|
|
/** the manifest reads a node-engine must state to compose it, its templates' forms included, as the forge bridge read them at the merge (ADR 0614 §4, ADR 0632 §2) */
|
|
"needs"?: string[];
|
|
/** why it has none */
|
|
"none"?: string;
|
|
/** the mesh packages it builds against, by name, each with the version it builds against (design 47: its packages) */
|
|
"packages"?: Record<string, string>;
|
|
/** the module's directory in its repository, '.' for a root */
|
|
"path"?: string;
|
|
"provides"?: string[];
|
|
"repository": string;
|
|
"requires"?: string[];
|
|
/** each seat it claims and the verbs it serves of it, as seat.verb */
|
|
"serves"?: string[];
|
|
/** the events the manifest declares in its streams, by key (design 47 G section 365) */
|
|
"streams"?: string[];
|
|
/** its build edges, by language (ADR 0603 §2) */
|
|
"toolchains"?: Record<string, BuildEdge>;
|
|
/** the layout version */
|
|
"v"?: number;
|
|
/** its manifest's verdict: accepted, refused or held */
|
|
"verdict"?: string;
|
|
}
|
|
|
|
export interface CatalogRevisionDefinitionsItem {
|
|
"digest": string;
|
|
"seat": string;
|
|
}
|
|
|
|
/** a catalog graph revision: the list of its entries' digests, with what it was read from */
|
|
export interface CatalogRevision {
|
|
/** when (RFC 3339 time) */
|
|
"at"?: string;
|
|
/** the watched branch the revision is of */
|
|
"branch"?: string;
|
|
/** the seat definitions it was judged with, each by its digest, read whole through seat-definitions */
|
|
"definitions"?: CatalogRevisionDefinitionsItem[];
|
|
/** one per module, by name */
|
|
"entries": EntryRef[];
|
|
/** a candidate's group */
|
|
"group"?: string;
|
|
/** a candidate's heads */
|
|
"heads"?: string;
|
|
/** trunk or candidate */
|
|
"kind": string;
|
|
/** the catalog graph revision's number, counted by its holder */
|
|
"revision": number;
|
|
/** the source revision it was taken in from; for a candidate, the source revision its heads are merged onto */
|
|
"source": number;
|
|
/** the trunk head of every repository it was read at */
|
|
"trunk"?: Head[];
|
|
/** the layout version */
|
|
"v"?: number;
|
|
}
|
|
|
|
/** one edge of the catalog graph between artifact references, B before A (ADR 0666 section 14): kind 1 B published before A builds (a package A imports), 2 B published before A delivers (fetched by reference at its start), 3 B delivered before A builds (its build module and toolchain), 4 B delivered before A delivers (a provision, bus state, a format's reader), 5 B has acted for A's new version (an acting rule), 6 B runs a version that serves A (a verb or a manifest word A uses) */
|
|
export interface Edge {
|
|
/** declared in the artifact entry's needs of A's manifest, where nothing else says it */
|
|
"declared"?: boolean;
|
|
/** B, the artifact that comes first */
|
|
"from": ArtifactRef;
|
|
"kind": number;
|
|
/** the part pointed to */
|
|
"part"?: ArtifactRef;
|
|
/** the edge makes the dependent stale (kinds 1, 3) or only orders it (kinds 2, 4, 5, 6) (design 47 G section 378) */
|
|
"stale"?: boolean;
|
|
/** A, the artifact that waits for it */
|
|
"to": ArtifactRef;
|
|
/** what it was derived from: the package, the provision, the verb or the rule */
|
|
"why"?: string;
|
|
/** the manifest word the edge came from */
|
|
"word"?: string;
|
|
}
|
|
|
|
/** what the indexer computes its next revision from (the lead's ruling on milestone 47/G finding 1): what its fingerprint is computed from, the toolchains it was computed with, its manifest's problems and warnings, its artifacts' named paths and the source revisions it was taken in and its fingerprint moved at */
|
|
export interface EntryInputs {
|
|
/** the source revision its fingerprint moved at */
|
|
"fp-src"?: number;
|
|
"from"?: FingerprintInputs;
|
|
/** by artifact: the named paths it is built from */
|
|
"paths"?: Record<string, string[]>;
|
|
/** its manifest's problems, when refused or held */
|
|
"problems"?: string[];
|
|
/** the source revision it was taken in at; 0 before the indexer heard it */
|
|
"src"?: number;
|
|
/** by language: the toolchain its fingerprint was computed with */
|
|
"toolchains"?: Record<string, ToolchainUsed>;
|
|
/** the manifest fields the judge does not know, when held */
|
|
"unknown"?: string[];
|
|
"warnings"?: string[];
|
|
}
|
|
|
|
export interface EntryRef {
|
|
/** the entry's digest, its object's name */
|
|
"digest": string;
|
|
"module": string;
|
|
}
|
|
|
|
/** a store's fill against its cap */
|
|
export interface Fill {
|
|
"at"?: string;
|
|
"bytes": number;
|
|
/** bytes */
|
|
"cap": number;
|
|
/** what full refuses, such as the next revision and the pending merge it would take in */
|
|
"refused"?: string;
|
|
/** the kept data, by its name in the holder's manifest */
|
|
"store": string;
|
|
}
|
|
|
|
/** what its fingerprint is computed from: its tree, bases, builder, build contexts, lock files, named paths' objects, the mesh packages and imports it builds against */
|
|
export interface FingerprintInputs {
|
|
"bases"?: string[];
|
|
"builder"?: string;
|
|
"contexts"?: Record<string, string>;
|
|
"import-form"?: string;
|
|
"imports"?: string[];
|
|
"locks"?: Record<string, string>;
|
|
"packages"?: string[];
|
|
"paths"?: Record<string, string>;
|
|
"tree": string;
|
|
}
|
|
|
|
export interface Head {
|
|
"commit": string;
|
|
"repository": string;
|
|
}
|
|
|
|
export interface OutdatedDependency {
|
|
"artifact": ArtifactRef;
|
|
/** the dependency's watched branch */
|
|
"branch": string;
|
|
/** the dependency's source revision */
|
|
"source": number;
|
|
}
|
|
|
|
/** one entry behind, by the part's digest (design 47 G section 375) */
|
|
export interface Outdated {
|
|
/** the act: a rebuild for a stale edge (kinds 1, 3), none for an ordering edge, which is shown only */
|
|
"act"?: string;
|
|
/** its build's fingerprint, for a build of another branch */
|
|
"build"?: string;
|
|
"dependency": OutdatedDependency;
|
|
"kind": number;
|
|
/** the dependent module */
|
|
"module": string;
|
|
/** what is newest: version and digest, or the fact */
|
|
"newest": string;
|
|
/** what the dependent recorded: version and digest, or the fact */
|
|
"recorded": string;
|
|
/** its version, or empty for a build of another branch */
|
|
"version"?: string;
|
|
}
|
|
|
|
/** a module's policy: its steps' statuses, and per artifact what differs (ADR 0666 section 7) */
|
|
export interface Policy {
|
|
/** by artifact name, the statuses that differ from the module's */
|
|
"artifacts"?: Record<string, StepStatuses>;
|
|
"steps": StepStatuses;
|
|
}
|
|
|
|
/** a module's registration (ADR 0666 section 2; design 47 *A module's registration*): its git origin, its manifest's path, its watched branches and its policy, every version with who changed it and the warrant of the operator's Approve */
|
|
export interface Registration {
|
|
"at"?: string;
|
|
/** its watched branches, the first the default a placement runs */
|
|
"branches": string[];
|
|
/** who asked the change */
|
|
"by"?: string;
|
|
"module": string;
|
|
/** its git origin, the repository as <owner>/<name> */
|
|
"origin": string;
|
|
/** the path of its manifest in the repository */
|
|
"path": string;
|
|
"policy": Policy;
|
|
/** the layout version */
|
|
"v"?: number;
|
|
/** this registration's version, counted from 1 */
|
|
"version"?: number;
|
|
/** the operator's Approve the version was written on: the ask's id */
|
|
"warrant"?: string;
|
|
}
|
|
|
|
/** what a registration change asked: the authorising ask raised through the seat operator-channel, naming every value it moves, one line each; nothing is written before its warrant (ADR 0666 section 2) */
|
|
export interface RegistrationAsked {
|
|
/** the ask's id */
|
|
"ask"?: string;
|
|
/** every value the change moves, as the ask names it ("nats:program unit: required -> bypass") */
|
|
"lines"?: string[];
|
|
"module": string;
|
|
/** why no ask was raised */
|
|
"refused"?: "unprotected branch" | "reserved branch name" | "placed" | "review required" | "unknown module" | "nothing moves";
|
|
/** the refusal in words, naming the branch, the step or the module */
|
|
"words"?: string;
|
|
}
|
|
|
|
/** the status of each pipeline step (design 47 *Pipeline steps and the policy*); a step left out keeps the module's */
|
|
export interface StepStatuses {
|
|
/** required runs and holds the delivery until it passes; optional runs, a failure is shown and may be accepted; bypass runs nothing and is said as bypassed */
|
|
"approval"?: "required" | "optional" | "bypass";
|
|
/** required runs and holds the delivery until it passes; optional runs, a failure is shown and may be accepted; bypass runs nothing and is said as bypassed */
|
|
"composition"?: "required" | "optional" | "bypass";
|
|
/** required runs and holds the delivery until it passes; optional runs, a failure is shown and may be accepted; bypass runs nothing and is said as bypassed */
|
|
"integration"?: "required" | "optional" | "bypass";
|
|
/** required runs and holds the delivery until it passes; optional runs, a failure is shown and may be accepted; bypass runs nothing and is said as bypassed */
|
|
"lint"?: "required" | "optional" | "bypass";
|
|
/** required runs and holds the delivery until it passes; optional runs, a failure is shown and may be accepted; bypass runs nothing and is said as bypassed */
|
|
"review"?: "required" | "optional" | "bypass";
|
|
/** required runs and holds the delivery until it passes; optional runs, a failure is shown and may be accepted; bypass runs nothing and is said as bypassed */
|
|
"unit"?: "required" | "optional" | "bypass";
|
|
}
|
|
|
|
/** a toolchain a fingerprint was computed with (ADR 0405 clause 7) */
|
|
export interface ToolchainUsed {
|
|
"language": string;
|
|
/** the build module's recipe version */
|
|
"recipe": string;
|
|
/** the installed toolchain's version */
|
|
"version": string;
|
|
}
|
|
|
|
export interface VersionArtifact {
|
|
"artifact": ArtifactRef;
|
|
/** the published artifact's digest */
|
|
"digest": string;
|
|
}
|
|
|
|
/** one catalog-graph edge of a released version's artifacts, as the release recorded it (design 47 G section 374) */
|
|
export interface VersionEdge {
|
|
/** the digest of the part pointed to, kinds 1-4 */
|
|
"digest"?: string;
|
|
/** kinds 5 and 6: the acting part, its step and the build that acted, or the verb or word used and the delivered version that serves it */
|
|
"fact"?: string;
|
|
/** the entry was derived at the first fill (design 47 G section 377), not recorded at a release or a delivery */
|
|
"filled"?: boolean;
|
|
"kind": number;
|
|
"part": ArtifactRef;
|
|
/** the edge makes the dependent stale (kinds 1, 3) or only orders it (kinds 2, 4, 5, 6) (section 378) */
|
|
"stale": boolean;
|
|
/** the dependency's version, kinds 1-4; "not yet delivered" until the first delivery for 2, 4 and 6 */
|
|
"version"?: string;
|
|
/** the manifest word the edge came from */
|
|
"word"?: string;
|
|
}
|
|
|
|
/** one released version of a module: each artifact's digest, the source revision built and its edge entries (design 47 G section 349, section 374) */
|
|
export interface VersionEntry {
|
|
"artifacts": VersionArtifact[];
|
|
"at"?: string;
|
|
"edges"?: VersionEdge[];
|
|
/** released late: lower than the module's highest, recorded and not said */
|
|
"late"?: boolean;
|
|
/** the module */
|
|
"module": string;
|
|
/** the source revision built */
|
|
"source"?: number;
|
|
"v": number;
|
|
/** MAJOR.MINOR.PATCH */
|
|
"version": string;
|
|
}
|
|
|
|
/** one module of a taken-in revision (design 47 G section 476, section 648) */
|
|
export interface TakeInEntry {
|
|
"commit": string;
|
|
/** the module's build-input fingerprint at the commit */
|
|
"fingerprint": string;
|
|
"module": string;
|
|
/** from a merged message; absent for a pushed one (design 47 G section 648) */
|
|
"pull"?: number;
|
|
/** from a merged message; absent for a pushed one (design 47 G section 648) */
|
|
"repository"?: string;
|
|
}
|
|
|
|
/** one pull request at one commit */
|
|
export interface TakeInMember {
|
|
"head": string;
|
|
"number": number;
|
|
"repository": string;
|
|
}
|
|
|
|
/** one merge a take-in event holds: the repository, its pull request and the merge commit the forge made of it */
|
|
export interface TakeInMerge {
|
|
"merge": string;
|
|
"number": number;
|
|
"repository": string;
|
|
}
|
|
|
|
/** the body of the indexer's take-in.pending: a wait for a revision or a group, with the watched branch (design 47 G section 493) */
|
|
export interface TakeInPending {
|
|
/** the watched branch the revision is of (design 47 G section 476, section 493) */
|
|
"branch"?: string;
|
|
/** who acted by hand, on a taken event */
|
|
"by"?: string;
|
|
/** a hand drop: the merges are not taken in */
|
|
"dropped"?: boolean;
|
|
/** the delivery group, for a group being gathered */
|
|
"group"?: string;
|
|
/** the wait's key: m.<sequence> of its oldest merge, or g.<group> for a group being gathered */
|
|
"key": string;
|
|
/** the event's kind, pending or taken */
|
|
"kind": string;
|
|
/** the keys of merges whose message the forge bridge's stream no longer holds */
|
|
"lost"?: string[];
|
|
/** every approved member of a group with its head */
|
|
"members"?: TakeInMember[];
|
|
/** the merges it holds, oldest first */
|
|
"merges": TakeInMerge[];
|
|
/** why the indexer holds a merge it does not take in although no indexer build is named */
|
|
"own-build-unknown"?: string;
|
|
/** why the manifest of the indexer the revision names was refused */
|
|
"refused"?: string;
|
|
/** when the wait began */
|
|
"since": string;
|
|
/** the layout version */
|
|
"v": number;
|
|
/** the indexer build a revision waits for */
|
|
"waits-for"?: string;
|
|
/** what waits: a revision or a group */
|
|
"what": string;
|
|
/** why they acted by hand, on a taken event */
|
|
"why"?: string;
|
|
}
|
|
|
|
/** the body of the indexer's take-in.taken: a wait ended, with the branch, the source revision and the entries (design 47 G section 476, section 493) */
|
|
export interface TakeInTaken {
|
|
/** the watched branch the revision is of (design 47 G section 476, section 493) */
|
|
"branch"?: string;
|
|
/** who acted by hand, on a taken event */
|
|
"by"?: string;
|
|
/** a hand drop: the merges are not taken in */
|
|
"dropped"?: boolean;
|
|
/** one entry per module of that revision; none for a hand drop (design 47 G section 476, section 493) */
|
|
"entries"?: TakeInEntry[];
|
|
/** the delivery group, for a group being gathered */
|
|
"group"?: string;
|
|
/** the wait's key: m.<sequence> of its oldest merge, or g.<group> for a group being gathered */
|
|
"key": string;
|
|
/** the event's kind, pending or taken */
|
|
"kind": string;
|
|
/** the keys of merges whose message the forge bridge's stream no longer holds */
|
|
"lost"?: string[];
|
|
/** every approved member of a group with its head */
|
|
"members"?: TakeInMember[];
|
|
/** the merges it holds, oldest first */
|
|
"merges": TakeInMerge[];
|
|
/** why the indexer holds a merge it does not take in although no indexer build is named */
|
|
"own-build-unknown"?: string;
|
|
/** why the manifest of the indexer the revision names was refused */
|
|
"refused"?: string;
|
|
/** when the wait began */
|
|
"since": string;
|
|
/** the source revision taken in (design 47 G section 476) */
|
|
"source"?: number;
|
|
/** the layout version */
|
|
"v": number;
|
|
/** the indexer build a revision waits for */
|
|
"waits-for"?: string;
|
|
/** what waits: a revision or a group */
|
|
"what": string;
|
|
/** why they acted by hand, on a taken event */
|
|
"why"?: string;
|
|
}
|
|
|
|
/** is what modules takes. */
|
|
export interface ModulesInput {
|
|
}
|
|
|
|
export interface ModulesAnswerModulesItem {
|
|
/** the merge commit it was last changed at */
|
|
"commit": string;
|
|
/** its fingerprint (src2: and 64 hex digits); absent when it has none */
|
|
"fp"?: string;
|
|
"module": string;
|
|
/** why it has none */
|
|
"none"?: string;
|
|
/** the module's directory in its repository, '.' for a root */
|
|
"path"?: string;
|
|
"repository": string;
|
|
}
|
|
|
|
/** is what modules answers. */
|
|
export interface ModulesAnswer {
|
|
"modules": ModulesAnswerModulesItem[];
|
|
}
|
|
|
|
/** is what module takes. */
|
|
export interface ModuleInput {
|
|
/** the module's name */
|
|
"module": string;
|
|
}
|
|
|
|
export interface ModuleAnswerModule {
|
|
/** the merge commit it was last changed at */
|
|
"commit": string;
|
|
/** its fingerprint (src2: and 64 hex digits); absent when it has none */
|
|
"fp"?: string;
|
|
/** the module's manifest as the trunk holds it */
|
|
"manifest"?: Record<string, unknown>;
|
|
"module": string;
|
|
/** why it has none */
|
|
"none"?: string;
|
|
/** the module's directory in its repository, '.' for a root */
|
|
"path"?: string;
|
|
"repository": string;
|
|
}
|
|
|
|
/** is what module answers. */
|
|
export interface ModuleAnswer {
|
|
"module": ModuleAnswerModule;
|
|
}
|
|
|
|
/** is what provides takes. */
|
|
export interface ProvidesInput {
|
|
/** the provision, such as postgres-database */
|
|
"provision": string;
|
|
}
|
|
|
|
/** is what provides answers. */
|
|
export type ProvidesAnswer = Record<string, unknown>;
|
|
|
|
/** is what dependents takes. */
|
|
export interface DependentsInput {
|
|
/** the module's name */
|
|
"module": string;
|
|
}
|
|
|
|
/** is what dependents answers. */
|
|
export type DependentsAnswer = Record<string, unknown>;
|
|
|
|
/** is what seat-definitions takes. */
|
|
export interface SeatDefinitionsInput {
|
|
/** the seat's name; none lists every trunk seat */
|
|
"seat"?: string;
|
|
}
|
|
|
|
export interface SeatDefinitionsAnswerEntry {
|
|
/** the definition, resolved with the parts it includes */
|
|
"definition"?: Record<string, unknown>;
|
|
"digest": string;
|
|
"seat": string;
|
|
/** trunk */
|
|
"source": string;
|
|
/** why the definition could not be read, when it could not */
|
|
"unparsed"?: string;
|
|
}
|
|
|
|
export interface SeatDefinitionsAnswerSeatsItem {
|
|
"digest": string;
|
|
"seat": string;
|
|
/** trunk */
|
|
"source": string;
|
|
}
|
|
|
|
/** is what seat-definitions answers. */
|
|
export interface SeatDefinitionsAnswer {
|
|
"entry"?: SeatDefinitionsAnswerEntry;
|
|
"found"?: boolean;
|
|
"revision"?: number;
|
|
"seat"?: string;
|
|
"seats"?: SeatDefinitionsAnswerSeatsItem[];
|
|
}
|
|
|
|
/** is what revision takes. */
|
|
export interface RevisionInput {
|
|
/** the last module of the page before; absent: the first page */
|
|
"after"?: string;
|
|
/** the watched branch whose series is read, escaped as a key name is; absent: the branch the reader's placement names (design 47 *Watched branches and the catalog graph per branch*) */
|
|
"branch"?: string;
|
|
/** a candidate's group */
|
|
"group"?: string;
|
|
/** a candidate's heads */
|
|
"heads"?: string;
|
|
/** a kept revision; absent: the newest of trunk, or of the candidate named */
|
|
"revision"?: number;
|
|
}
|
|
|
|
/** is what revision answers. */
|
|
export interface RevisionAnswer {
|
|
/** this page's entries whole, by module name */
|
|
"entries"?: CatalogEntry[];
|
|
/** the module to ask after for the next page; absent on the last */
|
|
"next"?: string;
|
|
/** true for a watched branch with no revision yet: no revision, no entries and no error follow, and a reader holds the branch's view ready and empty (design 47 G section 530) */
|
|
"none-yet"?: boolean;
|
|
"revision"?: CatalogRevision;
|
|
}
|
|
|
|
/** is what registrations takes. */
|
|
export interface RegistrationsInput {
|
|
/** with every version of the one module */
|
|
"history"?: boolean;
|
|
/** one module; absent, every registration */
|
|
"module"?: string;
|
|
}
|
|
|
|
/** is what registrations answers. */
|
|
export interface RegistrationsAnswer {
|
|
"fill"?: Fill;
|
|
/** every version of the one module asked, oldest first */
|
|
"history"?: Registration[];
|
|
"registrations": Registration[];
|
|
}
|
|
|
|
/** is what register takes. */
|
|
export interface RegisterInput {
|
|
"registration": Registration;
|
|
"why"?: string;
|
|
}
|
|
|
|
/** is what register answers. */
|
|
export type RegisterAnswer = RegistrationAsked;
|
|
|
|
/** is what policy takes. */
|
|
export interface PolicyInput {
|
|
/** one artifact; absent, the module's statuses */
|
|
"artifact"?: string;
|
|
"module": string;
|
|
"steps": StepStatuses;
|
|
"why"?: string;
|
|
}
|
|
|
|
/** is what policy answers. */
|
|
export type PolicyAnswer = RegistrationAsked;
|
|
|
|
/** is what watch takes. */
|
|
export interface WatchInput {
|
|
"branch": string;
|
|
"module": string;
|
|
"why"?: string;
|
|
}
|
|
|
|
/** is what watch answers. */
|
|
export type WatchAnswer = RegistrationAsked;
|
|
|
|
/** is what unwatch takes. */
|
|
export interface UnwatchInput {
|
|
"branch": string;
|
|
"module": string;
|
|
"why"?: string;
|
|
}
|
|
|
|
/** is what unwatch answers. */
|
|
export type UnwatchAnswer = RegistrationAsked;
|
|
|
|
/** is what versions takes. */
|
|
export interface VersionsInput {
|
|
/** the module */
|
|
"module": string;
|
|
}
|
|
|
|
/** is what versions answers. */
|
|
export interface VersionsAnswer {
|
|
/** the module */
|
|
"module": string;
|
|
"versions": VersionEntry[];
|
|
}
|
|
|
|
/** is what outdated takes. */
|
|
export interface OutdatedInput {
|
|
/** a watched branch, to answer for it alone */
|
|
"branch"?: string;
|
|
/** one dependency, to answer for it alone */
|
|
"dependency"?: ArtifactRef;
|
|
}
|
|
|
|
/** is what outdated answers. */
|
|
export interface OutdatedAnswer {
|
|
"behind": Outdated[];
|
|
}
|
|
|
|
/** is what input takes. */
|
|
export interface InputInput {
|
|
/** the input's sha256 */
|
|
"digest": string;
|
|
}
|
|
|
|
/** is what input answers. */
|
|
export interface InputAnswer {
|
|
/** the input's sha256 */
|
|
"digest": string;
|
|
/** the input's exact bytes, base64 */
|
|
"input": string;
|
|
}
|
|
|
|
/** is what entry takes. */
|
|
export interface EntryInput {
|
|
/** the entry's fingerprint */
|
|
"fingerprint": string;
|
|
}
|
|
|
|
/** is what entry answers. */
|
|
export interface EntryAnswer {
|
|
"entry": CatalogEntry;
|
|
}
|
|
|
|
/** is the body of the event seat-definition-changed. */
|
|
export interface SeatDefinitionChangedEvent {
|
|
"digest": string;
|
|
"seat": string;
|
|
/** trunk */
|
|
"source": string;
|
|
}
|
|
|
|
/** is the body of the event seat-definition-removed. */
|
|
export interface SeatDefinitionRemovedEvent {
|
|
"seat": string;
|
|
}
|
|
|
|
export interface ManifestAcceptedEventBusStateItem {
|
|
"configuration"?: Record<string, unknown>;
|
|
"name": string;
|
|
"options"?: Record<string, unknown>;
|
|
"storage": string;
|
|
"template"?: string;
|
|
"types"?: Record<string, unknown>[];
|
|
}
|
|
|
|
/** is the body of the event manifest-accepted. */
|
|
export interface ManifestAcceptedEvent {
|
|
"bus-state": ManifestAcceptedEventBusStateItem[];
|
|
"digest": string;
|
|
"judge": string;
|
|
"module": string;
|
|
/** each problem the indexer's re-judgement finds in a manifest it keeps accepted because its digest is unchanged: the manifest validator's strings, the same items its verdict writes as warnings, in the same order; an empty list when none (design 47 G section 668, 692) */
|
|
"problems": string[];
|
|
/** the indexer's revision of the verdict it says; a reader asks its first view again on a gap in it; zero from an indexer that does not say it */
|
|
"revision"?: number;
|
|
"v": number;
|
|
}
|
|
|
|
/** is the body of the event manifest-refused. */
|
|
export interface ManifestRefusedEvent {
|
|
"digest": string;
|
|
"judge": string;
|
|
"module": string;
|
|
"problems": string[];
|
|
/** the indexer's revision of the verdict it says; a reader asks its first view again on a gap in it; zero from an indexer that does not say it */
|
|
"revision"?: number;
|
|
"v": number;
|
|
}
|
|
|
|
/** is the body of the event catalog-revision. */
|
|
export interface CatalogRevisionEvent {
|
|
"at"?: string;
|
|
/** the watched branch the revision is of, escaped as a key name is */
|
|
"branch"?: string;
|
|
/** the modules whose entries differ from the revision before it of the same kind */
|
|
"changed"?: string[];
|
|
/** how many entries it lists */
|
|
"entries"?: number;
|
|
"group"?: string;
|
|
"heads"?: string;
|
|
/** trunk or candidate: a candidate's moves no running part */
|
|
"kind": string;
|
|
"revision": number;
|
|
"source": number;
|
|
"v": number;
|
|
}
|
|
|
|
/** is the body of the event filling. */
|
|
export type FillingEvent = Fill;
|
|
|
|
/** is the body of the event full. */
|
|
export type FullEvent = Fill;
|
|
|
|
/** is the body of the event room. */
|
|
export type RoomEvent = Fill;
|
|
|
|
/** is the body of the event registration-changed. */
|
|
export interface RegistrationChangedEvent {
|
|
"at"?: string;
|
|
"by"?: string;
|
|
"module": string;
|
|
/** every value it moved, one line each */
|
|
"moved": string[];
|
|
"v"?: number;
|
|
"version": number;
|
|
"warrant": string;
|
|
}
|
|
|
|
/** is the body of the event version-released. */
|
|
export interface VersionReleasedEvent {
|
|
/** each artifact's digest */
|
|
"artifacts": VersionArtifact[];
|
|
"at"?: string;
|
|
/** the module */
|
|
"module": string;
|
|
/** the source revision built */
|
|
"source": number;
|
|
"v": number;
|
|
/** MAJOR.MINOR.PATCH */
|
|
"version": string;
|
|
}
|
|
|
|
/** is the body of the event versions-filled. */
|
|
export interface VersionsFilledEvent {
|
|
"at": string;
|
|
/** how many modules were filled */
|
|
"modules"?: number;
|
|
"v": number;
|
|
}
|
|
|
|
/** is one value of the state manifests under the key <digest>. */
|
|
export interface ManifestsByDigestValue {
|
|
/** the manifest, UTF-8 JSON text */
|
|
"manifest": string;
|
|
"module": string;
|
|
/** the layout version */
|
|
"v"?: number;
|
|
}
|
|
|
|
export interface ModulesByModuleValueInputs2 {
|
|
"bases"?: string[];
|
|
"builder"?: string;
|
|
"contexts"?: Record<string, string>;
|
|
"import-form"?: string;
|
|
"imports"?: string[];
|
|
"locks"?: Record<string, string>;
|
|
"packages"?: string[];
|
|
"paths"?: Record<string, string>;
|
|
"tree": string;
|
|
}
|
|
|
|
/** is one value of the state modules under the key <module>. */
|
|
export interface ModulesByModuleValue {
|
|
"commit": string;
|
|
/** the old-form fingerprint */
|
|
"fp"?: string;
|
|
"fp-src"?: number;
|
|
/** src2: fingerprint */
|
|
"fp2"?: string;
|
|
"inputs2"?: ModulesByModuleValueInputs2;
|
|
/** manifest digest */
|
|
"manifest"?: string;
|
|
"needs"?: string[];
|
|
"none"?: string;
|
|
/** why it has none */
|
|
"none2"?: string;
|
|
"packages"?: Record<string, string>;
|
|
"path"?: string;
|
|
"paths"?: Record<string, string[]>;
|
|
"problems"?: string[];
|
|
"repository": string;
|
|
/** the source revision */
|
|
"src"?: number;
|
|
/** by language: the toolchain FP2 was computed with */
|
|
"toolchains"?: Record<string, ToolchainUsed>;
|
|
"unknown"?: string[];
|
|
/** the layout version */
|
|
"v"?: number;
|
|
"verdict"?: string;
|
|
"warnings"?: string[];
|
|
}
|
|
|
|
export interface CandidatesByGroupValuePullsItemFpsValue {
|
|
"fp2"?: string;
|
|
"manifest"?: string;
|
|
"none2"?: string;
|
|
"packages"?: Record<string, string>;
|
|
"paths"?: Record<string, string>;
|
|
}
|
|
|
|
export interface CandidatesByGroupValuePullsItem {
|
|
"fps"?: Record<string, CandidatesByGroupValuePullsItemFpsValue>;
|
|
"head": string;
|
|
"modules": string[];
|
|
"number": number;
|
|
"repository": string;
|
|
}
|
|
|
|
/** is one value of the state candidates under the key <group>. */
|
|
export interface CandidatesByGroupValue {
|
|
/** the source revision it is read on */
|
|
"base": number;
|
|
"fpset"?: string;
|
|
"group": string;
|
|
"heads": string;
|
|
"pulls": CandidatesByGroupValuePullsItem[];
|
|
/** the layout version */
|
|
"v"?: number;
|
|
}
|
|
|
|
/** is one value of the state verdicts under the key <digest>. */
|
|
export interface VerdictsByDigestValue {
|
|
/** when (RFC 3339 time) */
|
|
"at"?: string;
|
|
"judge"?: string;
|
|
"module": string;
|
|
"problems"?: string[];
|
|
"state": string;
|
|
"unknown"?: string[];
|
|
/** the layout version */
|
|
"v"?: number;
|
|
"warnings"?: string[];
|
|
}
|
|
|
|
/** is one value of the state predefined under the key list. */
|
|
export interface PredefinedByListValue {
|
|
/** when (RFC 3339 time) */
|
|
"at"?: string;
|
|
"commit": string;
|
|
/** the foundation's predefined list as kept */
|
|
"list": unknown;
|
|
/** the layout version */
|
|
"v"?: number;
|
|
}
|
|
|
|
export interface ConfigCandidatesByPullValueDeclaresValueValue {
|
|
/** the default */
|
|
"default": unknown;
|
|
"description"?: string;
|
|
/** the allowed values */
|
|
"enum"?: unknown;
|
|
"kind": string;
|
|
/** a declared bound; 0 is a bound, absent is none */
|
|
"maximum"?: number | null;
|
|
/** a declared bound; 0 is a bound, absent is none */
|
|
"minimum"?: number | null;
|
|
"pattern"?: string;
|
|
"predefined"?: string;
|
|
"required"?: boolean;
|
|
"runtime"?: boolean;
|
|
"trusted"?: boolean;
|
|
"type"?: string;
|
|
"why": string;
|
|
}
|
|
|
|
/** is one value of the state config-candidates under the key <pull>. */
|
|
export interface ConfigCandidatesByPullValue {
|
|
/** when (RFC 3339 time) */
|
|
"at"?: string;
|
|
/** module to key to declaration */
|
|
"declares": Record<string, Record<string, ConfigCandidatesByPullValueDeclaresValueValue>>;
|
|
"head": string;
|
|
"pull": string;
|
|
/** the layout version */
|
|
"v"?: number;
|
|
}
|
|
|
|
export interface PackagesByModuleValuePackagesItem {
|
|
"digest": string;
|
|
"package": string;
|
|
}
|
|
|
|
/** is one value of the state packages under the key <module>. */
|
|
export interface PackagesByModuleValue {
|
|
/** when (RFC 3339 time) */
|
|
"at"?: string;
|
|
"commit": string;
|
|
"dir"?: string;
|
|
/** the Go module path */
|
|
"module": string;
|
|
"packages": PackagesByModuleValuePackagesItem[];
|
|
"repository": string;
|
|
/** digest of go.mod and go.sum */
|
|
"requires"?: string;
|
|
/** the layout version */
|
|
"v"?: number;
|
|
}
|
|
|
|
export interface PackagesByPackageSeriesValueNewestContentsPackagesItem {
|
|
"digest": string;
|
|
"package": string;
|
|
}
|
|
|
|
export interface PackagesByPackageSeriesValueNewestContents {
|
|
/** when (RFC 3339 time) */
|
|
"at"?: string;
|
|
"commit": string;
|
|
"dir"?: string;
|
|
/** the Go module path */
|
|
"module": string;
|
|
"packages": PackagesByPackageSeriesValueNewestContentsPackagesItem[];
|
|
"repository": string;
|
|
/** digest of go.mod and go.sum */
|
|
"requires"?: string;
|
|
/** the layout version */
|
|
"v"?: number;
|
|
}
|
|
|
|
export interface PackagesByPackageSeriesValueNewest {
|
|
"commit"?: string;
|
|
"contents"?: PackagesByPackageSeriesValueNewestContents;
|
|
"digest"?: string;
|
|
"fingerprint"?: string;
|
|
"version": string;
|
|
}
|
|
|
|
export interface PackagesByPackageSeriesValueNumberedContentsPackagesItem {
|
|
"digest": string;
|
|
"package": string;
|
|
}
|
|
|
|
export interface PackagesByPackageSeriesValueNumberedContents {
|
|
/** when (RFC 3339 time) */
|
|
"at"?: string;
|
|
"commit": string;
|
|
"dir"?: string;
|
|
/** the Go module path */
|
|
"module": string;
|
|
"packages": PackagesByPackageSeriesValueNumberedContentsPackagesItem[];
|
|
"repository": string;
|
|
/** digest of go.mod and go.sum */
|
|
"requires"?: string;
|
|
/** the layout version */
|
|
"v"?: number;
|
|
}
|
|
|
|
export interface PackagesByPackageSeriesValueNumbered {
|
|
"commit"?: string;
|
|
"contents"?: PackagesByPackageSeriesValueNumberedContents;
|
|
"digest"?: string;
|
|
"fingerprint"?: string;
|
|
"version": string;
|
|
}
|
|
|
|
/** is one value of the state packages under the key <package>.<series>. */
|
|
export interface PackagesByPackageSeriesValue {
|
|
/** when (RFC 3339 time) */
|
|
"at"?: string;
|
|
"go-module"?: string;
|
|
"name": string;
|
|
"newest"?: PackagesByPackageSeriesValueNewest;
|
|
"numbered"?: PackagesByPackageSeriesValueNumbered;
|
|
"package"?: string;
|
|
"seat"?: string;
|
|
"series": string;
|
|
/** the layout version */
|
|
"v"?: number;
|
|
}
|
|
|
|
/** is one value of the state catalog-revisions under the key <branch>.<revision>. */
|
|
export type CatalogRevisionsByBranchRevisionValue = CatalogRevision;
|
|
|
|
/** is one value of the state catalog-revisions under the key candidate.<group>.<heads>. */
|
|
export type CatalogRevisionsByCandidateGroupHeadsValue = CatalogRevision;
|
|
|
|
/** is one value of the state catalog-revisions under the key entry.<digest>. */
|
|
export type CatalogRevisionsByEntryDigestValue = CatalogEntry;
|
|
|
|
/** is one value of the state registrations under the key <module>. */
|
|
export type RegistrationsByModuleValue = Registration;
|
|
|
|
/** is one value of the state registration-history under the key <module>.<version>. */
|
|
export type RegistrationHistoryByModuleVersionValue = Registration;
|
|
|
|
/** is one value of the state versions under the key <module>.<version>. */
|
|
export type VersionsByModuleVersionValue = VersionEntry;
|
|
|
|
/** is one value of the state build-edges under the key <module>.<branch>. */
|
|
export type BuildEdgesByModuleBranchValue = BuildEdges;
|
|
|
|
/** is one value of the state inputs under the key <time>.<digest>. */
|
|
export type InputsByTimeDigestValue = string;
|
|
|