@crossworks/client-types 0.231.0 → 0.232.3

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +14 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossworks/client-types",
3
- "version": "0.231.0",
3
+ "version": "0.232.3",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
package/src/index.ts CHANGED
@@ -1356,6 +1356,20 @@ export type TeamVisibleShare = {
1356
1356
  * the SHARED subset (an unshared parent leaves its children as roots). */
1357
1357
  parentId: string | null;
1358
1358
  tags: string[];
1359
+ /**
1360
+ * EVENTS ONLY — the event's own start, from `nodes.data.starts_at`.
1361
+ *
1362
+ * Every other field here describes the SHARE; this one describes the thing
1363
+ * shared, and it is carried because for an event the two are not
1364
+ * interchangeable. `updatedAt` says when the row was last written, which is
1365
+ * the right meta line for a note or a table and useless for an event: a
1366
+ * member scanning what is coming up needs WHEN IT HAPPENS, and an event
1367
+ * edited this morning sorts above one starting tomorrow.
1368
+ *
1369
+ * Optional so a client pinned to an older server still parses the payload,
1370
+ * and null for every non-event type.
1371
+ */
1372
+ startsAt?: string | null;
1359
1373
  };
1360
1374
 
1361
1375
  // ── Mirrors of @mantle/db jsonb/enum shapes (jackdaw split P0) ────────────────