Commit Graph

159 Commits (a2cdb04985bef4c6130c58a57af2a536e0576b93)

Author SHA1 Message Date
Agusti Fernandez Pardo 9aa4b0e30d feat: inherit all validations from auto-generated zod 2022-03-30 17:37:51 +02:00
Agusti Fernandez 064c39b7f6
Merge pull request #13 from calcom/feat/swagger-docs 2022-03-30 17:07:00 +02:00
Agusti Fernandez Pardo 367621ea51 feat: users, teams, selectedCalendars w new code/docs 2022-03-30 16:56:24 +02:00
Agusti Fernandez a2ef0c8c79
Merge pull request #12 from calcom/feat/more-validations 2022-03-30 15:17:34 +02:00
Agusti Fernandez Pardo 1de7bc4146 prettier 2022-03-30 14:17:55 +02:00
Agusti Fernandez 39ae2aed37
Merge pull request #11 from calcom/chores/ignore-yarn-error 2022-03-29 04:04:57 +02:00
Agusti Fernandez Pardo 443e01f0da chore: update imports to use dasheS 2022-03-29 04:01:23 +02:00
Agusti Fernandez Pardo 20a93a13c9 feat: update users/teams/apiKeys to use middleware 2022-03-29 03:59:57 +02:00
Agusti Fernandez Pardo 3011e0ecf7 chore: no default export 2022-03-29 03:23:22 +02:00
Agusti Fernandez Pardo 75e635cb37 chore: remove yarn-error from repo, add to .gitignore 2022-03-29 02:47:48 +02:00
Agusti Fernandez 411a3145d8
Merge pull request #10 from calcom/feat/api-middleware 2022-03-29 02:28:27 +02:00
Agusti Fernandez Pardo ec8fe36930 feat: successfully protected all endpoints with next-api-middleware for verifyApiKey 2022-03-29 02:25:24 +02:00
Agusti Fernandez 752a61c756
Merge pull request #9 from calcom/add-more-endpoints
Add more endpoints
2022-03-29 01:01:03 +02:00
Agusti Fernandez Pardo 8165977ec3 Adds basic CRUD endpoints for bookingReferences, Crendentials, DailyEventReferences, DestinationCalendars, EventTypeCustomInputs, Memberships, Schedules, and SelectedCalendars 2022-03-29 00:27:14 +02:00
Agusti Fernandez Pardo 99d328c35d chore: refactor-out apiKey check into middleware 2022-03-28 17:46:12 +02:00
Agusti Fernandez 5826e1744c
Merge pull request #8 from calcom/feat/validate-add-availabilites-and-attendees
feat: adds availabilities and attendees endpoints
2022-03-28 16:21:57 +02:00
Agusti Fernandez Pardo 093d6888d2 remove unused req 2022-03-28 16:05:50 +02:00
Agusti Fernandez Pardo 1241ae6cfc feat: move findAll to return arrays 2022-03-28 16:05:00 +02:00
Agusti Fernandez Pardo 19934d8c3a Adds basic api-key auth in users, need to extract out 2022-03-28 02:51:40 +02:00
Agusti Fernandez Pardo 0e3131d866 feat: improve validations 2022-03-27 15:15:46 +02:00
Agusti Fernandez Pardo c561b16f85 chore: rename empty validations, enable relations on user zod object 2022-03-27 01:19:49 +01:00
Agusti Fernandez Pardo 396c5b8d8c chore: refactor all delete endpoints to use if/else instead of .catch() and .error() 2022-03-27 01:08:00 +01:00
Agusti Fernandez Pardo 936572e7e1 feat: adds availabilitesi and attendees endpoints, some cleanup less try/catch more if/else 2022-03-27 00:58:22 +01:00
Agusti Fernandez 8fbd8ccd63
Merge pull request #7 from calcom/chore/tests-new-and-find-all
feat: adds bookings and more tests
2022-03-26 23:09:00 +01:00
Agusti Fernandez Pardo ac307f7161 feat: adds bookings and more tests 2022-03-26 22:29:30 +01:00
Agusti Fernandez c0d7623beb
Merge pull request #6 from calcom/chore/more-testing
feat: 50% almost code coverage
2022-03-26 05:30:25 +01:00
Agusti Fernandez Pardo 7998e8fc2c feat: 50% almost code coverage 2022-03-26 05:28:53 +01:00
Agusti Fernandez 9233f143c6
Merge pull request #5 from calcom/feat/users-teams
Feature: adds users and teams tests
2022-03-26 02:24:02 +01:00
Agusti Fernandez Pardo 022ba7b8de fixes tests by passing stringifyISODates to createdDate and emailVerified 2022-03-26 02:22:28 +01:00
Agusti Fernandez Pardo 62a917c7a8 renames team -> teams adds tests for users and teams 2022-03-26 02:16:46 +01:00
Agusti Fernandez 557342104b
Merge pull request #4 from calcom/feat/teams
feat: Adds teams endpoints and zod validations
2022-03-26 01:55:07 +01:00
Agusti Fernandez Pardo 8b8629f37a feat: Adds teams endpoints and zod validations 2022-03-26 01:53:56 +01:00
Agusti Fernandez 2a1ed8dd79
Merge pull request #3 from calcom/feat/test-api-keys
Tests: add testing for api keys endpoints
2022-03-26 01:42:43 +01:00
Agusti Fernandez Pardo f2be36f89c fix: remove console statements 2022-03-26 01:41:22 +01:00
Agusti Fernandez Pardo 12a7129e5a feat: adds tests for api keys endpoints 2022-03-26 01:40:43 +01:00
Agusti Fernandez Pardo 9e8be659c5 feat: initial tests for api-keys endpoint 2022-03-26 00:42:12 +01:00
Agusti Fernandez f80f23d3c3
Merge pull request #2 from calcom/feat/with-transpile-modules
feat: adds module transpiling so api can require @calcom/prisma
2022-03-25 23:28:02 +01:00
Agusti Fernandez Pardo 084c91f6c1 feat: improve api key endpoints, add users endpoint 2022-03-25 23:26:22 +01:00
Agusti Fernandez Pardo d9c34f67e6 feat: adds api keys endpoints, new QueryIdAsString as apiKey has a UUID string-like ID unlike the numbers of event-type or others 2022-03-25 20:17:37 +01:00
Agusti Fernandez Pardo c2234593db feat: adds module transpiling so api can require @calcom/prisma and not @prisma/client directly 2022-03-25 19:37:51 +01:00
Agusti Fernandez Pardo a2817a2fee Feat: event-types and tests 2022-03-25 06:54:57 +01:00
Agusti Fernandez Pardo 2e2f6a5e57 feat: adds git hooks and husky for pre-commit linting 2022-03-25 02:18:43 +01:00
Agusti Fernandez Pardo a71039328f feat: 100% code-coverage, add coverage to gitignore 2022-03-25 02:07:51 +01:00
Agusti Fernandez Pardo f6371c3b75 adds message and full error in eventtype/new 2022-03-25 01:52:13 +01:00
Agusti Fernandez Pardo f4d889e87b add @lib and @api paths for cleaner imports 2022-03-25 00:43:35 +01:00
Agusti Fernandez Pardo 737a8897ba extracting out schemaQuery validation to lib, extracting out delete/edit to it's own files for clarity 2022-03-25 00:04:07 +01:00
Agusti Fernandez Pardo e4d9f7bc7d remove example validation file 2022-03-24 23:19:13 +01:00
Agusti Fernandez Pardo 84ab74b46a feat: tests all codepaths of event-type/[id] 2022-03-24 23:16:48 +01:00
Agusti Fernandez Pardo dfa227f1b6 adds testing for validations 2022-03-24 23:10:24 +01:00
Agusti Fernandez Pardo 713f53acc4 feat: add next-validations and zod validations 2022-03-24 21:25:35 +01:00