Commit 7bc47b1
committed
docs(ee/audit): drop unused 'file' value from targetType enum
Pre-flight review of #1582 surfaced a stale 'file' value in the targetType enum on the response schema. No createAudit call site in the codebase writes target.type='file' (verified across every await createAudit() and createAuditAction() call site in packages/ excluding tests). The seven real target.type values are: user, org, api_key, account_join_request, invite, chat, scim_token. All seven are already in the enum after this change.
actorType enum still includes 'api_key' alongside 'user'. This is pre-existing in the doc (not introduced by #1582) and may be aspirational/forward-looking — no current code path writes actor.type='api_key', but the Prisma schema stores actorType as a free-form String so the value is not blocked at the database layer. Reporting only; not changing in this PR to keep the diff scoped to the #1581 issue.1 parent 762c6c5 commit 7bc47b1
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| |||
0 commit comments