diff --git a/e2e/packages/contracts/src/codegen/tables/DynamicArray.sol b/e2e/packages/contracts/src/codegen/tables/DynamicArray.sol index 867f3fac5a..a1915b52e4 100644 --- a/e2e/packages/contracts/src/codegen/tables/DynamicArray.sol +++ b/e2e/packages/contracts/src/codegen/tables/DynamicArray.sol @@ -374,7 +374,7 @@ library DynamicArray { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord() internal { bytes32[] memory _keyTuple = new bytes32[](0); @@ -383,7 +383,7 @@ library DynamicArray { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord() internal { bytes32[] memory _keyTuple = new bytes32[](0); diff --git a/e2e/packages/contracts/src/codegen/tables/Multi.sol b/e2e/packages/contracts/src/codegen/tables/Multi.sol index 8f9ad1e31b..2c55fe51cf 100644 --- a/e2e/packages/contracts/src/codegen/tables/Multi.sol +++ b/e2e/packages/contracts/src/codegen/tables/Multi.sol @@ -309,7 +309,7 @@ library Multi { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(uint32 a, bool b, uint256 c, int120 d) internal { bytes32[] memory _keyTuple = new bytes32[](4); @@ -322,7 +322,7 @@ library Multi { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(uint32 a, bool b, uint256 c, int120 d) internal { bytes32[] memory _keyTuple = new bytes32[](4); diff --git a/e2e/packages/contracts/src/codegen/tables/Number.sol b/e2e/packages/contracts/src/codegen/tables/Number.sol index f76a610081..0ecb16527b 100644 --- a/e2e/packages/contracts/src/codegen/tables/Number.sol +++ b/e2e/packages/contracts/src/codegen/tables/Number.sol @@ -145,7 +145,7 @@ library Number { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(uint32 key) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -155,7 +155,7 @@ library Number { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(uint32 key) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/e2e/packages/contracts/src/codegen/tables/NumberList.sol b/e2e/packages/contracts/src/codegen/tables/NumberList.sol index 9a559c959f..0be42aa74c 100644 --- a/e2e/packages/contracts/src/codegen/tables/NumberList.sol +++ b/e2e/packages/contracts/src/codegen/tables/NumberList.sol @@ -356,7 +356,7 @@ library NumberList { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord() internal { bytes32[] memory _keyTuple = new bytes32[](0); @@ -365,7 +365,7 @@ library NumberList { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord() internal { bytes32[] memory _keyTuple = new bytes32[](0); diff --git a/e2e/packages/contracts/src/codegen/tables/Position.sol b/e2e/packages/contracts/src/codegen/tables/Position.sol index dd80568016..dfe1e45946 100644 --- a/e2e/packages/contracts/src/codegen/tables/Position.sol +++ b/e2e/packages/contracts/src/codegen/tables/Position.sol @@ -163,7 +163,7 @@ library Position { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(bytes32 zone, int32 x, int32 y) internal { bytes32[] memory _keyTuple = new bytes32[](3); @@ -175,7 +175,7 @@ library Position { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(bytes32 zone, int32 x, int32 y) internal { bytes32[] memory _keyTuple = new bytes32[](3); diff --git a/e2e/packages/contracts/src/codegen/tables/StaticArray.sol b/e2e/packages/contracts/src/codegen/tables/StaticArray.sol index 7f0a3c817b..715114c38d 100644 --- a/e2e/packages/contracts/src/codegen/tables/StaticArray.sol +++ b/e2e/packages/contracts/src/codegen/tables/StaticArray.sol @@ -333,7 +333,7 @@ library StaticArray { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord() internal { bytes32[] memory _keyTuple = new bytes32[](0); @@ -342,7 +342,7 @@ library StaticArray { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord() internal { bytes32[] memory _keyTuple = new bytes32[](0); diff --git a/e2e/packages/contracts/src/codegen/tables/Vector.sol b/e2e/packages/contracts/src/codegen/tables/Vector.sol index 5c40adcb17..7169b6f255 100644 --- a/e2e/packages/contracts/src/codegen/tables/Vector.sol +++ b/e2e/packages/contracts/src/codegen/tables/Vector.sol @@ -264,7 +264,7 @@ library Vector { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(uint32 key) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -274,7 +274,7 @@ library Vector { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(uint32 key) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/examples/local-explorer/packages/contracts/src/codegen/tables/Tasks.sol b/examples/local-explorer/packages/contracts/src/codegen/tables/Tasks.sol index 48535061b8..a339326527 100644 --- a/examples/local-explorer/packages/contracts/src/codegen/tables/Tasks.sol +++ b/examples/local-explorer/packages/contracts/src/codegen/tables/Tasks.sol @@ -445,7 +445,7 @@ library Tasks { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(bytes32 id) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -455,7 +455,7 @@ library Tasks { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(bytes32 id) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/examples/minimal/packages/contracts/src/codegen/tables/CounterTable.sol b/examples/minimal/packages/contracts/src/codegen/tables/CounterTable.sol index 7ddeff7860..901f5222e2 100644 --- a/examples/minimal/packages/contracts/src/codegen/tables/CounterTable.sol +++ b/examples/minimal/packages/contracts/src/codegen/tables/CounterTable.sol @@ -181,7 +181,7 @@ library CounterTable { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord() internal { bytes32[] memory _keyTuple = new bytes32[](0); @@ -190,7 +190,7 @@ library CounterTable { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord() internal { bytes32[] memory _keyTuple = new bytes32[](0); @@ -199,7 +199,7 @@ library CounterTable { } /** - * @notice Delete all data for given keys (using the specified store). + * @notice Delete all data for given key (using the specified store). */ function deleteRecord(IStore _store) internal { bytes32[] memory _keyTuple = new bytes32[](0); diff --git a/examples/minimal/packages/contracts/src/codegen/tables/Inventory.sol b/examples/minimal/packages/contracts/src/codegen/tables/Inventory.sol index 27c7991f10..648aca4a91 100644 --- a/examples/minimal/packages/contracts/src/codegen/tables/Inventory.sol +++ b/examples/minimal/packages/contracts/src/codegen/tables/Inventory.sol @@ -163,7 +163,7 @@ library Inventory { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(address owner, uint32 item, uint32 itemVariant) internal { bytes32[] memory _keyTuple = new bytes32[](3); @@ -175,7 +175,7 @@ library Inventory { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(address owner, uint32 item, uint32 itemVariant) internal { bytes32[] memory _keyTuple = new bytes32[](3); diff --git a/examples/minimal/packages/contracts/src/codegen/tables/MessageTable.sol b/examples/minimal/packages/contracts/src/codegen/tables/MessageTable.sol index b8b96444db..c61270aed8 100644 --- a/examples/minimal/packages/contracts/src/codegen/tables/MessageTable.sol +++ b/examples/minimal/packages/contracts/src/codegen/tables/MessageTable.sol @@ -115,7 +115,7 @@ library MessageTable { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord() internal { bytes32[] memory _keyTuple = new bytes32[](0); @@ -124,7 +124,7 @@ library MessageTable { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord() internal { bytes32[] memory _keyTuple = new bytes32[](0); diff --git a/examples/multiple-namespaces/src/namespaces/game/codegen/tables/Health.sol b/examples/multiple-namespaces/src/namespaces/game/codegen/tables/Health.sol index f125fc4b3a..738ad70791 100644 --- a/examples/multiple-namespaces/src/namespaces/game/codegen/tables/Health.sol +++ b/examples/multiple-namespaces/src/namespaces/game/codegen/tables/Health.sol @@ -145,7 +145,7 @@ library Health { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(address player) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -155,7 +155,7 @@ library Health { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(address player) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/examples/multiple-namespaces/src/namespaces/game/codegen/tables/Position.sol b/examples/multiple-namespaces/src/namespaces/game/codegen/tables/Position.sol index a7d422e341..fd9ffd59ad 100644 --- a/examples/multiple-namespaces/src/namespaces/game/codegen/tables/Position.sol +++ b/examples/multiple-namespaces/src/namespaces/game/codegen/tables/Position.sol @@ -264,7 +264,7 @@ library Position { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(address player) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -274,7 +274,7 @@ library Position { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(address player) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/cli/contracts/src/codegen/tables/Dynamics1.sol b/packages/cli/contracts/src/codegen/tables/Dynamics1.sol index 96f8d3469e..66a1c381cf 100644 --- a/packages/cli/contracts/src/codegen/tables/Dynamics1.sol +++ b/packages/cli/contracts/src/codegen/tables/Dynamics1.sol @@ -838,7 +838,7 @@ library Dynamics1 { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(bytes32 key) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -848,7 +848,7 @@ library Dynamics1 { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(bytes32 key) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/cli/contracts/src/codegen/tables/Dynamics2.sol b/packages/cli/contracts/src/codegen/tables/Dynamics2.sol index e2480a74fe..96ad391e64 100644 --- a/packages/cli/contracts/src/codegen/tables/Dynamics2.sol +++ b/packages/cli/contracts/src/codegen/tables/Dynamics2.sol @@ -682,7 +682,7 @@ library Dynamics2 { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(bytes32 key) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -692,7 +692,7 @@ library Dynamics2 { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(bytes32 key) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/cli/contracts/src/codegen/tables/Offchain.sol b/packages/cli/contracts/src/codegen/tables/Offchain.sol index cd3f75868e..9bea3462d0 100644 --- a/packages/cli/contracts/src/codegen/tables/Offchain.sol +++ b/packages/cli/contracts/src/codegen/tables/Offchain.sol @@ -128,7 +128,7 @@ library Offchain { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(bytes32 key) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -138,7 +138,7 @@ library Offchain { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(bytes32 key) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/cli/contracts/src/codegen/tables/Singleton.sol b/packages/cli/contracts/src/codegen/tables/Singleton.sol index 20d508cdf6..f874f913be 100644 --- a/packages/cli/contracts/src/codegen/tables/Singleton.sol +++ b/packages/cli/contracts/src/codegen/tables/Singleton.sol @@ -528,7 +528,7 @@ library Singleton { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord() internal { bytes32[] memory _keyTuple = new bytes32[](0); @@ -537,7 +537,7 @@ library Singleton { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord() internal { bytes32[] memory _keyTuple = new bytes32[](0); diff --git a/packages/cli/contracts/src/codegen/tables/Statics.sol b/packages/cli/contracts/src/codegen/tables/Statics.sol index ebba037d3f..0ff54970f1 100644 --- a/packages/cli/contracts/src/codegen/tables/Statics.sol +++ b/packages/cli/contracts/src/codegen/tables/Statics.sol @@ -648,7 +648,7 @@ library Statics { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(uint256 k1, int32 k2, bytes16 k3, address k4, bool k5, Enum2 k6) internal { bytes32[] memory _keyTuple = new bytes32[](6); @@ -663,7 +663,7 @@ library Statics { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(uint256 k1, int32 k2, bytes16 k3, address k4, bool k5, Enum2 k6) internal { bytes32[] memory _keyTuple = new bytes32[](6); diff --git a/packages/cli/contracts/src/codegen/tables/UserTyped.sol b/packages/cli/contracts/src/codegen/tables/UserTyped.sol index bf0f26ef18..959e055cad 100644 --- a/packages/cli/contracts/src/codegen/tables/UserTyped.sol +++ b/packages/cli/contracts/src/codegen/tables/UserTyped.sol @@ -728,7 +728,7 @@ library UserTyped { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord( TestTypeAddress k1, @@ -748,7 +748,7 @@ library UserTyped { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord( TestTypeAddress k1, diff --git a/packages/store/src/codegen/tables/Hooks.sol b/packages/store/src/codegen/tables/Hooks.sol index a0bbf36faf..a95a1da968 100644 --- a/packages/store/src/codegen/tables/Hooks.sol +++ b/packages/store/src/codegen/tables/Hooks.sol @@ -385,7 +385,7 @@ library Hooks { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId _tableId, ResourceId resourceId) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -395,7 +395,7 @@ library Hooks { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId _tableId, ResourceId resourceId) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/store/src/codegen/tables/ResourceIds.sol b/packages/store/src/codegen/tables/ResourceIds.sol index 0e04073444..08999b9b5b 100644 --- a/packages/store/src/codegen/tables/ResourceIds.sol +++ b/packages/store/src/codegen/tables/ResourceIds.sol @@ -148,7 +148,7 @@ library ResourceIds { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId resourceId) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -158,7 +158,7 @@ library ResourceIds { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId resourceId) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/store/src/codegen/tables/StoreHooks.sol b/packages/store/src/codegen/tables/StoreHooks.sol index 4aac606501..53efa28184 100644 --- a/packages/store/src/codegen/tables/StoreHooks.sol +++ b/packages/store/src/codegen/tables/StoreHooks.sol @@ -388,7 +388,7 @@ library StoreHooks { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId tableId) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -398,7 +398,7 @@ library StoreHooks { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId tableId) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/store/src/codegen/tables/Tables.sol b/packages/store/src/codegen/tables/Tables.sol index 9cbe48f824..36573f3359 100644 --- a/packages/store/src/codegen/tables/Tables.sol +++ b/packages/store/src/codegen/tables/Tables.sol @@ -682,7 +682,7 @@ library Tables { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId tableId) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -692,7 +692,7 @@ library Tables { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId tableId) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/store/test/codegen/tables/Callbacks.sol b/packages/store/test/codegen/tables/Callbacks.sol index 3def318d75..9eb1334649 100644 --- a/packages/store/test/codegen/tables/Callbacks.sol +++ b/packages/store/test/codegen/tables/Callbacks.sol @@ -385,7 +385,7 @@ library Callbacks { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(bytes32 key) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -395,7 +395,7 @@ library Callbacks { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(bytes32 key) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/store/test/codegen/tables/KeyEncoding.sol b/packages/store/test/codegen/tables/KeyEncoding.sol index 8004179b40..0e77d3b83b 100644 --- a/packages/store/test/codegen/tables/KeyEncoding.sol +++ b/packages/store/test/codegen/tables/KeyEncoding.sol @@ -221,7 +221,7 @@ library KeyEncoding { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(uint256 k1, int32 k2, bytes16 k3, address k4, bool k5, ExampleEnum k6) internal { bytes32[] memory _keyTuple = new bytes32[](6); @@ -236,7 +236,7 @@ library KeyEncoding { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(uint256 k1, int32 k2, bytes16 k3, address k4, bool k5, ExampleEnum k6) internal { bytes32[] memory _keyTuple = new bytes32[](6); diff --git a/packages/store/test/codegen/tables/Mixed.sol b/packages/store/test/codegen/tables/Mixed.sol index c94148c914..fff622518f 100644 --- a/packages/store/test/codegen/tables/Mixed.sol +++ b/packages/store/test/codegen/tables/Mixed.sol @@ -615,7 +615,7 @@ library Mixed { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(bytes32 key) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -625,7 +625,7 @@ library Mixed { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(bytes32 key) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/store/test/codegen/tables/Vector2.sol b/packages/store/test/codegen/tables/Vector2.sol index 661678874b..660198e6a7 100644 --- a/packages/store/test/codegen/tables/Vector2.sol +++ b/packages/store/test/codegen/tables/Vector2.sol @@ -264,7 +264,7 @@ library Vector2 { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(bytes32 key) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -274,7 +274,7 @@ library Vector2 { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(bytes32 key) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/store/ts/codegen/record.ts b/packages/store/ts/codegen/record.ts index 09766b21cc..42bf23ac8e 100644 --- a/packages/store/ts/codegen/record.ts +++ b/packages/store/ts/codegen/record.ts @@ -163,7 +163,7 @@ export function renderDeleteRecordMethods(options: RenderTableOptions) { return ` /** - * @notice Delete all data for given keys${_commentSuffix}. + * @notice Delete all data for given key${_commentSuffix}. */ function ${_methodNamePrefix}deleteRecord(${externalArguments}) internal { ${_keyTupleDefinition} diff --git a/packages/world-module-erc20/src/codegen/tables/Allowances.sol b/packages/world-module-erc20/src/codegen/tables/Allowances.sol index b67787d611..95fc22c48b 100644 --- a/packages/world-module-erc20/src/codegen/tables/Allowances.sol +++ b/packages/world-module-erc20/src/codegen/tables/Allowances.sol @@ -151,7 +151,7 @@ library Allowances { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId _tableId, address account, address spender) internal { bytes32[] memory _keyTuple = new bytes32[](2); @@ -162,7 +162,7 @@ library Allowances { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId _tableId, address account, address spender) internal { bytes32[] memory _keyTuple = new bytes32[](2); diff --git a/packages/world-module-erc20/src/codegen/tables/Balances.sol b/packages/world-module-erc20/src/codegen/tables/Balances.sol index 03bf11aba0..d02df35fa1 100644 --- a/packages/world-module-erc20/src/codegen/tables/Balances.sol +++ b/packages/world-module-erc20/src/codegen/tables/Balances.sol @@ -142,7 +142,7 @@ library Balances { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId _tableId, address account) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -152,7 +152,7 @@ library Balances { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId _tableId, address account) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/world-module-erc20/src/codegen/tables/ERC20Metadata.sol b/packages/world-module-erc20/src/codegen/tables/ERC20Metadata.sol index 30f9d1eb21..28a75923e9 100644 --- a/packages/world-module-erc20/src/codegen/tables/ERC20Metadata.sol +++ b/packages/world-module-erc20/src/codegen/tables/ERC20Metadata.sol @@ -527,7 +527,7 @@ library ERC20Metadata { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId _tableId) internal { bytes32[] memory _keyTuple = new bytes32[](0); @@ -536,7 +536,7 @@ library ERC20Metadata { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId _tableId) internal { bytes32[] memory _keyTuple = new bytes32[](0); diff --git a/packages/world-module-erc20/src/codegen/tables/ERC20Registry.sol b/packages/world-module-erc20/src/codegen/tables/ERC20Registry.sol index 421ebfd51e..df46101d7e 100644 --- a/packages/world-module-erc20/src/codegen/tables/ERC20Registry.sol +++ b/packages/world-module-erc20/src/codegen/tables/ERC20Registry.sol @@ -145,7 +145,7 @@ library ERC20Registry { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId _tableId, ResourceId namespaceId) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -155,7 +155,7 @@ library ERC20Registry { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId _tableId, ResourceId namespaceId) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/world-module-erc20/src/codegen/tables/Owner.sol b/packages/world-module-erc20/src/codegen/tables/Owner.sol index 497c940313..6e06ee8df2 100644 --- a/packages/world-module-erc20/src/codegen/tables/Owner.sol +++ b/packages/world-module-erc20/src/codegen/tables/Owner.sol @@ -133,7 +133,7 @@ library Owner { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId _tableId) internal { bytes32[] memory _keyTuple = new bytes32[](0); @@ -142,7 +142,7 @@ library Owner { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId _tableId) internal { bytes32[] memory _keyTuple = new bytes32[](0); diff --git a/packages/world-module-erc20/src/codegen/tables/Paused.sol b/packages/world-module-erc20/src/codegen/tables/Paused.sol index 382633cd0e..4ba8aff989 100644 --- a/packages/world-module-erc20/src/codegen/tables/Paused.sol +++ b/packages/world-module-erc20/src/codegen/tables/Paused.sol @@ -133,7 +133,7 @@ library Paused { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId _tableId) internal { bytes32[] memory _keyTuple = new bytes32[](0); @@ -142,7 +142,7 @@ library Paused { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId _tableId) internal { bytes32[] memory _keyTuple = new bytes32[](0); diff --git a/packages/world-module-erc20/src/codegen/tables/TotalSupply.sol b/packages/world-module-erc20/src/codegen/tables/TotalSupply.sol index ee12089747..fc4eb5fb94 100644 --- a/packages/world-module-erc20/src/codegen/tables/TotalSupply.sol +++ b/packages/world-module-erc20/src/codegen/tables/TotalSupply.sol @@ -133,7 +133,7 @@ library TotalSupply { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId _tableId) internal { bytes32[] memory _keyTuple = new bytes32[](0); @@ -142,7 +142,7 @@ library TotalSupply { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId _tableId) internal { bytes32[] memory _keyTuple = new bytes32[](0); diff --git a/packages/world-module-metadata/src/codegen/tables/ResourceTag.sol b/packages/world-module-metadata/src/codegen/tables/ResourceTag.sol index e275c2abc4..6c5ce7796c 100644 --- a/packages/world-module-metadata/src/codegen/tables/ResourceTag.sol +++ b/packages/world-module-metadata/src/codegen/tables/ResourceTag.sol @@ -417,7 +417,7 @@ library ResourceTag { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId resource, bytes32 tag) internal { bytes32[] memory _keyTuple = new bytes32[](2); @@ -428,7 +428,7 @@ library ResourceTag { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId resource, bytes32 tag) internal { bytes32[] memory _keyTuple = new bytes32[](2); diff --git a/packages/world-modules/src/modules/callwithsignature/tables/CallWithSignatureNonces.sol b/packages/world-modules/src/modules/callwithsignature/tables/CallWithSignatureNonces.sol index 554b33df9f..be192f6add 100644 --- a/packages/world-modules/src/modules/callwithsignature/tables/CallWithSignatureNonces.sol +++ b/packages/world-modules/src/modules/callwithsignature/tables/CallWithSignatureNonces.sol @@ -145,7 +145,7 @@ library CallWithSignatureNonces { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(address signer) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -155,7 +155,7 @@ library CallWithSignatureNonces { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(address signer) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/world-modules/src/modules/erc20-puppet/tables/Allowances.sol b/packages/world-modules/src/modules/erc20-puppet/tables/Allowances.sol index b67787d611..95fc22c48b 100644 --- a/packages/world-modules/src/modules/erc20-puppet/tables/Allowances.sol +++ b/packages/world-modules/src/modules/erc20-puppet/tables/Allowances.sol @@ -151,7 +151,7 @@ library Allowances { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId _tableId, address account, address spender) internal { bytes32[] memory _keyTuple = new bytes32[](2); @@ -162,7 +162,7 @@ library Allowances { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId _tableId, address account, address spender) internal { bytes32[] memory _keyTuple = new bytes32[](2); diff --git a/packages/world-modules/src/modules/erc20-puppet/tables/ERC20Metadata.sol b/packages/world-modules/src/modules/erc20-puppet/tables/ERC20Metadata.sol index 30f9d1eb21..28a75923e9 100644 --- a/packages/world-modules/src/modules/erc20-puppet/tables/ERC20Metadata.sol +++ b/packages/world-modules/src/modules/erc20-puppet/tables/ERC20Metadata.sol @@ -527,7 +527,7 @@ library ERC20Metadata { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId _tableId) internal { bytes32[] memory _keyTuple = new bytes32[](0); @@ -536,7 +536,7 @@ library ERC20Metadata { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId _tableId) internal { bytes32[] memory _keyTuple = new bytes32[](0); diff --git a/packages/world-modules/src/modules/erc20-puppet/tables/ERC20Registry.sol b/packages/world-modules/src/modules/erc20-puppet/tables/ERC20Registry.sol index 421ebfd51e..df46101d7e 100644 --- a/packages/world-modules/src/modules/erc20-puppet/tables/ERC20Registry.sol +++ b/packages/world-modules/src/modules/erc20-puppet/tables/ERC20Registry.sol @@ -145,7 +145,7 @@ library ERC20Registry { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId _tableId, ResourceId namespaceId) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -155,7 +155,7 @@ library ERC20Registry { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId _tableId, ResourceId namespaceId) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/world-modules/src/modules/erc20-puppet/tables/TotalSupply.sol b/packages/world-modules/src/modules/erc20-puppet/tables/TotalSupply.sol index ee12089747..fc4eb5fb94 100644 --- a/packages/world-modules/src/modules/erc20-puppet/tables/TotalSupply.sol +++ b/packages/world-modules/src/modules/erc20-puppet/tables/TotalSupply.sol @@ -133,7 +133,7 @@ library TotalSupply { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId _tableId) internal { bytes32[] memory _keyTuple = new bytes32[](0); @@ -142,7 +142,7 @@ library TotalSupply { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId _tableId) internal { bytes32[] memory _keyTuple = new bytes32[](0); diff --git a/packages/world-modules/src/modules/erc721-puppet/tables/ERC721Metadata.sol b/packages/world-modules/src/modules/erc721-puppet/tables/ERC721Metadata.sol index 424f85df33..63ad2440c8 100644 --- a/packages/world-modules/src/modules/erc721-puppet/tables/ERC721Metadata.sol +++ b/packages/world-modules/src/modules/erc721-puppet/tables/ERC721Metadata.sol @@ -630,7 +630,7 @@ library ERC721Metadata { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId _tableId) internal { bytes32[] memory _keyTuple = new bytes32[](0); @@ -639,7 +639,7 @@ library ERC721Metadata { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId _tableId) internal { bytes32[] memory _keyTuple = new bytes32[](0); diff --git a/packages/world-modules/src/modules/erc721-puppet/tables/ERC721Registry.sol b/packages/world-modules/src/modules/erc721-puppet/tables/ERC721Registry.sol index 3c58d6d248..7f37181c05 100644 --- a/packages/world-modules/src/modules/erc721-puppet/tables/ERC721Registry.sol +++ b/packages/world-modules/src/modules/erc721-puppet/tables/ERC721Registry.sol @@ -145,7 +145,7 @@ library ERC721Registry { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId _tableId, ResourceId namespaceId) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -155,7 +155,7 @@ library ERC721Registry { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId _tableId, ResourceId namespaceId) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/world-modules/src/modules/erc721-puppet/tables/OperatorApproval.sol b/packages/world-modules/src/modules/erc721-puppet/tables/OperatorApproval.sol index 8a77fc84d8..07501c2b7d 100644 --- a/packages/world-modules/src/modules/erc721-puppet/tables/OperatorApproval.sol +++ b/packages/world-modules/src/modules/erc721-puppet/tables/OperatorApproval.sol @@ -151,7 +151,7 @@ library OperatorApproval { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId _tableId, address owner, address operator) internal { bytes32[] memory _keyTuple = new bytes32[](2); @@ -162,7 +162,7 @@ library OperatorApproval { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId _tableId, address owner, address operator) internal { bytes32[] memory _keyTuple = new bytes32[](2); diff --git a/packages/world-modules/src/modules/erc721-puppet/tables/Owners.sol b/packages/world-modules/src/modules/erc721-puppet/tables/Owners.sol index ccb9415ae0..b3aef83c56 100644 --- a/packages/world-modules/src/modules/erc721-puppet/tables/Owners.sol +++ b/packages/world-modules/src/modules/erc721-puppet/tables/Owners.sol @@ -142,7 +142,7 @@ library Owners { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId _tableId, uint256 tokenId) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -152,7 +152,7 @@ library Owners { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId _tableId, uint256 tokenId) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/world-modules/src/modules/erc721-puppet/tables/TokenApproval.sol b/packages/world-modules/src/modules/erc721-puppet/tables/TokenApproval.sol index 2d7cdefc14..58aa6e517f 100644 --- a/packages/world-modules/src/modules/erc721-puppet/tables/TokenApproval.sol +++ b/packages/world-modules/src/modules/erc721-puppet/tables/TokenApproval.sol @@ -142,7 +142,7 @@ library TokenApproval { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId _tableId, uint256 tokenId) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -152,7 +152,7 @@ library TokenApproval { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId _tableId, uint256 tokenId) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/world-modules/src/modules/erc721-puppet/tables/TokenURI.sol b/packages/world-modules/src/modules/erc721-puppet/tables/TokenURI.sol index a02991a257..3cd8188e40 100644 --- a/packages/world-modules/src/modules/erc721-puppet/tables/TokenURI.sol +++ b/packages/world-modules/src/modules/erc721-puppet/tables/TokenURI.sol @@ -386,7 +386,7 @@ library TokenURI { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId _tableId, uint256 tokenId) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -396,7 +396,7 @@ library TokenURI { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId _tableId, uint256 tokenId) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/world-modules/src/modules/keysintable/tables/KeysInTable.sol b/packages/world-modules/src/modules/keysintable/tables/KeysInTable.sol index 57de2ad033..27f8859c66 100644 --- a/packages/world-modules/src/modules/keysintable/tables/KeysInTable.sol +++ b/packages/world-modules/src/modules/keysintable/tables/KeysInTable.sol @@ -1533,7 +1533,7 @@ library KeysInTable { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId sourceTableId) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -1543,7 +1543,7 @@ library KeysInTable { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId sourceTableId) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -1553,7 +1553,7 @@ library KeysInTable { } /** - * @notice Delete all data for given keys (using the specified store). + * @notice Delete all data for given key (using the specified store). */ function deleteRecord(IStore _store, ResourceId sourceTableId) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/world-modules/src/modules/keysintable/tables/UsedKeysIndex.sol b/packages/world-modules/src/modules/keysintable/tables/UsedKeysIndex.sol index 926480b14b..0c2b4b46d9 100644 --- a/packages/world-modules/src/modules/keysintable/tables/UsedKeysIndex.sol +++ b/packages/world-modules/src/modules/keysintable/tables/UsedKeysIndex.sol @@ -334,7 +334,7 @@ library UsedKeysIndex { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId sourceTableId, bytes32 keysHash) internal { bytes32[] memory _keyTuple = new bytes32[](2); @@ -345,7 +345,7 @@ library UsedKeysIndex { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId sourceTableId, bytes32 keysHash) internal { bytes32[] memory _keyTuple = new bytes32[](2); @@ -356,7 +356,7 @@ library UsedKeysIndex { } /** - * @notice Delete all data for given keys (using the specified store). + * @notice Delete all data for given key (using the specified store). */ function deleteRecord(IStore _store, ResourceId sourceTableId, bytes32 keysHash) internal { bytes32[] memory _keyTuple = new bytes32[](2); diff --git a/packages/world-modules/src/modules/keyswithvalue/tables/KeysWithValue.sol b/packages/world-modules/src/modules/keyswithvalue/tables/KeysWithValue.sol index 1e044c7a04..a834e11564 100644 --- a/packages/world-modules/src/modules/keyswithvalue/tables/KeysWithValue.sol +++ b/packages/world-modules/src/modules/keyswithvalue/tables/KeysWithValue.sol @@ -594,7 +594,7 @@ library KeysWithValue { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId _tableId, bytes32 valueHash) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -604,7 +604,7 @@ library KeysWithValue { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId _tableId, bytes32 valueHash) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -614,7 +614,7 @@ library KeysWithValue { } /** - * @notice Delete all data for given keys (using the specified store). + * @notice Delete all data for given key (using the specified store). */ function deleteRecord(IStore _store, ResourceId _tableId, bytes32 valueHash) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/world-modules/src/modules/puppet/tables/PuppetRegistry.sol b/packages/world-modules/src/modules/puppet/tables/PuppetRegistry.sol index a5beb86c42..9cca93e641 100644 --- a/packages/world-modules/src/modules/puppet/tables/PuppetRegistry.sol +++ b/packages/world-modules/src/modules/puppet/tables/PuppetRegistry.sol @@ -145,7 +145,7 @@ library PuppetRegistry { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId _tableId, ResourceId systemId) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -155,7 +155,7 @@ library PuppetRegistry { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId _tableId, ResourceId systemId) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/world-modules/src/modules/std-delegations/tables/CallboundDelegations.sol b/packages/world-modules/src/modules/std-delegations/tables/CallboundDelegations.sol index 3c6f7e6dbd..1f9d2b0fae 100644 --- a/packages/world-modules/src/modules/std-delegations/tables/CallboundDelegations.sol +++ b/packages/world-modules/src/modules/std-delegations/tables/CallboundDelegations.sol @@ -219,7 +219,7 @@ library CallboundDelegations { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(address delegator, address delegatee, ResourceId systemId, bytes32 callDataHash) internal { bytes32[] memory _keyTuple = new bytes32[](4); @@ -232,7 +232,7 @@ library CallboundDelegations { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(address delegator, address delegatee, ResourceId systemId, bytes32 callDataHash) internal { bytes32[] memory _keyTuple = new bytes32[](4); diff --git a/packages/world-modules/src/modules/std-delegations/tables/SystemboundDelegations.sol b/packages/world-modules/src/modules/std-delegations/tables/SystemboundDelegations.sol index d2ad04d72e..8bf407af33 100644 --- a/packages/world-modules/src/modules/std-delegations/tables/SystemboundDelegations.sol +++ b/packages/world-modules/src/modules/std-delegations/tables/SystemboundDelegations.sol @@ -192,7 +192,7 @@ library SystemboundDelegations { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(address delegator, address delegatee, ResourceId systemId) internal { bytes32[] memory _keyTuple = new bytes32[](3); @@ -204,7 +204,7 @@ library SystemboundDelegations { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(address delegator, address delegatee, ResourceId systemId) internal { bytes32[] memory _keyTuple = new bytes32[](3); diff --git a/packages/world-modules/src/modules/std-delegations/tables/TimeboundDelegations.sol b/packages/world-modules/src/modules/std-delegations/tables/TimeboundDelegations.sol index dcac86e288..400797f179 100644 --- a/packages/world-modules/src/modules/std-delegations/tables/TimeboundDelegations.sol +++ b/packages/world-modules/src/modules/std-delegations/tables/TimeboundDelegations.sol @@ -154,7 +154,7 @@ library TimeboundDelegations { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(address delegator, address delegatee) internal { bytes32[] memory _keyTuple = new bytes32[](2); @@ -165,7 +165,7 @@ library TimeboundDelegations { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(address delegator, address delegatee) internal { bytes32[] memory _keyTuple = new bytes32[](2); diff --git a/packages/world-modules/src/modules/tokens/tables/Balances.sol b/packages/world-modules/src/modules/tokens/tables/Balances.sol index 03bf11aba0..d02df35fa1 100644 --- a/packages/world-modules/src/modules/tokens/tables/Balances.sol +++ b/packages/world-modules/src/modules/tokens/tables/Balances.sol @@ -142,7 +142,7 @@ library Balances { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId _tableId, address account) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -152,7 +152,7 @@ library Balances { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId _tableId, address account) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/world-modules/src/modules/uniqueentity/tables/UniqueEntity.sol b/packages/world-modules/src/modules/uniqueentity/tables/UniqueEntity.sol index 3d6ab6eb19..554bc98699 100644 --- a/packages/world-modules/src/modules/uniqueentity/tables/UniqueEntity.sol +++ b/packages/world-modules/src/modules/uniqueentity/tables/UniqueEntity.sol @@ -178,7 +178,7 @@ library UniqueEntity { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId _tableId) internal { bytes32[] memory _keyTuple = new bytes32[](0); @@ -187,7 +187,7 @@ library UniqueEntity { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId _tableId) internal { bytes32[] memory _keyTuple = new bytes32[](0); @@ -196,7 +196,7 @@ library UniqueEntity { } /** - * @notice Delete all data for given keys (using the specified store). + * @notice Delete all data for given key (using the specified store). */ function deleteRecord(IStore _store, ResourceId _tableId) internal { bytes32[] memory _keyTuple = new bytes32[](0); diff --git a/packages/world/src/codegen/tables/Balances.sol b/packages/world/src/codegen/tables/Balances.sol index f4dca1d9ee..d32f51d5a2 100644 --- a/packages/world/src/codegen/tables/Balances.sol +++ b/packages/world/src/codegen/tables/Balances.sol @@ -148,7 +148,7 @@ library Balances { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId namespaceId) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -158,7 +158,7 @@ library Balances { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId namespaceId) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/world/src/codegen/tables/FunctionSelectors.sol b/packages/world/src/codegen/tables/FunctionSelectors.sol index 9f7f1d6e22..afd8450b4f 100644 --- a/packages/world/src/codegen/tables/FunctionSelectors.sol +++ b/packages/world/src/codegen/tables/FunctionSelectors.sol @@ -240,7 +240,7 @@ library FunctionSelectors { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(bytes4 worldFunctionSelector) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -250,7 +250,7 @@ library FunctionSelectors { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(bytes4 worldFunctionSelector) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/world/src/codegen/tables/FunctionSignatures.sol b/packages/world/src/codegen/tables/FunctionSignatures.sol index cd682b8068..f90b092a26 100644 --- a/packages/world/src/codegen/tables/FunctionSignatures.sol +++ b/packages/world/src/codegen/tables/FunctionSignatures.sol @@ -118,7 +118,7 @@ library FunctionSignatures { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(bytes4 functionSelector) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -128,7 +128,7 @@ library FunctionSignatures { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(bytes4 functionSelector) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/world/src/codegen/tables/InitModuleAddress.sol b/packages/world/src/codegen/tables/InitModuleAddress.sol index c23a724014..c6ff3f10d1 100644 --- a/packages/world/src/codegen/tables/InitModuleAddress.sol +++ b/packages/world/src/codegen/tables/InitModuleAddress.sol @@ -136,7 +136,7 @@ library InitModuleAddress { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord() internal { bytes32[] memory _keyTuple = new bytes32[](0); @@ -145,7 +145,7 @@ library InitModuleAddress { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord() internal { bytes32[] memory _keyTuple = new bytes32[](0); diff --git a/packages/world/src/codegen/tables/InstalledModules.sol b/packages/world/src/codegen/tables/InstalledModules.sol index 2b5b3fe56c..298bd8184e 100644 --- a/packages/world/src/codegen/tables/InstalledModules.sol +++ b/packages/world/src/codegen/tables/InstalledModules.sol @@ -154,7 +154,7 @@ library InstalledModules { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(address moduleAddress, bytes32 argumentsHash) internal { bytes32[] memory _keyTuple = new bytes32[](2); @@ -165,7 +165,7 @@ library InstalledModules { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(address moduleAddress, bytes32 argumentsHash) internal { bytes32[] memory _keyTuple = new bytes32[](2); diff --git a/packages/world/src/codegen/tables/NamespaceDelegationControl.sol b/packages/world/src/codegen/tables/NamespaceDelegationControl.sol index 8e22dbe524..20138c395b 100644 --- a/packages/world/src/codegen/tables/NamespaceDelegationControl.sol +++ b/packages/world/src/codegen/tables/NamespaceDelegationControl.sol @@ -172,7 +172,7 @@ library NamespaceDelegationControl { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId namespaceId) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -182,7 +182,7 @@ library NamespaceDelegationControl { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId namespaceId) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/world/src/codegen/tables/NamespaceOwner.sol b/packages/world/src/codegen/tables/NamespaceOwner.sol index 5eae00e696..eed9086449 100644 --- a/packages/world/src/codegen/tables/NamespaceOwner.sol +++ b/packages/world/src/codegen/tables/NamespaceOwner.sol @@ -148,7 +148,7 @@ library NamespaceOwner { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId namespaceId) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -158,7 +158,7 @@ library NamespaceOwner { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId namespaceId) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/world/src/codegen/tables/ResourceAccess.sol b/packages/world/src/codegen/tables/ResourceAccess.sol index 5cb402f696..e152e51811 100644 --- a/packages/world/src/codegen/tables/ResourceAccess.sol +++ b/packages/world/src/codegen/tables/ResourceAccess.sol @@ -157,7 +157,7 @@ library ResourceAccess { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId resourceId, address caller) internal { bytes32[] memory _keyTuple = new bytes32[](2); @@ -168,7 +168,7 @@ library ResourceAccess { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId resourceId, address caller) internal { bytes32[] memory _keyTuple = new bytes32[](2); diff --git a/packages/world/src/codegen/tables/SystemHooks.sol b/packages/world/src/codegen/tables/SystemHooks.sol index fcd36499e0..1bd04a4c12 100644 --- a/packages/world/src/codegen/tables/SystemHooks.sol +++ b/packages/world/src/codegen/tables/SystemHooks.sol @@ -388,7 +388,7 @@ library SystemHooks { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId systemId) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -398,7 +398,7 @@ library SystemHooks { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId systemId) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/world/src/codegen/tables/SystemRegistry.sol b/packages/world/src/codegen/tables/SystemRegistry.sol index c31310e2f3..352fc3d794 100644 --- a/packages/world/src/codegen/tables/SystemRegistry.sol +++ b/packages/world/src/codegen/tables/SystemRegistry.sol @@ -148,7 +148,7 @@ library SystemRegistry { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(address system) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -158,7 +158,7 @@ library SystemRegistry { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(address system) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/world/src/codegen/tables/Systems.sol b/packages/world/src/codegen/tables/Systems.sol index e0c2f5bb88..65d956e126 100644 --- a/packages/world/src/codegen/tables/Systems.sol +++ b/packages/world/src/codegen/tables/Systems.sol @@ -232,7 +232,7 @@ library Systems { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId systemId) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -242,7 +242,7 @@ library Systems { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId systemId) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/world/src/codegen/tables/UserDelegationControl.sol b/packages/world/src/codegen/tables/UserDelegationControl.sol index adb06d1d62..47e646afe9 100644 --- a/packages/world/src/codegen/tables/UserDelegationControl.sol +++ b/packages/world/src/codegen/tables/UserDelegationControl.sol @@ -187,7 +187,7 @@ library UserDelegationControl { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(address delegator, address delegatee) internal { bytes32[] memory _keyTuple = new bytes32[](2); @@ -198,7 +198,7 @@ library UserDelegationControl { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(address delegator, address delegatee) internal { bytes32[] memory _keyTuple = new bytes32[](2); diff --git a/packages/world/test/codegen/tables/AddressArray.sol b/packages/world/test/codegen/tables/AddressArray.sol index d7b59d9308..95df46e3ba 100644 --- a/packages/world/test/codegen/tables/AddressArray.sol +++ b/packages/world/test/codegen/tables/AddressArray.sol @@ -382,7 +382,7 @@ library AddressArray { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId _tableId, bytes32 key) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -392,7 +392,7 @@ library AddressArray { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId _tableId, bytes32 key) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/packages/world/test/codegen/tables/Bool.sol b/packages/world/test/codegen/tables/Bool.sol index bd2db3b773..58a8f837d6 100644 --- a/packages/world/test/codegen/tables/Bool.sol +++ b/packages/world/test/codegen/tables/Bool.sol @@ -133,7 +133,7 @@ library Bool { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId _tableId) internal { bytes32[] memory _keyTuple = new bytes32[](0); @@ -142,7 +142,7 @@ library Bool { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId _tableId) internal { bytes32[] memory _keyTuple = new bytes32[](0); diff --git a/packages/world/test/codegen/tables/TwoFields.sol b/packages/world/test/codegen/tables/TwoFields.sol index e1a9ecb33c..0162df1daa 100644 --- a/packages/world/test/codegen/tables/TwoFields.sol +++ b/packages/world/test/codegen/tables/TwoFields.sol @@ -246,7 +246,7 @@ library TwoFields { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(ResourceId _tableId) internal { bytes32[] memory _keyTuple = new bytes32[](0); @@ -255,7 +255,7 @@ library TwoFields { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(ResourceId _tableId) internal { bytes32[] memory _keyTuple = new bytes32[](0); diff --git a/templates/phaser/packages/contracts/src/codegen/tables/Counter.sol b/templates/phaser/packages/contracts/src/codegen/tables/Counter.sol index 53378b9d24..f5c2c8ed9b 100644 --- a/templates/phaser/packages/contracts/src/codegen/tables/Counter.sol +++ b/templates/phaser/packages/contracts/src/codegen/tables/Counter.sol @@ -136,7 +136,7 @@ library Counter { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord() internal { bytes32[] memory _keyTuple = new bytes32[](0); @@ -145,7 +145,7 @@ library Counter { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord() internal { bytes32[] memory _keyTuple = new bytes32[](0); diff --git a/templates/react-ecs/packages/contracts/src/codegen/tables/Counter.sol b/templates/react-ecs/packages/contracts/src/codegen/tables/Counter.sol index 53378b9d24..f5c2c8ed9b 100644 --- a/templates/react-ecs/packages/contracts/src/codegen/tables/Counter.sol +++ b/templates/react-ecs/packages/contracts/src/codegen/tables/Counter.sol @@ -136,7 +136,7 @@ library Counter { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord() internal { bytes32[] memory _keyTuple = new bytes32[](0); @@ -145,7 +145,7 @@ library Counter { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord() internal { bytes32[] memory _keyTuple = new bytes32[](0); diff --git a/templates/react/packages/contracts/src/codegen/tables/Tasks.sol b/templates/react/packages/contracts/src/codegen/tables/Tasks.sol index 48535061b8..a339326527 100644 --- a/templates/react/packages/contracts/src/codegen/tables/Tasks.sol +++ b/templates/react/packages/contracts/src/codegen/tables/Tasks.sol @@ -445,7 +445,7 @@ library Tasks { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(bytes32 id) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -455,7 +455,7 @@ library Tasks { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(bytes32 id) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/templates/threejs/packages/contracts/src/codegen/tables/Position.sol b/templates/threejs/packages/contracts/src/codegen/tables/Position.sol index 23d18273a1..757a3d72b2 100644 --- a/templates/threejs/packages/contracts/src/codegen/tables/Position.sol +++ b/templates/threejs/packages/contracts/src/codegen/tables/Position.sol @@ -310,7 +310,7 @@ library Position { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(bytes32 id) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -320,7 +320,7 @@ library Position { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(bytes32 id) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/templates/vanilla/packages/contracts/src/codegen/tables/Counter.sol b/templates/vanilla/packages/contracts/src/codegen/tables/Counter.sol index 53378b9d24..f5c2c8ed9b 100644 --- a/templates/vanilla/packages/contracts/src/codegen/tables/Counter.sol +++ b/templates/vanilla/packages/contracts/src/codegen/tables/Counter.sol @@ -136,7 +136,7 @@ library Counter { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord() internal { bytes32[] memory _keyTuple = new bytes32[](0); @@ -145,7 +145,7 @@ library Counter { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord() internal { bytes32[] memory _keyTuple = new bytes32[](0); diff --git a/test/mock-game-contracts/src/codegen/tables/Health.sol b/test/mock-game-contracts/src/codegen/tables/Health.sol index d5597a444d..7ccb6abd80 100644 --- a/test/mock-game-contracts/src/codegen/tables/Health.sol +++ b/test/mock-game-contracts/src/codegen/tables/Health.sol @@ -145,7 +145,7 @@ library Health { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(address player) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -155,7 +155,7 @@ library Health { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(address player) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/test/mock-game-contracts/src/codegen/tables/Inventory.sol b/test/mock-game-contracts/src/codegen/tables/Inventory.sol index d709cc5d42..6522b9623b 100644 --- a/test/mock-game-contracts/src/codegen/tables/Inventory.sol +++ b/test/mock-game-contracts/src/codegen/tables/Inventory.sol @@ -154,7 +154,7 @@ library Inventory { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(address player, uint8 item) internal { bytes32[] memory _keyTuple = new bytes32[](2); @@ -165,7 +165,7 @@ library Inventory { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(address player, uint8 item) internal { bytes32[] memory _keyTuple = new bytes32[](2); diff --git a/test/mock-game-contracts/src/codegen/tables/Position.sol b/test/mock-game-contracts/src/codegen/tables/Position.sol index a2cf0dba04..05ed0052e6 100644 --- a/test/mock-game-contracts/src/codegen/tables/Position.sol +++ b/test/mock-game-contracts/src/codegen/tables/Position.sol @@ -264,7 +264,7 @@ library Position { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(address player) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -274,7 +274,7 @@ library Position { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(address player) internal { bytes32[] memory _keyTuple = new bytes32[](1); diff --git a/test/mock-game-contracts/src/codegen/tables/Score.sol b/test/mock-game-contracts/src/codegen/tables/Score.sol index f708322d22..bbb882b79f 100644 --- a/test/mock-game-contracts/src/codegen/tables/Score.sol +++ b/test/mock-game-contracts/src/codegen/tables/Score.sol @@ -154,7 +154,7 @@ library Score { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(address player, uint256 game) internal { bytes32[] memory _keyTuple = new bytes32[](2); @@ -165,7 +165,7 @@ library Score { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(address player, uint256 game) internal { bytes32[] memory _keyTuple = new bytes32[](2); diff --git a/test/mock-game-contracts/src/codegen/tables/Terrain.sol b/test/mock-game-contracts/src/codegen/tables/Terrain.sol index bc4bb03c23..21ef59b1ee 100644 --- a/test/mock-game-contracts/src/codegen/tables/Terrain.sol +++ b/test/mock-game-contracts/src/codegen/tables/Terrain.sol @@ -157,7 +157,7 @@ library Terrain { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(int32 x, int32 y) internal { bytes32[] memory _keyTuple = new bytes32[](2); @@ -168,7 +168,7 @@ library Terrain { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(int32 x, int32 y) internal { bytes32[] memory _keyTuple = new bytes32[](2); diff --git a/test/mock-game-contracts/src/codegen/tables/Winner.sol b/test/mock-game-contracts/src/codegen/tables/Winner.sol index 411d770c50..a31e6957f7 100644 --- a/test/mock-game-contracts/src/codegen/tables/Winner.sol +++ b/test/mock-game-contracts/src/codegen/tables/Winner.sol @@ -145,7 +145,7 @@ library Winner { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function deleteRecord(uint256 game) internal { bytes32[] memory _keyTuple = new bytes32[](1); @@ -155,7 +155,7 @@ library Winner { } /** - * @notice Delete all data for given keys. + * @notice Delete all data for given key. */ function _deleteRecord(uint256 game) internal { bytes32[] memory _keyTuple = new bytes32[](1);