UNPKG

@prismicio/next

Version:

Helpers to integrate Prismic into Next.js apps

19 lines (18 loc) 722 B
import { PrismicDocument } from "@prismicio/client"; //#region src/cacheTagPrismicPages.d.ts /** * Tags the current cache entry with cache tags for a set of Prismic pages so they can be * revalidated when their content changes. * * Linked documents (via content relationships) are tagged as well, so the cache entry is * revalidated when any of its nested documents change. * * @param pages - A set of Prismic pages used to tag the cache entry. * @experimental * * @see {@link https://nextjs.org/docs/app/api-reference/functions/cacheTag} */ declare function cacheTagPrismicPages(pages: PrismicDocument[]): void; //#endregion export { cacheTagPrismicPages }; //# sourceMappingURL=cacheTagPrismicPages.d.cts.map