@wovvmap/map-data 0.0.0-stage → 1.2.1
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/README.md +85 -2
- package/dist/adapters/index.d.ts +12 -0
- package/dist/adapters/index.d.ts.map +1 -0
- package/dist/adapters/index.js +16 -0
- package/dist/adapters/sdkApiAdapter.d.ts +20 -0
- package/dist/adapters/sdkApiAdapter.d.ts.map +1 -0
- package/dist/adapters/sdkApiAdapter.js +31 -0
- package/dist/adapters/types.d.ts +84 -0
- package/dist/adapters/types.d.ts.map +1 -0
- package/dist/adapters/types.js +8 -0
- package/dist/cache/mallMapCache.types.d.ts +32 -0
- package/dist/cache/mallMapCache.types.d.ts.map +1 -0
- package/dist/cache/mallMapCache.types.js +1 -0
- package/dist/cache/memoryMallMapCache.d.ts +37 -0
- package/dist/cache/memoryMallMapCache.d.ts.map +1 -0
- package/dist/cache/memoryMallMapCache.js +44 -0
- package/dist/catalog/catalogIndexReadPort.d.ts +35 -0
- package/dist/catalog/catalogIndexReadPort.d.ts.map +1 -0
- package/dist/catalog/catalogIndexReadPort.js +1 -0
- package/dist/catalog/catalogReader.d.ts +496 -0
- package/dist/catalog/catalogReader.d.ts.map +1 -0
- package/dist/catalog/catalogReader.js +1799 -0
- package/dist/catalog/index.d.ts +9 -0
- package/dist/catalog/index.d.ts.map +1 -0
- package/dist/catalog/index.js +6 -0
- package/dist/catalog/offerAvailability.d.ts +25 -0
- package/dist/catalog/offerAvailability.d.ts.map +1 -0
- package/dist/catalog/offerAvailability.js +107 -0
- package/dist/controllers/mallController.d.ts +69 -0
- package/dist/controllers/mallController.d.ts.map +1 -0
- package/dist/controllers/mallController.js +92 -0
- package/dist/controllers/mallController.types.d.ts +10 -0
- package/dist/controllers/mallController.types.d.ts.map +1 -0
- package/dist/controllers/mallController.types.js +1 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +22 -0
- package/dist/indexer/nodeDataIndexer.types.d.ts +16 -0
- package/dist/indexer/nodeDataIndexer.types.d.ts.map +1 -0
- package/dist/indexer/nodeDataIndexer.types.js +1 -0
- package/dist/models/catalog.d.ts +2 -0
- package/dist/models/catalog.d.ts.map +1 -0
- package/dist/models/catalog.js +1 -0
- package/dist/models/floor.d.ts +16 -0
- package/dist/models/floor.d.ts.map +1 -0
- package/dist/models/floor.js +1 -0
- package/dist/models/mall.d.ts +29 -0
- package/dist/models/mall.d.ts.map +1 -0
- package/dist/models/mall.js +1 -0
- package/dist/parser/index.d.ts +3 -0
- package/dist/parser/index.d.ts.map +1 -0
- package/dist/parser/index.js +1 -0
- package/dist/parser/mapParser.types.d.ts +34 -0
- package/dist/parser/mapParser.types.d.ts.map +1 -0
- package/dist/parser/mapParser.types.js +1 -0
- package/dist/parser/mapParserService.d.ts +8 -0
- package/dist/parser/mapParserService.d.ts.map +1 -0
- package/dist/parser/mapParserService.js +61 -0
- package/dist/prepared/index.d.ts +3 -0
- package/dist/prepared/index.d.ts.map +1 -0
- package/dist/prepared/index.js +2 -0
- package/dist/prepared/preparedGeometryValidation.d.ts +6 -0
- package/dist/prepared/preparedGeometryValidation.d.ts.map +1 -0
- package/dist/prepared/preparedGeometryValidation.js +76 -0
- package/dist/prepared/preparedMapFields.d.ts +36 -0
- package/dist/prepared/preparedMapFields.d.ts.map +1 -0
- package/dist/prepared/preparedMapFields.js +205 -0
- package/dist/prepared/preparedMapReader.d.ts +68 -0
- package/dist/prepared/preparedMapReader.d.ts.map +1 -0
- package/dist/prepared/preparedMapReader.js +231 -0
- package/dist/prepared/preparedMapValidation.d.ts +23 -0
- package/dist/prepared/preparedMapValidation.d.ts.map +1 -0
- package/dist/prepared/preparedMapValidation.js +216 -0
- package/dist/search/catalogEndpointLookup.d.ts +23 -0
- package/dist/search/catalogEndpointLookup.d.ts.map +1 -0
- package/dist/search/catalogEndpointLookup.js +56 -0
- package/dist/search/catalogSearchService.d.ts +182 -0
- package/dist/search/catalogSearchService.d.ts.map +1 -0
- package/dist/search/catalogSearchService.js +653 -0
- package/dist/search/searchProfiles.d.ts +240 -0
- package/dist/search/searchProfiles.d.ts.map +1 -0
- package/dist/search/searchProfiles.js +364 -0
- package/dist/services/mallService.d.ts +82 -0
- package/dist/services/mallService.d.ts.map +1 -0
- package/dist/services/mallService.js +230 -0
- package/dist/services/mallService.types.d.ts +51 -0
- package/dist/services/mallService.types.d.ts.map +1 -0
- package/dist/services/mallService.types.js +1 -0
- package/dist/transport/fetchHttpClient.d.ts +25 -0
- package/dist/transport/fetchHttpClient.d.ts.map +1 -0
- package/dist/transport/fetchHttpClient.js +170 -0
- package/dist/transport/httpClient.types.d.ts +26 -0
- package/dist/transport/httpClient.types.d.ts.map +1 -0
- package/dist/transport/httpClient.types.js +1 -0
- package/dist/transport/httpTransportError.d.ts +25 -0
- package/dist/transport/httpTransportError.d.ts.map +1 -0
- package/dist/transport/httpTransportError.js +16 -0
- package/package.json +33 -3
|
@@ -0,0 +1,496 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file catalogReader.ts
|
|
3
|
+
* @description Focused, read-only `CatalogReadPort` adapter backed by the committed `ParsedMapResult`
|
|
4
|
+
* and `NodeDataIndexerService`. Serves bounded public pages for stores, categories, subcategories,
|
|
5
|
+
* amenities, and offers, multi-location group summaries/members, and indexed amenity floor availability
|
|
6
|
+
* without introducing a second writable catalog store or repeating full-map node scans.
|
|
7
|
+
*
|
|
8
|
+
* Hinglish: Committed `ParsedMapResult` aur `NodeDataIndexerService` ke existing O(1) indexes ke upar
|
|
9
|
+
* bana read-only `CatalogReadPort` adapter. Ye bina naye global writable store ya full-map node scan ke
|
|
10
|
+
* bounded public catalog pages, multi-location group details aur amenity floor availability return karta hai.
|
|
11
|
+
*/
|
|
12
|
+
import type { AmenityAvailabilityReadOptions, AmenityFloorAvailability, CatalogFilterInput, DiscoveryFilterRequest, DiscoveryState, CatalogGroupMembersPage, CatalogGroupMembersRequest, CatalogGroupReadOptions, CatalogPage, CatalogPaginationInput, CatalogReadPort, CatalogReadRequest, CatalogStoreRow, CatalogTarget, PublicAmenityData, PublicCategoryData, PublicNodeData, PublicNodeGroupData, PublicSubCategoryData } from '@wovvmap/contracts';
|
|
13
|
+
import type { CatalogIndexReadPort } from './catalogIndexReadPort.js';
|
|
14
|
+
import { OfferAvailability } from './offerAvailability.js';
|
|
15
|
+
import type { Amenity, Category, SubCategory } from '../models/catalog.js';
|
|
16
|
+
import type { ParsedMapResult } from '../parser/mapParser.types.js';
|
|
17
|
+
/**
|
|
18
|
+
* Default page size when `pagination.limit` is omitted.
|
|
19
|
+
* Jab `pagination.limit` na diya ho tab use hone wala default bounded page size.
|
|
20
|
+
*/
|
|
21
|
+
export declare const DEFAULT_CATALOG_PAGE_LIMIT = 50;
|
|
22
|
+
/**
|
|
23
|
+
* Maximum bounded page size allowed in a single catalog or group-member read.
|
|
24
|
+
* Ek single catalog ya group-member read me allowed maximum bounded page size.
|
|
25
|
+
*/
|
|
26
|
+
export declare const MAX_CATALOG_PAGE_LIMIT = 500;
|
|
27
|
+
/**
|
|
28
|
+
* Machine-readable error codes thrown when `readCatalog` rejects a stale revision,
|
|
29
|
+
* mismatched mall ID, unloaded catalog, or Phase 2 sort/search option.
|
|
30
|
+
*
|
|
31
|
+
* Hinglish: `readCatalog` me stale revision, mall ID mismatch, unloaded map ya Phase 2 sort/search
|
|
32
|
+
* option reject hone par milne wale error codes.
|
|
33
|
+
*/
|
|
34
|
+
export type CatalogReadErrorCode = 'NO_COMMITTED_MAP' | 'STALE_REVISION' | 'MALL_MISMATCH' | 'UNSUPPORTED_SORT_MODE' | 'UNSUPPORTED_SEARCH_QUERY' | 'UNSUPPORTED_FILTER_COMBINATION' | 'AMENITY_NOT_FOUND';
|
|
35
|
+
/**
|
|
36
|
+
* Deterministic error thrown when a catalog page read cannot be satisfied safely.
|
|
37
|
+
* Stale map revision, mall mismatch, unloaded catalog ya unsupported Phase 2 sort/search request par throw hone wala error.
|
|
38
|
+
*/
|
|
39
|
+
export declare class CatalogReadError extends Error {
|
|
40
|
+
readonly code: CatalogReadErrorCode;
|
|
41
|
+
readonly details?: Readonly<Record<string, unknown>>;
|
|
42
|
+
constructor(code: CatalogReadErrorCode, message: string, details?: Readonly<Record<string, unknown>>);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Minimal committed map source required by `CatalogReader`.
|
|
46
|
+
* Compatible with `ParsedMapResult` without duplicating node collections.
|
|
47
|
+
*
|
|
48
|
+
* Hinglish: `CatalogReader` ke liye required committed map source (`ParsedMapResult` ke saath seedha compatible).
|
|
49
|
+
*/
|
|
50
|
+
export interface CommittedCatalogSource {
|
|
51
|
+
mallId: string;
|
|
52
|
+
indexer: CatalogIndexReadPort;
|
|
53
|
+
categories?: Record<string, Category> | null;
|
|
54
|
+
subCategories?: Record<string, SubCategory> | null;
|
|
55
|
+
amenities?: Record<string, Amenity> | null;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Construction options for `CatalogReader`.
|
|
59
|
+
* `CatalogReader` initialize karne ke options.
|
|
60
|
+
*/
|
|
61
|
+
export interface CatalogReaderOptions {
|
|
62
|
+
/** Injectable clock for deterministic validity tests. / Hinglish: Validity tests ka explicit clock. */
|
|
63
|
+
now?: () => number;
|
|
64
|
+
parsedMap?: CommittedCatalogSource;
|
|
65
|
+
revision?: string | number;
|
|
66
|
+
defaultPageLimit?: number;
|
|
67
|
+
maxPageLimit?: number;
|
|
68
|
+
}
|
|
69
|
+
type StoreRowDescriptor = {
|
|
70
|
+
kind: 'store';
|
|
71
|
+
key: string;
|
|
72
|
+
} | {
|
|
73
|
+
kind: 'group';
|
|
74
|
+
groupId: string;
|
|
75
|
+
memberKeys: string[];
|
|
76
|
+
};
|
|
77
|
+
interface PreparedStoresQuery {
|
|
78
|
+
rowDescriptors: StoreRowDescriptor[];
|
|
79
|
+
totalRows: number;
|
|
80
|
+
totalMemberCount: number;
|
|
81
|
+
availableFloors: number[];
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Lightweight prepared taxonomy record cached per revision and filter criteria.
|
|
85
|
+
* Holds a compact public summary (without unbounded membership arrays) alongside internal
|
|
86
|
+
* references to `memberKeys` and `availableFloors` so search/eligibility checks never clone
|
|
87
|
+
* membership arrays per query.
|
|
88
|
+
*
|
|
89
|
+
* Hinglish: Revision aur filter ke hisab se cached lightweight taxonomy record; isme compact
|
|
90
|
+
* public summary aur internal `memberKeys`/`availableFloors` references rehte hain taaki har
|
|
91
|
+
* search query par membership arrays clone na hon.
|
|
92
|
+
*/
|
|
93
|
+
export interface PreparedTaxonomyRecord<TItem> {
|
|
94
|
+
readonly id: string;
|
|
95
|
+
readonly summary: Readonly<TItem>;
|
|
96
|
+
readonly memberKeys: readonly string[];
|
|
97
|
+
readonly availableFloors: readonly number[];
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Cached taxonomy summary set for a committed revision and filter criteria.
|
|
101
|
+
* Provides O(1) `eligibleIdSet` and `recordsById` lookup for `@wovvmap/sdk-web` taxonomy search
|
|
102
|
+
* without cloning public DTOs or membership arrays until the final paginated slice is materialized.
|
|
103
|
+
*
|
|
104
|
+
* Hinglish: Committed revision aur filter ke liye cached taxonomy summary set jo O(1)
|
|
105
|
+
* `eligibleIdSet` aur `recordsById` deta hai bina har search par DTO ya membership arrays clone kiye.
|
|
106
|
+
*/
|
|
107
|
+
export interface PreparedTaxonomySummary<TItem> {
|
|
108
|
+
readonly records: readonly PreparedTaxonomyRecord<TItem>[];
|
|
109
|
+
readonly recordsById: ReadonlyMap<string, PreparedTaxonomyRecord<TItem>>;
|
|
110
|
+
readonly eligibleIdSet: ReadonlySet<string>;
|
|
111
|
+
readonly totalRows: number;
|
|
112
|
+
readonly totalMemberCount: number;
|
|
113
|
+
readonly availableFloors: readonly number[];
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Opaque candidate state prepared before atomically swapping the active catalog revision.
|
|
117
|
+
* Ensures failed map/index preparation never mutates the active committed catalog.
|
|
118
|
+
*
|
|
119
|
+
* Hinglish: Active catalog swap karne se pehle prepare kiya gaya candidate state taaki
|
|
120
|
+
* preparation fail hone par active committed catalog kabhi corrupt na ho.
|
|
121
|
+
*/
|
|
122
|
+
export interface PreparedCatalogCommitCandidate {
|
|
123
|
+
readonly mallId: string;
|
|
124
|
+
readonly revision: string | number;
|
|
125
|
+
readonly nextSequence: number;
|
|
126
|
+
readonly state: InternalCommittedState;
|
|
127
|
+
}
|
|
128
|
+
interface OfferRowReference {
|
|
129
|
+
nodeKey: string;
|
|
130
|
+
offerIndex: number;
|
|
131
|
+
}
|
|
132
|
+
interface PreparedOffersQuery {
|
|
133
|
+
offerRefs: OfferRowReference[];
|
|
134
|
+
totalRows: number;
|
|
135
|
+
totalMemberCount: number;
|
|
136
|
+
availableFloors: number[];
|
|
137
|
+
}
|
|
138
|
+
interface ResolvedAmenityEntry {
|
|
139
|
+
canonicalKey: string;
|
|
140
|
+
publicId: string | number;
|
|
141
|
+
amenity: Amenity | null;
|
|
142
|
+
}
|
|
143
|
+
interface InternalCommittedState {
|
|
144
|
+
offers: OfferAvailability;
|
|
145
|
+
mallId: string;
|
|
146
|
+
revision: string | number;
|
|
147
|
+
indexer: CatalogIndexReadPort;
|
|
148
|
+
categories: Record<string, Category> | null;
|
|
149
|
+
subCategories: Record<string, SubCategory> | null;
|
|
150
|
+
amenities: Record<string, Amenity> | null;
|
|
151
|
+
amenityAliases: Map<string, ResolvedAmenityEntry>;
|
|
152
|
+
storesQueryCache: Map<string, PreparedStoresQuery>;
|
|
153
|
+
categoriesQueryCache: Map<string, PreparedTaxonomySummary<PublicCategoryData>>;
|
|
154
|
+
subCategoriesQueryCache: Map<string, PreparedTaxonomySummary<PublicSubCategoryData>>;
|
|
155
|
+
amenitiesQueryCache: Map<string, PreparedTaxonomySummary<PublicAmenityData>>;
|
|
156
|
+
offersQueryCache: Map<string, PreparedOffersQuery>;
|
|
157
|
+
}
|
|
158
|
+
export declare function clonePublicCategoryData(source: Readonly<PublicCategoryData>): PublicCategoryData;
|
|
159
|
+
export declare function clonePublicSubCategoryData(source: Readonly<PublicSubCategoryData>): PublicSubCategoryData;
|
|
160
|
+
export declare function clonePublicAmenityData(source: Readonly<PublicAmenityData>): PublicAmenityData;
|
|
161
|
+
/**
|
|
162
|
+
* Resolves the recommended canonical floor index for an amenity using the current-floor-first policy
|
|
163
|
+
* and floor-context fallback order (active floor -> lower floors descending -> upper floors ascending).
|
|
164
|
+
* Preserves `0` (ground floor) as a valid floor index.
|
|
165
|
+
*
|
|
166
|
+
* Hinglish: Current-floor-first rule ke hisab se amenity ka recommended floor nikalta hai:
|
|
167
|
+
* agar active floor par amenity hai to wahi floor (`0` samet), warna pehle niche ke floors descending
|
|
168
|
+
* order me aur phir upar ke floors ascending order me check karta hai.
|
|
169
|
+
*/
|
|
170
|
+
export declare function resolveRecommendedAmenityFloor(availableFloors: readonly number[], activeFloorIndex?: number): number | null;
|
|
171
|
+
/**
|
|
172
|
+
* Focused catalog read adapter implementing `CatalogReadPort` over a committed `ParsedMapResult`
|
|
173
|
+
* and `NodeDataIndexerService`.
|
|
174
|
+
*
|
|
175
|
+
* Hinglish: Committed `ParsedMapResult` aur `NodeDataIndexerService` ke indexes se public store,
|
|
176
|
+
* category, subcategory, amenity, offer aur group pages serve karne wala `CatalogReadPort` adapter.
|
|
177
|
+
*/
|
|
178
|
+
export declare class CatalogReader implements CatalogReadPort {
|
|
179
|
+
private committed;
|
|
180
|
+
private readonly now;
|
|
181
|
+
private offerTimer?;
|
|
182
|
+
private offerHandler?;
|
|
183
|
+
private revisionSequence;
|
|
184
|
+
private lifecycleEpoch;
|
|
185
|
+
private readonly defaultPageLimit;
|
|
186
|
+
private readonly maxPageLimit;
|
|
187
|
+
constructor(options?: CatalogReaderOptions);
|
|
188
|
+
/**
|
|
189
|
+
* Prepares a candidate catalog state and warms baseline taxonomy summaries WITHOUT mutating
|
|
190
|
+
* the currently active committed catalog or revision sequence. Used by `@wovvmap/sdk-web`
|
|
191
|
+
* to prepare candidate search indexes before atomically publishing the new map revision.
|
|
192
|
+
*
|
|
193
|
+
* Hinglish: Active committed catalog ya revision sequence ko mutate kiye bina candidate
|
|
194
|
+
* catalog state aur baseline taxonomy summaries prepare karta hai.
|
|
195
|
+
*/
|
|
196
|
+
prepareCommitCandidate(source: CommittedCatalogSource | ParsedMapResult, revision?: string | number): PreparedCatalogCommitCandidate;
|
|
197
|
+
/**
|
|
198
|
+
* Returns baseline (unfiltered) taxonomy summary documents for a prepared candidate state
|
|
199
|
+
* so candidate `SearchIndex` instances can be built before `applyCommitCandidate` is called.
|
|
200
|
+
*
|
|
201
|
+
* Hinglish: Prepared candidate state ke liye baseline taxonomy summaries return karta hai
|
|
202
|
+
* taaki `applyCommitCandidate` call hone se pehle candidate search indexes ban sakein.
|
|
203
|
+
*/
|
|
204
|
+
getCandidateTaxonomySummaries(candidate: PreparedCatalogCommitCandidate): {
|
|
205
|
+
readonly categories: readonly Readonly<PublicCategoryData>[];
|
|
206
|
+
readonly subCategories: readonly Readonly<PublicSubCategoryData>[];
|
|
207
|
+
readonly amenities: readonly Readonly<PublicAmenityData>[];
|
|
208
|
+
};
|
|
209
|
+
/**
|
|
210
|
+
* Atomically swaps the active committed catalog state to a previously prepared candidate.
|
|
211
|
+
*
|
|
212
|
+
* Hinglish: Pehle se prepare kiye gaye candidate state ko ek saath active committed catalog me swap karta hai.
|
|
213
|
+
*/
|
|
214
|
+
applyCommitCandidate(candidate: PreparedCatalogCommitCandidate): {
|
|
215
|
+
mallId: string;
|
|
216
|
+
revision: string | number;
|
|
217
|
+
};
|
|
218
|
+
/**
|
|
219
|
+
* Atomically commits a parsed map result as the active catalog source and advances the revision.
|
|
220
|
+
* Reads taxonomy definitions without copying node membership arrays (`includeMemberships: false`)
|
|
221
|
+
* because membership lookups are served directly from `NodeDataIndexerService`.
|
|
222
|
+
*
|
|
223
|
+
* Hinglish: Successfully parsed map result ko active catalog source ke roop me commit karta hai
|
|
224
|
+
* aur map revision update karta hai (bina `nodePoints` ya `nodePointsKey` arrays dobara copy kiye).
|
|
225
|
+
*/
|
|
226
|
+
commitMap(source: CommittedCatalogSource | ParsedMapResult, revision?: string | number): {
|
|
227
|
+
mallId: string;
|
|
228
|
+
revision: string | number;
|
|
229
|
+
};
|
|
230
|
+
/**
|
|
231
|
+
* Executes a replacement map load and swaps the committed catalog ONLY when the load succeeds
|
|
232
|
+
* and remains the active, un-cleared, un-superseded lifecycle epoch. Failed, aborted, cleared,
|
|
233
|
+
* or superseded loads retain the current committed state.
|
|
234
|
+
*
|
|
235
|
+
* Hinglish: Replacement map load execute karta hai aur sirf tab active catalog swap karta hai jab
|
|
236
|
+
* load succeed ho aur beech me `clear()`, `commitMap()`, ya naya `replaceFromLoad()` call na hua ho.
|
|
237
|
+
*/
|
|
238
|
+
replaceFromLoad<TSource extends CommittedCatalogSource | ParsedMapResult>(loadOperation: () => Promise<TSource> | TSource, options?: {
|
|
239
|
+
revision?: string | number;
|
|
240
|
+
isValid?: () => boolean;
|
|
241
|
+
signal?: AbortSignal;
|
|
242
|
+
}): Promise<{
|
|
243
|
+
mallId: string;
|
|
244
|
+
revision: string | number;
|
|
245
|
+
}>;
|
|
246
|
+
/**
|
|
247
|
+
* Clears the committed map reference on viewer teardown and invalidates any pending load continuation.
|
|
248
|
+
* Viewer teardown par committed catalog reference clear karta hai aur pending continuation invalidate karta hai.
|
|
249
|
+
*/
|
|
250
|
+
clear(): void;
|
|
251
|
+
/**
|
|
252
|
+
* Returns the currently committed mall identifier and map revision, or `null` when no map is loaded.
|
|
253
|
+
* Currently committed `mallId` aur `revision` return karta hai (map load na hone par `null`).
|
|
254
|
+
*/
|
|
255
|
+
getRevision(): {
|
|
256
|
+
mallId: string;
|
|
257
|
+
revision: string | number;
|
|
258
|
+
} | null;
|
|
259
|
+
/**
|
|
260
|
+
* Checks whether the provided `mallId` and `expectedRevision` match the currently committed catalog.
|
|
261
|
+
* Check karta hai ki diye gaye `mallId` aur `expectedRevision` current committed catalog se match karte hain ya nahi.
|
|
262
|
+
*/
|
|
263
|
+
isRevisionMatch(options?: {
|
|
264
|
+
mallId?: string;
|
|
265
|
+
expectedRevision?: string | number;
|
|
266
|
+
}): boolean;
|
|
267
|
+
/**
|
|
268
|
+
* Validates in O(1) that a map is currently committed and matches optional `mallId` and `expectedRevision`
|
|
269
|
+
* without resolving or copying any store keys. Throws `CatalogReadError` (`NO_COMMITTED_MAP`,
|
|
270
|
+
* `MALL_MISMATCH`, or `STALE_REVISION`) on mismatch.
|
|
271
|
+
*
|
|
272
|
+
* Hinglish: Bina kisi store keys ko resolve ya copy kiye O(1) me committed map, `mallId` aur `expectedRevision`
|
|
273
|
+
* validate karta hai aur mismatch par `CatalogReadError` throw karta hai.
|
|
274
|
+
*/
|
|
275
|
+
assertCommittedIdentity(options?: {
|
|
276
|
+
mallId?: string;
|
|
277
|
+
expectedRevision?: string | number;
|
|
278
|
+
}): {
|
|
279
|
+
mallId: string;
|
|
280
|
+
revision: string | number;
|
|
281
|
+
};
|
|
282
|
+
/** Resolve persistent membership through the same normalized indexes as catalog/search reads.
|
|
283
|
+
* Hinglish: List/search wale same evaluator se keys niklein; UI rows ya raw nodes scan na hon. */
|
|
284
|
+
resolveDiscoveryFilter(request: DiscoveryFilterRequest, activeFloorIndex?: number): {
|
|
285
|
+
state: DiscoveryState | null;
|
|
286
|
+
keys: readonly string[];
|
|
287
|
+
recommendedFloorIndex?: number | null;
|
|
288
|
+
};
|
|
289
|
+
/**
|
|
290
|
+
* Resolves candidate store node keys in deterministic map source order using `NodeDataIndexerService`
|
|
291
|
+
* membership indexes without scanning unrelated nodes. Shared by catalog store reads, group reads,
|
|
292
|
+
* and future Phase 2 search candidate preparation.
|
|
293
|
+
*
|
|
294
|
+
* Hinglish: `NodeDataIndexerService` ke O(1) membership indexes se map source order me matching
|
|
295
|
+
* store node keys return karta hai (bina full-map scan ke). Future search queries bhi yahi candidate keys reuse karengi.
|
|
296
|
+
*/
|
|
297
|
+
getCandidateStoreKeys(filter?: CatalogFilterInput, options?: {
|
|
298
|
+
mallId?: string;
|
|
299
|
+
expectedRevision?: string | number;
|
|
300
|
+
}): string[];
|
|
301
|
+
/**
|
|
302
|
+
* Returns the cached lightweight `PreparedTaxonomySummary<PublicCategoryData>` for the given filter
|
|
303
|
+
* without cloning summaries or membership arrays. Used by `@wovvmap/sdk-web` taxonomy search
|
|
304
|
+
* so only the final paginated slice is cloned.
|
|
305
|
+
*
|
|
306
|
+
* Hinglish: Filter ke liye cached lightweight `PreparedTaxonomySummary<PublicCategoryData>` return karta hai
|
|
307
|
+
* bina summaries ya membership arrays clone kiye.
|
|
308
|
+
*/
|
|
309
|
+
getPreparedCategoriesSummary(filter?: CatalogFilterInput, options?: {
|
|
310
|
+
mallId?: string;
|
|
311
|
+
expectedRevision?: string | number;
|
|
312
|
+
}): PreparedTaxonomySummary<PublicCategoryData>;
|
|
313
|
+
/**
|
|
314
|
+
* Returns the cached lightweight `PreparedTaxonomySummary<PublicSubCategoryData>` for the given filter
|
|
315
|
+
* without cloning summaries or membership arrays. Used by `@wovvmap/sdk-web` taxonomy search
|
|
316
|
+
* so only the final paginated slice is cloned.
|
|
317
|
+
*
|
|
318
|
+
* Hinglish: Filter ke liye cached lightweight `PreparedTaxonomySummary<PublicSubCategoryData>` return karta hai
|
|
319
|
+
* bina summaries ya membership arrays clone kiye.
|
|
320
|
+
*/
|
|
321
|
+
getPreparedSubCategoriesSummary(filter?: CatalogFilterInput, options?: {
|
|
322
|
+
mallId?: string;
|
|
323
|
+
expectedRevision?: string | number;
|
|
324
|
+
}): PreparedTaxonomySummary<PublicSubCategoryData>;
|
|
325
|
+
/**
|
|
326
|
+
* Returns the cached lightweight `PreparedTaxonomySummary<PublicAmenityData>` for the given filter
|
|
327
|
+
* without cloning summaries or membership arrays. Used by `@wovvmap/sdk-web` taxonomy search
|
|
328
|
+
* so only the final paginated slice is cloned.
|
|
329
|
+
*
|
|
330
|
+
* Hinglish: Filter ke liye cached lightweight `PreparedTaxonomySummary<PublicAmenityData>` return karta hai
|
|
331
|
+
* bina summaries ya membership arrays clone kiye.
|
|
332
|
+
*/
|
|
333
|
+
getPreparedAmenitiesSummary(filter?: CatalogFilterInput, options?: {
|
|
334
|
+
mallId?: string;
|
|
335
|
+
expectedRevision?: string | number;
|
|
336
|
+
}): PreparedTaxonomySummary<PublicAmenityData>;
|
|
337
|
+
/**
|
|
338
|
+
* Returns all eligible public category summaries for the given filter without page-size truncation,
|
|
339
|
+
* reusing the revision-scoped taxonomy query cache. Used by SDK search index preparation and filtered category search.
|
|
340
|
+
*
|
|
341
|
+
* Hinglish: Bina page-size truncation ke filter ke matching public category summaries return karta hai
|
|
342
|
+
* (revision-scoped taxonomy cache reuse karte hue).
|
|
343
|
+
*/
|
|
344
|
+
getEligibleCategories(filter?: CatalogFilterInput, options?: {
|
|
345
|
+
mallId?: string;
|
|
346
|
+
expectedRevision?: string | number;
|
|
347
|
+
}): PublicCategoryData[];
|
|
348
|
+
/**
|
|
349
|
+
* Returns all eligible public subcategory summaries for the given filter without page-size truncation,
|
|
350
|
+
* reusing the revision-scoped taxonomy query cache. Used by SDK search index preparation and filtered subcategory search.
|
|
351
|
+
*
|
|
352
|
+
* Hinglish: Bina page-size truncation ke filter ke matching public subcategory summaries return karta hai
|
|
353
|
+
* (revision-scoped taxonomy cache reuse karte hue).
|
|
354
|
+
*/
|
|
355
|
+
getEligibleSubCategories(filter?: CatalogFilterInput, options?: {
|
|
356
|
+
mallId?: string;
|
|
357
|
+
expectedRevision?: string | number;
|
|
358
|
+
}): PublicSubCategoryData[];
|
|
359
|
+
/**
|
|
360
|
+
* Returns all eligible public amenity summaries for the given filter without page-size truncation,
|
|
361
|
+
* reusing the revision-scoped taxonomy query cache. Used by SDK search index preparation and filtered amenity search.
|
|
362
|
+
*
|
|
363
|
+
* Hinglish: Bina page-size truncation ke filter ke matching public amenity summaries return karta hai
|
|
364
|
+
* (revision-scoped taxonomy cache reuse karte hue).
|
|
365
|
+
*/
|
|
366
|
+
getEligibleAmenities(filter?: CatalogFilterInput, options?: {
|
|
367
|
+
mallId?: string;
|
|
368
|
+
expectedRevision?: string | number;
|
|
369
|
+
}): PublicAmenityData[];
|
|
370
|
+
/**
|
|
371
|
+
* Resolves a cloned public `CatalogStoreRow` (`store` or `group`) for a single store key or a ranked
|
|
372
|
+
* multi-location group descriptor without repeating full-map scans or duplicating projection logic.
|
|
373
|
+
* Group rows in list/search pages use compact summaries (omitting unbounded `memberKeys` and `members`).
|
|
374
|
+
*
|
|
375
|
+
* Hinglish: Single store key ya ranked multi-location group descriptor ke liye fresh cloned public
|
|
376
|
+
* `CatalogStoreRow` (`store` ya `group`) resolve karta hai (compact group summary ke saath).
|
|
377
|
+
*/
|
|
378
|
+
resolvePublicStoreRow(descriptor: {
|
|
379
|
+
readonly kind: 'store';
|
|
380
|
+
readonly key: string;
|
|
381
|
+
} | {
|
|
382
|
+
readonly kind: 'group';
|
|
383
|
+
readonly groupId: string;
|
|
384
|
+
readonly memberKeys: readonly string[];
|
|
385
|
+
readonly representativeKey?: string;
|
|
386
|
+
readonly availableFloors?: readonly number[];
|
|
387
|
+
}, options?: {
|
|
388
|
+
mallId?: string;
|
|
389
|
+
expectedRevision?: string | number;
|
|
390
|
+
activeFloorIndex?: number;
|
|
391
|
+
}): CatalogStoreRow | null;
|
|
392
|
+
/**
|
|
393
|
+
* Collects sorted unique canonical floor indices for the given node keys using the committed indexer.
|
|
394
|
+
*
|
|
395
|
+
* Hinglish: Diye gaye node keys ke sorted unique canonical floor indices return karta hai.
|
|
396
|
+
*/
|
|
397
|
+
collectSortedFloorsForNodeKeys(keys: readonly string[], options?: {
|
|
398
|
+
mallId?: string;
|
|
399
|
+
expectedRevision?: string | number;
|
|
400
|
+
}): number[];
|
|
401
|
+
/**
|
|
402
|
+
* Reads a bounded page of public items for the requested catalog target.
|
|
403
|
+
* Preserves map source order as the deterministic baseline and rejects stale map revisions
|
|
404
|
+
* or unimplemented Phase 2 sort/search options rather than silently ignoring them.
|
|
405
|
+
*
|
|
406
|
+
* Hinglish: Requested catalog target ke liye bounded public page return karta hai.
|
|
407
|
+
* Map source order ko baseline rakhta hai aur stale revision ya Phase 2 sort/search options ko silently ignore karne ke bajay reject karta hai.
|
|
408
|
+
*/
|
|
409
|
+
readCatalog<TTarget extends CatalogTarget>(request: CatalogReadRequest<TTarget>): CatalogPage<TTarget>;
|
|
410
|
+
/**
|
|
411
|
+
* Resolves a multi-location store group summary by its stable `groupId`, scoped by optional
|
|
412
|
+
* revision, filter, and active floor. Returns `null` on revision mismatch or when no eligible
|
|
413
|
+
* store members match. Never reintroduces filtered-out members.
|
|
414
|
+
*
|
|
415
|
+
* Hinglish: Stable `groupId` se multi-location store group ka public summary return karta hai.
|
|
416
|
+
* Filter lagne par excluded members ko wapas include nahi karta aur stale revision par `null` deta hai.
|
|
417
|
+
*/
|
|
418
|
+
getStoreGroupById(groupId: string, options?: CatalogGroupReadOptions): PublicNodeGroupData | null;
|
|
419
|
+
/**
|
|
420
|
+
* Resolves canonical group member keys filtered by optional `filter` criteria from the committed group index
|
|
421
|
+
* without scanning the full map. Returns `null` on revision mismatch or when no eligible members match.
|
|
422
|
+
*
|
|
423
|
+
* Hinglish: Committed canonical group index se filter-eligible member keys resolve karta hai
|
|
424
|
+
* (bina full-map scan ke); stale revision ya 0 matching members par `null` deta hai.
|
|
425
|
+
*/
|
|
426
|
+
getEligibleGroupMemberKeys(groupId: string, options?: CatalogGroupReadOptions): string[] | null;
|
|
427
|
+
/**
|
|
428
|
+
* Materializes a bounded `CatalogGroupMembersPage` (`[offset, offset + limit)`) from an ordered list
|
|
429
|
+
* of eligible group member keys while computing `totalMemberCount` and `availableFloors` across all
|
|
430
|
+
* provided eligible keys.
|
|
431
|
+
*
|
|
432
|
+
* Hinglish: Eligible group member keys ki ordered list se bounded `CatalogGroupMembersPage` banata hai
|
|
433
|
+
* (`[offset, offset + limit)` slice ke saath) aur poori eligible group ka `totalMemberCount` aur `availableFloors` rakhta hai.
|
|
434
|
+
*/
|
|
435
|
+
buildGroupMembersPageFromKeys(groupId: string, eligibleGroupKeys: readonly string[], options?: {
|
|
436
|
+
mallId?: string;
|
|
437
|
+
expectedRevision?: string | number;
|
|
438
|
+
pagination?: CatalogPaginationInput;
|
|
439
|
+
}): CatalogGroupMembersPage | null;
|
|
440
|
+
/**
|
|
441
|
+
* Reads a bounded page of `PublicNodeData` member projections for a multi-location store group.
|
|
442
|
+
* Never reintroduces excluded members when a filter is supplied, and returns `null` on revision mismatch.
|
|
443
|
+
* `items`, `members`, and `memberKeys` are strictly bounded to `[offset, offset + limit)` while
|
|
444
|
+
* `totalMemberCount` and `availableFloors` reflect the complete eligible group.
|
|
445
|
+
* Note: Query-aware and sort-aware group member expansion belongs to `ViewerCatalogSearchService` (`@wovvmap/sdk-web`)
|
|
446
|
+
* using the prepared `@wovvmap/search-core` store index.
|
|
447
|
+
*
|
|
448
|
+
* Hinglish: Multi-location store group ke eligible members ka bounded `CatalogGroupMembersPage` return karta hai;
|
|
449
|
+
* filter me excluded members ko reintroduce nahi karta, `items`/`members`/`memberKeys` ko `[offset, offset + limit)`
|
|
450
|
+
* tak bounded rakhta hai aur stale revision par `null` deta hai.
|
|
451
|
+
*/
|
|
452
|
+
getGroupMembers(request: CatalogGroupMembersRequest): CatalogGroupMembersPage | null;
|
|
453
|
+
/**
|
|
454
|
+
* Evaluates indexed floor availability for an amenity relative to `activeFloorIndex` in O(1) time.
|
|
455
|
+
* Uses the current-floor-first rule (keeping `activeFloorIndex` when available on that floor,
|
|
456
|
+
* including ground floor `0`) without mutating floor, selection, or camera state.
|
|
457
|
+
*
|
|
458
|
+
* Hinglish: Active floor (`0` samet) ke hisab se amenity ki floor availability aur recommended floor
|
|
459
|
+
* bina kisi side effect ya full node scan ke return karta hai.
|
|
460
|
+
*/
|
|
461
|
+
getAmenityFloorAvailability(amenityId: string | number, options?: AmenityAvailabilityReadOptions): AmenityFloorAvailability | null;
|
|
462
|
+
/** Active public details share catalog eligibility; raw/pending offers stay in prepared metadata only.
|
|
463
|
+
* Hinglish: Selection/card ko wahi active public offers milein; second date logic nahi. */
|
|
464
|
+
getPublicNodeByKey(key: string): Readonly<PublicNodeData> | undefined;
|
|
465
|
+
/** Existing indexed offer boundary, for time-sensitive result leases; does not create a timer or scan nodes.
|
|
466
|
+
* Hinglish: Offer-filtered route ki expiry wahi ready clock se mile; alag date logic/loop nahi. */
|
|
467
|
+
getNextOfferChangeAt(): number | undefined;
|
|
468
|
+
/** One owner callback/timer for offer transitions, not a timer or watcher per component.
|
|
469
|
+
* Hinglish: SDK ek handler bind kare; dates badlein to sirf catalog/highlight update ho. */
|
|
470
|
+
setOfferChangeHandler(handler: (() => void) | undefined): void;
|
|
471
|
+
refreshOffers(): void;
|
|
472
|
+
private scheduleOfferChange;
|
|
473
|
+
private assertValidCommittedState;
|
|
474
|
+
private assertSupportedPhase1BaselineRequest;
|
|
475
|
+
private resolveFilteredStoreKeys;
|
|
476
|
+
private readStoresPage;
|
|
477
|
+
private prepareCategoriesSummary;
|
|
478
|
+
private readCategoriesPage;
|
|
479
|
+
private prepareSubCategoriesSummary;
|
|
480
|
+
private readSubCategoriesPage;
|
|
481
|
+
private prepareAmenitiesSummary;
|
|
482
|
+
private readAmenitiesPage;
|
|
483
|
+
private readOffersPage;
|
|
484
|
+
private resolveEligibleGroupMemberKeys;
|
|
485
|
+
private buildPublicNodeGroupData;
|
|
486
|
+
private filterMemberKeysByCriteria;
|
|
487
|
+
private collectSortedFloorsForKeys;
|
|
488
|
+
private resolveCanonicalAmenityEntry;
|
|
489
|
+
}
|
|
490
|
+
/**
|
|
491
|
+
* Factory creating a `CatalogReader` instance implementing `CatalogReadPort`.
|
|
492
|
+
* `CatalogReadPort` implement karne wala `CatalogReader` instance banane ka factory function.
|
|
493
|
+
*/
|
|
494
|
+
export declare function createCatalogReader(options?: CatalogReaderOptions): CatalogReader;
|
|
495
|
+
export {};
|
|
496
|
+
//# sourceMappingURL=catalogReader.d.ts.map
|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