Media / foldkit-media/server

originalsKeyValueStore

function · packages/media/src/server/stores.ts:63

function originalsKeyValueStore(options?: {
  readonly prefix?: string
}): Layer.Layer<Originals, never, KeyValueStore.KeyValueStore>

Originals in the application's KeyValueStore, each under its content hash after prefix. A store that fails is a defect, not a missing original: the original is the data, and a 404 would say it is gone.