u
This commit is contained in:
@@ -29,11 +29,19 @@ export {
|
||||
export { default as supplierAutomat } from './supplierAutomat';
|
||||
export { default as warehouseAutomat } from './warehouseAutomat';
|
||||
|
||||
/** Article search over the cached index (replaces StorageManager.doSearch). */
|
||||
/** Article search over the derived index (replaces StorageManager.doSearch). */
|
||||
export { default as articleSearchAutomat, selectSearchResult } from './articleSearchAutomat';
|
||||
|
||||
/** Company-scoped list stores (replaced the old StorageManager caches). */
|
||||
export { default as articleIndexAutomat, setArticleIndexName } from './articleIndexAutomat';
|
||||
/**
|
||||
* Derived article search index: the union of every loaded category view.
|
||||
* Replaces the former `GET /api/articleIndex` list store.
|
||||
*/
|
||||
export {
|
||||
default as articleIndexAutomat,
|
||||
setArticleIndexName,
|
||||
buildArticleIndex,
|
||||
selectArticleIndexItems,
|
||||
} from './articleIndexAutomat';
|
||||
export { default as deliveryAutomat } from './deliveryAutomat';
|
||||
export { default as quoteAutomat } from './quoteAutomat';
|
||||
export { default as orderAutomat } from './orderAutomat';
|
||||
@@ -90,14 +98,28 @@ export {
|
||||
categoryDisplayName,
|
||||
categorySlug,
|
||||
normalizeCategoryMap,
|
||||
categoryViews,
|
||||
getOrCreateCategoryAutomat,
|
||||
disposeAllCategoryViewAutomats,
|
||||
invalidateAllCategoryViews,
|
||||
getCategoryState,
|
||||
whenCategoryTreeReady,
|
||||
} from './categoryAutomat';
|
||||
|
||||
/**
|
||||
* Per-category article views keyed by slug path, warmed in bulk by
|
||||
* `categoryAutomat.loadTree()` once the tree succeeded.
|
||||
*/
|
||||
export {
|
||||
default as categoryViews,
|
||||
attachCategoryTree,
|
||||
categoryViewSlugPath,
|
||||
collectLoadedCategoryViewData,
|
||||
loadAllCategoryViews,
|
||||
reloadLoadedCategoryViews,
|
||||
getOrCreateCategoryAutomat,
|
||||
disposeAllCategoryViewAutomats,
|
||||
invalidateAllCategoryViews,
|
||||
refreshCategoryViewChildren,
|
||||
appendArticlesToCategoryViews,
|
||||
} from './categoryViewAutomat';
|
||||
|
||||
export { default as articleHistoryGridAutomat } from './articleHistoryAutomat';
|
||||
export { default as globalHistoryGridAutomat } from './globalHistoryAutomat';
|
||||
|
||||
@@ -167,7 +189,6 @@ export {
|
||||
* ----------------------------------------------------------------------------
|
||||
* Built with the shared list factory with deduplicated `load()`, silent `reload()`,
|
||||
* and automatic synchronization with `authAutomat`:
|
||||
* - `articleIndexAutomat`: Fast client-side search index (`GET /api/articleIndex`).
|
||||
* - `deliveryAutomat`: Delivery receipt list (`GET /api/delivery`).
|
||||
* - `quoteAutomat`: Sales quotes / Angebote (`GET /api/quote`).
|
||||
* - `orderAutomat`: Sales orders / Bestellungen (`GET /api/order`).
|
||||
@@ -177,6 +198,8 @@ export {
|
||||
*
|
||||
* 6. Search & Infinite-Scroll Grid Automats
|
||||
* ----------------------------------------------------------------------------
|
||||
* - `articleIndexAutomat`: Fast client-side search index, **derived** from the loaded
|
||||
* category views (`GET /api/category/:id/articles`) — no dedicated index endpoint.
|
||||
* - `articleSearchAutomat`: Client-side search engine querying `articleIndexAutomat`.
|
||||
* - `articleHistoryGridAutomat`: Virtualized infinite-scroll grid for article history.
|
||||
* - `globalHistoryGridAutomat`: Virtualized infinite-scroll grid for global audit logs.
|
||||
|
||||
Reference in New Issue
Block a user