Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test and fixes for create_uploads endpoint #21

Merged
merged 14 commits into from
Jun 15, 2024
Merged

Test and fixes for create_uploads endpoint #21

merged 14 commits into from
Jun 15, 2024

Conversation

sisygoboom
Copy link
Collaborator

@sisygoboom sisygoboom commented Jun 7, 2024

In this PR:

  • uniform method for generating document unique IDs
  • build test for creating upload method (unfortunately, e2e proved too complex to do in a reasonable amount of time due to requiring authentication and interceptor)
  • potential fix for user details interceptor
  • Typing fixes relating to schemas

src/repositories/upload/upload.repository.ts Outdated Show resolved Hide resolved
src/repositories/video/video.repository.ts Outdated Show resolved Hide resolved
src/services/uploader/uploading.service.ts Outdated Show resolved Hide resolved
src/services/uploader/uploading.service.ts Outdated Show resolved Hide resolved
src/services/publishing/publishing.service.ts Outdated Show resolved Hide resolved
src/services/uploader/uploading.controller.test.ts Outdated Show resolved Hide resolved
src/services/uploader/uploading.controller.ts Outdated Show resolved Hide resolved
src/services/uploader/uploading.controller.ts Outdated Show resolved Hide resolved

export type User = z.infer<typeof userSchema>;

export type UserRequest = z.infer<typeof requestSchema>;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the types

Copy link
Contributor

@Geo25rey Geo25rey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once the rest of the convos are resolved, LGTM

Copy link
Contributor

@Geo25rey Geo25rey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sisygoboom sisygoboom merged commit 255bea5 into main Jun 15, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants