@directus/api
Version:
Directus is a real-time API and App dashboard for managing SQL database content
10 lines (9 loc) • 577 B
TypeScript
import type { FlowRaw, Item, PrimaryKey } from '@directus/types';
import type { AbstractServiceOptions, MutationOptions } from '../types/index.js';
import { ItemsService } from './items.js';
export declare class FlowsService extends ItemsService<FlowRaw> {
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[]>;
}