@xyo-network/xl1-protocol-sdk 2.2.1 → 3.0.0
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/neutral/CreatableProvider/AbstractCreatableProvider.d.ts +35 -2
- package/dist/neutral/CreatableProvider/AbstractCreatableProvider.d.ts.map +1 -1
- package/dist/neutral/capabilities/Capability.d.ts +1 -8
- package/dist/neutral/capabilities/Capability.d.ts.map +1 -1
- package/dist/neutral/capabilities/Provider.d.ts +14 -23
- package/dist/neutral/capabilities/Provider.d.ts.map +1 -1
- package/dist/neutral/capabilities/connectionTypes.d.ts +9 -0
- package/dist/neutral/capabilities/connectionTypes.d.ts.map +1 -0
- package/dist/neutral/capabilities/index.d.ts +1 -0
- package/dist/neutral/capabilities/index.d.ts.map +1 -1
- package/dist/neutral/capabilities/resolveProviders.d.ts +27 -20
- package/dist/neutral/capabilities/resolveProviders.d.ts.map +1 -1
- package/dist/neutral/config/Actor.d.ts +216 -12
- package/dist/neutral/config/Actor.d.ts.map +1 -1
- package/dist/neutral/config/Actors.d.ts +41 -2
- package/dist/neutral/config/Actors.d.ts.map +1 -1
- package/dist/neutral/config/Base.d.ts +41 -2
- package/dist/neutral/config/Base.d.ts.map +1 -1
- package/dist/neutral/config/Config.d.ts +152 -8
- package/dist/neutral/config/Config.d.ts.map +1 -1
- package/dist/neutral/config/HostActor.d.ts +216 -12
- package/dist/neutral/config/HostActor.d.ts.map +1 -1
- package/dist/neutral/config/ProviderBinding.d.ts +4 -5
- package/dist/neutral/config/ProviderBinding.d.ts.map +1 -1
- package/dist/neutral/config/adaptLegacyConfig.d.ts +2 -3
- package/dist/neutral/config/adaptLegacyConfig.d.ts.map +1 -1
- package/dist/neutral/config/connections/index.d.ts +6 -0
- package/dist/neutral/config/connections/index.d.ts.map +1 -0
- package/dist/neutral/config/index.d.ts +2 -0
- package/dist/neutral/config/index.d.ts.map +1 -1
- package/dist/neutral/config/normalizeConnectionsConfig.d.ts +20 -0
- package/dist/neutral/config/normalizeConnectionsConfig.d.ts.map +1 -0
- package/dist/neutral/config/transports/Transport.d.ts +18 -3
- package/dist/neutral/config/transports/Transport.d.ts.map +1 -1
- package/dist/neutral/context/Actor.d.ts +216 -12
- package/dist/neutral/context/Actor.d.ts.map +1 -1
- package/dist/neutral/context/HostActor.d.ts +216 -12
- package/dist/neutral/context/HostActor.d.ts.map +1 -1
- package/dist/neutral/getFileConfig.d.ts +70 -4
- package/dist/neutral/getFileConfig.d.ts.map +1 -1
- package/dist/neutral/getFileConfig.mjs +204 -191
- package/dist/neutral/getFileConfig.mjs.map +4 -4
- package/dist/neutral/index.mjs +570 -393
- package/dist/neutral/index.mjs.map +4 -4
- package/dist/neutral/model/CreatableProviderContext.zod.d.ts +216 -12
- package/dist/neutral/model/CreatableProviderContext.zod.d.ts.map +1 -1
- package/dist/neutral/simple/mempool/SimpleMempoolRunner.d.ts +1 -1
- package/dist/neutral/test/index.mjs +204 -191
- package/dist/neutral/test/index.mjs.map +4 -4
- package/package.json +6 -6
|
@@ -31,8 +31,42 @@ export declare const ActorsConfigZod: z.ZodMiniDefault<z.ZodMiniArray<z.ZodMiniO
|
|
|
31
31
|
}>>;
|
|
32
32
|
silent: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
33
33
|
}, z.core.$strip>>;
|
|
34
|
+
connections: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
35
|
+
access: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
36
|
+
read: "read";
|
|
37
|
+
write: "write";
|
|
38
|
+
}>>;
|
|
39
|
+
root: import("zod").ZodString;
|
|
40
|
+
store: import("zod").ZodOptional<import("zod").ZodString>;
|
|
41
|
+
type: import("zod").ZodLiteral<"lmdb">;
|
|
42
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
43
|
+
type: import("zod").ZodLiteral<"mongo">;
|
|
44
|
+
connectionString: import("zod").ZodOptional<import("zod").ZodString>;
|
|
45
|
+
database: import("zod").ZodOptional<import("zod").ZodString>;
|
|
46
|
+
domain: import("zod").ZodOptional<import("zod").ZodString>;
|
|
47
|
+
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
48
|
+
username: import("zod").ZodOptional<import("zod").ZodString>;
|
|
49
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
50
|
+
protocol: import("zod").ZodDefault<import("zod").ZodString>;
|
|
51
|
+
url: import("zod").ZodString;
|
|
52
|
+
type: import("zod").ZodLiteral<"rpc">;
|
|
53
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
54
|
+
type: import("zod").ZodLiteral<"rest">;
|
|
55
|
+
baseUrl: import("zod").ZodString;
|
|
56
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
57
|
+
bucket: import("zod").ZodOptional<import("zod").ZodString>;
|
|
58
|
+
prefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
59
|
+
readUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
60
|
+
type: import("zod").ZodLiteral<"s3">;
|
|
61
|
+
accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
62
|
+
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
63
|
+
secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
64
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
65
|
+
type: import("zod").ZodLiteral<"evm-rpc">;
|
|
66
|
+
url: import("zod").ZodString;
|
|
67
|
+
}, z.core.$strip>], "type">>>>;
|
|
34
68
|
providerBindings: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
35
|
-
|
|
69
|
+
connection: import("zod").ZodOptional<import("zod").ZodString>;
|
|
36
70
|
transport: import("zod").ZodOptional<import("zod").ZodString>;
|
|
37
71
|
}, z.core.$strip>>>>;
|
|
38
72
|
providers: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -50,8 +84,13 @@ export declare const ActorsConfigZod: z.ZodMiniDefault<z.ZodMiniArray<z.ZodMiniO
|
|
|
50
84
|
}, z.core.$strip>]>>;
|
|
51
85
|
}, z.core.$strip>>;
|
|
52
86
|
transports: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
53
|
-
|
|
87
|
+
access: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
88
|
+
read: "read";
|
|
89
|
+
write: "write";
|
|
90
|
+
}>>;
|
|
54
91
|
root: import("zod").ZodString;
|
|
92
|
+
store: import("zod").ZodOptional<import("zod").ZodString>;
|
|
93
|
+
type: import("zod").ZodLiteral<"lmdb">;
|
|
55
94
|
}, z.core.$strip>, import("zod").ZodObject<{
|
|
56
95
|
type: import("zod").ZodLiteral<"mongo">;
|
|
57
96
|
connectionString: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Actors.d.ts","sourceRoot":"","sources":["../../../src/config/Actors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAA;AAI5B,gCAAgC;AAChC,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"Actors.d.ts","sourceRoot":"","sources":["../../../src/config/Actors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAA;AAI5B,gCAAgC;AAChC,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAG3B,CAAA;AAED,yBAAyB;AACzB,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAA"}
|
|
@@ -31,8 +31,42 @@ export declare const BaseConfigZod: z.ZodMiniObject<{
|
|
|
31
31
|
}>>;
|
|
32
32
|
silent: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
33
33
|
}, z.core.$strip>>;
|
|
34
|
+
connections: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
35
|
+
access: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
36
|
+
read: "read";
|
|
37
|
+
write: "write";
|
|
38
|
+
}>>;
|
|
39
|
+
root: import("zod").ZodString;
|
|
40
|
+
store: import("zod").ZodOptional<import("zod").ZodString>;
|
|
41
|
+
type: import("zod").ZodLiteral<"lmdb">;
|
|
42
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
43
|
+
type: import("zod").ZodLiteral<"mongo">;
|
|
44
|
+
connectionString: import("zod").ZodOptional<import("zod").ZodString>;
|
|
45
|
+
database: import("zod").ZodOptional<import("zod").ZodString>;
|
|
46
|
+
domain: import("zod").ZodOptional<import("zod").ZodString>;
|
|
47
|
+
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
48
|
+
username: import("zod").ZodOptional<import("zod").ZodString>;
|
|
49
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
50
|
+
protocol: import("zod").ZodDefault<import("zod").ZodString>;
|
|
51
|
+
url: import("zod").ZodString;
|
|
52
|
+
type: import("zod").ZodLiteral<"rpc">;
|
|
53
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
54
|
+
type: import("zod").ZodLiteral<"rest">;
|
|
55
|
+
baseUrl: import("zod").ZodString;
|
|
56
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
57
|
+
bucket: import("zod").ZodOptional<import("zod").ZodString>;
|
|
58
|
+
prefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
59
|
+
readUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
60
|
+
type: import("zod").ZodLiteral<"s3">;
|
|
61
|
+
accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
62
|
+
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
63
|
+
secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
64
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
65
|
+
type: import("zod").ZodLiteral<"evm-rpc">;
|
|
66
|
+
url: import("zod").ZodString;
|
|
67
|
+
}, z.core.$strip>], "type">>>>;
|
|
34
68
|
providerBindings: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
35
|
-
|
|
69
|
+
connection: import("zod").ZodOptional<import("zod").ZodString>;
|
|
36
70
|
transport: import("zod").ZodOptional<import("zod").ZodString>;
|
|
37
71
|
}, z.core.$strip>>>>;
|
|
38
72
|
providers: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -50,8 +84,13 @@ export declare const BaseConfigZod: z.ZodMiniObject<{
|
|
|
50
84
|
}, z.core.$strip>]>>;
|
|
51
85
|
}, z.core.$strip>>;
|
|
52
86
|
transports: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
53
|
-
|
|
87
|
+
access: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
88
|
+
read: "read";
|
|
89
|
+
write: "write";
|
|
90
|
+
}>>;
|
|
54
91
|
root: import("zod").ZodString;
|
|
92
|
+
store: import("zod").ZodOptional<import("zod").ZodString>;
|
|
93
|
+
type: import("zod").ZodLiteral<"lmdb">;
|
|
55
94
|
}, z.core.$strip>, import("zod").ZodObject<{
|
|
56
95
|
type: import("zod").ZodLiteral<"mongo">;
|
|
57
96
|
connectionString: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["../../../src/config/Base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["../../../src/config/Base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAA;AAe5B,8BAA8B;AAC9B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAaxB,CAAA;AAEF,uBAAuB;AACvB,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAA"}
|
|
@@ -32,8 +32,42 @@ export declare const ConfigZod: z.ZodMiniObject<{
|
|
|
32
32
|
}>>;
|
|
33
33
|
silent: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
34
34
|
}, z.core.$strip>>;
|
|
35
|
+
connections: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
36
|
+
access: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
37
|
+
read: "read";
|
|
38
|
+
write: "write";
|
|
39
|
+
}>>;
|
|
40
|
+
root: import("zod").ZodString;
|
|
41
|
+
store: import("zod").ZodOptional<import("zod").ZodString>;
|
|
42
|
+
type: import("zod").ZodLiteral<"lmdb">;
|
|
43
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
44
|
+
type: import("zod").ZodLiteral<"mongo">;
|
|
45
|
+
connectionString: import("zod").ZodOptional<import("zod").ZodString>;
|
|
46
|
+
database: import("zod").ZodOptional<import("zod").ZodString>;
|
|
47
|
+
domain: import("zod").ZodOptional<import("zod").ZodString>;
|
|
48
|
+
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
49
|
+
username: import("zod").ZodOptional<import("zod").ZodString>;
|
|
50
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
51
|
+
protocol: import("zod").ZodDefault<import("zod").ZodString>;
|
|
52
|
+
url: import("zod").ZodString;
|
|
53
|
+
type: import("zod").ZodLiteral<"rpc">;
|
|
54
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
55
|
+
type: import("zod").ZodLiteral<"rest">;
|
|
56
|
+
baseUrl: import("zod").ZodString;
|
|
57
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
58
|
+
bucket: import("zod").ZodOptional<import("zod").ZodString>;
|
|
59
|
+
prefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
60
|
+
readUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
61
|
+
type: import("zod").ZodLiteral<"s3">;
|
|
62
|
+
accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
63
|
+
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
64
|
+
secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
65
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
66
|
+
type: import("zod").ZodLiteral<"evm-rpc">;
|
|
67
|
+
url: import("zod").ZodString;
|
|
68
|
+
}, z.core.$strip>], "type">>>>;
|
|
35
69
|
providerBindings: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
36
|
-
|
|
70
|
+
connection: import("zod").ZodOptional<import("zod").ZodString>;
|
|
37
71
|
transport: import("zod").ZodOptional<import("zod").ZodString>;
|
|
38
72
|
}, z.core.$strip>>>>;
|
|
39
73
|
providers: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -51,8 +85,13 @@ export declare const ConfigZod: z.ZodMiniObject<{
|
|
|
51
85
|
}, z.core.$strip>]>>;
|
|
52
86
|
}, z.core.$strip>>;
|
|
53
87
|
transports: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
54
|
-
|
|
88
|
+
access: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
89
|
+
read: "read";
|
|
90
|
+
write: "write";
|
|
91
|
+
}>>;
|
|
55
92
|
root: import("zod").ZodString;
|
|
93
|
+
store: import("zod").ZodOptional<import("zod").ZodString>;
|
|
94
|
+
type: import("zod").ZodLiteral<"lmdb">;
|
|
56
95
|
}, z.core.$strip>, import("zod").ZodObject<{
|
|
57
96
|
type: import("zod").ZodLiteral<"mongo">;
|
|
58
97
|
connectionString: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -175,8 +214,42 @@ export declare const ConfigZod: z.ZodMiniObject<{
|
|
|
175
214
|
}>>;
|
|
176
215
|
silent: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
177
216
|
}, z.core.$strip>>;
|
|
217
|
+
connections: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
218
|
+
access: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
219
|
+
read: "read";
|
|
220
|
+
write: "write";
|
|
221
|
+
}>>;
|
|
222
|
+
root: import("zod").ZodString;
|
|
223
|
+
store: import("zod").ZodOptional<import("zod").ZodString>;
|
|
224
|
+
type: import("zod").ZodLiteral<"lmdb">;
|
|
225
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
226
|
+
type: import("zod").ZodLiteral<"mongo">;
|
|
227
|
+
connectionString: import("zod").ZodOptional<import("zod").ZodString>;
|
|
228
|
+
database: import("zod").ZodOptional<import("zod").ZodString>;
|
|
229
|
+
domain: import("zod").ZodOptional<import("zod").ZodString>;
|
|
230
|
+
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
231
|
+
username: import("zod").ZodOptional<import("zod").ZodString>;
|
|
232
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
233
|
+
protocol: import("zod").ZodDefault<import("zod").ZodString>;
|
|
234
|
+
url: import("zod").ZodString;
|
|
235
|
+
type: import("zod").ZodLiteral<"rpc">;
|
|
236
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
237
|
+
type: import("zod").ZodLiteral<"rest">;
|
|
238
|
+
baseUrl: import("zod").ZodString;
|
|
239
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
240
|
+
bucket: import("zod").ZodOptional<import("zod").ZodString>;
|
|
241
|
+
prefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
242
|
+
readUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
243
|
+
type: import("zod").ZodLiteral<"s3">;
|
|
244
|
+
accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
245
|
+
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
246
|
+
secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
247
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
248
|
+
type: import("zod").ZodLiteral<"evm-rpc">;
|
|
249
|
+
url: import("zod").ZodString;
|
|
250
|
+
}, z.core.$strip>], "type">>>>;
|
|
178
251
|
providerBindings: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
179
|
-
|
|
252
|
+
connection: import("zod").ZodOptional<import("zod").ZodString>;
|
|
180
253
|
transport: import("zod").ZodOptional<import("zod").ZodString>;
|
|
181
254
|
}, z.core.$strip>>>>;
|
|
182
255
|
providers: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -194,8 +267,13 @@ export declare const ConfigZod: z.ZodMiniObject<{
|
|
|
194
267
|
}, z.core.$strip>]>>;
|
|
195
268
|
}, z.core.$strip>>;
|
|
196
269
|
transports: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
197
|
-
|
|
270
|
+
access: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
271
|
+
read: "read";
|
|
272
|
+
write: "write";
|
|
273
|
+
}>>;
|
|
198
274
|
root: import("zod").ZodString;
|
|
275
|
+
store: import("zod").ZodOptional<import("zod").ZodString>;
|
|
276
|
+
type: import("zod").ZodLiteral<"lmdb">;
|
|
199
277
|
}, z.core.$strip>, import("zod").ZodObject<{
|
|
200
278
|
type: import("zod").ZodLiteral<"mongo">;
|
|
201
279
|
connectionString: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -318,8 +396,39 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
|
|
|
318
396
|
logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
|
|
319
397
|
silent: boolean;
|
|
320
398
|
};
|
|
399
|
+
connections: Record<string, {
|
|
400
|
+
root: string;
|
|
401
|
+
type: "lmdb";
|
|
402
|
+
access?: "read" | "write" | undefined;
|
|
403
|
+
store?: string | undefined;
|
|
404
|
+
} | {
|
|
405
|
+
type: "mongo";
|
|
406
|
+
connectionString?: string | undefined;
|
|
407
|
+
database?: string | undefined;
|
|
408
|
+
domain?: string | undefined;
|
|
409
|
+
password?: string | undefined;
|
|
410
|
+
username?: string | undefined;
|
|
411
|
+
} | {
|
|
412
|
+
protocol: string;
|
|
413
|
+
url: string;
|
|
414
|
+
type: "rpc";
|
|
415
|
+
} | {
|
|
416
|
+
type: "rest";
|
|
417
|
+
baseUrl: string;
|
|
418
|
+
} | {
|
|
419
|
+
type: "s3";
|
|
420
|
+
bucket?: string | undefined;
|
|
421
|
+
prefix?: string | undefined;
|
|
422
|
+
readUrl?: string | undefined;
|
|
423
|
+
accessKeyId?: string | undefined;
|
|
424
|
+
accountId?: string | undefined;
|
|
425
|
+
secretAccessKey?: string | undefined;
|
|
426
|
+
} | {
|
|
427
|
+
type: "evm-rpc";
|
|
428
|
+
url: string;
|
|
429
|
+
}>;
|
|
321
430
|
providerBindings: Record<string, {
|
|
322
|
-
|
|
431
|
+
connection?: string | undefined;
|
|
323
432
|
transport?: string | undefined;
|
|
324
433
|
}>;
|
|
325
434
|
providers: {
|
|
@@ -338,8 +447,10 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
|
|
|
338
447
|
} | undefined;
|
|
339
448
|
};
|
|
340
449
|
transports: Record<string, {
|
|
341
|
-
type: "lmdb";
|
|
342
450
|
root: string;
|
|
451
|
+
type: "lmdb";
|
|
452
|
+
access?: "read" | "write" | undefined;
|
|
453
|
+
store?: string | undefined;
|
|
343
454
|
} | {
|
|
344
455
|
type: "mongo";
|
|
345
456
|
connectionString?: string | undefined;
|
|
@@ -455,8 +566,39 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
|
|
|
455
566
|
logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
|
|
456
567
|
silent: boolean;
|
|
457
568
|
};
|
|
569
|
+
connections: Record<string, {
|
|
570
|
+
root: string;
|
|
571
|
+
type: "lmdb";
|
|
572
|
+
access?: "read" | "write" | undefined;
|
|
573
|
+
store?: string | undefined;
|
|
574
|
+
} | {
|
|
575
|
+
type: "mongo";
|
|
576
|
+
connectionString?: string | undefined;
|
|
577
|
+
database?: string | undefined;
|
|
578
|
+
domain?: string | undefined;
|
|
579
|
+
password?: string | undefined;
|
|
580
|
+
username?: string | undefined;
|
|
581
|
+
} | {
|
|
582
|
+
protocol: string;
|
|
583
|
+
url: string;
|
|
584
|
+
type: "rpc";
|
|
585
|
+
} | {
|
|
586
|
+
type: "rest";
|
|
587
|
+
baseUrl: string;
|
|
588
|
+
} | {
|
|
589
|
+
type: "s3";
|
|
590
|
+
bucket?: string | undefined;
|
|
591
|
+
prefix?: string | undefined;
|
|
592
|
+
readUrl?: string | undefined;
|
|
593
|
+
accessKeyId?: string | undefined;
|
|
594
|
+
accountId?: string | undefined;
|
|
595
|
+
secretAccessKey?: string | undefined;
|
|
596
|
+
} | {
|
|
597
|
+
type: "evm-rpc";
|
|
598
|
+
url: string;
|
|
599
|
+
}>;
|
|
458
600
|
providerBindings: Record<string, {
|
|
459
|
-
|
|
601
|
+
connection?: string | undefined;
|
|
460
602
|
transport?: string | undefined;
|
|
461
603
|
}>;
|
|
462
604
|
providers: {
|
|
@@ -475,8 +617,10 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
|
|
|
475
617
|
} | undefined;
|
|
476
618
|
};
|
|
477
619
|
transports: Record<string, {
|
|
478
|
-
type: "lmdb";
|
|
479
620
|
root: string;
|
|
621
|
+
type: "lmdb";
|
|
622
|
+
access?: "read" | "write" | undefined;
|
|
623
|
+
store?: string | undefined;
|
|
480
624
|
} | {
|
|
481
625
|
type: "mongo";
|
|
482
626
|
connectionString?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/config/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,CAAC,EAAE,MAAM,UAAU,CAAA;AAK5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAEnD,0BAA0B;AAC1B,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/config/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,CAAC,EAAE,MAAM,UAAU,CAAA;AAK5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAEnD,0BAA0B;AAC1B,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOqG,CAAA;AAE3H,mBAAmB;AACnB,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAA;AAE9C,qCAAqC;AACrC,wBAAgB,aAAa,CAC3B,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU5B"}
|