@vendure/elasticsearch-plugin 2.1.4 → 2.1.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.
- package/lib/src/types.d.ts +1 -1
- package/package.json +4 -4
package/lib/src/types.d.ts
CHANGED
|
@@ -239,7 +239,7 @@ type GraphQlPermittedReturnType = PrimitiveTypeVariations<GraphQlPrimitive>;
|
|
|
239
239
|
type CustomMappingDefinition<Args extends any[], T extends GraphQlPermittedReturnType, R> = {
|
|
240
240
|
graphQlType: T;
|
|
241
241
|
public?: boolean;
|
|
242
|
-
valueFn: (...args: Args) => R;
|
|
242
|
+
valueFn: (...args: Args) => Promise<R> | R;
|
|
243
243
|
};
|
|
244
244
|
type TypeVariationMap<GqlType extends GraphQlPrimitive, TsType> = {
|
|
245
245
|
[Key in PrimitiveTypeVariations<GqlType>]: Key extends `[${string}!]!` ? TsType[] : Key extends `[${string}!]` ? Maybe<TsType[]> : Key extends `${string}!` ? TsType : Maybe<TsType>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vendure/elasticsearch-plugin",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.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.
|
|
30
|
-
"@vendure/core": "^2.1.
|
|
29
|
+
"@vendure/common": "^2.1.5",
|
|
30
|
+
"@vendure/core": "^2.1.5",
|
|
31
31
|
"rimraf": "^3.0.2",
|
|
32
32
|
"typescript": "4.9.5"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "e5ecd1fac86ed8e6f85c39a19b3aa7561dcff3b2"
|
|
35
35
|
}
|