-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(rendercontenttype): include "sys" with content type ID in the ge…
…nerated interface (#4) It's helpful to be able to inspect an entry's `sys.contentType.sys.id` field to see what type it is, especially when a link can be one of many types. This makes the types support such a check. BREAKING CHANGE: Users who use one content type's interface to accept another content type in a function (for example, if one content type is a superset of another one) will need to use a union type and allow all possible content types now.
- Loading branch information
Steven Petryk
authored
Oct 9, 2019
1 parent
9d4c46d
commit d3b9c44
Showing
5 changed files
with
78 additions
and
57 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
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