@arkenv/standard 1.0.0-alpha.3 → 1.0.0-alpha.4
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/index.d.cts +5 -4
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +9 -6
package/dist/index.d.cts
CHANGED
|
@@ -6141,8 +6141,7 @@ declare namespace StandardSchemaV1$1 {
|
|
|
6141
6141
|
}
|
|
6142
6142
|
//#endregion
|
|
6143
6143
|
//#region ../internal/utils/dist/index.d.ts
|
|
6144
|
-
//#
|
|
6145
|
-
type Dict<T> = Record<string, T | undefined>; //#endregion
|
|
6144
|
+
//#endregion
|
|
6146
6145
|
//#region ../../../node_modules/.pnpm/@ark+util@0.56.0/node_modules/@ark/util/out/functions.d.ts
|
|
6147
6146
|
type Fn<args extends readonly any[] = readonly any[], returns = unknown> = (...args: args) => returns;
|
|
6148
6147
|
type Thunk<ret = unknown> = () => ret;
|
|
@@ -12169,9 +12168,11 @@ type SafeArkEnvResult<T> = {
|
|
|
12169
12168
|
*/
|
|
12170
12169
|
type ParseStandardConfig = {
|
|
12171
12170
|
/**
|
|
12172
|
-
* The environment variables to parse. Defaults to `process.env
|
|
12171
|
+
* The environment variables to parse. Defaults to `process.env`.
|
|
12172
|
+
*
|
|
12173
|
+
* All values must be strings (or `undefined`) to match `process.env` semantics.
|
|
12173
12174
|
*/
|
|
12174
|
-
env?:
|
|
12175
|
+
env?: Record<string, string | undefined>;
|
|
12175
12176
|
/**
|
|
12176
12177
|
* Control how ArkEnv handles environment variables that are not defined in your schema.
|
|
12177
12178
|
*
|