///
import { IUser } from '@snek-at/snek-api-client';
export type RequireAtLeastOne = Pick> & {
[K in Keys]-?: Required> & Partial>>;
}[Keys];
export interface IJaenConfig {
jaenProjectId: number;
snekAnalyticsId?: string;
}
export interface IJaenStaticData {
[appname: string]: any;
}
export interface IJaenConnection extends React.FC {
options: Options;
}
export interface IAuth {
isAuthenticated: boolean;
user: IUser | null;
}
export interface ISiteMetadata {
title: string;
description: string;
siteUrl: string;
image: string;
author: {
name: string;
};
organization: {
name: string;
url: string;
logo: string;
};
social: {
twitter: string;
fbAppID: string;
};
}
export interface ISite {
siteMetadata: Partial;
}
export interface IStatus {
isPublishing: boolean;
}
export interface IWidgets {
widgets: {
name: string;
data: any;
}[];
}