Last active
April 12, 2020 15:48
-
-
Save aulisius/218e3a212e716eac42932fbc884b381c to your computer and use it in GitHub Desktop.
how an order is defined
This file contains hidden or 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 widgets = [ | |
{ | |
name: "widgetA", | |
dependencies: [{ endpoint: "endpointA", reloadableActions: ["action 1"] }], | |
}, | |
{ | |
name: "widgetB", | |
dependencies: [{ endpoint: "endpointA", reloadableActions: ["action 1"] }], | |
}, | |
{ | |
name: "widgetC", | |
dependencies: [{ endpoint: "endpointA", reloadableActions: ["action 1"] }], | |
}, | |
{ | |
name: "widgetD", | |
dependencies: [{ endpoint: "endpointB", reloadableActions: ["action 2"] }], | |
}, | |
{ | |
name: "widgetE", | |
dependencies: [ | |
{ endpoint: "endpointB", reloadableActions: ["action 1", "action 2"] }, | |
], | |
}, | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment