@crossworks/client-types 0.239.96 → 0.239.97
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/heartbeats.ts +9 -0
package/package.json
CHANGED
package/src/dto/heartbeats.ts
CHANGED
|
@@ -52,9 +52,18 @@ export interface HeartbeatDTO {
|
|
|
52
52
|
quietHours: HeartbeatQuietHoursDTO | null;
|
|
53
53
|
earliestAt: string | null;
|
|
54
54
|
cooldownMinutes: number | null;
|
|
55
|
+
/** Empty for a login that is not the heartbeat's maker (workspaces W7):
|
|
56
|
+
* `stateHidden` is then true. */
|
|
55
57
|
state: Record<string, unknown>;
|
|
58
|
+
/** The state is another login's, so it is not shown (and an empty `state`
|
|
59
|
+
* sent back on an edit leaves it as it is). Absent for the maker. */
|
|
60
|
+
stateHidden?: boolean;
|
|
56
61
|
status: 'active' | 'paused' | 'completed' | 'cancelled';
|
|
57
62
|
completionReason: string | null;
|
|
63
|
+
/** The login that set up what this heartbeat does, when it is not the
|
|
64
|
+
* brain owner (workspaces W7a): the tick fires it in that login's scope.
|
|
65
|
+
* Null: the brain owner's. */
|
|
66
|
+
createdBy: string | null;
|
|
58
67
|
createdAt: string;
|
|
59
68
|
updatedAt: string;
|
|
60
69
|
}
|