@arkenv/nextjs 0.0.3 → 0.0.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/README.md +89 -0
- package/dist/client.cjs +2 -0
- package/dist/client.cjs.map +1 -0
- package/dist/client.d.cts +23 -0
- package/dist/client.d.cts.map +1 -0
- package/dist/client.d.ts +23 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +2 -0
- package/dist/client.js.map +1 -0
- package/dist/config.cjs +38 -0
- package/dist/config.cjs.map +1 -0
- package/dist/config.d.cts +71 -0
- package/dist/config.d.cts.map +1 -0
- package/dist/config.d.ts +71 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +38 -0
- package/dist/config.js.map +1 -0
- package/dist/create-env-BfXQtLQM.js +2 -0
- package/dist/create-env-BfXQtLQM.js.map +1 -0
- package/dist/create-env-DDWVuzwL.cjs +2 -0
- package/dist/create-env-DDWVuzwL.cjs.map +1 -0
- package/dist/index-Bn3pRiJy.d.ts +187 -0
- package/dist/index-Bn3pRiJy.d.ts.map +1 -0
- package/dist/index-C6bpQ5GU.d.cts +187 -0
- package/dist/index-C6bpQ5GU.d.cts.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -5
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +7 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react-server.cjs +1 -1
- package/dist/react-server.cjs.map +1 -1
- package/dist/react-server.d.cts +7 -5
- package/dist/react-server.d.cts.map +1 -1
- package/dist/react-server.d.ts +7 -5
- package/dist/react-server.d.ts.map +1 -1
- package/dist/react-server.js +1 -1
- package/dist/react-server.js.map +1 -1
- package/dist/server.cjs +2 -0
- package/dist/server.cjs.map +1 -0
- package/dist/server.d.cts +22 -0
- package/dist/server.d.cts.map +1 -0
- package/dist/server.d.ts +23 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +2 -0
- package/dist/server.js.map +1 -0
- package/dist/shared.cjs +2 -0
- package/dist/shared.cjs.map +1 -0
- package/dist/shared.d.cts +17 -0
- package/dist/shared.d.cts.map +1 -0
- package/dist/shared.d.ts +17 -0
- package/dist/shared.d.ts.map +1 -0
- package/dist/shared.js +2 -0
- package/dist/shared.js.map +1 -0
- package/dist/types-BN4fEChy.d.ts +12 -0
- package/dist/types-BN4fEChy.d.ts.map +1 -0
- package/dist/types-DBqiLw5v.d.cts +12 -0
- package/dist/types-DBqiLw5v.d.cts.map +1 -0
- package/package.json +75 -3
- package/dist/create-env-NTGNQN-0.cjs +0 -2
- package/dist/create-env-NTGNQN-0.cjs.map +0 -1
- package/dist/create-env-u3WlRe7_.js +0 -2
- package/dist/create-env-u3WlRe7_.js.map +0 -1
- package/dist/index-Bu2HxG6d.d.cts +0 -90
- package/dist/index-Bu2HxG6d.d.cts.map +0 -1
- package/dist/index-DLivsH0-.d.ts +0 -90
- package/dist/index-DLivsH0-.d.ts.map +0 -1
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import * as _$arktype from "arktype";
|
|
2
|
+
import { type } from "arktype";
|
|
3
|
+
import * as _$arktype_internal_keywords_string_ts0 from "arktype/internal/keywords/string.ts";
|
|
4
|
+
import * as _$arktype_internal_attributes_ts0 from "arktype/internal/attributes.ts";
|
|
5
|
+
|
|
6
|
+
//#region ../internal/scope/dist/index.d.ts
|
|
7
|
+
//#region src/root.d.ts
|
|
8
|
+
/**
|
|
9
|
+
* The root scope for the ArkEnv library,
|
|
10
|
+
* containing extensions to the ArkType scopes with ArkEnv-specific types
|
|
11
|
+
* like `string.host` and `number.port`.
|
|
12
|
+
*/
|
|
13
|
+
declare const $: _$arktype.Scope<{
|
|
14
|
+
string: _$arktype.Submodule<{
|
|
15
|
+
trim: _$arktype.Submodule<_$arktype_internal_keywords_string_ts0.trim.$ & {
|
|
16
|
+
" arkInferred": (In: string) => _$arktype_internal_attributes_ts0.To<string>;
|
|
17
|
+
}>;
|
|
18
|
+
normalize: _$arktype.Submodule<_$arktype_internal_keywords_string_ts0.normalize.$ & {
|
|
19
|
+
" arkInferred": (In: string) => _$arktype_internal_attributes_ts0.To<string>;
|
|
20
|
+
}>;
|
|
21
|
+
root: string;
|
|
22
|
+
alpha: string;
|
|
23
|
+
alphanumeric: string;
|
|
24
|
+
hex: string;
|
|
25
|
+
base64: _$arktype.Submodule<{
|
|
26
|
+
root: string;
|
|
27
|
+
url: string;
|
|
28
|
+
} & {
|
|
29
|
+
" arkInferred": string;
|
|
30
|
+
}>;
|
|
31
|
+
capitalize: _$arktype.Submodule<_$arktype_internal_keywords_string_ts0.capitalize.$ & {
|
|
32
|
+
" arkInferred": (In: string) => _$arktype_internal_attributes_ts0.To<string>;
|
|
33
|
+
}>;
|
|
34
|
+
creditCard: string;
|
|
35
|
+
date: _$arktype.Submodule<_$arktype_internal_keywords_string_ts0.stringDate.$ & {
|
|
36
|
+
" arkInferred": string;
|
|
37
|
+
}>;
|
|
38
|
+
digits: string;
|
|
39
|
+
email: string;
|
|
40
|
+
integer: _$arktype.Submodule<_$arktype_internal_keywords_string_ts0.stringInteger.$ & {
|
|
41
|
+
" arkInferred": string;
|
|
42
|
+
}>;
|
|
43
|
+
ip: _$arktype.Submodule<_$arktype_internal_keywords_string_ts0.ip.$ & {
|
|
44
|
+
" arkInferred": string;
|
|
45
|
+
}>;
|
|
46
|
+
json: _$arktype.Submodule<_$arktype_internal_keywords_string_ts0.stringJson.$ & {
|
|
47
|
+
" arkInferred": string;
|
|
48
|
+
}>;
|
|
49
|
+
lower: _$arktype.Submodule<_$arktype_internal_keywords_string_ts0.lower.$ & {
|
|
50
|
+
" arkInferred": (In: string) => _$arktype_internal_attributes_ts0.To<string>;
|
|
51
|
+
}>;
|
|
52
|
+
numeric: _$arktype.Submodule<_$arktype_internal_keywords_string_ts0.stringNumeric.$ & {
|
|
53
|
+
" arkInferred": string;
|
|
54
|
+
}>;
|
|
55
|
+
regex: string;
|
|
56
|
+
semver: string;
|
|
57
|
+
upper: _$arktype.Submodule<{
|
|
58
|
+
root: (In: string) => _$arktype_internal_attributes_ts0.To<string>;
|
|
59
|
+
preformatted: string;
|
|
60
|
+
} & {
|
|
61
|
+
" arkInferred": (In: string) => _$arktype_internal_attributes_ts0.To<string>;
|
|
62
|
+
}>;
|
|
63
|
+
url: _$arktype.Submodule<_$arktype_internal_keywords_string_ts0.url.$ & {
|
|
64
|
+
" arkInferred": string;
|
|
65
|
+
}>;
|
|
66
|
+
uuid: _$arktype.Submodule<_$arktype_internal_keywords_string_ts0.uuid.$ & {
|
|
67
|
+
" arkInferred": string;
|
|
68
|
+
}>;
|
|
69
|
+
" arkInferred": string;
|
|
70
|
+
host: string;
|
|
71
|
+
}>;
|
|
72
|
+
number: _$arktype.Submodule<{
|
|
73
|
+
NaN: number;
|
|
74
|
+
Infinity: number;
|
|
75
|
+
root: number;
|
|
76
|
+
integer: number;
|
|
77
|
+
" arkInferred": number;
|
|
78
|
+
epoch: number;
|
|
79
|
+
safe: number;
|
|
80
|
+
NegativeInfinity: number;
|
|
81
|
+
port: number;
|
|
82
|
+
}>;
|
|
83
|
+
}>;
|
|
84
|
+
type $ = (typeof $)["t"]; //#endregion
|
|
85
|
+
//#endregion
|
|
86
|
+
//#region ../internal/types/dist/standard-schema.d.ts
|
|
87
|
+
/**
|
|
88
|
+
* @see https://github.com/standard-schema/standard-schema/tree/3130ce43fdd848d9ab49dbb0458d04f18459961c/packages/spec
|
|
89
|
+
*
|
|
90
|
+
* Copied from standard-schema (MIT License)
|
|
91
|
+
* Copyright (c) 2024 Colin McDannell
|
|
92
|
+
*/
|
|
93
|
+
/** The Standard Typed interface. This is a base type extended by other specs. */
|
|
94
|
+
interface StandardTypedV1<Input = unknown, Output = Input> {
|
|
95
|
+
/** The Standard properties. */
|
|
96
|
+
readonly "~standard": StandardTypedV1.Props<Input, Output>;
|
|
97
|
+
}
|
|
98
|
+
declare namespace StandardTypedV1 {
|
|
99
|
+
/** The Standard Typed properties interface. */
|
|
100
|
+
interface Props<Input = unknown, Output = Input> {
|
|
101
|
+
/** The version number of the standard. */
|
|
102
|
+
readonly version: 1;
|
|
103
|
+
/** The vendor name of the schema library. */
|
|
104
|
+
readonly vendor: string;
|
|
105
|
+
/** Inferred types associated with the schema. */
|
|
106
|
+
readonly types?: Types<Input, Output> | undefined;
|
|
107
|
+
}
|
|
108
|
+
/** The Standard Typed types interface. */
|
|
109
|
+
interface Types<Input = unknown, Output = Input> {
|
|
110
|
+
/** The input type of the schema. */
|
|
111
|
+
readonly input: Input;
|
|
112
|
+
/** The output type of the schema. */
|
|
113
|
+
readonly output: Output;
|
|
114
|
+
}
|
|
115
|
+
/** Infers the input type of a Standard Typed. */
|
|
116
|
+
type InferInput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["input"];
|
|
117
|
+
/** Infers the output type of a Standard Typed. */
|
|
118
|
+
type InferOutput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["output"];
|
|
119
|
+
}
|
|
120
|
+
/** The Standard Schema interface. */
|
|
121
|
+
interface StandardSchemaV1<Input = unknown, Output = Input> {
|
|
122
|
+
/** The Standard Schema properties. */
|
|
123
|
+
readonly "~standard": StandardSchemaV1.Props<Input, Output>;
|
|
124
|
+
}
|
|
125
|
+
declare namespace StandardSchemaV1 {
|
|
126
|
+
/** The Standard Schema properties interface. */
|
|
127
|
+
interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> {
|
|
128
|
+
/** Validates unknown input values. */
|
|
129
|
+
readonly validate: (value: unknown, options?: StandardSchemaV1.Options | undefined) => Result<Output> | Promise<Result<Output>>;
|
|
130
|
+
}
|
|
131
|
+
/** The result interface of the validate function. */
|
|
132
|
+
type Result<Output> = SuccessResult<Output> | FailureResult;
|
|
133
|
+
/** The result interface if validation succeeds. */
|
|
134
|
+
interface SuccessResult<Output> {
|
|
135
|
+
/** The typed output value. */
|
|
136
|
+
readonly value: Output;
|
|
137
|
+
/** A falsy value for `issues` indicates success. */
|
|
138
|
+
readonly issues?: undefined;
|
|
139
|
+
}
|
|
140
|
+
interface Options {
|
|
141
|
+
/** Explicit support for additional vendor-specific parameters, if needed. */
|
|
142
|
+
readonly libraryOptions?: Record<string, unknown> | undefined;
|
|
143
|
+
}
|
|
144
|
+
/** The result interface if validation fails. */
|
|
145
|
+
interface FailureResult {
|
|
146
|
+
/** The issues of failed validation. */
|
|
147
|
+
readonly issues: ReadonlyArray<Issue>;
|
|
148
|
+
}
|
|
149
|
+
/** The issue interface of the failure output. */
|
|
150
|
+
interface Issue {
|
|
151
|
+
/** The error message of the issue. */
|
|
152
|
+
readonly message: string;
|
|
153
|
+
/** The path of the issue, if any. */
|
|
154
|
+
readonly path?: ReadonlyArray<PropertyKey | PathSegment> | undefined;
|
|
155
|
+
}
|
|
156
|
+
/** The path segment interface of the issue. */
|
|
157
|
+
interface PathSegment {
|
|
158
|
+
/** The key representing a path segment. */
|
|
159
|
+
readonly key: PropertyKey;
|
|
160
|
+
}
|
|
161
|
+
/** The Standard types interface. */
|
|
162
|
+
interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> {}
|
|
163
|
+
/** Infers the input type of a Standard. */
|
|
164
|
+
type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>;
|
|
165
|
+
/** Infers the output type of a Standard. */
|
|
166
|
+
type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;
|
|
167
|
+
}
|
|
168
|
+
//#endregion
|
|
169
|
+
//#region ../internal/types/dist/infer-type.d.ts
|
|
170
|
+
/**
|
|
171
|
+
* Extract the inferred type from a schema definition.
|
|
172
|
+
* Supports both ArkType type definitions and Standard Schema 1.0 validators.
|
|
173
|
+
*
|
|
174
|
+
* For Standard Schema validators (e.g., Zod, Valibot), extracts the output type.
|
|
175
|
+
* For ArkType definitions, checks the call signature or type properties.
|
|
176
|
+
*
|
|
177
|
+
* @template T - The schema definition to infer from
|
|
178
|
+
*/
|
|
179
|
+
type InferType<T> = T extends StandardSchemaV1<infer _Input, infer Output> ? Output : T extends ((value: Record<string, string | undefined>) => infer R) ? R extends type.errors ? never : R : T extends {
|
|
180
|
+
t: infer U;
|
|
181
|
+
} ? U : T extends type.Any<infer U, infer _Scope> ? U : never;
|
|
182
|
+
//#endregion
|
|
183
|
+
//#region ../internal/types/dist/schema.d.ts
|
|
184
|
+
type SchemaShape = Record<string, unknown>;
|
|
185
|
+
//#endregion
|
|
186
|
+
export { InferType as n, $ as r, SchemaShape as t };
|
|
187
|
+
//# sourceMappingURL=index-Bn3pRiJy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-Bn3pRiJy.d.ts","names":["_$arktype","_$arktype_internal_keywords_string_ts0","_$arktype_internal_attributes_ts0","$","trim","To","Submodule","normalize","capitalize","stringDate","stringInteger","ip","stringJson","lower","stringNumeric","url","uuid","Scope","string","In","root","alpha","alphanumeric","hex","base64","creditCard","date","digits","email","integer","json","numeric","regex","semver","upper","preformatted","host","number","NaN","Infinity","epoch","safe","NegativeInfinity","port","StandardTypedV1","Input","Output","Props","Schema","Types","NonNullable","version","vendor","types","input","output","InferInput","InferOutput","StandardSchemaV1","Options","Result","Promise","SuccessResult","FailureResult","Record","Issue","ReadonlyArray","PropertyKey","PathSegment","validate","value","options","issues","libraryOptions","message","path","key","StandardJSONSchemaV1","Converter","Target","jsonSchema","target","type","StandardSchemaV1","InferType","T","Record","errors","Any","_Input","Output","value","R","t","U","_Scope","$","Type","SchemaShape","Record","CompiledEnvSchema"],"sources":["../../internal/scope/dist/index.d.ts","../../internal/types/dist/standard-schema.d.ts","../../internal/types/dist/infer-type.d.ts","../../internal/types/dist/schema.d.ts"],"mappings":";;;;;;;;AAEoF;;;;cAQtEG,CAAAA,EAAGH,SAAAA,CAAUiB,KAAAA;EACzBC,MAAAA,EAAQlB,SAAAA,CAAUM,SAAAA;IAChBF,IAAAA,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,CAAcC,WAAAA,GAAcC,WAAAA;EAAAA;EDjDhDhD;EAAAA,UCoDUgD,WAAAA;IDlDV9C;IAAAA,SCoDasD,GAAAA,EAAKT,WAAAA;EAAAA;EDlDVnE;EAAAA,UCqDEiD,KAAAA,2BAAgCJ,KAAAA,UAAeD,eAAAA,CAAgBK,KAAAA,CAAMJ,KAAAA,EAAOC,MAAAA;EDnDpF/B;EAAAA,KCsDGyC,UAAAA,gBAA0BZ,eAAAA,IAAmBA,eAAAA,CAAgBY,UAAAA,CAAWR,MAAAA;EDlD7ExC;EAAAA,KCoDKiD,WAAAA,gBAA2Bb,eAAAA,IAAmBA,eAAAA,CAAgBa,WAAAA,CAAYT,MAAAA;AAAAA;;;;;;;AD9EC;;;;;KESxEoC,SAAAA,MAAeC,CAAAA,SAAUF,gBAAAA,+BAA+CO,MAAAA,GAASL,CAAAA,WAAWM,KAAAA,EAAOL,MAAAA,4CAAiDM,CAAAA,SAAUV,IAAAA,CAAKK,MAAAA,WAAiBK,CAAAA,GAAIP,CAAAA;EAChMQ,CAAAA;AAAAA,IACAC,CAAAA,GAAIT,CAAAA,SAAUH,IAAAA,CAAKM,GAAAA,0BAA6BM,CAAAA;;;KCXxCI,WAAAA,GAAcC,MAAAA"}
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import * as _$arktype from "arktype";
|
|
2
|
+
import { type } from "arktype";
|
|
3
|
+
import * as _$arktype_internal_keywords_string_ts0 from "arktype/internal/keywords/string.ts";
|
|
4
|
+
import * as _$arktype_internal_attributes_ts0 from "arktype/internal/attributes.ts";
|
|
5
|
+
|
|
6
|
+
//#region ../internal/scope/dist/index.d.ts
|
|
7
|
+
//#region src/root.d.ts
|
|
8
|
+
/**
|
|
9
|
+
* The root scope for the ArkEnv library,
|
|
10
|
+
* containing extensions to the ArkType scopes with ArkEnv-specific types
|
|
11
|
+
* like `string.host` and `number.port`.
|
|
12
|
+
*/
|
|
13
|
+
declare const $: _$arktype.Scope<{
|
|
14
|
+
string: _$arktype.Submodule<{
|
|
15
|
+
trim: _$arktype.Submodule<_$arktype_internal_keywords_string_ts0.trim.$ & {
|
|
16
|
+
" arkInferred": (In: string) => _$arktype_internal_attributes_ts0.To<string>;
|
|
17
|
+
}>;
|
|
18
|
+
normalize: _$arktype.Submodule<_$arktype_internal_keywords_string_ts0.normalize.$ & {
|
|
19
|
+
" arkInferred": (In: string) => _$arktype_internal_attributes_ts0.To<string>;
|
|
20
|
+
}>;
|
|
21
|
+
root: string;
|
|
22
|
+
alpha: string;
|
|
23
|
+
alphanumeric: string;
|
|
24
|
+
hex: string;
|
|
25
|
+
base64: _$arktype.Submodule<{
|
|
26
|
+
root: string;
|
|
27
|
+
url: string;
|
|
28
|
+
} & {
|
|
29
|
+
" arkInferred": string;
|
|
30
|
+
}>;
|
|
31
|
+
capitalize: _$arktype.Submodule<_$arktype_internal_keywords_string_ts0.capitalize.$ & {
|
|
32
|
+
" arkInferred": (In: string) => _$arktype_internal_attributes_ts0.To<string>;
|
|
33
|
+
}>;
|
|
34
|
+
creditCard: string;
|
|
35
|
+
date: _$arktype.Submodule<_$arktype_internal_keywords_string_ts0.stringDate.$ & {
|
|
36
|
+
" arkInferred": string;
|
|
37
|
+
}>;
|
|
38
|
+
digits: string;
|
|
39
|
+
email: string;
|
|
40
|
+
integer: _$arktype.Submodule<_$arktype_internal_keywords_string_ts0.stringInteger.$ & {
|
|
41
|
+
" arkInferred": string;
|
|
42
|
+
}>;
|
|
43
|
+
ip: _$arktype.Submodule<_$arktype_internal_keywords_string_ts0.ip.$ & {
|
|
44
|
+
" arkInferred": string;
|
|
45
|
+
}>;
|
|
46
|
+
json: _$arktype.Submodule<_$arktype_internal_keywords_string_ts0.stringJson.$ & {
|
|
47
|
+
" arkInferred": string;
|
|
48
|
+
}>;
|
|
49
|
+
lower: _$arktype.Submodule<_$arktype_internal_keywords_string_ts0.lower.$ & {
|
|
50
|
+
" arkInferred": (In: string) => _$arktype_internal_attributes_ts0.To<string>;
|
|
51
|
+
}>;
|
|
52
|
+
numeric: _$arktype.Submodule<_$arktype_internal_keywords_string_ts0.stringNumeric.$ & {
|
|
53
|
+
" arkInferred": string;
|
|
54
|
+
}>;
|
|
55
|
+
regex: string;
|
|
56
|
+
semver: string;
|
|
57
|
+
upper: _$arktype.Submodule<{
|
|
58
|
+
root: (In: string) => _$arktype_internal_attributes_ts0.To<string>;
|
|
59
|
+
preformatted: string;
|
|
60
|
+
} & {
|
|
61
|
+
" arkInferred": (In: string) => _$arktype_internal_attributes_ts0.To<string>;
|
|
62
|
+
}>;
|
|
63
|
+
url: _$arktype.Submodule<_$arktype_internal_keywords_string_ts0.url.$ & {
|
|
64
|
+
" arkInferred": string;
|
|
65
|
+
}>;
|
|
66
|
+
uuid: _$arktype.Submodule<_$arktype_internal_keywords_string_ts0.uuid.$ & {
|
|
67
|
+
" arkInferred": string;
|
|
68
|
+
}>;
|
|
69
|
+
" arkInferred": string;
|
|
70
|
+
host: string;
|
|
71
|
+
}>;
|
|
72
|
+
number: _$arktype.Submodule<{
|
|
73
|
+
NaN: number;
|
|
74
|
+
Infinity: number;
|
|
75
|
+
root: number;
|
|
76
|
+
integer: number;
|
|
77
|
+
" arkInferred": number;
|
|
78
|
+
epoch: number;
|
|
79
|
+
safe: number;
|
|
80
|
+
NegativeInfinity: number;
|
|
81
|
+
port: number;
|
|
82
|
+
}>;
|
|
83
|
+
}>;
|
|
84
|
+
type $ = (typeof $)["t"]; //#endregion
|
|
85
|
+
//#endregion
|
|
86
|
+
//#region ../internal/types/dist/standard-schema.d.ts
|
|
87
|
+
/**
|
|
88
|
+
* @see https://github.com/standard-schema/standard-schema/tree/3130ce43fdd848d9ab49dbb0458d04f18459961c/packages/spec
|
|
89
|
+
*
|
|
90
|
+
* Copied from standard-schema (MIT License)
|
|
91
|
+
* Copyright (c) 2024 Colin McDannell
|
|
92
|
+
*/
|
|
93
|
+
/** The Standard Typed interface. This is a base type extended by other specs. */
|
|
94
|
+
interface StandardTypedV1<Input = unknown, Output = Input> {
|
|
95
|
+
/** The Standard properties. */
|
|
96
|
+
readonly "~standard": StandardTypedV1.Props<Input, Output>;
|
|
97
|
+
}
|
|
98
|
+
declare namespace StandardTypedV1 {
|
|
99
|
+
/** The Standard Typed properties interface. */
|
|
100
|
+
interface Props<Input = unknown, Output = Input> {
|
|
101
|
+
/** The version number of the standard. */
|
|
102
|
+
readonly version: 1;
|
|
103
|
+
/** The vendor name of the schema library. */
|
|
104
|
+
readonly vendor: string;
|
|
105
|
+
/** Inferred types associated with the schema. */
|
|
106
|
+
readonly types?: Types<Input, Output> | undefined;
|
|
107
|
+
}
|
|
108
|
+
/** The Standard Typed types interface. */
|
|
109
|
+
interface Types<Input = unknown, Output = Input> {
|
|
110
|
+
/** The input type of the schema. */
|
|
111
|
+
readonly input: Input;
|
|
112
|
+
/** The output type of the schema. */
|
|
113
|
+
readonly output: Output;
|
|
114
|
+
}
|
|
115
|
+
/** Infers the input type of a Standard Typed. */
|
|
116
|
+
type InferInput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["input"];
|
|
117
|
+
/** Infers the output type of a Standard Typed. */
|
|
118
|
+
type InferOutput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["output"];
|
|
119
|
+
}
|
|
120
|
+
/** The Standard Schema interface. */
|
|
121
|
+
interface StandardSchemaV1<Input = unknown, Output = Input> {
|
|
122
|
+
/** The Standard Schema properties. */
|
|
123
|
+
readonly "~standard": StandardSchemaV1.Props<Input, Output>;
|
|
124
|
+
}
|
|
125
|
+
declare namespace StandardSchemaV1 {
|
|
126
|
+
/** The Standard Schema properties interface. */
|
|
127
|
+
interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> {
|
|
128
|
+
/** Validates unknown input values. */
|
|
129
|
+
readonly validate: (value: unknown, options?: StandardSchemaV1.Options | undefined) => Result<Output> | Promise<Result<Output>>;
|
|
130
|
+
}
|
|
131
|
+
/** The result interface of the validate function. */
|
|
132
|
+
type Result<Output> = SuccessResult<Output> | FailureResult;
|
|
133
|
+
/** The result interface if validation succeeds. */
|
|
134
|
+
interface SuccessResult<Output> {
|
|
135
|
+
/** The typed output value. */
|
|
136
|
+
readonly value: Output;
|
|
137
|
+
/** A falsy value for `issues` indicates success. */
|
|
138
|
+
readonly issues?: undefined;
|
|
139
|
+
}
|
|
140
|
+
interface Options {
|
|
141
|
+
/** Explicit support for additional vendor-specific parameters, if needed. */
|
|
142
|
+
readonly libraryOptions?: Record<string, unknown> | undefined;
|
|
143
|
+
}
|
|
144
|
+
/** The result interface if validation fails. */
|
|
145
|
+
interface FailureResult {
|
|
146
|
+
/** The issues of failed validation. */
|
|
147
|
+
readonly issues: ReadonlyArray<Issue>;
|
|
148
|
+
}
|
|
149
|
+
/** The issue interface of the failure output. */
|
|
150
|
+
interface Issue {
|
|
151
|
+
/** The error message of the issue. */
|
|
152
|
+
readonly message: string;
|
|
153
|
+
/** The path of the issue, if any. */
|
|
154
|
+
readonly path?: ReadonlyArray<PropertyKey | PathSegment> | undefined;
|
|
155
|
+
}
|
|
156
|
+
/** The path segment interface of the issue. */
|
|
157
|
+
interface PathSegment {
|
|
158
|
+
/** The key representing a path segment. */
|
|
159
|
+
readonly key: PropertyKey;
|
|
160
|
+
}
|
|
161
|
+
/** The Standard types interface. */
|
|
162
|
+
interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> {}
|
|
163
|
+
/** Infers the input type of a Standard. */
|
|
164
|
+
type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>;
|
|
165
|
+
/** Infers the output type of a Standard. */
|
|
166
|
+
type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;
|
|
167
|
+
}
|
|
168
|
+
//#endregion
|
|
169
|
+
//#region ../internal/types/dist/infer-type.d.ts
|
|
170
|
+
/**
|
|
171
|
+
* Extract the inferred type from a schema definition.
|
|
172
|
+
* Supports both ArkType type definitions and Standard Schema 1.0 validators.
|
|
173
|
+
*
|
|
174
|
+
* For Standard Schema validators (e.g., Zod, Valibot), extracts the output type.
|
|
175
|
+
* For ArkType definitions, checks the call signature or type properties.
|
|
176
|
+
*
|
|
177
|
+
* @template T - The schema definition to infer from
|
|
178
|
+
*/
|
|
179
|
+
type InferType<T> = T extends StandardSchemaV1<infer _Input, infer Output> ? Output : T extends ((value: Record<string, string | undefined>) => infer R) ? R extends type.errors ? never : R : T extends {
|
|
180
|
+
t: infer U;
|
|
181
|
+
} ? U : T extends type.Any<infer U, infer _Scope> ? U : never;
|
|
182
|
+
//#endregion
|
|
183
|
+
//#region ../internal/types/dist/schema.d.ts
|
|
184
|
+
type SchemaShape = Record<string, unknown>;
|
|
185
|
+
//#endregion
|
|
186
|
+
export { InferType as n, $ as r, SchemaShape as t };
|
|
187
|
+
//# sourceMappingURL=index-C6bpQ5GU.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-C6bpQ5GU.d.cts","names":["_$arktype","_$arktype_internal_keywords_string_ts0","_$arktype_internal_attributes_ts0","$","trim","To","Submodule","normalize","capitalize","stringDate","stringInteger","ip","stringJson","lower","stringNumeric","url","uuid","Scope","string","In","root","alpha","alphanumeric","hex","base64","creditCard","date","digits","email","integer","json","numeric","regex","semver","upper","preformatted","host","number","NaN","Infinity","epoch","safe","NegativeInfinity","port","StandardTypedV1","Input","Output","Props","Schema","Types","NonNullable","version","vendor","types","input","output","InferInput","InferOutput","StandardSchemaV1","Options","Result","Promise","SuccessResult","FailureResult","Record","Issue","ReadonlyArray","PropertyKey","PathSegment","validate","value","options","issues","libraryOptions","message","path","key","StandardJSONSchemaV1","Converter","Target","jsonSchema","target","type","StandardSchemaV1","InferType","T","Record","errors","Any","_Input","Output","value","R","t","U","_Scope","$","Type","SchemaShape","Record","CompiledEnvSchema"],"sources":["../../internal/scope/dist/index.d.ts","../../internal/types/dist/standard-schema.d.ts","../../internal/types/dist/infer-type.d.ts","../../internal/types/dist/schema.d.ts"],"mappings":";;;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AA;ED7CJhE;EAAAA,UCgDrBgE,KAAAA;IDhDsE9D;IAAAA,SCkDnEuE,OAAAA;IDjDMvD;IAAAA,SCmDNwD,IAAAA,GAAOT,aAAAA,CAAcC,WAAAA,GAAcC,WAAAA;EAAAA;EDjDhDhD;EAAAA,UCoDUgD,WAAAA;IDlDV9C;IAAAA,SCoDasD,GAAAA,EAAKT,WAAAA;EAAAA;EDlDVnE;EAAAA,UCqDEiD,KAAAA,2BAAgCJ,KAAAA,UAAeD,eAAAA,CAAgBK,KAAAA,CAAMJ,KAAAA,EAAOC,MAAAA;EDnDpF/B;EAAAA,KCsDGyC,UAAAA,gBAA0BZ,eAAAA,IAAmBA,eAAAA,CAAgBY,UAAAA,CAAWR,MAAAA;EDlD7ExC;EAAAA,KCoDKiD,WAAAA,gBAA2Bb,eAAAA,IAAmBA,eAAAA,CAAgBa,WAAAA,CAAYT,MAAAA;AAAAA;;;;;;;AD9EC;;;;;KESxEoC,SAAAA,MAAeC,CAAAA,SAAUF,gBAAAA,+BAA+CO,MAAAA,GAASL,CAAAA,WAAWM,KAAAA,EAAOL,MAAAA,4CAAiDM,CAAAA,SAAUV,IAAAA,CAAKK,MAAAA,WAAiBK,CAAAA,GAAIP,CAAAA;EAChMQ,CAAAA;AAAAA,IACAC,CAAAA,GAAIT,CAAAA,SAAUH,IAAAA,CAAKM,GAAAA,0BAA6BM,CAAAA;;;KCXxCI,WAAAA,GAAcC,MAAAA"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require(`./create-env-
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require(`./create-env-DDWVuzwL.cjs`);require(`./config.cjs`);let t=require(`arkenv`);function n(t){return e.t(t,!1)}const r=n;exports.createEnv=n,exports.default=r,Object.defineProperty(exports,`type`,{enumerable:!0,get:function(){return t.type}});
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","names":["createEnvInternal","arkenv"],"sources":["../src/index.ts"],"sourcesContent":["import type {
|
|
1
|
+
{"version":3,"file":"index.cjs","names":["createEnvInternal","arkenv"],"sources":["../src/index.ts"],"sourcesContent":["import type { SchemaShape } from \"@repo/types\";\nimport type { EnvSchema, Infer } from \"arkenv\";\nimport { createEnvInternal } from \"./create-env\";\n\n/**\n * Create a validated, type-safe environment configuration for Next.js applications (Client-side / SSR entry point).\n *\n * @param options The environment validation configuration options\n * @returns A validated, readonly environment variables object wrapped in a security proxy\n * @throws An error if any client-side variable is not prefixed with `NEXT_PUBLIC_`\n * @throws An error if any client or shared variable is missing from `runtimeEnv`\n * @deprecated Use the codegen workflow by wrapping your config with `withArkEnv` from `@arkenv/nextjs/config` and importing `createEnv` from `./env.gen.ts`.\n */\nexport function createEnv<\n\tconst TServer extends SchemaShape = {},\n\tconst TClient extends SchemaShape = {},\n\tconst TShared extends SchemaShape = {},\n>(options: {\n\tserver?: EnvSchema<TServer>;\n\tclient?: EnvSchema<TClient> & {\n\t\t[K in keyof TClient]: K extends `NEXT_PUBLIC_${string}` ? unknown : never;\n\t};\n\tshared?: EnvSchema<TShared>;\n\truntimeEnv: Record<keyof TClient | keyof TShared, unknown> &\n\t\tRecord<string, unknown>;\n}): Readonly<Infer<TServer & TClient & TShared>> {\n\ttype ReturnType = Readonly<Infer<TServer & TClient & TShared>>;\n\treturn createEnvInternal(options, false) as ReturnType;\n}\n\nexport type { Infer } from \"arkenv\";\nexport { type } from \"arkenv\";\n\n/**\n * ArkEnv's Next.js integration export, an alias for {@link createEnv}\n *\n * {@link https://arkenv.js.org | ArkEnv} is a typesafe environment variables validator from editor to runtime.\n *\n * @deprecated Use the codegen workflow by wrapping your config with `withArkEnv` from `@arkenv/nextjs/config` and importing `createEnv` from `./env.gen.ts`.\n */\nconst arkenv = createEnv;\nexport default arkenv;\n"],"mappings":"4LAaA,SAAgB,EAId,EAQ+C,CAEhD,OAAOA,EAAAA,EAAkB,EAAS,GAAM,CAazC,MAAMC,EAAS"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { EnvSchema, type } from "arkenv";
|
|
1
|
+
import { t as SchemaShape } from "./index-C6bpQ5GU.cjs";
|
|
2
|
+
import { EnvSchema, Infer, Infer as Infer$1, type } from "arkenv";
|
|
4
3
|
|
|
5
4
|
//#region src/index.d.ts
|
|
6
5
|
/**
|
|
@@ -10,19 +9,22 @@ import { EnvSchema, type } from "arkenv";
|
|
|
10
9
|
* @returns A validated, readonly environment variables object wrapped in a security proxy
|
|
11
10
|
* @throws An error if any client-side variable is not prefixed with `NEXT_PUBLIC_`
|
|
12
11
|
* @throws An error if any client or shared variable is missing from `runtimeEnv`
|
|
12
|
+
* @deprecated Use the codegen workflow by wrapping your config with `withArkEnv` from `@arkenv/nextjs/config` and importing `createEnv` from `./env.gen.ts`.
|
|
13
13
|
*/
|
|
14
14
|
declare function createEnv<const TServer extends SchemaShape = {}, const TClient extends SchemaShape = {}, const TShared extends SchemaShape = {}>(options: {
|
|
15
15
|
server?: EnvSchema<TServer>;
|
|
16
16
|
client?: EnvSchema<TClient> & { [K in keyof TClient]: K extends `NEXT_PUBLIC_${string}` ? unknown : never };
|
|
17
17
|
shared?: EnvSchema<TShared>;
|
|
18
18
|
runtimeEnv: Record<keyof TClient | keyof TShared, unknown> & Record<string, unknown>;
|
|
19
|
-
}): Readonly<
|
|
19
|
+
}): Readonly<Infer$1<TServer & TClient & TShared>>;
|
|
20
20
|
/**
|
|
21
21
|
* ArkEnv's Next.js integration export, an alias for {@link createEnv}
|
|
22
22
|
*
|
|
23
23
|
* {@link https://arkenv.js.org | ArkEnv} is a typesafe environment variables validator from editor to runtime.
|
|
24
|
+
*
|
|
25
|
+
* @deprecated Use the codegen workflow by wrapping your config with `withArkEnv` from `@arkenv/nextjs/config` and importing `createEnv` from `./env.gen.ts`.
|
|
24
26
|
*/
|
|
25
27
|
declare const arkenv: typeof createEnv;
|
|
26
28
|
//#endregion
|
|
27
|
-
export { createEnv, arkenv as default, type };
|
|
29
|
+
export { type Infer, createEnv, arkenv as default, type };
|
|
28
30
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;AAaA;;;;;;;iBAAgB,SAAA,uBACO,WAAA,6BACA,WAAA,6BACA,WAAA,MAAA,CACrB,OAAA;EACD,MAAA,GAAS,SAAA,CAAU,OAAA;EACnB,MAAA,GAAS,SAAA,CAAU,OAAA,kBACN,OAAA,GAAU,CAAA;EAEvB,MAAA,GAAS,SAAA,CAAU,OAAA;EACnB,UAAA,EAAY,MAAA,OAAa,OAAA,SAAgB,OAAA,aACxC,MAAA;AAAA,IACE,QAAA,CAAS,OAAA,CAAM,OAAA,GAAU,OAAA,GAAU,OAAA;;;;;;;;cAejC,MAAA,SAAM,SAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { EnvSchema, type } from "arkenv";
|
|
3
|
-
import { distill, type as type$1 } from "arktype";
|
|
1
|
+
import { t as SchemaShape } from "./index-Bn3pRiJy.js";
|
|
2
|
+
import { EnvSchema, Infer, Infer as Infer$1, type } from "arkenv";
|
|
4
3
|
|
|
5
4
|
//#region src/index.d.ts
|
|
6
5
|
/**
|
|
@@ -10,19 +9,22 @@ import { distill, type as type$1 } from "arktype";
|
|
|
10
9
|
* @returns A validated, readonly environment variables object wrapped in a security proxy
|
|
11
10
|
* @throws An error if any client-side variable is not prefixed with `NEXT_PUBLIC_`
|
|
12
11
|
* @throws An error if any client or shared variable is missing from `runtimeEnv`
|
|
12
|
+
* @deprecated Use the codegen workflow by wrapping your config with `withArkEnv` from `@arkenv/nextjs/config` and importing `createEnv` from `./env.gen.ts`.
|
|
13
13
|
*/
|
|
14
14
|
declare function createEnv<const TServer extends SchemaShape = {}, const TClient extends SchemaShape = {}, const TShared extends SchemaShape = {}>(options: {
|
|
15
15
|
server?: EnvSchema<TServer>;
|
|
16
16
|
client?: EnvSchema<TClient> & { [K in keyof TClient]: K extends `NEXT_PUBLIC_${string}` ? unknown : never };
|
|
17
17
|
shared?: EnvSchema<TShared>;
|
|
18
18
|
runtimeEnv: Record<keyof TClient | keyof TShared, unknown> & Record<string, unknown>;
|
|
19
|
-
}): Readonly<
|
|
19
|
+
}): Readonly<Infer$1<TServer & TClient & TShared>>;
|
|
20
20
|
/**
|
|
21
21
|
* ArkEnv's Next.js integration export, an alias for {@link createEnv}
|
|
22
22
|
*
|
|
23
23
|
* {@link https://arkenv.js.org | ArkEnv} is a typesafe environment variables validator from editor to runtime.
|
|
24
|
+
*
|
|
25
|
+
* @deprecated Use the codegen workflow by wrapping your config with `withArkEnv` from `@arkenv/nextjs/config` and importing `createEnv` from `./env.gen.ts`.
|
|
24
26
|
*/
|
|
25
27
|
declare const arkenv: typeof createEnv;
|
|
26
28
|
//#endregion
|
|
27
|
-
export { createEnv, arkenv as default, type };
|
|
29
|
+
export { type Infer, createEnv, arkenv as default, type };
|
|
28
30
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;AAaA;;;;;;;iBAAgB,SAAA,uBACO,WAAA,6BACA,WAAA,6BACA,WAAA,MAAA,CACrB,OAAA;EACD,MAAA,GAAS,SAAA,CAAU,OAAA;EACnB,MAAA,GAAS,SAAA,CAAU,OAAA,kBACN,OAAA,GAAU,CAAA;EAEvB,MAAA,GAAS,SAAA,CAAU,OAAA;EACnB,UAAA,EAAY,MAAA,OAAa,OAAA,SAAgB,OAAA,aACxC,MAAA;AAAA,IACE,QAAA,CAAS,OAAA,CAAM,OAAA,GAAU,OAAA,GAAU,OAAA;;;;;;;;cAejC,MAAA,SAAM,SAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t as e}from"./create-env-
|
|
1
|
+
import{t as e}from"./create-env-BfXQtLQM.js";import{type as t}from"arkenv";function n(t){return e(t,!1)}const r=n;export{n as createEnv,r as default,t as type};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["import type {
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["import type { SchemaShape } from \"@repo/types\";\nimport type { EnvSchema, Infer } from \"arkenv\";\nimport { createEnvInternal } from \"./create-env\";\n\n/**\n * Create a validated, type-safe environment configuration for Next.js applications (Client-side / SSR entry point).\n *\n * @param options The environment validation configuration options\n * @returns A validated, readonly environment variables object wrapped in a security proxy\n * @throws An error if any client-side variable is not prefixed with `NEXT_PUBLIC_`\n * @throws An error if any client or shared variable is missing from `runtimeEnv`\n * @deprecated Use the codegen workflow by wrapping your config with `withArkEnv` from `@arkenv/nextjs/config` and importing `createEnv` from `./env.gen.ts`.\n */\nexport function createEnv<\n\tconst TServer extends SchemaShape = {},\n\tconst TClient extends SchemaShape = {},\n\tconst TShared extends SchemaShape = {},\n>(options: {\n\tserver?: EnvSchema<TServer>;\n\tclient?: EnvSchema<TClient> & {\n\t\t[K in keyof TClient]: K extends `NEXT_PUBLIC_${string}` ? unknown : never;\n\t};\n\tshared?: EnvSchema<TShared>;\n\truntimeEnv: Record<keyof TClient | keyof TShared, unknown> &\n\t\tRecord<string, unknown>;\n}): Readonly<Infer<TServer & TClient & TShared>> {\n\ttype ReturnType = Readonly<Infer<TServer & TClient & TShared>>;\n\treturn createEnvInternal(options, false) as ReturnType;\n}\n\nexport type { Infer } from \"arkenv\";\nexport { type } from \"arkenv\";\n\n/**\n * ArkEnv's Next.js integration export, an alias for {@link createEnv}\n *\n * {@link https://arkenv.js.org | ArkEnv} is a typesafe environment variables validator from editor to runtime.\n *\n * @deprecated Use the codegen workflow by wrapping your config with `withArkEnv` from `@arkenv/nextjs/config` and importing `createEnv` from `./env.gen.ts`.\n */\nconst arkenv = createEnv;\nexport default arkenv;\n"],"mappings":"2EAaA,SAAgB,EAId,EAQ+C,CAEhD,OAAO,EAAkB,EAAS,GAAM,CAazC,MAAM,EAAS"}
|
package/dist/react-server.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require(`./create-env-
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require(`./create-env-DDWVuzwL.cjs`);require(`./config.cjs`);let t=require(`arkenv`);function n(t){return e.t(t,!0)}const r=n;exports.createEnv=n,exports.default=r,Object.defineProperty(exports,`type`,{enumerable:!0,get:function(){return t.type}});
|
|
2
2
|
//# sourceMappingURL=react-server.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-server.cjs","names":["createEnvInternal","arkenv"],"sources":["../src/react-server.ts"],"sourcesContent":["import type {
|
|
1
|
+
{"version":3,"file":"react-server.cjs","names":["createEnvInternal","arkenv"],"sources":["../src/react-server.ts"],"sourcesContent":["import type { SchemaShape } from \"@repo/types\";\nimport type { EnvSchema, Infer } from \"arkenv\";\nimport { createEnvInternal } from \"./create-env\";\n\n/**\n * Create a validated, type-safe environment configuration for Next.js applications (Server-side RSC entry point).\n *\n * @param options The environment validation configuration options\n * @returns A validated, readonly environment variables object wrapped in a security proxy\n * @throws An error if any client-side variable is not prefixed with `NEXT_PUBLIC_`\n * @throws An error if any client or shared variable is missing from `runtimeEnv`\n * @deprecated Use the codegen workflow by wrapping your config with `withArkEnv` from `@arkenv/nextjs/config` and importing `createEnv` from `./env.gen.ts`.\n */\nexport function createEnv<\n\tconst TServer extends SchemaShape = {},\n\tconst TClient extends SchemaShape = {},\n\tconst TShared extends SchemaShape = {},\n>(options: {\n\tserver?: EnvSchema<TServer>;\n\tclient?: EnvSchema<TClient> & {\n\t\t[K in keyof TClient]: K extends `NEXT_PUBLIC_${string}` ? unknown : never;\n\t};\n\tshared?: EnvSchema<TShared>;\n\truntimeEnv: Record<keyof TClient | keyof TShared, unknown> &\n\t\tRecord<string, unknown>;\n}): Readonly<Infer<TServer & TClient & TShared>> {\n\ttype ReturnType = Readonly<Infer<TServer & TClient & TShared>>;\n\treturn createEnvInternal(options, true) as ReturnType;\n}\n\nexport type { Infer } from \"arkenv\";\nexport { type } from \"arkenv\";\n\n/**\n * ArkEnv's Next.js integration export, an alias for {@link createEnv}\n *\n * {@link https://arkenv.js.org | ArkEnv} is a typesafe environment variables validator from editor to runtime.\n *\n * @deprecated Use the codegen workflow by wrapping your config with `withArkEnv` from `@arkenv/nextjs/config` and importing `createEnv` from `./env.gen.ts`.\n */\nconst arkenv = createEnv;\nexport default arkenv;\n"],"mappings":"4LAaA,SAAgB,EAId,EAQ+C,CAEhD,OAAOA,EAAAA,EAAkB,EAAS,GAAK,CAaxC,MAAMC,EAAS"}
|
package/dist/react-server.d.cts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { EnvSchema, type } from "arkenv";
|
|
1
|
+
import { t as SchemaShape } from "./index-C6bpQ5GU.cjs";
|
|
2
|
+
import { EnvSchema, Infer, Infer as Infer$1, type } from "arkenv";
|
|
4
3
|
|
|
5
4
|
//#region src/react-server.d.ts
|
|
6
5
|
/**
|
|
@@ -10,19 +9,22 @@ import { EnvSchema, type } from "arkenv";
|
|
|
10
9
|
* @returns A validated, readonly environment variables object wrapped in a security proxy
|
|
11
10
|
* @throws An error if any client-side variable is not prefixed with `NEXT_PUBLIC_`
|
|
12
11
|
* @throws An error if any client or shared variable is missing from `runtimeEnv`
|
|
12
|
+
* @deprecated Use the codegen workflow by wrapping your config with `withArkEnv` from `@arkenv/nextjs/config` and importing `createEnv` from `./env.gen.ts`.
|
|
13
13
|
*/
|
|
14
14
|
declare function createEnv<const TServer extends SchemaShape = {}, const TClient extends SchemaShape = {}, const TShared extends SchemaShape = {}>(options: {
|
|
15
15
|
server?: EnvSchema<TServer>;
|
|
16
16
|
client?: EnvSchema<TClient> & { [K in keyof TClient]: K extends `NEXT_PUBLIC_${string}` ? unknown : never };
|
|
17
17
|
shared?: EnvSchema<TShared>;
|
|
18
18
|
runtimeEnv: Record<keyof TClient | keyof TShared, unknown> & Record<string, unknown>;
|
|
19
|
-
}): Readonly<
|
|
19
|
+
}): Readonly<Infer$1<TServer & TClient & TShared>>;
|
|
20
20
|
/**
|
|
21
21
|
* ArkEnv's Next.js integration export, an alias for {@link createEnv}
|
|
22
22
|
*
|
|
23
23
|
* {@link https://arkenv.js.org | ArkEnv} is a typesafe environment variables validator from editor to runtime.
|
|
24
|
+
*
|
|
25
|
+
* @deprecated Use the codegen workflow by wrapping your config with `withArkEnv` from `@arkenv/nextjs/config` and importing `createEnv` from `./env.gen.ts`.
|
|
24
26
|
*/
|
|
25
27
|
declare const arkenv: typeof createEnv;
|
|
26
28
|
//#endregion
|
|
27
|
-
export { createEnv, arkenv as default, type };
|
|
29
|
+
export { type Infer, createEnv, arkenv as default, type };
|
|
28
30
|
//# sourceMappingURL=react-server.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-server.d.cts","names":[],"sources":["../src/react-server.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"react-server.d.cts","names":[],"sources":["../src/react-server.ts"],"mappings":";;;;;;AAaA;;;;;;;iBAAgB,SAAA,uBACO,WAAA,6BACA,WAAA,6BACA,WAAA,MAAA,CACrB,OAAA;EACD,MAAA,GAAS,SAAA,CAAU,OAAA;EACnB,MAAA,GAAS,SAAA,CAAU,OAAA,kBACN,OAAA,GAAU,CAAA;EAEvB,MAAA,GAAS,SAAA,CAAU,OAAA;EACnB,UAAA,EAAY,MAAA,OAAa,OAAA,SAAgB,OAAA,aACxC,MAAA;AAAA,IACE,QAAA,CAAS,OAAA,CAAM,OAAA,GAAU,OAAA,GAAU,OAAA;;;;;;;;cAejC,MAAA,SAAM,SAAA"}
|
package/dist/react-server.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { EnvSchema, type } from "arkenv";
|
|
3
|
-
import { distill, type as type$1 } from "arktype";
|
|
1
|
+
import { t as SchemaShape } from "./index-Bn3pRiJy.js";
|
|
2
|
+
import { EnvSchema, Infer, Infer as Infer$1, type } from "arkenv";
|
|
4
3
|
|
|
5
4
|
//#region src/react-server.d.ts
|
|
6
5
|
/**
|
|
@@ -10,19 +9,22 @@ import { distill, type as type$1 } from "arktype";
|
|
|
10
9
|
* @returns A validated, readonly environment variables object wrapped in a security proxy
|
|
11
10
|
* @throws An error if any client-side variable is not prefixed with `NEXT_PUBLIC_`
|
|
12
11
|
* @throws An error if any client or shared variable is missing from `runtimeEnv`
|
|
12
|
+
* @deprecated Use the codegen workflow by wrapping your config with `withArkEnv` from `@arkenv/nextjs/config` and importing `createEnv` from `./env.gen.ts`.
|
|
13
13
|
*/
|
|
14
14
|
declare function createEnv<const TServer extends SchemaShape = {}, const TClient extends SchemaShape = {}, const TShared extends SchemaShape = {}>(options: {
|
|
15
15
|
server?: EnvSchema<TServer>;
|
|
16
16
|
client?: EnvSchema<TClient> & { [K in keyof TClient]: K extends `NEXT_PUBLIC_${string}` ? unknown : never };
|
|
17
17
|
shared?: EnvSchema<TShared>;
|
|
18
18
|
runtimeEnv: Record<keyof TClient | keyof TShared, unknown> & Record<string, unknown>;
|
|
19
|
-
}): Readonly<
|
|
19
|
+
}): Readonly<Infer$1<TServer & TClient & TShared>>;
|
|
20
20
|
/**
|
|
21
21
|
* ArkEnv's Next.js integration export, an alias for {@link createEnv}
|
|
22
22
|
*
|
|
23
23
|
* {@link https://arkenv.js.org | ArkEnv} is a typesafe environment variables validator from editor to runtime.
|
|
24
|
+
*
|
|
25
|
+
* @deprecated Use the codegen workflow by wrapping your config with `withArkEnv` from `@arkenv/nextjs/config` and importing `createEnv` from `./env.gen.ts`.
|
|
24
26
|
*/
|
|
25
27
|
declare const arkenv: typeof createEnv;
|
|
26
28
|
//#endregion
|
|
27
|
-
export { createEnv, arkenv as default, type };
|
|
29
|
+
export { type Infer, createEnv, arkenv as default, type };
|
|
28
30
|
//# sourceMappingURL=react-server.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-server.d.ts","names":[],"sources":["../src/react-server.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"react-server.d.ts","names":[],"sources":["../src/react-server.ts"],"mappings":";;;;;;AAaA;;;;;;;iBAAgB,SAAA,uBACO,WAAA,6BACA,WAAA,6BACA,WAAA,MAAA,CACrB,OAAA;EACD,MAAA,GAAS,SAAA,CAAU,OAAA;EACnB,MAAA,GAAS,SAAA,CAAU,OAAA,kBACN,OAAA,GAAU,CAAA;EAEvB,MAAA,GAAS,SAAA,CAAU,OAAA;EACnB,UAAA,EAAY,MAAA,OAAa,OAAA,SAAgB,OAAA,aACxC,MAAA;AAAA,IACE,QAAA,CAAS,OAAA,CAAM,OAAA,GAAU,OAAA,GAAU,OAAA;;;;;;;;cAejC,MAAA,SAAM,SAAA"}
|
package/dist/react-server.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t as e}from"./create-env-
|
|
1
|
+
import{t as e}from"./create-env-BfXQtLQM.js";import{type as t}from"arkenv";function n(t){return e(t,!0)}const r=n;export{n as createEnv,r as default,t as type};
|
|
2
2
|
//# sourceMappingURL=react-server.js.map
|