Skip to content
New issue

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

Add tiny piece of documentation around the relation component structure #15223

Merged
merged 4 commits into from Jan 18, 2023

Conversation

gu-stav
Copy link
Contributor

@gu-stav gu-stav commented Dec 20, 2022

What does it do?

Adds a few words of documentation about how and why the components for relations are structured the way they are.

Why is it needed?

Completes documentation.

Related issue(s)/PR(s)

https://strapi-inc.atlassian.net/browse/CONTENT-661

@gu-stav gu-stav added source: core:content-manager Source is core/content-manager package pr: doc This PR contributes to the documentation in this repository (READMEs or Comments) labels Dec 20, 2022
@gu-stav gu-stav added this to the 4.5.5 milestone Dec 20, 2022
@Convly Convly modified the milestones: 4.5.5, 4.5.6 Dec 28, 2022
@Convly Convly modified the milestones: 4.5.6, 4.6.0 Jan 11, 2023
@gu-stav gu-stav force-pushed the chore/cm-relations-docs-components branch from 31fd4c6 to 6e6d6cc Compare January 18, 2023 07:01
endpoint: string; // URL from where existing relations should be fetched
enabled: boolean; // defines whether relations should be fetched once the hook is called
pageParams: object; // additional query params which will be appended to `endpoint`
onLoad: ({ target: { name: string, value: RelationResults }}):void => {};
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@joshuaellis Can you help me here to properly express the type? 😨

@joshuaellis joshuaellis merged commit f5e87de into main Jan 18, 2023
@joshuaellis joshuaellis deleted the chore/cm-relations-docs-components branch January 18, 2023 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: doc This PR contributes to the documentation in this repository (READMEs or Comments) source: core:content-manager Source is core/content-manager package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants