JUMBO refactor, still work in progress

This commit is contained in:
2025-10-07 00:14:31 +02:00
parent 3694492e1a
commit dc0ec5c635
50 changed files with 4283 additions and 3698 deletions

View File

@@ -11,7 +11,7 @@ export const Config = Schema.Struct({
),
DB_PATH: pipe(
Schema.String,
Schema.optional,
Schema.optionalWith({ default: constant("db.sqlite3") }),
),
HOSTNAME: Schema.String,
NODE_ENV: pipe(
@@ -22,8 +22,10 @@ export const Config = Schema.Struct({
Schema.NumberFromString,
Schema.optionalWith({ default: constant(3000) }),
),
TENANT_ID: Schema.UUID,
TENANT_SUBDOMAIN: Schema.String,
OAUTH_AUTHORIZATION_ENDPOINT: Schema.String,
OAUTH_TOKEN_ENDPOINT: Schema.String,
POCKET_ID_API_ORIGIN: Schema.String,
POCKET_ID_API_KEY: Schema.String,
});
export type Config = typeof Config.Type;