Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
24 lines
664 B
Plaintext
24 lines
664 B
Plaintext
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 |