@payloadcms/plugin-multi-tenant
Version:
Multi Tenant plugin for Payload
13 lines • 493 B
TypeScript
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