31 lines
585 B
TypeScript
31 lines
585 B
TypeScript
export type Config = {
|
|
version: string;
|
|
location: string;
|
|
branding?: {
|
|
name?: string;
|
|
logo?: string;
|
|
background?: string;
|
|
};
|
|
developer?: string;
|
|
federation: Federation;
|
|
registration?: {
|
|
defaultInstance?: string;
|
|
};
|
|
admin?: {
|
|
name?: string;
|
|
account?: string;
|
|
};
|
|
license: License;
|
|
respository?: string;
|
|
}
|
|
|
|
export type License = {
|
|
name: string;
|
|
url: string;
|
|
}
|
|
|
|
export type Federation = {
|
|
universalLogin: boolean;
|
|
allowPublicPosts: boolean;
|
|
enablePublicTimeline: boolean;
|
|
} |