Interface: ListAccessibleObjectsArgs<Schema>
Defined in: packages/polizy/src/types.ts:240
Arguments for the listAccessibleObjects method
Type Parameters
Schema
Schema extends AuthSchema<any, any, any, any, any>
Properties
canThey?
optionalcanThey?: keyofSchema["actionToRelations"]
Defined in: packages/polizy/src/types.ts:246
context?
optionalcontext?:Record<string,any>
Defined in: packages/polizy/src/types.ts:248
maxDepth?
optionalmaxDepth?:number
Defined in: packages/polizy/src/types.ts:250
ofType
ofType:
SchemaObjectTypes<Schema>
Defined in: packages/polizy/src/types.ts:244
who
who:
TypedSubject<Schema>
Defined in: packages/polizy/src/types.ts:243