@coveo/quantic 3.27.0-pre.e8e95b2dbe → 3.27.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.
Files changed (164) hide show
  1. package/force-app/main/default/staticresources/coveoheadless/case-assist/headless.js +8 -8
  2. package/force-app/main/default/staticresources/coveoheadless/definitions/api/analytics/base-analytics.d.ts +0 -1
  3. package/force-app/main/default/staticresources/coveoheadless/definitions/api/analytics/coveo.analytics/history-store.d.ts +1 -5
  4. package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/commerce-api-client.d.ts +2 -1
  5. package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/commerce-api-params.d.ts +5 -4
  6. package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/common/request.d.ts +11 -1
  7. package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/recommendations/recommendations-request.d.ts +11 -1
  8. package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/search/query-suggest/query-suggest-request.d.ts +11 -1
  9. package/force-app/main/default/staticresources/coveoheadless/definitions/api/commerce/search/query-suggest/query-suggest-response.d.ts +2 -3
  10. package/force-app/main/default/staticresources/coveoheadless/definitions/api/common/trigger.d.ts +0 -3
  11. package/force-app/main/default/staticresources/coveoheadless/definitions/api/generated-answer/generated-answer-client.d.ts +1 -1
  12. package/force-app/main/default/staticresources/coveoheadless/definitions/api/generated-answer/generated-answer-event-payload.d.ts +2 -1
  13. package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/stream-answer-api.d.ts +8 -0
  14. package/force-app/main/default/staticresources/coveoheadless/definitions/api/knowledge/tests/stream-answer-api-state-mock.d.ts +119 -1
  15. package/force-app/main/default/staticresources/coveoheadless/definitions/api/platform-client.d.ts +0 -1
  16. package/force-app/main/default/staticresources/coveoheadless/definitions/api/search/fields/fields-response.d.ts +0 -2
  17. package/force-app/main/default/staticresources/coveoheadless/definitions/api/search/search-api-params.d.ts +7 -20
  18. package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/case-assist/case-assist-api-client.d.ts +4 -3
  19. package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/case-assist/case-assist-params.d.ts +3 -2
  20. package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/case-assist/get-case-classifications/get-case-classifications-request.d.ts +5 -1
  21. package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/case-assist/get-document-suggestions/get-document-suggestions-request.d.ts +5 -1
  22. package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/insight/get-interface/get-interface-config-response.d.ts +2 -2
  23. package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/insight/insight-api-client.d.ts +5 -4
  24. package/force-app/main/default/staticresources/coveoheadless/definitions/api/service/insight/insight-params.d.ts +0 -1
  25. package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/types/common.d.ts +9 -12
  26. package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/types/core-engine.d.ts +4 -4
  27. package/force-app/main/default/staticresources/coveoheadless/definitions/app/commerce-ssr-engine/types/from-build-result.d.ts +2 -1
  28. package/force-app/main/default/staticresources/coveoheadless/definitions/app/search-engine/jwt-reducer.d.ts +0 -5
  29. package/force-app/main/default/staticresources/coveoheadless/definitions/app/ssr-engine/types/build.d.ts +2 -1
  30. package/force-app/main/default/staticresources/coveoheadless/definitions/app/ssr-engine/types/common.d.ts +3 -2
  31. package/force-app/main/default/staticresources/coveoheadless/definitions/app/ssr-engine/types/fetch-static-state.d.ts +2 -1
  32. package/force-app/main/default/staticresources/coveoheadless/definitions/app/ssr-engine/types/hydrate-static-state.d.ts +2 -1
  33. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/facets/generator/headless-commerce-facet-generator.ssr.d.ts +1 -1
  34. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/facets/headless-core-commerce-facet.d.ts +1 -2
  35. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/field-suggestions/headless-category-field-suggestions.d.ts +0 -1
  36. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/filter-suggestions/headless-category-filter-suggestions.d.ts +0 -1
  37. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/filter-suggestions/headless-filter-suggestions.d.ts +0 -1
  38. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/product-view/headless-product-view.ssr.d.ts +2 -1
  39. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/search-box/headless-search-box.d.ts +1 -2
  40. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/standalone-search-box/headless-standalone-search-box.ssr.d.ts +0 -1
  41. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/breadcrumb-manager/headless-core-breadcrumb-manager.d.ts +1 -1
  42. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/context/headless-context-reserved-keys.d.ts +1 -4
  43. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/context/headless-core-context.d.ts +0 -1
  44. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/did-you-mean/headless-core-did-you-mean.d.ts +2 -2
  45. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/_common/facet-option-definitions.d.ts +0 -2
  46. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/facet/headless-core-facet.d.ts +3 -3
  47. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/date-facet/headless-date-facet-options.d.ts +0 -2
  48. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/headless-core-range-facet.d.ts +7 -1
  49. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/numeric-facet/headless-core-numeric-facet.d.ts +1 -1
  50. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/facets/range-facet/numeric-facet/headless-numeric-facet-options.d.ts +0 -2
  51. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/folded-result-list/headless-core-folded-result-list.d.ts +1 -1
  52. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/generated-answer/headless-core-generated-answer.d.ts +0 -2
  53. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/generated-answer/headless-core-interactive-citation.d.ts +2 -1
  54. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/generated-answer/headless-searchapi-generated-answer.d.ts +2 -4
  55. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/search-box/headless-core-search-box-options.d.ts +0 -4
  56. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/search-parameter-manager/headless-core-search-parameter-manager.d.ts +0 -5
  57. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/smart-snippet/headless-core-smart-snippet.d.ts +0 -1
  58. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/smart-snippet-questions-list/headless-core-smart-snippet-questions-list.d.ts +0 -1
  59. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/triggers/headless-core-notify-trigger.d.ts +3 -2
  60. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/automatic-facet/headless-automatic-facet.d.ts +2 -1
  61. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/facets/category-facet/headless-category-facet.d.ts +1 -2
  62. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/facets/category-facet/headless-insight-category-facet.d.ts +0 -2
  63. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/facets/range-facet/numeric-facet/headless-insight-numeric-facet.d.ts +1 -2
  64. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/generated-answer/headless-insight-generated-answer.d.ts +1 -3
  65. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/smart-snippet/headless-insight-smart-snippet-interactive-inline-links.d.ts +4 -3
  66. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/smart-snippet-questions-list/headless-insight-smart-snippet-interactive-questions.d.ts +4 -3
  67. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/insight/smart-snippet-questions-list/headless-insight-smart-snippet-questions-list.d.ts +0 -1
  68. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/instant-results/instant-results-options.d.ts +1 -6
  69. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/knowledge/generated-answer/headless-answerapi-generated-answer.d.ts +2 -2
  70. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/recent-queries-list/headless-recent-queries-list.d.ts +0 -1
  71. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/recent-results-list/headless-recent-results-list.d.ts +0 -1
  72. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/smart-snippet/headless-smart-snippet-interactive-inline-links.d.ts +4 -3
  73. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/smart-snippet-questions-list/headless-smart-snippet-interactive-questions.d.ts +4 -3
  74. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/smart-snippet-questions-list/headless-smart-snippet-questions-list.d.ts +0 -1
  75. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/tab-manager/headless-tab-manager.ssr.d.ts +1 -1
  76. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/triggers/headless-notify-trigger.d.ts +1 -2
  77. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/triggers/headless-notify-trigger.ssr.d.ts +0 -1
  78. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/triggers/headless-redirection-trigger.ssr.d.ts +0 -1
  79. package/force-app/main/default/staticresources/coveoheadless/definitions/features/advanced-search-queries/advanced-search-queries-state.d.ts +3 -2
  80. package/force-app/main/default/staticresources/coveoheadless/definitions/features/analytics/analytics-actions.d.ts +0 -33
  81. package/force-app/main/default/staticresources/coveoheadless/definitions/features/analytics/analytics-utils.d.ts +11 -17
  82. package/force-app/main/default/staticresources/coveoheadless/definitions/features/analytics/legacy-search-action-cause.d.ts +1 -6
  83. package/force-app/main/default/staticresources/coveoheadless/definitions/features/attached-results/attached-results-actions.d.ts +3 -2
  84. package/force-app/main/default/staticresources/coveoheadless/definitions/features/attached-results/attached-results-analytics-actions.d.ts +104 -2
  85. package/force-app/main/default/staticresources/coveoheadless/definitions/features/case-assist-configuration/case-assist-configuration-actions.d.ts +2 -1
  86. package/force-app/main/default/staticresources/coveoheadless/definitions/features/case-field/case-field-actions.d.ts +0 -2
  87. package/force-app/main/default/staticresources/coveoheadless/definitions/features/case-field/case-field-state.d.ts +3 -2
  88. package/force-app/main/default/staticresources/coveoheadless/definitions/features/case-input/case-input-state.d.ts +2 -1
  89. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/facet-search-set/commerce-facet-search-actions.d.ts +0 -3
  90. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/facet-set/facet-set-reducers.d.ts +0 -1
  91. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/facet-set/interfaces/request.d.ts +2 -6
  92. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/facet-set/interfaces/response.d.ts +2 -2
  93. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/facets/numeric-facet/manual-numeric-facet-state.d.ts +2 -1
  94. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/pagination/pagination-actions.d.ts +0 -3
  95. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/parameters/parameters-selectors.d.ts +0 -1
  96. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/parameters/parameters-serializer.ssr.d.ts +1 -23
  97. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/product-listing/product-listing-actions.d.ts +0 -4
  98. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/product-templates/product-templates-helpers.d.ts +0 -33
  99. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/recent-queries/recent-queries-actions.d.ts +0 -1
  100. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/recommendations/recommendations-actions.d.ts +2 -7
  101. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/search/search-actions.d.ts +3 -6
  102. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/search/search-selectors.d.ts +0 -21
  103. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/standalone-search-box-set/plan-request-builder.d.ts +2 -1
  104. package/force-app/main/default/staticresources/coveoheadless/definitions/features/commerce/standalone-search-box-set/standalone-search-box-set-actions.d.ts +2 -1
  105. package/force-app/main/default/staticresources/coveoheadless/definitions/features/configuration/configuration-state.d.ts +1 -1
  106. package/force-app/main/default/staticresources/coveoheadless/definitions/features/debug/ranking-info-parser.d.ts +1 -1
  107. package/force-app/main/default/staticresources/coveoheadless/definitions/features/document-suggestion/document-suggestion-state.d.ts +2 -1
  108. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/category-facet-set/category-facet-validate-payload.d.ts +0 -9
  109. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-set/facet-set-insight-analytics-actions.d.ts +3 -2
  110. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/facet-set/facet-set-insight-utils.d.ts +0 -1
  111. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/generic/facet-reducer-helpers.d.ts +2 -1
  112. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/date-facet-set/interfaces/response.d.ts +3 -2
  113. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/generic/interfaces/options.d.ts +0 -1
  114. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/generic/interfaces/range-facet.d.ts +0 -3
  115. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/generic/interfaces/request.d.ts +1 -11
  116. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/generic/range-facet-utils.d.ts +0 -1
  117. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/numeric-facet-set/interfaces/response.d.ts +3 -2
  118. package/force-app/main/default/staticresources/coveoheadless/definitions/features/folding/folding-analytics-actions.d.ts +0 -1
  119. package/force-app/main/default/staticresources/coveoheadless/definitions/features/generated-answer/generated-answer-selectors.d.ts +0 -33
  120. package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-configuration/insight-configuration-actions.d.ts +2 -1
  121. package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-search/insight-search-actions.d.ts +1 -1
  122. package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-user-actions/insight-user-actions-actions.d.ts +0 -1
  123. package/force-app/main/default/staticresources/coveoheadless/definitions/features/insight-user-actions/insight-user-actions-preprocessing.d.ts +2 -1
  124. package/force-app/main/default/staticresources/coveoheadless/definitions/features/instant-results/instant-results-actions.d.ts +0 -3
  125. package/force-app/main/default/staticresources/coveoheadless/definitions/features/query-suggest/query-suggest-actions.d.ts +0 -6
  126. package/force-app/main/default/staticresources/coveoheadless/definitions/features/result/result-insight-analytics-actions.d.ts +52 -1
  127. package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/legacy/search-actions-thunk-processor.d.ts +1 -1
  128. package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/legacy/search-actions.d.ts +0 -82
  129. package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/legacy/search-request.d.ts +8 -1
  130. package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/search-actions-thunk-processor.d.ts +3 -3
  131. package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/search-actions.d.ts +0 -65
  132. package/force-app/main/default/staticresources/coveoheadless/definitions/features/search/search-request.d.ts +8 -1
  133. package/force-app/main/default/staticresources/coveoheadless/definitions/features/search-parameters/search-parameter-actions.d.ts +0 -4
  134. package/force-app/main/default/staticresources/coveoheadless/definitions/features/search-parameters/search-parameter-serializer.d.ts +0 -2
  135. package/force-app/main/default/staticresources/coveoheadless/definitions/features/sort/sort.d.ts +0 -3
  136. package/force-app/main/default/staticresources/coveoheadless/definitions/features/standalone-search-box-set/standalone-search-box-set-actions.d.ts +2 -1
  137. package/force-app/main/default/staticresources/coveoheadless/definitions/features/templates/templates-manager.d.ts +0 -7
  138. package/force-app/main/default/staticresources/coveoheadless/definitions/index.d.ts +2 -0
  139. package/force-app/main/default/staticresources/coveoheadless/definitions/insight.index.d.ts +1 -1
  140. package/force-app/main/default/staticresources/coveoheadless/definitions/state/insight-app-state.d.ts +2 -1
  141. package/force-app/main/default/staticresources/coveoheadless/definitions/state/state-sections.d.ts +0 -7
  142. package/force-app/main/default/staticresources/coveoheadless/definitions/test/mock-commerce-api-request.d.ts +1 -2
  143. package/force-app/main/default/staticresources/coveoheadless/definitions/test/mock-engine-v2.d.ts +0 -8
  144. package/force-app/main/default/staticresources/coveoheadless/definitions/test/mock-search-request.d.ts +8 -1
  145. package/force-app/main/default/staticresources/coveoheadless/definitions/utils/fetch-event-source/fetch.d.ts +2 -2
  146. package/force-app/main/default/staticresources/coveoheadless/definitions/utils/url-utils.d.ts +2 -1
  147. package/force-app/main/default/staticresources/coveoheadless/definitions/utils/utils.d.ts +0 -1
  148. package/force-app/main/default/staticresources/coveoheadless/headless.js +10 -10
  149. package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +9 -9
  150. package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +7 -7
  151. package/package.json +6 -7
  152. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/core/sub-controller/headless-sub-controller.ssr.d.ts +0 -7
  153. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/product-listing/utils/load-product-listing-reducers.d.ts +0 -3
  154. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/commerce/search/utils/load-search-reducers.d.ts +0 -3
  155. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/context/example-deleteme-headless-case-context.d.ts +0 -32
  156. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/context/headless-core-internal-context.d.ts +0 -31
  157. package/force-app/main/default/staticresources/coveoheadless/definitions/controllers/core/context/headless-strict-context-factory.d.ts +0 -13
  158. package/force-app/main/default/staticresources/coveoheadless/definitions/features/facets/range-facets/generic/interfaces/response.d.ts +0 -6
  159. package/force-app/main/default/staticresources/coveoheadless/definitions/features/sort/sort-actions-loader.d.ts +0 -35
  160. package/force-app/main/default/staticresources/coveoheadless/definitions/features/sort/sort-actions.d.ts +0 -3
  161. package/force-app/main/default/staticresources/coveoheadless/definitions/features/sort/sort-slice.d.ts +0 -3
  162. package/force-app/main/default/staticresources/coveoheadless/definitions/features/sort/sort-state.d.ts +0 -3
  163. package/force-app/main/default/staticresources/coveoheadless/definitions/test/mock-insight-api-client.d.ts +0 -2
  164. package/force-app/main/default/staticresources/coveoheadless/definitions/utils/fetch-event-source/index.d.ts +0 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coveo/quantic",
3
- "version": "3.27.0-pre.e8e95b2dbe",
3
+ "version": "3.27.0",
4
4
  "description": "A Salesforce Lightning Web Component (LWC) library for building modern UIs interfacing with the Coveo platform",
5
5
  "author": "coveo.com",
6
6
  "homepage": "https://coveo.com",
@@ -48,9 +48,9 @@
48
48
  "babel:headless": "babel ../../node_modules/@coveo/headless/dist/quantic --out-dir .tmp/quantic-compiled --extensions .js --minified"
49
49
  },
50
50
  "dependencies": {
51
+ "@coveo/bueno": "1.0.22",
52
+ "@coveo/headless": "3.27.5",
51
53
  "dompurify": "3.2.6",
52
- "@coveo/bueno": "1.0.22-pre.e8e95b2dbe",
53
- "@coveo/headless": "3.27.5-pre.e8e95b2dbe",
54
54
  "fs-extra": "11.3.0",
55
55
  "marked": "12.0.2"
56
56
  },
@@ -60,16 +60,15 @@
60
60
  "devDependencies": {
61
61
  "@babel/cli": "7.28.0",
62
62
  "@babel/plugin-transform-async-to-generator": "7.27.1",
63
- "@ckeditor/jsdoc-plugins": "43.1.0",
64
- "@coveo/relay-event-types": "14.7.5",
65
63
  "@coveo/ci": "1.0.0",
64
+ "@coveo/relay-event-types": "14.7.5",
66
65
  "@octokit/graphql": "8.2.2",
67
66
  "@octokit/graphql-schema": "15.26.0",
68
- "@playwright/test": "1.53.2",
67
+ "@playwright/test": "1.54.1",
69
68
  "@salesforce-ux/slds-linter": "0.3.0",
70
69
  "@salesforce/eslint-config-lwc": "3.7.2",
71
70
  "@salesforce/sfdx-lwc-jest": "5.1.0",
72
- "@types/node": "22.16.0",
71
+ "@types/node": "22.16.4",
73
72
  "@types/strip-color": "0.1.2",
74
73
  "@types/wait-on": "5.3.4",
75
74
  "chalk": "4.1.2",
@@ -1,7 +0,0 @@
1
- import { type ControllerDefinitionOption, type SubControllerDefinitionWithoutProps } from '../../../../app/commerce-ssr-engine/types/common.js';
2
- import type { Summary } from '../../core/summary/headless-core-summary.js';
3
- import type { ProductListingSummaryState } from '../../product-listing/summary/headless-product-listing-summary.js';
4
- import type { SearchSummaryState } from '../../search/summary/headless-search-summary.js';
5
- export type { ProductListingSummaryState, Summary };
6
- export declare function defineQuerySummary<TOptions extends ControllerDefinitionOption | undefined>(options?: TOptions): SubControllerDefinitionWithoutProps<Summary<ProductListingSummaryState & SearchSummaryState>, // TODO: fix conditional typing to return the appropriate type based on current solution type
7
- TOptions>;
@@ -1,3 +0,0 @@
1
- import type { CommerceEngine } from '../../../../app/commerce-engine/commerce-engine.js';
2
- import type { ProductListingSection } from '../../../../state/state-sections.js';
3
- export declare function loadProductListingReducer(engine: CommerceEngine): engine is CommerceEngine<ProductListingSection>;
@@ -1,3 +0,0 @@
1
- import type { CommerceEngine } from '../../../../app/commerce-engine/commerce-engine.js';
2
- import type { CommerceSearchSection } from '../../../../state/state-sections.js';
3
- export declare function loadSearchReducer(engine: CommerceEngine): engine is CommerceEngine<CommerceSearchSection>;
@@ -1,32 +0,0 @@
1
- /**
2
- * This is an example of how to generate a strict context provider
3
- */
4
- import type { CoreEngine } from '../../../app/engine.js';
5
- import type { Context as CoreContext, ContextProps as CoreContextProps, ContextState as CoreContextState } from './headless-core-context.js';
6
- export interface ContextProps extends CoreContextProps {
7
- }
8
- /**
9
- * The `Context` controller exposes methods for managing the global context in a commerce interface.
10
- */
11
- export interface CaseContext extends CoreContext {
12
- /**
13
- * Sets the case ID.
14
- * @param caseId - The new case ID.
15
- */
16
- setCaseId(caseId: string): void;
17
- /**
18
- * Sets the case number.
19
- * @param language - The new case number.
20
- */
21
- setCaseNumber(caseNumber: string): void;
22
- /**
23
- * A scoped and simplified part of the headless state that is relevant to the `Context` controller.
24
- */
25
- state: CaseContextState;
26
- }
27
- export interface CaseContextState extends CoreContextState {
28
- caseId: string;
29
- caseNumber: string;
30
- }
31
- export type CaseContextControllerState = CaseContext['state'];
32
- export declare const createCaseContext: (engine: CoreEngine, props: ContextProps) => CaseContext, mixinCaseContext: <InputContext extends CoreContext>(engine: CoreEngine, props: ContextProps, context: InputContext) => InputContext & CaseContext;
@@ -1,31 +0,0 @@
1
- import type { CoreEngine } from '../../../app/engine.js';
2
- import type { ContextValue } from '../../../features/context/context-state.js';
3
- /**
4
- * The `InternalContext` controller injects reserved [custom contextual information](https://docs.coveo.com/en/3389/) key-values.
5
- * into the search requests and usage analytics search events sent from a search interface.
6
- * Reserved for strict context.
7
- * @internal
8
- */
9
- export interface InternalContext {
10
- /**
11
- * Sets or updates a context key-value pair.
12
- *
13
- * @param contextKey - The context key.
14
- * @param contextValue - The context value.
15
- */
16
- add(contextKey: string, contextValue: ContextValue): void;
17
- /**
18
- * Removes a context key from the query.
19
- * @param key - The context key to remove.
20
- */
21
- remove(key: string): void;
22
- }
23
- /**
24
- * Creates an `InternalContext` controller instance
25
- *
26
- * @param engine - The headless engine.
27
- * @param props - The configurable `Context` controller properties.
28
- * @internal
29
- * @returns a `Context` controller instance.
30
- */
31
- export declare function buildInternalCoreContext(engine: CoreEngine): InternalContext;
@@ -1,13 +0,0 @@
1
- import type { CoreEngine } from '../../../app/engine.js';
2
- import { type Context as CoreContext, type ContextProps as CoreContextProps } from '../../context/headless-context.js';
3
- type AdditionalProperties<AdditionalContext extends CoreContext> = Omit<AdditionalContext, keyof CoreContext>;
4
- /**
5
- * @internal
6
- * @param additionalPropertiesFactory - The functions that the strict context will have.
7
- * @returns Two functions to create and mixin the strict context.
8
- */
9
- export declare const generateStrictContextFunctions: <AdditionalContext extends CoreContext, ContextProps extends CoreContextProps>(additionalPropertiesFactory: (engine: CoreEngine) => AdditionalProperties<AdditionalContext>) => {
10
- createCustomContext: (engine: CoreEngine, props: ContextProps) => AdditionalContext;
11
- mixinCustomContext: <InputContext extends CoreContext>(engine: CoreEngine, props: ContextProps, context: InputContext) => InputContext & AdditionalContext;
12
- };
13
- export {};
@@ -1,6 +0,0 @@
1
- import type { BaseFacetValue } from '../../../facet-api/response.js';
2
- export interface RangeValue<T extends string | number> extends BaseFacetValue {
3
- start: T;
4
- end: T;
5
- endInclusive: boolean;
6
- }
@@ -1,35 +0,0 @@
1
- import type { PayloadAction } from '@reduxjs/toolkit';
2
- import type { CoreEngine } from '../../app/engine.js';
3
- import type { SortCriterion } from './sort.js';
4
- /**
5
- * The sort action creators.
6
- *
7
- * @group Actions
8
- * @category Sort
9
- */
10
- export interface SortActionCreators {
11
- /**
12
- * Initializes the sort query parameter. For more information, refer to [the documentation on query parameters](https://docs.coveo.com/en/13#operation/searchUsingPost-sortCriteria).
13
- *
14
- * @param criterion - The initial sort.
15
- * @returns A dispatchable action.
16
- */
17
- registerSortCriterion(criterion: SortCriterion): PayloadAction<SortCriterion>;
18
- /**
19
- * Updates the sort query parameter. For more information, refer to [the documentation on query parameters](https://docs.coveo.com/en/13#operation/searchUsingPost-sortCriteria).
20
- *
21
- * @param criterion - The sort to set.
22
- * @returns A dispatchable action.
23
- */
24
- updateSortCriterion(criterion: SortCriterion): PayloadAction<SortCriterion>;
25
- }
26
- /**
27
- * Loads the `sort` reducer and returns possible action creators.
28
- *
29
- * @param engine - The headless engine.
30
- * @returns An object holding the action creators.
31
- *
32
- * @group Actions
33
- * @category Sort
34
- */
35
- export declare function loadSortActions(engine: CoreEngine): SortActionCreators;
@@ -1,3 +0,0 @@
1
- import { type SortCriterion } from './sort.js';
2
- export declare const registerSortCriterion: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: SortCriterion], SortCriterion, "sort/register", never, never>;
3
- export declare const updateSortCriterion: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: SortCriterion], SortCriterion, "sort/update", never, never>;
@@ -1,3 +0,0 @@
1
- export declare const sortReducer: import("redux").Reducer<import("./sort.js").SortByRelevance | import("./sort.js").SortByFields> & {
2
- getInitialState: () => import("./sort.js").SortByRelevance | import("./sort.js").SortByFields;
3
- };
@@ -1,3 +0,0 @@
1
- import { type SortCriterion } from './sort.js';
2
- export type SortState = SortCriterion;
3
- export declare function getSortInitialState(): SortState;
@@ -1,2 +0,0 @@
1
- import { InsightAPIClient, type InsightAPIClientOptions } from '../api/service/insight/insight-api-client.js';
2
- export declare function buildMockInsightAPIClient(options?: Partial<InsightAPIClientOptions>): InsightAPIClient;
@@ -1,2 +0,0 @@
1
- export { EventStreamContentType, type FetchEventSourceInit, fetchEventSource, } from './fetch.js';
2
- export type { EventSourceMessage } from './parse.js';