@oomol-lab/resource-cache - v0.1.4
    Preparing search index...

    Interface AppCatalogCacheOptions

    interface AppCatalogCacheOptions {
        decode: (value: unknown) => AppCatalogResponse;
        environment?: string;
        load: (
            query: OomolQuery,
            validation: CacheValidation,
        ) => Promise<LoadResult<AppCatalogResponse>>;
        locale: string;
        maxAge: number;
        schemaVersion: number;
    }

    Hierarchy

    Index
    decode: (value: unknown) => AppCatalogResponse
    environment?: string

    Deployment environment used to separate hosts such as production and staging. Defaults to production.

    load: (
        query: OomolQuery,
        validation: CacheValidation,
    ) => Promise<LoadResult<AppCatalogResponse>>

    Load the public app catalog. This request does not require credentials.

    locale: string

    Locale sent to the host loader and included in the cache identity.

    maxAge: number
    schemaVersion: number