We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The type definition for ComponentRendering is incorrect for ItemLink sources. Definition only allows ContentList sources.
ComponentRendering
ItemLink
ContentList
Example payload
{ "componentName": "<name>", "fields": { "header": "I am a header", "innerItem": { // type Item...not Item[] "fields": { "body": { "value": "Inner Body" } } } } }
Type Definition for Item should allow reference to a single ItemLink definition
export interface ComponentFields { // allow Item type in addition to Item[] [name: string]: Field | Item | Item[]; }
export interface Item { name: string; displayName?: string; fields: { // allow Item type in addition to Item[] [name: string]: Field | Item | Item[] | undefined; }; }
The text was updated successfully, but these errors were encountered:
@bouncehead13 Thank you. Fixed in #364
Sorry, something went wrong.
sc-illiakovalenko
No branches or pull requests
Description
The type definition for
ComponentRendering
is incorrect forItemLink
sources. Definition only allowsContentList
sources.Current behavior
Example payload
Expected behavior
Type Definition for Item should allow reference to a single
ItemLink
definitionThe text was updated successfully, but these errors were encountered: