Platform Manager
This module enables the web app to manage platform level configurations.
Modules
Classes
- PlatformManager
PlatformManager is a singleton class that manages the platform
platformManager ⇒ PlatformManager
PlatformManagerReturns: PlatformManager - pointer to the PlatformManager singleton
Example
import { platformManager } from "senza-sdk";
console.info(platformManager.appConfig);
PlatformManager
PlatformManager is a singleton class that manages the platform
platformManager.appConfig ⇒ Object
ObjectKind: instance property of PlatformManager
Returns: Object - appConfig object
Properties
| Name | Type | Description |
|---|---|---|
| territories | Array.<String> | a list of territories configured for the tenant. if the list is undefined or empty - there are no restrictions. |
Example
import { platformManager } from "senza-sdk";
const appConfig = platformManager.appConfig
Updated about 1 year ago