huridocs/uwazi

View on GitHub
app/react/Markdown/components/specs/fixture/nestedThesauri.ts

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
export const nestedThesauri = {
  _id: 'nested',
  values: [
    {
      label: 'Nest A',
      id: 'v8rjiuewdlo',
      values: [
        {
          key: 'zlel1nllvs',
          label: 'A1',
        },
        {
          key: '7pu7fcxl8eg',
          label: 'A2',
        },
        {
          key: 'ipqlonrw89k',
          label: 'A3',
        },
      ],
    },
    {
      label: 'Nest B',
      id: 'rtaunx7j1t',
      values: [
        {
          key: 'jpw985bxwwg',
          label: 'B1',
        },
        {
          key: 'cbe3spt1k8o',
          label: 'B2',
        },
      ],
    },
  ],
};