Hi,
I’m very new to Cockpit and currently doing a test drive to check if it’s a good fit for my projects.
I would to know if its possible to create collections with parent-child relationships or nested collections. Something like the following example:
[
{
name: 'Example A',
description: 'Example A description'
children: [
{
name: 'Example A_1',
description: 'Example A_1 description'
children: [
{
name: 'Example A_1_1',
description: 'Example A_1_1 description'
children: []
}
]
},
{
name: 'Example A_2',
description: 'Example A_2 description'
children: [
{
name: 'Example A_2_1',
description: 'Example A_2_1 description'
children: []
}
]
}
]
},
{
name: 'Example B',
description: 'Example B description'
children: [
{
name: 'Example B_1',
description: 'Example B_1 description'
children: []
}
]
},
...
]
Is a structure like the above example possible? If so, how can I accomplish it?
Thanks in advance!