@payloadcms/plugin-multi-tenant
Version:
Multi Tenant plugin for Payload
14 lines • 448 B
TypeScript
import type { CollectionSlug, ServerProps, ViewTypes } from 'payload';
type Args = {
basePath?: string;
collectionSlug: CollectionSlug;
docID?: number | string;
globalSlugs: string[];
tenantFieldName: string;
tenantsCollectionSlug: string;
useAsTitle: string;
viewType: ViewTypes;
} & ServerProps;
export declare const GlobalViewRedirect: (args: Args) => Promise<void>;
export {};
//# sourceMappingURL=index.d.ts.map