@simpleapps-com/augur-server 2026.11.4 → 2026.11.6
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 +28 -1
- package/README.md +42 -14
- package/dist/actions/action-rules.d.ts +99 -0
- package/dist/actions/action-rules.d.ts.map +1 -0
- package/dist/actions/agr-site.d.ts +7 -15
- package/dist/actions/agr-site.d.ts.map +1 -1
- package/dist/actions/commerce.d.ts.map +1 -1
- package/dist/actions/customers.d.ts +12 -15
- package/dist/actions/customers.d.ts.map +1 -1
- package/dist/actions/favorites.d.ts +9 -12
- package/dist/actions/favorites.d.ts.map +1 -1
- package/dist/actions/gregorovich.d.ts +7 -15
- package/dist/actions/gregorovich.d.ts.map +1 -1
- package/dist/actions/items.d.ts +8 -20
- package/dist/actions/items.d.ts.map +1 -1
- package/dist/actions/joomla.d.ts +8 -14
- package/dist/actions/joomla.d.ts.map +1 -1
- package/dist/actions/legacy.d.ts +10 -20
- package/dist/actions/legacy.d.ts.map +1 -1
- package/dist/actions/orders.d.ts +7 -14
- package/dist/actions/orders.d.ts.map +1 -1
- package/dist/actions/read-specs.d.ts +119 -0
- package/dist/actions/read-specs.d.ts.map +1 -0
- package/dist/actions/site.d.ts.map +1 -1
- package/dist/actions/vmi.d.ts +10 -16
- package/dist/actions/vmi.d.ts.map +1 -1
- package/dist/actions/wishlists.d.ts +11 -13
- package/dist/actions/wishlists.d.ts.map +1 -1
- package/dist/api.js +3 -2
- package/dist/api.js.map +1 -1
- package/dist/auth.js +3 -2
- package/dist/cache/redis-client.d.ts.map +1 -1
- package/dist/cache/redis-rules.d.ts +21 -0
- package/dist/cache/redis-rules.d.ts.map +1 -0
- package/dist/cache/spec-read.d.ts +39 -0
- package/dist/cache/spec-read.d.ts.map +1 -0
- package/dist/cache/with-cache.d.ts +2 -2
- package/dist/cache/with-cache.d.ts.map +1 -1
- package/dist/{chunk-WR7WT2FI.js → chunk-2RAKVFB5.js} +30 -9
- package/dist/chunk-2RAKVFB5.js.map +1 -0
- package/dist/{chunk-F7QWHMHH.js → chunk-4JPJQHT6.js} +2 -2
- package/dist/chunk-JIYVQWXK.js +10 -0
- package/dist/chunk-JIYVQWXK.js.map +1 -0
- package/dist/{chunk-34NCJS52.js → chunk-SFXO74RC.js} +874 -719
- package/dist/chunk-SFXO74RC.js.map +1 -0
- package/dist/chunk-V76GZZF3.js +66 -0
- package/dist/chunk-V76GZZF3.js.map +1 -0
- package/dist/{chunk-B4MGIUCU.js → chunk-Z53NEFEQ.js} +17 -16
- package/dist/chunk-Z53NEFEQ.js.map +1 -0
- package/dist/hooks.js +3 -2
- package/dist/hooks.js.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/query-action.d.ts +24 -1
- package/dist/query-action.d.ts.map +1 -1
- package/dist/query-action.js +7 -2
- package/dist/read-rules.d.ts +45 -0
- package/dist/read-rules.d.ts.map +1 -0
- package/dist/rules.d.ts +16 -0
- package/dist/rules.d.ts.map +1 -1
- package/dist/server-site-registry.d.ts.map +1 -1
- package/dist/server-site.d.ts.map +1 -1
- package/dist/site.js +24 -14
- package/dist/site.js.map +1 -1
- package/dist/sitemap-rules.d.ts +154 -0
- package/dist/sitemap-rules.d.ts.map +1 -0
- package/dist/sitemap.d.ts +80 -0
- package/dist/sitemap.d.ts.map +1 -0
- package/dist/sitemap.js +242 -0
- package/dist/sitemap.js.map +1 -0
- package/dist/testing.js +4 -2
- package/dist/testing.js.map +1 -1
- package/dist/utils/read-all-pages.d.ts +17 -0
- package/dist/utils/read-all-pages.d.ts.map +1 -0
- package/llms.txt +54 -1
- package/package.json +9 -5
- package/dist/chunk-34NCJS52.js.map +0 -1
- package/dist/chunk-B4MGIUCU.js.map +0 -1
- package/dist/chunk-WR7WT2FI.js.map +0 -1
- /package/dist/{chunk-F7QWHMHH.js.map → chunk-4JPJQHT6.js.map} +0 -0
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getCrossSite,
|
|
3
3
|
signInTarget,
|
|
4
4
|
verifiedFlag
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-Z53NEFEQ.js";
|
|
6
6
|
|
|
7
7
|
// src/auth.ts
|
|
8
8
|
import Credentials from "next-auth/providers/credentials";
|
|
@@ -171,4 +171,4 @@ function createAuthConfig(options) {
|
|
|
171
171
|
export {
|
|
172
172
|
createAuthConfig
|
|
173
173
|
};
|
|
174
|
-
//# sourceMappingURL=chunk-
|
|
174
|
+
//# sourceMappingURL=chunk-4JPJQHT6.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../foundation/src/decimal.ts"],"sourcesContent":["//@ backend dafny\n\n/* Verified with LemmaScript → Dafny (`pnpm proofs`; hand lemmas in decimal.dfy; model:\n models/Platform.dfy Decimal; link: models/links/foundation-decimal.dfy): how every app\n writes an id as text. Used by services/agr-int-mcp (customer grant ids `<site>|<usersUid>`) and\n packages/joomla-auth (staff grant ids `staff-<Joomla user id>`), so both are one-to-one\n by the same proof. */\n\n/**\n * The decimal digits of `n`, exactly what `String(n)` gives for a non-negative integer\n * (tests pin the two together). Recursive so specs can use it. Injective: different numbers\n * are written differently (lemma DecimalInjective, decimal.dfy; Platform.DecimalInjective).\n *\n * @ensures |result| ≥ 1 ∧ ∀ k < |result|. result[k] ∈ '0'..'9'\n */\nexport function decimal(n: number): string {\n //@ verify\n //@ type n nat\n //@ requires n >= 0\n //@ decreases n\n //@ ensures \\result.length > 0\n //@ ensures forall(k: nat, k < \\result.length ==> (\\result.charCodeAt(k) >= 48 && \\result.charCodeAt(k) <= 57))\n const last = \"0123456789\".slice(n % 10, (n % 10) + 1);\n return n < 10 ? last : decimal(Math.floor(n / 10)) + last;\n}\n\n/**\n * Any integer as `String(n)` writes it: a minus for a negative, then `decimal`'s digits\n * (tests pin it to `String` for safe integers). An id written this way can't change a path.\n *\n * @ensures result is digits, after a \"-\" exactly when n < 0 — never empty, so an id written\n * this way can't change a path; exactly the model's Platform.IntText in the link (a contract\n * naming `decimal` couldn't be resolved by an importer, models/LSC-GAPS.md, so importers that\n * need the exact text take the link's equality as a premise)\n */\nexport function intText(n: number): string {\n //@ verify\n //@ type n int\n //@ ensures \\result.length > 0\n //@ ensures n >= 0 ==> forall(k: nat, k < \\result.length ==> (\\result.charCodeAt(k) >= 48 && \\result.charCodeAt(k) <= 57))\n //@ ensures n < 0 ==> (\\result.length > 1 && \\result.charCodeAt(0) === 45 && forall(k: nat, (1 <= k && k < \\result.length) ==> (\\result.charCodeAt(k) >= 48 && \\result.charCodeAt(k) <= 57)))\n return n < 0 ? \"-\" + decimal(-n) : decimal(n);\n}\n"],"mappings":";AAeO,SAAS,QAAQ,GAAmB;AAOzC,QAAM,OAAO,aAAa,MAAM,IAAI,IAAK,IAAI,KAAM,CAAC;AACpD,SAAO,IAAI,KAAK,OAAO,QAAQ,KAAK,MAAM,IAAI,EAAE,CAAC,IAAI;AACvD;","names":[]}
|