Libraries
    Preparing search index...

    Interface CacheTagPropertyAccessor

    An accessor that can extract a property value from a structured request root. Wraps a PropertyDescriptor's getValue closure so the middleware layer does not need to know about schemas.

    interface CacheTagPropertyAccessor {
        getValue(
            root: {
                body: unknown;
                headers: Record<string, string>;
                params: Record<string, unknown>;
                query: Record<string, unknown>;
            },
        ): { success: boolean; value?: unknown };
    }
    Index

    Methods

    Methods

    • Parameters

      • root: {
            body: unknown;
            headers: Record<string, string>;
            params: Record<string, unknown>;
            query: Record<string, unknown>;
        }

      Returns { success: boolean; value?: unknown }