Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new settings in website section #25

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion src/types/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,26 @@ export type Logging = {

export type Website = {
name: string
demo: Demo | null
terms: Terms
}

export type Demo = {
warning: string
}

export type Terms = {
page: TermsPage
upload: TermsUpload
}

export type TermsPage = {
title: string
content: string
}

export type TermsUpload = {
content_upload_agreement: string
}

export type Tracker = {
Expand Down Expand Up @@ -85,6 +105,7 @@ export type PublicSettings = {
tracker_listed: boolean
tracker_private: boolean
email_on_signup: EmailOnSignup
website: Website
}

export type Tsl = {
Expand Down Expand Up @@ -126,4 +147,4 @@ export enum Threshold {
export type Email = {
required: boolean
verification_required: boolean
}
}