Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

Commit d130a4f

Browse files
committed
test(types): the kanban class-boundary control supplies groupBy after objectui#7322 landed
objectui#7322 (PR #7774, 669d71b) made groupBy the required lane key on ObjectKanbanSchema and retired groupField as a never-typed tombstone. The ts-expect-error control in object-calendar-record-source-7313.test.ts wrote groupField: 'status', so after the merge the literal would miss two members and carry a tombstone violation — the directive would be satisfied by omissions unrelated to objectName and stop saying anything about it. It now supplies groupBy so objectName is again the one member the literal is missing. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BAZFhALsQsGqxui8sNqM8s
1 parent b1e9592 commit d130a4f

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎packages/types/src/__tests__/object-calendar-record-source-7313.test.ts‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,16 @@ export const DATA_DOCUMENT: TsObjectCalendarSchema = {
130130
* objectui#7322's, and this control only says where the class currently ends.
131131
* When a card moves the kanban's `objectName` to optional, this directive is
132132
* the line that card deletes.
133+
*
134+
* `groupBy` is supplied because objectui#7322 made it the required lane key
135+
* (and retired `groupField`), so `objectName` is the ONE member this literal
136+
* is missing — the directive would otherwise be satisfied by an unrelated
137+
* omission and stop saying anything about `objectName`.
133138
*/
134139
// @ts-expect-error — objectName is still required on ObjectKanbanSchema (the one deliberate error here)
135140
export const KANBAN_STILL_REQUIRES_OBJECT_NAME: TsObjectKanbanSchema = {
136141
type: 'object-kanban',
137-
groupField: 'status',
142+
groupBy: 'status',
138143
};
139144

140145
/* ── Runtime pins ─────────────────────────────────────────────────────────── */

0 commit comments

Comments
 (0)