@searchspring/snap-store-mobx
Advanced tools
Comparing version 0.39.3 to 0.40.0
@@ -5,3 +5,3 @@ import { UrlManager } from '@searchspring/snap-url-manager'; | ||
import { StorageStore } from '../Storage/StorageStore'; | ||
import { AutocompleteStateStore, AutocompleteTermStore, AutocompleteQueryStore, AutocompleteFacetStore, AutocompleteTrendingStore } from './Stores'; | ||
import { AutocompleteStateStore, AutocompleteTermStore, AutocompleteQueryStore, AutocompleteFacetStore, AutocompleteTrendingStore, AutocompleteHistoryStore } from './Stores'; | ||
import type { AutocompleteResponseModel, MetaResponseModel } from '@searchspring/snapi-types'; | ||
@@ -24,6 +24,10 @@ import type { TrendingResponseModel } from '@searchspring/snap-client'; | ||
trending: AutocompleteTrendingStore; | ||
history: AutocompleteHistoryStore; | ||
constructor(config: AutocompleteStoreConfig, services: StoreServices); | ||
reset(): void; | ||
initHistory(): void; | ||
resetTrending(): void; | ||
resetHistory(): void; | ||
resetTerms(): void; | ||
resetSuggestions(): void; | ||
setService(name: keyof StoreServices, service: UrlManager): void; | ||
@@ -30,0 +34,0 @@ updateTrendingTerms(data: TrendingResponseModel): void; |
@@ -37,2 +37,4 @@ "use strict"; | ||
_this.trending = []; | ||
_this.history = []; | ||
_this.initHistory(); | ||
_this.reset(); | ||
@@ -55,4 +57,15 @@ (0, mobx_1.makeObservable)(_this, { | ||
this.update(); | ||
this.resetTrending(); | ||
this.resetTerms(); | ||
}; | ||
AutocompleteStore.prototype.initHistory = function () { | ||
var _this = this; | ||
var _a, _b, _c; | ||
var limit = (_b = (_a = this.config.settings) === null || _a === void 0 ? void 0 : _a.history) === null || _b === void 0 ? void 0 : _b.limit; | ||
if (limit) { | ||
var historyStore = new Stores_1.SearchHistoryStore({ siteId: (_c = this.config.globals) === null || _c === void 0 ? void 0 : _c.siteId }, this.services); | ||
this.history = new Stores_2.AutocompleteHistoryStore(this.services, historyStore.getStoredData(limit), function () { | ||
_this.resetTerms(); | ||
}, this.state); | ||
} | ||
}; | ||
AutocompleteStore.prototype.resetTrending = function () { | ||
@@ -66,3 +79,13 @@ var _a; | ||
}; | ||
AutocompleteStore.prototype.resetHistory = function () { | ||
this.history.forEach(function (term) { | ||
term.active = false; | ||
}); | ||
}; | ||
AutocompleteStore.prototype.resetTerms = function () { | ||
this.resetSuggestions(); | ||
this.resetTrending(); | ||
this.resetHistory(); | ||
}; | ||
AutocompleteStore.prototype.resetSuggestions = function () { | ||
var _a; | ||
@@ -103,3 +126,3 @@ (_a = this.terms) === null || _a === void 0 ? void 0 : _a.forEach(function (term) { | ||
this.terms = new Stores_2.AutocompleteTermStore(this.services, data.autocomplete || {}, data.pagination || {}, function () { | ||
_this.resetTrending(); | ||
_this.resetTerms(); | ||
}, this.state); | ||
@@ -106,0 +129,0 @@ // only lock if there was data |
@@ -6,2 +6,3 @@ export { AutocompleteFacetStore } from './AutocompleteFacetStore'; | ||
export { AutocompleteTrendingStore } from './AutocompleteTrendingStore'; | ||
export { AutocompleteHistoryStore } from './AutocompleteHistoryStore'; | ||
//# sourceMappingURL=index.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AutocompleteTrendingStore = exports.AutocompleteTermStore = exports.AutocompleteStateStore = exports.AutocompleteQueryStore = exports.AutocompleteFacetStore = void 0; | ||
exports.AutocompleteHistoryStore = exports.AutocompleteTrendingStore = exports.AutocompleteTermStore = exports.AutocompleteStateStore = exports.AutocompleteQueryStore = exports.AutocompleteFacetStore = void 0; | ||
var AutocompleteFacetStore_1 = require("./AutocompleteFacetStore"); | ||
@@ -14,1 +14,3 @@ Object.defineProperty(exports, "AutocompleteFacetStore", { enumerable: true, get: function () { return AutocompleteFacetStore_1.AutocompleteFacetStore; } }); | ||
Object.defineProperty(exports, "AutocompleteTrendingStore", { enumerable: true, get: function () { return AutocompleteTrendingStore_1.AutocompleteTrendingStore; } }); | ||
var AutocompleteHistoryStore_1 = require("./AutocompleteHistoryStore"); | ||
Object.defineProperty(exports, "AutocompleteHistoryStore", { enumerable: true, get: function () { return AutocompleteHistoryStore_1.AutocompleteHistoryStore; } }); |
@@ -0,3 +1,3 @@ | ||
import type { RecommendCombinedResponseModel } from '@searchspring/snap-client'; | ||
import type { StoreServices } from '../../types'; | ||
import type { RecommendCombinedResponseModel } from '@searchspring/snap-client'; | ||
export declare class RecommendationProfileStore { | ||
@@ -4,0 +4,0 @@ tag: string; |
import type { SearchResponseModel, MetaResponseModel } from '@searchspring/snapi-types'; | ||
import type { SearchStoreConfig, StoreServices } from '../types'; | ||
import { SearchMerchandisingStore, SearchFacetStore, SearchFilterStore, SearchResultStore, SearchPaginationStore, SearchSortingStore, SearchQueryStore } from './Stores'; | ||
import { SearchMerchandisingStore, SearchFacetStore, SearchFilterStore, SearchResultStore, SearchPaginationStore, SearchSortingStore, SearchQueryStore, SearchHistoryStore } from './Stores'; | ||
import { AbstractStore } from '../Abstract/AbstractStore'; | ||
@@ -17,2 +17,3 @@ import { StorageStore } from '../Storage/StorageStore'; | ||
storage: StorageStore; | ||
history: SearchHistoryStore; | ||
constructor(config: SearchStoreConfig, services: StoreServices); | ||
@@ -19,0 +20,0 @@ reset(): void; |
@@ -27,3 +27,3 @@ "use strict"; | ||
var _this = this; | ||
var _a; | ||
var _a, _b, _c, _d, _e, _f, _g; | ||
_this = _super.call(this, config) || this; | ||
@@ -35,2 +35,10 @@ if (typeof services != 'object' || typeof ((_a = services.urlManager) === null || _a === void 0 ? void 0 : _a.subscribe) != 'function') { | ||
_this.storage = new StorageStore_1.StorageStore(); | ||
var historyConfig = { | ||
url: (_c = (_b = _this.config.settings) === null || _b === void 0 ? void 0 : _b.history) === null || _c === void 0 ? void 0 : _c.url, | ||
max: (_e = (_d = _this.config.settings) === null || _d === void 0 ? void 0 : _d.history) === null || _e === void 0 ? void 0 : _e.max, | ||
}; | ||
if ((_f = _this.config.globals) === null || _f === void 0 ? void 0 : _f.siteId) { | ||
historyConfig.siteId = (_g = _this.config.globals) === null || _g === void 0 ? void 0 : _g.siteId; | ||
} | ||
_this.history = new Stores_1.SearchHistoryStore(historyConfig, _this.services); | ||
_this.update(); | ||
@@ -37,0 +45,0 @@ (0, mobx_1.makeObservable)(_this, { |
@@ -8,2 +8,3 @@ export { SearchMerchandisingStore, BannerContent, ContentType } from './SearchMerchandisingStore'; | ||
export { SearchQueryStore } from './SearchQueryStore'; | ||
export { SearchHistoryStore } from './SearchHistoryStore'; | ||
//# sourceMappingURL=index.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SearchQueryStore = exports.SearchSortingStore = exports.Banner = exports.Product = exports.SearchResultStore = exports.SearchPaginationStore = exports.Filter = exports.SearchFilterStore = exports.FacetRangeValue = exports.FacetHierarchyValue = exports.FacetValue = exports.RangeFacet = exports.ValueFacet = exports.SearchFacetStore = exports.ContentType = exports.SearchMerchandisingStore = void 0; | ||
exports.SearchHistoryStore = exports.SearchQueryStore = exports.SearchSortingStore = exports.Banner = exports.Product = exports.SearchResultStore = exports.SearchPaginationStore = exports.Filter = exports.SearchFilterStore = exports.FacetRangeValue = exports.FacetHierarchyValue = exports.FacetValue = exports.RangeFacet = exports.ValueFacet = exports.SearchFacetStore = exports.ContentType = exports.SearchMerchandisingStore = void 0; | ||
var SearchMerchandisingStore_1 = require("./SearchMerchandisingStore"); | ||
@@ -27,1 +27,3 @@ Object.defineProperty(exports, "SearchMerchandisingStore", { enumerable: true, get: function () { return SearchMerchandisingStore_1.SearchMerchandisingStore; } }); | ||
Object.defineProperty(exports, "SearchQueryStore", { enumerable: true, get: function () { return SearchQueryStore_1.SearchQueryStore; } }); | ||
var SearchHistoryStore_1 = require("./SearchHistoryStore"); | ||
Object.defineProperty(exports, "SearchHistoryStore", { enumerable: true, get: function () { return SearchHistoryStore_1.SearchHistoryStore; } }); |
@@ -16,2 +16,3 @@ import type { StoreServices } from '../../types'; | ||
landingPage?: SearchResponseModelMerchandisingCampaigns; | ||
personalized?: boolean; | ||
constructor(services: StoreServices, merchData: SearchResponseModelMerchandising); | ||
@@ -18,0 +19,0 @@ } |
@@ -51,2 +51,4 @@ "use strict"; | ||
} | ||
if (merchData.personalized) | ||
this.personalized = merchData.personalized; | ||
} | ||
@@ -53,0 +55,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import type { SearchStoreConfig, StoreServices } from '../../types'; | ||
import type { StoreConfigs, StoreServices } from '../../types'; | ||
import type { SearchResponseModelPagination, MetaResponseModel } from '@searchspring/snapi-types'; | ||
@@ -15,4 +15,4 @@ import type { UrlManager } from '@searchspring/snap-url-manager'; | ||
totalPages: number; | ||
controllerConfig: SearchStoreConfig; | ||
constructor(config: SearchStoreConfig, services: StoreServices, paginationData: SearchResponseModelPagination | undefined, meta: MetaResponseModel); | ||
controllerConfig: StoreConfigs; | ||
constructor(config: StoreConfigs, services: StoreServices, paginationData: SearchResponseModelPagination | undefined, meta: MetaResponseModel); | ||
get begin(): number; | ||
@@ -19,0 +19,0 @@ get end(): number; |
@@ -11,3 +11,3 @@ import type { UrlManager } from '@searchspring/snap-url-manager'; | ||
} | ||
declare class Query { | ||
export declare class Query { | ||
string: string; | ||
@@ -17,3 +17,2 @@ url: UrlManager; | ||
} | ||
export {}; | ||
//# sourceMappingURL=SearchQueryStore.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SearchQueryStore = void 0; | ||
exports.Query = exports.SearchQueryStore = void 0; | ||
var mobx_1 = require("mobx"); | ||
@@ -31,4 +31,5 @@ var SearchQueryStore = /** @class */ (function () { | ||
function Query(services, query) { | ||
var _a; | ||
this.string = query; | ||
this.url = services.urlManager.remove('page').remove('filter').set('query', this.string); | ||
this.url = (_a = services === null || services === void 0 ? void 0 : services.urlManager) === null || _a === void 0 ? void 0 : _a.remove('page').remove('filter').set('query', this.string); | ||
(0, mobx_1.makeObservable)(this, { | ||
@@ -40,1 +41,2 @@ string: mobx_1.observable, | ||
}()); | ||
exports.Query = Query; |
@@ -1,6 +0,6 @@ | ||
import type { SearchStoreConfig, AutocompleteStoreConfig, StoreServices } from '../../types'; | ||
import type { StoreServices, StoreConfigs } from '../../types'; | ||
import type { SearchResponseModelResult, SearchResponseModelPagination, SearchResponseModelMerchandising, SearchResponseModelResultMappings, SearchResponseModelMerchandisingContentInline, SearchResponseModelMerchandisingContentConfig } from '@searchspring/snapi-types'; | ||
export declare class SearchResultStore extends Array<Product | Banner> { | ||
static get [Symbol.species](): ArrayConstructor; | ||
constructor(config: SearchStoreConfig | AutocompleteStoreConfig, services: StoreServices, resultData?: SearchResponseModelResult[], paginationData?: SearchResponseModelPagination, merchData?: SearchResponseModelMerchandising); | ||
constructor(config: StoreConfigs, services: StoreServices, resultData?: SearchResponseModelResult[], paginationData?: SearchResponseModelPagination, merchData?: SearchResponseModelMerchandising); | ||
} | ||
@@ -7,0 +7,0 @@ export declare class Banner { |
@@ -23,2 +23,6 @@ import type { UrlManager } from '@searchspring/snap-url-manager'; | ||
}; | ||
history?: { | ||
url?: string; | ||
max?: number; | ||
}; | ||
}; | ||
@@ -65,2 +69,6 @@ }; | ||
}; | ||
history?: { | ||
limit: number; | ||
showResults?: boolean; | ||
}; | ||
}; | ||
@@ -67,0 +75,0 @@ }; |
@@ -5,3 +5,3 @@ import { UrlManager } from '@searchspring/snap-url-manager'; | ||
import { StorageStore } from '../Storage/StorageStore'; | ||
import { AutocompleteStateStore, AutocompleteTermStore, AutocompleteQueryStore, AutocompleteFacetStore, AutocompleteTrendingStore } from './Stores'; | ||
import { AutocompleteStateStore, AutocompleteTermStore, AutocompleteQueryStore, AutocompleteFacetStore, AutocompleteTrendingStore, AutocompleteHistoryStore } from './Stores'; | ||
import type { AutocompleteResponseModel, MetaResponseModel } from '@searchspring/snapi-types'; | ||
@@ -24,6 +24,10 @@ import type { TrendingResponseModel } from '@searchspring/snap-client'; | ||
trending: AutocompleteTrendingStore; | ||
history: AutocompleteHistoryStore; | ||
constructor(config: AutocompleteStoreConfig, services: StoreServices); | ||
reset(): void; | ||
initHistory(): void; | ||
resetTrending(): void; | ||
resetHistory(): void; | ||
resetTerms(): void; | ||
resetSuggestions(): void; | ||
setService(name: keyof StoreServices, service: UrlManager): void; | ||
@@ -30,0 +34,0 @@ updateTrendingTerms(data: TrendingResponseModel): void; |
import { makeObservable, observable } from 'mobx'; | ||
import { AbstractStore } from '../Abstract/AbstractStore'; | ||
import { SearchFilterStore, SearchResultStore, SearchMerchandisingStore, SearchPaginationStore, SearchSortingStore } from '../Search/Stores'; | ||
import { SearchFilterStore, SearchResultStore, SearchMerchandisingStore, SearchPaginationStore, SearchSortingStore, SearchHistoryStore, } from '../Search/Stores'; | ||
import { StorageStore } from '../Storage/StorageStore'; | ||
import { AutocompleteStateStore, AutocompleteTermStore, AutocompleteQueryStore, AutocompleteFacetStore, AutocompleteTrendingStore } from './Stores'; | ||
import { AutocompleteStateStore, AutocompleteTermStore, AutocompleteQueryStore, AutocompleteFacetStore, AutocompleteTrendingStore, AutocompleteHistoryStore, } from './Stores'; | ||
export class AutocompleteStore extends AbstractStore { | ||
@@ -16,2 +16,4 @@ constructor(config, services) { | ||
this.trending = []; | ||
this.history = []; | ||
this.initHistory(); | ||
this.reset(); | ||
@@ -33,4 +35,13 @@ makeObservable(this, { | ||
this.update(); | ||
this.resetTrending(); | ||
this.resetTerms(); | ||
} | ||
initHistory() { | ||
const limit = this.config.settings?.history?.limit; | ||
if (limit) { | ||
const historyStore = new SearchHistoryStore({ siteId: this.config.globals?.siteId }, this.services); | ||
this.history = new AutocompleteHistoryStore(this.services, historyStore.getStoredData(limit), () => { | ||
this.resetTerms(); | ||
}, this.state); | ||
} | ||
} | ||
resetTrending() { | ||
@@ -43,3 +54,13 @@ if (this.trending?.length) { | ||
} | ||
resetHistory() { | ||
this.history.forEach((term) => { | ||
term.active = false; | ||
}); | ||
} | ||
resetTerms() { | ||
this.resetSuggestions(); | ||
this.resetTrending(); | ||
this.resetHistory(); | ||
} | ||
resetSuggestions() { | ||
this.terms?.forEach((term) => { | ||
@@ -75,3 +96,3 @@ term.active = false; | ||
this.terms = new AutocompleteTermStore(this.services, data.autocomplete || {}, data.pagination || {}, () => { | ||
this.resetTrending(); | ||
this.resetTerms(); | ||
}, this.state); | ||
@@ -78,0 +99,0 @@ // only lock if there was data |
@@ -6,2 +6,3 @@ export { AutocompleteFacetStore } from './AutocompleteFacetStore'; | ||
export { AutocompleteTrendingStore } from './AutocompleteTrendingStore'; | ||
export { AutocompleteHistoryStore } from './AutocompleteHistoryStore'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -6,1 +6,2 @@ export { AutocompleteFacetStore } from './AutocompleteFacetStore'; | ||
export { AutocompleteTrendingStore } from './AutocompleteTrendingStore'; | ||
export { AutocompleteHistoryStore } from './AutocompleteHistoryStore'; |
@@ -0,3 +1,3 @@ | ||
import type { RecommendCombinedResponseModel } from '@searchspring/snap-client'; | ||
import type { StoreServices } from '../../types'; | ||
import type { RecommendCombinedResponseModel } from '@searchspring/snap-client'; | ||
export declare class RecommendationProfileStore { | ||
@@ -4,0 +4,0 @@ tag: string; |
import type { SearchResponseModel, MetaResponseModel } from '@searchspring/snapi-types'; | ||
import type { SearchStoreConfig, StoreServices } from '../types'; | ||
import { SearchMerchandisingStore, SearchFacetStore, SearchFilterStore, SearchResultStore, SearchPaginationStore, SearchSortingStore, SearchQueryStore } from './Stores'; | ||
import { SearchMerchandisingStore, SearchFacetStore, SearchFilterStore, SearchResultStore, SearchPaginationStore, SearchSortingStore, SearchQueryStore, SearchHistoryStore } from './Stores'; | ||
import { AbstractStore } from '../Abstract/AbstractStore'; | ||
@@ -17,2 +17,3 @@ import { StorageStore } from '../Storage/StorageStore'; | ||
storage: StorageStore; | ||
history: SearchHistoryStore; | ||
constructor(config: SearchStoreConfig, services: StoreServices); | ||
@@ -19,0 +20,0 @@ reset(): void; |
import { makeObservable, observable } from 'mobx'; | ||
import { SearchMerchandisingStore, SearchFacetStore, SearchFilterStore, SearchResultStore, SearchPaginationStore, SearchSortingStore, SearchQueryStore, } from './Stores'; | ||
import { SearchMerchandisingStore, SearchFacetStore, SearchFilterStore, SearchResultStore, SearchPaginationStore, SearchSortingStore, SearchQueryStore, SearchHistoryStore, } from './Stores'; | ||
import { AbstractStore } from '../Abstract/AbstractStore'; | ||
@@ -13,2 +13,10 @@ import { StorageStore } from '../Storage/StorageStore'; | ||
this.storage = new StorageStore(); | ||
const historyConfig = { | ||
url: this.config.settings?.history?.url, | ||
max: this.config.settings?.history?.max, | ||
}; | ||
if (this.config.globals?.siteId) { | ||
historyConfig.siteId = this.config.globals?.siteId; | ||
} | ||
this.history = new SearchHistoryStore(historyConfig, this.services); | ||
this.update(); | ||
@@ -15,0 +23,0 @@ makeObservable(this, { |
@@ -8,2 +8,3 @@ export { SearchMerchandisingStore, BannerContent, ContentType } from './SearchMerchandisingStore'; | ||
export { SearchQueryStore } from './SearchQueryStore'; | ||
export { SearchHistoryStore } from './SearchHistoryStore'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -8,1 +8,2 @@ export { SearchMerchandisingStore, ContentType } from './SearchMerchandisingStore'; | ||
export { SearchQueryStore } from './SearchQueryStore'; | ||
export { SearchHistoryStore } from './SearchHistoryStore'; |
@@ -16,2 +16,3 @@ import type { StoreServices } from '../../types'; | ||
landingPage?: SearchResponseModelMerchandisingCampaigns; | ||
personalized?: boolean; | ||
constructor(services: StoreServices, merchData: SearchResponseModelMerchandising); | ||
@@ -18,0 +19,0 @@ } |
@@ -32,2 +32,4 @@ export var ContentType; | ||
} | ||
if (merchData.personalized) | ||
this.personalized = merchData.personalized; | ||
} | ||
@@ -34,0 +36,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import type { SearchStoreConfig, StoreServices } from '../../types'; | ||
import type { StoreConfigs, StoreServices } from '../../types'; | ||
import type { SearchResponseModelPagination, MetaResponseModel } from '@searchspring/snapi-types'; | ||
@@ -15,4 +15,4 @@ import type { UrlManager } from '@searchspring/snap-url-manager'; | ||
totalPages: number; | ||
controllerConfig: SearchStoreConfig; | ||
constructor(config: SearchStoreConfig, services: StoreServices, paginationData: SearchResponseModelPagination | undefined, meta: MetaResponseModel); | ||
controllerConfig: StoreConfigs; | ||
constructor(config: StoreConfigs, services: StoreServices, paginationData: SearchResponseModelPagination | undefined, meta: MetaResponseModel); | ||
get begin(): number; | ||
@@ -19,0 +19,0 @@ get end(): number; |
@@ -11,3 +11,3 @@ import type { UrlManager } from '@searchspring/snap-url-manager'; | ||
} | ||
declare class Query { | ||
export declare class Query { | ||
string: string; | ||
@@ -17,3 +17,2 @@ url: UrlManager; | ||
} | ||
export {}; | ||
//# sourceMappingURL=SearchQueryStore.d.ts.map |
@@ -24,6 +24,6 @@ import { observable, makeObservable } from 'mobx'; | ||
} | ||
class Query { | ||
export class Query { | ||
constructor(services, query) { | ||
this.string = query; | ||
this.url = services.urlManager.remove('page').remove('filter').set('query', this.string); | ||
this.url = services?.urlManager?.remove('page').remove('filter').set('query', this.string); | ||
makeObservable(this, { | ||
@@ -30,0 +30,0 @@ string: observable, |
@@ -1,6 +0,6 @@ | ||
import type { SearchStoreConfig, AutocompleteStoreConfig, StoreServices } from '../../types'; | ||
import type { StoreServices, StoreConfigs } from '../../types'; | ||
import type { SearchResponseModelResult, SearchResponseModelPagination, SearchResponseModelMerchandising, SearchResponseModelResultMappings, SearchResponseModelMerchandisingContentInline, SearchResponseModelMerchandisingContentConfig } from '@searchspring/snapi-types'; | ||
export declare class SearchResultStore extends Array<Product | Banner> { | ||
static get [Symbol.species](): ArrayConstructor; | ||
constructor(config: SearchStoreConfig | AutocompleteStoreConfig, services: StoreServices, resultData?: SearchResponseModelResult[], paginationData?: SearchResponseModelPagination, merchData?: SearchResponseModelMerchandising); | ||
constructor(config: StoreConfigs, services: StoreServices, resultData?: SearchResponseModelResult[], paginationData?: SearchResponseModelPagination, merchData?: SearchResponseModelMerchandising); | ||
} | ||
@@ -7,0 +7,0 @@ export declare class Banner { |
@@ -23,2 +23,6 @@ import type { UrlManager } from '@searchspring/snap-url-manager'; | ||
}; | ||
history?: { | ||
url?: string; | ||
max?: number; | ||
}; | ||
}; | ||
@@ -65,2 +69,6 @@ }; | ||
}; | ||
history?: { | ||
limit: number; | ||
showResults?: boolean; | ||
}; | ||
}; | ||
@@ -67,0 +75,0 @@ }; |
{ | ||
"name": "@searchspring/snap-store-mobx", | ||
"version": "0.39.3", | ||
"version": "0.40.0", | ||
"description": "Snap MobX Store", | ||
@@ -23,8 +23,8 @@ "main": "dist/cjs/index.js", | ||
"dependencies": { | ||
"@searchspring/snap-toolbox": "^0.39.3", | ||
"@searchspring/snap-toolbox": "^0.40.0", | ||
"mobx": "^6.6.1" | ||
}, | ||
"devDependencies": { | ||
"@searchspring/snap-client": "^0.39.3", | ||
"@searchspring/snap-url-manager": "^0.39.3" | ||
"@searchspring/snap-client": "^0.40.0", | ||
"@searchspring/snap-url-manager": "^0.40.0" | ||
}, | ||
@@ -35,3 +35,3 @@ "sideEffects": false, | ||
], | ||
"gitHead": "b0c786549f24e0d1313163ef37d13db3320ec674" | ||
"gitHead": "ab543649e56e547374715ad0f018db29d72a0d8e" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
288562
171
5411
+ Added@searchspring/snap-toolbox@0.40.0(transitive)
- Removed@searchspring/snap-toolbox@0.39.3(transitive)