@latticexyz/world-modules 2.0.13-main-5ff9f2aa8 → 3.0.0-main-e85dc5349
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/mud.config.d.ts +104 -82
- package/package.json +9 -9
package/dist/mud.config.d.ts
CHANGED
@@ -1,12 +1,14 @@
|
|
1
|
+
import * as _latticexyz_store_config_v2 from '@latticexyz/store/config/v2';
|
2
|
+
|
1
3
|
declare const _default: {
|
2
4
|
readonly sourceDirectory: "src";
|
3
|
-
readonly tables: {
|
5
|
+
readonly tables: _latticexyz_store_config_v2.resolveNamespacedTables<{
|
4
6
|
readonly KeysWithValue: {
|
5
|
-
readonly
|
6
|
-
readonly name: "KeysWithValue";
|
7
|
-
readonly namespace: "";
|
7
|
+
readonly label: "KeysWithValue";
|
8
8
|
readonly type: "table";
|
9
|
-
readonly
|
9
|
+
readonly namespace: "";
|
10
|
+
readonly name: string;
|
11
|
+
readonly tableId: `0x${string}`;
|
10
12
|
readonly schema: {
|
11
13
|
readonly valueHash: {
|
12
14
|
readonly type: "bytes32";
|
@@ -17,6 +19,7 @@ declare const _default: {
|
|
17
19
|
readonly internalType: "bytes32[]";
|
18
20
|
};
|
19
21
|
};
|
22
|
+
readonly key: readonly ["valueHash"];
|
20
23
|
readonly codegen: {
|
21
24
|
readonly outputDirectory: string;
|
22
25
|
readonly tableIdArgument: true;
|
@@ -28,11 +31,11 @@ declare const _default: {
|
|
28
31
|
};
|
29
32
|
};
|
30
33
|
readonly KeysInTable: {
|
31
|
-
readonly
|
32
|
-
readonly name: "KeysInTable";
|
33
|
-
readonly namespace: "";
|
34
|
+
readonly label: "KeysInTable";
|
34
35
|
readonly type: "table";
|
35
|
-
readonly
|
36
|
+
readonly namespace: "";
|
37
|
+
readonly name: string;
|
38
|
+
readonly tableId: `0x${string}`;
|
36
39
|
readonly schema: {
|
37
40
|
readonly sourceTableId: {
|
38
41
|
readonly type: "bytes32";
|
@@ -59,6 +62,7 @@ declare const _default: {
|
|
59
62
|
readonly internalType: "bytes32[]";
|
60
63
|
};
|
61
64
|
};
|
65
|
+
readonly key: readonly ["sourceTableId"];
|
62
66
|
readonly codegen: {
|
63
67
|
readonly outputDirectory: string;
|
64
68
|
readonly tableIdArgument: false;
|
@@ -70,11 +74,11 @@ declare const _default: {
|
|
70
74
|
};
|
71
75
|
};
|
72
76
|
readonly UsedKeysIndex: {
|
73
|
-
readonly
|
74
|
-
readonly name: "UsedKeysIndex";
|
75
|
-
readonly namespace: "";
|
77
|
+
readonly label: "UsedKeysIndex";
|
76
78
|
readonly type: "table";
|
77
|
-
readonly
|
79
|
+
readonly namespace: "";
|
80
|
+
readonly name: string;
|
81
|
+
readonly tableId: `0x${string}`;
|
78
82
|
readonly schema: {
|
79
83
|
readonly sourceTableId: {
|
80
84
|
readonly type: "bytes32";
|
@@ -93,6 +97,7 @@ declare const _default: {
|
|
93
97
|
readonly internalType: "uint40";
|
94
98
|
};
|
95
99
|
};
|
100
|
+
readonly key: readonly ["sourceTableId", "keysHash"];
|
96
101
|
readonly codegen: {
|
97
102
|
readonly outputDirectory: string;
|
98
103
|
readonly tableIdArgument: false;
|
@@ -104,17 +109,18 @@ declare const _default: {
|
|
104
109
|
};
|
105
110
|
};
|
106
111
|
readonly UniqueEntity: {
|
107
|
-
readonly
|
108
|
-
readonly name: "UniqueEntity";
|
109
|
-
readonly namespace: "";
|
112
|
+
readonly label: "UniqueEntity";
|
110
113
|
readonly type: "table";
|
111
|
-
readonly
|
114
|
+
readonly namespace: "";
|
115
|
+
readonly name: string;
|
116
|
+
readonly tableId: `0x${string}`;
|
112
117
|
readonly schema: {
|
113
118
|
readonly value: {
|
114
119
|
readonly type: "uint256";
|
115
120
|
readonly internalType: "uint256";
|
116
121
|
};
|
117
122
|
};
|
123
|
+
readonly key: readonly [];
|
118
124
|
readonly codegen: {
|
119
125
|
readonly outputDirectory: string;
|
120
126
|
readonly tableIdArgument: true;
|
@@ -126,11 +132,11 @@ declare const _default: {
|
|
126
132
|
};
|
127
133
|
};
|
128
134
|
readonly CallboundDelegations: {
|
129
|
-
readonly
|
130
|
-
readonly name: "CallboundDelegations";
|
131
|
-
readonly namespace: "";
|
135
|
+
readonly label: "CallboundDelegations";
|
132
136
|
readonly type: "table";
|
133
|
-
readonly
|
137
|
+
readonly namespace: "";
|
138
|
+
readonly name: string;
|
139
|
+
readonly tableId: `0x${string}`;
|
134
140
|
readonly schema: {
|
135
141
|
readonly delegator: {
|
136
142
|
readonly type: "address";
|
@@ -153,6 +159,7 @@ declare const _default: {
|
|
153
159
|
readonly internalType: "uint256";
|
154
160
|
};
|
155
161
|
};
|
162
|
+
readonly key: readonly ["delegator", "delegatee", "systemId", "callDataHash"];
|
156
163
|
readonly codegen: {
|
157
164
|
readonly outputDirectory: string;
|
158
165
|
readonly tableIdArgument: false;
|
@@ -164,11 +171,11 @@ declare const _default: {
|
|
164
171
|
};
|
165
172
|
};
|
166
173
|
readonly SystemboundDelegations: {
|
167
|
-
readonly
|
168
|
-
readonly name: "SystemboundDelegations";
|
169
|
-
readonly namespace: "";
|
174
|
+
readonly label: "SystemboundDelegations";
|
170
175
|
readonly type: "table";
|
171
|
-
readonly
|
176
|
+
readonly namespace: "";
|
177
|
+
readonly name: string;
|
178
|
+
readonly tableId: `0x${string}`;
|
172
179
|
readonly schema: {
|
173
180
|
readonly delegator: {
|
174
181
|
readonly type: "address";
|
@@ -187,6 +194,7 @@ declare const _default: {
|
|
187
194
|
readonly internalType: "uint256";
|
188
195
|
};
|
189
196
|
};
|
197
|
+
readonly key: readonly ["delegator", "delegatee", "systemId"];
|
190
198
|
readonly codegen: {
|
191
199
|
readonly outputDirectory: string;
|
192
200
|
readonly tableIdArgument: false;
|
@@ -198,11 +206,11 @@ declare const _default: {
|
|
198
206
|
};
|
199
207
|
};
|
200
208
|
readonly TimeboundDelegations: {
|
201
|
-
readonly
|
202
|
-
readonly name: "TimeboundDelegations";
|
203
|
-
readonly namespace: "";
|
209
|
+
readonly label: "TimeboundDelegations";
|
204
210
|
readonly type: "table";
|
205
|
-
readonly
|
211
|
+
readonly namespace: "";
|
212
|
+
readonly name: string;
|
213
|
+
readonly tableId: `0x${string}`;
|
206
214
|
readonly schema: {
|
207
215
|
readonly delegator: {
|
208
216
|
readonly type: "address";
|
@@ -217,6 +225,7 @@ declare const _default: {
|
|
217
225
|
readonly internalType: "uint256";
|
218
226
|
};
|
219
227
|
};
|
228
|
+
readonly key: readonly ["delegator", "delegatee"];
|
220
229
|
readonly codegen: {
|
221
230
|
readonly outputDirectory: string;
|
222
231
|
readonly tableIdArgument: false;
|
@@ -228,11 +237,11 @@ declare const _default: {
|
|
228
237
|
};
|
229
238
|
};
|
230
239
|
readonly PuppetRegistry: {
|
231
|
-
readonly
|
232
|
-
readonly name: "PuppetRegistry";
|
233
|
-
readonly namespace: "";
|
240
|
+
readonly label: "PuppetRegistry";
|
234
241
|
readonly type: "table";
|
235
|
-
readonly
|
242
|
+
readonly namespace: "";
|
243
|
+
readonly name: string;
|
244
|
+
readonly tableId: `0x${string}`;
|
236
245
|
readonly schema: {
|
237
246
|
readonly systemId: {
|
238
247
|
readonly type: "bytes32";
|
@@ -243,6 +252,7 @@ declare const _default: {
|
|
243
252
|
readonly internalType: "address";
|
244
253
|
};
|
245
254
|
};
|
255
|
+
readonly key: readonly ["systemId"];
|
246
256
|
readonly codegen: {
|
247
257
|
readonly outputDirectory: string;
|
248
258
|
readonly tableIdArgument: true;
|
@@ -254,11 +264,11 @@ declare const _default: {
|
|
254
264
|
};
|
255
265
|
};
|
256
266
|
readonly Balances: {
|
257
|
-
readonly
|
258
|
-
readonly name: "Balances";
|
259
|
-
readonly namespace: "";
|
267
|
+
readonly label: "Balances";
|
260
268
|
readonly type: "table";
|
261
|
-
readonly
|
269
|
+
readonly namespace: "";
|
270
|
+
readonly name: string;
|
271
|
+
readonly tableId: `0x${string}`;
|
262
272
|
readonly schema: {
|
263
273
|
readonly account: {
|
264
274
|
readonly type: "address";
|
@@ -269,6 +279,7 @@ declare const _default: {
|
|
269
279
|
readonly internalType: "uint256";
|
270
280
|
};
|
271
281
|
};
|
282
|
+
readonly key: readonly ["account"];
|
272
283
|
readonly codegen: {
|
273
284
|
readonly outputDirectory: string;
|
274
285
|
readonly tableIdArgument: true;
|
@@ -280,11 +291,11 @@ declare const _default: {
|
|
280
291
|
};
|
281
292
|
};
|
282
293
|
readonly ERC20Metadata: {
|
283
|
-
readonly
|
284
|
-
readonly name: "ERC20Metadata";
|
285
|
-
readonly namespace: "";
|
294
|
+
readonly label: "ERC20Metadata";
|
286
295
|
readonly type: "table";
|
287
|
-
readonly
|
296
|
+
readonly namespace: "";
|
297
|
+
readonly name: string;
|
298
|
+
readonly tableId: `0x${string}`;
|
288
299
|
readonly schema: {
|
289
300
|
readonly decimals: {
|
290
301
|
readonly type: "uint8";
|
@@ -299,6 +310,7 @@ declare const _default: {
|
|
299
310
|
readonly internalType: "string";
|
300
311
|
};
|
301
312
|
};
|
313
|
+
readonly key: readonly [];
|
302
314
|
readonly codegen: {
|
303
315
|
readonly outputDirectory: string;
|
304
316
|
readonly tableIdArgument: true;
|
@@ -310,11 +322,11 @@ declare const _default: {
|
|
310
322
|
};
|
311
323
|
};
|
312
324
|
readonly Allowances: {
|
313
|
-
readonly
|
314
|
-
readonly name: "Allowances";
|
315
|
-
readonly namespace: "";
|
325
|
+
readonly label: "Allowances";
|
316
326
|
readonly type: "table";
|
317
|
-
readonly
|
327
|
+
readonly namespace: "";
|
328
|
+
readonly name: string;
|
329
|
+
readonly tableId: `0x${string}`;
|
318
330
|
readonly schema: {
|
319
331
|
readonly account: {
|
320
332
|
readonly type: "address";
|
@@ -329,6 +341,7 @@ declare const _default: {
|
|
329
341
|
readonly internalType: "uint256";
|
330
342
|
};
|
331
343
|
};
|
344
|
+
readonly key: readonly ["account", "spender"];
|
332
345
|
readonly codegen: {
|
333
346
|
readonly outputDirectory: string;
|
334
347
|
readonly tableIdArgument: true;
|
@@ -340,17 +353,18 @@ declare const _default: {
|
|
340
353
|
};
|
341
354
|
};
|
342
355
|
readonly TotalSupply: {
|
343
|
-
readonly
|
344
|
-
readonly name: "TotalSupply";
|
345
|
-
readonly namespace: "";
|
356
|
+
readonly label: "TotalSupply";
|
346
357
|
readonly type: "table";
|
347
|
-
readonly
|
358
|
+
readonly namespace: "";
|
359
|
+
readonly name: string;
|
360
|
+
readonly tableId: `0x${string}`;
|
348
361
|
readonly schema: {
|
349
362
|
readonly totalSupply: {
|
350
363
|
readonly type: "uint256";
|
351
364
|
readonly internalType: "uint256";
|
352
365
|
};
|
353
366
|
};
|
367
|
+
readonly key: readonly [];
|
354
368
|
readonly codegen: {
|
355
369
|
readonly outputDirectory: string;
|
356
370
|
readonly tableIdArgument: true;
|
@@ -362,11 +376,11 @@ declare const _default: {
|
|
362
376
|
};
|
363
377
|
};
|
364
378
|
readonly ERC20Registry: {
|
365
|
-
readonly
|
366
|
-
readonly name: "ERC20Registry";
|
367
|
-
readonly namespace: "";
|
379
|
+
readonly label: "ERC20Registry";
|
368
380
|
readonly type: "table";
|
369
|
-
readonly
|
381
|
+
readonly namespace: "";
|
382
|
+
readonly name: string;
|
383
|
+
readonly tableId: `0x${string}`;
|
370
384
|
readonly schema: {
|
371
385
|
readonly namespaceId: {
|
372
386
|
readonly type: "bytes32";
|
@@ -377,6 +391,7 @@ declare const _default: {
|
|
377
391
|
readonly internalType: "address";
|
378
392
|
};
|
379
393
|
};
|
394
|
+
readonly key: readonly ["namespaceId"];
|
380
395
|
readonly codegen: {
|
381
396
|
readonly outputDirectory: string;
|
382
397
|
readonly tableIdArgument: true;
|
@@ -388,11 +403,11 @@ declare const _default: {
|
|
388
403
|
};
|
389
404
|
};
|
390
405
|
readonly ERC721Metadata: {
|
391
|
-
readonly
|
392
|
-
readonly name: "ERC721Metadata";
|
393
|
-
readonly namespace: "";
|
406
|
+
readonly label: "ERC721Metadata";
|
394
407
|
readonly type: "table";
|
395
|
-
readonly
|
408
|
+
readonly namespace: "";
|
409
|
+
readonly name: string;
|
410
|
+
readonly tableId: `0x${string}`;
|
396
411
|
readonly schema: {
|
397
412
|
readonly name: {
|
398
413
|
readonly type: "string";
|
@@ -407,6 +422,7 @@ declare const _default: {
|
|
407
422
|
readonly internalType: "string";
|
408
423
|
};
|
409
424
|
};
|
425
|
+
readonly key: readonly [];
|
410
426
|
readonly codegen: {
|
411
427
|
readonly outputDirectory: string;
|
412
428
|
readonly tableIdArgument: true;
|
@@ -418,11 +434,11 @@ declare const _default: {
|
|
418
434
|
};
|
419
435
|
};
|
420
436
|
readonly TokenURI: {
|
421
|
-
readonly
|
422
|
-
readonly name: "TokenURI";
|
423
|
-
readonly namespace: "";
|
437
|
+
readonly label: "TokenURI";
|
424
438
|
readonly type: "table";
|
425
|
-
readonly
|
439
|
+
readonly namespace: "";
|
440
|
+
readonly name: string;
|
441
|
+
readonly tableId: `0x${string}`;
|
426
442
|
readonly schema: {
|
427
443
|
readonly tokenId: {
|
428
444
|
readonly type: "uint256";
|
@@ -433,6 +449,7 @@ declare const _default: {
|
|
433
449
|
readonly internalType: "string";
|
434
450
|
};
|
435
451
|
};
|
452
|
+
readonly key: readonly ["tokenId"];
|
436
453
|
readonly codegen: {
|
437
454
|
readonly outputDirectory: string;
|
438
455
|
readonly tableIdArgument: true;
|
@@ -444,11 +461,11 @@ declare const _default: {
|
|
444
461
|
};
|
445
462
|
};
|
446
463
|
readonly Owners: {
|
447
|
-
readonly
|
448
|
-
readonly name: "Owners";
|
449
|
-
readonly namespace: "";
|
464
|
+
readonly label: "Owners";
|
450
465
|
readonly type: "table";
|
451
|
-
readonly
|
466
|
+
readonly namespace: "";
|
467
|
+
readonly name: string;
|
468
|
+
readonly tableId: `0x${string}`;
|
452
469
|
readonly schema: {
|
453
470
|
readonly tokenId: {
|
454
471
|
readonly type: "uint256";
|
@@ -459,6 +476,7 @@ declare const _default: {
|
|
459
476
|
readonly internalType: "address";
|
460
477
|
};
|
461
478
|
};
|
479
|
+
readonly key: readonly ["tokenId"];
|
462
480
|
readonly codegen: {
|
463
481
|
readonly outputDirectory: string;
|
464
482
|
readonly tableIdArgument: true;
|
@@ -470,11 +488,11 @@ declare const _default: {
|
|
470
488
|
};
|
471
489
|
};
|
472
490
|
readonly TokenApproval: {
|
473
|
-
readonly
|
474
|
-
readonly name: "TokenApproval";
|
475
|
-
readonly namespace: "";
|
491
|
+
readonly label: "TokenApproval";
|
476
492
|
readonly type: "table";
|
477
|
-
readonly
|
493
|
+
readonly namespace: "";
|
494
|
+
readonly name: string;
|
495
|
+
readonly tableId: `0x${string}`;
|
478
496
|
readonly schema: {
|
479
497
|
readonly tokenId: {
|
480
498
|
readonly type: "uint256";
|
@@ -485,6 +503,7 @@ declare const _default: {
|
|
485
503
|
readonly internalType: "address";
|
486
504
|
};
|
487
505
|
};
|
506
|
+
readonly key: readonly ["tokenId"];
|
488
507
|
readonly codegen: {
|
489
508
|
readonly outputDirectory: string;
|
490
509
|
readonly tableIdArgument: true;
|
@@ -496,11 +515,11 @@ declare const _default: {
|
|
496
515
|
};
|
497
516
|
};
|
498
517
|
readonly OperatorApproval: {
|
499
|
-
readonly
|
500
|
-
readonly name: "OperatorApproval";
|
501
|
-
readonly namespace: "";
|
518
|
+
readonly label: "OperatorApproval";
|
502
519
|
readonly type: "table";
|
503
|
-
readonly
|
520
|
+
readonly namespace: "";
|
521
|
+
readonly name: string;
|
522
|
+
readonly tableId: `0x${string}`;
|
504
523
|
readonly schema: {
|
505
524
|
readonly owner: {
|
506
525
|
readonly type: "address";
|
@@ -515,6 +534,7 @@ declare const _default: {
|
|
515
534
|
readonly internalType: "bool";
|
516
535
|
};
|
517
536
|
};
|
537
|
+
readonly key: readonly ["owner", "operator"];
|
518
538
|
readonly codegen: {
|
519
539
|
readonly outputDirectory: string;
|
520
540
|
readonly tableIdArgument: true;
|
@@ -526,11 +546,11 @@ declare const _default: {
|
|
526
546
|
};
|
527
547
|
};
|
528
548
|
readonly ERC721Registry: {
|
529
|
-
readonly
|
530
|
-
readonly name: "ERC721Registry";
|
531
|
-
readonly namespace: "";
|
549
|
+
readonly label: "ERC721Registry";
|
532
550
|
readonly type: "table";
|
533
|
-
readonly
|
551
|
+
readonly namespace: "";
|
552
|
+
readonly name: string;
|
553
|
+
readonly tableId: `0x${string}`;
|
534
554
|
readonly schema: {
|
535
555
|
readonly namespaceId: {
|
536
556
|
readonly type: "bytes32";
|
@@ -541,6 +561,7 @@ declare const _default: {
|
|
541
561
|
readonly internalType: "address";
|
542
562
|
};
|
543
563
|
};
|
564
|
+
readonly key: readonly ["namespaceId"];
|
544
565
|
readonly codegen: {
|
545
566
|
readonly outputDirectory: string;
|
546
567
|
readonly tableIdArgument: true;
|
@@ -552,11 +573,11 @@ declare const _default: {
|
|
552
573
|
};
|
553
574
|
};
|
554
575
|
readonly CallWithSignatureNonces: {
|
555
|
-
readonly
|
556
|
-
readonly name: "CallWithSignatureNonces";
|
557
|
-
readonly namespace: "";
|
576
|
+
readonly label: "CallWithSignatureNonces";
|
558
577
|
readonly type: "table";
|
559
|
-
readonly
|
578
|
+
readonly namespace: "";
|
579
|
+
readonly name: string;
|
580
|
+
readonly tableId: `0x${string}`;
|
560
581
|
readonly schema: {
|
561
582
|
readonly signer: {
|
562
583
|
readonly type: "address";
|
@@ -567,6 +588,7 @@ declare const _default: {
|
|
567
588
|
readonly internalType: "uint256";
|
568
589
|
};
|
569
590
|
};
|
591
|
+
readonly key: readonly ["signer"];
|
570
592
|
readonly codegen: {
|
571
593
|
readonly outputDirectory: string;
|
572
594
|
readonly tableIdArgument: false;
|
@@ -577,7 +599,7 @@ declare const _default: {
|
|
577
599
|
readonly disabled: false;
|
578
600
|
};
|
579
601
|
};
|
580
|
-
}
|
602
|
+
}, "">;
|
581
603
|
readonly userTypes: {
|
582
604
|
ResourceId: {
|
583
605
|
filePath: string;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@latticexyz/world-modules",
|
3
|
-
"version": "
|
3
|
+
"version": "3.0.0-main-e85dc5349",
|
4
4
|
"description": "World modules",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -27,11 +27,11 @@
|
|
27
27
|
],
|
28
28
|
"dependencies": {
|
29
29
|
"zod": "^3.22.2",
|
30
|
-
"@latticexyz/
|
31
|
-
"@latticexyz/
|
32
|
-
"@latticexyz/
|
33
|
-
"@latticexyz/store": "
|
34
|
-
"@latticexyz/world": "
|
30
|
+
"@latticexyz/common": "3.0.0-main-e85dc5349",
|
31
|
+
"@latticexyz/schema-type": "3.0.0-main-e85dc5349",
|
32
|
+
"@latticexyz/config": "3.0.0-main-e85dc5349",
|
33
|
+
"@latticexyz/store": "3.0.0-main-e85dc5349",
|
34
|
+
"@latticexyz/world": "3.0.0-main-e85dc5349"
|
35
35
|
},
|
36
36
|
"devDependencies": {
|
37
37
|
"@types/ejs": "^3.1.1",
|
@@ -44,9 +44,9 @@
|
|
44
44
|
"tsup": "^6.7.0",
|
45
45
|
"tsx": "^3.12.6",
|
46
46
|
"vitest": "0.34.6",
|
47
|
-
"@latticexyz/abi-ts": "
|
48
|
-
"@latticexyz/cli": "
|
49
|
-
"@latticexyz/gas-report": "
|
47
|
+
"@latticexyz/abi-ts": "3.0.0-main-e85dc5349",
|
48
|
+
"@latticexyz/cli": "3.0.0-main-e85dc5349",
|
49
|
+
"@latticexyz/gas-report": "3.0.0-main-e85dc5349"
|
50
50
|
},
|
51
51
|
"publishConfig": {
|
52
52
|
"access": "public"
|