@hipnation-truth/sdk 0.16.3 → 0.17.1
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/dist/index.d.mts +21 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -0
- package/dist/index.mjs.map +1 -1
- package/dist/react.d.ts +111 -1
- package/dist/react.js +164 -125
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1432,6 +1432,22 @@ var TasksResource = class {
|
|
|
1432
1432
|
}
|
|
1433
1433
|
});
|
|
1434
1434
|
}
|
|
1435
|
+
/**
|
|
1436
|
+
* Mark a conversation task as seen by the given user. Appends `userId`
|
|
1437
|
+
* to the `seenBy` array on the `conversationTasks` row if not already
|
|
1438
|
+
* present. Replaces CommHub's `useMark_Event_Activity_SeenMutation`.
|
|
1439
|
+
*
|
|
1440
|
+
* @returns `{ ok: true }` on success.
|
|
1441
|
+
* @throws if the task does not exist in Convex.
|
|
1442
|
+
*/
|
|
1443
|
+
markSeen(input) {
|
|
1444
|
+
return __async(this, null, function* () {
|
|
1445
|
+
return yield this.convex.mutation(
|
|
1446
|
+
"conversationTasks:markSeen",
|
|
1447
|
+
input
|
|
1448
|
+
);
|
|
1449
|
+
});
|
|
1450
|
+
}
|
|
1435
1451
|
};
|
|
1436
1452
|
|
|
1437
1453
|
// src/resources/translation.ts
|