@retailrocketgroup/retailrocket-create.multicast-vue-email-template-render 6.0.389907-dev → 6.0.389952
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/.turbo/turbo-build.log +3 -3
- package/dist/assets/index.js +114 -114
- package/dist/implementation/DataSources/StringExpressionDataSource/multicastEvaluateStringExpressionDataSource.d.ts +1 -1
- package/package.json +1 -1
- package/src/createMulticastEmailTemplateApp.ts +3 -10
- package/src/implementation/DataSources/ListDataExpressionSource/multicastEvaluateListExpressionDataSourceFactory.ts +1 -1
- package/src/implementation/DataSources/StringExpressionDataSource/multicastEvaluateStringExpressionDataSource.ts +1 -2
|
@@ -3,7 +3,7 @@ import { StringExpressionDataSourceEvaluatorDelegate } from '@easy-wizzy/core';
|
|
|
3
3
|
import { ContactCustomData, NextCouponFromBatchType } from '@easy-wizzy/retailrocket-common';
|
|
4
4
|
import { ProductImageUrlBuilderExpressionEvaluatorDelegate } from '@easy-wizzy/common-app';
|
|
5
5
|
export declare const multicastStringExpressionDataSourceEvaluatorFactory: (arg: {
|
|
6
|
-
productImageUrlBuilderExpressionEvaluator: ProductImageUrlBuilderExpressionEvaluatorDelegate<MulticastListExpressionDataSource, MulticastNumberExpressionDataSource
|
|
6
|
+
productImageUrlBuilderExpressionEvaluator: ProductImageUrlBuilderExpressionEvaluatorDelegate<MulticastListExpressionDataSource, MulticastNumberExpressionDataSource>;
|
|
7
7
|
contactCustomData: ContactCustomData;
|
|
8
8
|
nextCouponFromBatch: NextCouponFromBatchType;
|
|
9
9
|
}) => StringExpressionDataSourceEvaluatorDelegate<MulticastStringExpressionDataSource>;
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@ import { numberExpressionEvaluatorDelegate } from '@easy-wizzy/core';
|
|
|
16
16
|
import { stringExpressionEvaluatorFactory } from '@easy-wizzy/core';
|
|
17
17
|
import { dataStructBuilderExpressionEvaluatorFactory } from '@easy-wizzy/core';
|
|
18
18
|
|
|
19
|
-
import type {
|
|
19
|
+
import type { EmailTemplateType } from '@easy-wizzy/core';
|
|
20
20
|
import type { LocaleKey } from '@easy-wizzy/core';
|
|
21
21
|
import type { StringExpressionEvaluatorDelegate } from '@easy-wizzy/core';
|
|
22
22
|
|
|
@@ -43,7 +43,7 @@ import { multicastEvaluateListExpressionDataSourceFactory } from '@/implementati
|
|
|
43
43
|
import { multicastNumberExpressionDataSourceEvaluatorFactory } from '@/implementation/DataSources/NumberExpressionDataSource/multicastNumberExpressionDataSourceEvaluatorFactory';
|
|
44
44
|
import { multicastStringExpressionDataSourceEvaluatorFactory } from '@/implementation/DataSources/StringExpressionDataSource/multicastEvaluateStringExpressionDataSource';
|
|
45
45
|
|
|
46
|
-
import { createApi as listExpressionDataSourceBffClientFactory } from '@retailrocket/retailrocket.wysiwyg.bff.
|
|
46
|
+
import { createApi as listExpressionDataSourceBffClientFactory } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.listexpressiondatasource';
|
|
47
47
|
import type { TemplatePreviewCardDeps } from '@easy-wizzy/core';
|
|
48
48
|
import type {
|
|
49
49
|
ListExpressionDataSourceBffClient
|
|
@@ -175,14 +175,7 @@ const _templatePreviewCardDepsFactory = (arg: {
|
|
|
175
175
|
stringExpressionDataSourceEvaluatorFactory: () => multicastStringExpressionDataSourceEvaluatorFactory({
|
|
176
176
|
productImageUrlBuilderExpressionEvaluator: productImageUrlBuilderExpressionEvaluatorFactory({
|
|
177
177
|
partnerId: params.partnerId,
|
|
178
|
-
|
|
179
|
-
stringExpression: StringExpressionType<
|
|
180
|
-
MulticastListExpressionDataSource,
|
|
181
|
-
MulticastNumberExpressionDataSource,
|
|
182
|
-
MulticastStringExpressionDataSource
|
|
183
|
-
>;
|
|
184
|
-
context: DataType;
|
|
185
|
-
}) => stringExpressionEvaluator(arg),
|
|
178
|
+
numberExpressionEvaluator: numberExpressionEvaluator,
|
|
186
179
|
productImageResizerUrl: params.productImageResizerUrl
|
|
187
180
|
}),
|
|
188
181
|
contactCustomData: arg.contactCustomData,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
getPopularProductsInCategories,
|
|
19
19
|
} from '@easy-wizzy/common-app';
|
|
20
20
|
import { getPopularProducts } from '@easy-wizzy/common-app';
|
|
21
|
-
import type { Product } from '@retailrocket/retailrocket.wysiwyg.bff.
|
|
21
|
+
import type { Product } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.listexpressiondatasource';
|
|
22
22
|
import { stockIdFactory } from '@easy-wizzy/common-app';
|
|
23
23
|
import { getLatestProducts } from '@easy-wizzy/common-app';
|
|
24
24
|
import { getSaleByPopularProducts } from '@easy-wizzy/common-app';
|
|
@@ -25,8 +25,7 @@ import type { NextCouponFromBatchType } from '@easy-wizzy/retailrocket-common';
|
|
|
25
25
|
export const multicastStringExpressionDataSourceEvaluatorFactory = (arg: {
|
|
26
26
|
productImageUrlBuilderExpressionEvaluator: ProductImageUrlBuilderExpressionEvaluatorDelegate<
|
|
27
27
|
MulticastListExpressionDataSource,
|
|
28
|
-
MulticastNumberExpressionDataSource
|
|
29
|
-
MulticastStringExpressionDataSource
|
|
28
|
+
MulticastNumberExpressionDataSource
|
|
30
29
|
>
|
|
31
30
|
contactCustomData: ContactCustomData
|
|
32
31
|
nextCouponFromBatch: NextCouponFromBatchType
|