preparing notes module (backend)

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-07-28 18:22:13 +02:00
parent 378ef640d9
commit 6600b6fd27
13 changed files with 386 additions and 14 deletions

View File

@@ -19,6 +19,7 @@ dependencies{
implementation(project(":legacy"))
implementation(project(":markdown"))
implementation(project(":messages"))
implementation(project(":notes"))
implementation(project(":project"))
implementation(project(":tags"))
implementation(project(":task"))

View File

@@ -17,6 +17,7 @@ import de.srsoftware.umbrella.legacy.LegacyApi;
import de.srsoftware.umbrella.markdown.MarkdownApi;
import de.srsoftware.umbrella.message.MessageApi;
import de.srsoftware.umbrella.message.MessageSystem;
import de.srsoftware.umbrella.notes.NoteModule;
import de.srsoftware.umbrella.project.ProjectModule;
import de.srsoftware.umbrella.tags.TagModule;
import de.srsoftware.umbrella.task.TaskModule;
@@ -67,6 +68,7 @@ public class Application {
var markdownApi = new MarkdownApi(userModule);
var messageApi = new MessageApi(messageSystem);
var tagModule = new TagModule(config,userModule);
var notesModule = new NoteModule(config,userModule);
var projectModule = new ProjectModule(config,companyModule,tagModule);
var taskModule = new TaskModule(config,projectModule,tagModule);
var timeModule = new TimeModule(config,taskModule);
@@ -77,6 +79,7 @@ public class Application {
itemApi .bindPath("/api/items") .on(server);
markdownApi .bindPath("/api/markdown") .on(server);
messageApi .bindPath("/api/messages") .on(server);
notesModule .bindPath("/api/notes") .on(server);
projectModule .bindPath("/api/project") .on(server);
tagModule .bindPath("/api/tags") .on(server);
taskModule .bindPath("/api/task") .on(server);