UNPKG

@directus/api

Version:

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

11 lines (10 loc) 536 B
import type { Item, PrimaryKey } from '@directus/types'; import type { AbstractServiceOptions, MutationOptions } from '../types/index.js'; 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; }