@crossworks/client-types 0.232.263 → 0.232.265
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 +1 -1
- package/src/dto/access.ts +7 -1
package/package.json
CHANGED
package/src/dto/access.ts
CHANGED
|
@@ -44,12 +44,18 @@ export type AccessNodeView = {
|
|
|
44
44
|
canLink: boolean;
|
|
45
45
|
};
|
|
46
46
|
|
|
47
|
-
/** PATCH /api/access/nodes/:id { audience, withClosure? } */
|
|
47
|
+
/** PATCH /api/access/nodes/:id { audience, withClosure?, raiseClosure? } */
|
|
48
48
|
export type AccessNodeUpdate = {
|
|
49
49
|
item: AccessItemView;
|
|
50
50
|
/** Closure items lowered with it (only when `withClosure`). */
|
|
51
51
|
lowered: AccessItemView[];
|
|
52
52
|
/** Closure items still above the new level (when not `withClosure`). */
|
|
53
53
|
stillAbove: AccessItemView[];
|
|
54
|
+
/** Closure items raised with it (only when `raiseClosure`). Absent from
|
|
55
|
+
* brains before 0.232.264. */
|
|
56
|
+
raised?: AccessItemView[];
|
|
57
|
+
/** Closure items still below the new level (when not `raiseClosure`).
|
|
58
|
+
* Absent from brains before 0.232.264. */
|
|
59
|
+
stillBelow?: AccessItemView[];
|
|
54
60
|
share: AccessLinkView | null;
|
|
55
61
|
};
|