mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
Misc docs
This commit is contained in:
committed by
FliegendeWurst
parent
9b188503db
commit
6467265cfd
@@ -34,6 +34,7 @@ const options = {
|
||||
"./src/routes/api/setup.ts",
|
||||
// all other files
|
||||
"./src/routes/api/*.ts",
|
||||
"./src/routes/*.ts",
|
||||
"./bin/generate-openapi.ts"
|
||||
]
|
||||
};
|
||||
@@ -68,7 +69,7 @@ console.log("Saved to ", outputPath);
|
||||
* $ref: "#/components/schemas/NoteId"
|
||||
* type:
|
||||
* type: string
|
||||
* enum: ["attribute", "relation"]
|
||||
* enum: ["label", "relation"]
|
||||
* name:
|
||||
* type: string
|
||||
* example: "internalLink"
|
||||
@@ -100,6 +101,7 @@ console.log("Saved to ", outputPath);
|
||||
* $ref: "#/components/schemas/UtcDateTime"
|
||||
* Branch:
|
||||
* type: object
|
||||
* required: ["branchId", "noteId", "parentNoteId", "notePosition"]
|
||||
* properties:
|
||||
* branchId:
|
||||
* $ref: "#/components/schemas/BranchId"
|
||||
@@ -142,6 +144,7 @@ console.log("Saved to ", outputPath);
|
||||
* description: Encoded entity data. Object has one property for each database column.
|
||||
* Note:
|
||||
* type: object
|
||||
* required: ["noteId", "title", "isProtected", "type", "mime", "blobId"]
|
||||
* properties:
|
||||
* noteId:
|
||||
* $ref: "#/components/schemas/NoteId"
|
||||
|
||||
Reference in New Issue
Block a user