feat: support office document nodes
All checks were successful
CI / hygiene (push) Successful in 2s
Build and Deploy / build-and-deploy (push) Successful in 32s
CI / test (push) Successful in 20s

This commit is contained in:
Grendgi
2026-06-16 15:25:33 +03:00
parent 3de4e5dfe7
commit 3dc5044c99
6 changed files with 133 additions and 0 deletions

View File

@@ -72,6 +72,8 @@ func main() {
r.Get("/nodes", nodeH.List)
r.Post("/folders", nodeH.CreateFolder)
r.Post("/files", nodeH.UploadFile)
r.Get("/office-documents/links", nodeH.ListOfficeLinks)
r.Post("/office-documents", nodeH.CreateOfficeDocument)
r.Route("/nodes/{id}", func(r chi.Router) {
r.Get("/", nodeH.Get)
r.Patch("/", nodeH.Update)