@latticexyz/world-modules 2.0.6-main-77d3b309 → 2.0.6-main-9720b568
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 +120 -275
- package/package.json +8 -8
package/dist/mud.config.d.ts
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
import * as _latticexyz_store_config_v2 from '@latticexyz/store/config/v2';
|
2
|
-
|
3
1
|
declare const _default: {
|
4
2
|
readonly tables: {
|
5
3
|
readonly KeysWithValue: {
|
@@ -18,20 +16,12 @@ declare const _default: {
|
|
18
16
|
readonly internalType: "bytes32[]";
|
19
17
|
};
|
20
18
|
};
|
21
|
-
readonly codegen:
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
namespace: undefined;
|
28
|
-
schema: {
|
29
|
-
valueHash: "bytes32";
|
30
|
-
keysWithValue: "bytes32[]";
|
31
|
-
};
|
32
|
-
key: ["valueHash"];
|
33
|
-
name: "KeysWithValue";
|
34
|
-
}>;
|
19
|
+
readonly codegen: {
|
20
|
+
readonly outputDirectory: string;
|
21
|
+
readonly tableIdArgument: true;
|
22
|
+
readonly storeArgument: true;
|
23
|
+
readonly dataStruct: boolean;
|
24
|
+
};
|
35
25
|
readonly deploy: {
|
36
26
|
readonly disabled: false;
|
37
27
|
};
|
@@ -68,23 +58,12 @@ declare const _default: {
|
|
68
58
|
readonly internalType: "bytes32[]";
|
69
59
|
};
|
70
60
|
};
|
71
|
-
readonly codegen:
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
schema: {
|
78
|
-
sourceTableId: "ResourceId";
|
79
|
-
keys0: "bytes32[]";
|
80
|
-
keys1: "bytes32[]";
|
81
|
-
keys2: "bytes32[]";
|
82
|
-
keys3: "bytes32[]";
|
83
|
-
keys4: "bytes32[]";
|
84
|
-
};
|
85
|
-
key: ["sourceTableId"];
|
86
|
-
name: "KeysInTable";
|
87
|
-
}>;
|
61
|
+
readonly codegen: {
|
62
|
+
readonly outputDirectory: string;
|
63
|
+
readonly tableIdArgument: false;
|
64
|
+
readonly storeArgument: true;
|
65
|
+
readonly dataStruct: boolean;
|
66
|
+
};
|
88
67
|
readonly deploy: {
|
89
68
|
readonly disabled: false;
|
90
69
|
};
|
@@ -113,22 +92,12 @@ declare const _default: {
|
|
113
92
|
readonly internalType: "uint40";
|
114
93
|
};
|
115
94
|
};
|
116
|
-
readonly codegen:
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
namespace: undefined;
|
123
|
-
schema: {
|
124
|
-
sourceTableId: "ResourceId";
|
125
|
-
keysHash: "bytes32";
|
126
|
-
has: "bool";
|
127
|
-
index: "uint40";
|
128
|
-
};
|
129
|
-
key: ["sourceTableId", "keysHash"];
|
130
|
-
name: "UsedKeysIndex";
|
131
|
-
}>;
|
95
|
+
readonly codegen: {
|
96
|
+
readonly outputDirectory: string;
|
97
|
+
readonly tableIdArgument: false;
|
98
|
+
readonly storeArgument: true;
|
99
|
+
readonly dataStruct: false;
|
100
|
+
};
|
132
101
|
readonly deploy: {
|
133
102
|
readonly disabled: false;
|
134
103
|
};
|
@@ -145,19 +114,12 @@ declare const _default: {
|
|
145
114
|
readonly internalType: "uint256";
|
146
115
|
};
|
147
116
|
};
|
148
|
-
readonly codegen:
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
namespace: undefined;
|
155
|
-
schema: {
|
156
|
-
value: "uint256";
|
157
|
-
};
|
158
|
-
key: [];
|
159
|
-
name: "UniqueEntity";
|
160
|
-
}>;
|
117
|
+
readonly codegen: {
|
118
|
+
readonly outputDirectory: string;
|
119
|
+
readonly tableIdArgument: true;
|
120
|
+
readonly storeArgument: true;
|
121
|
+
readonly dataStruct: boolean;
|
122
|
+
};
|
161
123
|
readonly deploy: {
|
162
124
|
readonly disabled: false;
|
163
125
|
};
|
@@ -190,21 +152,12 @@ declare const _default: {
|
|
190
152
|
readonly internalType: "uint256";
|
191
153
|
};
|
192
154
|
};
|
193
|
-
readonly codegen:
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
delegator: "address";
|
200
|
-
delegatee: "address";
|
201
|
-
systemId: "ResourceId";
|
202
|
-
callDataHash: "bytes32";
|
203
|
-
availableCalls: "uint256";
|
204
|
-
};
|
205
|
-
key: ["delegator", "delegatee", "systemId", "callDataHash"];
|
206
|
-
name: "CallboundDelegations";
|
207
|
-
}>;
|
155
|
+
readonly codegen: {
|
156
|
+
readonly outputDirectory: string;
|
157
|
+
readonly tableIdArgument: false;
|
158
|
+
readonly storeArgument: false;
|
159
|
+
readonly dataStruct: boolean;
|
160
|
+
};
|
208
161
|
readonly deploy: {
|
209
162
|
readonly disabled: false;
|
210
163
|
};
|
@@ -233,20 +186,12 @@ declare const _default: {
|
|
233
186
|
readonly internalType: "uint256";
|
234
187
|
};
|
235
188
|
};
|
236
|
-
readonly codegen:
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
delegator: "address";
|
243
|
-
delegatee: "address";
|
244
|
-
systemId: "ResourceId";
|
245
|
-
availableCalls: "uint256";
|
246
|
-
};
|
247
|
-
key: ["delegator", "delegatee", "systemId"];
|
248
|
-
name: "SystemboundDelegations";
|
249
|
-
}>;
|
189
|
+
readonly codegen: {
|
190
|
+
readonly outputDirectory: string;
|
191
|
+
readonly tableIdArgument: false;
|
192
|
+
readonly storeArgument: false;
|
193
|
+
readonly dataStruct: boolean;
|
194
|
+
};
|
250
195
|
readonly deploy: {
|
251
196
|
readonly disabled: false;
|
252
197
|
};
|
@@ -271,19 +216,12 @@ declare const _default: {
|
|
271
216
|
readonly internalType: "uint256";
|
272
217
|
};
|
273
218
|
};
|
274
|
-
readonly codegen:
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
delegator: "address";
|
281
|
-
delegatee: "address";
|
282
|
-
maxTimestamp: "uint256";
|
283
|
-
};
|
284
|
-
key: ["delegator", "delegatee"];
|
285
|
-
name: "TimeboundDelegations";
|
286
|
-
}>;
|
219
|
+
readonly codegen: {
|
220
|
+
readonly outputDirectory: string;
|
221
|
+
readonly tableIdArgument: false;
|
222
|
+
readonly storeArgument: false;
|
223
|
+
readonly dataStruct: boolean;
|
224
|
+
};
|
287
225
|
readonly deploy: {
|
288
226
|
readonly disabled: false;
|
289
227
|
};
|
@@ -304,19 +242,12 @@ declare const _default: {
|
|
304
242
|
readonly internalType: "address";
|
305
243
|
};
|
306
244
|
};
|
307
|
-
readonly codegen:
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
schema: {
|
314
|
-
systemId: "ResourceId";
|
315
|
-
puppet: "address";
|
316
|
-
};
|
317
|
-
key: ["systemId"];
|
318
|
-
name: "PuppetRegistry";
|
319
|
-
}>;
|
245
|
+
readonly codegen: {
|
246
|
+
readonly outputDirectory: string;
|
247
|
+
readonly tableIdArgument: true;
|
248
|
+
readonly storeArgument: false;
|
249
|
+
readonly dataStruct: boolean;
|
250
|
+
};
|
320
251
|
readonly deploy: {
|
321
252
|
readonly disabled: false;
|
322
253
|
};
|
@@ -337,19 +268,12 @@ declare const _default: {
|
|
337
268
|
readonly internalType: "uint256";
|
338
269
|
};
|
339
270
|
};
|
340
|
-
readonly codegen:
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
schema: {
|
347
|
-
account: "address";
|
348
|
-
value: "uint256";
|
349
|
-
};
|
350
|
-
key: ["account"];
|
351
|
-
name: "Balances";
|
352
|
-
}>;
|
271
|
+
readonly codegen: {
|
272
|
+
readonly outputDirectory: string;
|
273
|
+
readonly tableIdArgument: true;
|
274
|
+
readonly storeArgument: false;
|
275
|
+
readonly dataStruct: boolean;
|
276
|
+
};
|
353
277
|
readonly deploy: {
|
354
278
|
readonly disabled: false;
|
355
279
|
};
|
@@ -374,20 +298,12 @@ declare const _default: {
|
|
374
298
|
readonly internalType: "string";
|
375
299
|
};
|
376
300
|
};
|
377
|
-
readonly codegen:
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
schema: {
|
384
|
-
decimals: "uint8";
|
385
|
-
name: "string";
|
386
|
-
symbol: "string";
|
387
|
-
};
|
388
|
-
key: [];
|
389
|
-
name: "ERC20Metadata";
|
390
|
-
}>;
|
301
|
+
readonly codegen: {
|
302
|
+
readonly outputDirectory: string;
|
303
|
+
readonly tableIdArgument: true;
|
304
|
+
readonly storeArgument: false;
|
305
|
+
readonly dataStruct: boolean;
|
306
|
+
};
|
391
307
|
readonly deploy: {
|
392
308
|
readonly disabled: false;
|
393
309
|
};
|
@@ -412,20 +328,12 @@ declare const _default: {
|
|
412
328
|
readonly internalType: "uint256";
|
413
329
|
};
|
414
330
|
};
|
415
|
-
readonly codegen:
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
schema: {
|
422
|
-
account: "address";
|
423
|
-
spender: "address";
|
424
|
-
value: "uint256";
|
425
|
-
};
|
426
|
-
key: ["account", "spender"];
|
427
|
-
name: "Allowances";
|
428
|
-
}>;
|
331
|
+
readonly codegen: {
|
332
|
+
readonly outputDirectory: string;
|
333
|
+
readonly tableIdArgument: true;
|
334
|
+
readonly storeArgument: false;
|
335
|
+
readonly dataStruct: boolean;
|
336
|
+
};
|
429
337
|
readonly deploy: {
|
430
338
|
readonly disabled: false;
|
431
339
|
};
|
@@ -442,18 +350,12 @@ declare const _default: {
|
|
442
350
|
readonly internalType: "uint256";
|
443
351
|
};
|
444
352
|
};
|
445
|
-
readonly codegen:
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
schema: {
|
452
|
-
totalSupply: "uint256";
|
453
|
-
};
|
454
|
-
key: [];
|
455
|
-
name: "TotalSupply";
|
456
|
-
}>;
|
353
|
+
readonly codegen: {
|
354
|
+
readonly outputDirectory: string;
|
355
|
+
readonly tableIdArgument: true;
|
356
|
+
readonly storeArgument: false;
|
357
|
+
readonly dataStruct: boolean;
|
358
|
+
};
|
457
359
|
readonly deploy: {
|
458
360
|
readonly disabled: false;
|
459
361
|
};
|
@@ -474,19 +376,12 @@ declare const _default: {
|
|
474
376
|
readonly internalType: "address";
|
475
377
|
};
|
476
378
|
};
|
477
|
-
readonly codegen:
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
schema: {
|
484
|
-
namespaceId: "ResourceId";
|
485
|
-
tokenAddress: "address";
|
486
|
-
};
|
487
|
-
key: ["namespaceId"];
|
488
|
-
name: "ERC20Registry";
|
489
|
-
}>;
|
379
|
+
readonly codegen: {
|
380
|
+
readonly outputDirectory: string;
|
381
|
+
readonly tableIdArgument: true;
|
382
|
+
readonly storeArgument: false;
|
383
|
+
readonly dataStruct: boolean;
|
384
|
+
};
|
490
385
|
readonly deploy: {
|
491
386
|
readonly disabled: false;
|
492
387
|
};
|
@@ -511,20 +406,12 @@ declare const _default: {
|
|
511
406
|
readonly internalType: "string";
|
512
407
|
};
|
513
408
|
};
|
514
|
-
readonly codegen:
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
schema: {
|
521
|
-
name: "string";
|
522
|
-
symbol: "string";
|
523
|
-
baseURI: "string";
|
524
|
-
};
|
525
|
-
key: [];
|
526
|
-
name: "ERC721Metadata";
|
527
|
-
}>;
|
409
|
+
readonly codegen: {
|
410
|
+
readonly outputDirectory: string;
|
411
|
+
readonly tableIdArgument: true;
|
412
|
+
readonly storeArgument: false;
|
413
|
+
readonly dataStruct: boolean;
|
414
|
+
};
|
528
415
|
readonly deploy: {
|
529
416
|
readonly disabled: false;
|
530
417
|
};
|
@@ -545,19 +432,12 @@ declare const _default: {
|
|
545
432
|
readonly internalType: "string";
|
546
433
|
};
|
547
434
|
};
|
548
|
-
readonly codegen:
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
schema: {
|
555
|
-
tokenId: "uint256";
|
556
|
-
tokenURI: "string";
|
557
|
-
};
|
558
|
-
key: ["tokenId"];
|
559
|
-
name: "TokenURI";
|
560
|
-
}>;
|
435
|
+
readonly codegen: {
|
436
|
+
readonly outputDirectory: string;
|
437
|
+
readonly tableIdArgument: true;
|
438
|
+
readonly storeArgument: false;
|
439
|
+
readonly dataStruct: boolean;
|
440
|
+
};
|
561
441
|
readonly deploy: {
|
562
442
|
readonly disabled: false;
|
563
443
|
};
|
@@ -578,19 +458,12 @@ declare const _default: {
|
|
578
458
|
readonly internalType: "address";
|
579
459
|
};
|
580
460
|
};
|
581
|
-
readonly codegen:
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
schema: {
|
588
|
-
tokenId: "uint256";
|
589
|
-
owner: "address";
|
590
|
-
};
|
591
|
-
key: ["tokenId"];
|
592
|
-
name: "Owners";
|
593
|
-
}>;
|
461
|
+
readonly codegen: {
|
462
|
+
readonly outputDirectory: string;
|
463
|
+
readonly tableIdArgument: true;
|
464
|
+
readonly storeArgument: false;
|
465
|
+
readonly dataStruct: boolean;
|
466
|
+
};
|
594
467
|
readonly deploy: {
|
595
468
|
readonly disabled: false;
|
596
469
|
};
|
@@ -611,19 +484,12 @@ declare const _default: {
|
|
611
484
|
readonly internalType: "address";
|
612
485
|
};
|
613
486
|
};
|
614
|
-
readonly codegen:
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
schema: {
|
621
|
-
tokenId: "uint256";
|
622
|
-
account: "address";
|
623
|
-
};
|
624
|
-
key: ["tokenId"];
|
625
|
-
name: "TokenApproval";
|
626
|
-
}>;
|
487
|
+
readonly codegen: {
|
488
|
+
readonly outputDirectory: string;
|
489
|
+
readonly tableIdArgument: true;
|
490
|
+
readonly storeArgument: false;
|
491
|
+
readonly dataStruct: boolean;
|
492
|
+
};
|
627
493
|
readonly deploy: {
|
628
494
|
readonly disabled: false;
|
629
495
|
};
|
@@ -648,20 +514,12 @@ declare const _default: {
|
|
648
514
|
readonly internalType: "bool";
|
649
515
|
};
|
650
516
|
};
|
651
|
-
readonly codegen:
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
schema: {
|
658
|
-
owner: "address";
|
659
|
-
operator: "address";
|
660
|
-
approved: "bool";
|
661
|
-
};
|
662
|
-
key: ["owner", "operator"];
|
663
|
-
name: "OperatorApproval";
|
664
|
-
}>;
|
517
|
+
readonly codegen: {
|
518
|
+
readonly outputDirectory: string;
|
519
|
+
readonly tableIdArgument: true;
|
520
|
+
readonly storeArgument: false;
|
521
|
+
readonly dataStruct: boolean;
|
522
|
+
};
|
665
523
|
readonly deploy: {
|
666
524
|
readonly disabled: false;
|
667
525
|
};
|
@@ -682,19 +540,12 @@ declare const _default: {
|
|
682
540
|
readonly internalType: "address";
|
683
541
|
};
|
684
542
|
};
|
685
|
-
readonly codegen:
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
schema: {
|
692
|
-
namespaceId: "ResourceId";
|
693
|
-
tokenAddress: "address";
|
694
|
-
};
|
695
|
-
key: ["namespaceId"];
|
696
|
-
name: "ERC721Registry";
|
697
|
-
}>;
|
543
|
+
readonly codegen: {
|
544
|
+
readonly outputDirectory: string;
|
545
|
+
readonly tableIdArgument: true;
|
546
|
+
readonly storeArgument: false;
|
547
|
+
readonly dataStruct: boolean;
|
548
|
+
};
|
698
549
|
readonly deploy: {
|
699
550
|
readonly disabled: false;
|
700
551
|
};
|
@@ -715,18 +566,12 @@ declare const _default: {
|
|
715
566
|
readonly internalType: "uint256";
|
716
567
|
};
|
717
568
|
};
|
718
|
-
readonly codegen:
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
signer: "address";
|
725
|
-
nonce: "uint256";
|
726
|
-
};
|
727
|
-
key: ["signer"];
|
728
|
-
name: "CallWithSignatureNonces";
|
729
|
-
}>;
|
569
|
+
readonly codegen: {
|
570
|
+
readonly outputDirectory: string;
|
571
|
+
readonly tableIdArgument: false;
|
572
|
+
readonly storeArgument: false;
|
573
|
+
readonly dataStruct: boolean;
|
574
|
+
};
|
730
575
|
readonly deploy: {
|
731
576
|
readonly disabled: false;
|
732
577
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@latticexyz/world-modules",
|
3
|
-
"version": "2.0.6-main-
|
3
|
+
"version": "2.0.6-main-9720b568",
|
4
4
|
"description": "World modules",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -22,11 +22,11 @@
|
|
22
22
|
},
|
23
23
|
"dependencies": {
|
24
24
|
"zod": "^3.21.4",
|
25
|
-
"@latticexyz/common": "2.0.6-main-
|
26
|
-
"@latticexyz/config": "2.0.6-main-
|
27
|
-
"@latticexyz/
|
28
|
-
"@latticexyz/
|
29
|
-
"@latticexyz/
|
25
|
+
"@latticexyz/common": "2.0.6-main-9720b568",
|
26
|
+
"@latticexyz/config": "2.0.6-main-9720b568",
|
27
|
+
"@latticexyz/schema-type": "2.0.6-main-9720b568",
|
28
|
+
"@latticexyz/world": "2.0.6-main-9720b568",
|
29
|
+
"@latticexyz/store": "2.0.6-main-9720b568"
|
30
30
|
},
|
31
31
|
"devDependencies": {
|
32
32
|
"@types/ejs": "^3.1.1",
|
@@ -41,8 +41,8 @@
|
|
41
41
|
"tsup": "^6.7.0",
|
42
42
|
"tsx": "^3.12.6",
|
43
43
|
"vitest": "0.34.6",
|
44
|
-
"@latticexyz/
|
45
|
-
"@latticexyz/
|
44
|
+
"@latticexyz/abi-ts": "2.0.6-main-9720b568",
|
45
|
+
"@latticexyz/gas-report": "2.0.6-main-9720b568"
|
46
46
|
},
|
47
47
|
"publishConfig": {
|
48
48
|
"access": "public"
|