UNPKG

strapi-nextgen-framework

Version:

Production-ready, type-safe framework bridging Strapi v4 CMS and Next.js 14+ App Router with automatic cache management, Error Boundaries, and SEO optimization

14 lines 536 B
/** * Fetch wrapper with automatic cache tagging * Wraps Next.js fetch to inject cache tags automatically */ import type { StrapiSDKConfig } from './types'; /** * Creates a fetch function that automatically adds cache tags * This is used by graphql-request to make requests with Next.js caching * * @param logging - Optional logging configuration * @returns Wrapped fetch function */ export declare function createCacheTaggedFetch(logging?: StrapiSDKConfig['logging']): typeof fetch; //# sourceMappingURL=fetch-wrapper.d.ts.map