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

Export Schema and Column types so they can be used externally #39

Merged
merged 2 commits into from
Sep 27, 2023

Conversation

asutula
Copy link
Contributor

@asutula asutula commented Sep 27, 2023

Can't use the Schema type without this.

I was trying to use type Schema = Table["schema"] and then exporting things that use Schema, but of course got a ts error that the SDK's internal Schema type can't be named, which makes sense since it wasn't exported.

Figure we might as well export Column as well.

@asutula asutula self-assigned this Sep 27, 2023
Signed-off-by: Aaron Sutula <[email protected]>
@asutula
Copy link
Contributor Author

asutula commented Sep 27, 2023

No idea why the tests would be failing. Any ideas what's up?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a result of just running npm install in the root of the project.

Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like all the updates are needed, so this works well.

@joewagner
Copy link
Contributor

No idea why the tests would be failing. Any ideas what's up?

Yeah, this is a known bug #40. If you see that the tests are failing with Error: deploying registry contract failed, cannot start network, then you have to re-run failed jobs.

@carsonfarmer
Copy link
Member

Nice!

@asutula
Copy link
Contributor Author

asutula commented Sep 27, 2023

Rerunning tests again... 🤞🏼

@asutula asutula merged commit 22fc45a into main Sep 27, 2023
4 checks passed
@asutula asutula deleted the export-schema-and-column branch September 27, 2023 21:55
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.

3 participants