types: Introduce typings for OpenVidu Meet application and update references
This commit is contained in:
parent
2fac36c740
commit
3ddf7f0b7b
2
.gitignore
vendored
2
.gitignore
vendored
@ -36,7 +36,7 @@ speed-measure-plugin*.json
|
||||
npm-debug.log
|
||||
yarn-error.log
|
||||
testem.log
|
||||
/typings
|
||||
./**/typings
|
||||
|
||||
# System Files
|
||||
.DS_Store
|
||||
|
||||
@ -2,11 +2,11 @@
|
||||
"env": {
|
||||
"NODE_ENV": "development"
|
||||
},
|
||||
"watch": ["openapi/openvidu-meet-api.yaml", "src", "../types/src"],
|
||||
"watch": ["openapi/openvidu-meet-api.yaml", "src", "../typings/src"],
|
||||
"ext": "js,json,ts",
|
||||
"ignore": ["node_modules", "dist", "src/typings", "public"],
|
||||
"exec": "node --experimental-specifier-resolution=node --loader ts-node/esm ./src/server.ts",
|
||||
"events": {
|
||||
"restart": "npm run types:sync"
|
||||
"restart": "npm run typings:sync"
|
||||
}
|
||||
}
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
"start:dev": "nodemon",
|
||||
"package:build": "npm run build:prod && npm pack",
|
||||
"lib:sync-pro": "npm run package:build && cp openvidu-meet-server-*.tgz ../../openvidu-meet-pro/backend",
|
||||
"types:sync": "npm run sync-ce --prefix ../types",
|
||||
"typings:sync": "npm run sync-ce --prefix ../typings",
|
||||
"test:embedded-auth-api": "node --experimental-vm-modules node_modules/.bin/jest --forceExit tests/api/embedded/participants.test.ts",
|
||||
"test:integration-webhooks": "node --experimental-vm-modules node_modules/.bin/jest --forceExit tests/services/openvidu-webhook.service.test.ts",
|
||||
"lint:fix": "eslint src --fix",
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
"start:dev": "npx ng serve --configuration development --port=5080 --host=0.0.0.0",
|
||||
"build:dev": "npx ng build --configuration development --watch",
|
||||
"build:prod": "func() { ./node_modules/@angular/cli/bin/ng.js build --configuration production --base-href=\"${1:-/}\"; }; func",
|
||||
"types:sync": "npm run sync-ce --prefix ../types",
|
||||
"typings:sync": "npm run sync-ce --prefix ../typings",
|
||||
"sync:backend": "npx ng build --configuration production --output-path ../backend/dist/public/",
|
||||
"e2e:run-all": "npx mocha --recursive --timeout 30000 ./tests/e2e/**/*.test.ts",
|
||||
"e2e:run-routes": "npx mocha --recursive --timeout 30000 ./tests/e2e/routes.test.ts",
|
||||
|
||||
@ -4,8 +4,8 @@
|
||||
"path": "."
|
||||
},
|
||||
{
|
||||
"name": "types",
|
||||
"path": "types"
|
||||
"name": "typings",
|
||||
"path": "typings"
|
||||
},
|
||||
{
|
||||
"name": "backend",
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
HEADER_KEY="THIS HEADER IS AUTOGENERATED. DO NOT MODIFY MANUALLY."
|
||||
HEADER="/** $HEADER_KEY For any changes, please update the '/openvidu-meet/types' directory. */"
|
||||
HEADER="/** $HEADER_KEY For any changes, please update the '/openvidu-meet/typings' directory. */"
|
||||
SOURCE_DIR="src"
|
||||
|
||||
FRONTEND_DIR="../frontend/projects/shared-meet-components/src/lib/typings/ce"
|
||||
Loading…
x
Reference in New Issue
Block a user