@settlemint/sdk-utils 2.3.1 → 2.3.2-main53784bb9
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 +132 -287
- package/dist/environment.cjs +34 -33
- package/dist/environment.cjs.map +1 -1
- package/dist/environment.d.cts +21 -213
- package/dist/environment.d.ts +21 -213
- package/dist/environment.mjs +11 -10
- package/dist/environment.mjs.map +1 -1
- package/dist/http.cjs +18 -0
- package/dist/http.cjs.map +1 -1
- package/dist/http.d.cts +6 -1
- package/dist/http.d.ts +6 -1
- package/dist/http.mjs +17 -0
- package/dist/http.mjs.map +1 -1
- package/dist/index.cjs +9 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +17 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.mjs +8 -0
- package/dist/index.mjs.map +1 -1
- package/dist/validation.cjs +36 -33
- package/dist/validation.cjs.map +1 -1
- package/dist/validation.d.cts +29 -217
- package/dist/validation.d.ts +29 -217
- package/dist/validation.mjs +12 -10
- package/dist/validation.mjs.map +1 -1
- package/package.json +1 -1
package/dist/validation.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ZodType, ZodString, z } from 'zod/v4';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Validates a value against a given Zod schema.
|
|
@@ -13,7 +13,7 @@ import { ZodSchema, ZodString, z } from 'zod';
|
|
|
13
13
|
*
|
|
14
14
|
* const validatedId = validate(IdSchema, "550e8400-e29b-41d4-a716-446655440000");
|
|
15
15
|
*/
|
|
16
|
-
declare function validate<T extends
|
|
16
|
+
declare function validate<T extends ZodType>(schema: T, value: unknown): T["_output"];
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Schema for validating application access tokens.
|
|
@@ -34,175 +34,63 @@ type PersonalAccessToken = z.infer<typeof PersonalAccessTokenSchema>;
|
|
|
34
34
|
declare const AccessTokenSchema: ZodString;
|
|
35
35
|
type AccessToken = z.infer<typeof AccessTokenSchema>;
|
|
36
36
|
|
|
37
|
+
/**
|
|
38
|
+
* Use this value to indicate that the resources are not part of the SettleMint platform.
|
|
39
|
+
*/
|
|
40
|
+
declare const STANDALONE_INSTANCE = "standalone";
|
|
37
41
|
/**
|
|
38
42
|
* Schema for validating environment variables used by the SettleMint SDK.
|
|
39
43
|
* Defines validation rules and types for configuration values like URLs,
|
|
40
44
|
* access tokens, workspace names, and service endpoints.
|
|
41
45
|
*/
|
|
42
46
|
declare const DotEnvSchema: z.ZodObject<{
|
|
43
|
-
|
|
44
|
-
SETTLEMINT_INSTANCE: z.ZodDefault<z.ZodString>;
|
|
45
|
-
/** Application access token for authenticating with SettleMint services */
|
|
47
|
+
SETTLEMINT_INSTANCE: z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"standalone">]>>;
|
|
46
48
|
SETTLEMINT_ACCESS_TOKEN: z.ZodOptional<z.ZodString>;
|
|
47
|
-
/** @internal */
|
|
48
49
|
SETTLEMINT_PERSONAL_ACCESS_TOKEN: z.ZodOptional<z.ZodString>;
|
|
49
|
-
/** Unique name of the workspace */
|
|
50
50
|
SETTLEMINT_WORKSPACE: z.ZodOptional<z.ZodString>;
|
|
51
|
-
/** Unique name of the application */
|
|
52
51
|
SETTLEMINT_APPLICATION: z.ZodOptional<z.ZodString>;
|
|
53
|
-
/** Unique name of the blockchain network */
|
|
54
52
|
SETTLEMINT_BLOCKCHAIN_NETWORK: z.ZodOptional<z.ZodString>;
|
|
55
|
-
/** Chain ID of the blockchain network */
|
|
56
53
|
SETTLEMINT_BLOCKCHAIN_NETWORK_CHAIN_ID: z.ZodOptional<z.ZodString>;
|
|
57
|
-
/** Unique name of the blockchain node (should have a private key for signing transactions) */
|
|
58
54
|
SETTLEMINT_BLOCKCHAIN_NODE: z.ZodOptional<z.ZodString>;
|
|
59
|
-
/** JSON RPC endpoint for the blockchain node */
|
|
60
55
|
SETTLEMINT_BLOCKCHAIN_NODE_JSON_RPC_ENDPOINT: z.ZodOptional<z.ZodString>;
|
|
61
|
-
/** Unique name of the blockchain node or load balancer */
|
|
62
56
|
SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER: z.ZodOptional<z.ZodString>;
|
|
63
|
-
/** JSON RPC endpoint for the blockchain node or load balancer */
|
|
64
57
|
SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER_JSON_RPC_ENDPOINT: z.ZodOptional<z.ZodString>;
|
|
65
|
-
/** Unique name of the Hasura instance */
|
|
66
58
|
SETTLEMINT_HASURA: z.ZodOptional<z.ZodString>;
|
|
67
|
-
/** Endpoint URL for the Hasura GraphQL API */
|
|
68
59
|
SETTLEMINT_HASURA_ENDPOINT: z.ZodOptional<z.ZodString>;
|
|
69
|
-
/** Admin secret for authenticating with Hasura */
|
|
70
60
|
SETTLEMINT_HASURA_ADMIN_SECRET: z.ZodOptional<z.ZodString>;
|
|
71
|
-
/** Database connection URL for Hasura */
|
|
72
61
|
SETTLEMINT_HASURA_DATABASE_URL: z.ZodOptional<z.ZodString>;
|
|
73
|
-
/** Unique name of The Graph instance */
|
|
74
62
|
SETTLEMINT_THEGRAPH: z.ZodOptional<z.ZodString>;
|
|
75
|
-
|
|
76
|
-
SETTLEMINT_THEGRAPH_SUBGRAPHS_ENDPOINTS: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[] | undefined, unknown>;
|
|
77
|
-
/** Default The Graph subgraph to use */
|
|
63
|
+
SETTLEMINT_THEGRAPH_SUBGRAPHS_ENDPOINTS: z.ZodPipe<z.ZodTransform<never[] | null, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
78
64
|
SETTLEMINT_THEGRAPH_DEFAULT_SUBGRAPH: z.ZodOptional<z.ZodString>;
|
|
79
|
-
/** Unique name of the Smart Contract Portal instance */
|
|
80
65
|
SETTLEMINT_PORTAL: z.ZodOptional<z.ZodString>;
|
|
81
|
-
/** GraphQL endpoint URL for the Portal */
|
|
82
66
|
SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT: z.ZodOptional<z.ZodString>;
|
|
83
|
-
/** REST endpoint URL for the Portal */
|
|
84
67
|
SETTLEMINT_PORTAL_REST_ENDPOINT: z.ZodOptional<z.ZodString>;
|
|
85
|
-
/** WebSocket endpoint URL for the Portal */
|
|
86
68
|
SETTLEMINT_PORTAL_WS_ENDPOINT: z.ZodOptional<z.ZodString>;
|
|
87
|
-
/** Unique name of the HD private key */
|
|
88
69
|
SETTLEMINT_HD_PRIVATE_KEY: z.ZodOptional<z.ZodString>;
|
|
89
|
-
/** Address of the HD private key forwarder */
|
|
90
70
|
SETTLEMINT_HD_PRIVATE_KEY_FORWARDER_ADDRESS: z.ZodOptional<z.ZodString>;
|
|
91
|
-
/** Unique name of the accessible private key */
|
|
92
71
|
SETTLEMINT_ACCESSIBLE_PRIVATE_KEY: z.ZodOptional<z.ZodString>;
|
|
93
|
-
/** Unique name of the MinIO instance */
|
|
94
72
|
SETTLEMINT_MINIO: z.ZodOptional<z.ZodString>;
|
|
95
|
-
/** Endpoint URL for MinIO */
|
|
96
73
|
SETTLEMINT_MINIO_ENDPOINT: z.ZodOptional<z.ZodString>;
|
|
97
|
-
/** Access key for MinIO authentication */
|
|
98
74
|
SETTLEMINT_MINIO_ACCESS_KEY: z.ZodOptional<z.ZodString>;
|
|
99
|
-
/** Secret key for MinIO authentication */
|
|
100
75
|
SETTLEMINT_MINIO_SECRET_KEY: z.ZodOptional<z.ZodString>;
|
|
101
|
-
/** Unique name of the IPFS instance */
|
|
102
76
|
SETTLEMINT_IPFS: z.ZodOptional<z.ZodString>;
|
|
103
|
-
/** API endpoint URL for IPFS */
|
|
104
77
|
SETTLEMINT_IPFS_API_ENDPOINT: z.ZodOptional<z.ZodString>;
|
|
105
|
-
/** Pinning service endpoint URL for IPFS */
|
|
106
78
|
SETTLEMINT_IPFS_PINNING_ENDPOINT: z.ZodOptional<z.ZodString>;
|
|
107
|
-
/** Gateway endpoint URL for IPFS */
|
|
108
79
|
SETTLEMINT_IPFS_GATEWAY_ENDPOINT: z.ZodOptional<z.ZodString>;
|
|
109
|
-
/** Unique name of the custom deployment */
|
|
110
80
|
SETTLEMINT_CUSTOM_DEPLOYMENT: z.ZodOptional<z.ZodString>;
|
|
111
|
-
/** Endpoint URL for the custom deployment */
|
|
112
81
|
SETTLEMINT_CUSTOM_DEPLOYMENT_ENDPOINT: z.ZodOptional<z.ZodString>;
|
|
113
|
-
/** Unique name of the Blockscout instance */
|
|
114
82
|
SETTLEMINT_BLOCKSCOUT: z.ZodOptional<z.ZodString>;
|
|
115
|
-
/** GraphQL endpoint URL for Blockscout */
|
|
116
83
|
SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT: z.ZodOptional<z.ZodString>;
|
|
117
|
-
/** UI endpoint URL for Blockscout */
|
|
118
84
|
SETTLEMINT_BLOCKSCOUT_UI_ENDPOINT: z.ZodOptional<z.ZodString>;
|
|
119
|
-
/** Name of the new project being created */
|
|
120
85
|
SETTLEMINT_NEW_PROJECT_NAME: z.ZodOptional<z.ZodString>;
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
SETTLEMINT_APPLICATION?: string | undefined;
|
|
130
|
-
SETTLEMINT_BLOCKCHAIN_NETWORK?: string | undefined;
|
|
131
|
-
SETTLEMINT_BLOCKCHAIN_NETWORK_CHAIN_ID?: string | undefined;
|
|
132
|
-
SETTLEMINT_BLOCKCHAIN_NODE?: string | undefined;
|
|
133
|
-
SETTLEMINT_BLOCKCHAIN_NODE_JSON_RPC_ENDPOINT?: string | undefined;
|
|
134
|
-
SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER?: string | undefined;
|
|
135
|
-
SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER_JSON_RPC_ENDPOINT?: string | undefined;
|
|
136
|
-
SETTLEMINT_HASURA?: string | undefined;
|
|
137
|
-
SETTLEMINT_HASURA_ENDPOINT?: string | undefined;
|
|
138
|
-
SETTLEMINT_HASURA_ADMIN_SECRET?: string | undefined;
|
|
139
|
-
SETTLEMINT_HASURA_DATABASE_URL?: string | undefined;
|
|
140
|
-
SETTLEMINT_THEGRAPH?: string | undefined;
|
|
141
|
-
SETTLEMINT_THEGRAPH_SUBGRAPHS_ENDPOINTS?: string[] | undefined;
|
|
142
|
-
SETTLEMINT_THEGRAPH_DEFAULT_SUBGRAPH?: string | undefined;
|
|
143
|
-
SETTLEMINT_PORTAL?: string | undefined;
|
|
144
|
-
SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT?: string | undefined;
|
|
145
|
-
SETTLEMINT_PORTAL_REST_ENDPOINT?: string | undefined;
|
|
146
|
-
SETTLEMINT_PORTAL_WS_ENDPOINT?: string | undefined;
|
|
147
|
-
SETTLEMINT_HD_PRIVATE_KEY?: string | undefined;
|
|
148
|
-
SETTLEMINT_HD_PRIVATE_KEY_FORWARDER_ADDRESS?: string | undefined;
|
|
149
|
-
SETTLEMINT_ACCESSIBLE_PRIVATE_KEY?: string | undefined;
|
|
150
|
-
SETTLEMINT_MINIO?: string | undefined;
|
|
151
|
-
SETTLEMINT_MINIO_ENDPOINT?: string | undefined;
|
|
152
|
-
SETTLEMINT_MINIO_ACCESS_KEY?: string | undefined;
|
|
153
|
-
SETTLEMINT_MINIO_SECRET_KEY?: string | undefined;
|
|
154
|
-
SETTLEMINT_IPFS?: string | undefined;
|
|
155
|
-
SETTLEMINT_IPFS_API_ENDPOINT?: string | undefined;
|
|
156
|
-
SETTLEMINT_IPFS_PINNING_ENDPOINT?: string | undefined;
|
|
157
|
-
SETTLEMINT_IPFS_GATEWAY_ENDPOINT?: string | undefined;
|
|
158
|
-
SETTLEMINT_CUSTOM_DEPLOYMENT?: string | undefined;
|
|
159
|
-
SETTLEMINT_CUSTOM_DEPLOYMENT_ENDPOINT?: string | undefined;
|
|
160
|
-
SETTLEMINT_BLOCKSCOUT?: string | undefined;
|
|
161
|
-
SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT?: string | undefined;
|
|
162
|
-
SETTLEMINT_BLOCKSCOUT_UI_ENDPOINT?: string | undefined;
|
|
163
|
-
SETTLEMINT_NEW_PROJECT_NAME?: string | undefined;
|
|
164
|
-
}, {
|
|
165
|
-
SETTLEMINT_INSTANCE?: string | undefined;
|
|
166
|
-
SETTLEMINT_ACCESS_TOKEN?: string | undefined;
|
|
167
|
-
SETTLEMINT_PERSONAL_ACCESS_TOKEN?: string | undefined;
|
|
168
|
-
SETTLEMINT_WORKSPACE?: string | undefined;
|
|
169
|
-
SETTLEMINT_APPLICATION?: string | undefined;
|
|
170
|
-
SETTLEMINT_BLOCKCHAIN_NETWORK?: string | undefined;
|
|
171
|
-
SETTLEMINT_BLOCKCHAIN_NETWORK_CHAIN_ID?: string | undefined;
|
|
172
|
-
SETTLEMINT_BLOCKCHAIN_NODE?: string | undefined;
|
|
173
|
-
SETTLEMINT_BLOCKCHAIN_NODE_JSON_RPC_ENDPOINT?: string | undefined;
|
|
174
|
-
SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER?: string | undefined;
|
|
175
|
-
SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER_JSON_RPC_ENDPOINT?: string | undefined;
|
|
176
|
-
SETTLEMINT_HASURA?: string | undefined;
|
|
177
|
-
SETTLEMINT_HASURA_ENDPOINT?: string | undefined;
|
|
178
|
-
SETTLEMINT_HASURA_ADMIN_SECRET?: string | undefined;
|
|
179
|
-
SETTLEMINT_HASURA_DATABASE_URL?: string | undefined;
|
|
180
|
-
SETTLEMINT_THEGRAPH?: string | undefined;
|
|
181
|
-
SETTLEMINT_THEGRAPH_SUBGRAPHS_ENDPOINTS?: unknown;
|
|
182
|
-
SETTLEMINT_THEGRAPH_DEFAULT_SUBGRAPH?: string | undefined;
|
|
183
|
-
SETTLEMINT_PORTAL?: string | undefined;
|
|
184
|
-
SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT?: string | undefined;
|
|
185
|
-
SETTLEMINT_PORTAL_REST_ENDPOINT?: string | undefined;
|
|
186
|
-
SETTLEMINT_PORTAL_WS_ENDPOINT?: string | undefined;
|
|
187
|
-
SETTLEMINT_HD_PRIVATE_KEY?: string | undefined;
|
|
188
|
-
SETTLEMINT_HD_PRIVATE_KEY_FORWARDER_ADDRESS?: string | undefined;
|
|
189
|
-
SETTLEMINT_ACCESSIBLE_PRIVATE_KEY?: string | undefined;
|
|
190
|
-
SETTLEMINT_MINIO?: string | undefined;
|
|
191
|
-
SETTLEMINT_MINIO_ENDPOINT?: string | undefined;
|
|
192
|
-
SETTLEMINT_MINIO_ACCESS_KEY?: string | undefined;
|
|
193
|
-
SETTLEMINT_MINIO_SECRET_KEY?: string | undefined;
|
|
194
|
-
SETTLEMINT_IPFS?: string | undefined;
|
|
195
|
-
SETTLEMINT_IPFS_API_ENDPOINT?: string | undefined;
|
|
196
|
-
SETTLEMINT_IPFS_PINNING_ENDPOINT?: string | undefined;
|
|
197
|
-
SETTLEMINT_IPFS_GATEWAY_ENDPOINT?: string | undefined;
|
|
198
|
-
SETTLEMINT_CUSTOM_DEPLOYMENT?: string | undefined;
|
|
199
|
-
SETTLEMINT_CUSTOM_DEPLOYMENT_ENDPOINT?: string | undefined;
|
|
200
|
-
SETTLEMINT_BLOCKSCOUT?: string | undefined;
|
|
201
|
-
SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT?: string | undefined;
|
|
202
|
-
SETTLEMINT_BLOCKSCOUT_UI_ENDPOINT?: string | undefined;
|
|
203
|
-
SETTLEMINT_NEW_PROJECT_NAME?: string | undefined;
|
|
204
|
-
SETTLEMINT_LOG_LEVEL?: "debug" | "info" | "warn" | "error" | "none" | undefined;
|
|
205
|
-
}>;
|
|
86
|
+
SETTLEMINT_LOG_LEVEL: z.ZodDefault<z.ZodEnum<{
|
|
87
|
+
error: "error";
|
|
88
|
+
debug: "debug";
|
|
89
|
+
info: "info";
|
|
90
|
+
warn: "warn";
|
|
91
|
+
none: "none";
|
|
92
|
+
}>>;
|
|
93
|
+
}, z.core.$strip>;
|
|
206
94
|
/**
|
|
207
95
|
* Type definition for the environment variables schema.
|
|
208
96
|
*/
|
|
@@ -212,7 +100,7 @@ type DotEnv = z.infer<typeof DotEnvSchema>;
|
|
|
212
100
|
* Useful for validating incomplete configurations during development or build time.
|
|
213
101
|
*/
|
|
214
102
|
declare const DotEnvSchemaPartial: z.ZodObject<{
|
|
215
|
-
SETTLEMINT_INSTANCE: z.ZodOptional<z.ZodDefault<z.ZodString
|
|
103
|
+
SETTLEMINT_INSTANCE: z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"standalone">]>>>;
|
|
216
104
|
SETTLEMINT_ACCESS_TOKEN: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
217
105
|
SETTLEMINT_PERSONAL_ACCESS_TOKEN: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
218
106
|
SETTLEMINT_WORKSPACE: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -228,7 +116,7 @@ declare const DotEnvSchemaPartial: z.ZodObject<{
|
|
|
228
116
|
SETTLEMINT_HASURA_ADMIN_SECRET: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
229
117
|
SETTLEMINT_HASURA_DATABASE_URL: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
230
118
|
SETTLEMINT_THEGRAPH: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
231
|
-
SETTLEMINT_THEGRAPH_SUBGRAPHS_ENDPOINTS: z.ZodOptional<z.
|
|
119
|
+
SETTLEMINT_THEGRAPH_SUBGRAPHS_ENDPOINTS: z.ZodOptional<z.ZodPipe<z.ZodTransform<never[] | null, unknown>, z.ZodOptional<z.ZodArray<z.ZodString>>>>;
|
|
232
120
|
SETTLEMINT_THEGRAPH_DEFAULT_SUBGRAPH: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
233
121
|
SETTLEMINT_PORTAL: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
234
122
|
SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -251,90 +139,14 @@ declare const DotEnvSchemaPartial: z.ZodObject<{
|
|
|
251
139
|
SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
252
140
|
SETTLEMINT_BLOCKSCOUT_UI_ENDPOINT: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
253
141
|
SETTLEMINT_NEW_PROJECT_NAME: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
254
|
-
SETTLEMINT_LOG_LEVEL: z.ZodOptional<z.ZodDefault<z.ZodEnum<
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
SETTLEMINT_BLOCKCHAIN_NETWORK_CHAIN_ID?: string | undefined;
|
|
263
|
-
SETTLEMINT_BLOCKCHAIN_NODE?: string | undefined;
|
|
264
|
-
SETTLEMINT_BLOCKCHAIN_NODE_JSON_RPC_ENDPOINT?: string | undefined;
|
|
265
|
-
SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER?: string | undefined;
|
|
266
|
-
SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER_JSON_RPC_ENDPOINT?: string | undefined;
|
|
267
|
-
SETTLEMINT_HASURA?: string | undefined;
|
|
268
|
-
SETTLEMINT_HASURA_ENDPOINT?: string | undefined;
|
|
269
|
-
SETTLEMINT_HASURA_ADMIN_SECRET?: string | undefined;
|
|
270
|
-
SETTLEMINT_HASURA_DATABASE_URL?: string | undefined;
|
|
271
|
-
SETTLEMINT_THEGRAPH?: string | undefined;
|
|
272
|
-
SETTLEMINT_THEGRAPH_SUBGRAPHS_ENDPOINTS?: string[] | undefined;
|
|
273
|
-
SETTLEMINT_THEGRAPH_DEFAULT_SUBGRAPH?: string | undefined;
|
|
274
|
-
SETTLEMINT_PORTAL?: string | undefined;
|
|
275
|
-
SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT?: string | undefined;
|
|
276
|
-
SETTLEMINT_PORTAL_REST_ENDPOINT?: string | undefined;
|
|
277
|
-
SETTLEMINT_PORTAL_WS_ENDPOINT?: string | undefined;
|
|
278
|
-
SETTLEMINT_HD_PRIVATE_KEY?: string | undefined;
|
|
279
|
-
SETTLEMINT_HD_PRIVATE_KEY_FORWARDER_ADDRESS?: string | undefined;
|
|
280
|
-
SETTLEMINT_ACCESSIBLE_PRIVATE_KEY?: string | undefined;
|
|
281
|
-
SETTLEMINT_MINIO?: string | undefined;
|
|
282
|
-
SETTLEMINT_MINIO_ENDPOINT?: string | undefined;
|
|
283
|
-
SETTLEMINT_MINIO_ACCESS_KEY?: string | undefined;
|
|
284
|
-
SETTLEMINT_MINIO_SECRET_KEY?: string | undefined;
|
|
285
|
-
SETTLEMINT_IPFS?: string | undefined;
|
|
286
|
-
SETTLEMINT_IPFS_API_ENDPOINT?: string | undefined;
|
|
287
|
-
SETTLEMINT_IPFS_PINNING_ENDPOINT?: string | undefined;
|
|
288
|
-
SETTLEMINT_IPFS_GATEWAY_ENDPOINT?: string | undefined;
|
|
289
|
-
SETTLEMINT_CUSTOM_DEPLOYMENT?: string | undefined;
|
|
290
|
-
SETTLEMINT_CUSTOM_DEPLOYMENT_ENDPOINT?: string | undefined;
|
|
291
|
-
SETTLEMINT_BLOCKSCOUT?: string | undefined;
|
|
292
|
-
SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT?: string | undefined;
|
|
293
|
-
SETTLEMINT_BLOCKSCOUT_UI_ENDPOINT?: string | undefined;
|
|
294
|
-
SETTLEMINT_NEW_PROJECT_NAME?: string | undefined;
|
|
295
|
-
SETTLEMINT_LOG_LEVEL?: "debug" | "info" | "warn" | "error" | "none" | undefined;
|
|
296
|
-
}, {
|
|
297
|
-
SETTLEMINT_INSTANCE?: string | undefined;
|
|
298
|
-
SETTLEMINT_ACCESS_TOKEN?: string | undefined;
|
|
299
|
-
SETTLEMINT_PERSONAL_ACCESS_TOKEN?: string | undefined;
|
|
300
|
-
SETTLEMINT_WORKSPACE?: string | undefined;
|
|
301
|
-
SETTLEMINT_APPLICATION?: string | undefined;
|
|
302
|
-
SETTLEMINT_BLOCKCHAIN_NETWORK?: string | undefined;
|
|
303
|
-
SETTLEMINT_BLOCKCHAIN_NETWORK_CHAIN_ID?: string | undefined;
|
|
304
|
-
SETTLEMINT_BLOCKCHAIN_NODE?: string | undefined;
|
|
305
|
-
SETTLEMINT_BLOCKCHAIN_NODE_JSON_RPC_ENDPOINT?: string | undefined;
|
|
306
|
-
SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER?: string | undefined;
|
|
307
|
-
SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER_JSON_RPC_ENDPOINT?: string | undefined;
|
|
308
|
-
SETTLEMINT_HASURA?: string | undefined;
|
|
309
|
-
SETTLEMINT_HASURA_ENDPOINT?: string | undefined;
|
|
310
|
-
SETTLEMINT_HASURA_ADMIN_SECRET?: string | undefined;
|
|
311
|
-
SETTLEMINT_HASURA_DATABASE_URL?: string | undefined;
|
|
312
|
-
SETTLEMINT_THEGRAPH?: string | undefined;
|
|
313
|
-
SETTLEMINT_THEGRAPH_SUBGRAPHS_ENDPOINTS?: unknown;
|
|
314
|
-
SETTLEMINT_THEGRAPH_DEFAULT_SUBGRAPH?: string | undefined;
|
|
315
|
-
SETTLEMINT_PORTAL?: string | undefined;
|
|
316
|
-
SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT?: string | undefined;
|
|
317
|
-
SETTLEMINT_PORTAL_REST_ENDPOINT?: string | undefined;
|
|
318
|
-
SETTLEMINT_PORTAL_WS_ENDPOINT?: string | undefined;
|
|
319
|
-
SETTLEMINT_HD_PRIVATE_KEY?: string | undefined;
|
|
320
|
-
SETTLEMINT_HD_PRIVATE_KEY_FORWARDER_ADDRESS?: string | undefined;
|
|
321
|
-
SETTLEMINT_ACCESSIBLE_PRIVATE_KEY?: string | undefined;
|
|
322
|
-
SETTLEMINT_MINIO?: string | undefined;
|
|
323
|
-
SETTLEMINT_MINIO_ENDPOINT?: string | undefined;
|
|
324
|
-
SETTLEMINT_MINIO_ACCESS_KEY?: string | undefined;
|
|
325
|
-
SETTLEMINT_MINIO_SECRET_KEY?: string | undefined;
|
|
326
|
-
SETTLEMINT_IPFS?: string | undefined;
|
|
327
|
-
SETTLEMINT_IPFS_API_ENDPOINT?: string | undefined;
|
|
328
|
-
SETTLEMINT_IPFS_PINNING_ENDPOINT?: string | undefined;
|
|
329
|
-
SETTLEMINT_IPFS_GATEWAY_ENDPOINT?: string | undefined;
|
|
330
|
-
SETTLEMINT_CUSTOM_DEPLOYMENT?: string | undefined;
|
|
331
|
-
SETTLEMINT_CUSTOM_DEPLOYMENT_ENDPOINT?: string | undefined;
|
|
332
|
-
SETTLEMINT_BLOCKSCOUT?: string | undefined;
|
|
333
|
-
SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT?: string | undefined;
|
|
334
|
-
SETTLEMINT_BLOCKSCOUT_UI_ENDPOINT?: string | undefined;
|
|
335
|
-
SETTLEMINT_NEW_PROJECT_NAME?: string | undefined;
|
|
336
|
-
SETTLEMINT_LOG_LEVEL?: "debug" | "info" | "warn" | "error" | "none" | undefined;
|
|
337
|
-
}>;
|
|
142
|
+
SETTLEMINT_LOG_LEVEL: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
143
|
+
error: "error";
|
|
144
|
+
debug: "debug";
|
|
145
|
+
info: "info";
|
|
146
|
+
warn: "warn";
|
|
147
|
+
none: "none";
|
|
148
|
+
}>>>;
|
|
149
|
+
}, z.core.$strip>;
|
|
338
150
|
/**
|
|
339
151
|
* Type definition for the partial environment variables schema.
|
|
340
152
|
*/
|
|
@@ -354,7 +166,7 @@ type DotEnvPartial = z.infer<typeof DotEnvSchemaPartial>;
|
|
|
354
166
|
* // Validate MongoDB ObjectID
|
|
355
167
|
* const isValidObjectId = IdSchema.safeParse("507f1f77bcf86cd799439011").success;
|
|
356
168
|
*/
|
|
357
|
-
declare const IdSchema: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
169
|
+
declare const IdSchema: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
358
170
|
/**
|
|
359
171
|
* Type definition for database IDs, inferred from IdSchema.
|
|
360
172
|
* Can be either a PostgreSQL UUID string or MongoDB ObjectID string.
|
|
@@ -425,7 +237,7 @@ type UrlPath = z.infer<typeof UrlPathSchema>;
|
|
|
425
237
|
* const isValidPath = UrlOrPathSchema.safeParse("/api/v1/users").success;
|
|
426
238
|
* // true
|
|
427
239
|
*/
|
|
428
|
-
declare const UrlOrPathSchema: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
240
|
+
declare const UrlOrPathSchema: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
429
241
|
type UrlOrPath = z.infer<typeof UrlOrPathSchema>;
|
|
430
242
|
|
|
431
|
-
export { type AccessToken, AccessTokenSchema, type ApplicationAccessToken, ApplicationAccessTokenSchema, type DotEnv, type DotEnvPartial, DotEnvSchema, DotEnvSchemaPartial, type Id, IdSchema, type PersonalAccessToken, PersonalAccessTokenSchema, UniqueNameSchema, type Url, type UrlOrPath, UrlOrPathSchema, type UrlPath, UrlPathSchema, UrlSchema, validate };
|
|
243
|
+
export { type AccessToken, AccessTokenSchema, type ApplicationAccessToken, ApplicationAccessTokenSchema, type DotEnv, type DotEnvPartial, DotEnvSchema, DotEnvSchemaPartial, type Id, IdSchema, type PersonalAccessToken, PersonalAccessTokenSchema, STANDALONE_INSTANCE, UniqueNameSchema, type Url, type UrlOrPath, UrlOrPathSchema, type UrlPath, UrlPathSchema, UrlSchema, validate };
|