@e-n-v/env 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BooleanMap-BPQuO3Ae.d.ts → BooleanMap-B7iiI-eg.d.ts} +1 -7
- package/dist/{BooleanMap-CX_YrPCf.d.cts → BooleanMap-D74MMuAh.d.cts} +1 -7
- package/dist/{EnvChannel-CfSwa_25.d.cts → EnvChannel-gV-4XlM8.d.cts} +0 -2
- package/dist/{EnvChannel-CfSwa_25.d.ts → EnvChannel-gV-4XlM8.d.ts} +0 -2
- package/dist/{EnvChannelOptions-BmdQcl4b.d.cts → EnvChannelOptions-BxsZpwjq.d.cts} +0 -20
- package/dist/{EnvChannelOptions-BmdQcl4b.d.ts → EnvChannelOptions-BxsZpwjq.d.ts} +0 -20
- package/dist/{EnvSource-s8F_M_6O.cjs → EnvSource-B_7XBrZM.cjs} +4 -8
- package/dist/{EnvSource-WAGWqRVM.js → EnvSource-DL1wl3j4.js} +4 -8
- package/dist/{EnvVarSchema-CDZGmnex.cjs → EnvVarSchema-D_fQ2A89.cjs} +2 -3
- package/dist/{EnvVarSchema-Dr6q7jf6.js → EnvVarSchema-Dd3ZrR30.js} +2 -3
- package/dist/{ProcessEnvChannel-eCOGEuJv.d.ts → ProcessEnvChannel-BN4U3VXU.d.cts} +2 -10
- package/dist/{ProcessEnvChannel-Br3hZSq6.d.cts → ProcessEnvChannel-Df1v0WyG.d.ts} +2 -10
- package/dist/{StringEnvVarSchema-D9Jr1Aws.d.cts → StringEnvVarSchema-CymYIek7.d.cts} +0 -16
- package/dist/{StringEnvVarSchema-D9Jr1Aws.d.ts → StringEnvVarSchema-CymYIek7.d.ts} +0 -16
- package/dist/channels.cjs +1 -1
- package/dist/channels.d.cts +3 -5
- package/dist/channels.d.ts +3 -5
- package/dist/channels.js +1 -1
- package/dist/cli.cjs +8 -10
- package/dist/cli.js +4 -6
- package/dist/core.cjs +7 -10
- package/dist/core.d.cts +5 -39
- package/dist/core.d.ts +5 -39
- package/dist/core.js +7 -10
- package/dist/{custom-Bd-jLg80.js → custom-BRT8y9Jj.js} +9 -18
- package/dist/{custom-Dyb9TnER.cjs → custom-_p4QyQTG.cjs} +9 -18
- package/dist/files.cjs +3 -5
- package/dist/files.d.cts +0 -10
- package/dist/files.d.ts +0 -10
- package/dist/files.js +3 -5
- package/dist/{index-dtOxwPe7.d.ts → index-B-GXzdUQ.d.ts} +3 -9
- package/dist/{index-Cb0abjLf.d.ts → index-BwID8Va2.d.ts} +2 -14
- package/dist/{index-BHTM8nxS.d.ts → index-C7wTQSSV.d.cts} +1 -5
- package/dist/{index-Bf0im0jZ.d.cts → index-CgeWhoQX.d.cts} +3 -9
- package/dist/{index-B2eNij2x.d.cts → index-ClGSiwuc.d.ts} +1 -5
- package/dist/{index-Cz3frUwZ.d.cts → index-D8rUvOZ5.d.cts} +2 -14
- package/dist/index.cjs +15 -16
- package/dist/index.d.cts +7 -10
- package/dist/index.d.ts +7 -10
- package/dist/index.js +7 -8
- package/dist/model.cjs +2 -3
- package/dist/model.d.cts +1 -1
- package/dist/model.d.ts +1 -1
- package/dist/model.js +2 -3
- package/dist/parse.cjs +4 -5
- package/dist/parse.d.cts +4 -6
- package/dist/parse.d.ts +4 -6
- package/dist/parse.js +4 -5
- package/dist/{preprocessors-DFVyF0c7.d.cts → preprocessors-BRPHeq3e.d.cts} +2 -24
- package/dist/{preprocessors-BKuIcZa1.d.ts → preprocessors-BUAo8e4Q.d.ts} +2 -24
- package/dist/prompt.cjs +3 -4
- package/dist/prompt.d.cts +10 -5
- package/dist/prompt.d.ts +4 -5
- package/dist/prompt.js +3 -4
- package/dist/{redis-D18f4ztf.js → redis-B-sECHB8.js} +9 -18
- package/dist/{redis-tRD4nAy_.d.ts → redis-BSCXEwN0.d.cts} +1 -39
- package/dist/{redis-CyTF0SYT.cjs → redis-CyJB1Nt0.cjs} +9 -18
- package/dist/{redis-DsW-Vkwq.d.cts → redis-n80OfSRZ.d.ts} +1 -39
- package/dist/{resolveChannel-DB1XyYCC.js → resolveChannel-CkQhgsxw.js} +6 -11
- package/dist/{resolveChannel-Cug62jvj.cjs → resolveChannel-EJwecI0-.cjs} +6 -11
- package/dist/{rolldown-runtime-C0BPl7ul.cjs → rolldown-runtime-BW-eSwOZ.cjs} +1 -2
- package/dist/{rolldown-runtime-D7D4PA-g.js → rolldown-runtime-D8jQpDG7.js} +1 -2
- package/dist/{schema-CtP5lpU1.js → schema-BTv2xFHz.js} +2 -3
- package/dist/{schema-D9nJKipf.cjs → schema-CKx-cny7.cjs} +2 -3
- package/dist/{schema-B-JLVS42.d.ts → schema-ChcxJMuu.d.ts} +1 -3
- package/dist/{schema-B1i83alz.d.cts → schema-DBTZcufP.d.cts} +1 -3
- package/dist/schemas/zod.cjs +30 -59
- package/dist/schemas/zod.d.cts +0 -56
- package/dist/schemas/zod.d.ts +0 -56
- package/dist/schemas/zod.js +30 -59
- package/dist/schemas.cjs +1 -1
- package/dist/schemas.d.cts +1 -1
- package/dist/schemas.d.ts +1 -1
- package/dist/schemas.js +1 -1
- package/dist/{src-DB0Har0j.cjs → src-B5LvPydi.cjs} +24 -44
- package/dist/{src-DgHZi7PD.js → src-BAkjmW8v.js} +10 -18
- package/dist/{src-DvUBRBe3.js → src-BLZdiWZJ.js} +24 -44
- package/dist/{src-CJ_QE-uc.cjs → src-B_wC-Ff0.cjs} +4 -6
- package/dist/{src-TZx_e95f.cjs → src-BgwAyw-w.cjs} +20 -40
- package/dist/{src-CtWcViFD.cjs → src-C57GsLLI.cjs} +11 -19
- package/dist/{src-DefPAYdi.cjs → src-CILRt8pX.cjs} +33 -56
- package/dist/{src-BK5HcxMN.js → src-CkblS8lK.js} +27 -50
- package/dist/{src-BPxfJblL.js → src-DCLHRLpS.js} +4 -6
- package/dist/{src-Cg49gGJb.js → src-DtejQU3A.js} +20 -40
- package/dist/{vars-obKYxaSu.d.ts → vars-BLXbjxcm.d.cts} +1 -3
- package/dist/{vars-DtzGL5Nc.d.cts → vars-XT7wuxpb.d.ts} +1 -3
- package/dist/vars.cjs +3 -4
- package/dist/vars.d.cts +2 -2
- package/dist/vars.d.ts +2 -2
- package/dist/vars.js +3 -4
- package/package.json +1 -1
- package/dist/prompt-B45cjMsq.d.cts +0 -9
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as EnvSource } from "./EnvSource-
|
|
1
|
+
import { t as EnvSource } from "./EnvSource-DL1wl3j4.js";
|
|
2
2
|
import { resolve } from "node:path";
|
|
3
3
|
import { existsSync, writeFileSync } from "fs";
|
|
4
4
|
import { readFile } from "node:fs/promises";
|
|
5
|
-
|
|
5
|
+
// ../channels/src/channels/default/DefaultEnvChannel.ts
|
|
6
6
|
/**
|
|
7
7
|
* Default implementation of EnvChannel that works with .env files using envrw
|
|
8
8
|
*/
|
|
@@ -31,8 +31,7 @@ var DefaultEnvChannel = class {
|
|
|
31
31
|
await this.envSource.write(values);
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
|
-
|
|
35
|
-
//#region ../channels/src/channels/dotenvx/DotEnvXChannel.ts
|
|
34
|
+
// ../channels/src/channels/dotenvx/DotEnvXChannel.ts
|
|
36
35
|
/**
|
|
37
36
|
* Simple DotEnvX implementation of EnvChannel that wraps @dotenvx/dotenvx library
|
|
38
37
|
* This is just an API mapping wrapper without caching or complex state management
|
|
@@ -101,8 +100,7 @@ var DotEnvXChannel = class {
|
|
|
101
100
|
*/
|
|
102
101
|
clearCache() {}
|
|
103
102
|
};
|
|
104
|
-
|
|
105
|
-
//#region ../channels/src/channels/processenv/ProcessEnvChannel.ts
|
|
103
|
+
// ../channels/src/channels/processenv/ProcessEnvChannel.ts
|
|
106
104
|
/**
|
|
107
105
|
* EnvChannel implementation that works with process.env
|
|
108
106
|
* This channel reads from and writes to the current process environment
|
|
@@ -126,8 +124,7 @@ var ProcessEnvChannel = class {
|
|
|
126
124
|
for (const [key, value] of Object.entries(values)) process.env[key] = value;
|
|
127
125
|
}
|
|
128
126
|
};
|
|
129
|
-
|
|
130
|
-
//#region ../channels/src/channels/dotenv/DotEnvChannel.ts
|
|
127
|
+
// ../channels/src/channels/dotenv/DotEnvChannel.ts
|
|
131
128
|
function isFileNotFound(error) {
|
|
132
129
|
return typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT";
|
|
133
130
|
}
|
|
@@ -181,8 +178,7 @@ var DotEnvChannel = class {
|
|
|
181
178
|
}
|
|
182
179
|
clearCache() {}
|
|
183
180
|
};
|
|
184
|
-
|
|
185
|
-
//#region ../channels/src/resolveChannel.ts
|
|
181
|
+
// ../channels/src/resolveChannel.ts
|
|
186
182
|
/**
|
|
187
183
|
* Resolve channel options into an EnvChannel instance
|
|
188
184
|
* @param options - The channel options to resolve
|
|
@@ -218,5 +214,4 @@ function resolveChannel(options, defaultPath = ".env") {
|
|
|
218
214
|
}
|
|
219
215
|
throw new Error(`Invalid channel options: ${options}`);
|
|
220
216
|
}
|
|
221
|
-
//#endregion
|
|
222
217
|
export { DefaultEnvChannel as a, DotEnvXChannel as i, DotEnvChannel as n, ProcessEnvChannel as r, resolveChannel as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const require_EnvSource = require("./EnvSource-
|
|
1
|
+
const require_EnvSource = require("./EnvSource-B_7XBrZM.cjs");
|
|
2
2
|
let node_path = require("node:path");
|
|
3
3
|
let fs = require("fs");
|
|
4
4
|
let node_fs_promises = require("node:fs/promises");
|
|
5
|
-
|
|
5
|
+
// ../channels/src/channels/default/DefaultEnvChannel.ts
|
|
6
6
|
/**
|
|
7
7
|
* Default implementation of EnvChannel that works with .env files using envrw
|
|
8
8
|
*/
|
|
@@ -31,8 +31,7 @@ var DefaultEnvChannel = class {
|
|
|
31
31
|
await this.envSource.write(values);
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
|
-
|
|
35
|
-
//#region ../channels/src/channels/dotenvx/DotEnvXChannel.ts
|
|
34
|
+
// ../channels/src/channels/dotenvx/DotEnvXChannel.ts
|
|
36
35
|
/**
|
|
37
36
|
* Simple DotEnvX implementation of EnvChannel that wraps @dotenvx/dotenvx library
|
|
38
37
|
* This is just an API mapping wrapper without caching or complex state management
|
|
@@ -101,8 +100,7 @@ var DotEnvXChannel = class {
|
|
|
101
100
|
*/
|
|
102
101
|
clearCache() {}
|
|
103
102
|
};
|
|
104
|
-
|
|
105
|
-
//#region ../channels/src/channels/processenv/ProcessEnvChannel.ts
|
|
103
|
+
// ../channels/src/channels/processenv/ProcessEnvChannel.ts
|
|
106
104
|
/**
|
|
107
105
|
* EnvChannel implementation that works with process.env
|
|
108
106
|
* This channel reads from and writes to the current process environment
|
|
@@ -126,8 +124,7 @@ var ProcessEnvChannel = class {
|
|
|
126
124
|
for (const [key, value] of Object.entries(values)) process.env[key] = value;
|
|
127
125
|
}
|
|
128
126
|
};
|
|
129
|
-
|
|
130
|
-
//#region ../channels/src/channels/dotenv/DotEnvChannel.ts
|
|
127
|
+
// ../channels/src/channels/dotenv/DotEnvChannel.ts
|
|
131
128
|
function isFileNotFound(error) {
|
|
132
129
|
return typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT";
|
|
133
130
|
}
|
|
@@ -181,8 +178,7 @@ var DotEnvChannel = class {
|
|
|
181
178
|
}
|
|
182
179
|
clearCache() {}
|
|
183
180
|
};
|
|
184
|
-
|
|
185
|
-
//#region ../channels/src/resolveChannel.ts
|
|
181
|
+
// ../channels/src/resolveChannel.ts
|
|
186
182
|
/**
|
|
187
183
|
* Resolve channel options into an EnvChannel instance
|
|
188
184
|
* @param options - The channel options to resolve
|
|
@@ -218,7 +214,6 @@ function resolveChannel(options, defaultPath = ".env") {
|
|
|
218
214
|
}
|
|
219
215
|
throw new Error(`Invalid channel options: ${options}`);
|
|
220
216
|
}
|
|
221
|
-
//#endregion
|
|
222
217
|
Object.defineProperty(exports, "DefaultEnvChannel", {
|
|
223
218
|
enumerable: true,
|
|
224
219
|
get: function() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// \0rolldown/runtime.js
|
|
2
2
|
var __create = Object.create;
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -28,7 +28,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
28
|
value: mod,
|
|
29
29
|
enumerable: true
|
|
30
30
|
}) : target, mod));
|
|
31
|
-
//#endregion
|
|
32
31
|
Object.defineProperty(exports, "__exportAll", {
|
|
33
32
|
enumerable: true,
|
|
34
33
|
get: function() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// \0rolldown/runtime.js
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __exportAll = (all, no_symbols) => {
|
|
4
4
|
let target = {};
|
|
@@ -9,5 +9,4 @@ var __exportAll = (all, no_symbols) => {
|
|
|
9
9
|
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
10
10
|
return target;
|
|
11
11
|
};
|
|
12
|
-
//#endregion
|
|
13
12
|
export { __exportAll as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as EnumEnvVarSchema, i as NumberEnvVarSchema, o as BooleanEnvVarSchema, r as StringEnvVarSchema } from "./src-
|
|
2
|
-
|
|
1
|
+
import { a as EnumEnvVarSchema, i as NumberEnvVarSchema, o as BooleanEnvVarSchema, r as StringEnvVarSchema } from "./src-DtejQU3A.js";
|
|
2
|
+
// ../core/src/schemas/schema.ts
|
|
3
3
|
const schema = {
|
|
4
4
|
string: (input = {}) => new StringEnvVarSchema(input),
|
|
5
5
|
number: (input = {}) => new NumberEnvVarSchema(input),
|
|
@@ -7,5 +7,4 @@ const schema = {
|
|
|
7
7
|
enum: (input) => new EnumEnvVarSchema(input)
|
|
8
8
|
};
|
|
9
9
|
const s = schema;
|
|
10
|
-
//#endregion
|
|
11
10
|
export { schema as n, s as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_src = require("./src-
|
|
2
|
-
|
|
1
|
+
const require_src = require("./src-BgwAyw-w.cjs");
|
|
2
|
+
// ../core/src/schemas/schema.ts
|
|
3
3
|
const schema = {
|
|
4
4
|
string: (input = {}) => new require_src.StringEnvVarSchema(input),
|
|
5
5
|
number: (input = {}) => new require_src.NumberEnvVarSchema(input),
|
|
@@ -7,7 +7,6 @@ const schema = {
|
|
|
7
7
|
enum: (input) => new require_src.EnumEnvVarSchema(input)
|
|
8
8
|
};
|
|
9
9
|
const s = schema;
|
|
10
|
-
//#endregion
|
|
11
10
|
Object.defineProperty(exports, "s", {
|
|
12
11
|
enumerable: true,
|
|
13
12
|
get: function() {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { a as EnumEnvVarSchema, c as BooleanEnvVarSchemaInput, i as NumberEnvVarSchemaInput, n as StringEnvVarSchemaInput, o as EnumEnvVarSchemaInput, r as NumberEnvVarSchema, s as BooleanEnvVarSchema, t as StringEnvVarSchema } from "./StringEnvVarSchema-
|
|
2
|
-
//#region ../core/src/schemas/schema.d.ts
|
|
1
|
+
import { a as EnumEnvVarSchema, c as BooleanEnvVarSchemaInput, i as NumberEnvVarSchemaInput, n as StringEnvVarSchemaInput, o as EnumEnvVarSchemaInput, r as NumberEnvVarSchema, s as BooleanEnvVarSchema, t as StringEnvVarSchema } from "./StringEnvVarSchema-CymYIek7.js";
|
|
3
2
|
declare const schema: {
|
|
4
3
|
string: (input?: StringEnvVarSchemaInput) => StringEnvVarSchema;
|
|
5
4
|
number: (input?: NumberEnvVarSchemaInput) => NumberEnvVarSchema;
|
|
@@ -12,5 +11,4 @@ declare const s: {
|
|
|
12
11
|
boolean: (input?: BooleanEnvVarSchemaInput) => BooleanEnvVarSchema;
|
|
13
12
|
enum: <T extends string = string>(input: EnumEnvVarSchemaInput<T>) => EnumEnvVarSchema<T>;
|
|
14
13
|
};
|
|
15
|
-
//#endregion
|
|
16
14
|
export { schema as n, s as t };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { a as EnumEnvVarSchema, c as BooleanEnvVarSchemaInput, i as NumberEnvVarSchemaInput, n as StringEnvVarSchemaInput, o as EnumEnvVarSchemaInput, r as NumberEnvVarSchema, s as BooleanEnvVarSchema, t as StringEnvVarSchema } from "./StringEnvVarSchema-
|
|
2
|
-
//#region ../core/src/schemas/schema.d.ts
|
|
1
|
+
import { a as EnumEnvVarSchema, c as BooleanEnvVarSchemaInput, i as NumberEnvVarSchemaInput, n as StringEnvVarSchemaInput, o as EnumEnvVarSchemaInput, r as NumberEnvVarSchema, s as BooleanEnvVarSchema, t as StringEnvVarSchema } from "./StringEnvVarSchema-CymYIek7.cjs";
|
|
3
2
|
declare const schema: {
|
|
4
3
|
string: (input?: StringEnvVarSchemaInput) => StringEnvVarSchema;
|
|
5
4
|
number: (input?: NumberEnvVarSchemaInput) => NumberEnvVarSchema;
|
|
@@ -12,5 +11,4 @@ declare const s: {
|
|
|
12
11
|
boolean: (input?: BooleanEnvVarSchemaInput) => BooleanEnvVarSchema;
|
|
13
12
|
enum: <T extends string = string>(input: EnumEnvVarSchemaInput<T>) => EnumEnvVarSchema<T>;
|
|
14
13
|
};
|
|
15
|
-
//#endregion
|
|
16
14
|
export { schema as n, s as t };
|
package/dist/schemas/zod.cjs
CHANGED
|
@@ -2,14 +2,13 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_redis = require("../redis-
|
|
5
|
+
const require_redis = require("../redis-CyJB1Nt0.cjs");
|
|
6
6
|
let zod = require("zod");
|
|
7
|
-
|
|
7
|
+
// ../schemas/src/zod/v4/api.ts
|
|
8
8
|
const apiKey = (z) => z.string().describe(require_redis.descriptions$6.apiKey).min(require_redis.constraints$6.apiKeyMinLength, { error: require_redis.messages$6.apiKeyMin });
|
|
9
9
|
const apiBaseUrl = (z) => z.url().describe(require_redis.descriptions$6.apiBaseUrl).regex(require_redis.patterns$5.httpProtocol, { error: require_redis.messages$6.httpProtocolRequired });
|
|
10
10
|
const apiTimeout = (z) => z.number().describe(require_redis.descriptions$6.apiTimeout).int({ error: require_redis.messages$6.apiTimeoutInt }).min(require_redis.constraints$6.apiTimeoutMin, { error: require_redis.messages$6.apiTimeoutMin }).max(require_redis.constraints$6.apiTimeoutMax, { error: require_redis.messages$6.apiTimeoutMax }).default(require_redis.defaults$5.apiTimeout);
|
|
11
|
-
|
|
12
|
-
//#region ../schemas/src/shared/applicationInsights.ts
|
|
11
|
+
// ../schemas/src/shared/applicationInsights.ts
|
|
13
12
|
const descriptions = {
|
|
14
13
|
connectionString: "Azure Application Insights connection string",
|
|
15
14
|
instrumentationKey: "Azure Application Insights instrumentation key (legacy)",
|
|
@@ -43,8 +42,7 @@ const defaults = {
|
|
|
43
42
|
};
|
|
44
43
|
const patterns = { connectionString: /^InstrumentationKey=[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12};IngestionEndpoint=https:\/\/[^;]+;LiveEndpoint=https:\/\/[^;]+$/ };
|
|
45
44
|
const messages = require_redis.toZodMessages(traits);
|
|
46
|
-
|
|
47
|
-
//#region ../schemas/src/zod/v4/applicationInsights.ts
|
|
45
|
+
// ../schemas/src/zod/v4/applicationInsights.ts
|
|
48
46
|
const applicationInsightsConnectionString = (z) => z.string().describe(descriptions.connectionString).regex(patterns.connectionString, { error: messages.connectionStringFormat });
|
|
49
47
|
const appInsightsInstrumentationKey = (z) => z.uuid({ message: messages.instrumentationKeyUuid }).describe(descriptions.instrumentationKey);
|
|
50
48
|
const appInsightsRoleName = (z) => z.string().describe(descriptions.roleName).min(constraints.roleNameMin, { error: messages.roleNameMin }).max(constraints.roleNameMax, { error: messages.roleNameMax });
|
|
@@ -53,25 +51,21 @@ const appInsightsAutocollectDependencies = (z) => z.boolean().describe(descripti
|
|
|
53
51
|
const appInsightsAutocollectExceptions = (z) => z.boolean().describe(descriptions.autoCollectExceptions).default(defaults.autoCollectExceptions);
|
|
54
52
|
const appInsightsAutocollectConsole = (z) => z.boolean().describe(descriptions.autoCollectConsole).default(defaults.autoCollectConsole);
|
|
55
53
|
const appInsightsAutocollectPerformance = (z) => z.boolean().describe(descriptions.autoCollectPerformance).default(defaults.autoCollectPerformance);
|
|
56
|
-
|
|
57
|
-
//#region ../schemas/src/zod/v4/aws.ts
|
|
54
|
+
// ../schemas/src/zod/v4/aws.ts
|
|
58
55
|
const awsAccessKeyId = (z) => z.string().describe(require_redis.descriptions$5.awsAccessKeyId).min(require_redis.constraints$5.awsAccessKeyIdMin, { error: require_redis.messages$5.awsAccessKeyIdMin }).max(require_redis.constraints$5.awsAccessKeyIdMax, { error: require_redis.messages$5.awsAccessKeyIdMax });
|
|
59
56
|
const awsSecretAccessKey = (z) => z.string().describe(require_redis.descriptions$5.awsSecretAccessKey).min(1, { error: require_redis.messages$5.awsSecretAccessKeyRequired });
|
|
60
57
|
const awsRegion = (z) => z.string().describe(require_redis.descriptions$5.awsRegion).regex(require_redis.patterns$4.awsRegion, { error: require_redis.messages$5.awsRegionFormat });
|
|
61
58
|
const awsS3BucketName = (z) => z.string().describe(require_redis.descriptions$5.awsS3BucketName).regex(require_redis.patterns$4.awsS3BucketName, { error: require_redis.messages$5.awsS3BucketNameFormat });
|
|
62
59
|
const awsSqsQueueUrl = (z) => z.string().describe(require_redis.descriptions$5.awsSqsQueueUrl).regex(require_redis.patterns$4.awsSqsQueueUrl, { error: require_redis.messages$5.awsSqsQueueUrlFormat });
|
|
63
|
-
|
|
64
|
-
//#region ../schemas/src/zod/v4/azure.ts
|
|
60
|
+
// ../schemas/src/zod/v4/azure.ts
|
|
65
61
|
const azureStorageConnectionString = (z) => z.string().describe(require_redis.descriptions$5.azureStorageConnectionString).regex(require_redis.patterns$4.azureStorageConnectionString, { message: require_redis.messages$5.azureStorageConnectionStringFormat });
|
|
66
62
|
const azureStorageAccountName = (z) => z.string().describe(require_redis.descriptions$5.azureStorageAccountName).regex(require_redis.patterns$4.azureStorageAccountName, { message: require_redis.messages$5.azureStorageAccountNameFormat });
|
|
67
63
|
const azureStorageAccountKey = (z) => z.string().describe(require_redis.descriptions$5.azureStorageAccountKey).min(1, { message: require_redis.messages$5.azureStorageAccountKeyRequired });
|
|
68
64
|
const azureServiceBusConnectionString = (z) => z.string().describe(require_redis.descriptions$5.azureServiceBusConnectionString).regex(require_redis.patterns$4.azureServiceBusConnectionString, { message: require_redis.messages$5.azureServiceBusConnectionStringFormat });
|
|
69
65
|
const azureEventHubConnectionString = (z) => z.string().describe(require_redis.descriptions$5.azureEventHubConnectionString).regex(require_redis.patterns$4.azureEventHubConnectionString, { message: require_redis.messages$5.azureEventHubConnectionStringFormat });
|
|
70
|
-
|
|
71
|
-
//#region ../schemas/src/zod/v4/memcached.ts
|
|
66
|
+
// ../schemas/src/zod/v4/memcached.ts
|
|
72
67
|
const memcachedServers = (z) => z.string().describe(require_redis.descriptions$5.memcachedServers).regex(require_redis.patterns$4.hostPortList, { message: require_redis.messages$5.hostPortListFormat });
|
|
73
|
-
|
|
74
|
-
//#region ../schemas/src/zod/v4/cors.ts
|
|
68
|
+
// ../schemas/src/zod/v4/cors.ts
|
|
75
69
|
const cors = (z) => z.string().describe(require_redis.descriptions$6.corsOrigin).refine((val) => {
|
|
76
70
|
if (val === "*") return true;
|
|
77
71
|
return val.split(",").map((origin) => origin.trim()).every((origin) => {
|
|
@@ -83,8 +77,7 @@ const cors = (z) => z.string().describe(require_redis.descriptions$6.corsOrigin)
|
|
|
83
77
|
}
|
|
84
78
|
});
|
|
85
79
|
}, { error: require_redis.messages$6.corsOriginInvalid });
|
|
86
|
-
|
|
87
|
-
//#region ../schemas/src/zod/v4/database.ts
|
|
80
|
+
// ../schemas/src/zod/v4/database.ts
|
|
88
81
|
const databaseUrl = (z) => z.string().describe(require_redis.descriptions$4.databaseUrl).regex(require_redis.patterns$3.genericDatabaseUrl, { message: require_redis.messages$4.genericDatabaseUrlFormat });
|
|
89
82
|
const databaseHost = (z) => z.string().describe(require_redis.descriptions$4.databaseHost).min(1, { message: require_redis.messages$4.databaseHostRequired });
|
|
90
83
|
const databasePort = (z) => z.coerce.number().describe(require_redis.descriptions$4.databasePort).int({ message: require_redis.messages$4.databasePortInt }).min(require_redis.constraints$4.databasePortMin, { message: require_redis.messages$4.databasePortMin }).max(require_redis.constraints$4.databasePortMax, { message: require_redis.messages$4.databasePortMax });
|
|
@@ -95,24 +88,19 @@ const databaseSchema = (z) => z.string().describe(require_redis.descriptions$4.d
|
|
|
95
88
|
const databasePoolSize = (z) => z.coerce.number().describe(require_redis.descriptions$4.databasePoolSize).int({ message: require_redis.messages$4.databasePoolSizeInt }).min(require_redis.constraints$4.databasePoolSizeMin, { message: require_redis.messages$4.databasePoolSizeMin }).max(require_redis.constraints$4.databasePoolSizeMax, { message: require_redis.messages$4.databasePoolSizeMax }).default(require_redis.defaults$3.databasePoolSize);
|
|
96
89
|
const databaseTimeout = (z) => z.coerce.number().describe(require_redis.descriptions$4.databaseTimeout).int({ message: require_redis.messages$4.databaseTimeoutInt }).min(require_redis.constraints$4.databaseTimeoutMin, { message: require_redis.messages$4.databaseTimeoutMin }).max(require_redis.constraints$4.databaseTimeoutMax, { message: require_redis.messages$4.databaseTimeoutMax }).default(require_redis.defaults$3.databaseTimeout);
|
|
97
90
|
const databaseSsl = (z) => z.boolean().describe(require_redis.descriptions$4.databaseSsl).default(require_redis.defaults$3.databaseSsl);
|
|
98
|
-
|
|
99
|
-
//#region ../schemas/src/zod/v4/datadog.ts
|
|
91
|
+
// ../schemas/src/zod/v4/datadog.ts
|
|
100
92
|
const datadogApiKey = (z) => z.string().describe(require_redis.descriptions$5.datadogApiKey).length(require_redis.constraints$5.datadogApiKeyLength, { message: require_redis.messages$5.datadogApiKeyLength }).optional();
|
|
101
|
-
|
|
102
|
-
//#region ../schemas/src/zod/v4/docker.ts
|
|
93
|
+
// ../schemas/src/zod/v4/docker.ts
|
|
103
94
|
const dockerRegistryUrl = (z) => z.string().url({ message: require_redis.messages$5.dockerRegistryUrlFormat }).describe(require_redis.descriptions$5.dockerRegistryUrl);
|
|
104
95
|
const dockerRegistryUsername = (z) => z.string().describe(require_redis.descriptions$5.dockerRegistryUsername).optional();
|
|
105
96
|
const dockerRegistryPassword = (z) => z.string().describe(require_redis.descriptions$5.dockerRegistryPassword).optional();
|
|
106
|
-
|
|
107
|
-
//#region ../schemas/src/zod/v4/elasticsearch.ts
|
|
97
|
+
// ../schemas/src/zod/v4/elasticsearch.ts
|
|
108
98
|
const elasticsearchUrl = (z) => z.url({ message: require_redis.messages$5.elasticsearchUrlFormat }).describe(require_redis.descriptions$5.elasticsearchUrl).regex(require_redis.patterns$5.httpProtocol, { message: require_redis.messages$5.elasticsearchUrlProtocol });
|
|
109
99
|
const elasticsearchUsername = (z) => z.string().describe(require_redis.descriptions$5.elasticsearchUsername).optional();
|
|
110
100
|
const elasticsearchPassword = (z) => z.string().describe(require_redis.descriptions$5.elasticsearchPassword).optional();
|
|
111
|
-
|
|
112
|
-
//#region ../schemas/src/zod/v4/encryptionKey.ts
|
|
101
|
+
// ../schemas/src/zod/v4/encryptionKey.ts
|
|
113
102
|
const encryptionKey = (z) => z.string().describe(require_redis.descriptions$6.encryptionKey).min(require_redis.constraints$6.encryptionKeyMinLength, { error: require_redis.messages$6.encryptionKeyMin });
|
|
114
|
-
|
|
115
|
-
//#region ../schemas/src/zod/v4/gel.ts
|
|
103
|
+
// ../schemas/src/zod/v4/gel.ts
|
|
116
104
|
const gelDsn = (z) => z.string().describe(require_redis.descriptions$3.gelDsn).regex(require_redis.patterns$2.gelDsn, { message: require_redis.messages$3.gelDsnFormat });
|
|
117
105
|
const gelInstance = (z) => z.string().describe(require_redis.descriptions$3.gelInstance).regex(require_redis.patterns$2.gelInstance, { message: require_redis.messages$3.gelInstanceFormat });
|
|
118
106
|
const gelSecretKey = (z) => z.string().describe(require_redis.descriptions$3.gelSecretKey).min(1, { message: require_redis.messages$3.gelSecretKeyRequired });
|
|
@@ -128,53 +116,42 @@ const gelClientTlsSecurity = (z) => z.enum([
|
|
|
128
116
|
"insecure"
|
|
129
117
|
]).describe(require_redis.descriptions$3.gelClientTlsSecurity).default(require_redis.defaults$2.gelClientTlsSecurity);
|
|
130
118
|
const gelCredentialsFile = (z) => z.string().describe(require_redis.descriptions$3.gelCredentialsFile).min(1, { message: require_redis.messages$3.gelCredentialsFileFormat }).optional();
|
|
131
|
-
|
|
132
|
-
//#region ../schemas/src/zod/v4/host.ts
|
|
119
|
+
// ../schemas/src/zod/v4/host.ts
|
|
133
120
|
const hostSchema = (z) => z.string().describe(require_redis.descriptions$6.host).default(require_redis.defaults$5.host);
|
|
134
|
-
|
|
135
|
-
//#region ../schemas/src/zod/v4/jwt.ts
|
|
121
|
+
// ../schemas/src/zod/v4/jwt.ts
|
|
136
122
|
const jwtSecret = (z) => z.string().describe(require_redis.descriptions$6.jwtSecret).min(require_redis.constraints$6.jwtSecretMinLength, { error: require_redis.messages$6.jwtSecretMin });
|
|
137
123
|
const jwtAccessTokenExpiresIn = (z) => z.string().describe(require_redis.descriptions$6.jwtAccessTokenExpiresIn).regex(require_redis.patterns$5.jwtTokenDuration, { error: require_redis.messages$6.jwtDurationFormat }).default(require_redis.defaults$5.jwtAccessTokenExpiresIn);
|
|
138
124
|
const jwtRefreshTokenExpiresIn = (z) => z.string().describe(require_redis.descriptions$6.jwtRefreshTokenExpiresIn).regex(require_redis.patterns$5.jwtTokenDuration, { error: require_redis.messages$6.jwtDurationFormat }).default(require_redis.defaults$5.jwtRefreshTokenExpiresIn);
|
|
139
|
-
|
|
140
|
-
//#region ../schemas/src/zod/v4/kafka.ts
|
|
125
|
+
// ../schemas/src/zod/v4/kafka.ts
|
|
141
126
|
const kafkaBrokers = (z) => z.string().describe(require_redis.descriptions$5.kafkaBrokers).regex(require_redis.patterns$4.hostPortList, { message: require_redis.messages$5.hostPortListFormat });
|
|
142
127
|
const kafkaClientId = (z) => z.string().describe(require_redis.descriptions$5.kafkaClientId).min(1, { message: require_redis.messages$5.kafkaClientIdRequired });
|
|
143
|
-
|
|
144
|
-
//#region ../schemas/src/zod/v4/kubernetes.ts
|
|
128
|
+
// ../schemas/src/zod/v4/kubernetes.ts
|
|
145
129
|
const kubernetesNamespace = (z) => z.string().describe(require_redis.descriptions$5.kubernetesNamespace).regex(require_redis.patterns$4.kubernetesName, { message: require_redis.messages$5.kubernetesNameFormat }).default(require_redis.defaults$4.kubernetesNamespace);
|
|
146
130
|
const kubernetesServiceAccount = (z) => z.string().describe(require_redis.descriptions$5.kubernetesServiceAccount).regex(require_redis.patterns$4.kubernetesName, { message: require_redis.messages$5.kubernetesServiceAccountFormat }).optional();
|
|
147
|
-
|
|
148
|
-
//#region ../schemas/src/zod/v4/logLevel.ts
|
|
131
|
+
// ../schemas/src/zod/v4/logLevel.ts
|
|
149
132
|
const logLevelSchema = (z) => z.enum([...require_redis.enumOptions.logLevel]).describe(require_redis.descriptions$6.logLevel).default(require_redis.defaults$5.logLevel);
|
|
150
|
-
|
|
151
|
-
//#region ../schemas/src/zod/v4/rabbitmq.ts
|
|
133
|
+
// ../schemas/src/zod/v4/rabbitmq.ts
|
|
152
134
|
const rabbitmqUrl = (z) => z.string().describe(require_redis.descriptions$5.rabbitmqUrl).regex(require_redis.patterns$4.rabbitmqUrl, { message: require_redis.messages$5.rabbitmqUrlFormat });
|
|
153
|
-
|
|
154
|
-
//#region ../schemas/src/zod/v4/monitoring.ts
|
|
135
|
+
// ../schemas/src/zod/v4/monitoring.ts
|
|
155
136
|
const newRelicLicenseKey = (z) => z.string().describe(require_redis.descriptions$5.newRelicLicenseKey).length(require_redis.constraints$5.newRelicLicenseKeyLength, { message: require_redis.messages$5.newRelicLicenseKeyLength }).optional();
|
|
156
137
|
const sentryDsn = (z) => z.string().describe(require_redis.descriptions$5.sentryDsn).regex(require_redis.patterns$4.sentryDsn, { message: require_redis.messages$5.sentryDsnFormat }).optional();
|
|
157
138
|
const jaegerEndpoint = (z) => z.string().url({ message: require_redis.messages$5.jaegerEndpointFormat }).describe(require_redis.descriptions$5.jaegerEndpoint).optional();
|
|
158
139
|
const prometheusPort = (z) => z.number().describe(require_redis.descriptions$5.prometheusPort).int({ message: require_redis.messages$5.prometheusPortInt }).min(require_redis.constraints$5.prometheusPortMin, { message: require_redis.messages$5.prometheusPortMin }).max(require_redis.constraints$5.prometheusPortMax, { message: require_redis.messages$5.prometheusPortMax }).default(require_redis.defaults$4.prometheusPort);
|
|
159
|
-
|
|
160
|
-
//#region ../schemas/src/zod/v4/node.ts
|
|
140
|
+
// ../schemas/src/zod/v4/node.ts
|
|
161
141
|
const nodeEnv = (z) => z.enum([...require_redis.enumOptions.nodeEnv]).describe(require_redis.descriptions$6.nodeEnv).default(require_redis.defaults$5.nodeEnv);
|
|
162
|
-
|
|
163
|
-
//#region ../schemas/src/zod/v4/oauth.ts
|
|
142
|
+
// ../schemas/src/zod/v4/oauth.ts
|
|
164
143
|
const oauthClientId = (z) => z.string().describe(require_redis.descriptions$2.clientId).min(require_redis.constraints$2.clientIdMinLength, { error: require_redis.messages$2.clientIdRequired });
|
|
165
144
|
const oauthClientSecret = (z) => z.string().describe(require_redis.descriptions$2.clientSecret).min(require_redis.constraints$2.clientSecretMinLength, { error: require_redis.messages$2.clientSecretMinLength });
|
|
166
145
|
const oauthRedirectUri = (z) => z.url({ message: require_redis.messages$2.redirectUriInvalid }).describe(require_redis.descriptions$2.redirectUri);
|
|
167
146
|
const oauthScope = (z) => z.string().describe(require_redis.descriptions$2.scope).min(require_redis.constraints$2.scopeMinLength, { error: require_redis.messages$2.scopeRequired });
|
|
168
|
-
|
|
169
|
-
//#region ../schemas/src/zod/v4/openai.ts
|
|
147
|
+
// ../schemas/src/zod/v4/openai.ts
|
|
170
148
|
const openaiApiKey = (z) => z.string().describe(require_redis.descriptions$1.apiKey).min(require_redis.constraints$1.apiKeyMinLength, { error: require_redis.messages$1.apiKeyMinLength }).regex(require_redis.patterns$1.apiKey, { message: require_redis.messages$1.apiKeyFormat });
|
|
171
149
|
const openaiOrganizationId = (z) => z.string().describe(require_redis.descriptions$1.organizationId).regex(require_redis.patterns$1.organizationId, { message: require_redis.messages$1.organizationFormat }).optional();
|
|
172
150
|
const openaiProjectId = (z) => z.string().describe(require_redis.descriptions$1.projectId).regex(require_redis.patterns$1.projectId, { message: require_redis.messages$1.projectFormat }).optional();
|
|
173
151
|
const openaiBaseUrl = (z) => z.string().describe(require_redis.descriptions$1.baseUrl).url({ message: require_redis.messages$1.baseUrlInvalid }).refine((value) => value.startsWith("https://"), { message: require_redis.messages$1.baseUrlProtocol }).optional();
|
|
174
152
|
const openaiModel = (z) => z.string().describe(require_redis.descriptions$1.model).min(1, { message: require_redis.messages$1.modelRequired }).optional();
|
|
175
153
|
const openaiTimeout = (z) => z.number().describe(require_redis.descriptions$1.timeout).int({ message: require_redis.messages$1.timeoutInteger }).min(require_redis.constraints$1.timeoutMin, { message: require_redis.messages$1.timeoutMin }).max(require_redis.constraints$1.timeoutMax, { message: require_redis.messages$1.timeoutMax }).default(require_redis.defaults$1.timeout);
|
|
176
|
-
|
|
177
|
-
//#region ../schemas/src/zod/v4/redis.ts
|
|
154
|
+
// ../schemas/src/zod/v4/redis.ts
|
|
178
155
|
const redisUrl = (z) => z.string().describe(require_redis.descriptions.url).regex(require_redis.patterns.url, { message: require_redis.messages.urlFormat });
|
|
179
156
|
const redisHost = (z) => z.string().describe(require_redis.descriptions.host).min(1, { message: require_redis.messages.hostRequired }).regex(require_redis.patterns.host, { message: require_redis.messages.hostFormat });
|
|
180
157
|
const redisPort = (z) => z.number().describe(require_redis.descriptions.port).int({ message: require_redis.messages.portInteger }).min(require_redis.constraints.portMin, { message: require_redis.messages.portMin }).max(require_redis.constraints.portMax, { message: require_redis.messages.portMax }).default(require_redis.defaults.port);
|
|
@@ -183,18 +160,14 @@ const redisPassword = (z) => z.string().describe(require_redis.descriptions.pass
|
|
|
183
160
|
const redisDb = (z) => z.number().describe(require_redis.descriptions.db).int({ message: require_redis.messages.dbInteger }).min(require_redis.constraints.dbMin, { message: require_redis.messages.dbRange }).max(require_redis.constraints.dbMax, { message: require_redis.messages.dbRange }).default(require_redis.defaults.db);
|
|
184
161
|
const redisTls = (z) => z.boolean().describe(require_redis.descriptions.tls).default(require_redis.defaults.tls);
|
|
185
162
|
const redisTlsCaCertPath = (z) => z.string().describe(require_redis.descriptions.tlsCaCertPath).min(1, { message: require_redis.messages.tlsCaCertPathRequired });
|
|
186
|
-
|
|
187
|
-
//#region ../schemas/src/zod/v4/port.ts
|
|
163
|
+
// ../schemas/src/zod/v4/port.ts
|
|
188
164
|
const port = (z) => z.coerce.number().describe(require_redis.descriptions$6.port).int({ error: require_redis.messages$6.portInt }).min(require_redis.constraints$6.portMin, { error: require_redis.messages$6.portMin }).max(require_redis.constraints$6.portMax, { error: require_redis.messages$6.portMax }).default(require_redis.defaults$5.port);
|
|
189
|
-
|
|
190
|
-
//#region ../schemas/src/zod/v4/rateLimit.ts
|
|
165
|
+
// ../schemas/src/zod/v4/rateLimit.ts
|
|
191
166
|
const rateLimitRpm = (z) => z.coerce.number().describe(require_redis.descriptions$6.rateLimitRpm).int({ error: require_redis.messages$6.rateLimitRpmInt }).min(require_redis.constraints$6.rateLimitRpmMin, { error: require_redis.messages$6.rateLimitRpmMin }).max(require_redis.constraints$6.rateLimitRpmMax, { error: require_redis.messages$6.rateLimitRpmMax }).default(require_redis.defaults$5.rateLimitRpm);
|
|
192
167
|
const rateLimitWindow = (z) => z.coerce.number().describe(require_redis.descriptions$6.rateLimitWindow).int({ error: require_redis.messages$6.rateLimitWindowInt }).min(require_redis.constraints$6.rateLimitWindowMin, { error: require_redis.messages$6.rateLimitWindowMin }).max(require_redis.constraints$6.rateLimitWindowMax, { error: require_redis.messages$6.rateLimitWindowMax }).default(require_redis.defaults$5.rateLimitWindow);
|
|
193
|
-
|
|
194
|
-
//#region ../schemas/src/zod/v4/webhook.ts
|
|
168
|
+
// ../schemas/src/zod/v4/webhook.ts
|
|
195
169
|
const webhookUrl = (z) => z.url({ message: require_redis.messages$6.mustBeValidUrl }).describe(require_redis.descriptions$6.webhookUrl).regex(require_redis.patterns$5.httpsProtocol, { error: require_redis.messages$6.httpsProtocolRequired });
|
|
196
|
-
|
|
197
|
-
//#region ../schemas/src/zod/v4/index.ts
|
|
170
|
+
// ../schemas/src/zod/v4/index.ts
|
|
198
171
|
var v4_default = (z) => ({
|
|
199
172
|
API_KEY: apiKey(z),
|
|
200
173
|
API_BASE_URL: apiBaseUrl(z),
|
|
@@ -286,10 +259,8 @@ var v4_default = (z) => ({
|
|
|
286
259
|
RATE_LIMIT_WINDOW: rateLimitWindow(z),
|
|
287
260
|
WEBHOOK_URL: webhookUrl(z)
|
|
288
261
|
});
|
|
289
|
-
|
|
290
|
-
//#region src/schemas/zod.ts
|
|
262
|
+
// src/schemas/zod.ts
|
|
291
263
|
var zod_default = v4_default(zod.z);
|
|
292
|
-
//#endregion
|
|
293
264
|
exports.apiBaseUrl = apiBaseUrl;
|
|
294
265
|
exports.apiKey = apiKey;
|
|
295
266
|
exports.apiTimeout = apiTimeout;
|
package/dist/schemas/zod.d.cts
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
//#region ../schemas/src/zod/v4/types.d.ts
|
|
3
2
|
type ZodSingleton = typeof z;
|
|
4
|
-
//#endregion
|
|
5
|
-
//#region ../schemas/src/zod/v4/api.d.ts
|
|
6
3
|
export declare const apiKey: (z: ZodSingleton) => import("zod").ZodString;
|
|
7
4
|
export declare const apiBaseUrl: (z: ZodSingleton) => import("zod").ZodURL;
|
|
8
5
|
export declare const apiTimeout: (z: ZodSingleton) => import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
9
|
-
//#endregion
|
|
10
|
-
//#region ../schemas/src/zod/v4/applicationInsights.d.ts
|
|
11
6
|
export declare const applicationInsightsConnectionString: (z: ZodSingleton) => import("zod").ZodString;
|
|
12
7
|
export declare const appInsightsInstrumentationKey: (z: ZodSingleton) => import("zod").ZodUUID;
|
|
13
8
|
export declare const appInsightsRoleName: (z: ZodSingleton) => import("zod").ZodString;
|
|
@@ -16,28 +11,18 @@ export declare const appInsightsAutocollectDependencies: (z: ZodSingleton) => im
|
|
|
16
11
|
export declare const appInsightsAutocollectExceptions: (z: ZodSingleton) => import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
17
12
|
export declare const appInsightsAutocollectConsole: (z: ZodSingleton) => import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
18
13
|
export declare const appInsightsAutocollectPerformance: (z: ZodSingleton) => import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
19
|
-
//#endregion
|
|
20
|
-
//#region ../schemas/src/zod/v4/aws.d.ts
|
|
21
14
|
export declare const awsAccessKeyId: (z: ZodSingleton) => import("zod").ZodString;
|
|
22
15
|
export declare const awsSecretAccessKey: (z: ZodSingleton) => import("zod").ZodString;
|
|
23
16
|
export declare const awsRegion: (z: ZodSingleton) => import("zod").ZodString;
|
|
24
17
|
export declare const awsS3BucketName: (z: ZodSingleton) => import("zod").ZodString;
|
|
25
18
|
export declare const awsSqsQueueUrl: (z: ZodSingleton) => import("zod").ZodString;
|
|
26
|
-
//#endregion
|
|
27
|
-
//#region ../schemas/src/zod/v4/azure.d.ts
|
|
28
19
|
export declare const azureStorageConnectionString: (z: ZodSingleton) => import("zod").ZodString;
|
|
29
20
|
export declare const azureStorageAccountName: (z: ZodSingleton) => import("zod").ZodString;
|
|
30
21
|
export declare const azureStorageAccountKey: (z: ZodSingleton) => import("zod").ZodString;
|
|
31
22
|
export declare const azureServiceBusConnectionString: (z: ZodSingleton) => import("zod").ZodString;
|
|
32
23
|
export declare const azureEventHubConnectionString: (z: ZodSingleton) => import("zod").ZodString;
|
|
33
|
-
//#endregion
|
|
34
|
-
//#region ../schemas/src/zod/v4/memcached.d.ts
|
|
35
24
|
export declare const memcachedServers: (z: ZodSingleton) => import("zod").ZodString;
|
|
36
|
-
//#endregion
|
|
37
|
-
//#region ../schemas/src/zod/v4/cors.d.ts
|
|
38
25
|
export declare const cors: (z: ZodSingleton) => import("zod").ZodString;
|
|
39
|
-
//#endregion
|
|
40
|
-
//#region ../schemas/src/zod/v4/database.d.ts
|
|
41
26
|
export declare const databaseUrl: (z: ZodSingleton) => import("zod").ZodString;
|
|
42
27
|
export declare const databaseHost: (z: ZodSingleton) => import("zod").ZodString;
|
|
43
28
|
export declare const databasePort: (z: ZodSingleton) => import("zod").ZodCoercedNumber<unknown>;
|
|
@@ -48,24 +33,14 @@ export declare const databaseSchema: (z: ZodSingleton) => import("zod").ZodOptio
|
|
|
48
33
|
export declare const databasePoolSize: (z: ZodSingleton) => import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
49
34
|
export declare const databaseTimeout: (z: ZodSingleton) => import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
50
35
|
export declare const databaseSsl: (z: ZodSingleton) => import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
51
|
-
//#endregion
|
|
52
|
-
//#region ../schemas/src/zod/v4/datadog.d.ts
|
|
53
36
|
export declare const datadogApiKey: (z: ZodSingleton) => import("zod").ZodOptional<import("zod").ZodString>;
|
|
54
|
-
//#endregion
|
|
55
|
-
//#region ../schemas/src/zod/v4/docker.d.ts
|
|
56
37
|
export declare const dockerRegistryUrl: (z: ZodSingleton) => import("zod").ZodString;
|
|
57
38
|
export declare const dockerRegistryUsername: (z: ZodSingleton) => import("zod").ZodOptional<import("zod").ZodString>;
|
|
58
39
|
export declare const dockerRegistryPassword: (z: ZodSingleton) => import("zod").ZodOptional<import("zod").ZodString>;
|
|
59
|
-
//#endregion
|
|
60
|
-
//#region ../schemas/src/zod/v4/elasticsearch.d.ts
|
|
61
40
|
export declare const elasticsearchUrl: (z: ZodSingleton) => import("zod").ZodURL;
|
|
62
41
|
export declare const elasticsearchUsername: (z: ZodSingleton) => import("zod").ZodOptional<import("zod").ZodString>;
|
|
63
42
|
export declare const elasticsearchPassword: (z: ZodSingleton) => import("zod").ZodOptional<import("zod").ZodString>;
|
|
64
|
-
//#endregion
|
|
65
|
-
//#region ../schemas/src/zod/v4/encryptionKey.d.ts
|
|
66
43
|
export declare const encryptionKey: (z: ZodSingleton) => import("zod").ZodString;
|
|
67
|
-
//#endregion
|
|
68
|
-
//#region ../schemas/src/zod/v4/gel.d.ts
|
|
69
44
|
export declare const gelDsn: (z: ZodSingleton) => import("zod").ZodString;
|
|
70
45
|
export declare const gelInstance: (z: ZodSingleton) => import("zod").ZodString;
|
|
71
46
|
export declare const gelSecretKey: (z: ZodSingleton) => import("zod").ZodString;
|
|
@@ -81,24 +56,14 @@ export declare const gelClientTlsSecurity: (z: ZodSingleton) => import("zod").Zo
|
|
|
81
56
|
strict: "strict";
|
|
82
57
|
}>>;
|
|
83
58
|
export declare const gelCredentialsFile: (z: ZodSingleton) => import("zod").ZodOptional<import("zod").ZodString>;
|
|
84
|
-
//#endregion
|
|
85
|
-
//#region ../schemas/src/zod/v4/host.d.ts
|
|
86
59
|
export declare const hostSchema: (z: ZodSingleton) => import("zod").ZodDefault<import("zod").ZodString>;
|
|
87
|
-
//#endregion
|
|
88
|
-
//#region ../schemas/src/zod/v4/jwt.d.ts
|
|
89
60
|
export declare const jwtSecret: (z: ZodSingleton) => import("zod").ZodString;
|
|
90
61
|
export declare const jwtAccessTokenExpiresIn: (z: ZodSingleton) => import("zod").ZodDefault<import("zod").ZodString>;
|
|
91
62
|
export declare const jwtRefreshTokenExpiresIn: (z: ZodSingleton) => import("zod").ZodDefault<import("zod").ZodString>;
|
|
92
|
-
//#endregion
|
|
93
|
-
//#region ../schemas/src/zod/v4/kafka.d.ts
|
|
94
63
|
export declare const kafkaBrokers: (z: ZodSingleton) => import("zod").ZodString;
|
|
95
64
|
export declare const kafkaClientId: (z: ZodSingleton) => import("zod").ZodString;
|
|
96
|
-
//#endregion
|
|
97
|
-
//#region ../schemas/src/zod/v4/kubernetes.d.ts
|
|
98
65
|
export declare const kubernetesNamespace: (z: ZodSingleton) => import("zod").ZodDefault<import("zod").ZodString>;
|
|
99
66
|
export declare const kubernetesServiceAccount: (z: ZodSingleton) => import("zod").ZodOptional<import("zod").ZodString>;
|
|
100
|
-
//#endregion
|
|
101
|
-
//#region ../schemas/src/zod/v4/logLevel.d.ts
|
|
102
67
|
export declare const logLevelSchema: (z: ZodSingleton) => import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
103
68
|
debug: "debug";
|
|
104
69
|
error: "error";
|
|
@@ -106,39 +71,27 @@ export declare const logLevelSchema: (z: ZodSingleton) => import("zod").ZodDefau
|
|
|
106
71
|
trace: "trace";
|
|
107
72
|
warn: "warn";
|
|
108
73
|
}>>;
|
|
109
|
-
//#endregion
|
|
110
|
-
//#region ../schemas/src/zod/v4/rabbitmq.d.ts
|
|
111
74
|
export declare const rabbitmqUrl: (z: ZodSingleton) => import("zod").ZodString;
|
|
112
|
-
//#endregion
|
|
113
|
-
//#region ../schemas/src/zod/v4/monitoring.d.ts
|
|
114
75
|
export declare const newRelicLicenseKey: (z: ZodSingleton) => import("zod").ZodOptional<import("zod").ZodString>;
|
|
115
76
|
export declare const sentryDsn: (z: ZodSingleton) => import("zod").ZodOptional<import("zod").ZodString>;
|
|
116
77
|
export declare const jaegerEndpoint: (z: ZodSingleton) => import("zod").ZodOptional<import("zod").ZodString>;
|
|
117
78
|
export declare const prometheusPort: (z: ZodSingleton) => import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
118
|
-
//#endregion
|
|
119
|
-
//#region ../schemas/src/zod/v4/node.d.ts
|
|
120
79
|
export declare const nodeEnv: (z: ZodSingleton) => import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
121
80
|
development: "development";
|
|
122
81
|
production: "production";
|
|
123
82
|
staging: "staging";
|
|
124
83
|
test: "test";
|
|
125
84
|
}>>;
|
|
126
|
-
//#endregion
|
|
127
|
-
//#region ../schemas/src/zod/v4/oauth.d.ts
|
|
128
85
|
export declare const oauthClientId: (z: ZodSingleton) => import("zod").ZodString;
|
|
129
86
|
export declare const oauthClientSecret: (z: ZodSingleton) => import("zod").ZodString;
|
|
130
87
|
export declare const oauthRedirectUri: (z: ZodSingleton) => import("zod").ZodURL;
|
|
131
88
|
export declare const oauthScope: (z: ZodSingleton) => import("zod").ZodString;
|
|
132
|
-
//#endregion
|
|
133
|
-
//#region ../schemas/src/zod/v4/openai.d.ts
|
|
134
89
|
export declare const openaiApiKey: (z: ZodSingleton) => import("zod").ZodString;
|
|
135
90
|
export declare const openaiOrganizationId: (z: ZodSingleton) => import("zod").ZodOptional<import("zod").ZodString>;
|
|
136
91
|
export declare const openaiProjectId: (z: ZodSingleton) => import("zod").ZodOptional<import("zod").ZodString>;
|
|
137
92
|
export declare const openaiBaseUrl: (z: ZodSingleton) => import("zod").ZodOptional<import("zod").ZodString>;
|
|
138
93
|
export declare const openaiModel: (z: ZodSingleton) => import("zod").ZodOptional<import("zod").ZodString>;
|
|
139
94
|
export declare const openaiTimeout: (z: ZodSingleton) => import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
140
|
-
//#endregion
|
|
141
|
-
//#region ../schemas/src/zod/v4/redis.d.ts
|
|
142
95
|
export declare const redisUrl: (z: ZodSingleton) => import("zod").ZodString;
|
|
143
96
|
export declare const redisHost: (z: ZodSingleton) => import("zod").ZodString;
|
|
144
97
|
export declare const redisPort: (z: ZodSingleton) => import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
@@ -147,18 +100,10 @@ export declare const redisPassword: (z: ZodSingleton) => import("zod").ZodString
|
|
|
147
100
|
export declare const redisDb: (z: ZodSingleton) => import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
148
101
|
export declare const redisTls: (z: ZodSingleton) => import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
149
102
|
export declare const redisTlsCaCertPath: (z: ZodSingleton) => import("zod").ZodString;
|
|
150
|
-
//#endregion
|
|
151
|
-
//#region ../schemas/src/zod/v4/port.d.ts
|
|
152
103
|
export declare const port: (z: ZodSingleton) => import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
153
|
-
//#endregion
|
|
154
|
-
//#region ../schemas/src/zod/v4/rateLimit.d.ts
|
|
155
104
|
export declare const rateLimitRpm: (z: ZodSingleton) => import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
156
105
|
export declare const rateLimitWindow: (z: ZodSingleton) => import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
157
|
-
//#endregion
|
|
158
|
-
//#region ../schemas/src/zod/v4/webhook.d.ts
|
|
159
106
|
export declare const webhookUrl: (z: ZodSingleton) => import("zod").ZodURL;
|
|
160
|
-
//#endregion
|
|
161
|
-
//#region src/schemas/zod.d.ts
|
|
162
107
|
declare const _default: {
|
|
163
108
|
API_KEY: z.ZodString;
|
|
164
109
|
API_BASE_URL: z.ZodURL;
|
|
@@ -265,5 +210,4 @@ declare const _default: {
|
|
|
265
210
|
RATE_LIMIT_WINDOW: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
266
211
|
WEBHOOK_URL: z.ZodURL;
|
|
267
212
|
};
|
|
268
|
-
//#endregion
|
|
269
213
|
export { _default as default };
|