@crossworks/content-core 0.232.256 → 0.232.258

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossworks/content-core",
3
- "version": "0.232.256",
3
+ "version": "0.232.258",
4
4
  "description": "Browser-safe content logic — markdown, blocks, pages, tables, formulas — shared by the server and any client. Zero server deps by design: nothing here may reach @mantle/db, node-only APIs, or the network (the jackdaw-repo-split P0 boundary).",
5
5
  "exports": {
6
6
  "./app-nav": "./src/app-nav.ts",
@@ -30,7 +30,7 @@
30
30
  "./thinking-tiers": "./src/thinking-tiers.ts"
31
31
  },
32
32
  "dependencies": {
33
- "@mantle/client-types": "npm:@crossworks/client-types@0.232.256",
33
+ "@mantle/client-types": "npm:@crossworks/client-types@0.232.258",
34
34
  "marked": "^18.0.11",
35
35
  "mathjs": "15.2.0"
36
36
  },
@@ -20,6 +20,7 @@
20
20
  // The mathjs-backed engine (see table-formula-mathjs.ts). `table-formula.ts`
21
21
  // remains for one release as a revertible fallback and as the differential
22
22
  // baseline in table-formula-diff.test.ts; nothing else should import it.
23
+ import type { AccessLevel } from '@mantle/client-types';
23
24
  import { evalFormulaMath as evalFormula } from './table-formula-mathjs';
24
25
 
25
26
  /** Isomorphic UUID — no `node:crypto`, no DB, so this module stays a
@@ -854,6 +855,8 @@ export type TableRow = {
854
855
  /** Quick stats for the list (cheap to compute from the doc). */
855
856
  columnCount: number;
856
857
  rowCount: number;
858
+ /** Access level (admin > team > client > public); the owner UI's badge. */
859
+ audience: AccessLevel;
857
860
  createdAt: string;
858
861
  updatedAt: string;
859
862
  };