refactor(mount): streamline service type handling and improve organization ID retrieval

- Updated service type checks in the getBaseFilesPath and getServerId functions to use application and service IDs for better clarity and reliability.
- Removed redundant service type checks and adjusted logic to enhance maintainability.
- Added 'libsql' to the server relations in the schema for improved service management.
This commit is contained in:
Mauricio Siu
2026-03-23 15:51:46 -06:00
parent dce1454d4d
commit 116e9d85b7
3 changed files with 29 additions and 19 deletions

View File

@@ -117,6 +117,7 @@ export const serverRelations = relations(server, ({ one, many }) => ({
relationName: "applicationBuildServer",
}),
compose: many(compose),
libsql: many(libsql),
redis: many(redis),
mariadb: many(mariadb),
mongo: many(mongo),