Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Add TypeScript interfaces #14

Open
5 tasks
fox1t opened this issue Feb 2, 2020 · 1 comment
Open
5 tasks

Add TypeScript interfaces #14

fox1t opened this issue Feb 2, 2020 · 1 comment
Assignees
Labels
core-team Core team issue

Comments

@fox1t
Copy link
Member

fox1t commented Feb 2, 2020

🚀 Feature Proposal

We need TS interfaces, alongside JSONSchemas, for better developer experience. The interfaces will be derived directly from Schemas.

Motivation

Please outline the motivation for the proposal.

TODO:

  • rename model to models
  • add one folder per model
  • add a proper TS interface for every model
  • export default the interface
  • export JSONSchema as schema
@fox1t fox1t transferred this issue from HospitalRun/hospitalrun Feb 2, 2020
@fox1t fox1t self-assigned this Feb 2, 2020
@fox1t
Copy link
Member Author

fox1t commented Apr 8, 2020

We are using typebox to define both TS interfaces and schemas at the same time.

@fox1t fox1t added the core-team Core team issue label Jul 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
core-team Core team issue
Projects
None yet
Development

No branches or pull requests

1 participant