{"version":3,"sources":["../../../src/database/queryValidation/types.ts"],"sourcesContent":["import type { CollectionPermission, GlobalPermission } from '../../auth/index.js'\nimport type { FlattenedField } from '../../fields/config/types.js'\n\n// TODO: Rename to EntityPermissions in 4.0\nexport type EntityPolicies = {\n collections?: {\n [collectionSlug: string]: CollectionPermission\n }\n globals?: {\n [globalSlug: string]: GlobalPermission\n }\n}\n\nexport type PathToQuery = {\n collectionSlug?: string\n complete: boolean\n field: FlattenedField\n fields?: FlattenedField[]\n globalSlug?: string\n invalid?: boolean\n /**\n * @todo make required in v4.0\n */\n parentIsLocalized: boolean\n path: string\n}\n"],"names":[],"mappings":"AAaA,WAYC"}