Added Types
This commit is contained in:
@@ -6,7 +6,28 @@ const client = new InfisicalSDK({
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
export let secrets = {}
|
export let secrets = {
|
||||||
|
|
||||||
|
} as {
|
||||||
|
COOKIE_SECRET: string
|
||||||
|
JWT_SECRET: string
|
||||||
|
PORT: number
|
||||||
|
HOST: string
|
||||||
|
SUPABASE_URL: string
|
||||||
|
SUPABASE_SERVICE_ROLE_KEY: string
|
||||||
|
S3_BUCKET: string
|
||||||
|
ENCRYPTION_KEY: string
|
||||||
|
MAILER_SMTP_HOST: string
|
||||||
|
MAILER_SMTP_PORT: number
|
||||||
|
MAILER_SMTP_SSL: string
|
||||||
|
MAILER_SMTP_USER: string
|
||||||
|
MAILER_SMTP_PASS: string
|
||||||
|
MAILER_FROM: string
|
||||||
|
S3_ENDPOINT: string
|
||||||
|
S3_REGION: string
|
||||||
|
S3_ACCESS_KEY: string
|
||||||
|
S3_SECRET_KEY: string
|
||||||
|
}
|
||||||
|
|
||||||
export async function loadSecrets () {
|
export async function loadSecrets () {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user