RegistryRelease

tcmts.registry.RegistryRelease · #hpmnzdb6 · type

A release the registry knows of: the record announcing it, and what's become of it.

import type { ReleaseFacts, ReleaseState } from "#codebase/tcmts/registry";

export interface RegistryRelease {
  /** at://<did>/codes.tcm.release/<package>:<version> */
  uri: string;
  did: string;
  rkey: string;
  /** the record's CID, as Jetstream saw it */
  cid: string;
  package: string;
  version: string;
  namespace: string;
  entry: string;
  notes: string;
  sources: string[];
  createdAt: string;
  /** Jetstream's sequence number for the event that last changed it */
  seq: number;
  state: ReleaseState;
  /** why it failed, or what withdrew it */
  reason?: string;
  /** where its code is in the registry's codebase, once mirrored */
  mount?: string;
  /** which source sent it */
  from?: string;
  /** when its record was checked against its author's signed repository */
  verifiedAt?: Date;
  /** what the registry worked out from its code, once mirrored */
  facts?: ReleaseFacts;
}

uses

used by