You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dick/src/typings/database.d.ts

22 lines
543 B

export interface ISettingsDatabase {
name: string
logo: string
siteTitle: string
siteDescription: string
loginText: string
appEmoji: string
captchaEnabled: boolean
captchaSiteID: string | null
captchaSecretKey: string | null
defaultProfilePicture: string
registrationEnabled: boolean
privateModeEnabled: boolean
}
export interface IUsersDatabase extends Array<IUserSettings>{}
export interface IUserSettings {
username: string
role: "admin" | "user"
profilePicture: string | null
}