File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change 11export type Settings = {
2+ version : string ,
23 logging : Logging ,
34 website : Website ,
45 tracker : Tracker ,
@@ -12,7 +13,7 @@ export type Settings = {
1213}
1314
1415export type Logging = {
15- log_level : LogLevel ,
16+ threshold : Threshold ,
1617}
1718
1819export type Website = {
@@ -21,7 +22,8 @@ export type Website = {
2122
2223export type Tracker = {
2324 api_url : string
24- mode : TrackerMode
25+ listed : boolean
26+ private : boolean
2527 token : string
2628 token_valid_seconds : number
2729 url : string
@@ -71,7 +73,8 @@ export type TrackerStatisticsImporter = {
7173export type PublicSettings = {
7274 website_name : string
7375 tracker_url : string
74- tracker_mode : TrackerMode
76+ tracker_listed : boolean
77+ tracker_private : boolean
7578 email_on_signup : EmailOnSignup
7679}
7780
@@ -96,20 +99,13 @@ export type Credentials = {
9699 username : string
97100}
98101
99- export enum TrackerMode {
100- Public = "public" ,
101- Listed = "listed" ,
102- Private = "private" ,
103- PrivateListed = "private_listed"
104- }
105-
106102export enum EmailOnSignup {
107103 Required = "required" ,
108104 Optional = "optional" ,
109105 Ignored = "ignored"
110106}
111107
112- export enum LogLevel {
108+ export enum Threshold {
113109 Off = "off" ,
114110 Error = "error" ,
115111 Warn = "warn" ,
You can’t perform that action at this time.
0 commit comments