Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F7188381
config.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1018 B
Referenced Files
None
Subscribers
None
config.ts
View Options
import
type
{
LoggerLevel
}
from
"./logger.js"
;
export
type
Environment
=
"dev"
|
"production"
;
export
type
Config
=
{
core
:
{
environment
:
Environment
;
};
logger
:
{
level
:
LoggerLevel
;
};
"www-server"
:
{
port
:
number
;
"api-base"
:
string
;
"session-cookie-name"
:
string
;
"max-payload-bytes"
:
number
;
};
datastore_mongo
:
{
host
:
string
;
port
:
number
;
db_name
:
string
;
username
:
string
;
password
:
string
;
authSource
:
string
;
};
datastore_postgres
?:
{
host
:
string
;
port
:
number
;
db_name
:
string
;
username
:
string
;
password
:
string
;
};
roles
:
string
[];
password_hash
:
{
iterations
:
number
;
key_length
:
number
;
salt_length
:
number
;
};
image_formats
:
Record
<
string
,
unknown
>
;
accout_creation_success_path
:
false
|
string
;
email
:
{
from_address
:
string
;
from_name
:
string
;
};
upload_path
:
string
;
app
:
{
version
:
string
;
};
};
type
RecursivePartial
<
T
>
=
{
[
P
in
keyof
T
]
?:
RecursivePartial
<
T
[
P
]
>
;
};
export
type
PartialConfig
=
RecursivePartial
<
Config
>
;
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Tue, Jul 8, 08:10 (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
804423
Default Alt Text
config.ts (1018 B)
Attached To
Mode
rS Sealious
Attached
Detach File
Event Timeline
Log In to Comment