Template
1
0

feat: add payment module

This commit is contained in:
2025-12-05 01:56:42 +01:00
parent a818f3135a
commit be9b8e9e55
160 changed files with 8615 additions and 1158 deletions

View File

@@ -1,27 +1,25 @@
import { getEnvironmentVariable } from "@platform/config/environment.ts";
import { getEnvironmentVariable } from "@platform/config";
import z from "zod";
export const config = {
xtdb: {
host: getEnvironmentVariable({
key: "DB_XTDB_HOST",
type: z.string(),
fallback: "localhost",
}),
port: getEnvironmentVariable({
key: "DB_XTDB_PORT",
type: z.coerce.number(),
fallback: "5432",
}),
user: getEnvironmentVariable({
key: "DB_XTDB_USER",
type: z.string(),
fallback: "xtdb",
}),
pass: getEnvironmentVariable({
key: "DB_XTDB_PASSWORD",
type: z.string(),
fallback: "xtdb",
}),
},
host: getEnvironmentVariable({
key: "DB_XTDB_HOST",
type: z.string(),
fallback: "localhost",
}),
port: getEnvironmentVariable({
key: "DB_XTDB_PORT",
type: z.coerce.number(),
fallback: "5432",
}),
user: getEnvironmentVariable({
key: "DB_XTDB_USER",
type: z.string(),
fallback: "xtdb",
}),
pass: getEnvironmentVariable({
key: "DB_XTDB_PASSWORD",
type: z.string(),
fallback: "xtdb",
}),
};