Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(store-sync): add syncToStash util #3192

Merged
merged 21 commits into from
Sep 19, 2024
Merged

feat(store-sync): add syncToStash util #3192

merged 21 commits into from
Sep 19, 2024

Conversation

alvrs
Copy link
Member

@alvrs alvrs commented Sep 18, 2024

For now just /internal export like in #3184

Copy link

changeset-bot bot commented Sep 18, 2024

🦋 Changeset detected

Latest commit: b5a5cbc

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 26 packages
Name Type
@latticexyz/store-sync Patch
@latticexyz/dev-tools Patch
@latticexyz/explorer Patch
@latticexyz/store-indexer Patch
ts-benchmarks Patch
@latticexyz/abi-ts Patch
@latticexyz/block-logs-stream Patch
@latticexyz/cli Patch
@latticexyz/common Patch
@latticexyz/config Patch
create-mud Patch
@latticexyz/faucet Patch
@latticexyz/gas-report Patch
@latticexyz/protocol-parser Patch
@latticexyz/react Patch
@latticexyz/recs Patch
@latticexyz/schema-type Patch
solhint-config-mud Patch
solhint-plugin-mud Patch
@latticexyz/stash Patch
@latticexyz/store Patch
@latticexyz/utils Patch
@latticexyz/world-module-metadata Patch
@latticexyz/world-modules Patch
@latticexyz/world Patch
mock-game-contracts Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

.map((table) => [table.tableId, table]),
);
}: CreateStorageAdapter<config>): StorageAdapter {
const tables = Object.values(stash.get().config).flatMap((namespace) => Object.values(namespace)) as readonly Table[];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alvrs this is where types got wonky

holic
holic previously approved these changes Sep 19, 2024
@alvrs
Copy link
Member Author

alvrs commented Sep 19, 2024

@alvrs alvrs merged commit 8dc5889 into main Sep 19, 2024
11 of 12 checks passed
@alvrs alvrs deleted the alvrs/sync-to-stash branch September 19, 2024 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants