-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Support entity type mappings (#206)
* feat: introduced basic type map For later extensibility. * feat: use stronger types * fix: tests pass * fix: compile issues * fix: better `ensure` types * fix: keyof everywhere * Update source/types.ts Co-authored-by: Lars Johansson <gismya@gmail.com> * Refinements * K to TEntityType * Make the entitytype key the base for the responses as well * Review Fixes * TS/Prettier/Import fixes * Made EntityType generic naming consistent * WIP * send tentitytypemap as a generic * add documentation --------- Co-authored-by: Mathias Lorenzen <mathias.lorenzen@live.com> Co-authored-by: Mathias Lykkegaard Lorenzen <mathias.lykkegaard.lorenzen@lego.com> Co-authored-by: Lars Johansson <gismya@gmail.com> Co-authored-by: Lars Johansson <lars.johansson@ftrack.com>
- Loading branch information
1 parent
65cd894
commit 9cab49f
Showing
8 changed files
with
209 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.