@directus/api
Version:
Directus is a real-time API and App dashboard for managing SQL database content
9 lines (8 loc) • 551 B
TypeScript
import type { AbstractServiceOptions, Item, MutationOptions, OperationRaw, PrimaryKey } from '@directus/types';
import { ItemsService } from './items.js';
export declare class OperationsService extends ItemsService<OperationRaw> {
constructor(options: AbstractServiceOptions);
createOne(data: Partial<Item>, opts?: MutationOptions): Promise<PrimaryKey>;
updateMany(keys: PrimaryKey[], data: Partial<Item>, opts?: MutationOptions): Promise<PrimaryKey[]>;
deleteMany(keys: PrimaryKey[], opts?: MutationOptions): Promise<PrimaryKey[]>;
}