@simpleapps-com/augur-utils 2026.11.2 → 2026.11.4

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/dist/rules.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import type { Millis } from "./duration";
1
2
  /** An invoice's payment status, from its flag and amounts. */
2
3
  export type PaymentStatus = "Paid" | "Partially Paid" | "Unpaid";
3
4
  /**
@@ -33,6 +34,20 @@ export declare function isBusinessDayName(dayName: string): boolean;
33
34
  export type Availability = "InStock" | "OutOfStock" | "BackOrder";
34
35
  /** In stock, else discontinued is out of stock, else back order (also with no stock record). */
35
36
  export declare function availabilityOf(isInStock: boolean, isDiscontinued: boolean): Availability;
37
+ /**
38
+ * The first key from `i` whose value is present (neither null nor undefined), or −1:
39
+ * `transformShipToAddress` reads that key ("" for −1), and a record is physical when any physical
40
+ * marker is present.
41
+ *
42
+ * @ensures exactly the model's PresentIndexFrom (PresentIndexIsFirst: present, none before it)
43
+ */
44
+ export declare function presentIndexFrom(present: boolean[], i: number): number;
45
+ /**
46
+ * `getShippingLeadDate`'s text: "from - to" when the lead has a second day, else the one date.
47
+ *
48
+ * @ensures result = from + " - " + to when hasTo, else from: the model's LeadDateText
49
+ */
50
+ export declare function leadDateText(from: string, hasTo: boolean, to: string): string;
36
51
  /** The order taker: the caller's, else "ESTORE". */
37
52
  export declare function takerOf(taker: string | undefined): string;
38
53
  /**
@@ -42,4 +57,35 @@ export declare function takerOf(taker: string | undefined): string;
42
57
  * @ensures exactly the model's AddressDifferent
43
58
  */
44
59
  export declare function addressDifferentOf(line1Same: boolean, citySame: boolean, stateSame: boolean, zipSame: boolean): boolean;
60
+ /**
61
+ * The gcTime a query gets: none on the server (`null`, which the caller turns into `Infinity`,
62
+ * so query-core schedules no GC timer and a per-request cache is freed with the request), the
63
+ * client's value in the browser. Moved from augur-core (#94) so the CACHE_CONFIG tiers use it.
64
+ *
65
+ * @ensures exactly the model's GcTime
66
+ */
67
+ export declare function gcTimeFor(isServer: boolean, clientGcTime: Millis): Millis | null;
68
+ /** A CACHE_CONFIG tier's name. */
69
+ export type TierName = "STATIC" | "SEMI_STATIC" | "DYNAMIC" | "CART" | "REALTIME";
70
+ /**
71
+ * A tier's staleTime: STATIC 1 h, SEMI_STATIC 10 min, DYNAMIC 5 min, CART 2 min, REALTIME 0.
72
+ *
73
+ * @ensures exactly the model's TierStaleTime
74
+ */
75
+ export declare function tierStaleTime(t: TierName): Millis;
76
+ /**
77
+ * A tier's gcTime in the browser: STATIC 24 h, SEMI_STATIC 4 h, DYNAMIC and CART 30 min,
78
+ * REALTIME 5 min; never shorter than its staleTime. On the server the tier's gcTime is
79
+ * `gcTimeFor(true, …)`: none.
80
+ *
81
+ * @ensures exactly the model's TierBrowserGcTime; result ≥ tierStaleTime(t)
82
+ */
83
+ export declare function tierBrowserGcTime(t: TierName): Millis;
84
+ /**
85
+ * Outside a browser (Node SSR, edge, Deno): no `window`, or Deno (which has one). Mirrors
86
+ * query-core's `isServer`; runtime.ts reads the two facts per call.
87
+ *
88
+ * @ensures exactly the model's ServerRuntime
89
+ */
90
+ export declare function serverRuntimeOf(hasWindow: boolean, hasDeno: boolean): boolean;
45
91
  //# sourceMappingURL=rules.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../src/rules.ts"],"names":[],"mappings":"AAMA,8DAA8D;AAC9D,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,gBAAgB,GAAG,QAAQ,CAAC;AAEjE;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,UAAU,EAAE,OAAO,EACnB,UAAU,EAAE,OAAO,EACnB,UAAU,EAAE,MAAM,GACjB,aAAa,CAQf;AAED,uFAAuF;AACvF,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAIzE;AAED,qEAAqE;AACrE,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,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the proved
3
+ * `gcTimeFor` (rules.ts, model `AugurUtils.GcTime`); this file only reads the runtime. Moved
4
+ * from augur-core (#94, 2026-11-07), which re-exports both, so the CACHE_CONFIG tiers can use
5
+ * them: augur-core depends on augur-utils, never the other way.
6
+ */
7
+ import type { Millis } from "./duration";
8
+ /**
9
+ * Returns true when running outside a browser (Node SSR, edge, Deno).
10
+ * Mirrors `isServer` in `@tanstack/query-core` (`build/modern/utils.js`).
11
+ * Evaluated per call, not at module scope, so `"use client"` modules that
12
+ * also run during SSR resolve correctly on each pass.
13
+ */
14
+ export declare function isServerRuntime(): boolean;
15
+ /**
16
+ * Returns the React Query `gcTime` to use for a query built in this runtime.
17
+ * On the server returns `Infinity`, which query-core treats as "schedule no
18
+ * GC timer", so a per-request QueryClient is freed when the request ends.
19
+ * A finite value would start a timer that pins the whole request cache.
20
+ * In the browser returns `clientGcTime` unchanged. The result is a `number`, not `Millis`:
21
+ * `Infinity` is no whole number of milliseconds.
22
+ */
23
+ export declare function resolveGcTime(clientGcTime: Millis): number;
24
+ //# sourceMappingURL=runtime.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAGzC;;;;;GAKG;AACH,wBAAgB,eAAe,IAAI,OAAO,CAIzC;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAE1D"}
@@ -1 +1 @@
1
- {"version":3,"file":"transform-ship-to-address.d.ts","sourceRoot":"","sources":["../src/transform-ship-to-address.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAgDzC,oIAAoI;AACpI,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,SAAS,GAAG,aAAa,CAqBpE"}
1
+ {"version":3,"file":"transform-ship-to-address.d.ts","sourceRoot":"","sources":["../src/transform-ship-to-address.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAIF,KAAK,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAmDzC,oIAAoI;AACpI,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,SAAS,GAAG,aAAa,CAqBpE"}
package/llms.txt CHANGED
@@ -23,21 +23,24 @@ The docs are at https://augur.build/docs/packages (the API reference lists every
23
23
 
24
24
  ## @simpleapps-com/augur-utils
25
25
 
26
+ - const: addMillis - A clock reading plus a duration, both milliseconds: when something expires.
26
27
  - const: BillingAddressInvoiceSchema - Valibot schema for billing address with required PO number (invoice payments).
27
28
  - const: BillingAddressSchema - Valibot schema for billing address validation. Less strict than shipping: allows PO Box, no email/phone required.
28
29
  - const: BLUR_DATA_URL - 1x1 transparent PNG for Next.js `<Image blurDataURL={...}>` placeholders.
29
30
  - const: breadcrumbLd - A breadcrumb trail's BreadcrumbList as text.
30
31
  - function: buildCheckoutPayload - Builds the oe_hdr + oe_line payload required by the commerce checkout API from cart data.
31
32
  - function: buildImageLoader - Returns a loader function compatible with Next.js `<Image loader={...}>`.
32
- - function: buildTrackingData - Build a GA4 begin_checkout ecommerce payload from cart lines, item details, and prices.
33
+ - function: buildTrackingData - Build a GA4 begin_checkout ecommerce payload from cart lines, item details, and each line's own price.
33
34
  - const: CACHE_CONFIG - Centralized cache configuration for React Query (TanStack Query)
34
35
  - function: categorySortBy - serializeCategoryFilters' sortBy: the prefix applied only when both are non-empty.
35
36
  - function: cleanMoney - Remove JS float noise from a money product or sum.
36
37
  - function: cn - Merge Tailwind classes without conflicts. Web only (tailwind-merge is meaningless in RN).
37
38
  - const: CONTIGUOUS_STATES - Lower 48 contiguous states.
38
39
  - function: createImageConfig - Creates a frozen ImageConfig object.
40
+ - const: days - `n` days, in seconds.
39
41
  - function: derivePrice - Pure price derivation — usable in hooks AND server components.
40
42
  - const: faqLd - A FAQ page's FAQPage markup as text: one Question per entry.
43
+ - const: floorSeconds - Milliseconds as whole seconds, rounded down.
41
44
  - function: formatPrice - Locale-aware currency formatting. Defaults to USD -- consumers can override locale and currency.
42
45
  - function: generateBreadcrumbJsonLd - Generates a Schema.org BreadcrumbList JSON-LD object from an array of breadcrumb items.
43
46
  - function: generateProductJsonLd - Generates a Schema.org Product JSON-LD string from an inventory document. Returns null if the item is suppressed, unnamed, or has no price.
@@ -49,19 +52,37 @@ The docs are at https://augur.build/docs/packages (the API reference lists every
49
52
  - function: getSchemaAvailability - Maps resolved stock to a Schema.org availability URL.
50
53
  - function: getShippingLeadDate - Get shipping lead date estimate based on days string (the table is `shippingLeadOf`).
51
54
  - function: hasPriceBreaks - Type guard: true when `libraryPriceData` is the price-page shape with quantity `breaks`.
55
+ - const: hours - `n` hours, in seconds.
52
56
  - const: idRef - A reference to another node by its @id, as JSON text.
53
57
  - function: isAddressDifferent - Compares a user-entered address with a SmartyStreets-validated address. Returns true if any field differs (case-insensitive for address/city, exact match for state abbreviation and zip code).
58
+ - function: isServerRuntime - Returns true when running outside a browser (Node SSR, edge, Deno). Mirrors `isServer` in `@tanstack/query-core` (`build/modern/utils.js`). Evaluated per call, not at module scope, so `"use client"` modules that also run during SSR resolve correctly on each pass.
59
+ - function: lineHasQuantity - Whether a cart line has a quantity (augur always stores one; the type allows null).
60
+ - function: linePriceAt - Line `i`'s unit price from the per-line list (cart order): its own, fetched at its own quantity, so one item on two lines (two units of measure) keeps two prices; 0 past the end.
61
+ - const: millis - `n` milliseconds, for a duration under a second.
62
+ - const: millisOf - `n` as `Millis`, or null unless it is a safe integer at least 0.
63
+ - const: minusMillis - A reading less a duration, never below 0.
64
+ - const: minutes - `n` minutes, in seconds.
54
65
  - const: nodeHead - The schema.org context and a node's type: its first two members, as JSON text.
55
66
  - function: normalizePath - Normalizes an image path by: 1. Returning it as-is if it starts with `http` (external URL). 2. Stripping configured prefixes (defaults: `/images`, `images`). 3. Prepending `defaultPath` for bare filenames (no `/`). 4. Stripping leading slashes.
56
67
  - function: paginateOffset - Returns a copy of filters with offset adjusted for the given page.
68
+ - function: priceQueryRuns - Whether a line's price query runs: a customer, an itemId, and a quantity (the price engine is never asked for a quantity nobody entered).
69
+ - function: priceQueryUnit - The unit of measure a line's price query asks for: the line's own, so a CASE/6 line is priced per case, not as one EACH (the price engine prices a query without a unit in the item's default selling unit); null for a missing or blank unit (a line saved before the client required one).
70
+ - function: pricingLoadingFrom - Cart pricing is loading when any query that runs is loading.
71
+ - function: pricingSettledFrom - Cart pricing is settled when every query that runs has succeeded: a line whose query never runs (no quantity, no itemId, no customer) can't hold it back (its query stays pending and idle).
57
72
  - function: pushTrackingData - Push ecommerce tracking data to window.dataLayer using the GA4 clear-then-push pattern.
73
+ - function: resolveGcTime - Returns the React Query `gcTime` to use for a query built in this runtime. On the server returns `Infinity`, which query-core treats as "schedule no GC timer", so a per-request QueryClient is freed when the request ends. A finite value would start a timer that pins the whole request cache. In the browser returns `clientGcTime` unchanged. The result is a `number`, not `Millis`: `Infinity` is no whole number of milliseconds.
58
74
  - function: resolveStock - Pure stock resolution -- usable in hooks AND server components.
59
75
  - function: roundHalfAway - Round half away from zero to `decimals` places.
60
76
  - function: sanitizeHtmlImages - Rewrites `<img src="...">` attributes in an HTML string to use agr.media URLs. Useful for CMS/Joomla content that contains raw image references.
77
+ - const: seconds - `n` seconds.
78
+ - const: secondsOf - `n` as `Seconds`, or null unless it is a safe integer at least 0.
61
79
  - function: serializeCategoryFilters - Converts TItemsFilters to the SDK params shape for category item endpoints.
62
80
  - function: serializeSearchParams - Converts TItemsFilters to the SDK params shape for search endpoints.
63
81
  - function: serializeTransforms - Serializes transform options into the CDN path segment. Example: `{ width: 400, format: "webp" }` → `"w_400,f_webp"`
64
82
  - const: ShippingAddressSchema - Valibot schema for shipping address validation. Enforces no PO Box, requires street number, formats phone number.
83
+ - function: tierBrowserGcTime - A tier's gcTime in the browser: STATIC 24 h, SEMI_STATIC 4 h, DYNAMIC and CART 30 min, REALTIME 5 min; never shorter than its staleTime. On the server the tier's gcTime is `gcTimeFor(true, …)`: none.
84
+ - function: tierStaleTime - A tier's staleTime: STATIC 1 h, SEMI_STATIC 10 min, DYNAMIC 5 min, CART 2 min, REALTIME 0.
85
+ - const: toMillis - Seconds as milliseconds, exactly.
65
86
  - function: trackAddToCart - Track add_to_cart event to Google Analytics dataLayer.
66
87
  - function: trackViewItem - Track view_item event to Google Analytics dataLayer.
67
88
  - function: transformShipToAddress - Normalizes a raw ship-to address object (camelCase or snake_case, physical or mailing) into a consistent ShipToAddress shape.
@@ -71,6 +92,7 @@ The docs are at https://augur.build/docs/packages (the API reference lists every
71
92
  - const: US_STATES_FULL - All US states and territories — full data from states-us.
72
93
  - const: US_TERRITORIES - US territories (PR, GU, VI, AS, MP).
73
94
  - const: VALIDATION_PATTERNS - Common regex patterns used for form validation across augur-hosted sites.
95
+ - const: wholeSeconds - An outside count of seconds, rounded down; 0 when it is then no safe integer at least 0.
74
96
  - type: AddToCartEventParams
75
97
  - type: BillingAddress
76
98
  - type: BreadcrumbJsonLdItem
@@ -87,6 +109,7 @@ The docs are at https://augur.build/docs/packages (the API reference lists every
87
109
  - type: ImageTransforms
88
110
  - type: ImageUrlOptions
89
111
  - type: MenuItem
112
+ - type: Millis
90
113
  - type: OeHdr
91
114
  - type: OeLine
92
115
  - type: OrderHeader
@@ -103,6 +126,7 @@ The docs are at https://augur.build/docs/packages (the API reference lists every
103
126
  - type: SafeActionResult
104
127
  - type: SchemaAvailability
105
128
  - type: SearchParamOptions
129
+ - type: Seconds
106
130
  - type: ShippingAddress
107
131
  - type: ShipToAddress
108
132
  - type: TAccountQuery
@@ -118,6 +142,7 @@ The docs are at https://augur.build/docs/packages (the API reference lists every
118
142
  - type: TCategoryChild
119
143
  - type: TCategoryItemsResult
120
144
  - type: TCheckoutResult
145
+ - type: TierName
121
146
  - type: TInventorySupplier
122
147
  - type: TInvMast
123
148
  - type: TInvMastDoc
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simpleapps-com/augur-utils",
3
- "version": "2026.11.2",
3
+ "version": "2026.11.4",
4
4
  "description": "Shared types, cache configuration, and utility functions for Augur ecommerce sites",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -62,9 +62,10 @@
62
62
  "@atlas/eslint-config": "0.0.0",
63
63
  "@atlas/tsconfig": "0.0.0",
64
64
  "@atlas/tsup-config": "0.0.0",
65
+ "@atlas/foundation": "0.0.0",
65
66
  "@atlas/utils": "0.0.0",
66
67
  "@atlas/vitest-config": "0.0.0",
67
- "@simpleapps-com/augur-api": "2026.11.2"
68
+ "@simpleapps-com/augur-api": "2026.11.5"
68
69
  },
69
70
  "engines": {
70
71
  "node": ">=22.0.0"
@@ -72,7 +73,7 @@
72
73
  "scripts": {
73
74
  "build": "tsup && tsc -p tsconfig.build.json",
74
75
  "lint": "eslint .",
75
- "proofs": "lsc check --backend=dafny",
76
+ "proofs": "lsc gen-check --backend=dafny && node ../../models/lsc-check.mjs",
76
77
  "test": "vitest run --coverage",
77
78
  "typecheck": "tsc --noEmit"
78
79
  }