implemented legacy module for company

This commit is contained in:
2025-08-13 15:42:53 +02:00
parent 89758f6c21
commit 6b2a437539
2 changed files with 78 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ import de.srsoftware.umbrella.core.Util;
import de.srsoftware.umbrella.core.exceptions.UmbrellaException;
import de.srsoftware.umbrella.documents.DocumentApi;
import de.srsoftware.umbrella.items.ItemApi;
import de.srsoftware.umbrella.legacy.CompanyLegacy;
import de.srsoftware.umbrella.legacy.NotesLegacy;
import de.srsoftware.umbrella.legacy.ProjectLegacy;
import de.srsoftware.umbrella.legacy.UserLegacy;
@@ -69,6 +70,7 @@ public class Application {
var tagModule = new TagModule(registry,config);
var bookmarkApi = new BookmarkApi(registry,config);
var companyModule = new CompanyModule(registry, config);
var companyLegacy = new CompanyLegacy(registry, config);
var documentApi = new DocumentApi(registry, config);
var itemApi = new ItemApi(registry, config);
var userLegacy = new UserLegacy(registry,config);
@@ -84,6 +86,7 @@ public class Application {
bookmarkApi .bindPath("/api/bookmark") .on(server);
documentApi .bindPath("/api/document") .on(server);
companyModule .bindPath("/api/company") .on(server);
companyLegacy .bindPath("/legacy/company") .on(server);
itemApi .bindPath("/api/items") .on(server);
markdownApi .bindPath("/api/markdown") .on(server);
notesModule .bindPath("/api/notes") .on(server);