Skip to content

AccessResourceRef

AccessResourceRef<S> = object

Defined in: packages/core/src/access/types.ts:452

What a check builder needs from a resource config: the slug, to bind S, and the fields, to recover an index NAME from a field name at runtime.

Structural rather than CollectionConfig so a GlobalConfig satisfies it too.

S extends string

Resource slug.

readonly fields: Readonly<Record<string, { index?: string; type?: string; }>>

Defined in: packages/core/src/access/types.ts:453


readonly slug: S

Defined in: packages/core/src/access/types.ts:454