UNPKG

@payloadcms/plugin-multi-tenant

Version:
14 lines 448 B
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