mirror of
https://github.com/geoffsee/open-gsio.git
synced 2025-09-08 22:56:46 +00:00
**Refactor:** Restructure server
package to streamline imports and improve file organization
- Moved `providers`, `services`, `models`, `lib`, and related files to `src` directory within `server` package. - Adjusted imports across the codebase to reflect the new paths. - Renamed several `.ts` files for consistency. - Introduced an `index.ts` in the `ai/providers` package to export all providers. This improves maintainability and aligns with the project's updated directory structure.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import Server from '@open-gsio/server';
|
||||
import ServerCoordinator from '@open-gsio/server/durable-objects/ServerCoordinator';
|
||||
import { ServerCoordinator } from '@open-gsio/durable-objects';
|
||||
import Router from '@open-gsio/server/src/router';
|
||||
|
||||
export { ServerCoordinator };
|
||||
|
||||
export default Server.Router();
|
||||
export default Router.Router();
|
||||
|
@@ -13,6 +13,7 @@
|
||||
"vite": "6.3.5",
|
||||
"wrangler": "^4.18.0",
|
||||
"@open-gsio/server": "workspace:*",
|
||||
"@open-gsio/client": "workspace:*"
|
||||
"@open-gsio/client": "workspace:*",
|
||||
"@open-gsio/durable-objects": "workspace:*"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user