@simpleapps-com/augur-hooks 2.0.9 → 2.0.11
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/EXPORTS.md +217 -0
- package/llms.txt +199 -0
- package/package.json +6 -4
package/EXPORTS.md
ADDED
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
# @simpleapps-com/augur-hooks exports
|
|
2
|
+
|
|
3
|
+
Version: 2.0.9
|
|
4
|
+
|
|
5
|
+
> Auto-generated from built type declarations. Do not edit manually.
|
|
6
|
+
> Regenerate with: `pnpm run generate-exports`
|
|
7
|
+
|
|
8
|
+
## `@simpleapps-com/augur-hooks`
|
|
9
|
+
|
|
10
|
+
### Values
|
|
11
|
+
|
|
12
|
+
| Export | Kind | Description |
|
|
13
|
+
|--------|------|-------------|
|
|
14
|
+
| `AugurApiClient` | value | |
|
|
15
|
+
| `AugurAuthContext` | value | |
|
|
16
|
+
| `AugurCallbacks` | value | |
|
|
17
|
+
| `AugurHooksProvider` | value | |
|
|
18
|
+
| `AugurSiteConfig` | value | |
|
|
19
|
+
| `AugurSiteDefaults` | value | |
|
|
20
|
+
| `AugurSiteFormatting` | value | |
|
|
21
|
+
| `BatchInvMastDocParam` | value | |
|
|
22
|
+
| `CacheConfig` | value | |
|
|
23
|
+
| `CacheProvider` | value | |
|
|
24
|
+
| `CacheTierConfig` | value | |
|
|
25
|
+
| `DeepQueryOptions` | value | |
|
|
26
|
+
| `DerivePriceInput` | value | |
|
|
27
|
+
| `DerivedPrice` | value | |
|
|
28
|
+
| `EdgeCacheValue` | value | |
|
|
29
|
+
| `GetItemCategoryApiOptions` | value | |
|
|
30
|
+
| `InfiniteScrollPage` | value | |
|
|
31
|
+
| `PageData` | value | |
|
|
32
|
+
| `PersistenceConfig` | value | |
|
|
33
|
+
| `ProxyMutationOptions` | value | |
|
|
34
|
+
| `ProxyQueryOptions` | value | |
|
|
35
|
+
| `ResolveStockInput` | value | |
|
|
36
|
+
| `ResolvedStock` | value | |
|
|
37
|
+
| `SearchSuggestion` | value | |
|
|
38
|
+
| `SearchSuggestionsResponse` | value | |
|
|
39
|
+
| `createSiteHooks` | function | Creates a pre-configured provider component and re-exports all hooks. |
|
|
40
|
+
| `executeBatchQuery` | function | |
|
|
41
|
+
| `getBatchInvMastDocKey` | function | |
|
|
42
|
+
| `getBatchInvMastDocOptions` | value | |
|
|
43
|
+
| `getCartPricingQueryOptions` | value | |
|
|
44
|
+
| `getCategoryItemsInfiniteKey` | value | |
|
|
45
|
+
| `getCategoryItemsInfiniteOptions` | value | |
|
|
46
|
+
| `getCustomerInvoiceDetailKey` | value | |
|
|
47
|
+
| `getCustomerInvoicesKey` | value | |
|
|
48
|
+
| `getCustomerOrderDetailKey` | value | |
|
|
49
|
+
| `getCustomerOrdersKey` | value | |
|
|
50
|
+
| `getCustomerQuoteDetailKey` | value | |
|
|
51
|
+
| `getCustomerQuotesKey` | value | |
|
|
52
|
+
| `getInvMastDocKey` | value | |
|
|
53
|
+
| `getInvMastDocOptions` | value | |
|
|
54
|
+
| `getInvMastKey` | value | |
|
|
55
|
+
| `getInvMastOptions` | value | |
|
|
56
|
+
| `getInvMastStockKey` | function | |
|
|
57
|
+
| `getInvMastStockOptions` | value | |
|
|
58
|
+
| `getItemAttributesKey` | value | |
|
|
59
|
+
| `getItemAttributesOptions` | value | |
|
|
60
|
+
| `getItemCategoryKey` | value | |
|
|
61
|
+
| `getItemCategoryOptions` | value | |
|
|
62
|
+
| `getItemDetailsKey` | value | |
|
|
63
|
+
| `getItemDetailsOptions` | value | |
|
|
64
|
+
| `getItemPriceKey` | value | |
|
|
65
|
+
| `getItemPriceOptions` | value | |
|
|
66
|
+
| `getItemSearchInfiniteKey` | value | |
|
|
67
|
+
| `getItemSearchInfiniteOptions` | value | |
|
|
68
|
+
| `getJoomlaContentKey` | value | |
|
|
69
|
+
| `getJoomlaContentListKey` | value | |
|
|
70
|
+
| `getJoomlaContentListOptions` | value | |
|
|
71
|
+
| `getJoomlaContentOptions` | value | |
|
|
72
|
+
| `getJoomlaMenuDocKey` | value | |
|
|
73
|
+
| `getJoomlaMenuDocOptions` | value | |
|
|
74
|
+
| `getJoomlaMenuKey` | value | |
|
|
75
|
+
| `getJoomlaMenuOptions` | value | |
|
|
76
|
+
| `getProductCategoryKey` | value | |
|
|
77
|
+
| `getProductCategoryOptions` | value | |
|
|
78
|
+
| `getProductSearchKey` | value | |
|
|
79
|
+
| `getProductSearchOptions` | value | |
|
|
80
|
+
| `getSearchSuggestionsKey` | value | |
|
|
81
|
+
| `getSearchSuggestionsOptions` | value | |
|
|
82
|
+
| `getStockKey` | value | |
|
|
83
|
+
| `getStockOptions` | value | |
|
|
84
|
+
| `useAugurApi` | value | |
|
|
85
|
+
| `useAugurAuth` | value | |
|
|
86
|
+
| `useAugurCache` | value | |
|
|
87
|
+
| `useAugurOptions` | value | |
|
|
88
|
+
| `useAugurPersistence` | function | Returns a fully configured `persistOptions` object for use with |
|
|
89
|
+
| `useAugurSite` | value | |
|
|
90
|
+
| `useBatchInvMastDoc` | function | Fetches and caches multiple inventory master documents in a single batch. |
|
|
91
|
+
| `useCartActions` | function | Optimistic cart actions hook with automatic rollback on failure. |
|
|
92
|
+
| `useCartHdrUid` | const | Select the current cart header UID. |
|
|
93
|
+
| `useCartInitialization` | function | Initialize cart state from session (authenticated) or cookie (guest). |
|
|
94
|
+
| `useCartLineCount` | const | Select the number of distinct line items in the cart. |
|
|
95
|
+
| `useCartLines` | const | Select the current cart line items array. |
|
|
96
|
+
| `useCartPricing` | function | Centralized hook for cart/checkout pricing. |
|
|
97
|
+
| `useCartQuantityTotal` | const | Select the total quantity summed across all cart lines. |
|
|
98
|
+
| `useCartStore` | const | Zustand store for cart state. Prefer the individual selector hooks below for optimal re-renders. |
|
|
99
|
+
| `useCategoryItemsInfinite` | function | Infinite scroll for category product listings. |
|
|
100
|
+
| `useClearCart` | const | Get the `clearCart` action (stable reference). |
|
|
101
|
+
| `useCustomerInvoices` | function | |
|
|
102
|
+
| `useCustomerOrders` | function | |
|
|
103
|
+
| `useCustomerQuotes` | function | |
|
|
104
|
+
| `useDebounce` | function | Debounces a rapidly-changing value. |
|
|
105
|
+
| `useFormatPrice` | function | Hook that returns a price formatter. |
|
|
106
|
+
| `useInvMast` | function | |
|
|
107
|
+
| `useInvMastDoc` | function | Fetches and caches an inventory master document via the augur-api SDK. |
|
|
108
|
+
| `useInvMastStock` | function | |
|
|
109
|
+
| `useInvoiceDetail` | function | |
|
|
110
|
+
| `useItemAttributes` | function | |
|
|
111
|
+
| `useItemCategory` | function | Fetches and caches item category data via the augur-api SDK. |
|
|
112
|
+
| `useItemDetails` | function | |
|
|
113
|
+
| `useItemFiltersStore` | const | Zustand store for item list filters, sorting, and pagination state. |
|
|
114
|
+
| `useItemPrice` | function | Fetches and caches item pricing via the augur-api SDK. |
|
|
115
|
+
| `useItemSearchInfinite` | function | Infinite scroll for search results. |
|
|
116
|
+
| `useJoomlaContent` | function | |
|
|
117
|
+
| `useJoomlaContentList` | function | |
|
|
118
|
+
| `useJoomlaMenu` | function | |
|
|
119
|
+
| `useJoomlaMenuDoc` | function | |
|
|
120
|
+
| `useOrderDetail` | function | |
|
|
121
|
+
| `usePaginationPrefetch` | const | Prefetch adjacent pages on hover for instant pagination. |
|
|
122
|
+
| `useProductCategory` | function | |
|
|
123
|
+
| `useProductSearch` | function | Searches products via the augur-api OpenSearch endpoint. |
|
|
124
|
+
| `useQuoteDetail` | function | |
|
|
125
|
+
| `useSearchSuggestions` | function | Fetches search suggestions via the augur-api OpenSearch endpoint. |
|
|
126
|
+
| `useSetCartHdrUid` | const | Get the `setCartHdrUid` action (stable reference). |
|
|
127
|
+
| `useSetCartLines` | const | Get the `setCartLines` action (stable reference). Also recomputes totals. |
|
|
128
|
+
| `useStock` | function | Fetches full TStock data and resolves it into a normalized stock object. |
|
|
129
|
+
|
|
130
|
+
### Types
|
|
131
|
+
|
|
132
|
+
`BatchQueryConfig`, `CartActionCallbacks`, `CartInitCallbacks`, `CartPriceData`, `CartPricingResult`, `CartSessionInfo`, `CreateSiteHooksConfig`, `FormatPriceCallOptions`, `UseFormatPriceOptions`, `UseStockOptions`
|
|
133
|
+
|
|
134
|
+
```ts
|
|
135
|
+
import { AugurApiClient, AugurAuthContext, AugurCallbacks } from "@simpleapps-com/augur-hooks";
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
## `@simpleapps-com/augur-hooks/server`
|
|
139
|
+
|
|
140
|
+
### Values
|
|
141
|
+
|
|
142
|
+
| Export | Kind | Description |
|
|
143
|
+
|--------|------|-------------|
|
|
144
|
+
| `AugurAuthContext` | value | |
|
|
145
|
+
| `CacheConfig` | value | |
|
|
146
|
+
| `InfiniteScrollPage` | value | |
|
|
147
|
+
| `createAugurOptions` | function | Creates server-side query options proxy for prefetching. |
|
|
148
|
+
| `executeBatchQuery` | function | |
|
|
149
|
+
| `getBatchInvMastDocKey` | function | |
|
|
150
|
+
| `getBatchInvMastDocOptions` | value | |
|
|
151
|
+
| `getCartPricingQueryOptions` | value | |
|
|
152
|
+
| `getCategoryItemsInfiniteKey` | value | |
|
|
153
|
+
| `getCategoryItemsInfiniteOptions` | value | |
|
|
154
|
+
| `getCustomerInvoiceDetailKey` | value | |
|
|
155
|
+
| `getCustomerInvoicesKey` | value | |
|
|
156
|
+
| `getCustomerOrderDetailKey` | value | |
|
|
157
|
+
| `getCustomerOrdersKey` | value | |
|
|
158
|
+
| `getCustomerQuoteDetailKey` | value | |
|
|
159
|
+
| `getCustomerQuotesKey` | value | |
|
|
160
|
+
| `getInvMastDocKey` | value | |
|
|
161
|
+
| `getInvMastDocOptions` | value | |
|
|
162
|
+
| `getInvMastKey` | value | |
|
|
163
|
+
| `getInvMastOptions` | value | |
|
|
164
|
+
| `getInvMastStockKey` | function | |
|
|
165
|
+
| `getInvMastStockOptions` | value | |
|
|
166
|
+
| `getItemAttributesKey` | value | |
|
|
167
|
+
| `getItemAttributesOptions` | value | |
|
|
168
|
+
| `getItemCategoryKey` | value | |
|
|
169
|
+
| `getItemCategoryOptions` | value | |
|
|
170
|
+
| `getItemDetailsKey` | value | |
|
|
171
|
+
| `getItemDetailsOptions` | value | |
|
|
172
|
+
| `getItemPriceKey` | value | |
|
|
173
|
+
| `getItemPriceOptions` | value | |
|
|
174
|
+
| `getItemSearchInfiniteKey` | value | |
|
|
175
|
+
| `getItemSearchInfiniteOptions` | value | |
|
|
176
|
+
| `getJoomlaContentKey` | value | |
|
|
177
|
+
| `getJoomlaContentListKey` | value | |
|
|
178
|
+
| `getJoomlaContentListOptions` | value | |
|
|
179
|
+
| `getJoomlaContentOptions` | value | |
|
|
180
|
+
| `getJoomlaMenuDocKey` | value | |
|
|
181
|
+
| `getJoomlaMenuDocOptions` | value | |
|
|
182
|
+
| `getJoomlaMenuKey` | value | |
|
|
183
|
+
| `getJoomlaMenuOptions` | value | |
|
|
184
|
+
| `getProductCategoryKey` | value | |
|
|
185
|
+
| `getProductCategoryOptions` | value | |
|
|
186
|
+
| `getProductSearchKey` | value | |
|
|
187
|
+
| `getProductSearchOptions` | value | |
|
|
188
|
+
| `getQueryClient` | const | Returns a per-request singleton QueryClient for React Server Components. |
|
|
189
|
+
| `getSearchSuggestionsKey` | value | |
|
|
190
|
+
| `getSearchSuggestionsOptions` | value | |
|
|
191
|
+
| `getStockKey` | value | |
|
|
192
|
+
| `getStockOptions` | value | |
|
|
193
|
+
| `stableStringify` | value | |
|
|
194
|
+
|
|
195
|
+
### Types
|
|
196
|
+
|
|
197
|
+
`AugurApiClient`, `AugurCallbacks`, `BatchInvMastDocParam`, `BatchQueryConfig`, `PageData`
|
|
198
|
+
|
|
199
|
+
```ts
|
|
200
|
+
import { AugurAuthContext, CacheConfig, InfiniteScrollPage } from "@simpleapps-com/augur-hooks/server";
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
## `@simpleapps-com/augur-hooks/web`
|
|
204
|
+
|
|
205
|
+
### Values
|
|
206
|
+
|
|
207
|
+
| Export | Kind | Description |
|
|
208
|
+
|--------|------|-------------|
|
|
209
|
+
| `MobileProvider` | function | Optional provider that tracks hydration state. |
|
|
210
|
+
| `useImageWithFallback` | function | |
|
|
211
|
+
| `useIsHydrated` | function | Returns true only after the client has hydrated. |
|
|
212
|
+
| `useIsMobile` | function | Returns whether the screen is mobile-sized. |
|
|
213
|
+
| `useMobileOptimizedIntersection` | const | IntersectionObserver hook with mobile-optimized root margins. |
|
|
214
|
+
|
|
215
|
+
```ts
|
|
216
|
+
import { MobileProvider, useImageWithFallback, useIsHydrated } from "@simpleapps-com/augur-hooks/web";
|
|
217
|
+
```
|
package/llms.txt
ADDED
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
# @simpleapps-com/augur-hooks
|
|
2
|
+
|
|
3
|
+
> Cross-platform React Query hooks and Zustand stores for Augur ecommerce sites
|
|
4
|
+
|
|
5
|
+
Version: 2.0.9
|
|
6
|
+
|
|
7
|
+
## @simpleapps-com/augur-hooks
|
|
8
|
+
|
|
9
|
+
- value: AugurApiClient
|
|
10
|
+
- value: AugurAuthContext
|
|
11
|
+
- value: AugurCallbacks
|
|
12
|
+
- value: AugurHooksProvider
|
|
13
|
+
- value: AugurSiteConfig
|
|
14
|
+
- value: AugurSiteDefaults
|
|
15
|
+
- value: AugurSiteFormatting
|
|
16
|
+
- value: BatchInvMastDocParam
|
|
17
|
+
- value: CacheConfig
|
|
18
|
+
- value: CacheProvider
|
|
19
|
+
- value: CacheTierConfig
|
|
20
|
+
- value: DeepQueryOptions
|
|
21
|
+
- value: DerivePriceInput
|
|
22
|
+
- value: DerivedPrice
|
|
23
|
+
- value: EdgeCacheValue
|
|
24
|
+
- value: GetItemCategoryApiOptions
|
|
25
|
+
- value: InfiniteScrollPage
|
|
26
|
+
- value: PageData
|
|
27
|
+
- value: PersistenceConfig
|
|
28
|
+
- value: ProxyMutationOptions
|
|
29
|
+
- value: ProxyQueryOptions
|
|
30
|
+
- value: ResolveStockInput
|
|
31
|
+
- value: ResolvedStock
|
|
32
|
+
- value: SearchSuggestion
|
|
33
|
+
- value: SearchSuggestionsResponse
|
|
34
|
+
- function: createSiteHooks - Creates a pre-configured provider component and re-exports all hooks.
|
|
35
|
+
- function: executeBatchQuery
|
|
36
|
+
- function: getBatchInvMastDocKey
|
|
37
|
+
- value: getBatchInvMastDocOptions
|
|
38
|
+
- value: getCartPricingQueryOptions
|
|
39
|
+
- value: getCategoryItemsInfiniteKey
|
|
40
|
+
- value: getCategoryItemsInfiniteOptions
|
|
41
|
+
- value: getCustomerInvoiceDetailKey
|
|
42
|
+
- value: getCustomerInvoicesKey
|
|
43
|
+
- value: getCustomerOrderDetailKey
|
|
44
|
+
- value: getCustomerOrdersKey
|
|
45
|
+
- value: getCustomerQuoteDetailKey
|
|
46
|
+
- value: getCustomerQuotesKey
|
|
47
|
+
- value: getInvMastDocKey
|
|
48
|
+
- value: getInvMastDocOptions
|
|
49
|
+
- value: getInvMastKey
|
|
50
|
+
- value: getInvMastOptions
|
|
51
|
+
- function: getInvMastStockKey
|
|
52
|
+
- value: getInvMastStockOptions
|
|
53
|
+
- value: getItemAttributesKey
|
|
54
|
+
- value: getItemAttributesOptions
|
|
55
|
+
- value: getItemCategoryKey
|
|
56
|
+
- value: getItemCategoryOptions
|
|
57
|
+
- value: getItemDetailsKey
|
|
58
|
+
- value: getItemDetailsOptions
|
|
59
|
+
- value: getItemPriceKey
|
|
60
|
+
- value: getItemPriceOptions
|
|
61
|
+
- value: getItemSearchInfiniteKey
|
|
62
|
+
- value: getItemSearchInfiniteOptions
|
|
63
|
+
- value: getJoomlaContentKey
|
|
64
|
+
- value: getJoomlaContentListKey
|
|
65
|
+
- value: getJoomlaContentListOptions
|
|
66
|
+
- value: getJoomlaContentOptions
|
|
67
|
+
- value: getJoomlaMenuDocKey
|
|
68
|
+
- value: getJoomlaMenuDocOptions
|
|
69
|
+
- value: getJoomlaMenuKey
|
|
70
|
+
- value: getJoomlaMenuOptions
|
|
71
|
+
- value: getProductCategoryKey
|
|
72
|
+
- value: getProductCategoryOptions
|
|
73
|
+
- value: getProductSearchKey
|
|
74
|
+
- value: getProductSearchOptions
|
|
75
|
+
- value: getSearchSuggestionsKey
|
|
76
|
+
- value: getSearchSuggestionsOptions
|
|
77
|
+
- value: getStockKey
|
|
78
|
+
- value: getStockOptions
|
|
79
|
+
- value: useAugurApi
|
|
80
|
+
- value: useAugurAuth
|
|
81
|
+
- value: useAugurCache
|
|
82
|
+
- value: useAugurOptions
|
|
83
|
+
- function: useAugurPersistence - Returns a fully configured `persistOptions` object for use with
|
|
84
|
+
- value: useAugurSite
|
|
85
|
+
- function: useBatchInvMastDoc - Fetches and caches multiple inventory master documents in a single batch.
|
|
86
|
+
- function: useCartActions - Optimistic cart actions hook with automatic rollback on failure.
|
|
87
|
+
- const: useCartHdrUid - Select the current cart header UID.
|
|
88
|
+
- function: useCartInitialization - Initialize cart state from session (authenticated) or cookie (guest).
|
|
89
|
+
- const: useCartLineCount - Select the number of distinct line items in the cart.
|
|
90
|
+
- const: useCartLines - Select the current cart line items array.
|
|
91
|
+
- function: useCartPricing - Centralized hook for cart/checkout pricing.
|
|
92
|
+
- const: useCartQuantityTotal - Select the total quantity summed across all cart lines.
|
|
93
|
+
- const: useCartStore - Zustand store for cart state. Prefer the individual selector hooks below for optimal re-renders.
|
|
94
|
+
- function: useCategoryItemsInfinite - Infinite scroll for category product listings.
|
|
95
|
+
- const: useClearCart - Get the `clearCart` action (stable reference).
|
|
96
|
+
- function: useCustomerInvoices
|
|
97
|
+
- function: useCustomerOrders
|
|
98
|
+
- function: useCustomerQuotes
|
|
99
|
+
- function: useDebounce - Debounces a rapidly-changing value.
|
|
100
|
+
- function: useFormatPrice - Hook that returns a price formatter.
|
|
101
|
+
- function: useInvMast
|
|
102
|
+
- function: useInvMastDoc - Fetches and caches an inventory master document via the augur-api SDK.
|
|
103
|
+
- function: useInvMastStock
|
|
104
|
+
- function: useInvoiceDetail
|
|
105
|
+
- function: useItemAttributes
|
|
106
|
+
- function: useItemCategory - Fetches and caches item category data via the augur-api SDK.
|
|
107
|
+
- function: useItemDetails
|
|
108
|
+
- const: useItemFiltersStore - Zustand store for item list filters, sorting, and pagination state.
|
|
109
|
+
- function: useItemPrice - Fetches and caches item pricing via the augur-api SDK.
|
|
110
|
+
- function: useItemSearchInfinite - Infinite scroll for search results.
|
|
111
|
+
- function: useJoomlaContent
|
|
112
|
+
- function: useJoomlaContentList
|
|
113
|
+
- function: useJoomlaMenu
|
|
114
|
+
- function: useJoomlaMenuDoc
|
|
115
|
+
- function: useOrderDetail
|
|
116
|
+
- const: usePaginationPrefetch - Prefetch adjacent pages on hover for instant pagination.
|
|
117
|
+
- function: useProductCategory
|
|
118
|
+
- function: useProductSearch - Searches products via the augur-api OpenSearch endpoint.
|
|
119
|
+
- function: useQuoteDetail
|
|
120
|
+
- function: useSearchSuggestions - Fetches search suggestions via the augur-api OpenSearch endpoint.
|
|
121
|
+
- const: useSetCartHdrUid - Get the `setCartHdrUid` action (stable reference).
|
|
122
|
+
- const: useSetCartLines - Get the `setCartLines` action (stable reference). Also recomputes totals.
|
|
123
|
+
- function: useStock - Fetches full TStock data and resolves it into a normalized stock object.
|
|
124
|
+
- type: BatchQueryConfig
|
|
125
|
+
- type: CartActionCallbacks
|
|
126
|
+
- type: CartInitCallbacks
|
|
127
|
+
- type: CartPriceData
|
|
128
|
+
- type: CartPricingResult
|
|
129
|
+
- type: CartSessionInfo
|
|
130
|
+
- type: CreateSiteHooksConfig
|
|
131
|
+
- type: FormatPriceCallOptions
|
|
132
|
+
- type: UseFormatPriceOptions
|
|
133
|
+
- type: UseStockOptions
|
|
134
|
+
|
|
135
|
+
## @simpleapps-com/augur-hooks/server
|
|
136
|
+
|
|
137
|
+
- value: AugurAuthContext
|
|
138
|
+
- value: CacheConfig
|
|
139
|
+
- value: InfiniteScrollPage
|
|
140
|
+
- function: createAugurOptions - Creates server-side query options proxy for prefetching.
|
|
141
|
+
- function: executeBatchQuery
|
|
142
|
+
- function: getBatchInvMastDocKey
|
|
143
|
+
- value: getBatchInvMastDocOptions
|
|
144
|
+
- value: getCartPricingQueryOptions
|
|
145
|
+
- value: getCategoryItemsInfiniteKey
|
|
146
|
+
- value: getCategoryItemsInfiniteOptions
|
|
147
|
+
- value: getCustomerInvoiceDetailKey
|
|
148
|
+
- value: getCustomerInvoicesKey
|
|
149
|
+
- value: getCustomerOrderDetailKey
|
|
150
|
+
- value: getCustomerOrdersKey
|
|
151
|
+
- value: getCustomerQuoteDetailKey
|
|
152
|
+
- value: getCustomerQuotesKey
|
|
153
|
+
- value: getInvMastDocKey
|
|
154
|
+
- value: getInvMastDocOptions
|
|
155
|
+
- value: getInvMastKey
|
|
156
|
+
- value: getInvMastOptions
|
|
157
|
+
- function: getInvMastStockKey
|
|
158
|
+
- value: getInvMastStockOptions
|
|
159
|
+
- value: getItemAttributesKey
|
|
160
|
+
- value: getItemAttributesOptions
|
|
161
|
+
- value: getItemCategoryKey
|
|
162
|
+
- value: getItemCategoryOptions
|
|
163
|
+
- value: getItemDetailsKey
|
|
164
|
+
- value: getItemDetailsOptions
|
|
165
|
+
- value: getItemPriceKey
|
|
166
|
+
- value: getItemPriceOptions
|
|
167
|
+
- value: getItemSearchInfiniteKey
|
|
168
|
+
- value: getItemSearchInfiniteOptions
|
|
169
|
+
- value: getJoomlaContentKey
|
|
170
|
+
- value: getJoomlaContentListKey
|
|
171
|
+
- value: getJoomlaContentListOptions
|
|
172
|
+
- value: getJoomlaContentOptions
|
|
173
|
+
- value: getJoomlaMenuDocKey
|
|
174
|
+
- value: getJoomlaMenuDocOptions
|
|
175
|
+
- value: getJoomlaMenuKey
|
|
176
|
+
- value: getJoomlaMenuOptions
|
|
177
|
+
- value: getProductCategoryKey
|
|
178
|
+
- value: getProductCategoryOptions
|
|
179
|
+
- value: getProductSearchKey
|
|
180
|
+
- value: getProductSearchOptions
|
|
181
|
+
- const: getQueryClient - Returns a per-request singleton QueryClient for React Server Components.
|
|
182
|
+
- value: getSearchSuggestionsKey
|
|
183
|
+
- value: getSearchSuggestionsOptions
|
|
184
|
+
- value: getStockKey
|
|
185
|
+
- value: getStockOptions
|
|
186
|
+
- value: stableStringify
|
|
187
|
+
- type: AugurApiClient
|
|
188
|
+
- type: AugurCallbacks
|
|
189
|
+
- type: BatchInvMastDocParam
|
|
190
|
+
- type: BatchQueryConfig
|
|
191
|
+
- type: PageData
|
|
192
|
+
|
|
193
|
+
## @simpleapps-com/augur-hooks/web
|
|
194
|
+
|
|
195
|
+
- function: MobileProvider - Optional provider that tracks hydration state.
|
|
196
|
+
- function: useImageWithFallback
|
|
197
|
+
- function: useIsHydrated - Returns true only after the client has hydrated.
|
|
198
|
+
- function: useIsMobile - Returns whether the screen is mobile-sized.
|
|
199
|
+
- const: useMobileOptimizedIntersection - IntersectionObserver hook with mobile-optimized root margins.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simpleapps-com/augur-hooks",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.11",
|
|
4
4
|
"description": "Cross-platform React Query hooks and Zustand stores for Augur ecommerce sites",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -28,11 +28,13 @@
|
|
|
28
28
|
},
|
|
29
29
|
"sideEffects": false,
|
|
30
30
|
"files": [
|
|
31
|
-
"dist"
|
|
31
|
+
"dist",
|
|
32
|
+
"EXPORTS.md",
|
|
33
|
+
"llms.txt"
|
|
32
34
|
],
|
|
33
35
|
"dependencies": {
|
|
34
|
-
"@simpleapps-com/augur-core": "2.0.
|
|
35
|
-
"@simpleapps-com/augur-utils": "2.0.
|
|
36
|
+
"@simpleapps-com/augur-core": "2.0.11",
|
|
37
|
+
"@simpleapps-com/augur-utils": "2.0.11"
|
|
36
38
|
},
|
|
37
39
|
"peerDependencies": {
|
|
38
40
|
"@simpleapps-com/augur-api": "^2026.3.3",
|