@crossworks/content-core 0.232.375 → 0.232.381

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.375",
3
+ "version": "0.232.381",
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",
@@ -32,7 +32,7 @@
32
32
  "./tree": "./src/tree.ts"
33
33
  },
34
34
  "dependencies": {
35
- "@mantle/client-types": "npm:@crossworks/client-types@0.232.375",
35
+ "@mantle/client-types": "npm:@crossworks/client-types@0.232.381",
36
36
  "marked": "^18.0.11",
37
37
  "mathjs": "15.2.0"
38
38
  },
@@ -12,6 +12,8 @@
12
12
  * (the jsonb just stores keys), but typed here for the call sites we wire
13
13
  * ourselves so a typo becomes a compile error. Add new entries as we add
14
14
  * surfaces. */
15
+ import type { ContactSharing } from '@mantle/client-types';
16
+
15
17
  export type ContactMethod = 'email' | 'sms';
16
18
 
17
19
  export type ContactCounts = Partial<Record<string, number>>;
@@ -50,6 +52,9 @@ export type ContactRow = {
50
52
  lastContactedAt: ContactLastAt;
51
53
  createdAt: string;
52
54
  updatedAt: string;
55
+ /** Contact shares (migration 0214): null when sharing is off. Absent
56
+ * from brains before 0214. */
57
+ sharing?: ContactSharing | null;
53
58
  };
54
59
 
55
60
  export type CreateContactInput = {