/** * Represents a rule for Access Control List (ACL). */ type ACLRule = { /** * An array of HTTP methods allowed by this rule. */ methods?: Array<'POST' | 'PUT' | 'PATCH' | 'GET' | 'DELETE'>; /** * Filters associated with this rule for more fine-grained control. */ filters?: Record>; }; /** * Represents an Access Control List (ACL) with rules for different paths. */ type ACL = { /** * Rules associated with different paths. */ paths: Record; }; export type { ACL, ACLRule };