@payloadcms/plugin-multi-tenant
Version:
Multi Tenant plugin for Payload
16 lines • 563 B
TypeScript
import type { Payload, User, ViewTypes } from 'payload';
type Args = {
basePath?: string;
docID?: number | string;
headers: Headers;
payload: Payload;
slug: string;
tenantFieldName: string;
tenantsCollectionSlug: string;
useAsTitle: string;
user?: User;
view: ViewTypes;
};
export declare function getGlobalViewRedirect({ slug, basePath, docID, headers, payload, tenantFieldName, tenantsCollectionSlug, useAsTitle, user, view, }: Args): Promise<string | void>;
export {};
//# sourceMappingURL=getGlobalViewRedirect.d.ts.map