@crossworks/client-types 0.500.40 → 0.500.41

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.500.40",
3
+ "version": "0.500.41",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
package/src/dto/grants.ts CHANGED
@@ -104,8 +104,9 @@ export type GrantsResponse = {
104
104
  * no longer reads the item after its own change. */
105
105
  export type GrantsWriteResponse = GrantsResponse | { visible: false };
106
106
 
107
- /** POST /api/grants/:nodeId: add a grant ("Add workspace"). A folder, or an
108
- * app gaining a holder, needs `confirm: true` (409 confirm_required). */
107
+ /** POST /api/grants/:nodeId: add a grant ("Add workspace"). A folder needs
108
+ * `confirm: true` (409 confirm_required); an app needs none, as a page
109
+ * (2026-11-09). */
109
110
  export type GrantAddBody = { wsId: string; write?: boolean; confirm?: boolean };
110
111
 
111
112
  /** PATCH /api/grants/:nodeId/:wsId: the Write switch. A folder needs