@retailrocketgroup/retailrocket-create.transactional-vue-email-template-render 6.0.389845 → 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.
@@ -4,6 +4,6 @@ import { ProductImageUrlBuilderExpressionEvaluatorDelegate } from '@easy-wizzy/c
4
4
  import { NextCouponFromBatchType } from '@easy-wizzy/retailrocket-common';
5
5
  export declare const transactionalStringExpressionDataSourceEvaluatorFactory: (arg: {
6
6
  getTransactionalTemplateData: () => DataType;
7
- productImageUrlBuilderExpressionEvaluator: ProductImageUrlBuilderExpressionEvaluatorDelegate<TransactionalListExpressionDataSource, TransactionalNumberExpressionDataSource, TransactionalStringExpressionDataSource>;
7
+ productImageUrlBuilderExpressionEvaluator: ProductImageUrlBuilderExpressionEvaluatorDelegate<TransactionalListExpressionDataSource, TransactionalNumberExpressionDataSource>;
8
8
  nextCouponFromBatch: NextCouponFromBatchType;
9
9
  }) => StringExpressionDataSourceEvaluatorDelegate<TransactionalStringExpressionDataSource>;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@retailrocketgroup/retailrocket-create.transactional-vue-email-template-render",
3
- "version": "6.0.389845",
3
+ "version": "6.0.389952",
4
4
  "private": false
5
5
  }
@@ -18,7 +18,6 @@ import { numberExpressionEvaluatorDelegate } from '@easy-wizzy/core';
18
18
  import { stringExpressionEvaluatorFactory } from '@easy-wizzy/core';
19
19
  import { dataStructBuilderExpressionEvaluatorFactory } from '@easy-wizzy/core';
20
20
 
21
- import type { DataType, StringExpressionType } from '@easy-wizzy/core';
22
21
  import type { EmailTemplateType } from '@easy-wizzy/core';
23
22
  import type { LocaleKey } from '@easy-wizzy/core';
24
23
  import type { StringExpressionEvaluatorDelegate } from '@easy-wizzy/core';
@@ -50,8 +49,9 @@ import { transactionalListExpressionDataSourceEvaluatorFactory } from '@/impleme
50
49
  import { transactionalNumberExpressionDataSourceEvaluatorFactory } from '@/implementation/DataSources/NumberExpressionDataSource/transactionalNumberExpressionDataSourceEvaluatorFactory';
51
50
  import { transactionalStringExpressionDataSourceEvaluatorFactory } from '@/implementation/DataSources/StringExpressionDataSource/transactionalEvaluateStringExpressionDataSource';
52
51
 
53
- import { createApi as listExpressionDataSourceBffClientFactory } from '@retailrocket/retailrocket.wysiwyg.bff.v3.apiclients.listexpressiondatasource';
52
+ import { createApi as listExpressionDataSourceBffClientFactory } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.listexpressiondatasource';
54
53
  import type { TemplatePreviewCardDeps } from '@easy-wizzy/core';
54
+ import type { DataType } from '@easy-wizzy/core';
55
55
  import type { FavoriteTransactionalTemplateParam } from '@/FavoriteTransactionalTemplateParam.ts';
56
56
  import {
57
57
  templatePreviewCardDepsFactory
@@ -173,14 +173,7 @@ const _templatePreviewCardDepsFactory = (arg: {
173
173
  stringExpressionDataSourceEvaluatorFactory: () => transactionalStringExpressionDataSourceEvaluatorFactory({
174
174
  productImageUrlBuilderExpressionEvaluator: productImageUrlBuilderExpressionEvaluatorFactory({
175
175
  partnerId: params.partnerId,
176
- stringExpressionEvaluator: (arg: {
177
- stringExpression: StringExpressionType<
178
- TransactionalListExpressionDataSource,
179
- TransactionalNumberExpressionDataSource,
180
- TransactionalStringExpressionDataSource
181
- >;
182
- context: DataType ;
183
- }) => stringExpressionEvaluator(arg),
176
+ numberExpressionEvaluator: numberExpressionEvaluator,
184
177
  productImageResizerUrl: params.productImageResizerUrl
185
178
  }),
186
179
  getTransactionalTemplateData: () => arg.templateData,
@@ -5,7 +5,7 @@ import { getRelatedProducts } from '@easy-wizzy/common-app';
5
5
  import { getAlternativeProducts } from '@easy-wizzy/common-app';
6
6
  import { getPopularProductsInCategories } from '@easy-wizzy/common-app';
7
7
  import { getPopularProducts } from '@easy-wizzy/common-app';
8
- import type { Product } from '@retailrocket/retailrocket.wysiwyg.bff.v3.apiclients.listexpressiondatasource';
8
+ import type { Product } from '@retailrocket/retailrocket.wysiwyg.bff.v2.apiclients.listexpressiondatasource';
9
9
  import type { TransactionalListExpressionDataSource } from '@easy-wizzy/retailrocket-transactional';
10
10
  import { transactionalListExpressionDataSourceMatcher } from '@easy-wizzy/retailrocket-transactional';
11
11
  import { query } from '@easy-wizzy/core';
@@ -26,8 +26,7 @@ export const transactionalStringExpressionDataSourceEvaluatorFactory = (arg: {
26
26
  getTransactionalTemplateData: () => DataType,
27
27
  productImageUrlBuilderExpressionEvaluator: ProductImageUrlBuilderExpressionEvaluatorDelegate<
28
28
  TransactionalListExpressionDataSource,
29
- TransactionalNumberExpressionDataSource,
30
- TransactionalStringExpressionDataSource
29
+ TransactionalNumberExpressionDataSource
31
30
  >
32
31
  nextCouponFromBatch: NextCouponFromBatchType
33
32
  }): StringExpressionDataSourceEvaluatorDelegate<