mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 12:55:55 +01:00
chore(monorepo/server): move server-side source code
This commit is contained in:
11
apps/server/src/services/backend_script_api_interface.ts
Normal file
11
apps/server/src/services/backend_script_api_interface.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user