chore: exports AccessArgs type for granular typing when imported

This commit is contained in:
Jarrod Flesch
2023-03-22 11:58:23 -04:00
parent 21b8da7f41
commit b74a59947d

View File

@@ -129,7 +129,7 @@ export type InitOptions = {
*/
export type AccessResult = boolean | Where;
type AccessArgs<T = any, U = any> = {
export type AccessArgs<T = any, U = any> = {
/** The original request that requires an access check */
req: PayloadRequest<U>;
/** ID of the resource being accessed */