@simpleapps-com/augur-server 1.0.0 → 1.0.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.
@@ -41,6 +41,8 @@ interface PrefetchUtilities {
41
41
  prefetchJoomlaContentList: (categoryId: number | string, filters?: Partial<TJoomlaContentFilters>) => Promise<void>;
42
42
  }
43
43
  /**
44
+ * @deprecated Use `createAugurOptions()` from `@simpleapps-com/augur-hooks/server` instead. This utility will be removed in the next major version.
45
+ *
44
46
  * Creates SSR prefetch utilities that pre-populate the React Query cache
45
47
  * during server rendering. Eliminates loading states on first paint.
46
48
  *
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/prefetch.ts"],"sourcesContent":["import type { QueryClient } from \"@tanstack/react-query\";\nimport {\n getItemPriceKey,\n getItemPriceOptions,\n getItemCategoryOptions,\n getInvMastOptions,\n getInvMastDocOptions,\n getInvMastStockOptions,\n getItemDetailsOptions,\n getItemAttributesOptions,\n getProductCategoryOptions,\n getProductSearchOptions,\n getCategoryItemsInfiniteOptions,\n getItemSearchInfiniteOptions,\n getJoomlaContentOptions,\n getJoomlaContentListOptions,\n} from \"@simpleapps-com/augur-hooks/server\";\nimport type {\n AugurApiClient,\n PageData,\n} from \"@simpleapps-com/augur-hooks/server\";\nimport type {\n TItemsFilters,\n TJoomlaContentFilters,\n} from \"@simpleapps-com/augur-utils\";\nimport { getServerQueryClient } from \"./server-query-client\";\nimport { batchFetch } from \"./utils/batch-fetch\";\n\n/**\n * Cache configuration for prefetch utilities.\n * Re-exports the CacheConfig shape from augur-hooks so consumers\n * don't need a separate import.\n */\nexport type { CacheConfig } from \"@simpleapps-com/augur-hooks/server\";\n\n/** Options for item category prefetch. */\nexport interface PrefetchItemCategoryApiOptions {\n childrenFilter?: string;\n childrenLimit?: number;\n childrenOffset?: number;\n classId5List?: string;\n filters?: Record<string, string>;\n orderBy?: string;\n path?: string;\n productCollection?: string;\n rootItemCategoryId?: string;\n}\n\n/** Configuration for createPrefetchUtilities. */\nexport interface PrefetchConfig {\n /** Cache configuration passed through to query options. */\n cache?: import(\"@simpleapps-com/augur-hooks/server\").CacheConfig;\n /** Default customer ID for pricing prefetch. */\n defaultCustomerId?: string | number;\n}\n\n/** Prefetch utilities returned by createPrefetchUtilities. */\nexport interface PrefetchUtilities {\n prefetchItemPrice: (\n itemId: string,\n customerId?: string | number,\n quantity?: number,\n ) => Promise<void>;\n\n prefetchBatchItemPrices: (\n itemIds: string[],\n customerId?: string | number,\n quantity?: number,\n ) => Promise<void>;\n\n prefetchProductListingPrices: (\n itemIds: string[],\n customerId?: string | number,\n maxItems?: number,\n ) => Promise<void>;\n\n prefetchItemCategory: (\n itemCategoryUid: number,\n apiOptions?: PrefetchItemCategoryApiOptions,\n ) => Promise<void>;\n\n prefetchInvMast: (\n invMastUid: number,\n itemId: string,\n ) => Promise<void>;\n\n prefetchInvMastStock: (\n invMastUid: number | string,\n ) => Promise<void>;\n\n prefetchItemDetails: (\n itemId: number | string,\n ) => Promise<void>;\n\n prefetchItemAttributes: (\n itemCategoryUid: number | string,\n ) => Promise<void>;\n\n prefetchProductSearch: (\n pageData: PageData,\n ) => Promise<void>;\n\n prefetchJoomlaContent: (\n articleId: number | string,\n ) => Promise<void>;\n\n prefetchInvMastDoc: (\n invMastUid: number,\n itemId: string,\n includePricing?: \"Y\" | \"N\",\n ) => Promise<void>;\n\n prefetchProductCategory: (\n itemCategoryUid: number | string,\n ) => Promise<void>;\n\n prefetchCategoryItemsFirstPage: (\n itemCategoryUid: number,\n itemsFilters: TItemsFilters,\n ) => Promise<void>;\n\n prefetchSearchResultsFirstPage: (\n itemsFilters: TItemsFilters,\n itemCategoryUid?: number | string,\n ) => Promise<void>;\n\n prefetchJoomlaContentList: (\n categoryId: number | string,\n filters?: Partial<TJoomlaContentFilters>,\n ) => Promise<void>;\n}\n\n/**\n * Creates SSR prefetch utilities that pre-populate the React Query cache\n * during server rendering. Eliminates loading states on first paint.\n *\n * Uses the same query keys as augur-hooks so client-side hooks hydrate\n * instantly from prefetched data — no duplicate requests.\n *\n * @example\n * ```ts\n * // lib/prefetch.ts\n * import { createPrefetchUtilities } from \"@simpleapps-com/augur-server/prefetch\";\n * import { getAugurClient } from \"./augur-client\";\n *\n * export const prefetch = createPrefetchUtilities(getAugurClient(), {\n * defaultCustomerId: process.env.NEXT_PUBLIC_DEFAULT_CUSTOMER_ID,\n * cache: augurCache,\n * });\n *\n * // In a server component:\n * export default async function ItemPage({ params }: { params: { id: string } }) {\n * await prefetch.prefetchItemPrice(params.id);\n * await prefetch.prefetchItemDetails(params.id);\n * return <ItemDetail itemId={params.id} />;\n * }\n *\n * // Batch prefetch for listing pages:\n * export default async function CategoryPage() {\n * const itemIds = await getItemIdsForCategory(categoryId);\n * await prefetch.prefetchBatchItemPrices(itemIds);\n * return <ProductGrid items={itemIds} />;\n * }\n * ```\n */\nexport function createPrefetchUtilities(\n api: AugurApiClient,\n config: PrefetchConfig = {},\n): PrefetchUtilities {\n const { cache, defaultCustomerId } = config;\n\n function getQueryClient(): QueryClient {\n return getServerQueryClient();\n }\n\n function resolveCustomerId(\n explicit: string | number | undefined,\n ): string | number | undefined {\n return explicit ?? defaultCustomerId;\n }\n\n async function prefetchItemPrice(\n itemId: string,\n customerId?: string | number,\n quantity = 1,\n ): Promise<void> {\n const qc = getQueryClient();\n const custId = resolveCustomerId(customerId);\n const options = getItemPriceOptions(api, itemId, custId, quantity, cache);\n await qc.prefetchQuery(options);\n }\n\n async function prefetchBatchItemPrices(\n itemIds: string[],\n customerId?: string | number,\n quantity = 1,\n ): Promise<void> {\n const qc = getQueryClient();\n const custId = resolveCustomerId(customerId);\n\n const prices = await batchFetch(\n itemIds,\n (id) => getItemPriceOptions(api, id, custId, quantity, cache).queryFn(),\n (id) => id,\n );\n\n for (const [id, data] of Object.entries(prices)) {\n qc.setQueryData(getItemPriceKey(id, custId, quantity), data);\n }\n }\n\n async function prefetchProductListingPrices(\n itemIds: string[],\n customerId?: string | number,\n maxItems?: number,\n ): Promise<void> {\n const limited = maxItems ? itemIds.slice(0, maxItems) : itemIds;\n await prefetchBatchItemPrices(limited, customerId);\n }\n\n async function prefetchItemCategory(\n itemCategoryUid: number,\n apiOptions?: PrefetchItemCategoryApiOptions,\n ): Promise<void> {\n const qc = getQueryClient();\n const options = getItemCategoryOptions(api, itemCategoryUid, apiOptions, cache);\n await qc.prefetchQuery(options);\n }\n\n async function prefetchInvMast(\n invMastUid: number,\n itemId: string,\n ): Promise<void> {\n const qc = getQueryClient();\n const options = getInvMastOptions(api, invMastUid, itemId, cache);\n await qc.prefetchQuery(options);\n }\n\n async function prefetchInvMastStock(\n invMastUid: number | string,\n ): Promise<void> {\n const qc = getQueryClient();\n const options = getInvMastStockOptions(api, invMastUid, cache);\n await qc.prefetchQuery(options);\n }\n\n async function prefetchItemDetails(\n itemId: number | string,\n ): Promise<void> {\n const qc = getQueryClient();\n const options = getItemDetailsOptions(api, itemId, cache);\n await qc.prefetchQuery(options);\n }\n\n async function prefetchItemAttributes(\n itemCategoryUid: number | string,\n ): Promise<void> {\n const qc = getQueryClient();\n const options = getItemAttributesOptions(api, itemCategoryUid, cache);\n await qc.prefetchQuery(options);\n }\n\n async function prefetchProductSearch(\n pageData: PageData,\n ): Promise<void> {\n const qc = getQueryClient();\n const options = getProductSearchOptions(api, pageData, cache);\n await qc.prefetchQuery(options);\n }\n\n async function prefetchJoomlaContent(\n articleId: number | string,\n ): Promise<void> {\n const qc = getQueryClient();\n const options = getJoomlaContentOptions(api, articleId, cache);\n await qc.prefetchQuery(options);\n }\n\n async function prefetchInvMastDoc(\n invMastUid: number,\n itemId: string,\n includePricing: \"Y\" | \"N\" = \"N\",\n ): Promise<void> {\n const qc = getQueryClient();\n const options = getInvMastDocOptions(api, invMastUid, itemId, includePricing, cache);\n await qc.prefetchQuery(options);\n }\n\n async function prefetchProductCategory(\n itemCategoryUid: number | string,\n ): Promise<void> {\n const qc = getQueryClient();\n const options = getProductCategoryOptions(api, itemCategoryUid, cache);\n await qc.prefetchQuery(options);\n }\n\n async function prefetchCategoryItemsFirstPage(\n itemCategoryUid: number,\n itemsFilters: TItemsFilters,\n ): Promise<void> {\n const qc = getQueryClient();\n const options = getCategoryItemsInfiniteOptions(\n api, itemCategoryUid, itemsFilters, cache,\n );\n await qc.prefetchInfiniteQuery({ ...options, pages: 1 });\n }\n\n async function prefetchSearchResultsFirstPage(\n itemsFilters: TItemsFilters,\n itemCategoryUid?: number | string,\n ): Promise<void> {\n const qc = getQueryClient();\n const options = getItemSearchInfiniteOptions(\n api, itemsFilters, itemCategoryUid, cache,\n );\n await qc.prefetchInfiniteQuery({ ...options, pages: 1 });\n }\n\n async function prefetchJoomlaContentList(\n categoryId: number | string,\n filters?: Partial<TJoomlaContentFilters>,\n ): Promise<void> {\n const qc = getQueryClient();\n const options = getJoomlaContentListOptions(api, categoryId, filters, cache);\n await qc.prefetchQuery(options);\n }\n\n return {\n prefetchItemPrice,\n prefetchBatchItemPrices,\n prefetchProductListingPrices,\n prefetchItemCategory,\n prefetchInvMast,\n prefetchInvMastStock,\n prefetchItemDetails,\n prefetchItemAttributes,\n prefetchProductSearch,\n prefetchInvMastDoc,\n prefetchProductCategory,\n prefetchCategoryItemsFirstPage,\n prefetchSearchResultsFirstPage,\n prefetchJoomlaContent,\n prefetchJoomlaContentList,\n };\n}\n"],"mappings":";;;;;;AACA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAqJA,SAAS,wBACd,KACA,SAAyB,CAAC,GACP;AACnB,QAAM,EAAE,OAAO,kBAAkB,IAAI;AAErC,WAAS,iBAA8B;AACrC,WAAO,qBAAqB;AAAA,EAC9B;AAEA,WAAS,kBACP,UAC6B;AAC7B,WAAO,YAAY;AAAA,EACrB;AAEA,iBAAe,kBACb,QACA,YACA,WA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4B,KAAK,YAAY,SAAS,KAAK;AAC3E,UAAM,GAAG,cAAc,OAAO;AAAA,EAChC;AAEA,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF;","names":[]}
1
+ {"version":3,"sources":["../src/prefetch.ts"],"sourcesContent":["import type { QueryClient } from \"@tanstack/react-query\";\nimport {\n getItemPriceKey,\n getItemPriceOptions,\n getItemCategoryOptions,\n getInvMastOptions,\n getInvMastDocOptions,\n getInvMastStockOptions,\n getItemDetailsOptions,\n getItemAttributesOptions,\n getProductCategoryOptions,\n getProductSearchOptions,\n getCategoryItemsInfiniteOptions,\n getItemSearchInfiniteOptions,\n getJoomlaContentOptions,\n getJoomlaContentListOptions,\n} from \"@simpleapps-com/augur-hooks/server\";\nimport type {\n AugurApiClient,\n PageData,\n} from \"@simpleapps-com/augur-hooks/server\";\nimport type {\n TItemsFilters,\n TJoomlaContentFilters,\n} from \"@simpleapps-com/augur-utils\";\nimport { getServerQueryClient } from \"./server-query-client\";\nimport { batchFetch } from \"./utils/batch-fetch\";\n\n/**\n * Cache configuration for prefetch utilities.\n * Re-exports the CacheConfig shape from augur-hooks so consumers\n * don't need a separate import.\n */\nexport type { CacheConfig } from \"@simpleapps-com/augur-hooks/server\";\n\n/** Options for item category prefetch. */\nexport interface PrefetchItemCategoryApiOptions {\n childrenFilter?: string;\n childrenLimit?: number;\n childrenOffset?: number;\n classId5List?: string;\n filters?: Record<string, string>;\n orderBy?: string;\n path?: string;\n productCollection?: string;\n rootItemCategoryId?: string;\n}\n\n/** Configuration for createPrefetchUtilities. */\nexport interface PrefetchConfig {\n /** Cache configuration passed through to query options. */\n cache?: import(\"@simpleapps-com/augur-hooks/server\").CacheConfig;\n /** Default customer ID for pricing prefetch. */\n defaultCustomerId?: string | number;\n}\n\n/** Prefetch utilities returned by createPrefetchUtilities. */\nexport interface PrefetchUtilities {\n prefetchItemPrice: (\n itemId: string,\n customerId?: string | number,\n quantity?: number,\n ) => Promise<void>;\n\n prefetchBatchItemPrices: (\n itemIds: string[],\n customerId?: string | number,\n quantity?: number,\n ) => Promise<void>;\n\n prefetchProductListingPrices: (\n itemIds: string[],\n customerId?: string | number,\n maxItems?: number,\n ) => Promise<void>;\n\n prefetchItemCategory: (\n itemCategoryUid: number,\n apiOptions?: PrefetchItemCategoryApiOptions,\n ) => Promise<void>;\n\n prefetchInvMast: (\n invMastUid: number,\n itemId: string,\n ) => Promise<void>;\n\n prefetchInvMastStock: (\n invMastUid: number | string,\n ) => Promise<void>;\n\n prefetchItemDetails: (\n itemId: number | string,\n ) => Promise<void>;\n\n prefetchItemAttributes: (\n itemCategoryUid: number | string,\n ) => Promise<void>;\n\n prefetchProductSearch: (\n pageData: PageData,\n ) => Promise<void>;\n\n prefetchJoomlaContent: (\n articleId: number | string,\n ) => Promise<void>;\n\n prefetchInvMastDoc: (\n invMastUid: number,\n itemId: string,\n includePricing?: \"Y\" | \"N\",\n ) => Promise<void>;\n\n prefetchProductCategory: (\n itemCategoryUid: number | string,\n ) => Promise<void>;\n\n prefetchCategoryItemsFirstPage: (\n itemCategoryUid: number,\n itemsFilters: TItemsFilters,\n ) => Promise<void>;\n\n prefetchSearchResultsFirstPage: (\n itemsFilters: TItemsFilters,\n itemCategoryUid?: number | string,\n ) => Promise<void>;\n\n prefetchJoomlaContentList: (\n categoryId: number | string,\n filters?: Partial<TJoomlaContentFilters>,\n ) => Promise<void>;\n}\n\n/**\n * @deprecated Use `createAugurOptions()` from `@simpleapps-com/augur-hooks/server` instead. This utility will be removed in the next major version.\n *\n * Creates SSR prefetch utilities that pre-populate the React Query cache\n * during server rendering. Eliminates loading states on first paint.\n *\n * Uses the same query keys as augur-hooks so client-side hooks hydrate\n * instantly from prefetched data — no duplicate requests.\n *\n * @example\n * ```ts\n * // lib/prefetch.ts\n * import { createPrefetchUtilities } from \"@simpleapps-com/augur-server/prefetch\";\n * import { getAugurClient } from \"./augur-client\";\n *\n * export const prefetch = createPrefetchUtilities(getAugurClient(), {\n * defaultCustomerId: process.env.NEXT_PUBLIC_DEFAULT_CUSTOMER_ID,\n * cache: augurCache,\n * });\n *\n * // In a server component:\n * export default async function ItemPage({ params }: { params: { id: string } }) {\n * await prefetch.prefetchItemPrice(params.id);\n * await prefetch.prefetchItemDetails(params.id);\n * return <ItemDetail itemId={params.id} />;\n * }\n *\n * // Batch prefetch for listing pages:\n * export default async function CategoryPage() {\n * const itemIds = await getItemIdsForCategory(categoryId);\n * await prefetch.prefetchBatchItemPrices(itemIds);\n * return <ProductGrid items={itemIds} />;\n * }\n * ```\n */\nexport function createPrefetchUtilities(\n api: AugurApiClient,\n config: PrefetchConfig = {},\n): PrefetchUtilities {\n const { cache, defaultCustomerId } = config;\n\n function getQueryClient(): QueryClient {\n return getServerQueryClient();\n }\n\n function resolveCustomerId(\n explicit: string | number | undefined,\n ): string | number | undefined {\n return explicit ?? defaultCustomerId;\n }\n\n async function prefetchItemPrice(\n itemId: string,\n customerId?: string | number,\n quantity = 1,\n ): Promise<void> {\n const qc = getQueryClient();\n const custId = resolveCustomerId(customerId);\n const options = getItemPriceOptions(api, itemId, custId, quantity, cache);\n await qc.prefetchQuery(options);\n }\n\n async function prefetchBatchItemPrices(\n itemIds: string[],\n customerId?: string | number,\n quantity = 1,\n ): Promise<void> {\n const qc = getQueryClient();\n const custId = resolveCustomerId(customerId);\n\n const prices = await batchFetch(\n itemIds,\n (id) => getItemPriceOptions(api, id, custId, quantity, cache).queryFn(),\n (id) => id,\n );\n\n for (const [id, data] of Object.entries(prices)) {\n qc.setQueryData(getItemPriceKey(id, custId, quantity), data);\n }\n }\n\n async function prefetchProductListingPrices(\n itemIds: string[],\n customerId?: string | number,\n maxItems?: number,\n ): Promise<void> {\n const limited = maxItems ? itemIds.slice(0, maxItems) : itemIds;\n await prefetchBatchItemPrices(limited, customerId);\n }\n\n async function prefetchItemCategory(\n itemCategoryUid: number,\n apiOptions?: PrefetchItemCategoryApiOptions,\n ): Promise<void> {\n const qc = getQueryClient();\n const options = getItemCategoryOptions(api, itemCategoryUid, apiOptions, cache);\n await qc.prefetchQuery(options);\n }\n\n async function prefetchInvMast(\n invMastUid: number,\n itemId: string,\n ): Promise<void> {\n const qc = getQueryClient();\n const options = getInvMastOptions(api, invMastUid, itemId, cache);\n await qc.prefetchQuery(options);\n }\n\n async function prefetchInvMastStock(\n invMastUid: number | string,\n ): Promise<void> {\n const qc = getQueryClient();\n const options = getInvMastStockOptions(api, invMastUid, cache);\n await qc.prefetchQuery(options);\n }\n\n async function prefetchItemDetails(\n itemId: number | string,\n ): Promise<void> {\n const qc = getQueryClient();\n const options = getItemDetailsOptions(api, itemId, cache);\n await qc.prefetchQuery(options);\n }\n\n async function prefetchItemAttributes(\n itemCategoryUid: number | string,\n ): Promise<void> {\n const qc = getQueryClient();\n const options = getItemAttributesOptions(api, itemCategoryUid, cache);\n await qc.prefetchQuery(options);\n }\n\n async function prefetchProductSearch(\n pageData: PageData,\n ): Promise<void> {\n const qc = getQueryClient();\n const options = getProductSearchOptions(api, pageData, cache);\n await qc.prefetchQuery(options);\n }\n\n async function prefetchJoomlaContent(\n articleId: number | string,\n ): Promise<void> {\n const qc = getQueryClient();\n const options = getJoomlaContentOptions(api, articleId, cache);\n await qc.prefetchQuery(options);\n }\n\n async function prefetchInvMastDoc(\n invMastUid: number,\n itemId: string,\n includePricing: \"Y\" | \"N\" = \"N\",\n ): Promise<void> {\n const qc = getQueryClient();\n const options = getInvMastDocOptions(api, invMastUid, itemId, includePricing, cache);\n await qc.prefetchQuery(options);\n }\n\n async function prefetchProductCategory(\n itemCategoryUid: number | string,\n ): Promise<void> {\n const qc = getQueryClient();\n const options = getProductCategoryOptions(api, itemCategoryUid, cache);\n await qc.prefetchQuery(options);\n }\n\n async function prefetchCategoryItemsFirstPage(\n itemCategoryUid: number,\n itemsFilters: TItemsFilters,\n ): Promise<void> {\n const qc = getQueryClient();\n const options = getCategoryItemsInfiniteOptions(\n api, itemCategoryUid, itemsFilters, cache,\n );\n await qc.prefetchInfiniteQuery({ ...options, pages: 1 });\n }\n\n async function prefetchSearchResultsFirstPage(\n itemsFilters: TItemsFilters,\n itemCategoryUid?: number | string,\n ): Promise<void> {\n const qc = getQueryClient();\n const options = getItemSearchInfiniteOptions(\n api, itemsFilters, itemCategoryUid, cache,\n );\n await qc.prefetchInfiniteQuery({ ...options, pages: 1 });\n }\n\n async function prefetchJoomlaContentList(\n categoryId: number | string,\n filters?: Partial<TJoomlaContentFilters>,\n ): Promise<void> {\n const qc = getQueryClient();\n const options = getJoomlaContentListOptions(api, categoryId, filters, cache);\n await qc.prefetchQuery(options);\n }\n\n return {\n prefetchItemPrice,\n prefetchBatchItemPrices,\n prefetchProductListingPrices,\n prefetchItemCategory,\n prefetchInvMast,\n prefetchInvMastStock,\n prefetchItemDetails,\n prefetchItemAttributes,\n prefetchProductSearch,\n prefetchInvMastDoc,\n prefetchProductCategory,\n prefetchCategoryItemsFirstPage,\n prefetchSearchResultsFirstPage,\n prefetchJoomlaContent,\n prefetchJoomlaContentList,\n };\n}\n"],"mappings":";;;;;;AACA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAuJA,SAAS,wBACd,KACA,SAAyB,CAAC,GACP;AACnB,QAAM,EAAE,OAAO,kBAAkB,IAAI;AAErC,WAAS,iBAA8B;AACrC,WAAO,qBAAqB;AAAA,EAC9B;AAEA,WAAS,kBACP,UAC6B;AAC7B,WAAO,YAAY;AAAA,EACrB;AAEA,iBAAe,kBACb,QACA,YACA,WAAW,GACI;AACf,UAAM,KAAK,eAAe;AAC1B,UAAM,SAAS,kBAAkB,UAAU;AAC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C;AAEA,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF;","names":[]}
@@ -22,6 +22,8 @@ interface PricingActions {
22
22
  getTaxEstimate: (customerId: string | number, postalCode: string, items: TTaxItem[]) => Promise<TTax>;
23
23
  }
24
24
  /**
25
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
26
+ *
25
27
  * Creates server-side pricing actions with Redis caching and edge cache support.
26
28
  *
27
29
  * Uses `withServerCache` which produces cache keys compatible with augur-hooks'
@@ -87,6 +89,8 @@ interface ItemActions {
87
89
  batchGetStockData: (invMastUids: number[]) => Promise<Record<number, TStockData[]>>;
88
90
  }
89
91
  /**
92
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
93
+ *
90
94
  * Creates server-side item actions with Redis caching and edge cache support.
91
95
  *
92
96
  * Uses `withServerCache` which produces cache keys compatible with augur-hooks'
@@ -141,6 +145,8 @@ interface CommerceActions {
141
145
  checkoutOrder: (cartHdrUid: number, data: Record<string, unknown>) => Promise<unknown>;
142
146
  }
143
147
  /**
148
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
149
+ *
144
150
  * Creates server-side commerce actions for cart operations.
145
151
  *
146
152
  * Unlike pricing actions, commerce actions do NOT use caching because
@@ -179,6 +185,8 @@ interface OrderActions {
179
185
  getOrderDoc: (orderNo: string, postalCode: string) => Promise<unknown>;
180
186
  }
181
187
  /**
188
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
189
+ *
182
190
  * Creates server-side order actions with Redis caching and edge cache support.
183
191
  *
184
192
  * Uses `withServerCache` which produces cache keys compatible with augur-hooks'
@@ -243,6 +251,8 @@ interface SearchActions {
243
251
  }, itemCategoryUid?: number | string, pageParam?: number) => Promise<SearchPage>;
244
252
  }
245
253
  /**
254
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
255
+ *
246
256
  * Creates server-side search actions with Redis caching and edge cache support.
247
257
  *
248
258
  * Uses `withServerCache` which produces cache keys compatible with augur-hooks'
@@ -290,6 +300,8 @@ interface ShippingActions {
290
300
  getShippingRates: (toAddress: ShippingAddress, weight: number, serviceCodes?: string[]) => Promise<unknown>;
291
301
  }
292
302
  /**
303
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
304
+ *
293
305
  * Creates server-side shipping actions with Redis caching and edge cache support.
294
306
  *
295
307
  * Uses `withServerCache` which produces cache keys compatible with augur-hooks'
@@ -344,6 +356,8 @@ interface JoomlaActions {
344
356
  getUserProfile: (userId: number | string) => Promise<NormalizedUserProfile>;
345
357
  }
346
358
  /**
359
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
360
+ *
347
361
  * Creates server-side Joomla content actions with Redis caching and edge cache support.
348
362
  *
349
363
  * Uses `withServerCache` which produces cache keys compatible with augur-hooks'
@@ -389,6 +403,8 @@ interface LegacyActions {
389
403
  }) => Promise<unknown[]>;
390
404
  }
391
405
  /**
406
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
407
+ *
392
408
  * Creates server-side legacy actions with Redis caching and edge cache support.
393
409
  *
394
410
  * Covers the legacy microservice endpoints used by ecommerce sites:
@@ -437,6 +453,8 @@ interface CustomersActions {
437
453
  getShipToAddresses: (customerId: number) => Promise<unknown[]>;
438
454
  }
439
455
  /**
456
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
457
+ *
440
458
  * Creates server-side customer actions with Redis caching and edge cache support.
441
459
  *
442
460
  * Covers the customers microservice endpoints used by ecommerce sites:
@@ -475,6 +493,8 @@ interface SmartyStreetsActions {
475
493
  validateAddress: (params: Record<string, unknown>) => Promise<AddressValidationResult>;
476
494
  }
477
495
  /**
496
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
497
+ *
478
498
  * Creates server-side SmartyStreets actions for address validation.
479
499
  *
480
500
  * Note: Address validation is a real-time operation and does NOT use caching.
@@ -515,6 +535,8 @@ interface P21PimActions {
515
535
  listInvMastExt: (params?: Record<string, unknown>) => Promise<unknown[]>;
516
536
  }
517
537
  /**
538
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
539
+ *
518
540
  * Creates server-side P21 PIM actions with Redis caching and edge cache support.
519
541
  *
520
542
  * Covers the P21 PIM microservice endpoints for extended inventory data
@@ -550,6 +572,8 @@ interface AgrSiteActions {
550
572
  getMetaFiles: (params?: Record<string, unknown>) => Promise<unknown[]>;
551
573
  }
552
574
  /**
575
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
576
+ *
553
577
  * Creates server-side AGR Site actions with Redis caching and edge cache support.
554
578
  *
555
579
  * Covers the AGR Site microservice endpoints for site configuration settings
@@ -581,6 +605,8 @@ interface AvalaraActions {
581
605
  calculateTax: (data: Record<string, unknown>) => Promise<unknown>;
582
606
  }
583
607
  /**
608
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
609
+ *
584
610
  * Creates server-side Avalara actions for real-time tax calculation.
585
611
  *
586
612
  * Note: Tax calculation is a real-time operation and does NOT use caching.
@@ -627,6 +653,8 @@ interface PaymentsActions {
627
653
  validatePayment: (params: Record<string, unknown>) => Promise<unknown>;
628
654
  }
629
655
  /**
656
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
657
+ *
630
658
  * Creates server-side payment actions.
631
659
  *
632
660
  * Payment actions do NOT use caching because every call deals with
@@ -656,6 +684,8 @@ interface UpsActions {
656
684
  getRates: (params: Record<string, unknown>) => Promise<unknown>;
657
685
  }
658
686
  /**
687
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
688
+ *
659
689
  * Creates server-side UPS shipping actions.
660
690
  *
661
691
  * UPS rate actions do NOT use caching because rate quotes are real-time
@@ -696,6 +726,8 @@ interface LogisticsActions {
696
726
  getShipVia: (params?: Record<string, unknown>) => Promise<unknown[]>;
697
727
  }
698
728
  /**
729
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
730
+ *
699
731
  * Creates server-side logistics actions with selective Redis caching.
700
732
  *
701
733
  * Freight rate lookups are real-time and NOT cached.
@@ -735,6 +767,8 @@ interface NexusActions {
735
767
  getTransferShipping: (params?: Record<string, unknown>) => Promise<unknown[]>;
736
768
  }
737
769
  /**
770
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
771
+ *
738
772
  * Creates server-side nexus (warehouse management) actions with selective caching.
739
773
  *
740
774
  * Write operations (bin transfer, receiving, transfer) do NOT use caching.
@@ -777,6 +811,8 @@ interface VmiActions {
777
811
  getSections: (params?: Record<string, unknown>) => Promise<unknown[]>;
778
812
  }
779
813
  /**
814
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
815
+ *
780
816
  * Creates server-side VMI (Vendor Managed Inventory) actions with Redis caching.
781
817
  *
782
818
  * All VMI read operations are cached. Warehouse availability uses a shorter TTL
@@ -822,6 +858,8 @@ interface P21CoreActions {
822
858
  getCodeP21: (params?: Record<string, unknown>) => Promise<unknown[]>;
823
859
  }
824
860
  /**
861
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
862
+ *
825
863
  * Creates server-side P21 Core actions with Redis caching and edge cache support.
826
864
  *
827
865
  * Covers the P21 Core microservice endpoints: addresses, companies,
@@ -863,6 +901,8 @@ interface P21ApisActions {
863
901
  refreshCustomers: (params?: Record<string, unknown>) => Promise<unknown | undefined>;
864
902
  }
865
903
  /**
904
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
905
+ *
866
906
  * Creates server-side P21 APIs actions with Redis caching and edge cache support.
867
907
  *
868
908
  * Covers the P21 APIs microservice endpoints: transaction categories,
@@ -900,6 +940,8 @@ interface P21SismActions {
900
940
  getScheduledImports: (params?: Record<string, unknown>) => Promise<unknown[]>;
901
941
  }
902
942
  /**
943
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
944
+ *
903
945
  * Creates server-side P21 SISM actions with Redis caching and edge cache support.
904
946
  *
905
947
  * Covers the P21 SISM (System Integration & Storage Management) endpoints:
@@ -931,6 +973,8 @@ interface AgrWorkActions {
931
973
  ping: () => Promise<string | undefined>;
932
974
  }
933
975
  /**
976
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
977
+ *
934
978
  * Creates server-side AGR Work actions for health monitoring and connectivity.
935
979
  *
936
980
  * Covers the AGR Work microservice endpoints: healthCheck and ping.
@@ -971,6 +1015,8 @@ interface AgrInfoActions {
971
1015
  generateJoomla: (data?: Record<string, unknown>) => Promise<unknown | undefined>;
972
1016
  }
973
1017
  /**
1018
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
1019
+ *
974
1020
  * Creates server-side AGR Info actions with Redis caching and edge cache support.
975
1021
  *
976
1022
  * Covers the AGR Info microservice endpoints: context, rubrics,
@@ -1017,6 +1063,8 @@ interface Basecamp2Actions {
1017
1063
  getTodolists: (params?: Record<string, unknown>) => Promise<unknown[]>;
1018
1064
  }
1019
1065
  /**
1066
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
1067
+ *
1020
1068
  * Creates server-side basecamp2 actions with Redis caching and edge cache support.
1021
1069
  *
1022
1070
  * Covers the Basecamp2 project management endpoints: todos, todo summaries,
@@ -1053,6 +1101,8 @@ interface BrandFolderActions {
1053
1101
  createFocus: (categoryId: string, data: Record<string, unknown>) => Promise<unknown | undefined>;
1054
1102
  }
1055
1103
  /**
1104
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
1105
+ *
1056
1106
  * Creates server-side brand-folder actions with Redis caching and edge cache support.
1057
1107
  *
1058
1108
  * Covers the Brand Folder service endpoints: category listing, category detail,
@@ -1091,6 +1141,8 @@ interface GregorovichActions {
1091
1141
  generateOllama: (data: Record<string, unknown>) => Promise<unknown | undefined>;
1092
1142
  }
1093
1143
  /**
1144
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
1145
+ *
1094
1146
  * Creates server-side gregorovich actions with Redis caching and edge cache support.
1095
1147
  *
1096
1148
  * Covers the Gregorovich AI service endpoints: ChatGPT ask, document listing,
@@ -1126,6 +1178,8 @@ interface SlackActions {
1126
1178
  getWebhooks: (params?: Record<string, unknown>) => Promise<unknown[]>;
1127
1179
  }
1128
1180
  /**
1181
+ * @deprecated Use `createSiteActions()` instead. This factory will be removed in the next major version.
1182
+ *
1129
1183
  * Creates server-side slack actions with Redis caching and edge cache support.
1130
1184
  *
1131
1185
  * Covers the Slack integration endpoints: webhook sending and webhook listing.
package/dist/testing.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { DeepMockClient, MockClientResult, createMockClient } from '@simpleapps-com/augur-core/testing';
2
- import { ak as SiteActions } from './site-CfLO511J.js';
2
+ import { ak as SiteActions } from './site-BBtab6v0.js';
3
3
  import '@simpleapps-com/augur-core';
4
4
  import '@simpleapps-com/augur-api';
5
5
  import '@simpleapps-com/augur-utils';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simpleapps-com/augur-server",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Server-side utilities for Augur ecommerce sites (Redis caching, SDK helpers, auth)",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -41,8 +41,8 @@
41
41
  ],
42
42
  "dependencies": {
43
43
  "valibot": "^1.0.0",
44
- "@simpleapps-com/augur-core": "1.0.0",
45
- "@simpleapps-com/augur-utils": "1.0.0"
44
+ "@simpleapps-com/augur-core": "1.0.2",
45
+ "@simpleapps-com/augur-utils": "1.0.2"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "@simpleapps-com/augur-api": "^0.9.11",
@@ -51,7 +51,7 @@
51
51
  "next": "^16.1.6",
52
52
  "next-auth": ">=5.0.0-beta.30",
53
53
  "react": "^19.0.0",
54
- "@simpleapps-com/augur-hooks": "1.0.0"
54
+ "@simpleapps-com/augur-hooks": "1.0.2"
55
55
  },
56
56
  "peerDependenciesMeta": {
57
57
  "ioredis": {
@@ -74,7 +74,7 @@
74
74
  "tsup": "^8.5.0",
75
75
  "vitest": "^3.2.0",
76
76
  "@augur-packages/tsconfig": "0.0.0",
77
- "@simpleapps-com/augur-hooks": "1.0.0"
77
+ "@simpleapps-com/augur-hooks": "1.0.2"
78
78
  },
79
79
  "scripts": {
80
80
  "build": "tsup",