UNPKG

payload

Version:

Node, React, Headless CMS and Application Framework built on Next.js

24 lines 664 B
import type { CollectionPermission, GlobalPermission } from '../../auth/index.js'; import type { FlattenedField } from '../../fields/config/types.js'; export type EntityPolicies = { collections?: { [collectionSlug: string]: CollectionPermission; }; globals?: { [globalSlug: string]: GlobalPermission; }; }; export type PathToQuery = { collectionSlug?: string; complete: boolean; field: FlattenedField; fields?: FlattenedField[]; globalSlug?: string; invalid?: boolean; /** * @todo make required in v4.0 */ parentIsLocalized: boolean; path: string; }; //# sourceMappingURL=types.d.ts.map