hyperspace-desktop-client-w.../src/types/Config.tsx

32 lines
589 B
TypeScript

export type Config = {
version: string;
location: string;
branding?: {
name?: string;
logo?: string;
background?: string;
};
developer?: boolean;
federation: Federation;
registration?: {
defaultInstance?: string;
};
admin?: {
name?: string;
account?: string;
};
license: License;
repository?: string;
};
export type License = {
name: string;
url: string;
};
export type Federation = {
universalLogin: boolean;
allowPublicPosts: boolean;
enablePublicTimeline: boolean;
};