UNPKG

@directus/api

Version:

Directus is a real-time API and App dashboard for managing SQL database content

10 lines (9 loc) 495 B
import type { AbstractServiceOptions, Item, MutationOptions, PrimaryKey } from '@directus/types'; import { ItemsService } from './items.js'; export declare class RolesService extends ItemsService { constructor(options: AbstractServiceOptions); updateMany(keys: PrimaryKey[], data: Partial<Item>, opts?: MutationOptions): Promise<PrimaryKey[]>; deleteMany(keys: PrimaryKey[], opts?: MutationOptions): Promise<PrimaryKey[]>; private validateRoleNesting; private clearCaches; }