@lustre/sdk 3.27.1 → 3.28.0-dev.2
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/dist/api/QueryResolver.js +1 -1
- package/dist/api/QueryResolver.js.map +1 -1
- package/dist/schema/mutations/updateProductBookmark.js +3 -0
- package/dist/schema/mutations/updateProductBookmark.js.map +1 -0
- package/dist/schema/queries/productBookmarkById.js +3 -0
- package/dist/schema/queries/productBookmarkById.js.map +1 -0
- package/package.json +2 -2
- package/types/schema/mutations/updateProductBookmark.d.ts +11 -0
- package/types/schema/mutations/updateProductBookmark.d.ts.map +1 -0
- package/types/schema/queries/browseTheWeb.d.ts +1 -3
- package/types/schema/queries/browseTheWeb.d.ts.map +1 -1
- package/types/schema/queries/chatFollowupSuggestions.d.ts +1 -2
- package/types/schema/queries/chatFollowupSuggestions.d.ts.map +1 -1
- package/types/schema/queries/findProducts.d.ts +1 -3
- package/types/schema/queries/findProducts.d.ts.map +1 -1
- package/types/schema/queries/productBookmarkById.d.ts +12 -0
- package/types/schema/queries/productBookmarkById.d.ts.map +1 -0
- package/types/schema/queries/researchBestProducts.d.ts +1 -3
- package/types/schema/queries/researchBestProducts.d.ts.map +1 -1
- package/types/schema/queries/researchBestProductsV2.d.ts +1 -3
- package/types/schema/queries/researchBestProductsV2.d.ts.map +1 -1
- package/types/schema/queries/researchDeals.d.ts +1 -1
- package/types/schema/queries/researchDeals.d.ts.map +1 -1
- package/types/schema/queries/researchProductComparison.d.ts +2 -10
- package/types/schema/queries/researchProductComparison.d.ts.map +1 -1
- package/types/schema/queries/researchProductReview.d.ts +2 -9
- package/types/schema/queries/researchProductReview.d.ts.map +1 -1
- package/types/schema/queries/researchQueryRefinement.d.ts.map +1 -1
|
@@ -27,7 +27,7 @@ class QueryResolver {
|
|
|
27
27
|
constructor(options = {}) {
|
|
28
28
|
const { apiHost, apiKey, apiPath, headers } = options;
|
|
29
29
|
this.apiEmitter = new ApiEmitter_1.default();
|
|
30
|
-
this.apiHost = apiHost !== null && apiHost !== void 0 ? apiHost : "https://
|
|
30
|
+
this.apiHost = apiHost !== null && apiHost !== void 0 ? apiHost : "https://api.vetted.ai";
|
|
31
31
|
this.apiKey = apiKey;
|
|
32
32
|
this.apiPath = apiPath;
|
|
33
33
|
this.headers = headers !== null && headers !== void 0 ? headers : {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryResolver.js","sourceRoot":"","sources":["../../src/api/QueryResolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,iDAAiD;AAEjD,6CAA8E;AAC9E,8DAAyC;AACzC,wDAAmC;AAGtB,QAAA,gBAAgB,GAAG,uBAAuB,CAAA;AAEhD,MAAM,WAAW,GAAG,CAAC,EAC1B,QAAQ,GAAG,wBAAgB,EAC3B,OAAO,GAAG,EAAE,OAAO,EAAE,EAAE,EAAE,MAIvB,EAAE,EAAU,EAAE;IAChB,MAAM,OAAO,GAAG,MAAM,CAAC,WAAW,CAAC,IAAI,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,CAAC,CAAA;IAC1E,OAAO,IAAA,iBAAO,EAAC,EAAE,QAAQ,EAAE,OAAO,kCAAO,OAAO,KAAE,OAAO,GAAE,EAAE,CAAC,CAAA;AAChE,CAAC,CAAA;AATY,QAAA,WAAW,eASvB;AA8BD,MAAM,aAAa;IASjB,YAAY,UAAgC,EAAE;QAC5C,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,OAAO,CAAA;QACrD,IAAI,CAAC,UAAU,GAAG,IAAI,oBAAU,EAAE,CAAA;QAClC,IAAI,CAAC,OAAO,GAAG,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,
|
|
1
|
+
{"version":3,"file":"QueryResolver.js","sourceRoot":"","sources":["../../src/api/QueryResolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,iDAAiD;AAEjD,6CAA8E;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AAa,CAAA;AACtC,CAAC,CAAA;AAFY,QAAA,wBAAwB,4BAEpC;AAED,kBAAe,aAAa,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateProductBookmark.js","sourceRoot":"","sources":["../../../src/schema/mutations/updateProductBookmark.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productBookmarkById.js","sourceRoot":"","sources":["../../../src/schema/queries/productBookmarkById.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lustre/sdk",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.28.0-dev.2",
|
|
4
4
|
"repository": "github:parli/typescript-sdk",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -50,4 +50,4 @@
|
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"eventemitter3": "^5.0.1"
|
|
52
52
|
}
|
|
53
|
-
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Effect, Mutation } from "../builtins";
|
|
2
|
+
export interface UpdateProductBookmarkMutation extends Mutation {
|
|
3
|
+
productBookmarkId: string;
|
|
4
|
+
userId: string;
|
|
5
|
+
notificationsEnabled: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateProductBookmarkEffect extends Effect {
|
|
8
|
+
productBookmarkId: string;
|
|
9
|
+
notificationsEnabled: boolean;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=updateProductBookmark.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateProductBookmark.d.ts","sourceRoot":"","sources":["../../../src/schema/mutations/updateProductBookmark.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,oBAAyB;AAEpD,MAAM,WAAW,6BAA8B,SAAQ,QAAQ;IAC7D,iBAAiB,EAAE,MAAM,CAAA;IACzB,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB,EAAE,OAAO,CAAA;CAC9B;AAED,MAAM,WAAW,2BAA4B,SAAQ,MAAM;IACzD,iBAAiB,EAAE,MAAM,CAAA;IACzB,oBAAoB,EAAE,OAAO,CAAA;CAC9B"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { IsoCountry, ResearchedProduct, UpdatableResponse } from "../builtins";
|
|
2
2
|
export interface BrowseTheWebQuery {
|
|
3
|
-
|
|
4
|
-
redditQueries?: string[];
|
|
5
|
-
context?: string;
|
|
3
|
+
context: string;
|
|
6
4
|
localization?: IsoCountry;
|
|
7
5
|
}
|
|
8
6
|
interface Data {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browseTheWeb.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/browseTheWeb.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,oBAAyB;AAEpF,MAAM,WAAW,iBAAiB;IAChC,
|
|
1
|
+
{"version":3,"file":"browseTheWeb.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/browseTheWeb.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,oBAAyB;AAEpF,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,UAAU,CAAA;CAC1B;AAED,UAAU,IAAI;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,iBAAiB,EAAE,CAAA;CAC9B;AAED,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatFollowupSuggestions.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/chatFollowupSuggestions.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"chatFollowupSuggestions.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/chatFollowupSuggestions.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,+BAA+B;IAC9C,WAAW,EAAE,MAAM,EAAE,CAAA;CACtB"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { IsoCountry, ResearchedProduct, UpdatableResponse } from "../builtins";
|
|
2
2
|
export interface FindProductsQuery {
|
|
3
|
-
|
|
4
|
-
redditQueries?: string[];
|
|
5
|
-
context?: string;
|
|
3
|
+
context: string;
|
|
6
4
|
localization?: IsoCountry;
|
|
7
5
|
}
|
|
8
6
|
interface Data {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findProducts.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/findProducts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,oBAAyB;AAEpF,MAAM,WAAW,iBAAiB;IAChC,
|
|
1
|
+
{"version":3,"file":"findProducts.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/findProducts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,oBAAyB;AAEpF,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,UAAU,CAAA;CAC1B;AAED,UAAU,IAAI;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,iBAAiB,EAAE,CAAA;CAC9B;AAED,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ResearchedProduct, ResearchedProductV2 } from "../builtins";
|
|
2
|
+
export interface ProductBookmarkByIdQuery {
|
|
3
|
+
productBookmarkId: string;
|
|
4
|
+
userId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface ProductBookmarkByIdResponse {
|
|
7
|
+
id: string;
|
|
8
|
+
version: number;
|
|
9
|
+
product: ResearchedProduct | ResearchedProductV2;
|
|
10
|
+
notificationsEnabled: boolean;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=productBookmarkById.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productBookmarkById.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/productBookmarkById.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,oBAAyB;AAE1E,MAAM,WAAW,wBAAwB;IACvC,iBAAiB,EAAE,MAAM,CAAA;IACzB,MAAM,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,2BAA2B;IAC1C,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,iBAAiB,GAAG,mBAAmB,CAAA;IAChD,oBAAoB,EAAE,OAAO,CAAA;CAC9B"}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { IsoCountry, ResearchedProduct, UpdatableResponse } from "../builtins";
|
|
2
2
|
interface ResearchBestProductsBaseQuery {
|
|
3
|
-
context
|
|
3
|
+
context: string;
|
|
4
4
|
localization?: IsoCountry;
|
|
5
5
|
}
|
|
6
6
|
interface ResearchBestProductsV1Query extends ResearchBestProductsBaseQuery {
|
|
7
7
|
search: string;
|
|
8
8
|
}
|
|
9
9
|
interface ResearchBestProductsV2Query extends ResearchBestProductsBaseQuery {
|
|
10
|
-
googleQueries: string[];
|
|
11
|
-
redditQueries?: string[];
|
|
12
10
|
}
|
|
13
11
|
export type ResearchBestProductsQuery = ResearchBestProductsV1Query | ResearchBestProductsV2Query;
|
|
14
12
|
interface Data {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"researchBestProducts.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/researchBestProducts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,oBAAyB;AAEpF,UAAU,6BAA6B;IACrC,OAAO,
|
|
1
|
+
{"version":3,"file":"researchBestProducts.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/researchBestProducts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,oBAAyB;AAEpF,UAAU,6BAA6B;IACrC,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,UAAU,CAAA;CAC1B;AAED,UAAU,2BAA4B,SAAQ,6BAA6B;IACzE,MAAM,EAAE,MAAM,CAAA;CACf;AAED,UAAU,2BAA4B,SAAQ,6BAA6B;CAAG;AAM9E,MAAM,MAAM,yBAAyB,GAAG,2BAA2B,GAAG,2BAA2B,CAAA;AAEjG,UAAU,IAAI;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,iBAAiB,EAAE,CAAA;CAC9B;AAKD,MAAM,MAAM,4BAA4B,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAA"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { IsoCountry, ResearchResponse } from "../builtins";
|
|
2
2
|
export interface ResearchBestProductsV2Query {
|
|
3
|
-
context
|
|
3
|
+
context: string;
|
|
4
4
|
localization?: IsoCountry;
|
|
5
|
-
googleQueries: string[];
|
|
6
|
-
redditQueries?: string[];
|
|
7
5
|
allowStoreResults?: boolean;
|
|
8
6
|
}
|
|
9
7
|
export type ResearchBestProductsV2Response = ResearchResponse;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"researchBestProductsV2.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/researchBestProductsV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,oBAAyB;AAEhE,MAAM,WAAW,2BAA2B;IAC1C,OAAO,
|
|
1
|
+
{"version":3,"file":"researchBestProductsV2.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/researchBestProductsV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,oBAAyB;AAEhE,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,UAAU,CAAA;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC5B;AAED,MAAM,MAAM,8BAA8B,GAAG,gBAAgB,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IsoCountry, ResearchResponse } from "../builtins";
|
|
2
2
|
export interface ResearchDealsQuery {
|
|
3
|
+
context: string;
|
|
3
4
|
categoryQueries: string[];
|
|
4
5
|
productQueries: string[];
|
|
5
|
-
context: string;
|
|
6
6
|
localization?: IsoCountry;
|
|
7
7
|
}
|
|
8
8
|
export type ResearchDealsResponse = ResearchResponse;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"researchDeals.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/researchDeals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,oBAAyB;AAEhE,MAAM,WAAW,kBAAkB;IACjC,
|
|
1
|
+
{"version":3,"file":"researchDeals.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/researchDeals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,oBAAyB;AAEhE,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,MAAM,EAAE,CAAA;IACzB,cAAc,EAAE,MAAM,EAAE,CAAA;IACxB,YAAY,CAAC,EAAE,UAAU,CAAA;CAC1B;AAED,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,CAAA"}
|
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
import { IsoCountry, ResearchedProduct, UpdatableResponse } from "../builtins";
|
|
2
|
-
interface
|
|
3
|
-
context
|
|
2
|
+
export interface ResearchProductComparisonQuery {
|
|
3
|
+
context: string;
|
|
4
4
|
localization?: IsoCountry;
|
|
5
5
|
}
|
|
6
|
-
interface ResearchProductComparisonV1Query extends ResearchProductComparisonBaseQuery {
|
|
7
|
-
search: string;
|
|
8
|
-
}
|
|
9
|
-
interface ResearchProductComparisonV2Query extends ResearchProductComparisonBaseQuery {
|
|
10
|
-
googleQueries: string[];
|
|
11
|
-
redditQueries?: string[];
|
|
12
|
-
}
|
|
13
|
-
export type ResearchProductComparisonQuery = ResearchProductComparisonV1Query | ResearchProductComparisonV2Query;
|
|
14
6
|
interface Data {
|
|
15
7
|
summary: string;
|
|
16
8
|
products: ResearchedProduct[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"researchProductComparison.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/researchProductComparison.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,oBAAyB;AAEpF,
|
|
1
|
+
{"version":3,"file":"researchProductComparison.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/researchProductComparison.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,oBAAyB;AAEpF,MAAM,WAAW,8BAA8B;IAC7C,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,UAAU,CAAA;CAC1B;AAED,UAAU,IAAI;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,iBAAiB,EAAE,CAAA;CAC9B;AAED,MAAM,MAAM,iCAAiC,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAA"}
|
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
import { IsoCountry, ResearchedProduct, UpdatableResponse } from "../builtins";
|
|
2
|
-
interface
|
|
3
|
-
context
|
|
2
|
+
export interface ResearchProductReviewQuery {
|
|
3
|
+
context: string;
|
|
4
4
|
localization?: IsoCountry;
|
|
5
5
|
}
|
|
6
|
-
interface ResearchProductReviewV1Query extends ResearchProductReviewBaseQuery {
|
|
7
|
-
search: string;
|
|
8
|
-
}
|
|
9
|
-
interface ResearchProductReviewV2Query extends ResearchProductReviewBaseQuery {
|
|
10
|
-
googleQueries: string[];
|
|
11
|
-
}
|
|
12
|
-
export type ResearchProductReviewQuery = ResearchProductReviewV1Query | ResearchProductReviewV2Query;
|
|
13
6
|
interface Data {
|
|
14
7
|
summary: string;
|
|
15
8
|
products: ResearchedProduct[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"researchProductReview.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/researchProductReview.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,oBAAyB;AAEpF,
|
|
1
|
+
{"version":3,"file":"researchProductReview.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/researchProductReview.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,oBAAyB;AAEpF,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,UAAU,CAAA;CAC1B;AAED,UAAU,IAAI;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,iBAAiB,EAAE,CAAA;CAC9B;AAED,MAAM,MAAM,6BAA6B,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"researchQueryRefinement.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/researchQueryRefinement.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"researchQueryRefinement.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/researchQueryRefinement.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,4BAA4B;IAC3C,cAAc,EAAE,MAAM,CAAA;CACvB;AAKD,MAAM,WAAW,+BAA+B;IAC9C,iBAAiB,EAAE,MAAM,CAAA;CAC1B"}
|