Page MenuHomeSealhub

config.ts
No OneTemporary

config.ts

import type { LoggerLevel } from "./logger";
export type Environment = "dev" | "production";
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;
};
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;
app: {
version: string;
};
};
export default Config;
type RecursivePartial<T> = {
[P in keyof T]?: RecursivePartial<T[P]>;
};
export type PartialConfig = RecursivePartial<Config>;

File Metadata

Mime Type
text/x-java
Expires
Mon, Dec 23, 03:53 (17 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
556363
Default Alt Text
config.ts (892 B)

Event Timeline