This repository was archived by the owner on Sep 17, 2024. It is now read-only.
feat(users): users profile pictures#77
Open
Blckbrry-Pi wants to merge 3 commits into03-29-feat_create_uploads_modulefrom
Open
feat(users): users profile pictures#77Blckbrry-Pi wants to merge 3 commits into03-29-feat_create_uploads_modulefrom
users profile pictures#77Blckbrry-Pi wants to merge 3 commits into03-29-feat_create_uploads_modulefrom
Conversation
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @Blckbrry-Pi and the rest of your teammates on |
MasterPtato
reviewed
Apr 1, 2024
bd5c746 to
bc110e5
Compare
888d74b to
4495c1f
Compare
bc110e5 to
1d39eaf
Compare
4495c1f to
52b0244
Compare
NathanFlurry
suggested changes
Apr 16, 2024
c26e522 to
b751ee9
Compare
7adfa79 to
9ae331f
Compare
b751ee9 to
9366389
Compare
9ae331f to
799c23c
Compare
MasterPtato
approved these changes
Apr 17, 2024
799c23c to
530a5e9
Compare
9366389 to
2efca85
Compare
852f02a to
38a1e0d
Compare
9e8c3b8 to
d9f0c5b
Compare
43d7a67 to
92aa757
Compare
d9f0c5b to
3c40379
Compare
NathanFlurry
suggested changes
Jun 4, 2024
| } | ||
|
|
||
| // Prepare the upload to get the presigned URL | ||
| const { upload: presigned } = await ctx.modules.uploads.prepare({ |
Member
There was a problem hiding this comment.
needs a tag: { users: { kind: "profile_picture", userId: "xxxx" } }
| createdAt DateTime @default(now()) | ||
| updatedAt DateTime @updatedAt | ||
|
|
||
| avatarUploadId String? @db.Uuid |
modules/users/module.yaml
Outdated
| public: true | ||
| prepare_profile_picture: | ||
| name: Start Profile Picture Upload | ||
| description: Allow the user to begin uploading a profile picture. |
Member
There was a problem hiding this comment.
add comment about complete with set_profile_picture
modules/users/module.yaml
Outdated
| description: Create a token for a user to authenticate future requests. | ||
| set_profile_picture: | ||
| name: Set Profile Picture | ||
| description: Set the profile picture for a user. |
Member
There was a problem hiding this comment.
add comment about prepare with prepare_profile_picture
3c40379 to
cb8c42d
Compare
92aa757 to
446ff6d
Compare
1db2dcd to
2c11c57
Compare
446ff6d to
60656cd
Compare
2c11c57 to
875a790
Compare
60656cd to
2f7639a
Compare
875a790 to
8cb913b
Compare
2f7639a to
fa4f889
Compare
8cb913b to
8173f65
Compare
fa4f889 to
d7a5892
Compare
8173f65 to
34ef6be
Compare
d7a5892 to
dc9024c
Compare
34ef6be to
b2312b2
Compare
dc9024c to
4c28f2b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Resolves OGB-20