-
Notifications
You must be signed in to change notification settings - Fork 1
feat(users): users profile pictures
#77
base: 03-29-feat_create_uploads_module
Are you sure you want to change the base?
feat(users): users profile pictures
#77
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @Blckbrry-Pi and the rest of your teammates on |
bd5c746 to
bc110e5
Compare
888d74b to
4495c1f
Compare
bc110e5 to
1d39eaf
Compare
4495c1f to
52b0244
Compare
c26e522 to
b751ee9
Compare
7adfa79 to
9ae331f
Compare
b751ee9 to
9366389
Compare
9ae331f to
799c23c
Compare
NathanFlurry
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getting closer, nice
799c23c to
530a5e9
Compare
9366389 to
2efca85
Compare
852f02a to
38a1e0d
Compare
9e8c3b8 to
d9f0c5b
Compare
43d7a67 to
92aa757
Compare
d9f0c5b to
3c40379
Compare
| } | ||
|
|
||
| // Prepare the upload to get the presigned URL | ||
| const { upload: presigned } = await ctx.modules.uploads.prepare({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs a tag: { users: { kind: "profile_picture", userId: "xxxx" } }
| createdAt DateTime @default(now()) | ||
| updatedAt DateTime @updatedAt | ||
| avatarUploadId String? @db.Uuid |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
profilePictureUploadId
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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

Resolves OGB-20