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

    Variable TRANSACTION_ADMIN_SEARCH_CACHEConst

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

    Shared cache config for the ADMIN transaction search projection, read by TransactionAdminService. Unlike the customer TRANSACTION_SEARCH_CACHE, admin search is cross-customer — a single result page can span many customers (or, with free-text query, none) — so entries cannot be tagged by one owning customerId. Instead every entry carries the single collection tag TRANSACTION_ADMIN_SEARCH_COLLECTION_TAG, and every transaction WRITER busts the whole collection via TransactionCacheBuster (admin has no write path of its own to self-bust).

    Type Declaration

    • ReadonlykeyPrefix: "search"
    • Readonlyl1: { ttl: 30000 }
    • Readonlynamespace: "transaction-admin-search"
    • Readonlyttl: number