@crossworks/client-types 0.239.69 → 0.239.73

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/client-types",
3
- "version": "0.239.69",
3
+ "version": "0.239.73",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
package/src/dto/review.ts CHANGED
@@ -70,6 +70,11 @@ export type AcceptRequest = {
70
70
  /** The admin saw the `visibility` refusal's list and accepts that those
71
71
  * items are read above the chosen level where they land. */
72
72
  visibilityConfirmed?: boolean;
73
+ /** The pin (workspace review pattern), required by the accept route: the
74
+ * `submittedAt` of the version the admin was shown, null for a
75
+ * left-behind item never submitted. Missing, or a different one now: 409
76
+ * `changed`; nothing moved. */
77
+ submittedAt?: string | null;
73
78
  };
74
79
 
75
80
  /** 409 from either Accept (brains with the Accept visibility check): the item, or something of its
package/src/dto/rows.ts CHANGED
@@ -623,10 +623,11 @@ export type CuratedTeamSection = {
623
623
  items: TeamVisibleShare[];
624
624
  };
625
625
 
626
- /** One contact's OLD team portal chat (the Members tab's "Chat archive"
627
- * roster, GET /api/team-admin/members). Since team codes were retired
628
- * (member logins Phase 6, migration 0178) the roster is every contact with
629
- * portal chat, not every code holder. */
626
+ /** One contact's OLD team portal chat (the roster `team_chat_list` reads).
627
+ * Since team codes were retired (member logins Phase 6, migration 0178) the
628
+ * roster is every contact with portal chat, not every code holder. It was
629
+ * also Team admin's "Chat archive" (GET /api/team-admin/members) until that
630
+ * tab and its route were removed on 2026-10-09; the data stays. */
630
631
  export type TeamMemberActivity = {
631
632
  contactId: string;
632
633
  /** Contact node title; '(deleted contact)' can't occur here: portal chat
@@ -676,6 +677,10 @@ export type NeedsYouItem = {
676
677
  from: string;
677
678
  /** When it started waiting (submitted, or the request was filed). */
678
679
  at: string;
680
+ /** A review item's kind: the workspace screen it is reviewed in
681
+ * (workspace review pattern, 2026-10-09). Absent on a request, and on a
682
+ * brain before it. */
683
+ type?: 'page' | 'note' | 'table' | 'draw' | 'file';
679
684
  };
680
685
 
681
686
  /**