feat: Base implementation of v2 of avatars (#12369)

* feat: Base implementation of v2 of avatars

* Make avatarUrl and logoUrl entirely optional

* Made necessary backwards compat changes

* fix: type errors

* Fix: OG image

* fix types

* Consistency with other behaviour, ux tweak

---------

Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
Alex van AndelandPeer Richelsen authored and GitHub committed 2023-11-20 12:49:38 +00:00
1 parent c55b36f235
commit 4f26ca1a7b
18 files changed
+258 -69

No files matched your search

@@ -268,6 +268,7 @@ function getTrpcHandlerData({
user: {
...getSampleUserInSession(),
...user,
avatarUrl: user.avatarUrl || null,
} satisfies TrpcSessionUser,
},
input: input,