3.0.6 • Published 6 months ago

@springtree/eva-sdk-core-settings v3.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

@springtree/eva-sdk-core-settings

Centralised settings manager for all EVA sdk modules. Module can register their own settings group. Updating a setting will return a change event that can be picked up and peristend by add-on libraries voor local storage or mobile platform properties

Usage

import { settings } from '@springtree/eva-sdk-core-settings';

const coreSettings = settinges.getCoreSettings();
const defaultlanguage = settings.get('core', 'language');

settings.set('core', 'appName', 'my EVA app');
settings.set('core', 'appVersion', '0.1.0');

// Register your own setting group
// If an existing group exists an error will be thrown
//
const groupName = 'example';
const testValues = {
  example: 'setting',
};

settings.register(groupName, testValues);
const exampleSettings = settings.getGroup(groupName);
3.0.7-beta.0

6 months ago

3.0.6

1 year ago

3.0.4

1 year ago

3.0.5

1 year ago

3.0.3

1 year ago

3.0.2

1 year ago

3.0.1

1 year ago

3.0.0

1 year ago

2.0.3

2 years ago

2.0.4

2 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.6

4 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago