ENGLISH·COURSE API
    Preparing search index...

    A store whose objects are private and reachable only through a time-limited signed URL.

    Deliberately NOT part of BlobStore. Signing is asynchronous, and BlobStore.url is synchronous because it runs while domain entities are being constructed. Only the signing endpoint needs a signed URL, and it can afford to await one; keeping the two interfaces separate is what stops async from spreading into every adapter.

    interface SignedUrlSource {
        signedUrl(objectPath: string, ttlSeconds: number): Promise<string>;
    }

    Implemented by

    Index

    Methods

    Methods

    • Returns a URL that grants temporary read access to the object.

      Parameters

      • objectPath: string

        Path within this store, prefix already applied

      • ttlSeconds: number

        How long the URL stays valid

      Returns Promise<string>