@latticexyz/world-module-metadata 2.2.22-050dfd5c0f540bc4145db05ca6798926fdecff4c → 2.2.22-2048adf7aa386ef1fe1e9863dd87cebdef439f1b
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 +5 -3
- package/dist/mud.config.js +5 -0
- package/dist/mud.config.js.map +1 -1
- package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -1
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -1
- package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -1
- package/out/GasReporter.sol/GasReporter.json +1 -1
- package/out/IMetadataSystem.sol/IMetadataSystem.json +1 -1
- package/out/IWorld.sol/IWorld.json +1 -1
- package/out/InitModule.sol/InitModule.json +1 -1
- package/out/MetadataModule.sol/MetadataModule.json +1 -1
- package/out/MetadataModule.t.sol/MetadataModuleTest.json +1 -1
- package/out/MetadataSystem.sol/MetadataSystem.json +1 -1
- package/out/MetadataSystemLib.sol/MetadataSystemLib.abi.json +7 -0
- package/out/MetadataSystemLib.sol/MetadataSystemLib.abi.json.d.ts +9 -0
- package/out/MetadataSystemLib.sol/MetadataSystemLib.json +1 -0
- package/out/MetadataSystemLib.sol/_deleteResourceTag_ResourceId_bytes32.abi.json +20 -0
- package/out/MetadataSystemLib.sol/_deleteResourceTag_ResourceId_bytes32.abi.json.d.ts +22 -0
- package/out/MetadataSystemLib.sol/_deleteResourceTag_ResourceId_bytes32.json +1 -0
- package/out/MetadataSystemLib.sol/_getResourceTag_ResourceId_bytes32.abi.json +20 -0
- package/out/MetadataSystemLib.sol/_getResourceTag_ResourceId_bytes32.abi.json.d.ts +22 -0
- package/out/MetadataSystemLib.sol/_getResourceTag_ResourceId_bytes32.json +1 -0
- package/out/MetadataSystemLib.sol/_setResourceTag_ResourceId_bytes32_bytes.abi.json +25 -0
- package/out/MetadataSystemLib.sol/_setResourceTag_ResourceId_bytes32_bytes.abi.json.d.ts +27 -0
- package/out/MetadataSystemLib.sol/_setResourceTag_ResourceId_bytes32_bytes.json +1 -0
- package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -1
- package/out/ResourceTag.sol/ResourceTag.json +1 -1
- package/out/StdError.sol/stdError.json +1 -1
- package/out/StoreRead.sol/StoreRead.json +1 -1
- package/out/System.sol/System.json +1 -1
- package/out/World.sol/World.json +1 -1
- package/out/build-info/{b4050048a431de169351a502bf331673.json → d8683521b55401b8908d2309dc58c4c2.json} +1 -1
- package/out/test.sol/DSTest.json +1 -1
- package/package.json +6 -6
- package/src/codegen/experimental/systems/MetadataSystemLib.sol +174 -0
package/dist/mud.config.d.ts
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
readonly namespace: string;
|
|
3
3
|
readonly codegen: {
|
|
4
|
-
readonly outputDirectory: "codegen";
|
|
5
4
|
readonly storeImportPath: "@latticexyz/store/src";
|
|
6
5
|
readonly userTypesFilename: "common.sol";
|
|
6
|
+
readonly outputDirectory: "codegen";
|
|
7
7
|
readonly indexFilename: "index.sol";
|
|
8
|
+
readonly systemLibrariesDirectory: "experimental/systems";
|
|
9
|
+
readonly generateSystemLibraries: true;
|
|
8
10
|
} & {
|
|
9
11
|
readonly worldInterfaceName: "IWorld";
|
|
10
12
|
readonly worldgenDirectory: "world";
|
|
11
|
-
readonly systemLibrariesDirectory: "systems";
|
|
12
|
-
readonly generateSystemLibraries:
|
|
13
|
+
readonly systemLibrariesDirectory: "experimental/systems";
|
|
14
|
+
readonly generateSystemLibraries: true;
|
|
13
15
|
readonly worldImportPath: "@latticexyz/world/src";
|
|
14
16
|
};
|
|
15
17
|
readonly tables: {
|
package/dist/mud.config.js
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
import { defineWorld } from "@latticexyz/world";
|
|
3
3
|
var mud_config_default = defineWorld({
|
|
4
4
|
namespace: "metadata",
|
|
5
|
+
codegen: {
|
|
6
|
+
generateSystemLibraries: true,
|
|
7
|
+
// generate into experimental dir until these are stable/audited
|
|
8
|
+
systemLibrariesDirectory: "experimental/systems"
|
|
9
|
+
},
|
|
5
10
|
userTypes: {
|
|
6
11
|
ResourceId: { filePath: "@latticexyz/store/src/ResourceId.sol", type: "bytes32" }
|
|
7
12
|
},
|
package/dist/mud.config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../mud.config.ts"],"sourcesContent":["import { defineWorld } from \"@latticexyz/world\";\n\nexport default defineWorld({\n namespace: \"metadata\",\n userTypes: {\n ResourceId: { filePath: \"@latticexyz/store/src/ResourceId.sol\", type: \"bytes32\" },\n },\n tables: {\n ResourceTag: {\n schema: {\n resource: \"ResourceId\",\n tag: \"bytes32\",\n value: \"bytes\",\n },\n key: [\"resource\", \"tag\"],\n },\n },\n});\n"],"mappings":";AAAA,SAAS,mBAAmB;AAE5B,IAAO,qBAAQ,YAAY;AAAA,EACzB,WAAW;AAAA,EACX,WAAW;AAAA,IACT,YAAY,EAAE,UAAU,wCAAwC,MAAM,UAAU;AAAA,EAClF;AAAA,EACA,QAAQ;AAAA,IACN,aAAa;AAAA,MACX,QAAQ;AAAA,QACN,UAAU;AAAA,QACV,KAAK;AAAA,QACL,OAAO;AAAA,MACT;AAAA,MACA,KAAK,CAAC,YAAY,KAAK;AAAA,IACzB;AAAA,EACF;AACF,CAAC;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../mud.config.ts"],"sourcesContent":["import { defineWorld } from \"@latticexyz/world\";\n\nexport default defineWorld({\n namespace: \"metadata\",\n codegen: {\n generateSystemLibraries: true,\n // generate into experimental dir until these are stable/audited\n systemLibrariesDirectory: \"experimental/systems\",\n },\n userTypes: {\n ResourceId: { filePath: \"@latticexyz/store/src/ResourceId.sol\", type: \"bytes32\" },\n },\n tables: {\n ResourceTag: {\n schema: {\n resource: \"ResourceId\",\n tag: \"bytes32\",\n value: \"bytes\",\n },\n key: [\"resource\", \"tag\"],\n },\n },\n});\n"],"mappings":";AAAA,SAAS,mBAAmB;AAE5B,IAAO,qBAAQ,YAAY;AAAA,EACzB,WAAW;AAAA,EACX,SAAS;AAAA,IACP,yBAAyB;AAAA;AAAA,IAEzB,0BAA0B;AAAA,EAC5B;AAAA,EACA,WAAW;AAAA,IACT,YAAY,EAAE,UAAU,wCAAwC,MAAM,UAAU;AAAA,EAClF;AAAA,EACA,QAAQ;AAAA,IACN,aAAa;AAAA,MACX,QAAQ;AAAA,QACN,UAAU;AAAA,QACV,KAAK;AAAA,QACL,OAAO;AAAA,MACT;AAAA,MACA,KAAK,CAAC,YAAY,KAAK;AAAA,IACzB;AAAA,EACF;AACF,CAAC;","names":[]}
|