UNPKG

@directus/api

Version:

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

21 lines (20 loc) 665 B
import type { AbstractServiceOptions, PrimaryKey } from '@directus/types'; import { ItemsService } from './items.js'; export interface DeploymentProject { id: string; deployment: string; external_id: string; name: string; date_created: string; user_created: string; } export declare class DeploymentProjectsService extends ItemsService<DeploymentProject> { constructor(options: AbstractServiceOptions); /** * Update project selection (create/delete) */ updateSelection(deploymentId: string, create: { external_id: string; name: string; }[], deleteIds: PrimaryKey[]): Promise<DeploymentProject[]>; }