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

Update apis #593

Merged
merged 5 commits into from
Aug 18, 2022
Merged

Update apis #593

merged 5 commits into from
Aug 18, 2022

Conversation

ErnoW
Copy link
Member

@ErnoW ErnoW commented Aug 18, 2022


name: 'Pull request'
about: A new pull request

New Pull Request

Checklist

  • I am not disclosing a vulnerability.
  • My code is conform the code style
  • I have made corresponding changes to the documentation
  • I have updated Typescript definitions when needed

Issue Description

Regenerate api types

@ErnoW ErnoW requested review from b4rtaz and sogunshola August 18, 2022 13:00
@changeset-bot
Copy link

changeset-bot bot commented Aug 18, 2022

🦋 Changeset detected

Latest commit: 5071ee9

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

This PR includes changesets to release 8 packages
Name Type
@moralisweb3/auth Patch
@moralisweb3/evm-api Patch
@moralisweb3/sol-api Patch
moralis Patch
@moralisweb3/core Patch
@moralisweb3/api-utils Patch
@moralisweb3/evm-utils Patch
@moralisweb3/sol-utils 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

@ErnoW ErnoW changed the title Update apis WIP: Update apis Aug 18, 2022
sogunshola
sogunshola previously approved these changes Aug 18, 2022
@@ -18,7 +18,7 @@
"lint": "eslint . --ext .js,.ts,.tsx,jsx",
"format:check": "prettier . \"**/*.+(js|ts|json)\" --check",
"clean": "rm -rf lib && rm -rf tsconfig.tsbuildinfo && rm -rf ./node_modules/.cache/nx",
"gen:types": "openapi-typescript https://deep-index.moralis.io/api-docs/v2/swagger.json --output src/generated/types.ts",
"build:types": "openapi-typescript https://deep-index.moralis.io/api-docs/v2/swagger.json --output src/generated/types.ts",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe here should be openapi:generate or similar. For me build:* should be related with TypeScript compilation.

Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm yeah you are right, it's not really building output files, but generating src files.
I'll rename it to generate:api-types

@ErnoW ErnoW changed the title WIP: Update apis Update apis Aug 18, 2022
@ErnoW ErnoW requested a review from b4rtaz August 18, 2022 14:24
@ErnoW ErnoW merged commit eb2f56e into main Aug 18, 2022
@ErnoW ErnoW deleted the update-apis branch August 18, 2022 14:42
@github-actions github-actions bot mentioned this pull request Aug 18, 2022
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