@vendure/elasticsearch-plugin 2.1.0-next.4 → 2.1.0-next.5

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.
@@ -59,7 +59,7 @@ export interface ElasticsearchOptions {
59
59
  * are directly passed to index settings. To apply some settings indices will be recreated.
60
60
  *
61
61
  * @example
62
- * ```TypeScript
62
+ * ```ts
63
63
  * // Configuring an English stemmer
64
64
  * indexSettings: {
65
65
  * analysis: {
@@ -96,7 +96,7 @@ export interface ElasticsearchOptions {
96
96
  * After changing this option indices will be recreated.
97
97
  *
98
98
  * @example
99
- * ```TypeScript
99
+ * ```ts
100
100
  * // Configuring custom analyzer for the `productName` field.
101
101
  * indexMappingProperties: {
102
102
  * productName: {
@@ -116,7 +116,7 @@ export interface ElasticsearchOptions {
116
116
  * need to prefix the name with `'product-<name>'` or `'variant-<name>'` respectively, e.g.:
117
117
  *
118
118
  * @example
119
- * ```TypeScript
119
+ * ```ts
120
120
  * customProductMappings: {
121
121
  * variantCount: {
122
122
  * graphQlType: 'Int!',
@@ -168,7 +168,7 @@ export interface ElasticsearchOptions {
168
168
  * the `customProductVariantMappings` field, which is always available.
169
169
  *
170
170
  * @example
171
- * ```TypeScript
171
+ * ```ts
172
172
  * customProductMappings: {
173
173
  * variantCount: {
174
174
  * graphQlType: 'Int!',
@@ -265,7 +265,7 @@ export interface ElasticsearchOptions {
265
265
  * before the `product` object is passed to the `valueFn`.
266
266
  *
267
267
  * @example
268
- * ```TypeScript
268
+ * ```ts
269
269
  * {
270
270
  * hydrateProductRelations: ['assets.asset'],
271
271
  * customProductMappings: {
@@ -299,7 +299,7 @@ export interface ElasticsearchOptions {
299
299
  * custom `scriptFields` functions.
300
300
  *
301
301
  * @example
302
- * ```TypeScript
302
+ * ```ts
303
303
  * extendSearchInputType: {
304
304
  * longitude: 'Float',
305
305
  * latitude: 'Float',
@@ -336,7 +336,7 @@ export interface ElasticsearchOptions {
336
336
  * correct sort order values available inside `input` parameter of the `mapSort` option.
337
337
  *
338
338
  * @example
339
- * ```TypeScript
339
+ * ```ts
340
340
  * extendSearchSortType: ["distance"]
341
341
  * ```
342
342
  *
@@ -451,7 +451,7 @@ export interface SearchConfig {
451
451
  * for e.g. wildcard / fuzzy searches on the index.
452
452
  *
453
453
  * @example
454
- * ```TypeScript
454
+ * ```ts
455
455
  * mapQuery: (query, input, searchConfig, channelId, enabledOnly){
456
456
  * if(query.bool.must){
457
457
  * delete query.bool.must;
@@ -499,7 +499,7 @@ export interface SearchConfig {
499
499
  * [Elasticsearch script fields docs](https://www.elastic.co/guide/en/elasticsearch/reference/7.15/search-fields.html#script-fields)
500
500
  *
501
501
  * @example
502
- * ```TypeScript
502
+ * ```ts
503
503
  * extendSearchInputType: {
504
504
  * latitude: 'Float',
505
505
  * longitude: 'Float',
@@ -44,7 +44,7 @@ import { ElasticsearchOptions } from './options';
44
44
  * ## Search API Extensions
45
45
  * This plugin extends the default search query of the Shop API, allowing richer querying of your product data.
46
46
  *
47
- * The [SearchResponse](/docs/graphql-api/admin/object-types/#searchresponse) type is extended with information
47
+ * The [SearchResponse](/reference/graphql-api/admin/object-types/#searchresponse) type is extended with information
48
48
  * about price ranges in the result set:
49
49
  * ```SDL
50
50
  * extend type SearchResponse {
package/lib/src/plugin.js CHANGED
@@ -75,7 +75,7 @@ function getCustomResolvers(options) {
75
75
  * ## Search API Extensions
76
76
  * This plugin extends the default search query of the Shop API, allowing richer querying of your product data.
77
77
  *
78
- * The [SearchResponse](/docs/graphql-api/admin/object-types/#searchresponse) type is extended with information
78
+ * The [SearchResponse](/reference/graphql-api/admin/object-types/#searchresponse) type is extended with information
79
79
  * about price ranges in the result set:
80
80
  * ```SDL
81
81
  * extend type SearchResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendure/elasticsearch-plugin",
3
- "version": "2.1.0-next.4",
3
+ "version": "2.1.0-next.5",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -26,10 +26,10 @@
26
26
  "fast-deep-equal": "^3.1.3"
27
27
  },
28
28
  "devDependencies": {
29
- "@vendure/common": "2.1.0-next.4",
30
- "@vendure/core": "2.1.0-next.4",
29
+ "@vendure/common": "2.1.0-next.5",
30
+ "@vendure/core": "2.1.0-next.5",
31
31
  "rimraf": "^3.0.2",
32
32
  "typescript": "4.9.5"
33
33
  },
34
- "gitHead": "10ba12c0a870f30bb083bffc142feb040f76db22"
34
+ "gitHead": "b4b78ba7ac534e5995877e46421870b114f429de"
35
35
  }