* refactor: UserAvatarGroupWithOrg.tsx remove unecessary profile prop * chore: define event-type types in platform/types * feat: event-type transformes in lib and re-exported through platform-libraries * chore: define user types in platform/types * chore: add users endpoint to platform-constants * refactor: app-store use narrowed down booker event type * chore: version old event-types module * fix: old event-types e2e test * fix: libraries add missing export * fix: reset libraries version to 0 * feat: new event-types module and users endpoints * feat: make booker atom work with v2 event-types * updating event type * refactor: remove guard for get event-types * refactor: move private hook to public * Revert "refactor: remove guard for get event-types" This reverts commit d41204069f1d5bb1305b388ce53399f9175f4249. * Revert "refactor: move private hook to public" This reverts commit 09322e8fba102e57104959f79ed6bfa9a677dc9d. * refactor: get by username and slug in /event-types * remove console log * feat: locations handle displayEventPublicly * test e2e event-types * revert: user output from types * refactor: event-types hooks have private and public folders * refactor: require event-type.slug in input * refactor: demand that all labels of booking fields are unique * refactor: remove unused import * refactor: only have email and name by default in booker * refactor: add booking field slug * fix: display event-type location publicly / hide it in booker * fix: display event-type location publicly / hide it in booker * fix: packages/lib tests * fix: typescript in e2e test * fix: dynamic event types input * refactor: use IsIn instead of IsEnum * refactor: simplify getEventTypes * fix: use ApiAuthGuard instead of AccessTokenGuard * chore: export more stuff from libraries * refactor: SchedulingTypeEnum and Type --------- Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com>
94 lines
3.5 KiB
JSON
94 lines
3.5 KiB
JSON
{
|
|
"name": "@calcom/api-v2",
|
|
"version": "0.0.1",
|
|
"description": "Platform API for Cal.com",
|
|
"author": "Cal.com Inc.",
|
|
"private": true,
|
|
"license": "UNLICENSED",
|
|
"scripts": {
|
|
"build": "yarn dev:build && nest build",
|
|
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
"start": "nest start",
|
|
"dev:build:watch": "yarn workspace @calcom/platform-constants build:watch & yarn workspace @calcom/platform-utils build:watch & yarn workspace @calcom/platform-types build:watch",
|
|
"dev:build": "yarn workspace @calcom/platform-constants build && yarn workspace @calcom/platform-utils build && yarn workspace @calcom/platform-types build",
|
|
"dev": "yarn dev:build && docker-compose up -d && yarn copy-swagger-module && yarn start --watch",
|
|
"start:debug": "nest start --debug --watch",
|
|
"start:prod": "node ./dist/apps/api/v2/src/main.js",
|
|
"test": "yarn dev:build && jest",
|
|
"test:watch": "yarn dev:build && jest --watch",
|
|
"test:cov": "yarn dev:build && jest --coverage",
|
|
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
|
|
"test:e2e": "yarn dev:build && jest --runInBand --config ./jest-e2e.json",
|
|
"prisma": "yarn workspace @calcom/prisma prisma",
|
|
"generate-schemas": "yarn prisma generate && yarn prisma format",
|
|
"copy-swagger-module": "ts-node -r tsconfig-paths/register swagger/copy-swagger-module.ts"
|
|
},
|
|
"dependencies": {
|
|
"@calcom/platform-constants": "*",
|
|
"@calcom/platform-libraries-0.0.13": "npm:@calcom/platform-libraries@0.0.13",
|
|
"@calcom/platform-libraries-0.0.2": "npm:@calcom/platform-libraries@0.0.2",
|
|
"@calcom/platform-libraries-0.0.4": "npm:@calcom/platform-libraries@0.0.4",
|
|
"@calcom/platform-types": "*",
|
|
"@calcom/platform-utils": "*",
|
|
"@calcom/prisma": "*",
|
|
"@golevelup/ts-jest": "^0.4.0",
|
|
"@microsoft/microsoft-graph-types-beta": "^0.42.0-preview",
|
|
"@nestjs/common": "^10.0.0",
|
|
"@nestjs/config": "^3.1.1",
|
|
"@nestjs/core": "^10.0.0",
|
|
"@nestjs/jwt": "^10.2.0",
|
|
"@nestjs/passport": "^10.0.2",
|
|
"@nestjs/platform-express": "^10.0.0",
|
|
"@nestjs/swagger": "^7.3.0",
|
|
"@nestjs/throttler": "^5.1.2",
|
|
"@sentry/node": "^8.8.0",
|
|
"body-parser": "^1.20.2",
|
|
"class-transformer": "^0.5.1",
|
|
"class-validator": "^0.14.0",
|
|
"cookie-parser": "^1.4.6",
|
|
"dotenv": "^16.3.1",
|
|
"fs-extra": "^11.2.0",
|
|
"googleapis": "^84.0.0",
|
|
"helmet": "^7.1.0",
|
|
"ioredis": "^5.3.2",
|
|
"luxon": "^3.4.4",
|
|
"nest-winston": "^1.9.4",
|
|
"nestjs-throttler-storage-redis": "^0.4.1",
|
|
"next-auth": "^4.22.1",
|
|
"passport": "^0.7.0",
|
|
"passport-jwt": "^4.0.1",
|
|
"querystring": "^0.2.1",
|
|
"reflect-metadata": "^0.1.13",
|
|
"rxjs": "^7.8.1",
|
|
"stripe": "^15.3.0",
|
|
"uuid": "^8.3.2",
|
|
"winston": "^3.11.0",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"@nestjs/cli": "^10.0.0",
|
|
"@nestjs/schematics": "^10.0.0",
|
|
"@nestjs/testing": "^10.0.0",
|
|
"@types/cookie-parser": "^1.4.6",
|
|
"@types/express": "^4.17.21",
|
|
"@types/fs-extra": "^11.0.4",
|
|
"@types/jest": "^29.5.10",
|
|
"@types/luxon": "^3.3.7",
|
|
"@types/node": "^20.3.1",
|
|
"@types/passport-jwt": "^3.0.13",
|
|
"@types/supertest": "^2.0.12",
|
|
"jest": "^29.7.0",
|
|
"prettier": "^2.8.6",
|
|
"source-map-support": "^0.5.21",
|
|
"supertest": "^6.3.3",
|
|
"ts-jest": "^29.1.1",
|
|
"ts-loader": "^9.4.3",
|
|
"ts-node": "^10.9.1",
|
|
"tsconfig-paths": "^4.1.0",
|
|
"typescript": "^4.9.4"
|
|
},
|
|
"prisma": {
|
|
"schema": "../../../packages/prisma/schema.prisma"
|
|
}
|
|
}
|