feat(core-audit): package barrel exports

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-11 16:16:44 +02:00
parent cb285cbd1c
commit cbde74b7ee
5 changed files with 23 additions and 11 deletions

View File

@@ -7,8 +7,8 @@ describe("auditLogsCollection", () => {
});
it("is append-only (update: () => false)", () => {
const access = auditLogsCollection.access as Record<string, () => boolean>;
expect(access.update()).toBe(false);
const access = auditLogsCollection.access as Record<string, (() => boolean) | undefined>;
expect(access["update"]?.()).toBe(false);
});
it("has the required fields", () => {