storage API
GetSettings
Returns the list of global components, global settings, and projects associated with the application.
await storageInterface.getSettings();
/*logs something like:
result:
settings:components:
{component1: {…},
component2: {…},
PWA-API: {…},
bootstrap: {…},
documentation: {…},
…}
globalSettings:
{server: {…},
workspace: 'www',
applicationName: 'tilepieces',
panelPosition: 'right',
sandboxFrame: true,
…}
projects: (7) [{…}, {…}, {…}, {…}, {…}, {…}, {…}]*/
Parameters
None
Return Value
A Promise that resolve to a JSON object structured as follows.
- settings
- JSON object