Skip to content

Variable: LatestVersionSourceStatusSchema

Makaio Framework


Makaio Framework / contracts / LatestVersionSourceStatusSchema

const LatestVersionSourceStatusSchema: ZodEnum<{ cached: "cached"; error: "error"; fresh: "fresh"; }>

Defined in: ../../../packages/contracts/src/client/binary-management.ts:28

Freshness classification for the latest-version cache entry.

  • 'fresh' — the version index was fetched within the cache TTL.
  • 'cached' — the cached value is stale but still available.
  • 'error' — the last refresh attempt failed; cached value may be absent.