From e8499796479901284fa112ac7afb41529920cb0a Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Fri, 18 Oct 2024 13:25:22 +0200 Subject: [PATCH] backend: Exported shared modules --- backend/index.ts | 2 ++ backend/package.json | 3 ++- backend/src/config/index.ts | 2 ++ backend/src/routes/index.ts | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 backend/src/config/index.ts diff --git a/backend/index.ts b/backend/index.ts index bb60fc2b..c358f813 100644 --- a/backend/index.ts +++ b/backend/index.ts @@ -4,3 +4,5 @@ export * from './src/services/index.js'; export * from './src/models/index.js'; export * from './src/helpers/index.js'; export * from './src/server.js'; +export * from './src/config/index.js'; +export * from './src/utils/path-utils.js'; diff --git a/backend/package.json b/backend/package.json index 2776c903..aca159e1 100644 --- a/backend/package.json +++ b/backend/package.json @@ -26,7 +26,8 @@ "dev:start": "cross-env USE_HTTPS=false SERVER_CORS_ORIGIN=* nodemon -I --exec node --experimental-specifier-resolution=node --loader ts-node/esm ./src/server.ts", "lint": "eslint src --fix", "format": "prettier --ignore-path .gitignore --write '**/*.{ts,js,json,md}'", - "pack": "npm pack" + "pack": "npm pack", + "dev:sync-call-pro": "npm run build && npm run pack && cp openvidu-call-server-**.tgz ../../openvidu-call-pro/backend && cd ../../openvidu-call-pro/backend && npm install openvidu-call-server-**.tgz " }, "dependencies": { "@aws-sdk/client-s3": "3.673.0", diff --git a/backend/src/config/index.ts b/backend/src/config/index.ts new file mode 100644 index 00000000..62323387 --- /dev/null +++ b/backend/src/config/index.ts @@ -0,0 +1,2 @@ +export * from './sequelize.js'; +export * from './swagger.js'; diff --git a/backend/src/routes/index.ts b/backend/src/routes/index.ts index 8159283c..9aead960 100644 --- a/backend/src/routes/index.ts +++ b/backend/src/routes/index.ts @@ -1,2 +1,3 @@ export * from './api.routes.js'; export * from './livekit.routes.js'; +export * from './embedded.routes.js';