hvp-shared 14.2.0 → 14.3.0
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.
|
@@ -79,12 +79,15 @@ export interface GetChecklistViewQuery {
|
|
|
79
79
|
*/
|
|
80
80
|
export interface RecordChecklistStatusItem {
|
|
81
81
|
activityId: string;
|
|
82
|
-
|
|
82
|
+
/** Required unless `clear` is true. */
|
|
83
|
+
status?: ChecklistCompletionStatus;
|
|
83
84
|
/** who did it; defaults to [current user]. Multiple for shared tasks. */
|
|
84
85
|
performedByIds?: string[];
|
|
85
86
|
/** optional reason when status is "skipped" / "not_done" */
|
|
86
87
|
skipReason?: string;
|
|
87
88
|
notes?: string;
|
|
89
|
+
/** When true, REMOVE the day's cell for this activity (un-mark / undo). */
|
|
90
|
+
clear?: boolean;
|
|
88
91
|
}
|
|
89
92
|
/**
|
|
90
93
|
* Batch upsert the day's status for one branch (idempotent per activity).
|
|
@@ -23,6 +23,8 @@ export interface ChecklistTodayStatus {
|
|
|
23
23
|
notes: string;
|
|
24
24
|
/** when the latest action was recorded today */
|
|
25
25
|
lastActionAt: string | null;
|
|
26
|
+
/** who last registered/updated this cell (the reporter, not the performer) */
|
|
27
|
+
recordedById: string | null;
|
|
26
28
|
}
|
|
27
29
|
/**
|
|
28
30
|
* One row in the day view: a master activity plus its last-done history and
|