Skip to content

AccessWithIndex

AccessWithIndex<TData, TUser, TOrg, TIndexFields> = AccessIndexSelection<TData, TIndexFields> | AccessWithIndexCallback<TData, TUser, TOrg, TIndexFields>

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

The index half of a rule: the static { name, range } selection (the same object find’s withIndex takes) when the range reads no caller data, or a AccessWithIndexCallback when it does.

TData

TUser

TOrg

TIndexFields extends Record<string, readonly string[]>