@newskit-render/standalone-components 0.7.0 → 0.8.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.
@@ -6,6 +6,6 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.GET_RECOMMENDATIONS = void 0;
8
8
  var client_1 = require("@apollo/client");
9
- exports.GET_RECOMMENDATIONS = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n query getRecommendedArticlesSUN_UK(\n $recomArgs: RecommendationsParameters!\n $publisher: Publisher!\n ) {\n recommendations(publisher: $publisher, recomArgs: $recomArgs) {\n feedbackId\n articles {\n headline\n kicker\n url\n media {\n ... on Image {\n crops(\n cropsArguments: [\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 150 }\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 620 }\n ]\n ) {\n url\n alt\n width\n height\n }\n }\n ... on Video {\n posterImage {\n crops {\n url\n }\n }\n }\n }\n }\n }\n }\n"], ["\n query getRecommendedArticlesSUN_UK(\n $recomArgs: RecommendationsParameters!\n $publisher: Publisher!\n ) {\n recommendations(publisher: $publisher, recomArgs: $recomArgs) {\n feedbackId\n articles {\n headline\n kicker\n url\n media {\n ... on Image {\n crops(\n cropsArguments: [\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 150 }\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 620 }\n ]\n ) {\n url\n alt\n width\n height\n }\n }\n ... on Video {\n posterImage {\n crops {\n url\n }\n }\n }\n }\n }\n }\n }\n"])));
9
+ exports.GET_RECOMMENDATIONS = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n query getRecommendedArticles(\n $recomArgs: RecommendationsParameters!\n $publisher: Publisher!\n ) {\n recommendations(publisher: $publisher, recomArgs: $recomArgs) {\n feedbackId\n articles {\n headline\n kicker\n url\n media {\n ... on Image {\n crops(\n cropsArguments: [\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 150 }\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 620 }\n ]\n ) {\n url\n alt\n width\n height\n }\n }\n ... on Video {\n posterImage {\n crops {\n url\n }\n }\n }\n }\n }\n }\n }\n"], ["\n query getRecommendedArticles(\n $recomArgs: RecommendationsParameters!\n $publisher: Publisher!\n ) {\n recommendations(publisher: $publisher, recomArgs: $recomArgs) {\n feedbackId\n articles {\n headline\n kicker\n url\n media {\n ... on Image {\n crops(\n cropsArguments: [\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 150 }\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 620 }\n ]\n ) {\n url\n alt\n width\n height\n }\n }\n ... on Video {\n posterImage {\n crops {\n url\n }\n }\n }\n }\n }\n }\n }\n"])));
10
10
  var templateObject_1;
11
11
  //# sourceMappingURL=getRecommendationsQuery.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getRecommendationsQuery.js","sourceRoot":"","sources":["../../../../src/article-recommendations/provider/queries/getRecommendationsQuery.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEvB,QAAA,mBAAmB,OAAG,YAAG,m3BAAA,+yBAoCrC,KAAA"}
1
+ {"version":3,"file":"getRecommendationsQuery.js","sourceRoot":"","sources":["../../../../src/article-recommendations/provider/queries/getRecommendationsQuery.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEvB,QAAA,mBAAmB,OAAG,YAAG,62BAAA,yyBAoCrC,KAAA"}
@@ -6,6 +6,6 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.GET_RECOMMENDATIONS = void 0;
8
8
  var client_1 = require("@apollo/client");
9
- exports.GET_RECOMMENDATIONS = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n query getRecommendedArticlesSUN_UK(\n $recomArgs: RecommendationsParameters!\n $publisher: Publisher!\n ) {\n recommendations(publisher: $publisher, recomArgs: $recomArgs) {\n feedbackId\n articles {\n headline\n kicker\n url\n media {\n ... on Image {\n crops(\n cropsArguments: [\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 150 }\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 620 }\n ]\n ) {\n url\n alt\n width\n height\n }\n }\n ... on Video {\n posterImage {\n crops {\n url\n }\n }\n }\n }\n }\n }\n }\n"], ["\n query getRecommendedArticlesSUN_UK(\n $recomArgs: RecommendationsParameters!\n $publisher: Publisher!\n ) {\n recommendations(publisher: $publisher, recomArgs: $recomArgs) {\n feedbackId\n articles {\n headline\n kicker\n url\n media {\n ... on Image {\n crops(\n cropsArguments: [\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 150 }\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 620 }\n ]\n ) {\n url\n alt\n width\n height\n }\n }\n ... on Video {\n posterImage {\n crops {\n url\n }\n }\n }\n }\n }\n }\n }\n"])));
9
+ exports.GET_RECOMMENDATIONS = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n query getRecommendedArticles(\n $recomArgs: RecommendationsParameters!\n $publisher: Publisher!\n ) {\n recommendations(publisher: $publisher, recomArgs: $recomArgs) {\n feedbackId\n articles {\n headline\n kicker\n url\n media {\n ... on Image {\n crops(\n cropsArguments: [\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 150 }\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 620 }\n ]\n ) {\n url\n alt\n width\n height\n }\n }\n ... on Video {\n posterImage {\n crops {\n url\n }\n }\n }\n }\n }\n }\n }\n"], ["\n query getRecommendedArticles(\n $recomArgs: RecommendationsParameters!\n $publisher: Publisher!\n ) {\n recommendations(publisher: $publisher, recomArgs: $recomArgs) {\n feedbackId\n articles {\n headline\n kicker\n url\n media {\n ... on Image {\n crops(\n cropsArguments: [\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 150 }\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 620 }\n ]\n ) {\n url\n alt\n width\n height\n }\n }\n ... on Video {\n posterImage {\n crops {\n url\n }\n }\n }\n }\n }\n }\n }\n"])));
10
10
  var templateObject_1;
11
11
  //# sourceMappingURL=getRecommendationsQuery.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getRecommendationsQuery.js","sourceRoot":"","sources":["../../../../../src/article-recommendations/provider/queries/getRecommendationsQuery.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEvB,QAAA,mBAAmB,OAAG,YAAG,m3BAAA,+yBAoCrC,KAAA"}
1
+ {"version":3,"file":"getRecommendationsQuery.js","sourceRoot":"","sources":["../../../../../src/article-recommendations/provider/queries/getRecommendationsQuery.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEvB,QAAA,mBAAmB,OAAG,YAAG,62BAAA,yyBAoCrC,KAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newskit-render/standalone-components",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "Newskit Render Standalone Components",
5
5
  "author": "",
6
6
  "license": "UNLICENSED",