@directus/api
Version:
Directus is a real-time API and App dashboard for managing SQL database content
10 lines (9 loc) • 337 B
TypeScript
import type { Permission } from '@directus/types';
import type { AST } from '../../../../types/ast.js';
/**
* Mutates passed AST
*
* @param ast - Read query AST
* @param permissions - Expected to be filtered down for the policies and action already
*/
export declare function injectCases(ast: AST, permissions: Permission[]): void;