@crossworks/content-core 0.400.11 → 0.400.13

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.400.11",
3
+ "version": "0.400.13",
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
  "type": "module",
6
6
  "exports": {
@@ -36,7 +36,7 @@
36
36
  "./tree": "./src/tree.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@mantle/client-types": "npm:@crossworks/client-types@0.400.11",
39
+ "@mantle/client-types": "npm:@crossworks/client-types@0.400.13",
40
40
  "marked": "^18.1.0",
41
41
  "mathjs": "15.2.0"
42
42
  },
@@ -526,8 +526,9 @@ export function projectAppOpens(raw: unknown): Record<string, AppOpenStat> | und
526
526
  return Object.fromEntries(rows.slice(0, APP_OPENS_MAX));
527
527
  }
528
528
 
529
- /** The content-kind groups granted per agent id (contentKindGroupsGranted):
530
- * uuid keys, each a list of group slugs; anything else is dropped. */
529
+ /** The content-kind groups granted per agent id (contentKindGroupsGranted),
530
+ * and the delegation items (workspaceDelegationGranted): uuid keys, each a
531
+ * list of non-empty strings; anything else is dropped. */
531
532
  export function projectGrantedGroups(raw: unknown): Record<string, string[]> | undefined {
532
533
  if (typeof raw !== 'object' || raw === null || Array.isArray(raw)) return undefined;
533
534
  const rows: [string, string[]][] = [];