UNPKG

@payloadcms/plugin-search

Version:
13 lines 661 B
import type { CustomComponent, PayloadServerReactComponent } from 'payload'; import type { CollectionLabels, ResolvedCollectionLabels } from '../../../types.js'; export type ReindexButtonProps = { collectionLabels: ResolvedCollectionLabels; searchCollections: string[]; searchSlug: string; }; export type ReindexButtonServerProps = { collectionLabels: CollectionLabels; } & Omit<ReindexButtonProps, 'collectionLabels'>; export type SearchReindexButtonClientComponent = ReindexButtonProps; export type SearchReindexButtonServerComponent = PayloadServerReactComponent<CustomComponent<ReindexButtonServerProps>>; //# sourceMappingURL=types.d.ts.map