feat: convert all enums to erasable-syntax compliant patterns

Signed-off-by: Paul Schultz <pschultz@pobox.com>
This commit is contained in:
Paul Schultz
2025-10-20 16:17:07 -05:00
parent 479abc1ab8
commit b2bef924b2
26 changed files with 500 additions and 159 deletions
@@ -136,7 +136,7 @@ export class AuthorizedSearchEngine implements SearchEngine {
// No permission configured for this document type - always allow.
if (!permission) {
return { result: AuthorizeResult.ALLOW as const };
return { result: AuthorizeResult.ALLOW };
}
// Resource permission supplied, so we need to check for conditional decisions.