@spiffcommerce/core 40.0.1 → 40.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/index.cjs +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.mjs +136 -120
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1605,6 +1605,7 @@ interface GlobalPropertyStateManager {
|
|
|
1605
1605
|
getAspect(name: string, channel?: number): string | undefined;
|
|
1606
1606
|
getAspectStorage<S extends GlobalPropertyStateAspectStorage>(name: string, channel?: number): S | undefined;
|
|
1607
1607
|
getAspectMandatoryFulfilled(name: string): boolean | undefined;
|
|
1608
|
+
getAspectHidden(name: string): boolean;
|
|
1608
1609
|
/**
|
|
1609
1610
|
* Updates the value of a named aspect in the state.
|
|
1610
1611
|
* @param name The name (key) of the aspect. This must match the key in the associated Global Property Config
|
|
@@ -1613,7 +1614,7 @@ interface GlobalPropertyStateManager {
|
|
|
1613
1614
|
* storage (if it already exists). Providing `null` will clear the existing storage.
|
|
1614
1615
|
* @param channel Optional: Additional sub-identifier.
|
|
1615
1616
|
*/
|
|
1616
|
-
setAspect(name: string, value: string, storage?: GlobalPropertyStateAspectStorage | null, channel?: number): Promise<void>;
|
|
1617
|
+
setAspect(name: string, value: string, storage?: GlobalPropertyStateAspectStorage | null, channel?: number, hidden?: boolean): Promise<void>;
|
|
1617
1618
|
setAspectStorage<S extends GlobalPropertyStateAspectStorage>(name: string, storage: S | null, channel?: number): Promise<void>;
|
|
1618
1619
|
setBundleOptions(bundleOptions?: BundleOptions): void;
|
|
1619
1620
|
getBundleOptions(): BundleOptions | undefined;
|
|
@@ -4396,6 +4397,7 @@ type GlobalPropertyStateAspect = {
|
|
|
4396
4397
|
type?: AspectType;
|
|
4397
4398
|
storage?: GlobalPropertyStateAspectStorage;
|
|
4398
4399
|
channel?: number;
|
|
4400
|
+
hidden?: boolean;
|
|
4399
4401
|
};
|
|
4400
4402
|
type GlobalPropertyStateAspectStorage = GlobalPropertyStateFileUploadStorage | GlobalPropertyStateColorOptionStorage;
|
|
4401
4403
|
type GlobalPropertyStateFileUploadStorage = {
|