File tree 2 files changed +19
-5
lines changed
2 files changed +19
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " torrust-index-types-lib" ,
3
- "version" : " 3.0.0-alpha.6 " ,
3
+ "version" : " 3.0.0-alpha.7 " ,
4
4
"description" : " Contains common types for the Torrust project." ,
5
5
"repository" : {
6
6
"type" : " git" ,
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ export type Settings = {
3
3
logging : Logging ,
4
4
website : Website ,
5
5
tracker : Tracker ,
6
- net : Network ,
6
+ net : Net ,
7
7
auth : Auth ,
8
8
database : Database ,
9
9
mail : Mail ,
@@ -12,6 +12,12 @@ export type Settings = {
12
12
tracker_statistics_importer : TrackerStatisticsImporter
13
13
}
14
14
15
+ export type Metadata = {
16
+ app : string ,
17
+ purpose : string ,
18
+ schema_version : string ,
19
+ }
20
+
15
21
export type Logging = {
16
22
threshold : Threshold ,
17
23
}
@@ -29,15 +35,15 @@ export type Tracker = {
29
35
url : string
30
36
}
31
37
32
- export type Network = {
38
+ export type Net = {
33
39
base_url : string | null
34
40
bind_address : string
35
41
tsl : Tsl | null
36
42
}
37
43
38
44
export type Auth = {
39
45
email_on_signup : EmailOnSignup
40
- secret_key : string
46
+ user_claim_token_pepper : string
41
47
password_constraints : PasswordConstraints
42
48
}
43
49
@@ -46,7 +52,6 @@ export type Database = {
46
52
}
47
53
48
54
export type Mail = {
49
- email_verification_enabled : boolean
50
55
from : string
51
56
reply_to : string
52
57
smtp : Smtp
@@ -65,6 +70,10 @@ export type Api = {
65
70
max_torrent_page_size : number
66
71
}
67
72
73
+ export type Registration = {
74
+ email : Email
75
+ }
76
+
68
77
export type TrackerStatisticsImporter = {
69
78
port : number
70
79
torrent_info_update_interval : number
@@ -112,4 +121,9 @@ export enum Threshold {
112
121
Info = "info" ,
113
122
Debug = "debug" ,
114
123
Trace = "trace" ,
124
+ }
125
+
126
+ export type Email = {
127
+ required : boolean
128
+ verification_required : boolean
115
129
}
You can’t perform that action at this time.
0 commit comments