-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
"create-mud": patch | ||
"@latticexyz/cli": major | ||
"@latticexyz/common": major | ||
"@latticexyz/store": patch | ||
"@latticexyz/world": patch | ||
"@latticexyz/world-modules": patch | ||
--- | ||
|
||
Moved table ID and field layout constants in code-generated table libraries from the file level into the library, for clearer access and cleaner imports. | ||
|
||
```diff | ||
-import { SomeTable, SomeTableTableId } from "./codegen/tables/SomeTable.sol"; | ||
+import { SomeTable } from "./codegen/tables/SomeTable.sol"; | ||
|
||
-console.log(SomeTableTableId); | ||
+console.log(SomeTable._tableId); | ||
|
||
-console.log(SomeTable.getFieldLayout()); | ||
+console.log(SomeTable._fieldLayout); | ||
``` |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.