/** * Metadata for a reference to a version of a repository's content. * * @see More details on refs: {@link https://prismic.io/docs/api#refs-and-the-entry-api} */ export interface Ref { /** The unique identifier for the ref. */ id: string /** The identifier that should be provided to the API to select a content version. */ ref: string /** A human-readable name for the ref. The master ref is always named "Master". */ label: string /** Determines if the ref is the master ref. The master ref contains the latest published content. */ isMasterRef: boolean /** * If the ref is associated with a Release, this field contains the timestamp at which the Release * will be automatically published, if set. * * @see More details on Releases: {@link https://prismic.io/docs/guides/draft-plan-and-schedule-content#releases} */ scheduledAt?: string }