trilium/apps/server/src/services/backend_script_api_interface.ts
2025-04-22 17:16:41 +03:00

12 lines
366 B
TypeScript

import type { Request, Response } from "express";
import type AbstractBeccaEntity from "../becca/entities/abstract_becca_entity.js";
import type BNote from "../becca/entities/bnote.js";
export interface ApiParams {
startNote?: BNote | null;
originEntity?: AbstractBeccaEntity<any> | null;
pathParams?: string[];
req?: Request;
res?: Response;
}