forked from github/plane
3df4794e77
* fix: gpt error handlijng * fix: enabling ai assistance only when it is configured.
17 lines
484 B
TypeScript
17 lines
484 B
TypeScript
export type NextPageWithLayout<P = {}, IP = P> = NextPage<P, IP> & {
|
|
getLayout?: (page: ReactElement) => ReactNode;
|
|
};
|
|
|
|
export interface IAppConfig {
|
|
email_password_login: boolean;
|
|
google_client_id: string | null;
|
|
github_app_name: string | null;
|
|
github_client_id: string | null;
|
|
magic_login: boolean;
|
|
slack_client_id: string | null;
|
|
posthog_api_key: string | null;
|
|
posthog_host: string | null;
|
|
has_openai_configured: boolean;
|
|
has_unsplash_configured: boolean;
|
|
}
|