@latticexyz/store 2.0.13-main-609de113f → 3.0.0-main-560fd6a0c
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/{chunk-4TPTNI2Q.js → chunk-ULFS6I46.js} +2 -2
- package/dist/{chunk-4TPTNI2Q.js.map → chunk-ULFS6I46.js.map} +1 -1
- package/dist/chunk-YSCNU2IH.js +2 -0
- package/dist/chunk-YSCNU2IH.js.map +1 -0
- package/dist/codegen.d.ts +1 -1
- package/dist/codegen.js +52 -52
- package/dist/codegen.js.map +1 -1
- package/dist/config/v2.d.ts +3 -3
- package/dist/config/v2.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/internal.d.ts +1 -26
- package/dist/internal.js +0 -1
- package/dist/mud.config.d.ts +129 -38
- package/dist/mud.config.js +1 -1
- package/dist/namespacedTables-bf676cf3.d.ts +12 -0
- package/dist/{output-2853398e.d.ts → output-672c1950.d.ts} +26 -7
- package/dist/{store-cb0f85e1.d.ts → storeWithShorthands-a1806a91.d.ts} +83 -33
- package/package.json +7 -16
- package/dist/chunk-M5RJAVGF.js +0 -2
- package/dist/chunk-M5RJAVGF.js.map +0 -1
- package/dist/chunk-RRYXNY5P.js +0 -2
- package/dist/chunk-RRYXNY5P.js.map +0 -1
- package/dist/config.d.ts +0 -6
- package/dist/config.js +0 -2
- package/dist/config.js.map +0 -1
- package/dist/register.d.ts +0 -22
- package/dist/register.js +0 -2
- package/dist/register.js.map +0 -1
- package/dist/storeConfig-55cad8c2.d.ts +0 -939
- package/dist/storeWithShorthands-43aad36b.d.ts +0 -57
@@ -1,939 +0,0 @@
|
|
1
|
-
import { AbiType, StaticArray, StaticAbiType } from '@latticexyz/schema-type/deprecated';
|
2
|
-
import { z } from 'zod';
|
3
|
-
import { StringForUnion, OrDefaults, RequireKeys, ExtractUserTypes, AsDependent } from '@latticexyz/common/type-utils';
|
4
|
-
import { MUDCoreUserConfig } from '@latticexyz/config/library';
|
5
|
-
import { UserType } from '@latticexyz/common/codegen';
|
6
|
-
|
7
|
-
declare const DEFAULTS: {
|
8
|
-
readonly namespace: "";
|
9
|
-
readonly enums: {};
|
10
|
-
readonly userTypes: {};
|
11
|
-
};
|
12
|
-
type DEFAULTS = typeof DEFAULTS;
|
13
|
-
declare const TABLE_DEFAULTS: {
|
14
|
-
readonly directory: "tables";
|
15
|
-
readonly keySchema: {
|
16
|
-
readonly key: "bytes32";
|
17
|
-
};
|
18
|
-
readonly tableIdArgument: false;
|
19
|
-
readonly storeArgument: false;
|
20
|
-
readonly offchainOnly: false;
|
21
|
-
};
|
22
|
-
type TABLE_DEFAULTS = typeof TABLE_DEFAULTS;
|
23
|
-
|
24
|
-
type FieldData<UserTypes extends StringForUnion> = AbiType | StaticArray | UserTypes;
|
25
|
-
type KeySchema<StaticUserTypes extends StringForUnion> = StaticAbiType | StaticUserTypes;
|
26
|
-
/************************************************************************
|
27
|
-
*
|
28
|
-
* TABLE SCHEMA
|
29
|
-
*
|
30
|
-
************************************************************************/
|
31
|
-
type FullSchemaConfig<UserTypes extends StringForUnion = StringForUnion> = Record<string, FieldData<UserTypes>>;
|
32
|
-
type ShorthandSchemaConfig<UserTypes extends StringForUnion = StringForUnion> = FieldData<UserTypes>;
|
33
|
-
type SchemaConfig<UserTypes extends StringForUnion = StringForUnion> = FullSchemaConfig<UserTypes> | ShorthandSchemaConfig<UserTypes>;
|
34
|
-
type ExpandSchemaConfig<TSchemaConfig extends SchemaConfig<string>> = TSchemaConfig extends ShorthandSchemaConfig<string> ? {
|
35
|
-
value: TSchemaConfig;
|
36
|
-
} : TSchemaConfig;
|
37
|
-
declare const zSchemaConfig: z.ZodUnion<[z.ZodEffects<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>, Record<string, string>, Record<string, string>>, z.ZodEffects<z.ZodString, Record<string, string>, string>]>;
|
38
|
-
type ResolvedSchema<TSchema extends Record<string, string>, TUserTypes extends Record<string, Pick<UserType, "internalType">>> = {
|
39
|
-
[key in keyof TSchema]: TSchema[key] extends keyof TUserTypes ? TUserTypes[TSchema[key]]["internalType"] : TSchema[key];
|
40
|
-
};
|
41
|
-
declare function resolveUserTypes<TSchema extends Record<string, string>, TUserTypes extends Record<string, Pick<UserType, "internalType">>>(schema: TSchema, userTypes: TUserTypes): ResolvedSchema<TSchema, TUserTypes>;
|
42
|
-
/************************************************************************
|
43
|
-
*
|
44
|
-
* TABLE
|
45
|
-
*
|
46
|
-
************************************************************************/
|
47
|
-
interface TableConfig<UserTypes extends StringForUnion = StringForUnion, StaticUserTypes extends StringForUnion = StringForUnion> {
|
48
|
-
/** Output directory path for the file. Default is "tables" */
|
49
|
-
directory?: string;
|
50
|
-
/** Make methods accept `tableId` argument instead of it being a hardcoded constant. Default is false */
|
51
|
-
tableIdArgument?: boolean;
|
52
|
-
/** Include methods that accept a manual `IStore` argument. Default is true. */
|
53
|
-
storeArgument?: boolean;
|
54
|
-
/** Include a data struct and methods for it. Default is false for 1-column tables; true for multi-column tables. */
|
55
|
-
dataStruct?: boolean;
|
56
|
-
/** Offchain tables don't write to onchain storage, but only emit events for offchain clients. Default is false. */
|
57
|
-
offchainOnly?: boolean;
|
58
|
-
/**
|
59
|
-
* Table's key names mapped to their types.
|
60
|
-
* Default is `{ key: "bytes32" }`
|
61
|
-
* Key names' first letter should be lowercase.
|
62
|
-
*/
|
63
|
-
keySchema?: Record<string, KeySchema<StaticUserTypes>>;
|
64
|
-
/**
|
65
|
-
* Table's field names mapped to their types.
|
66
|
-
* Field names' first letter should be lowercase.
|
67
|
-
*/
|
68
|
-
valueSchema: SchemaConfig<UserTypes>;
|
69
|
-
}
|
70
|
-
type FullTableConfig<UserTypes extends StringForUnion = StringForUnion, StaticUserTypes extends StringForUnion = StringForUnion> = Required<TableConfig<UserTypes, StaticUserTypes>> & {
|
71
|
-
valueSchema: FullSchemaConfig<UserTypes>;
|
72
|
-
};
|
73
|
-
interface ExpandTableConfig<T extends TableConfig<string, string>, TableName extends string> extends OrDefaults<T, {
|
74
|
-
directory: string;
|
75
|
-
name: TableName;
|
76
|
-
tableIdArgument: typeof TABLE_DEFAULTS.tableIdArgument;
|
77
|
-
storeArgument: typeof TABLE_DEFAULTS.storeArgument;
|
78
|
-
dataStruct: boolean;
|
79
|
-
keySchema: typeof TABLE_DEFAULTS.keySchema;
|
80
|
-
offchainOnly: typeof TABLE_DEFAULTS.offchainOnly;
|
81
|
-
}> {
|
82
|
-
valueSchema: ExpandSchemaConfig<T["valueSchema"]>;
|
83
|
-
}
|
84
|
-
declare const zTableConfig: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
85
|
-
directory: z.ZodDefault<z.ZodString>;
|
86
|
-
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
87
|
-
tableIdArgument: z.ZodDefault<z.ZodBoolean>;
|
88
|
-
storeArgument: z.ZodDefault<z.ZodBoolean>;
|
89
|
-
dataStruct: z.ZodOptional<z.ZodBoolean>;
|
90
|
-
keySchema: z.ZodDefault<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
|
91
|
-
valueSchema: z.ZodUnion<[z.ZodEffects<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>, Record<string, string>, Record<string, string>>, z.ZodEffects<z.ZodString, Record<string, string>, string>]>;
|
92
|
-
offchainOnly: z.ZodDefault<z.ZodBoolean>;
|
93
|
-
}, "strip", z.ZodTypeAny, {
|
94
|
-
tableIdArgument: boolean;
|
95
|
-
storeArgument: boolean;
|
96
|
-
directory: string;
|
97
|
-
keySchema: Record<string, string>;
|
98
|
-
offchainOnly: boolean;
|
99
|
-
valueSchema: Record<string, string>;
|
100
|
-
name?: string | undefined;
|
101
|
-
dataStruct?: boolean | undefined;
|
102
|
-
}, {
|
103
|
-
valueSchema: string | Record<string, string>;
|
104
|
-
name?: string | undefined;
|
105
|
-
tableIdArgument?: boolean | undefined;
|
106
|
-
storeArgument?: boolean | undefined;
|
107
|
-
dataStruct?: boolean | undefined;
|
108
|
-
directory?: string | undefined;
|
109
|
-
keySchema?: Record<string, string> | undefined;
|
110
|
-
offchainOnly?: boolean | undefined;
|
111
|
-
}>, RequireKeys<{
|
112
|
-
tableIdArgument: boolean;
|
113
|
-
storeArgument: boolean;
|
114
|
-
directory: string;
|
115
|
-
keySchema: Record<string, string>;
|
116
|
-
offchainOnly: boolean;
|
117
|
-
valueSchema: Record<string, string>;
|
118
|
-
name?: string | undefined;
|
119
|
-
dataStruct?: boolean | undefined;
|
120
|
-
}, "dataStruct">, {
|
121
|
-
valueSchema: string | Record<string, string>;
|
122
|
-
name?: string | undefined;
|
123
|
-
tableIdArgument?: boolean | undefined;
|
124
|
-
storeArgument?: boolean | undefined;
|
125
|
-
dataStruct?: boolean | undefined;
|
126
|
-
directory?: string | undefined;
|
127
|
-
keySchema?: Record<string, string> | undefined;
|
128
|
-
offchainOnly?: boolean | undefined;
|
129
|
-
}>, z.ZodEffects<z.ZodString, RequireKeys<{
|
130
|
-
tableIdArgument: boolean;
|
131
|
-
storeArgument: boolean;
|
132
|
-
directory: string;
|
133
|
-
keySchema: Record<string, string>;
|
134
|
-
offchainOnly: boolean;
|
135
|
-
valueSchema: Record<string, string>;
|
136
|
-
name?: string | undefined;
|
137
|
-
dataStruct?: boolean | undefined;
|
138
|
-
}, "dataStruct">, string>]>;
|
139
|
-
/************************************************************************
|
140
|
-
*
|
141
|
-
* TABLES
|
142
|
-
*
|
143
|
-
************************************************************************/
|
144
|
-
type TablesConfig<UserTypes extends StringForUnion = StringForUnion, StaticUserTypes extends StringForUnion = StringForUnion> = Record<string, TableConfig<UserTypes, StaticUserTypes> | FieldData<UserTypes>>;
|
145
|
-
declare const zTablesConfig: z.ZodEffects<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
146
|
-
directory: z.ZodDefault<z.ZodString>;
|
147
|
-
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
148
|
-
tableIdArgument: z.ZodDefault<z.ZodBoolean>;
|
149
|
-
storeArgument: z.ZodDefault<z.ZodBoolean>;
|
150
|
-
dataStruct: z.ZodOptional<z.ZodBoolean>;
|
151
|
-
keySchema: z.ZodDefault<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
|
152
|
-
valueSchema: z.ZodUnion<[z.ZodEffects<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>, Record<string, string>, Record<string, string>>, z.ZodEffects<z.ZodString, Record<string, string>, string>]>;
|
153
|
-
offchainOnly: z.ZodDefault<z.ZodBoolean>;
|
154
|
-
}, "strip", z.ZodTypeAny, {
|
155
|
-
tableIdArgument: boolean;
|
156
|
-
storeArgument: boolean;
|
157
|
-
directory: string;
|
158
|
-
keySchema: Record<string, string>;
|
159
|
-
offchainOnly: boolean;
|
160
|
-
valueSchema: Record<string, string>;
|
161
|
-
name?: string | undefined;
|
162
|
-
dataStruct?: boolean | undefined;
|
163
|
-
}, {
|
164
|
-
valueSchema: string | Record<string, string>;
|
165
|
-
name?: string | undefined;
|
166
|
-
tableIdArgument?: boolean | undefined;
|
167
|
-
storeArgument?: boolean | undefined;
|
168
|
-
dataStruct?: boolean | undefined;
|
169
|
-
directory?: string | undefined;
|
170
|
-
keySchema?: Record<string, string> | undefined;
|
171
|
-
offchainOnly?: boolean | undefined;
|
172
|
-
}>, RequireKeys<{
|
173
|
-
tableIdArgument: boolean;
|
174
|
-
storeArgument: boolean;
|
175
|
-
directory: string;
|
176
|
-
keySchema: Record<string, string>;
|
177
|
-
offchainOnly: boolean;
|
178
|
-
valueSchema: Record<string, string>;
|
179
|
-
name?: string | undefined;
|
180
|
-
dataStruct?: boolean | undefined;
|
181
|
-
}, "dataStruct">, {
|
182
|
-
valueSchema: string | Record<string, string>;
|
183
|
-
name?: string | undefined;
|
184
|
-
tableIdArgument?: boolean | undefined;
|
185
|
-
storeArgument?: boolean | undefined;
|
186
|
-
dataStruct?: boolean | undefined;
|
187
|
-
directory?: string | undefined;
|
188
|
-
keySchema?: Record<string, string> | undefined;
|
189
|
-
offchainOnly?: boolean | undefined;
|
190
|
-
}>, z.ZodEffects<z.ZodString, RequireKeys<{
|
191
|
-
tableIdArgument: boolean;
|
192
|
-
storeArgument: boolean;
|
193
|
-
directory: string;
|
194
|
-
keySchema: Record<string, string>;
|
195
|
-
offchainOnly: boolean;
|
196
|
-
valueSchema: Record<string, string>;
|
197
|
-
name?: string | undefined;
|
198
|
-
dataStruct?: boolean | undefined;
|
199
|
-
}, "dataStruct">, string>]>>, Record<string, RequireKeys<RequireKeys<{
|
200
|
-
tableIdArgument: boolean;
|
201
|
-
storeArgument: boolean;
|
202
|
-
directory: string;
|
203
|
-
keySchema: Record<string, string>;
|
204
|
-
offchainOnly: boolean;
|
205
|
-
valueSchema: Record<string, string>;
|
206
|
-
name?: string | undefined;
|
207
|
-
dataStruct?: boolean | undefined;
|
208
|
-
}, "dataStruct">, "name">>, Record<string, string | {
|
209
|
-
valueSchema: string | Record<string, string>;
|
210
|
-
name?: string | undefined;
|
211
|
-
tableIdArgument?: boolean | undefined;
|
212
|
-
storeArgument?: boolean | undefined;
|
213
|
-
dataStruct?: boolean | undefined;
|
214
|
-
directory?: string | undefined;
|
215
|
-
keySchema?: Record<string, string> | undefined;
|
216
|
-
offchainOnly?: boolean | undefined;
|
217
|
-
}>>;
|
218
|
-
type FullTablesConfig<UserTypes extends StringForUnion = StringForUnion, StaticUserTypes extends StringForUnion = StringForUnion> = Record<string, FullTableConfig<UserTypes, StaticUserTypes>>;
|
219
|
-
type ExpandTablesConfig<T extends TablesConfig<string, string>> = {
|
220
|
-
[TableName in keyof T]: T[TableName] extends FieldData<string> ? ExpandTableConfig<{
|
221
|
-
valueSchema: {
|
222
|
-
value: T[TableName];
|
223
|
-
};
|
224
|
-
}, TableName extends string ? TableName : never> : T[TableName] extends TableConfig<string, string> ? ExpandTableConfig<T[TableName], TableName extends string ? TableName : never> : ExpandTableConfig<TableConfig<string, string>, TableName extends string ? TableName : string>;
|
225
|
-
};
|
226
|
-
/************************************************************************
|
227
|
-
*
|
228
|
-
* ENUMS
|
229
|
-
*
|
230
|
-
************************************************************************/
|
231
|
-
type EnumsConfig<EnumNames extends StringForUnion> = never extends EnumNames ? {
|
232
|
-
/**
|
233
|
-
* Enum names mapped to lists of their member names
|
234
|
-
*
|
235
|
-
* (enums are inferred to be absent)
|
236
|
-
*/
|
237
|
-
enums?: Record<EnumNames, string[]>;
|
238
|
-
} : StringForUnion extends EnumNames ? {
|
239
|
-
/**
|
240
|
-
* Enum names mapped to lists of their member names
|
241
|
-
*
|
242
|
-
* (enums aren't inferred - use `mudConfig` or `storeConfig` helper, and `as const` for variables)
|
243
|
-
*/
|
244
|
-
enums?: Record<EnumNames, string[]>;
|
245
|
-
} : {
|
246
|
-
/**
|
247
|
-
* Enum names mapped to lists of their member names
|
248
|
-
*
|
249
|
-
* Enums defined here can be used as types in table schemas/keys
|
250
|
-
*/
|
251
|
-
enums: Record<EnumNames, string[]>;
|
252
|
-
};
|
253
|
-
type FullEnumsConfig<EnumNames extends StringForUnion> = {
|
254
|
-
enums: Record<EnumNames, string[]>;
|
255
|
-
};
|
256
|
-
declare const zEnumsConfig: z.ZodObject<{
|
257
|
-
enums: z.ZodDefault<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, string[], string[]>>>;
|
258
|
-
}, "strip", z.ZodTypeAny, {
|
259
|
-
enums: Record<string, string[]>;
|
260
|
-
}, {
|
261
|
-
enums?: Record<string, string[]> | undefined;
|
262
|
-
}>;
|
263
|
-
/************************************************************************
|
264
|
-
*
|
265
|
-
* USER TYPES
|
266
|
-
*
|
267
|
-
************************************************************************/
|
268
|
-
type UserTypesConfig<UserTypeNames extends StringForUnion = StringForUnion> = never extends UserTypeNames ? {
|
269
|
-
/**
|
270
|
-
* User types mapped to file paths from which to import them.
|
271
|
-
* Paths are treated as relative to root.
|
272
|
-
* Paths that don't start with a "." have foundry remappings applied to them first.
|
273
|
-
*
|
274
|
-
* (user types are inferred to be absent)
|
275
|
-
*/
|
276
|
-
userTypes?: Record<UserTypeNames, UserType>;
|
277
|
-
} : StringForUnion extends UserTypeNames ? {
|
278
|
-
/**
|
279
|
-
* User types mapped to file paths from which to import them.
|
280
|
-
* Paths are treated as relative to root.
|
281
|
-
* Paths that don't start with a "." have foundry remappings applied to them first.
|
282
|
-
*
|
283
|
-
* (user types aren't inferred - use `mudConfig` or `storeConfig` helper, and `as const` for variables)
|
284
|
-
*/
|
285
|
-
userTypes?: Record<UserTypeNames, UserType>;
|
286
|
-
} : {
|
287
|
-
/**
|
288
|
-
* User types mapped to file paths from which to import them.
|
289
|
-
* Paths are treated as relative to root.
|
290
|
-
* Paths that don't start with a "." have foundry remappings applied to them first.
|
291
|
-
*
|
292
|
-
* User types defined here can be used as types in table schemas/keys
|
293
|
-
*/
|
294
|
-
userTypes: Record<UserTypeNames, UserType>;
|
295
|
-
};
|
296
|
-
declare const zUserTypesConfig: z.ZodObject<{
|
297
|
-
userTypes: z.ZodDefault<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
298
|
-
filePath: z.ZodString;
|
299
|
-
internalType: z.ZodEnum<["uint8", "uint16", "uint24", "uint32", "uint40", "uint48", "uint56", "uint64", "uint72", "uint80", "uint88", "uint96", "uint104", "uint112", "uint120", "uint128", "uint136", "uint144", "uint152", "uint160", "uint168", "uint176", "uint184", "uint192", "uint200", "uint208", "uint216", "uint224", "uint232", "uint240", "uint248", "uint256", "int8", "int16", "int24", "int32", "int40", "int48", "int56", "int64", "int72", "int80", "int88", "int96", "int104", "int112", "int120", "int128", "int136", "int144", "int152", "int160", "int168", "int176", "int184", "int192", "int200", "int208", "int216", "int224", "int232", "int240", "int248", "int256", "bytes1", "bytes2", "bytes3", "bytes4", "bytes5", "bytes6", "bytes7", "bytes8", "bytes9", "bytes10", "bytes11", "bytes12", "bytes13", "bytes14", "bytes15", "bytes16", "bytes17", "bytes18", "bytes19", "bytes20", "bytes21", "bytes22", "bytes23", "bytes24", "bytes25", "bytes26", "bytes27", "bytes28", "bytes29", "bytes30", "bytes31", "bytes32", "bool", "address", "uint8[]", "uint16[]", "uint24[]", "uint32[]", "uint40[]", "uint48[]", "uint56[]", "uint64[]", "uint72[]", "uint80[]", "uint88[]", "uint96[]", "uint104[]", "uint112[]", "uint120[]", "uint128[]", "uint136[]", "uint144[]", "uint152[]", "uint160[]", "uint168[]", "uint176[]", "uint184[]", "uint192[]", "uint200[]", "uint208[]", "uint216[]", "uint224[]", "uint232[]", "uint240[]", "uint248[]", "uint256[]", "int8[]", "int16[]", "int24[]", "int32[]", "int40[]", "int48[]", "int56[]", "int64[]", "int72[]", "int80[]", "int88[]", "int96[]", "int104[]", "int112[]", "int120[]", "int128[]", "int136[]", "int144[]", "int152[]", "int160[]", "int168[]", "int176[]", "int184[]", "int192[]", "int200[]", "int208[]", "int216[]", "int224[]", "int232[]", "int240[]", "int248[]", "int256[]", "bytes1[]", "bytes2[]", "bytes3[]", "bytes4[]", "bytes5[]", "bytes6[]", "bytes7[]", "bytes8[]", "bytes9[]", "bytes10[]", "bytes11[]", "bytes12[]", "bytes13[]", "bytes14[]", "bytes15[]", "bytes16[]", "bytes17[]", "bytes18[]", "bytes19[]", "bytes20[]", "bytes21[]", "bytes22[]", "bytes23[]", "bytes24[]", "bytes25[]", "bytes26[]", "bytes27[]", "bytes28[]", "bytes29[]", "bytes30[]", "bytes31[]", "bytes32[]", "bool[]", "address[]", "bytes", "string"]>;
|
300
|
-
}, "strip", z.ZodTypeAny, {
|
301
|
-
internalType: "string" | "address" | "bool" | "bytes" | "bytes3" | "bytes32" | "bytes4" | "bytes1" | "bytes2" | "bytes22" | "bytes5" | "bytes6" | "bytes7" | "bytes8" | "bytes9" | "bytes10" | "bytes11" | "bytes12" | "bytes13" | "bytes14" | "bytes15" | "bytes16" | "bytes17" | "bytes18" | "bytes19" | "bytes20" | "bytes21" | "bytes23" | "bytes24" | "bytes25" | "bytes26" | "bytes27" | "bytes28" | "bytes29" | "bytes30" | "bytes31" | "int8" | "int16" | "int24" | "int32" | "int40" | "int48" | "int56" | "int64" | "int72" | "int80" | "int88" | "int96" | "int104" | "int112" | "int120" | "int128" | "int136" | "int144" | "int152" | "int160" | "int168" | "int176" | "int184" | "int192" | "int200" | "int208" | "int216" | "int224" | "int232" | "int240" | "int248" | "int256" | "uint8" | "uint16" | "uint24" | "uint32" | "uint40" | "uint48" | "uint56" | "uint64" | "uint72" | "uint80" | "uint88" | "uint96" | "uint104" | "uint112" | "uint120" | "uint128" | "uint136" | "uint144" | "uint152" | "uint160" | "uint168" | "uint176" | "uint184" | "uint192" | "uint200" | "uint208" | "uint216" | "uint224" | "uint232" | "uint240" | "uint248" | "uint256" | "bytes32[]" | "uint8[]" | "uint16[]" | "uint24[]" | "uint32[]" | "uint40[]" | "uint48[]" | "uint56[]" | "uint64[]" | "uint72[]" | "uint80[]" | "uint88[]" | "uint96[]" | "uint104[]" | "uint112[]" | "uint120[]" | "uint128[]" | "uint136[]" | "uint144[]" | "uint152[]" | "uint160[]" | "uint168[]" | "uint176[]" | "uint184[]" | "uint192[]" | "uint200[]" | "uint208[]" | "uint216[]" | "uint224[]" | "uint232[]" | "uint240[]" | "uint248[]" | "uint256[]" | "int8[]" | "int16[]" | "int24[]" | "int32[]" | "int40[]" | "int48[]" | "int56[]" | "int64[]" | "int72[]" | "int80[]" | "int88[]" | "int96[]" | "int104[]" | "int112[]" | "int120[]" | "int128[]" | "int136[]" | "int144[]" | "int152[]" | "int160[]" | "int168[]" | "int176[]" | "int184[]" | "int192[]" | "int200[]" | "int208[]" | "int216[]" | "int224[]" | "int232[]" | "int240[]" | "int248[]" | "int256[]" | "bytes1[]" | "bytes2[]" | "bytes3[]" | "bytes4[]" | "bytes5[]" | "bytes6[]" | "bytes7[]" | "bytes8[]" | "bytes9[]" | "bytes10[]" | "bytes11[]" | "bytes12[]" | "bytes13[]" | "bytes14[]" | "bytes15[]" | "bytes16[]" | "bytes17[]" | "bytes18[]" | "bytes19[]" | "bytes20[]" | "bytes21[]" | "bytes22[]" | "bytes23[]" | "bytes24[]" | "bytes25[]" | "bytes26[]" | "bytes27[]" | "bytes28[]" | "bytes29[]" | "bytes30[]" | "bytes31[]" | "bool[]" | "address[]";
|
302
|
-
filePath: string;
|
303
|
-
}, {
|
304
|
-
internalType: "string" | "address" | "bool" | "bytes" | "bytes3" | "bytes32" | "bytes4" | "bytes1" | "bytes2" | "bytes22" | "bytes5" | "bytes6" | "bytes7" | "bytes8" | "bytes9" | "bytes10" | "bytes11" | "bytes12" | "bytes13" | "bytes14" | "bytes15" | "bytes16" | "bytes17" | "bytes18" | "bytes19" | "bytes20" | "bytes21" | "bytes23" | "bytes24" | "bytes25" | "bytes26" | "bytes27" | "bytes28" | "bytes29" | "bytes30" | "bytes31" | "int8" | "int16" | "int24" | "int32" | "int40" | "int48" | "int56" | "int64" | "int72" | "int80" | "int88" | "int96" | "int104" | "int112" | "int120" | "int128" | "int136" | "int144" | "int152" | "int160" | "int168" | "int176" | "int184" | "int192" | "int200" | "int208" | "int216" | "int224" | "int232" | "int240" | "int248" | "int256" | "uint8" | "uint16" | "uint24" | "uint32" | "uint40" | "uint48" | "uint56" | "uint64" | "uint72" | "uint80" | "uint88" | "uint96" | "uint104" | "uint112" | "uint120" | "uint128" | "uint136" | "uint144" | "uint152" | "uint160" | "uint168" | "uint176" | "uint184" | "uint192" | "uint200" | "uint208" | "uint216" | "uint224" | "uint232" | "uint240" | "uint248" | "uint256" | "bytes32[]" | "uint8[]" | "uint16[]" | "uint24[]" | "uint32[]" | "uint40[]" | "uint48[]" | "uint56[]" | "uint64[]" | "uint72[]" | "uint80[]" | "uint88[]" | "uint96[]" | "uint104[]" | "uint112[]" | "uint120[]" | "uint128[]" | "uint136[]" | "uint144[]" | "uint152[]" | "uint160[]" | "uint168[]" | "uint176[]" | "uint184[]" | "uint192[]" | "uint200[]" | "uint208[]" | "uint216[]" | "uint224[]" | "uint232[]" | "uint240[]" | "uint248[]" | "uint256[]" | "int8[]" | "int16[]" | "int24[]" | "int32[]" | "int40[]" | "int48[]" | "int56[]" | "int64[]" | "int72[]" | "int80[]" | "int88[]" | "int96[]" | "int104[]" | "int112[]" | "int120[]" | "int128[]" | "int136[]" | "int144[]" | "int152[]" | "int160[]" | "int168[]" | "int176[]" | "int184[]" | "int192[]" | "int200[]" | "int208[]" | "int216[]" | "int224[]" | "int232[]" | "int240[]" | "int248[]" | "int256[]" | "bytes1[]" | "bytes2[]" | "bytes3[]" | "bytes4[]" | "bytes5[]" | "bytes6[]" | "bytes7[]" | "bytes8[]" | "bytes9[]" | "bytes10[]" | "bytes11[]" | "bytes12[]" | "bytes13[]" | "bytes14[]" | "bytes15[]" | "bytes16[]" | "bytes17[]" | "bytes18[]" | "bytes19[]" | "bytes20[]" | "bytes21[]" | "bytes22[]" | "bytes23[]" | "bytes24[]" | "bytes25[]" | "bytes26[]" | "bytes27[]" | "bytes28[]" | "bytes29[]" | "bytes30[]" | "bytes31[]" | "bool[]" | "address[]";
|
305
|
-
filePath: string;
|
306
|
-
}>>>;
|
307
|
-
}, "strip", z.ZodTypeAny, {
|
308
|
-
userTypes: Record<string, {
|
309
|
-
internalType: "string" | "address" | "bool" | "bytes" | "bytes3" | "bytes32" | "bytes4" | "bytes1" | "bytes2" | "bytes22" | "bytes5" | "bytes6" | "bytes7" | "bytes8" | "bytes9" | "bytes10" | "bytes11" | "bytes12" | "bytes13" | "bytes14" | "bytes15" | "bytes16" | "bytes17" | "bytes18" | "bytes19" | "bytes20" | "bytes21" | "bytes23" | "bytes24" | "bytes25" | "bytes26" | "bytes27" | "bytes28" | "bytes29" | "bytes30" | "bytes31" | "int8" | "int16" | "int24" | "int32" | "int40" | "int48" | "int56" | "int64" | "int72" | "int80" | "int88" | "int96" | "int104" | "int112" | "int120" | "int128" | "int136" | "int144" | "int152" | "int160" | "int168" | "int176" | "int184" | "int192" | "int200" | "int208" | "int216" | "int224" | "int232" | "int240" | "int248" | "int256" | "uint8" | "uint16" | "uint24" | "uint32" | "uint40" | "uint48" | "uint56" | "uint64" | "uint72" | "uint80" | "uint88" | "uint96" | "uint104" | "uint112" | "uint120" | "uint128" | "uint136" | "uint144" | "uint152" | "uint160" | "uint168" | "uint176" | "uint184" | "uint192" | "uint200" | "uint208" | "uint216" | "uint224" | "uint232" | "uint240" | "uint248" | "uint256" | "bytes32[]" | "uint8[]" | "uint16[]" | "uint24[]" | "uint32[]" | "uint40[]" | "uint48[]" | "uint56[]" | "uint64[]" | "uint72[]" | "uint80[]" | "uint88[]" | "uint96[]" | "uint104[]" | "uint112[]" | "uint120[]" | "uint128[]" | "uint136[]" | "uint144[]" | "uint152[]" | "uint160[]" | "uint168[]" | "uint176[]" | "uint184[]" | "uint192[]" | "uint200[]" | "uint208[]" | "uint216[]" | "uint224[]" | "uint232[]" | "uint240[]" | "uint248[]" | "uint256[]" | "int8[]" | "int16[]" | "int24[]" | "int32[]" | "int40[]" | "int48[]" | "int56[]" | "int64[]" | "int72[]" | "int80[]" | "int88[]" | "int96[]" | "int104[]" | "int112[]" | "int120[]" | "int128[]" | "int136[]" | "int144[]" | "int152[]" | "int160[]" | "int168[]" | "int176[]" | "int184[]" | "int192[]" | "int200[]" | "int208[]" | "int216[]" | "int224[]" | "int232[]" | "int240[]" | "int248[]" | "int256[]" | "bytes1[]" | "bytes2[]" | "bytes3[]" | "bytes4[]" | "bytes5[]" | "bytes6[]" | "bytes7[]" | "bytes8[]" | "bytes9[]" | "bytes10[]" | "bytes11[]" | "bytes12[]" | "bytes13[]" | "bytes14[]" | "bytes15[]" | "bytes16[]" | "bytes17[]" | "bytes18[]" | "bytes19[]" | "bytes20[]" | "bytes21[]" | "bytes22[]" | "bytes23[]" | "bytes24[]" | "bytes25[]" | "bytes26[]" | "bytes27[]" | "bytes28[]" | "bytes29[]" | "bytes30[]" | "bytes31[]" | "bool[]" | "address[]";
|
310
|
-
filePath: string;
|
311
|
-
}>;
|
312
|
-
}, {
|
313
|
-
userTypes?: Record<string, {
|
314
|
-
internalType: "string" | "address" | "bool" | "bytes" | "bytes3" | "bytes32" | "bytes4" | "bytes1" | "bytes2" | "bytes22" | "bytes5" | "bytes6" | "bytes7" | "bytes8" | "bytes9" | "bytes10" | "bytes11" | "bytes12" | "bytes13" | "bytes14" | "bytes15" | "bytes16" | "bytes17" | "bytes18" | "bytes19" | "bytes20" | "bytes21" | "bytes23" | "bytes24" | "bytes25" | "bytes26" | "bytes27" | "bytes28" | "bytes29" | "bytes30" | "bytes31" | "int8" | "int16" | "int24" | "int32" | "int40" | "int48" | "int56" | "int64" | "int72" | "int80" | "int88" | "int96" | "int104" | "int112" | "int120" | "int128" | "int136" | "int144" | "int152" | "int160" | "int168" | "int176" | "int184" | "int192" | "int200" | "int208" | "int216" | "int224" | "int232" | "int240" | "int248" | "int256" | "uint8" | "uint16" | "uint24" | "uint32" | "uint40" | "uint48" | "uint56" | "uint64" | "uint72" | "uint80" | "uint88" | "uint96" | "uint104" | "uint112" | "uint120" | "uint128" | "uint136" | "uint144" | "uint152" | "uint160" | "uint168" | "uint176" | "uint184" | "uint192" | "uint200" | "uint208" | "uint216" | "uint224" | "uint232" | "uint240" | "uint248" | "uint256" | "bytes32[]" | "uint8[]" | "uint16[]" | "uint24[]" | "uint32[]" | "uint40[]" | "uint48[]" | "uint56[]" | "uint64[]" | "uint72[]" | "uint80[]" | "uint88[]" | "uint96[]" | "uint104[]" | "uint112[]" | "uint120[]" | "uint128[]" | "uint136[]" | "uint144[]" | "uint152[]" | "uint160[]" | "uint168[]" | "uint176[]" | "uint184[]" | "uint192[]" | "uint200[]" | "uint208[]" | "uint216[]" | "uint224[]" | "uint232[]" | "uint240[]" | "uint248[]" | "uint256[]" | "int8[]" | "int16[]" | "int24[]" | "int32[]" | "int40[]" | "int48[]" | "int56[]" | "int64[]" | "int72[]" | "int80[]" | "int88[]" | "int96[]" | "int104[]" | "int112[]" | "int120[]" | "int128[]" | "int136[]" | "int144[]" | "int152[]" | "int160[]" | "int168[]" | "int176[]" | "int184[]" | "int192[]" | "int200[]" | "int208[]" | "int216[]" | "int224[]" | "int232[]" | "int240[]" | "int248[]" | "int256[]" | "bytes1[]" | "bytes2[]" | "bytes3[]" | "bytes4[]" | "bytes5[]" | "bytes6[]" | "bytes7[]" | "bytes8[]" | "bytes9[]" | "bytes10[]" | "bytes11[]" | "bytes12[]" | "bytes13[]" | "bytes14[]" | "bytes15[]" | "bytes16[]" | "bytes17[]" | "bytes18[]" | "bytes19[]" | "bytes20[]" | "bytes21[]" | "bytes22[]" | "bytes23[]" | "bytes24[]" | "bytes25[]" | "bytes26[]" | "bytes27[]" | "bytes28[]" | "bytes29[]" | "bytes30[]" | "bytes31[]" | "bool[]" | "address[]";
|
315
|
-
filePath: string;
|
316
|
-
}> | undefined;
|
317
|
-
}>;
|
318
|
-
/************************************************************************
|
319
|
-
*
|
320
|
-
* FINAL
|
321
|
-
*
|
322
|
-
************************************************************************/
|
323
|
-
/** MUDCoreUserConfig wrapper to use generics in some options for better type inference */
|
324
|
-
type MUDUserConfig<T extends MUDCoreUserConfig = MUDCoreUserConfig, EnumNames extends StringForUnion = StringForUnion, UserTypeNames extends StringForUnion = StringForUnion, StaticUserTypes extends ExtractUserTypes<EnumNames | UserTypeNames> = ExtractUserTypes<EnumNames | UserTypeNames>> = T & EnumsConfig<EnumNames> & UserTypesConfig<UserTypeNames> & {
|
325
|
-
/**
|
326
|
-
* Configuration for each table.
|
327
|
-
*
|
328
|
-
* The key is the table name (capitalized).
|
329
|
-
*
|
330
|
-
* The value:
|
331
|
-
* - abi or user type for a single-value table.
|
332
|
-
* - FullTableConfig object for multi-value tables (or for customizable options).
|
333
|
-
*/
|
334
|
-
tables: TablesConfig<AsDependent<StaticUserTypes>, AsDependent<StaticUserTypes>>;
|
335
|
-
/** The namespace for table ids. Default is "" (ROOT) */
|
336
|
-
namespace?: string;
|
337
|
-
};
|
338
|
-
declare const zStoreConfig: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
339
|
-
namespace: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
340
|
-
tables: z.ZodEffects<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
341
|
-
directory: z.ZodDefault<z.ZodString>;
|
342
|
-
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
343
|
-
tableIdArgument: z.ZodDefault<z.ZodBoolean>;
|
344
|
-
storeArgument: z.ZodDefault<z.ZodBoolean>;
|
345
|
-
dataStruct: z.ZodOptional<z.ZodBoolean>;
|
346
|
-
keySchema: z.ZodDefault<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
|
347
|
-
valueSchema: z.ZodUnion<[z.ZodEffects<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>, Record<string, string>, Record<string, string>>, z.ZodEffects<z.ZodString, Record<string, string>, string>]>;
|
348
|
-
offchainOnly: z.ZodDefault<z.ZodBoolean>;
|
349
|
-
}, "strip", z.ZodTypeAny, {
|
350
|
-
tableIdArgument: boolean;
|
351
|
-
storeArgument: boolean;
|
352
|
-
directory: string;
|
353
|
-
keySchema: Record<string, string>;
|
354
|
-
offchainOnly: boolean;
|
355
|
-
valueSchema: Record<string, string>;
|
356
|
-
name?: string | undefined;
|
357
|
-
dataStruct?: boolean | undefined;
|
358
|
-
}, {
|
359
|
-
valueSchema: string | Record<string, string>;
|
360
|
-
name?: string | undefined;
|
361
|
-
tableIdArgument?: boolean | undefined;
|
362
|
-
storeArgument?: boolean | undefined;
|
363
|
-
dataStruct?: boolean | undefined;
|
364
|
-
directory?: string | undefined;
|
365
|
-
keySchema?: Record<string, string> | undefined;
|
366
|
-
offchainOnly?: boolean | undefined;
|
367
|
-
}>, RequireKeys<{
|
368
|
-
tableIdArgument: boolean;
|
369
|
-
storeArgument: boolean;
|
370
|
-
directory: string;
|
371
|
-
keySchema: Record<string, string>;
|
372
|
-
offchainOnly: boolean;
|
373
|
-
valueSchema: Record<string, string>;
|
374
|
-
name?: string | undefined;
|
375
|
-
dataStruct?: boolean | undefined;
|
376
|
-
}, "dataStruct">, {
|
377
|
-
valueSchema: string | Record<string, string>;
|
378
|
-
name?: string | undefined;
|
379
|
-
tableIdArgument?: boolean | undefined;
|
380
|
-
storeArgument?: boolean | undefined;
|
381
|
-
dataStruct?: boolean | undefined;
|
382
|
-
directory?: string | undefined;
|
383
|
-
keySchema?: Record<string, string> | undefined;
|
384
|
-
offchainOnly?: boolean | undefined;
|
385
|
-
}>, z.ZodEffects<z.ZodString, RequireKeys<{
|
386
|
-
tableIdArgument: boolean;
|
387
|
-
storeArgument: boolean;
|
388
|
-
directory: string;
|
389
|
-
keySchema: Record<string, string>;
|
390
|
-
offchainOnly: boolean;
|
391
|
-
valueSchema: Record<string, string>;
|
392
|
-
name?: string | undefined;
|
393
|
-
dataStruct?: boolean | undefined;
|
394
|
-
}, "dataStruct">, string>]>>, Record<string, RequireKeys<RequireKeys<{
|
395
|
-
tableIdArgument: boolean;
|
396
|
-
storeArgument: boolean;
|
397
|
-
directory: string;
|
398
|
-
keySchema: Record<string, string>;
|
399
|
-
offchainOnly: boolean;
|
400
|
-
valueSchema: Record<string, string>;
|
401
|
-
name?: string | undefined;
|
402
|
-
dataStruct?: boolean | undefined;
|
403
|
-
}, "dataStruct">, "name">>, Record<string, string | {
|
404
|
-
valueSchema: string | Record<string, string>;
|
405
|
-
name?: string | undefined;
|
406
|
-
tableIdArgument?: boolean | undefined;
|
407
|
-
storeArgument?: boolean | undefined;
|
408
|
-
dataStruct?: boolean | undefined;
|
409
|
-
directory?: string | undefined;
|
410
|
-
keySchema?: Record<string, string> | undefined;
|
411
|
-
offchainOnly?: boolean | undefined;
|
412
|
-
}>>;
|
413
|
-
}, {
|
414
|
-
enums: z.ZodDefault<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, string[], string[]>>>;
|
415
|
-
}>, {
|
416
|
-
userTypes: z.ZodDefault<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
417
|
-
filePath: z.ZodString;
|
418
|
-
internalType: z.ZodEnum<["uint8", "uint16", "uint24", "uint32", "uint40", "uint48", "uint56", "uint64", "uint72", "uint80", "uint88", "uint96", "uint104", "uint112", "uint120", "uint128", "uint136", "uint144", "uint152", "uint160", "uint168", "uint176", "uint184", "uint192", "uint200", "uint208", "uint216", "uint224", "uint232", "uint240", "uint248", "uint256", "int8", "int16", "int24", "int32", "int40", "int48", "int56", "int64", "int72", "int80", "int88", "int96", "int104", "int112", "int120", "int128", "int136", "int144", "int152", "int160", "int168", "int176", "int184", "int192", "int200", "int208", "int216", "int224", "int232", "int240", "int248", "int256", "bytes1", "bytes2", "bytes3", "bytes4", "bytes5", "bytes6", "bytes7", "bytes8", "bytes9", "bytes10", "bytes11", "bytes12", "bytes13", "bytes14", "bytes15", "bytes16", "bytes17", "bytes18", "bytes19", "bytes20", "bytes21", "bytes22", "bytes23", "bytes24", "bytes25", "bytes26", "bytes27", "bytes28", "bytes29", "bytes30", "bytes31", "bytes32", "bool", "address", "uint8[]", "uint16[]", "uint24[]", "uint32[]", "uint40[]", "uint48[]", "uint56[]", "uint64[]", "uint72[]", "uint80[]", "uint88[]", "uint96[]", "uint104[]", "uint112[]", "uint120[]", "uint128[]", "uint136[]", "uint144[]", "uint152[]", "uint160[]", "uint168[]", "uint176[]", "uint184[]", "uint192[]", "uint200[]", "uint208[]", "uint216[]", "uint224[]", "uint232[]", "uint240[]", "uint248[]", "uint256[]", "int8[]", "int16[]", "int24[]", "int32[]", "int40[]", "int48[]", "int56[]", "int64[]", "int72[]", "int80[]", "int88[]", "int96[]", "int104[]", "int112[]", "int120[]", "int128[]", "int136[]", "int144[]", "int152[]", "int160[]", "int168[]", "int176[]", "int184[]", "int192[]", "int200[]", "int208[]", "int216[]", "int224[]", "int232[]", "int240[]", "int248[]", "int256[]", "bytes1[]", "bytes2[]", "bytes3[]", "bytes4[]", "bytes5[]", "bytes6[]", "bytes7[]", "bytes8[]", "bytes9[]", "bytes10[]", "bytes11[]", "bytes12[]", "bytes13[]", "bytes14[]", "bytes15[]", "bytes16[]", "bytes17[]", "bytes18[]", "bytes19[]", "bytes20[]", "bytes21[]", "bytes22[]", "bytes23[]", "bytes24[]", "bytes25[]", "bytes26[]", "bytes27[]", "bytes28[]", "bytes29[]", "bytes30[]", "bytes31[]", "bytes32[]", "bool[]", "address[]", "bytes", "string"]>;
|
419
|
-
}, "strip", z.ZodTypeAny, {
|
420
|
-
internalType: "string" | "address" | "bool" | "bytes" | "bytes3" | "bytes32" | "bytes4" | "bytes1" | "bytes2" | "bytes22" | "bytes5" | "bytes6" | "bytes7" | "bytes8" | "bytes9" | "bytes10" | "bytes11" | "bytes12" | "bytes13" | "bytes14" | "bytes15" | "bytes16" | "bytes17" | "bytes18" | "bytes19" | "bytes20" | "bytes21" | "bytes23" | "bytes24" | "bytes25" | "bytes26" | "bytes27" | "bytes28" | "bytes29" | "bytes30" | "bytes31" | "int8" | "int16" | "int24" | "int32" | "int40" | "int48" | "int56" | "int64" | "int72" | "int80" | "int88" | "int96" | "int104" | "int112" | "int120" | "int128" | "int136" | "int144" | "int152" | "int160" | "int168" | "int176" | "int184" | "int192" | "int200" | "int208" | "int216" | "int224" | "int232" | "int240" | "int248" | "int256" | "uint8" | "uint16" | "uint24" | "uint32" | "uint40" | "uint48" | "uint56" | "uint64" | "uint72" | "uint80" | "uint88" | "uint96" | "uint104" | "uint112" | "uint120" | "uint128" | "uint136" | "uint144" | "uint152" | "uint160" | "uint168" | "uint176" | "uint184" | "uint192" | "uint200" | "uint208" | "uint216" | "uint224" | "uint232" | "uint240" | "uint248" | "uint256" | "bytes32[]" | "uint8[]" | "uint16[]" | "uint24[]" | "uint32[]" | "uint40[]" | "uint48[]" | "uint56[]" | "uint64[]" | "uint72[]" | "uint80[]" | "uint88[]" | "uint96[]" | "uint104[]" | "uint112[]" | "uint120[]" | "uint128[]" | "uint136[]" | "uint144[]" | "uint152[]" | "uint160[]" | "uint168[]" | "uint176[]" | "uint184[]" | "uint192[]" | "uint200[]" | "uint208[]" | "uint216[]" | "uint224[]" | "uint232[]" | "uint240[]" | "uint248[]" | "uint256[]" | "int8[]" | "int16[]" | "int24[]" | "int32[]" | "int40[]" | "int48[]" | "int56[]" | "int64[]" | "int72[]" | "int80[]" | "int88[]" | "int96[]" | "int104[]" | "int112[]" | "int120[]" | "int128[]" | "int136[]" | "int144[]" | "int152[]" | "int160[]" | "int168[]" | "int176[]" | "int184[]" | "int192[]" | "int200[]" | "int208[]" | "int216[]" | "int224[]" | "int232[]" | "int240[]" | "int248[]" | "int256[]" | "bytes1[]" | "bytes2[]" | "bytes3[]" | "bytes4[]" | "bytes5[]" | "bytes6[]" | "bytes7[]" | "bytes8[]" | "bytes9[]" | "bytes10[]" | "bytes11[]" | "bytes12[]" | "bytes13[]" | "bytes14[]" | "bytes15[]" | "bytes16[]" | "bytes17[]" | "bytes18[]" | "bytes19[]" | "bytes20[]" | "bytes21[]" | "bytes22[]" | "bytes23[]" | "bytes24[]" | "bytes25[]" | "bytes26[]" | "bytes27[]" | "bytes28[]" | "bytes29[]" | "bytes30[]" | "bytes31[]" | "bool[]" | "address[]";
|
421
|
-
filePath: string;
|
422
|
-
}, {
|
423
|
-
internalType: "string" | "address" | "bool" | "bytes" | "bytes3" | "bytes32" | "bytes4" | "bytes1" | "bytes2" | "bytes22" | "bytes5" | "bytes6" | "bytes7" | "bytes8" | "bytes9" | "bytes10" | "bytes11" | "bytes12" | "bytes13" | "bytes14" | "bytes15" | "bytes16" | "bytes17" | "bytes18" | "bytes19" | "bytes20" | "bytes21" | "bytes23" | "bytes24" | "bytes25" | "bytes26" | "bytes27" | "bytes28" | "bytes29" | "bytes30" | "bytes31" | "int8" | "int16" | "int24" | "int32" | "int40" | "int48" | "int56" | "int64" | "int72" | "int80" | "int88" | "int96" | "int104" | "int112" | "int120" | "int128" | "int136" | "int144" | "int152" | "int160" | "int168" | "int176" | "int184" | "int192" | "int200" | "int208" | "int216" | "int224" | "int232" | "int240" | "int248" | "int256" | "uint8" | "uint16" | "uint24" | "uint32" | "uint40" | "uint48" | "uint56" | "uint64" | "uint72" | "uint80" | "uint88" | "uint96" | "uint104" | "uint112" | "uint120" | "uint128" | "uint136" | "uint144" | "uint152" | "uint160" | "uint168" | "uint176" | "uint184" | "uint192" | "uint200" | "uint208" | "uint216" | "uint224" | "uint232" | "uint240" | "uint248" | "uint256" | "bytes32[]" | "uint8[]" | "uint16[]" | "uint24[]" | "uint32[]" | "uint40[]" | "uint48[]" | "uint56[]" | "uint64[]" | "uint72[]" | "uint80[]" | "uint88[]" | "uint96[]" | "uint104[]" | "uint112[]" | "uint120[]" | "uint128[]" | "uint136[]" | "uint144[]" | "uint152[]" | "uint160[]" | "uint168[]" | "uint176[]" | "uint184[]" | "uint192[]" | "uint200[]" | "uint208[]" | "uint216[]" | "uint224[]" | "uint232[]" | "uint240[]" | "uint248[]" | "uint256[]" | "int8[]" | "int16[]" | "int24[]" | "int32[]" | "int40[]" | "int48[]" | "int56[]" | "int64[]" | "int72[]" | "int80[]" | "int88[]" | "int96[]" | "int104[]" | "int112[]" | "int120[]" | "int128[]" | "int136[]" | "int144[]" | "int152[]" | "int160[]" | "int168[]" | "int176[]" | "int184[]" | "int192[]" | "int200[]" | "int208[]" | "int216[]" | "int224[]" | "int232[]" | "int240[]" | "int248[]" | "int256[]" | "bytes1[]" | "bytes2[]" | "bytes3[]" | "bytes4[]" | "bytes5[]" | "bytes6[]" | "bytes7[]" | "bytes8[]" | "bytes9[]" | "bytes10[]" | "bytes11[]" | "bytes12[]" | "bytes13[]" | "bytes14[]" | "bytes15[]" | "bytes16[]" | "bytes17[]" | "bytes18[]" | "bytes19[]" | "bytes20[]" | "bytes21[]" | "bytes22[]" | "bytes23[]" | "bytes24[]" | "bytes25[]" | "bytes26[]" | "bytes27[]" | "bytes28[]" | "bytes29[]" | "bytes30[]" | "bytes31[]" | "bool[]" | "address[]";
|
424
|
-
filePath: string;
|
425
|
-
}>>>;
|
426
|
-
}>, "strip", z.ZodTypeAny, {
|
427
|
-
namespace: string;
|
428
|
-
tables: Record<string, RequireKeys<RequireKeys<{
|
429
|
-
tableIdArgument: boolean;
|
430
|
-
storeArgument: boolean;
|
431
|
-
directory: string;
|
432
|
-
keySchema: Record<string, string>;
|
433
|
-
offchainOnly: boolean;
|
434
|
-
valueSchema: Record<string, string>;
|
435
|
-
name?: string | undefined;
|
436
|
-
dataStruct?: boolean | undefined;
|
437
|
-
}, "dataStruct">, "name">>;
|
438
|
-
userTypes: Record<string, {
|
439
|
-
internalType: "string" | "address" | "bool" | "bytes" | "bytes3" | "bytes32" | "bytes4" | "bytes1" | "bytes2" | "bytes22" | "bytes5" | "bytes6" | "bytes7" | "bytes8" | "bytes9" | "bytes10" | "bytes11" | "bytes12" | "bytes13" | "bytes14" | "bytes15" | "bytes16" | "bytes17" | "bytes18" | "bytes19" | "bytes20" | "bytes21" | "bytes23" | "bytes24" | "bytes25" | "bytes26" | "bytes27" | "bytes28" | "bytes29" | "bytes30" | "bytes31" | "int8" | "int16" | "int24" | "int32" | "int40" | "int48" | "int56" | "int64" | "int72" | "int80" | "int88" | "int96" | "int104" | "int112" | "int120" | "int128" | "int136" | "int144" | "int152" | "int160" | "int168" | "int176" | "int184" | "int192" | "int200" | "int208" | "int216" | "int224" | "int232" | "int240" | "int248" | "int256" | "uint8" | "uint16" | "uint24" | "uint32" | "uint40" | "uint48" | "uint56" | "uint64" | "uint72" | "uint80" | "uint88" | "uint96" | "uint104" | "uint112" | "uint120" | "uint128" | "uint136" | "uint144" | "uint152" | "uint160" | "uint168" | "uint176" | "uint184" | "uint192" | "uint200" | "uint208" | "uint216" | "uint224" | "uint232" | "uint240" | "uint248" | "uint256" | "bytes32[]" | "uint8[]" | "uint16[]" | "uint24[]" | "uint32[]" | "uint40[]" | "uint48[]" | "uint56[]" | "uint64[]" | "uint72[]" | "uint80[]" | "uint88[]" | "uint96[]" | "uint104[]" | "uint112[]" | "uint120[]" | "uint128[]" | "uint136[]" | "uint144[]" | "uint152[]" | "uint160[]" | "uint168[]" | "uint176[]" | "uint184[]" | "uint192[]" | "uint200[]" | "uint208[]" | "uint216[]" | "uint224[]" | "uint232[]" | "uint240[]" | "uint248[]" | "uint256[]" | "int8[]" | "int16[]" | "int24[]" | "int32[]" | "int40[]" | "int48[]" | "int56[]" | "int64[]" | "int72[]" | "int80[]" | "int88[]" | "int96[]" | "int104[]" | "int112[]" | "int120[]" | "int128[]" | "int136[]" | "int144[]" | "int152[]" | "int160[]" | "int168[]" | "int176[]" | "int184[]" | "int192[]" | "int200[]" | "int208[]" | "int216[]" | "int224[]" | "int232[]" | "int240[]" | "int248[]" | "int256[]" | "bytes1[]" | "bytes2[]" | "bytes3[]" | "bytes4[]" | "bytes5[]" | "bytes6[]" | "bytes7[]" | "bytes8[]" | "bytes9[]" | "bytes10[]" | "bytes11[]" | "bytes12[]" | "bytes13[]" | "bytes14[]" | "bytes15[]" | "bytes16[]" | "bytes17[]" | "bytes18[]" | "bytes19[]" | "bytes20[]" | "bytes21[]" | "bytes22[]" | "bytes23[]" | "bytes24[]" | "bytes25[]" | "bytes26[]" | "bytes27[]" | "bytes28[]" | "bytes29[]" | "bytes30[]" | "bytes31[]" | "bool[]" | "address[]";
|
440
|
-
filePath: string;
|
441
|
-
}>;
|
442
|
-
enums: Record<string, string[]>;
|
443
|
-
}, {
|
444
|
-
tables: Record<string, string | {
|
445
|
-
valueSchema: string | Record<string, string>;
|
446
|
-
name?: string | undefined;
|
447
|
-
tableIdArgument?: boolean | undefined;
|
448
|
-
storeArgument?: boolean | undefined;
|
449
|
-
dataStruct?: boolean | undefined;
|
450
|
-
directory?: string | undefined;
|
451
|
-
keySchema?: Record<string, string> | undefined;
|
452
|
-
offchainOnly?: boolean | undefined;
|
453
|
-
}>;
|
454
|
-
namespace?: string | undefined;
|
455
|
-
userTypes?: Record<string, {
|
456
|
-
internalType: "string" | "address" | "bool" | "bytes" | "bytes3" | "bytes32" | "bytes4" | "bytes1" | "bytes2" | "bytes22" | "bytes5" | "bytes6" | "bytes7" | "bytes8" | "bytes9" | "bytes10" | "bytes11" | "bytes12" | "bytes13" | "bytes14" | "bytes15" | "bytes16" | "bytes17" | "bytes18" | "bytes19" | "bytes20" | "bytes21" | "bytes23" | "bytes24" | "bytes25" | "bytes26" | "bytes27" | "bytes28" | "bytes29" | "bytes30" | "bytes31" | "int8" | "int16" | "int24" | "int32" | "int40" | "int48" | "int56" | "int64" | "int72" | "int80" | "int88" | "int96" | "int104" | "int112" | "int120" | "int128" | "int136" | "int144" | "int152" | "int160" | "int168" | "int176" | "int184" | "int192" | "int200" | "int208" | "int216" | "int224" | "int232" | "int240" | "int248" | "int256" | "uint8" | "uint16" | "uint24" | "uint32" | "uint40" | "uint48" | "uint56" | "uint64" | "uint72" | "uint80" | "uint88" | "uint96" | "uint104" | "uint112" | "uint120" | "uint128" | "uint136" | "uint144" | "uint152" | "uint160" | "uint168" | "uint176" | "uint184" | "uint192" | "uint200" | "uint208" | "uint216" | "uint224" | "uint232" | "uint240" | "uint248" | "uint256" | "bytes32[]" | "uint8[]" | "uint16[]" | "uint24[]" | "uint32[]" | "uint40[]" | "uint48[]" | "uint56[]" | "uint64[]" | "uint72[]" | "uint80[]" | "uint88[]" | "uint96[]" | "uint104[]" | "uint112[]" | "uint120[]" | "uint128[]" | "uint136[]" | "uint144[]" | "uint152[]" | "uint160[]" | "uint168[]" | "uint176[]" | "uint184[]" | "uint192[]" | "uint200[]" | "uint208[]" | "uint216[]" | "uint224[]" | "uint232[]" | "uint240[]" | "uint248[]" | "uint256[]" | "int8[]" | "int16[]" | "int24[]" | "int32[]" | "int40[]" | "int48[]" | "int56[]" | "int64[]" | "int72[]" | "int80[]" | "int88[]" | "int96[]" | "int104[]" | "int112[]" | "int120[]" | "int128[]" | "int136[]" | "int144[]" | "int152[]" | "int160[]" | "int168[]" | "int176[]" | "int184[]" | "int192[]" | "int200[]" | "int208[]" | "int216[]" | "int224[]" | "int232[]" | "int240[]" | "int248[]" | "int256[]" | "bytes1[]" | "bytes2[]" | "bytes3[]" | "bytes4[]" | "bytes5[]" | "bytes6[]" | "bytes7[]" | "bytes8[]" | "bytes9[]" | "bytes10[]" | "bytes11[]" | "bytes12[]" | "bytes13[]" | "bytes14[]" | "bytes15[]" | "bytes16[]" | "bytes17[]" | "bytes18[]" | "bytes19[]" | "bytes20[]" | "bytes21[]" | "bytes22[]" | "bytes23[]" | "bytes24[]" | "bytes25[]" | "bytes26[]" | "bytes27[]" | "bytes28[]" | "bytes29[]" | "bytes30[]" | "bytes31[]" | "bool[]" | "address[]";
|
457
|
-
filePath: string;
|
458
|
-
}> | undefined;
|
459
|
-
enums?: Record<string, string[]> | undefined;
|
460
|
-
}>, {
|
461
|
-
namespace: string;
|
462
|
-
tables: Record<string, RequireKeys<RequireKeys<{
|
463
|
-
tableIdArgument: boolean;
|
464
|
-
storeArgument: boolean;
|
465
|
-
directory: string;
|
466
|
-
keySchema: Record<string, string>;
|
467
|
-
offchainOnly: boolean;
|
468
|
-
valueSchema: Record<string, string>;
|
469
|
-
name?: string | undefined;
|
470
|
-
dataStruct?: boolean | undefined;
|
471
|
-
}, "dataStruct">, "name">>;
|
472
|
-
userTypes: Record<string, {
|
473
|
-
internalType: "string" | "address" | "bool" | "bytes" | "bytes3" | "bytes32" | "bytes4" | "bytes1" | "bytes2" | "bytes22" | "bytes5" | "bytes6" | "bytes7" | "bytes8" | "bytes9" | "bytes10" | "bytes11" | "bytes12" | "bytes13" | "bytes14" | "bytes15" | "bytes16" | "bytes17" | "bytes18" | "bytes19" | "bytes20" | "bytes21" | "bytes23" | "bytes24" | "bytes25" | "bytes26" | "bytes27" | "bytes28" | "bytes29" | "bytes30" | "bytes31" | "int8" | "int16" | "int24" | "int32" | "int40" | "int48" | "int56" | "int64" | "int72" | "int80" | "int88" | "int96" | "int104" | "int112" | "int120" | "int128" | "int136" | "int144" | "int152" | "int160" | "int168" | "int176" | "int184" | "int192" | "int200" | "int208" | "int216" | "int224" | "int232" | "int240" | "int248" | "int256" | "uint8" | "uint16" | "uint24" | "uint32" | "uint40" | "uint48" | "uint56" | "uint64" | "uint72" | "uint80" | "uint88" | "uint96" | "uint104" | "uint112" | "uint120" | "uint128" | "uint136" | "uint144" | "uint152" | "uint160" | "uint168" | "uint176" | "uint184" | "uint192" | "uint200" | "uint208" | "uint216" | "uint224" | "uint232" | "uint240" | "uint248" | "uint256" | "bytes32[]" | "uint8[]" | "uint16[]" | "uint24[]" | "uint32[]" | "uint40[]" | "uint48[]" | "uint56[]" | "uint64[]" | "uint72[]" | "uint80[]" | "uint88[]" | "uint96[]" | "uint104[]" | "uint112[]" | "uint120[]" | "uint128[]" | "uint136[]" | "uint144[]" | "uint152[]" | "uint160[]" | "uint168[]" | "uint176[]" | "uint184[]" | "uint192[]" | "uint200[]" | "uint208[]" | "uint216[]" | "uint224[]" | "uint232[]" | "uint240[]" | "uint248[]" | "uint256[]" | "int8[]" | "int16[]" | "int24[]" | "int32[]" | "int40[]" | "int48[]" | "int56[]" | "int64[]" | "int72[]" | "int80[]" | "int88[]" | "int96[]" | "int104[]" | "int112[]" | "int120[]" | "int128[]" | "int136[]" | "int144[]" | "int152[]" | "int160[]" | "int168[]" | "int176[]" | "int184[]" | "int192[]" | "int200[]" | "int208[]" | "int216[]" | "int224[]" | "int232[]" | "int240[]" | "int248[]" | "int256[]" | "bytes1[]" | "bytes2[]" | "bytes3[]" | "bytes4[]" | "bytes5[]" | "bytes6[]" | "bytes7[]" | "bytes8[]" | "bytes9[]" | "bytes10[]" | "bytes11[]" | "bytes12[]" | "bytes13[]" | "bytes14[]" | "bytes15[]" | "bytes16[]" | "bytes17[]" | "bytes18[]" | "bytes19[]" | "bytes20[]" | "bytes21[]" | "bytes22[]" | "bytes23[]" | "bytes24[]" | "bytes25[]" | "bytes26[]" | "bytes27[]" | "bytes28[]" | "bytes29[]" | "bytes30[]" | "bytes31[]" | "bool[]" | "address[]";
|
474
|
-
filePath: string;
|
475
|
-
}>;
|
476
|
-
enums: Record<string, string[]>;
|
477
|
-
}, {
|
478
|
-
tables: Record<string, string | {
|
479
|
-
valueSchema: string | Record<string, string>;
|
480
|
-
name?: string | undefined;
|
481
|
-
tableIdArgument?: boolean | undefined;
|
482
|
-
storeArgument?: boolean | undefined;
|
483
|
-
dataStruct?: boolean | undefined;
|
484
|
-
directory?: string | undefined;
|
485
|
-
keySchema?: Record<string, string> | undefined;
|
486
|
-
offchainOnly?: boolean | undefined;
|
487
|
-
}>;
|
488
|
-
namespace?: string | undefined;
|
489
|
-
userTypes?: Record<string, {
|
490
|
-
internalType: "string" | "address" | "bool" | "bytes" | "bytes3" | "bytes32" | "bytes4" | "bytes1" | "bytes2" | "bytes22" | "bytes5" | "bytes6" | "bytes7" | "bytes8" | "bytes9" | "bytes10" | "bytes11" | "bytes12" | "bytes13" | "bytes14" | "bytes15" | "bytes16" | "bytes17" | "bytes18" | "bytes19" | "bytes20" | "bytes21" | "bytes23" | "bytes24" | "bytes25" | "bytes26" | "bytes27" | "bytes28" | "bytes29" | "bytes30" | "bytes31" | "int8" | "int16" | "int24" | "int32" | "int40" | "int48" | "int56" | "int64" | "int72" | "int80" | "int88" | "int96" | "int104" | "int112" | "int120" | "int128" | "int136" | "int144" | "int152" | "int160" | "int168" | "int176" | "int184" | "int192" | "int200" | "int208" | "int216" | "int224" | "int232" | "int240" | "int248" | "int256" | "uint8" | "uint16" | "uint24" | "uint32" | "uint40" | "uint48" | "uint56" | "uint64" | "uint72" | "uint80" | "uint88" | "uint96" | "uint104" | "uint112" | "uint120" | "uint128" | "uint136" | "uint144" | "uint152" | "uint160" | "uint168" | "uint176" | "uint184" | "uint192" | "uint200" | "uint208" | "uint216" | "uint224" | "uint232" | "uint240" | "uint248" | "uint256" | "bytes32[]" | "uint8[]" | "uint16[]" | "uint24[]" | "uint32[]" | "uint40[]" | "uint48[]" | "uint56[]" | "uint64[]" | "uint72[]" | "uint80[]" | "uint88[]" | "uint96[]" | "uint104[]" | "uint112[]" | "uint120[]" | "uint128[]" | "uint136[]" | "uint144[]" | "uint152[]" | "uint160[]" | "uint168[]" | "uint176[]" | "uint184[]" | "uint192[]" | "uint200[]" | "uint208[]" | "uint216[]" | "uint224[]" | "uint232[]" | "uint240[]" | "uint248[]" | "uint256[]" | "int8[]" | "int16[]" | "int24[]" | "int32[]" | "int40[]" | "int48[]" | "int56[]" | "int64[]" | "int72[]" | "int80[]" | "int88[]" | "int96[]" | "int104[]" | "int112[]" | "int120[]" | "int128[]" | "int136[]" | "int144[]" | "int152[]" | "int160[]" | "int168[]" | "int176[]" | "int184[]" | "int192[]" | "int200[]" | "int208[]" | "int216[]" | "int224[]" | "int232[]" | "int240[]" | "int248[]" | "int256[]" | "bytes1[]" | "bytes2[]" | "bytes3[]" | "bytes4[]" | "bytes5[]" | "bytes6[]" | "bytes7[]" | "bytes8[]" | "bytes9[]" | "bytes10[]" | "bytes11[]" | "bytes12[]" | "bytes13[]" | "bytes14[]" | "bytes15[]" | "bytes16[]" | "bytes17[]" | "bytes18[]" | "bytes19[]" | "bytes20[]" | "bytes21[]" | "bytes22[]" | "bytes23[]" | "bytes24[]" | "bytes25[]" | "bytes26[]" | "bytes27[]" | "bytes28[]" | "bytes29[]" | "bytes30[]" | "bytes31[]" | "bool[]" | "address[]";
|
491
|
-
filePath: string;
|
492
|
-
}> | undefined;
|
493
|
-
enums?: Record<string, string[]> | undefined;
|
494
|
-
}>;
|
495
|
-
type StoreUserConfig = z.input<typeof zStoreConfig>;
|
496
|
-
type StoreConfig = z.output<typeof zStoreConfig>;
|
497
|
-
declare const zPluginStoreConfig: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
498
|
-
namespace: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
499
|
-
tables: z.ZodEffects<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
500
|
-
directory: z.ZodDefault<z.ZodString>;
|
501
|
-
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
502
|
-
tableIdArgument: z.ZodDefault<z.ZodBoolean>;
|
503
|
-
storeArgument: z.ZodDefault<z.ZodBoolean>;
|
504
|
-
dataStruct: z.ZodOptional<z.ZodBoolean>;
|
505
|
-
keySchema: z.ZodDefault<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
|
506
|
-
valueSchema: z.ZodUnion<[z.ZodEffects<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>, Record<string, string>, Record<string, string>>, z.ZodEffects<z.ZodString, Record<string, string>, string>]>;
|
507
|
-
offchainOnly: z.ZodDefault<z.ZodBoolean>;
|
508
|
-
}, "strip", z.ZodTypeAny, {
|
509
|
-
tableIdArgument: boolean;
|
510
|
-
storeArgument: boolean;
|
511
|
-
directory: string;
|
512
|
-
keySchema: Record<string, string>;
|
513
|
-
offchainOnly: boolean;
|
514
|
-
valueSchema: Record<string, string>;
|
515
|
-
name?: string | undefined;
|
516
|
-
dataStruct?: boolean | undefined;
|
517
|
-
}, {
|
518
|
-
valueSchema: string | Record<string, string>;
|
519
|
-
name?: string | undefined;
|
520
|
-
tableIdArgument?: boolean | undefined;
|
521
|
-
storeArgument?: boolean | undefined;
|
522
|
-
dataStruct?: boolean | undefined;
|
523
|
-
directory?: string | undefined;
|
524
|
-
keySchema?: Record<string, string> | undefined;
|
525
|
-
offchainOnly?: boolean | undefined;
|
526
|
-
}>, RequireKeys<{
|
527
|
-
tableIdArgument: boolean;
|
528
|
-
storeArgument: boolean;
|
529
|
-
directory: string;
|
530
|
-
keySchema: Record<string, string>;
|
531
|
-
offchainOnly: boolean;
|
532
|
-
valueSchema: Record<string, string>;
|
533
|
-
name?: string | undefined;
|
534
|
-
dataStruct?: boolean | undefined;
|
535
|
-
}, "dataStruct">, {
|
536
|
-
valueSchema: string | Record<string, string>;
|
537
|
-
name?: string | undefined;
|
538
|
-
tableIdArgument?: boolean | undefined;
|
539
|
-
storeArgument?: boolean | undefined;
|
540
|
-
dataStruct?: boolean | undefined;
|
541
|
-
directory?: string | undefined;
|
542
|
-
keySchema?: Record<string, string> | undefined;
|
543
|
-
offchainOnly?: boolean | undefined;
|
544
|
-
}>, z.ZodEffects<z.ZodString, RequireKeys<{
|
545
|
-
tableIdArgument: boolean;
|
546
|
-
storeArgument: boolean;
|
547
|
-
directory: string;
|
548
|
-
keySchema: Record<string, string>;
|
549
|
-
offchainOnly: boolean;
|
550
|
-
valueSchema: Record<string, string>;
|
551
|
-
name?: string | undefined;
|
552
|
-
dataStruct?: boolean | undefined;
|
553
|
-
}, "dataStruct">, string>]>>, Record<string, RequireKeys<RequireKeys<{
|
554
|
-
tableIdArgument: boolean;
|
555
|
-
storeArgument: boolean;
|
556
|
-
directory: string;
|
557
|
-
keySchema: Record<string, string>;
|
558
|
-
offchainOnly: boolean;
|
559
|
-
valueSchema: Record<string, string>;
|
560
|
-
name?: string | undefined;
|
561
|
-
dataStruct?: boolean | undefined;
|
562
|
-
}, "dataStruct">, "name">>, Record<string, string | {
|
563
|
-
valueSchema: string | Record<string, string>;
|
564
|
-
name?: string | undefined;
|
565
|
-
tableIdArgument?: boolean | undefined;
|
566
|
-
storeArgument?: boolean | undefined;
|
567
|
-
dataStruct?: boolean | undefined;
|
568
|
-
directory?: string | undefined;
|
569
|
-
keySchema?: Record<string, string> | undefined;
|
570
|
-
offchainOnly?: boolean | undefined;
|
571
|
-
}>>;
|
572
|
-
}, {
|
573
|
-
enums: z.ZodDefault<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, string[], string[]>>>;
|
574
|
-
}>, {
|
575
|
-
userTypes: z.ZodDefault<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
576
|
-
filePath: z.ZodString;
|
577
|
-
internalType: z.ZodEnum<["uint8", "uint16", "uint24", "uint32", "uint40", "uint48", "uint56", "uint64", "uint72", "uint80", "uint88", "uint96", "uint104", "uint112", "uint120", "uint128", "uint136", "uint144", "uint152", "uint160", "uint168", "uint176", "uint184", "uint192", "uint200", "uint208", "uint216", "uint224", "uint232", "uint240", "uint248", "uint256", "int8", "int16", "int24", "int32", "int40", "int48", "int56", "int64", "int72", "int80", "int88", "int96", "int104", "int112", "int120", "int128", "int136", "int144", "int152", "int160", "int168", "int176", "int184", "int192", "int200", "int208", "int216", "int224", "int232", "int240", "int248", "int256", "bytes1", "bytes2", "bytes3", "bytes4", "bytes5", "bytes6", "bytes7", "bytes8", "bytes9", "bytes10", "bytes11", "bytes12", "bytes13", "bytes14", "bytes15", "bytes16", "bytes17", "bytes18", "bytes19", "bytes20", "bytes21", "bytes22", "bytes23", "bytes24", "bytes25", "bytes26", "bytes27", "bytes28", "bytes29", "bytes30", "bytes31", "bytes32", "bool", "address", "uint8[]", "uint16[]", "uint24[]", "uint32[]", "uint40[]", "uint48[]", "uint56[]", "uint64[]", "uint72[]", "uint80[]", "uint88[]", "uint96[]", "uint104[]", "uint112[]", "uint120[]", "uint128[]", "uint136[]", "uint144[]", "uint152[]", "uint160[]", "uint168[]", "uint176[]", "uint184[]", "uint192[]", "uint200[]", "uint208[]", "uint216[]", "uint224[]", "uint232[]", "uint240[]", "uint248[]", "uint256[]", "int8[]", "int16[]", "int24[]", "int32[]", "int40[]", "int48[]", "int56[]", "int64[]", "int72[]", "int80[]", "int88[]", "int96[]", "int104[]", "int112[]", "int120[]", "int128[]", "int136[]", "int144[]", "int152[]", "int160[]", "int168[]", "int176[]", "int184[]", "int192[]", "int200[]", "int208[]", "int216[]", "int224[]", "int232[]", "int240[]", "int248[]", "int256[]", "bytes1[]", "bytes2[]", "bytes3[]", "bytes4[]", "bytes5[]", "bytes6[]", "bytes7[]", "bytes8[]", "bytes9[]", "bytes10[]", "bytes11[]", "bytes12[]", "bytes13[]", "bytes14[]", "bytes15[]", "bytes16[]", "bytes17[]", "bytes18[]", "bytes19[]", "bytes20[]", "bytes21[]", "bytes22[]", "bytes23[]", "bytes24[]", "bytes25[]", "bytes26[]", "bytes27[]", "bytes28[]", "bytes29[]", "bytes30[]", "bytes31[]", "bytes32[]", "bool[]", "address[]", "bytes", "string"]>;
|
578
|
-
}, "strip", z.ZodTypeAny, {
|
579
|
-
internalType: "string" | "address" | "bool" | "bytes" | "bytes3" | "bytes32" | "bytes4" | "bytes1" | "bytes2" | "bytes22" | "bytes5" | "bytes6" | "bytes7" | "bytes8" | "bytes9" | "bytes10" | "bytes11" | "bytes12" | "bytes13" | "bytes14" | "bytes15" | "bytes16" | "bytes17" | "bytes18" | "bytes19" | "bytes20" | "bytes21" | "bytes23" | "bytes24" | "bytes25" | "bytes26" | "bytes27" | "bytes28" | "bytes29" | "bytes30" | "bytes31" | "int8" | "int16" | "int24" | "int32" | "int40" | "int48" | "int56" | "int64" | "int72" | "int80" | "int88" | "int96" | "int104" | "int112" | "int120" | "int128" | "int136" | "int144" | "int152" | "int160" | "int168" | "int176" | "int184" | "int192" | "int200" | "int208" | "int216" | "int224" | "int232" | "int240" | "int248" | "int256" | "uint8" | "uint16" | "uint24" | "uint32" | "uint40" | "uint48" | "uint56" | "uint64" | "uint72" | "uint80" | "uint88" | "uint96" | "uint104" | "uint112" | "uint120" | "uint128" | "uint136" | "uint144" | "uint152" | "uint160" | "uint168" | "uint176" | "uint184" | "uint192" | "uint200" | "uint208" | "uint216" | "uint224" | "uint232" | "uint240" | "uint248" | "uint256" | "bytes32[]" | "uint8[]" | "uint16[]" | "uint24[]" | "uint32[]" | "uint40[]" | "uint48[]" | "uint56[]" | "uint64[]" | "uint72[]" | "uint80[]" | "uint88[]" | "uint96[]" | "uint104[]" | "uint112[]" | "uint120[]" | "uint128[]" | "uint136[]" | "uint144[]" | "uint152[]" | "uint160[]" | "uint168[]" | "uint176[]" | "uint184[]" | "uint192[]" | "uint200[]" | "uint208[]" | "uint216[]" | "uint224[]" | "uint232[]" | "uint240[]" | "uint248[]" | "uint256[]" | "int8[]" | "int16[]" | "int24[]" | "int32[]" | "int40[]" | "int48[]" | "int56[]" | "int64[]" | "int72[]" | "int80[]" | "int88[]" | "int96[]" | "int104[]" | "int112[]" | "int120[]" | "int128[]" | "int136[]" | "int144[]" | "int152[]" | "int160[]" | "int168[]" | "int176[]" | "int184[]" | "int192[]" | "int200[]" | "int208[]" | "int216[]" | "int224[]" | "int232[]" | "int240[]" | "int248[]" | "int256[]" | "bytes1[]" | "bytes2[]" | "bytes3[]" | "bytes4[]" | "bytes5[]" | "bytes6[]" | "bytes7[]" | "bytes8[]" | "bytes9[]" | "bytes10[]" | "bytes11[]" | "bytes12[]" | "bytes13[]" | "bytes14[]" | "bytes15[]" | "bytes16[]" | "bytes17[]" | "bytes18[]" | "bytes19[]" | "bytes20[]" | "bytes21[]" | "bytes22[]" | "bytes23[]" | "bytes24[]" | "bytes25[]" | "bytes26[]" | "bytes27[]" | "bytes28[]" | "bytes29[]" | "bytes30[]" | "bytes31[]" | "bool[]" | "address[]";
|
580
|
-
filePath: string;
|
581
|
-
}, {
|
582
|
-
internalType: "string" | "address" | "bool" | "bytes" | "bytes3" | "bytes32" | "bytes4" | "bytes1" | "bytes2" | "bytes22" | "bytes5" | "bytes6" | "bytes7" | "bytes8" | "bytes9" | "bytes10" | "bytes11" | "bytes12" | "bytes13" | "bytes14" | "bytes15" | "bytes16" | "bytes17" | "bytes18" | "bytes19" | "bytes20" | "bytes21" | "bytes23" | "bytes24" | "bytes25" | "bytes26" | "bytes27" | "bytes28" | "bytes29" | "bytes30" | "bytes31" | "int8" | "int16" | "int24" | "int32" | "int40" | "int48" | "int56" | "int64" | "int72" | "int80" | "int88" | "int96" | "int104" | "int112" | "int120" | "int128" | "int136" | "int144" | "int152" | "int160" | "int168" | "int176" | "int184" | "int192" | "int200" | "int208" | "int216" | "int224" | "int232" | "int240" | "int248" | "int256" | "uint8" | "uint16" | "uint24" | "uint32" | "uint40" | "uint48" | "uint56" | "uint64" | "uint72" | "uint80" | "uint88" | "uint96" | "uint104" | "uint112" | "uint120" | "uint128" | "uint136" | "uint144" | "uint152" | "uint160" | "uint168" | "uint176" | "uint184" | "uint192" | "uint200" | "uint208" | "uint216" | "uint224" | "uint232" | "uint240" | "uint248" | "uint256" | "bytes32[]" | "uint8[]" | "uint16[]" | "uint24[]" | "uint32[]" | "uint40[]" | "uint48[]" | "uint56[]" | "uint64[]" | "uint72[]" | "uint80[]" | "uint88[]" | "uint96[]" | "uint104[]" | "uint112[]" | "uint120[]" | "uint128[]" | "uint136[]" | "uint144[]" | "uint152[]" | "uint160[]" | "uint168[]" | "uint176[]" | "uint184[]" | "uint192[]" | "uint200[]" | "uint208[]" | "uint216[]" | "uint224[]" | "uint232[]" | "uint240[]" | "uint248[]" | "uint256[]" | "int8[]" | "int16[]" | "int24[]" | "int32[]" | "int40[]" | "int48[]" | "int56[]" | "int64[]" | "int72[]" | "int80[]" | "int88[]" | "int96[]" | "int104[]" | "int112[]" | "int120[]" | "int128[]" | "int136[]" | "int144[]" | "int152[]" | "int160[]" | "int168[]" | "int176[]" | "int184[]" | "int192[]" | "int200[]" | "int208[]" | "int216[]" | "int224[]" | "int232[]" | "int240[]" | "int248[]" | "int256[]" | "bytes1[]" | "bytes2[]" | "bytes3[]" | "bytes4[]" | "bytes5[]" | "bytes6[]" | "bytes7[]" | "bytes8[]" | "bytes9[]" | "bytes10[]" | "bytes11[]" | "bytes12[]" | "bytes13[]" | "bytes14[]" | "bytes15[]" | "bytes16[]" | "bytes17[]" | "bytes18[]" | "bytes19[]" | "bytes20[]" | "bytes21[]" | "bytes22[]" | "bytes23[]" | "bytes24[]" | "bytes25[]" | "bytes26[]" | "bytes27[]" | "bytes28[]" | "bytes29[]" | "bytes30[]" | "bytes31[]" | "bool[]" | "address[]";
|
583
|
-
filePath: string;
|
584
|
-
}>>>;
|
585
|
-
}>, "strip", z.ZodAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
586
|
-
namespace: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
587
|
-
tables: z.ZodEffects<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
588
|
-
directory: z.ZodDefault<z.ZodString>;
|
589
|
-
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
590
|
-
tableIdArgument: z.ZodDefault<z.ZodBoolean>;
|
591
|
-
storeArgument: z.ZodDefault<z.ZodBoolean>;
|
592
|
-
dataStruct: z.ZodOptional<z.ZodBoolean>;
|
593
|
-
keySchema: z.ZodDefault<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
|
594
|
-
valueSchema: z.ZodUnion<[z.ZodEffects<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>, Record<string, string>, Record<string, string>>, z.ZodEffects<z.ZodString, Record<string, string>, string>]>;
|
595
|
-
offchainOnly: z.ZodDefault<z.ZodBoolean>;
|
596
|
-
}, "strip", z.ZodTypeAny, {
|
597
|
-
tableIdArgument: boolean;
|
598
|
-
storeArgument: boolean;
|
599
|
-
directory: string;
|
600
|
-
keySchema: Record<string, string>;
|
601
|
-
offchainOnly: boolean;
|
602
|
-
valueSchema: Record<string, string>;
|
603
|
-
name?: string | undefined;
|
604
|
-
dataStruct?: boolean | undefined;
|
605
|
-
}, {
|
606
|
-
valueSchema: string | Record<string, string>;
|
607
|
-
name?: string | undefined;
|
608
|
-
tableIdArgument?: boolean | undefined;
|
609
|
-
storeArgument?: boolean | undefined;
|
610
|
-
dataStruct?: boolean | undefined;
|
611
|
-
directory?: string | undefined;
|
612
|
-
keySchema?: Record<string, string> | undefined;
|
613
|
-
offchainOnly?: boolean | undefined;
|
614
|
-
}>, RequireKeys<{
|
615
|
-
tableIdArgument: boolean;
|
616
|
-
storeArgument: boolean;
|
617
|
-
directory: string;
|
618
|
-
keySchema: Record<string, string>;
|
619
|
-
offchainOnly: boolean;
|
620
|
-
valueSchema: Record<string, string>;
|
621
|
-
name?: string | undefined;
|
622
|
-
dataStruct?: boolean | undefined;
|
623
|
-
}, "dataStruct">, {
|
624
|
-
valueSchema: string | Record<string, string>;
|
625
|
-
name?: string | undefined;
|
626
|
-
tableIdArgument?: boolean | undefined;
|
627
|
-
storeArgument?: boolean | undefined;
|
628
|
-
dataStruct?: boolean | undefined;
|
629
|
-
directory?: string | undefined;
|
630
|
-
keySchema?: Record<string, string> | undefined;
|
631
|
-
offchainOnly?: boolean | undefined;
|
632
|
-
}>, z.ZodEffects<z.ZodString, RequireKeys<{
|
633
|
-
tableIdArgument: boolean;
|
634
|
-
storeArgument: boolean;
|
635
|
-
directory: string;
|
636
|
-
keySchema: Record<string, string>;
|
637
|
-
offchainOnly: boolean;
|
638
|
-
valueSchema: Record<string, string>;
|
639
|
-
name?: string | undefined;
|
640
|
-
dataStruct?: boolean | undefined;
|
641
|
-
}, "dataStruct">, string>]>>, Record<string, RequireKeys<RequireKeys<{
|
642
|
-
tableIdArgument: boolean;
|
643
|
-
storeArgument: boolean;
|
644
|
-
directory: string;
|
645
|
-
keySchema: Record<string, string>;
|
646
|
-
offchainOnly: boolean;
|
647
|
-
valueSchema: Record<string, string>;
|
648
|
-
name?: string | undefined;
|
649
|
-
dataStruct?: boolean | undefined;
|
650
|
-
}, "dataStruct">, "name">>, Record<string, string | {
|
651
|
-
valueSchema: string | Record<string, string>;
|
652
|
-
name?: string | undefined;
|
653
|
-
tableIdArgument?: boolean | undefined;
|
654
|
-
storeArgument?: boolean | undefined;
|
655
|
-
dataStruct?: boolean | undefined;
|
656
|
-
directory?: string | undefined;
|
657
|
-
keySchema?: Record<string, string> | undefined;
|
658
|
-
offchainOnly?: boolean | undefined;
|
659
|
-
}>>;
|
660
|
-
}, {
|
661
|
-
enums: z.ZodDefault<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, string[], string[]>>>;
|
662
|
-
}>, {
|
663
|
-
userTypes: z.ZodDefault<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
664
|
-
filePath: z.ZodString;
|
665
|
-
internalType: z.ZodEnum<["uint8", "uint16", "uint24", "uint32", "uint40", "uint48", "uint56", "uint64", "uint72", "uint80", "uint88", "uint96", "uint104", "uint112", "uint120", "uint128", "uint136", "uint144", "uint152", "uint160", "uint168", "uint176", "uint184", "uint192", "uint200", "uint208", "uint216", "uint224", "uint232", "uint240", "uint248", "uint256", "int8", "int16", "int24", "int32", "int40", "int48", "int56", "int64", "int72", "int80", "int88", "int96", "int104", "int112", "int120", "int128", "int136", "int144", "int152", "int160", "int168", "int176", "int184", "int192", "int200", "int208", "int216", "int224", "int232", "int240", "int248", "int256", "bytes1", "bytes2", "bytes3", "bytes4", "bytes5", "bytes6", "bytes7", "bytes8", "bytes9", "bytes10", "bytes11", "bytes12", "bytes13", "bytes14", "bytes15", "bytes16", "bytes17", "bytes18", "bytes19", "bytes20", "bytes21", "bytes22", "bytes23", "bytes24", "bytes25", "bytes26", "bytes27", "bytes28", "bytes29", "bytes30", "bytes31", "bytes32", "bool", "address", "uint8[]", "uint16[]", "uint24[]", "uint32[]", "uint40[]", "uint48[]", "uint56[]", "uint64[]", "uint72[]", "uint80[]", "uint88[]", "uint96[]", "uint104[]", "uint112[]", "uint120[]", "uint128[]", "uint136[]", "uint144[]", "uint152[]", "uint160[]", "uint168[]", "uint176[]", "uint184[]", "uint192[]", "uint200[]", "uint208[]", "uint216[]", "uint224[]", "uint232[]", "uint240[]", "uint248[]", "uint256[]", "int8[]", "int16[]", "int24[]", "int32[]", "int40[]", "int48[]", "int56[]", "int64[]", "int72[]", "int80[]", "int88[]", "int96[]", "int104[]", "int112[]", "int120[]", "int128[]", "int136[]", "int144[]", "int152[]", "int160[]", "int168[]", "int176[]", "int184[]", "int192[]", "int200[]", "int208[]", "int216[]", "int224[]", "int232[]", "int240[]", "int248[]", "int256[]", "bytes1[]", "bytes2[]", "bytes3[]", "bytes4[]", "bytes5[]", "bytes6[]", "bytes7[]", "bytes8[]", "bytes9[]", "bytes10[]", "bytes11[]", "bytes12[]", "bytes13[]", "bytes14[]", "bytes15[]", "bytes16[]", "bytes17[]", "bytes18[]", "bytes19[]", "bytes20[]", "bytes21[]", "bytes22[]", "bytes23[]", "bytes24[]", "bytes25[]", "bytes26[]", "bytes27[]", "bytes28[]", "bytes29[]", "bytes30[]", "bytes31[]", "bytes32[]", "bool[]", "address[]", "bytes", "string"]>;
|
666
|
-
}, "strip", z.ZodTypeAny, {
|
667
|
-
internalType: "string" | "address" | "bool" | "bytes" | "bytes3" | "bytes32" | "bytes4" | "bytes1" | "bytes2" | "bytes22" | "bytes5" | "bytes6" | "bytes7" | "bytes8" | "bytes9" | "bytes10" | "bytes11" | "bytes12" | "bytes13" | "bytes14" | "bytes15" | "bytes16" | "bytes17" | "bytes18" | "bytes19" | "bytes20" | "bytes21" | "bytes23" | "bytes24" | "bytes25" | "bytes26" | "bytes27" | "bytes28" | "bytes29" | "bytes30" | "bytes31" | "int8" | "int16" | "int24" | "int32" | "int40" | "int48" | "int56" | "int64" | "int72" | "int80" | "int88" | "int96" | "int104" | "int112" | "int120" | "int128" | "int136" | "int144" | "int152" | "int160" | "int168" | "int176" | "int184" | "int192" | "int200" | "int208" | "int216" | "int224" | "int232" | "int240" | "int248" | "int256" | "uint8" | "uint16" | "uint24" | "uint32" | "uint40" | "uint48" | "uint56" | "uint64" | "uint72" | "uint80" | "uint88" | "uint96" | "uint104" | "uint112" | "uint120" | "uint128" | "uint136" | "uint144" | "uint152" | "uint160" | "uint168" | "uint176" | "uint184" | "uint192" | "uint200" | "uint208" | "uint216" | "uint224" | "uint232" | "uint240" | "uint248" | "uint256" | "bytes32[]" | "uint8[]" | "uint16[]" | "uint24[]" | "uint32[]" | "uint40[]" | "uint48[]" | "uint56[]" | "uint64[]" | "uint72[]" | "uint80[]" | "uint88[]" | "uint96[]" | "uint104[]" | "uint112[]" | "uint120[]" | "uint128[]" | "uint136[]" | "uint144[]" | "uint152[]" | "uint160[]" | "uint168[]" | "uint176[]" | "uint184[]" | "uint192[]" | "uint200[]" | "uint208[]" | "uint216[]" | "uint224[]" | "uint232[]" | "uint240[]" | "uint248[]" | "uint256[]" | "int8[]" | "int16[]" | "int24[]" | "int32[]" | "int40[]" | "int48[]" | "int56[]" | "int64[]" | "int72[]" | "int80[]" | "int88[]" | "int96[]" | "int104[]" | "int112[]" | "int120[]" | "int128[]" | "int136[]" | "int144[]" | "int152[]" | "int160[]" | "int168[]" | "int176[]" | "int184[]" | "int192[]" | "int200[]" | "int208[]" | "int216[]" | "int224[]" | "int232[]" | "int240[]" | "int248[]" | "int256[]" | "bytes1[]" | "bytes2[]" | "bytes3[]" | "bytes4[]" | "bytes5[]" | "bytes6[]" | "bytes7[]" | "bytes8[]" | "bytes9[]" | "bytes10[]" | "bytes11[]" | "bytes12[]" | "bytes13[]" | "bytes14[]" | "bytes15[]" | "bytes16[]" | "bytes17[]" | "bytes18[]" | "bytes19[]" | "bytes20[]" | "bytes21[]" | "bytes22[]" | "bytes23[]" | "bytes24[]" | "bytes25[]" | "bytes26[]" | "bytes27[]" | "bytes28[]" | "bytes29[]" | "bytes30[]" | "bytes31[]" | "bool[]" | "address[]";
|
668
|
-
filePath: string;
|
669
|
-
}, {
|
670
|
-
internalType: "string" | "address" | "bool" | "bytes" | "bytes3" | "bytes32" | "bytes4" | "bytes1" | "bytes2" | "bytes22" | "bytes5" | "bytes6" | "bytes7" | "bytes8" | "bytes9" | "bytes10" | "bytes11" | "bytes12" | "bytes13" | "bytes14" | "bytes15" | "bytes16" | "bytes17" | "bytes18" | "bytes19" | "bytes20" | "bytes21" | "bytes23" | "bytes24" | "bytes25" | "bytes26" | "bytes27" | "bytes28" | "bytes29" | "bytes30" | "bytes31" | "int8" | "int16" | "int24" | "int32" | "int40" | "int48" | "int56" | "int64" | "int72" | "int80" | "int88" | "int96" | "int104" | "int112" | "int120" | "int128" | "int136" | "int144" | "int152" | "int160" | "int168" | "int176" | "int184" | "int192" | "int200" | "int208" | "int216" | "int224" | "int232" | "int240" | "int248" | "int256" | "uint8" | "uint16" | "uint24" | "uint32" | "uint40" | "uint48" | "uint56" | "uint64" | "uint72" | "uint80" | "uint88" | "uint96" | "uint104" | "uint112" | "uint120" | "uint128" | "uint136" | "uint144" | "uint152" | "uint160" | "uint168" | "uint176" | "uint184" | "uint192" | "uint200" | "uint208" | "uint216" | "uint224" | "uint232" | "uint240" | "uint248" | "uint256" | "bytes32[]" | "uint8[]" | "uint16[]" | "uint24[]" | "uint32[]" | "uint40[]" | "uint48[]" | "uint56[]" | "uint64[]" | "uint72[]" | "uint80[]" | "uint88[]" | "uint96[]" | "uint104[]" | "uint112[]" | "uint120[]" | "uint128[]" | "uint136[]" | "uint144[]" | "uint152[]" | "uint160[]" | "uint168[]" | "uint176[]" | "uint184[]" | "uint192[]" | "uint200[]" | "uint208[]" | "uint216[]" | "uint224[]" | "uint232[]" | "uint240[]" | "uint248[]" | "uint256[]" | "int8[]" | "int16[]" | "int24[]" | "int32[]" | "int40[]" | "int48[]" | "int56[]" | "int64[]" | "int72[]" | "int80[]" | "int88[]" | "int96[]" | "int104[]" | "int112[]" | "int120[]" | "int128[]" | "int136[]" | "int144[]" | "int152[]" | "int160[]" | "int168[]" | "int176[]" | "int184[]" | "int192[]" | "int200[]" | "int208[]" | "int216[]" | "int224[]" | "int232[]" | "int240[]" | "int248[]" | "int256[]" | "bytes1[]" | "bytes2[]" | "bytes3[]" | "bytes4[]" | "bytes5[]" | "bytes6[]" | "bytes7[]" | "bytes8[]" | "bytes9[]" | "bytes10[]" | "bytes11[]" | "bytes12[]" | "bytes13[]" | "bytes14[]" | "bytes15[]" | "bytes16[]" | "bytes17[]" | "bytes18[]" | "bytes19[]" | "bytes20[]" | "bytes21[]" | "bytes22[]" | "bytes23[]" | "bytes24[]" | "bytes25[]" | "bytes26[]" | "bytes27[]" | "bytes28[]" | "bytes29[]" | "bytes30[]" | "bytes31[]" | "bool[]" | "address[]";
|
671
|
-
filePath: string;
|
672
|
-
}>>>;
|
673
|
-
}>, z.ZodAny, "strip">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
674
|
-
namespace: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
675
|
-
tables: z.ZodEffects<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
676
|
-
directory: z.ZodDefault<z.ZodString>;
|
677
|
-
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
678
|
-
tableIdArgument: z.ZodDefault<z.ZodBoolean>;
|
679
|
-
storeArgument: z.ZodDefault<z.ZodBoolean>;
|
680
|
-
dataStruct: z.ZodOptional<z.ZodBoolean>;
|
681
|
-
keySchema: z.ZodDefault<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
|
682
|
-
valueSchema: z.ZodUnion<[z.ZodEffects<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>, Record<string, string>, Record<string, string>>, z.ZodEffects<z.ZodString, Record<string, string>, string>]>;
|
683
|
-
offchainOnly: z.ZodDefault<z.ZodBoolean>;
|
684
|
-
}, "strip", z.ZodTypeAny, {
|
685
|
-
tableIdArgument: boolean;
|
686
|
-
storeArgument: boolean;
|
687
|
-
directory: string;
|
688
|
-
keySchema: Record<string, string>;
|
689
|
-
offchainOnly: boolean;
|
690
|
-
valueSchema: Record<string, string>;
|
691
|
-
name?: string | undefined;
|
692
|
-
dataStruct?: boolean | undefined;
|
693
|
-
}, {
|
694
|
-
valueSchema: string | Record<string, string>;
|
695
|
-
name?: string | undefined;
|
696
|
-
tableIdArgument?: boolean | undefined;
|
697
|
-
storeArgument?: boolean | undefined;
|
698
|
-
dataStruct?: boolean | undefined;
|
699
|
-
directory?: string | undefined;
|
700
|
-
keySchema?: Record<string, string> | undefined;
|
701
|
-
offchainOnly?: boolean | undefined;
|
702
|
-
}>, RequireKeys<{
|
703
|
-
tableIdArgument: boolean;
|
704
|
-
storeArgument: boolean;
|
705
|
-
directory: string;
|
706
|
-
keySchema: Record<string, string>;
|
707
|
-
offchainOnly: boolean;
|
708
|
-
valueSchema: Record<string, string>;
|
709
|
-
name?: string | undefined;
|
710
|
-
dataStruct?: boolean | undefined;
|
711
|
-
}, "dataStruct">, {
|
712
|
-
valueSchema: string | Record<string, string>;
|
713
|
-
name?: string | undefined;
|
714
|
-
tableIdArgument?: boolean | undefined;
|
715
|
-
storeArgument?: boolean | undefined;
|
716
|
-
dataStruct?: boolean | undefined;
|
717
|
-
directory?: string | undefined;
|
718
|
-
keySchema?: Record<string, string> | undefined;
|
719
|
-
offchainOnly?: boolean | undefined;
|
720
|
-
}>, z.ZodEffects<z.ZodString, RequireKeys<{
|
721
|
-
tableIdArgument: boolean;
|
722
|
-
storeArgument: boolean;
|
723
|
-
directory: string;
|
724
|
-
keySchema: Record<string, string>;
|
725
|
-
offchainOnly: boolean;
|
726
|
-
valueSchema: Record<string, string>;
|
727
|
-
name?: string | undefined;
|
728
|
-
dataStruct?: boolean | undefined;
|
729
|
-
}, "dataStruct">, string>]>>, Record<string, RequireKeys<RequireKeys<{
|
730
|
-
tableIdArgument: boolean;
|
731
|
-
storeArgument: boolean;
|
732
|
-
directory: string;
|
733
|
-
keySchema: Record<string, string>;
|
734
|
-
offchainOnly: boolean;
|
735
|
-
valueSchema: Record<string, string>;
|
736
|
-
name?: string | undefined;
|
737
|
-
dataStruct?: boolean | undefined;
|
738
|
-
}, "dataStruct">, "name">>, Record<string, string | {
|
739
|
-
valueSchema: string | Record<string, string>;
|
740
|
-
name?: string | undefined;
|
741
|
-
tableIdArgument?: boolean | undefined;
|
742
|
-
storeArgument?: boolean | undefined;
|
743
|
-
dataStruct?: boolean | undefined;
|
744
|
-
directory?: string | undefined;
|
745
|
-
keySchema?: Record<string, string> | undefined;
|
746
|
-
offchainOnly?: boolean | undefined;
|
747
|
-
}>>;
|
748
|
-
}, {
|
749
|
-
enums: z.ZodDefault<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, string[], string[]>>>;
|
750
|
-
}>, {
|
751
|
-
userTypes: z.ZodDefault<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
752
|
-
filePath: z.ZodString;
|
753
|
-
internalType: z.ZodEnum<["uint8", "uint16", "uint24", "uint32", "uint40", "uint48", "uint56", "uint64", "uint72", "uint80", "uint88", "uint96", "uint104", "uint112", "uint120", "uint128", "uint136", "uint144", "uint152", "uint160", "uint168", "uint176", "uint184", "uint192", "uint200", "uint208", "uint216", "uint224", "uint232", "uint240", "uint248", "uint256", "int8", "int16", "int24", "int32", "int40", "int48", "int56", "int64", "int72", "int80", "int88", "int96", "int104", "int112", "int120", "int128", "int136", "int144", "int152", "int160", "int168", "int176", "int184", "int192", "int200", "int208", "int216", "int224", "int232", "int240", "int248", "int256", "bytes1", "bytes2", "bytes3", "bytes4", "bytes5", "bytes6", "bytes7", "bytes8", "bytes9", "bytes10", "bytes11", "bytes12", "bytes13", "bytes14", "bytes15", "bytes16", "bytes17", "bytes18", "bytes19", "bytes20", "bytes21", "bytes22", "bytes23", "bytes24", "bytes25", "bytes26", "bytes27", "bytes28", "bytes29", "bytes30", "bytes31", "bytes32", "bool", "address", "uint8[]", "uint16[]", "uint24[]", "uint32[]", "uint40[]", "uint48[]", "uint56[]", "uint64[]", "uint72[]", "uint80[]", "uint88[]", "uint96[]", "uint104[]", "uint112[]", "uint120[]", "uint128[]", "uint136[]", "uint144[]", "uint152[]", "uint160[]", "uint168[]", "uint176[]", "uint184[]", "uint192[]", "uint200[]", "uint208[]", "uint216[]", "uint224[]", "uint232[]", "uint240[]", "uint248[]", "uint256[]", "int8[]", "int16[]", "int24[]", "int32[]", "int40[]", "int48[]", "int56[]", "int64[]", "int72[]", "int80[]", "int88[]", "int96[]", "int104[]", "int112[]", "int120[]", "int128[]", "int136[]", "int144[]", "int152[]", "int160[]", "int168[]", "int176[]", "int184[]", "int192[]", "int200[]", "int208[]", "int216[]", "int224[]", "int232[]", "int240[]", "int248[]", "int256[]", "bytes1[]", "bytes2[]", "bytes3[]", "bytes4[]", "bytes5[]", "bytes6[]", "bytes7[]", "bytes8[]", "bytes9[]", "bytes10[]", "bytes11[]", "bytes12[]", "bytes13[]", "bytes14[]", "bytes15[]", "bytes16[]", "bytes17[]", "bytes18[]", "bytes19[]", "bytes20[]", "bytes21[]", "bytes22[]", "bytes23[]", "bytes24[]", "bytes25[]", "bytes26[]", "bytes27[]", "bytes28[]", "bytes29[]", "bytes30[]", "bytes31[]", "bytes32[]", "bool[]", "address[]", "bytes", "string"]>;
|
754
|
-
}, "strip", z.ZodTypeAny, {
|
755
|
-
internalType: "string" | "address" | "bool" | "bytes" | "bytes3" | "bytes32" | "bytes4" | "bytes1" | "bytes2" | "bytes22" | "bytes5" | "bytes6" | "bytes7" | "bytes8" | "bytes9" | "bytes10" | "bytes11" | "bytes12" | "bytes13" | "bytes14" | "bytes15" | "bytes16" | "bytes17" | "bytes18" | "bytes19" | "bytes20" | "bytes21" | "bytes23" | "bytes24" | "bytes25" | "bytes26" | "bytes27" | "bytes28" | "bytes29" | "bytes30" | "bytes31" | "int8" | "int16" | "int24" | "int32" | "int40" | "int48" | "int56" | "int64" | "int72" | "int80" | "int88" | "int96" | "int104" | "int112" | "int120" | "int128" | "int136" | "int144" | "int152" | "int160" | "int168" | "int176" | "int184" | "int192" | "int200" | "int208" | "int216" | "int224" | "int232" | "int240" | "int248" | "int256" | "uint8" | "uint16" | "uint24" | "uint32" | "uint40" | "uint48" | "uint56" | "uint64" | "uint72" | "uint80" | "uint88" | "uint96" | "uint104" | "uint112" | "uint120" | "uint128" | "uint136" | "uint144" | "uint152" | "uint160" | "uint168" | "uint176" | "uint184" | "uint192" | "uint200" | "uint208" | "uint216" | "uint224" | "uint232" | "uint240" | "uint248" | "uint256" | "bytes32[]" | "uint8[]" | "uint16[]" | "uint24[]" | "uint32[]" | "uint40[]" | "uint48[]" | "uint56[]" | "uint64[]" | "uint72[]" | "uint80[]" | "uint88[]" | "uint96[]" | "uint104[]" | "uint112[]" | "uint120[]" | "uint128[]" | "uint136[]" | "uint144[]" | "uint152[]" | "uint160[]" | "uint168[]" | "uint176[]" | "uint184[]" | "uint192[]" | "uint200[]" | "uint208[]" | "uint216[]" | "uint224[]" | "uint232[]" | "uint240[]" | "uint248[]" | "uint256[]" | "int8[]" | "int16[]" | "int24[]" | "int32[]" | "int40[]" | "int48[]" | "int56[]" | "int64[]" | "int72[]" | "int80[]" | "int88[]" | "int96[]" | "int104[]" | "int112[]" | "int120[]" | "int128[]" | "int136[]" | "int144[]" | "int152[]" | "int160[]" | "int168[]" | "int176[]" | "int184[]" | "int192[]" | "int200[]" | "int208[]" | "int216[]" | "int224[]" | "int232[]" | "int240[]" | "int248[]" | "int256[]" | "bytes1[]" | "bytes2[]" | "bytes3[]" | "bytes4[]" | "bytes5[]" | "bytes6[]" | "bytes7[]" | "bytes8[]" | "bytes9[]" | "bytes10[]" | "bytes11[]" | "bytes12[]" | "bytes13[]" | "bytes14[]" | "bytes15[]" | "bytes16[]" | "bytes17[]" | "bytes18[]" | "bytes19[]" | "bytes20[]" | "bytes21[]" | "bytes22[]" | "bytes23[]" | "bytes24[]" | "bytes25[]" | "bytes26[]" | "bytes27[]" | "bytes28[]" | "bytes29[]" | "bytes30[]" | "bytes31[]" | "bool[]" | "address[]";
|
756
|
-
filePath: string;
|
757
|
-
}, {
|
758
|
-
internalType: "string" | "address" | "bool" | "bytes" | "bytes3" | "bytes32" | "bytes4" | "bytes1" | "bytes2" | "bytes22" | "bytes5" | "bytes6" | "bytes7" | "bytes8" | "bytes9" | "bytes10" | "bytes11" | "bytes12" | "bytes13" | "bytes14" | "bytes15" | "bytes16" | "bytes17" | "bytes18" | "bytes19" | "bytes20" | "bytes21" | "bytes23" | "bytes24" | "bytes25" | "bytes26" | "bytes27" | "bytes28" | "bytes29" | "bytes30" | "bytes31" | "int8" | "int16" | "int24" | "int32" | "int40" | "int48" | "int56" | "int64" | "int72" | "int80" | "int88" | "int96" | "int104" | "int112" | "int120" | "int128" | "int136" | "int144" | "int152" | "int160" | "int168" | "int176" | "int184" | "int192" | "int200" | "int208" | "int216" | "int224" | "int232" | "int240" | "int248" | "int256" | "uint8" | "uint16" | "uint24" | "uint32" | "uint40" | "uint48" | "uint56" | "uint64" | "uint72" | "uint80" | "uint88" | "uint96" | "uint104" | "uint112" | "uint120" | "uint128" | "uint136" | "uint144" | "uint152" | "uint160" | "uint168" | "uint176" | "uint184" | "uint192" | "uint200" | "uint208" | "uint216" | "uint224" | "uint232" | "uint240" | "uint248" | "uint256" | "bytes32[]" | "uint8[]" | "uint16[]" | "uint24[]" | "uint32[]" | "uint40[]" | "uint48[]" | "uint56[]" | "uint64[]" | "uint72[]" | "uint80[]" | "uint88[]" | "uint96[]" | "uint104[]" | "uint112[]" | "uint120[]" | "uint128[]" | "uint136[]" | "uint144[]" | "uint152[]" | "uint160[]" | "uint168[]" | "uint176[]" | "uint184[]" | "uint192[]" | "uint200[]" | "uint208[]" | "uint216[]" | "uint224[]" | "uint232[]" | "uint240[]" | "uint248[]" | "uint256[]" | "int8[]" | "int16[]" | "int24[]" | "int32[]" | "int40[]" | "int48[]" | "int56[]" | "int64[]" | "int72[]" | "int80[]" | "int88[]" | "int96[]" | "int104[]" | "int112[]" | "int120[]" | "int128[]" | "int136[]" | "int144[]" | "int152[]" | "int160[]" | "int168[]" | "int176[]" | "int184[]" | "int192[]" | "int200[]" | "int208[]" | "int216[]" | "int224[]" | "int232[]" | "int240[]" | "int248[]" | "int256[]" | "bytes1[]" | "bytes2[]" | "bytes3[]" | "bytes4[]" | "bytes5[]" | "bytes6[]" | "bytes7[]" | "bytes8[]" | "bytes9[]" | "bytes10[]" | "bytes11[]" | "bytes12[]" | "bytes13[]" | "bytes14[]" | "bytes15[]" | "bytes16[]" | "bytes17[]" | "bytes18[]" | "bytes19[]" | "bytes20[]" | "bytes21[]" | "bytes22[]" | "bytes23[]" | "bytes24[]" | "bytes25[]" | "bytes26[]" | "bytes27[]" | "bytes28[]" | "bytes29[]" | "bytes30[]" | "bytes31[]" | "bool[]" | "address[]";
|
759
|
-
filePath: string;
|
760
|
-
}>>>;
|
761
|
-
}>, z.ZodAny, "strip">>, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
762
|
-
namespace: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
763
|
-
tables: z.ZodEffects<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
764
|
-
directory: z.ZodDefault<z.ZodString>;
|
765
|
-
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
766
|
-
tableIdArgument: z.ZodDefault<z.ZodBoolean>;
|
767
|
-
storeArgument: z.ZodDefault<z.ZodBoolean>;
|
768
|
-
dataStruct: z.ZodOptional<z.ZodBoolean>;
|
769
|
-
keySchema: z.ZodDefault<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
|
770
|
-
valueSchema: z.ZodUnion<[z.ZodEffects<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>, Record<string, string>, Record<string, string>>, z.ZodEffects<z.ZodString, Record<string, string>, string>]>;
|
771
|
-
offchainOnly: z.ZodDefault<z.ZodBoolean>;
|
772
|
-
}, "strip", z.ZodTypeAny, {
|
773
|
-
tableIdArgument: boolean;
|
774
|
-
storeArgument: boolean;
|
775
|
-
directory: string;
|
776
|
-
keySchema: Record<string, string>;
|
777
|
-
offchainOnly: boolean;
|
778
|
-
valueSchema: Record<string, string>;
|
779
|
-
name?: string | undefined;
|
780
|
-
dataStruct?: boolean | undefined;
|
781
|
-
}, {
|
782
|
-
valueSchema: string | Record<string, string>;
|
783
|
-
name?: string | undefined;
|
784
|
-
tableIdArgument?: boolean | undefined;
|
785
|
-
storeArgument?: boolean | undefined;
|
786
|
-
dataStruct?: boolean | undefined;
|
787
|
-
directory?: string | undefined;
|
788
|
-
keySchema?: Record<string, string> | undefined;
|
789
|
-
offchainOnly?: boolean | undefined;
|
790
|
-
}>, RequireKeys<{
|
791
|
-
tableIdArgument: boolean;
|
792
|
-
storeArgument: boolean;
|
793
|
-
directory: string;
|
794
|
-
keySchema: Record<string, string>;
|
795
|
-
offchainOnly: boolean;
|
796
|
-
valueSchema: Record<string, string>;
|
797
|
-
name?: string | undefined;
|
798
|
-
dataStruct?: boolean | undefined;
|
799
|
-
}, "dataStruct">, {
|
800
|
-
valueSchema: string | Record<string, string>;
|
801
|
-
name?: string | undefined;
|
802
|
-
tableIdArgument?: boolean | undefined;
|
803
|
-
storeArgument?: boolean | undefined;
|
804
|
-
dataStruct?: boolean | undefined;
|
805
|
-
directory?: string | undefined;
|
806
|
-
keySchema?: Record<string, string> | undefined;
|
807
|
-
offchainOnly?: boolean | undefined;
|
808
|
-
}>, z.ZodEffects<z.ZodString, RequireKeys<{
|
809
|
-
tableIdArgument: boolean;
|
810
|
-
storeArgument: boolean;
|
811
|
-
directory: string;
|
812
|
-
keySchema: Record<string, string>;
|
813
|
-
offchainOnly: boolean;
|
814
|
-
valueSchema: Record<string, string>;
|
815
|
-
name?: string | undefined;
|
816
|
-
dataStruct?: boolean | undefined;
|
817
|
-
}, "dataStruct">, string>]>>, Record<string, RequireKeys<RequireKeys<{
|
818
|
-
tableIdArgument: boolean;
|
819
|
-
storeArgument: boolean;
|
820
|
-
directory: string;
|
821
|
-
keySchema: Record<string, string>;
|
822
|
-
offchainOnly: boolean;
|
823
|
-
valueSchema: Record<string, string>;
|
824
|
-
name?: string | undefined;
|
825
|
-
dataStruct?: boolean | undefined;
|
826
|
-
}, "dataStruct">, "name">>, Record<string, string | {
|
827
|
-
valueSchema: string | Record<string, string>;
|
828
|
-
name?: string | undefined;
|
829
|
-
tableIdArgument?: boolean | undefined;
|
830
|
-
storeArgument?: boolean | undefined;
|
831
|
-
dataStruct?: boolean | undefined;
|
832
|
-
directory?: string | undefined;
|
833
|
-
keySchema?: Record<string, string> | undefined;
|
834
|
-
offchainOnly?: boolean | undefined;
|
835
|
-
}>>;
|
836
|
-
}, {
|
837
|
-
enums: z.ZodDefault<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, string[], string[]>>>;
|
838
|
-
}>, {
|
839
|
-
userTypes: z.ZodDefault<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
840
|
-
filePath: z.ZodString;
|
841
|
-
internalType: z.ZodEnum<["uint8", "uint16", "uint24", "uint32", "uint40", "uint48", "uint56", "uint64", "uint72", "uint80", "uint88", "uint96", "uint104", "uint112", "uint120", "uint128", "uint136", "uint144", "uint152", "uint160", "uint168", "uint176", "uint184", "uint192", "uint200", "uint208", "uint216", "uint224", "uint232", "uint240", "uint248", "uint256", "int8", "int16", "int24", "int32", "int40", "int48", "int56", "int64", "int72", "int80", "int88", "int96", "int104", "int112", "int120", "int128", "int136", "int144", "int152", "int160", "int168", "int176", "int184", "int192", "int200", "int208", "int216", "int224", "int232", "int240", "int248", "int256", "bytes1", "bytes2", "bytes3", "bytes4", "bytes5", "bytes6", "bytes7", "bytes8", "bytes9", "bytes10", "bytes11", "bytes12", "bytes13", "bytes14", "bytes15", "bytes16", "bytes17", "bytes18", "bytes19", "bytes20", "bytes21", "bytes22", "bytes23", "bytes24", "bytes25", "bytes26", "bytes27", "bytes28", "bytes29", "bytes30", "bytes31", "bytes32", "bool", "address", "uint8[]", "uint16[]", "uint24[]", "uint32[]", "uint40[]", "uint48[]", "uint56[]", "uint64[]", "uint72[]", "uint80[]", "uint88[]", "uint96[]", "uint104[]", "uint112[]", "uint120[]", "uint128[]", "uint136[]", "uint144[]", "uint152[]", "uint160[]", "uint168[]", "uint176[]", "uint184[]", "uint192[]", "uint200[]", "uint208[]", "uint216[]", "uint224[]", "uint232[]", "uint240[]", "uint248[]", "uint256[]", "int8[]", "int16[]", "int24[]", "int32[]", "int40[]", "int48[]", "int56[]", "int64[]", "int72[]", "int80[]", "int88[]", "int96[]", "int104[]", "int112[]", "int120[]", "int128[]", "int136[]", "int144[]", "int152[]", "int160[]", "int168[]", "int176[]", "int184[]", "int192[]", "int200[]", "int208[]", "int216[]", "int224[]", "int232[]", "int240[]", "int248[]", "int256[]", "bytes1[]", "bytes2[]", "bytes3[]", "bytes4[]", "bytes5[]", "bytes6[]", "bytes7[]", "bytes8[]", "bytes9[]", "bytes10[]", "bytes11[]", "bytes12[]", "bytes13[]", "bytes14[]", "bytes15[]", "bytes16[]", "bytes17[]", "bytes18[]", "bytes19[]", "bytes20[]", "bytes21[]", "bytes22[]", "bytes23[]", "bytes24[]", "bytes25[]", "bytes26[]", "bytes27[]", "bytes28[]", "bytes29[]", "bytes30[]", "bytes31[]", "bytes32[]", "bool[]", "address[]", "bytes", "string"]>;
|
842
|
-
}, "strip", z.ZodTypeAny, {
|
843
|
-
internalType: "string" | "address" | "bool" | "bytes" | "bytes3" | "bytes32" | "bytes4" | "bytes1" | "bytes2" | "bytes22" | "bytes5" | "bytes6" | "bytes7" | "bytes8" | "bytes9" | "bytes10" | "bytes11" | "bytes12" | "bytes13" | "bytes14" | "bytes15" | "bytes16" | "bytes17" | "bytes18" | "bytes19" | "bytes20" | "bytes21" | "bytes23" | "bytes24" | "bytes25" | "bytes26" | "bytes27" | "bytes28" | "bytes29" | "bytes30" | "bytes31" | "int8" | "int16" | "int24" | "int32" | "int40" | "int48" | "int56" | "int64" | "int72" | "int80" | "int88" | "int96" | "int104" | "int112" | "int120" | "int128" | "int136" | "int144" | "int152" | "int160" | "int168" | "int176" | "int184" | "int192" | "int200" | "int208" | "int216" | "int224" | "int232" | "int240" | "int248" | "int256" | "uint8" | "uint16" | "uint24" | "uint32" | "uint40" | "uint48" | "uint56" | "uint64" | "uint72" | "uint80" | "uint88" | "uint96" | "uint104" | "uint112" | "uint120" | "uint128" | "uint136" | "uint144" | "uint152" | "uint160" | "uint168" | "uint176" | "uint184" | "uint192" | "uint200" | "uint208" | "uint216" | "uint224" | "uint232" | "uint240" | "uint248" | "uint256" | "bytes32[]" | "uint8[]" | "uint16[]" | "uint24[]" | "uint32[]" | "uint40[]" | "uint48[]" | "uint56[]" | "uint64[]" | "uint72[]" | "uint80[]" | "uint88[]" | "uint96[]" | "uint104[]" | "uint112[]" | "uint120[]" | "uint128[]" | "uint136[]" | "uint144[]" | "uint152[]" | "uint160[]" | "uint168[]" | "uint176[]" | "uint184[]" | "uint192[]" | "uint200[]" | "uint208[]" | "uint216[]" | "uint224[]" | "uint232[]" | "uint240[]" | "uint248[]" | "uint256[]" | "int8[]" | "int16[]" | "int24[]" | "int32[]" | "int40[]" | "int48[]" | "int56[]" | "int64[]" | "int72[]" | "int80[]" | "int88[]" | "int96[]" | "int104[]" | "int112[]" | "int120[]" | "int128[]" | "int136[]" | "int144[]" | "int152[]" | "int160[]" | "int168[]" | "int176[]" | "int184[]" | "int192[]" | "int200[]" | "int208[]" | "int216[]" | "int224[]" | "int232[]" | "int240[]" | "int248[]" | "int256[]" | "bytes1[]" | "bytes2[]" | "bytes3[]" | "bytes4[]" | "bytes5[]" | "bytes6[]" | "bytes7[]" | "bytes8[]" | "bytes9[]" | "bytes10[]" | "bytes11[]" | "bytes12[]" | "bytes13[]" | "bytes14[]" | "bytes15[]" | "bytes16[]" | "bytes17[]" | "bytes18[]" | "bytes19[]" | "bytes20[]" | "bytes21[]" | "bytes22[]" | "bytes23[]" | "bytes24[]" | "bytes25[]" | "bytes26[]" | "bytes27[]" | "bytes28[]" | "bytes29[]" | "bytes30[]" | "bytes31[]" | "bool[]" | "address[]";
|
844
|
-
filePath: string;
|
845
|
-
}, {
|
846
|
-
internalType: "string" | "address" | "bool" | "bytes" | "bytes3" | "bytes32" | "bytes4" | "bytes1" | "bytes2" | "bytes22" | "bytes5" | "bytes6" | "bytes7" | "bytes8" | "bytes9" | "bytes10" | "bytes11" | "bytes12" | "bytes13" | "bytes14" | "bytes15" | "bytes16" | "bytes17" | "bytes18" | "bytes19" | "bytes20" | "bytes21" | "bytes23" | "bytes24" | "bytes25" | "bytes26" | "bytes27" | "bytes28" | "bytes29" | "bytes30" | "bytes31" | "int8" | "int16" | "int24" | "int32" | "int40" | "int48" | "int56" | "int64" | "int72" | "int80" | "int88" | "int96" | "int104" | "int112" | "int120" | "int128" | "int136" | "int144" | "int152" | "int160" | "int168" | "int176" | "int184" | "int192" | "int200" | "int208" | "int216" | "int224" | "int232" | "int240" | "int248" | "int256" | "uint8" | "uint16" | "uint24" | "uint32" | "uint40" | "uint48" | "uint56" | "uint64" | "uint72" | "uint80" | "uint88" | "uint96" | "uint104" | "uint112" | "uint120" | "uint128" | "uint136" | "uint144" | "uint152" | "uint160" | "uint168" | "uint176" | "uint184" | "uint192" | "uint200" | "uint208" | "uint216" | "uint224" | "uint232" | "uint240" | "uint248" | "uint256" | "bytes32[]" | "uint8[]" | "uint16[]" | "uint24[]" | "uint32[]" | "uint40[]" | "uint48[]" | "uint56[]" | "uint64[]" | "uint72[]" | "uint80[]" | "uint88[]" | "uint96[]" | "uint104[]" | "uint112[]" | "uint120[]" | "uint128[]" | "uint136[]" | "uint144[]" | "uint152[]" | "uint160[]" | "uint168[]" | "uint176[]" | "uint184[]" | "uint192[]" | "uint200[]" | "uint208[]" | "uint216[]" | "uint224[]" | "uint232[]" | "uint240[]" | "uint248[]" | "uint256[]" | "int8[]" | "int16[]" | "int24[]" | "int32[]" | "int40[]" | "int48[]" | "int56[]" | "int64[]" | "int72[]" | "int80[]" | "int88[]" | "int96[]" | "int104[]" | "int112[]" | "int120[]" | "int128[]" | "int136[]" | "int144[]" | "int152[]" | "int160[]" | "int168[]" | "int176[]" | "int184[]" | "int192[]" | "int200[]" | "int208[]" | "int216[]" | "int224[]" | "int232[]" | "int240[]" | "int248[]" | "int256[]" | "bytes1[]" | "bytes2[]" | "bytes3[]" | "bytes4[]" | "bytes5[]" | "bytes6[]" | "bytes7[]" | "bytes8[]" | "bytes9[]" | "bytes10[]" | "bytes11[]" | "bytes12[]" | "bytes13[]" | "bytes14[]" | "bytes15[]" | "bytes16[]" | "bytes17[]" | "bytes18[]" | "bytes19[]" | "bytes20[]" | "bytes21[]" | "bytes22[]" | "bytes23[]" | "bytes24[]" | "bytes25[]" | "bytes26[]" | "bytes27[]" | "bytes28[]" | "bytes29[]" | "bytes30[]" | "bytes31[]" | "bool[]" | "address[]";
|
847
|
-
filePath: string;
|
848
|
-
}>>>;
|
849
|
-
}>, z.ZodAny, "strip">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
850
|
-
namespace: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
851
|
-
tables: z.ZodEffects<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
852
|
-
directory: z.ZodDefault<z.ZodString>;
|
853
|
-
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
854
|
-
tableIdArgument: z.ZodDefault<z.ZodBoolean>;
|
855
|
-
storeArgument: z.ZodDefault<z.ZodBoolean>;
|
856
|
-
dataStruct: z.ZodOptional<z.ZodBoolean>;
|
857
|
-
keySchema: z.ZodDefault<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>>;
|
858
|
-
valueSchema: z.ZodUnion<[z.ZodEffects<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodString>, Record<string, string>, Record<string, string>>, z.ZodEffects<z.ZodString, Record<string, string>, string>]>;
|
859
|
-
offchainOnly: z.ZodDefault<z.ZodBoolean>;
|
860
|
-
}, "strip", z.ZodTypeAny, {
|
861
|
-
tableIdArgument: boolean;
|
862
|
-
storeArgument: boolean;
|
863
|
-
directory: string;
|
864
|
-
keySchema: Record<string, string>;
|
865
|
-
offchainOnly: boolean;
|
866
|
-
valueSchema: Record<string, string>;
|
867
|
-
name?: string | undefined;
|
868
|
-
dataStruct?: boolean | undefined;
|
869
|
-
}, {
|
870
|
-
valueSchema: string | Record<string, string>;
|
871
|
-
name?: string | undefined;
|
872
|
-
tableIdArgument?: boolean | undefined;
|
873
|
-
storeArgument?: boolean | undefined;
|
874
|
-
dataStruct?: boolean | undefined;
|
875
|
-
directory?: string | undefined;
|
876
|
-
keySchema?: Record<string, string> | undefined;
|
877
|
-
offchainOnly?: boolean | undefined;
|
878
|
-
}>, RequireKeys<{
|
879
|
-
tableIdArgument: boolean;
|
880
|
-
storeArgument: boolean;
|
881
|
-
directory: string;
|
882
|
-
keySchema: Record<string, string>;
|
883
|
-
offchainOnly: boolean;
|
884
|
-
valueSchema: Record<string, string>;
|
885
|
-
name?: string | undefined;
|
886
|
-
dataStruct?: boolean | undefined;
|
887
|
-
}, "dataStruct">, {
|
888
|
-
valueSchema: string | Record<string, string>;
|
889
|
-
name?: string | undefined;
|
890
|
-
tableIdArgument?: boolean | undefined;
|
891
|
-
storeArgument?: boolean | undefined;
|
892
|
-
dataStruct?: boolean | undefined;
|
893
|
-
directory?: string | undefined;
|
894
|
-
keySchema?: Record<string, string> | undefined;
|
895
|
-
offchainOnly?: boolean | undefined;
|
896
|
-
}>, z.ZodEffects<z.ZodString, RequireKeys<{
|
897
|
-
tableIdArgument: boolean;
|
898
|
-
storeArgument: boolean;
|
899
|
-
directory: string;
|
900
|
-
keySchema: Record<string, string>;
|
901
|
-
offchainOnly: boolean;
|
902
|
-
valueSchema: Record<string, string>;
|
903
|
-
name?: string | undefined;
|
904
|
-
dataStruct?: boolean | undefined;
|
905
|
-
}, "dataStruct">, string>]>>, Record<string, RequireKeys<RequireKeys<{
|
906
|
-
tableIdArgument: boolean;
|
907
|
-
storeArgument: boolean;
|
908
|
-
directory: string;
|
909
|
-
keySchema: Record<string, string>;
|
910
|
-
offchainOnly: boolean;
|
911
|
-
valueSchema: Record<string, string>;
|
912
|
-
name?: string | undefined;
|
913
|
-
dataStruct?: boolean | undefined;
|
914
|
-
}, "dataStruct">, "name">>, Record<string, string | {
|
915
|
-
valueSchema: string | Record<string, string>;
|
916
|
-
name?: string | undefined;
|
917
|
-
tableIdArgument?: boolean | undefined;
|
918
|
-
storeArgument?: boolean | undefined;
|
919
|
-
dataStruct?: boolean | undefined;
|
920
|
-
directory?: string | undefined;
|
921
|
-
keySchema?: Record<string, string> | undefined;
|
922
|
-
offchainOnly?: boolean | undefined;
|
923
|
-
}>>;
|
924
|
-
}, {
|
925
|
-
enums: z.ZodDefault<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, string[], string[]>>>;
|
926
|
-
}>, {
|
927
|
-
userTypes: z.ZodDefault<z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
928
|
-
filePath: z.ZodString;
|
929
|
-
internalType: z.ZodEnum<["uint8", "uint16", "uint24", "uint32", "uint40", "uint48", "uint56", "uint64", "uint72", "uint80", "uint88", "uint96", "uint104", "uint112", "uint120", "uint128", "uint136", "uint144", "uint152", "uint160", "uint168", "uint176", "uint184", "uint192", "uint200", "uint208", "uint216", "uint224", "uint232", "uint240", "uint248", "uint256", "int8", "int16", "int24", "int32", "int40", "int48", "int56", "int64", "int72", "int80", "int88", "int96", "int104", "int112", "int120", "int128", "int136", "int144", "int152", "int160", "int168", "int176", "int184", "int192", "int200", "int208", "int216", "int224", "int232", "int240", "int248", "int256", "bytes1", "bytes2", "bytes3", "bytes4", "bytes5", "bytes6", "bytes7", "bytes8", "bytes9", "bytes10", "bytes11", "bytes12", "bytes13", "bytes14", "bytes15", "bytes16", "bytes17", "bytes18", "bytes19", "bytes20", "bytes21", "bytes22", "bytes23", "bytes24", "bytes25", "bytes26", "bytes27", "bytes28", "bytes29", "bytes30", "bytes31", "bytes32", "bool", "address", "uint8[]", "uint16[]", "uint24[]", "uint32[]", "uint40[]", "uint48[]", "uint56[]", "uint64[]", "uint72[]", "uint80[]", "uint88[]", "uint96[]", "uint104[]", "uint112[]", "uint120[]", "uint128[]", "uint136[]", "uint144[]", "uint152[]", "uint160[]", "uint168[]", "uint176[]", "uint184[]", "uint192[]", "uint200[]", "uint208[]", "uint216[]", "uint224[]", "uint232[]", "uint240[]", "uint248[]", "uint256[]", "int8[]", "int16[]", "int24[]", "int32[]", "int40[]", "int48[]", "int56[]", "int64[]", "int72[]", "int80[]", "int88[]", "int96[]", "int104[]", "int112[]", "int120[]", "int128[]", "int136[]", "int144[]", "int152[]", "int160[]", "int168[]", "int176[]", "int184[]", "int192[]", "int200[]", "int208[]", "int216[]", "int224[]", "int232[]", "int240[]", "int248[]", "int256[]", "bytes1[]", "bytes2[]", "bytes3[]", "bytes4[]", "bytes5[]", "bytes6[]", "bytes7[]", "bytes8[]", "bytes9[]", "bytes10[]", "bytes11[]", "bytes12[]", "bytes13[]", "bytes14[]", "bytes15[]", "bytes16[]", "bytes17[]", "bytes18[]", "bytes19[]", "bytes20[]", "bytes21[]", "bytes22[]", "bytes23[]", "bytes24[]", "bytes25[]", "bytes26[]", "bytes27[]", "bytes28[]", "bytes29[]", "bytes30[]", "bytes31[]", "bytes32[]", "bool[]", "address[]", "bytes", "string"]>;
|
930
|
-
}, "strip", z.ZodTypeAny, {
|
931
|
-
internalType: "string" | "address" | "bool" | "bytes" | "bytes3" | "bytes32" | "bytes4" | "bytes1" | "bytes2" | "bytes22" | "bytes5" | "bytes6" | "bytes7" | "bytes8" | "bytes9" | "bytes10" | "bytes11" | "bytes12" | "bytes13" | "bytes14" | "bytes15" | "bytes16" | "bytes17" | "bytes18" | "bytes19" | "bytes20" | "bytes21" | "bytes23" | "bytes24" | "bytes25" | "bytes26" | "bytes27" | "bytes28" | "bytes29" | "bytes30" | "bytes31" | "int8" | "int16" | "int24" | "int32" | "int40" | "int48" | "int56" | "int64" | "int72" | "int80" | "int88" | "int96" | "int104" | "int112" | "int120" | "int128" | "int136" | "int144" | "int152" | "int160" | "int168" | "int176" | "int184" | "int192" | "int200" | "int208" | "int216" | "int224" | "int232" | "int240" | "int248" | "int256" | "uint8" | "uint16" | "uint24" | "uint32" | "uint40" | "uint48" | "uint56" | "uint64" | "uint72" | "uint80" | "uint88" | "uint96" | "uint104" | "uint112" | "uint120" | "uint128" | "uint136" | "uint144" | "uint152" | "uint160" | "uint168" | "uint176" | "uint184" | "uint192" | "uint200" | "uint208" | "uint216" | "uint224" | "uint232" | "uint240" | "uint248" | "uint256" | "bytes32[]" | "uint8[]" | "uint16[]" | "uint24[]" | "uint32[]" | "uint40[]" | "uint48[]" | "uint56[]" | "uint64[]" | "uint72[]" | "uint80[]" | "uint88[]" | "uint96[]" | "uint104[]" | "uint112[]" | "uint120[]" | "uint128[]" | "uint136[]" | "uint144[]" | "uint152[]" | "uint160[]" | "uint168[]" | "uint176[]" | "uint184[]" | "uint192[]" | "uint200[]" | "uint208[]" | "uint216[]" | "uint224[]" | "uint232[]" | "uint240[]" | "uint248[]" | "uint256[]" | "int8[]" | "int16[]" | "int24[]" | "int32[]" | "int40[]" | "int48[]" | "int56[]" | "int64[]" | "int72[]" | "int80[]" | "int88[]" | "int96[]" | "int104[]" | "int112[]" | "int120[]" | "int128[]" | "int136[]" | "int144[]" | "int152[]" | "int160[]" | "int168[]" | "int176[]" | "int184[]" | "int192[]" | "int200[]" | "int208[]" | "int216[]" | "int224[]" | "int232[]" | "int240[]" | "int248[]" | "int256[]" | "bytes1[]" | "bytes2[]" | "bytes3[]" | "bytes4[]" | "bytes5[]" | "bytes6[]" | "bytes7[]" | "bytes8[]" | "bytes9[]" | "bytes10[]" | "bytes11[]" | "bytes12[]" | "bytes13[]" | "bytes14[]" | "bytes15[]" | "bytes16[]" | "bytes17[]" | "bytes18[]" | "bytes19[]" | "bytes20[]" | "bytes21[]" | "bytes22[]" | "bytes23[]" | "bytes24[]" | "bytes25[]" | "bytes26[]" | "bytes27[]" | "bytes28[]" | "bytes29[]" | "bytes30[]" | "bytes31[]" | "bool[]" | "address[]";
|
932
|
-
filePath: string;
|
933
|
-
}, {
|
934
|
-
internalType: "string" | "address" | "bool" | "bytes" | "bytes3" | "bytes32" | "bytes4" | "bytes1" | "bytes2" | "bytes22" | "bytes5" | "bytes6" | "bytes7" | "bytes8" | "bytes9" | "bytes10" | "bytes11" | "bytes12" | "bytes13" | "bytes14" | "bytes15" | "bytes16" | "bytes17" | "bytes18" | "bytes19" | "bytes20" | "bytes21" | "bytes23" | "bytes24" | "bytes25" | "bytes26" | "bytes27" | "bytes28" | "bytes29" | "bytes30" | "bytes31" | "int8" | "int16" | "int24" | "int32" | "int40" | "int48" | "int56" | "int64" | "int72" | "int80" | "int88" | "int96" | "int104" | "int112" | "int120" | "int128" | "int136" | "int144" | "int152" | "int160" | "int168" | "int176" | "int184" | "int192" | "int200" | "int208" | "int216" | "int224" | "int232" | "int240" | "int248" | "int256" | "uint8" | "uint16" | "uint24" | "uint32" | "uint40" | "uint48" | "uint56" | "uint64" | "uint72" | "uint80" | "uint88" | "uint96" | "uint104" | "uint112" | "uint120" | "uint128" | "uint136" | "uint144" | "uint152" | "uint160" | "uint168" | "uint176" | "uint184" | "uint192" | "uint200" | "uint208" | "uint216" | "uint224" | "uint232" | "uint240" | "uint248" | "uint256" | "bytes32[]" | "uint8[]" | "uint16[]" | "uint24[]" | "uint32[]" | "uint40[]" | "uint48[]" | "uint56[]" | "uint64[]" | "uint72[]" | "uint80[]" | "uint88[]" | "uint96[]" | "uint104[]" | "uint112[]" | "uint120[]" | "uint128[]" | "uint136[]" | "uint144[]" | "uint152[]" | "uint160[]" | "uint168[]" | "uint176[]" | "uint184[]" | "uint192[]" | "uint200[]" | "uint208[]" | "uint216[]" | "uint224[]" | "uint232[]" | "uint240[]" | "uint248[]" | "uint256[]" | "int8[]" | "int16[]" | "int24[]" | "int32[]" | "int40[]" | "int48[]" | "int56[]" | "int64[]" | "int72[]" | "int80[]" | "int88[]" | "int96[]" | "int104[]" | "int112[]" | "int120[]" | "int128[]" | "int136[]" | "int144[]" | "int152[]" | "int160[]" | "int168[]" | "int176[]" | "int184[]" | "int192[]" | "int200[]" | "int208[]" | "int216[]" | "int224[]" | "int232[]" | "int240[]" | "int248[]" | "int256[]" | "bytes1[]" | "bytes2[]" | "bytes3[]" | "bytes4[]" | "bytes5[]" | "bytes6[]" | "bytes7[]" | "bytes8[]" | "bytes9[]" | "bytes10[]" | "bytes11[]" | "bytes12[]" | "bytes13[]" | "bytes14[]" | "bytes15[]" | "bytes16[]" | "bytes17[]" | "bytes18[]" | "bytes19[]" | "bytes20[]" | "bytes21[]" | "bytes22[]" | "bytes23[]" | "bytes24[]" | "bytes25[]" | "bytes26[]" | "bytes27[]" | "bytes28[]" | "bytes29[]" | "bytes30[]" | "bytes31[]" | "bool[]" | "address[]";
|
935
|
-
filePath: string;
|
936
|
-
}>>>;
|
937
|
-
}>, z.ZodAny, "strip">>;
|
938
|
-
|
939
|
-
export { DEFAULTS as D, ExpandSchemaConfig as E, FieldData as F, MUDUserConfig as M, StoreConfig as S, TABLE_DEFAULTS as T, UserTypesConfig as U, FullSchemaConfig as a, ShorthandSchemaConfig as b, SchemaConfig as c, TableConfig as d, FullTableConfig as e, ExpandTableConfig as f, zTableConfig as g, TablesConfig as h, zTablesConfig as i, FullTablesConfig as j, ExpandTablesConfig as k, EnumsConfig as l, FullEnumsConfig as m, zEnumsConfig as n, zUserTypesConfig as o, zStoreConfig as p, StoreUserConfig as q, resolveUserTypes as r, zPluginStoreConfig as s, zSchemaConfig as z };
|