ENGLISH·COURSE API
    Preparing search index...

    Module

    adapters/persistence/blob-store/content-locations/content-locations

    Type Aliases

    ContentStore

    One declared store. The driver discriminates which fields apply.

    ContentLocations

    The content-locations.json document: which store answers for which key.

    Variables

    DEFAULT_LOCAL_BASE_URL

    Public URL prefix a local store falls back to — the folder Next.js serves from /public. Matches the pre-manifest default exactly, so a content root with no manifest and one declaring only a local store behave identically.

    CONTENT_LOCATIONS_FILE

    File name the location manifest is read from, relative to the repo root.

    DEFAULT_SIGNED_URL_TTL_SECONDS

    How long a signed URL stays valid, in seconds (6 hours).

    ContentStore

    One declared store. The driver discriminates which fields apply.

    ContentLocations

    The content-locations.json document: which store answers for which key.

    Functions

    parseContentLocations

    Parses the text of a content-locations.json into a validated manifest.

    resolveStoreNameFor

    The store that answers for a content key.

    resolveObjectPathFor

    Where a key's bytes sit, honouring a declared placement.

    objectPathFor

    Where a key's bytes sit inside a GIVEN store, by inference alone.

    loadContentLocations

    Reads and validates the location manifest at filePath.

    singleLocalStoreManifest

    The manifest an unconfigured deployment behaves as: one local store, serving everything from the folder Next.js already serves.