Skip to content
This repository has been archived by the owner on Nov 14, 2019. It is now read-only.

Types generation #112

Merged
merged 4 commits into from
Jul 25, 2019
Merged

Types generation #112

merged 4 commits into from
Jul 25, 2019

Conversation

antho1404
Copy link
Member

Generate types using https://github.com/protobufjs/protobuf.js.
It generates a js file of the definition and then based on the JSDoc of this file is creates the TS types.

That's a bit overkill but we can generate the types for the API and the resources.

All the files in the api/typedef directory are the one auto-generated.

@antho1404 antho1404 requested a review from NicolasMahe July 19, 2019 15:10
@antho1404 antho1404 self-assigned this Jul 19, 2019
@NicolasMahe NicolasMahe added this to the next milestone Jul 25, 2019
src/api/types.ts Outdated Show resolved Hide resolved
Co-Authored-By: Nicolas Mahé <nicolas@mesg.com>
@NicolasMahe NicolasMahe merged commit b14f7be into master Jul 25, 2019
@NicolasMahe NicolasMahe deleted the feature/types-generation branch July 25, 2019 15:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants