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

Block versioning mixin #373

Open
wants to merge 24 commits into
base: scratch-package-refactor
Choose a base branch
from

Conversation

pmalacho-mit
Copy link
Collaborator

No description provided.


export type VersionedOptions = {
transform?: VersionedArgTransformer;
previousType?: BlockType2;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Make sure to either replace this with the actual block type type, or if we want to restrict what types can be manipulated we should do that more explicltly

@pmalacho-mit
Copy link
Collaborator Author

I was trying to put this to use updating the teachableMachine extension: https://github.com/mitmedialab/prg-extension-boilerplate/pull/373/files#diff-bbcb6e5ca383660d33bf226d457ea960c8bc74c51b96c3c9f8945278582df6dcR321

But I am getting an error when loading this project (just uses the block with and without an item filled in):
My Project (25).zip (just rename the file to .sb3 extension)

Screenshot 2024-07-14 at 11 46 43 PM

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