Changeset View
Changeset View
Standalone View
Standalone View
lib/types/avatar-types.js
Show All 13 Lines | |||||
export type ENSAvatarDBContent = { | export type ENSAvatarDBContent = { | ||||
+type: 'ens', | +type: 'ens', | ||||
}; | }; | ||||
export type AvatarDBContent = | export type AvatarDBContent = | ||||
| EmojiAvatarDBContent | | EmojiAvatarDBContent | ||||
| ImageAvatarDBContent | | ImageAvatarDBContent | ||||
| ENSAvatarDBContent; | | ENSAvatarDBContent; | ||||
export type UpdateUserAvatarRemoveRequest = { +type: 'remove' }; | |||||
export type UpdateUserAvatarRequest = | |||||
| AvatarDBContent | |||||
| UpdateUserAvatarRemoveRequest; |