auth/cell_grant_audit_metadata.ts view source
ZodObject<{ cell_id: $ZodBranded<ZodUUID, "Uuid", "out">; grant_id: $ZodBranded<ZodUUID, "Uuid", "out">; level: ZodEnum<{ viewer: "viewer"; editor: "editor"; }>; principal: ZodUnion<...>; }, $loose> import type {CellGrantCreateAuditMetadata} from '@fuzdev/fuz_app/auth/cell_grant_audit_metadata.js'; Metadata envelope for cell_grant_create.
Emitted on every successful create OR re-share update path
(UPSERT-on-unique-index). The audit reader correlates create-vs-update
via grant_id if needed; the design doesn't require distinguishing
the two at the metadata level.