@cfxlabsinc/b2b-services
    Preparing search index...

    Variable TRANSACTION_ADMIN_SEARCH_CACHEConst

    TRANSACTION_ADMIN_SEARCH_CACHE: {
        keyPrefix: "search";
        namespace: "transaction-admin-search";
        ttl: number;
    } = ...

    Shared cache config for the ADMIN transaction search projection, read by TransactionAdminQueryService. Admin search is cross-customer — a single result page can span many customers (or, with free-text query, none) — so no membership tag scopes it. An entry carries the collection tag TRANSACTION_ADMIN_SEARCH_COLLECTION_TAG, or the record tags of the transactions it is pinned to, and every transaction WRITER clears both via TransactionCacheBuster (admin has no write path of its own). Its rows' transactionRecordTags ride along, for the writers of those records.

    Type Declaration

    • ReadonlykeyPrefix: "search"
    • Readonlynamespace: "transaction-admin-search"
    • Readonlyttl: number