Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
23 lines
829 B
Plaintext
23 lines
829 B
Plaintext
import type { I18nClient } from '@payloadcms/translations';
|
|
import type { Metadata } from 'next';
|
|
import type { ImportMap, SanitizedConfig } from 'payload';
|
|
import React from 'react';
|
|
export type GenerateViewMetadata = (args: {
|
|
config: SanitizedConfig;
|
|
i18n: I18nClient;
|
|
isEditing?: boolean;
|
|
params?: {
|
|
[key: string]: string | string[];
|
|
};
|
|
}) => Promise<Metadata>;
|
|
export declare const RootPage: ({ config: configPromise, importMap, params: paramsPromise, searchParams: searchParamsPromise, }: {
|
|
readonly config: Promise<SanitizedConfig>;
|
|
readonly importMap: ImportMap;
|
|
readonly params: Promise<{
|
|
segments: string[];
|
|
}>;
|
|
readonly searchParams: Promise<{
|
|
[key: string]: string | string[];
|
|
}>;
|
|
}) => Promise<React.JSX.Element>;
|
|
//# sourceMappingURL=index.d.ts.map |