Release govoplan-dist-lists v0.1.21: unify interface contracts and documentation

This commit is contained in:
2026-09-08 01:32:32 +02:00
parent d1b2a05c91
commit c337f2f1fa
6 changed files with 59 additions and 29 deletions
+9
View File
@@ -0,0 +1,9 @@
import assert from "node:assert/strict";
import { readFileSync } from "node:fs";
const page = readFileSync(new URL("../src/features/distributionLists/DistributionListsPage.tsx", import.meta.url), "utf8");
assert.match(page, /id: "actions",\s*header: "Actions",\s*columnType: "actions",\s*width: 205,\s*sticky: "end"/);
assert.match(page, /id: "actions",\s*header: "Details",\s*columnType: "actions",\s*width: 90,\s*sticky: "end"/);
assert.match(page, /<TableActionGroup actions=\{\[\{\s*id: "explain"/);
assert.match(page, /<DataGridRowActions/);
console.log("Distribution List controls use the shared action-column contract.");