@crossworks/client-types 0.232.327 → 0.232.328
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 +16 -0
- package/src/index.ts +1 -0
package/package.json
CHANGED
package/src/dto/access.ts
CHANGED
|
@@ -210,3 +210,19 @@ export type SharedLinkRow = {
|
|
|
210
210
|
* when client meant an open link. Absent from brains before C1. */
|
|
211
211
|
level?: AccessLevel;
|
|
212
212
|
};
|
|
213
|
+
|
|
214
|
+
/** An old client link the brain retired (client logins C3, migration 0192):
|
|
215
|
+
* it answers "Sign in as a client" now. No token: the link is dead. */
|
|
216
|
+
export type RetiredClientLinkRow = {
|
|
217
|
+
id: string;
|
|
218
|
+
nodeId: string;
|
|
219
|
+
nodeType: string;
|
|
220
|
+
title: string;
|
|
221
|
+
icon: string | null;
|
|
222
|
+
/** The item's level now (client, unless an admin changed it since). */
|
|
223
|
+
level: AccessLevel;
|
|
224
|
+
createdAt: string;
|
|
225
|
+
retiredAt: string | null;
|
|
226
|
+
viewCount: number;
|
|
227
|
+
lastViewedAt: string | null;
|
|
228
|
+
};
|