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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
It could help adoption by JS consumers.
So this is how one use the models from content-api-models https://github.com/guardian/dotcom-rendering/blob/8c46c6b669b600b439c5585f99678fee75a7a451/apps-rendering/src/capi.ts#L6 Basically you just import the model you would like The elements you can find are in the thrift file https://github.com/guardian/content-api-models/blob/main/models/src/main/thrift/content/v1.thrift#L1897
So this is how one use the models from content-api-models https://github.com/guardian/dotcom-rendering/blob/8c46c6b669b600b439c5585f99678fee75a7a451/apps-rendering/src/capi.ts#L6
Basically you just import the model you would like
The elements you can find are in the thrift file https://github.com/guardian/content-api-models/blob/main/models/src/main/thrift/content/v1.thrift#L1897
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It could help adoption by JS consumers.
The text was updated successfully, but these errors were encountered: