Created
September 27, 2023 15:26
-
-
Save khubo/aa334634f5b7a3c87f27bc3dc8a71354 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let root = [ | |
{ | |
id: 'd090544e-5d2c-11ee-8c99-0242ac120002', | |
industry: 'random', | |
name: 'Value Diagnostics', | |
subSections: { | |
type: 'root', | |
items: [ | |
{ | |
id: 'b749e3a9-fc44-4eda-80d8-e0cd91d7e0ca', | |
name: 'reactive supply chain cost', | |
items: [ | |
{ | |
id: '033e6508-a5c0-48cd-a3f0-7378cacbeb0d', | |
name: 'material cost', | |
}, | |
{ | |
id: '984e148f-3e16-4953-9f2c-67d9b9d839c5', | |
name: 'material obsoloscence', | |
}, | |
{ | |
id: '4b81dedc-7919-4948-bb8e-3c7d73ae4b2e', | |
name: 'expedite Logistics Cost', | |
}, | |
], | |
}, | |
{ | |
id: '98bde6a2-9cc3-4615-bc03-8f134b063421', | |
name: 'inventory reduction', | |
items: [ | |
{ | |
id: '3a604d6e-5a3b-476f-a42e-e3bafafa4b3e', | |
name: 'excess inventory', | |
}, | |
], | |
}, | |
], | |
}, | |
}, | |
]; | |
let company = { | |
id: '9e03d701-8469-458a-944a-8c3686ac3f8c', | |
parentId: 'd090544e-5d2c-11ee-8c99-0242ac120002', | |
subsections: { | |
type: 'inherit', | |
items: [ | |
{ | |
id: '98bde6a2-9cc3-4615-bc03-8f134b063421', | |
type: 'override', | |
name: 'inventory reduction', | |
items: [ | |
{ | |
id: '5b60d36e-2a1b-433f-a112-e34afafa4b3e', | |
name: 'excess inventory', | |
}, | |
], | |
}, | |
{ | |
id: 'b749e3a9-fc44-4eda-80d8-e0cd91d7e0ca', | |
name: 'reactive supply chain and cost', | |
type: 'inherit', | |
items: [ | |
{ | |
id: '4c56d6e3-e90e-49b6-a963-fbe1ae290fd3', | |
name: 'labour And Manufacturing Cost', | |
}, | |
], | |
}, | |
], | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment