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

[Data Object Editor] Data format for manyToManyRelation #570

Closed
markus-moser opened this issue Nov 25, 2024 · 0 comments · Fixed by #578
Closed

[Data Object Editor] Data format for manyToManyRelation #570

markus-moser opened this issue Nov 25, 2024 · 0 comments · Fixed by #578
Assignees

Comments

@markus-moser
Copy link

markus-moser commented Nov 25, 2024

Here an example:

 [
    {
      id: 35,
      type: 'asset',
      subType: 'image',
      published: true,
      fullPath: '/Car Images/buick/buick-1400243.jpg'
    },
    {
      id: 772,
      type: 'data-object',
      subType: 'News',
      published: true,
      fullPath: '/News/Lor separat existentie es un myth'
    },
]

The subtype should be either the class name of it is a concrete data object or the type attribute of the element's class (so e.g. image, document, folder etc.).

If you prefer we can also name/handle the attributes a bit different but this is the data which we need.

Part of #566

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants