Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 431 Bytes

schema-gen.md

File metadata and controls

8 lines (7 loc) · 431 Bytes

Some of the RPC commands and Typescript Types are constructed via a JSON schema which is generated by Discord. To update the JSON schema, please do the following:

  • From Discord, make sure you have run clyde gen rpc
  • From the root of this github repo, run the following
    npm run sync -- --path path/to/monorepo/discord_common/js/packages/rpc-schema/generated/schema.json
    
  • Commit your changes and update as needed