ConnectionConfigSchema

1const ConnectionConfigSchema: ZodIntersection<
2 ZodUnion<
3 [
4 ZodObject<
5 {
6 apiKey: ZodString;
7 jwt: ZodOptional<ZodNever>;
8 rpcUrl: ZodOptional<ZodNever>;
9 },
10 "strip",
11 ZodTypeAny,
12 {
13 apiKey: string;
14 jwt?: undefined;
15 rpcUrl?: undefined;
16 },
17 {
18 apiKey: string;
19 jwt?: undefined;
20 rpcUrl?: undefined;
21 }
22 >,
23 ZodObject<
24 {
25 apiKey: ZodOptional<ZodNever>;
26 jwt: ZodString;
27 rpcUrl: ZodOptional<ZodNever>;
28 },
29 "strip",
30 ZodTypeAny,
31 {
32 apiKey?: undefined;
33 jwt: string;
34 rpcUrl?: undefined;
35 },
36 {
37 apiKey?: undefined;
38 jwt: string;
39 rpcUrl?: undefined;
40 }
41 >,
42 ZodObject<
43 {
44 apiKey: ZodOptional<ZodNever>;
45 jwt: ZodOptional<ZodNever>;
46 rpcUrl: ZodString;
47 },
48 "strip",
49 ZodTypeAny,
50 {
51 apiKey?: undefined;
52 jwt?: undefined;
53 rpcUrl: string;
54 },
55 {
56 apiKey?: undefined;
57 jwt?: undefined;
58 rpcUrl: string;
59 }
60 >,
61 ZodObject<
62 {
63 apiKey: ZodOptional<ZodNever>;
64 jwt: ZodString;
65 rpcUrl: ZodString;
66 },
67 "strip",
68 ZodTypeAny,
69 {
70 apiKey?: undefined;
71 jwt: string;
72 rpcUrl: string;
73 },
74 {
75 apiKey?: undefined;
76 jwt: string;
77 rpcUrl: string;
78 }
79 >,
80 ]
81 >,
82 ZodObject<
83 {
84 chainAgnosticUrl: ZodOptional<ZodString>;
85 },
86 "strip",
87 ZodTypeAny,
88 {
89 chainAgnosticUrl?: string;
90 },
91 {
92 chainAgnosticUrl?: string;
93 }
94 >
95>;

Defined in: aa-sdk/core/src/client/schema.ts:23