@orderingstack/ordering-types 1.32.0 → 1.32.1
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/dist/cjs/index.d.ts +4 -1
- package/dist/esm/index.d.ts +4 -1
- package/package.json +1 -1
package/dist/cjs/index.d.ts
CHANGED
|
@@ -728,8 +728,11 @@ export interface ISteeringCommand {
|
|
|
728
728
|
}
|
|
729
729
|
export declare const modules: readonly ["POS_INTEGRATOR", "KIOSK", "BI_CONNECTOR", "AGGREGATOR", "KDS", "STATUS_SCREEN", "LOYALTY_INTEGRATOR", "LOYALTY", "MOBILE_APP_LOYALTY", "ORDERING_WEB", "DELIVERY_PANEL"];
|
|
730
730
|
export type TModuleType = (typeof modules)[number];
|
|
731
|
-
|
|
731
|
+
type VariantsConfig = (Partial<Record<`variantRatio_${TestVariant}`, number>> & Partial<Record<`KIOSK_MEDIA_3_cmsId_variant_${TestVariant}`, 'string'>>);
|
|
732
|
+
interface IModuleConfig extends VariantsConfig {
|
|
732
733
|
abTestingEnabled?: boolean;
|
|
734
|
+
KIOSK_MEDIA_2_cmsId?: string;
|
|
735
|
+
KIOSK_MEDIA_3_cmsId?: string;
|
|
733
736
|
[key: string]: any;
|
|
734
737
|
}
|
|
735
738
|
export interface IModule {
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -728,8 +728,11 @@ export interface ISteeringCommand {
|
|
|
728
728
|
}
|
|
729
729
|
export declare const modules: readonly ["POS_INTEGRATOR", "KIOSK", "BI_CONNECTOR", "AGGREGATOR", "KDS", "STATUS_SCREEN", "LOYALTY_INTEGRATOR", "LOYALTY", "MOBILE_APP_LOYALTY", "ORDERING_WEB", "DELIVERY_PANEL"];
|
|
730
730
|
export type TModuleType = (typeof modules)[number];
|
|
731
|
-
|
|
731
|
+
type VariantsConfig = (Partial<Record<`variantRatio_${TestVariant}`, number>> & Partial<Record<`KIOSK_MEDIA_3_cmsId_variant_${TestVariant}`, 'string'>>);
|
|
732
|
+
interface IModuleConfig extends VariantsConfig {
|
|
732
733
|
abTestingEnabled?: boolean;
|
|
734
|
+
KIOSK_MEDIA_2_cmsId?: string;
|
|
735
|
+
KIOSK_MEDIA_3_cmsId?: string;
|
|
733
736
|
[key: string]: any;
|
|
734
737
|
}
|
|
735
738
|
export interface IModule {
|