UNPKG

@payloadcms/plugin-multi-tenant

Version:
13 lines 493 B
import type { PayloadRequest, Where } from 'payload'; type Args = { req: PayloadRequest; tenantsArrayFieldName: string; tenantsArrayTenantFieldName: string; tenantsCollectionSlug: string; }; /** * Filter the list of users by the selected tenant */ export declare const filterUsersBySelectedTenant: ({ req, tenantsArrayFieldName, tenantsArrayTenantFieldName, tenantsCollectionSlug, }: Args) => null | Where; export {}; //# sourceMappingURL=filterUsersBySelectedTenant.d.ts.map