Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F12661865
config.ts
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
config.ts
View Options
export
type
Environment
=
"dev"
|
"production"
;
type
Config
=
{
core
:
{
environment
:
Environment
;
};
logger
:
{
level
:
"info"
|
"error"
|
"debug"
|
"emerg"
;
color
:
boolean
;
file
:
null
;
dirname
:
string
;
to_json
:
boolean
;
rotation
:
string
;
};
"www-server"
:
{
port
:
number
;
"api-base"
:
string
;
"session-cookie-name"
:
string
;
"anonymous-cookie-name"
:
string
;
"max-payload-bytes"
:
number
;
};
datastore_mongo
:
{
host
:
string
;
port
:
number
;
db_name
:
string
;
password
:
string
;
};
roles
:
string
[];
password_hash
:
{
iterations
:
number
;
key_length
:
number
;
salt_length
:
number
;
};
image_formats
:
{};
accout_creation_success_path
:
false
|
string
;
email
:
{
from_address
:
string
;
from_name
:
string
;
};
upload_path
:
string
;
smtp
:
{
host
:
string
;
port
:
number
;
user
:
string
;
password
:
string
;
};
app
:
{
version
:
string
;
};
};
export
default
Config
;
type
RecursivePartial
<
T
>
=
{
[
P
in
keyof
T
]
?:
RecursivePartial
<
T
[
P
]
>
;
};
export
type
PartialConfig
=
RecursivePartial
<
Config
>
;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 28, 15:48 (10 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1039193
Default Alt Text
config.ts (1 KB)
Attached To
Mode
rS Sealious
Attached
Detach File
Event Timeline
Log In to Comment