@crossworks/client-types 0.232.300 → 0.232.302

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/dto/rows.ts +9 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossworks/client-types",
3
- "version": "0.232.300",
3
+ "version": "0.232.302",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
package/src/dto/rows.ts CHANGED
@@ -519,12 +519,20 @@ export type CuratedTeamSection = {
519
519
  items: TeamVisibleShare[];
520
520
  };
521
521
 
522
+ /** One contact's OLD team portal chat (the Members tab's "Chat archive"
523
+ * roster, GET /api/team-admin/members). Since team codes were retired
524
+ * (member logins Phase 6, migration 0178) the roster is every contact with
525
+ * portal chat, not every code holder. */
522
526
  export type TeamMemberActivity = {
523
527
  contactId: string;
524
- /** Contact node title; '(deleted contact)' can't occur here — membership
528
+ /** Contact node title; '(deleted contact)' can't occur here: portal chat
525
529
  * rows cascade with the contact. */
526
530
  contactName: string;
531
+ /** The first portal message (it was when the contact's team code was
532
+ * made, before 0178). */
527
533
  memberSince: string;
534
+ /** @deprecated Always null: team codes are retired (0178). Kept one
535
+ * contract cycle for client builds that still read it. */
528
536
  tokenLastUsedAt: string | null;
529
537
  lastMessageAt: string | null;
530
538
  lastMessageText: string | null;