Loosen types a bit
This commit is contained in:
@@ -8,6 +8,7 @@ import {
|
|||||||
AtUri,
|
AtUri,
|
||||||
BskyAgent,
|
BskyAgent,
|
||||||
ComAtprotoRepoUploadBlob,
|
ComAtprotoRepoUploadBlob,
|
||||||
|
Un$Typed,
|
||||||
} from '@atproto/api'
|
} from '@atproto/api'
|
||||||
import {
|
import {
|
||||||
QueryClient,
|
QueryClient,
|
||||||
@@ -117,8 +118,10 @@ export function usePrefetchProfileQuery() {
|
|||||||
interface ProfileUpdateParams {
|
interface ProfileUpdateParams {
|
||||||
profile: AppBskyActorDefs.ProfileViewDetailed
|
profile: AppBskyActorDefs.ProfileViewDetailed
|
||||||
updates:
|
updates:
|
||||||
| AppBskyActorProfile.Record
|
| Un$Typed<AppBskyActorProfile.Record>
|
||||||
| ((existing: AppBskyActorProfile.Record) => AppBskyActorProfile.Record)
|
| ((
|
||||||
|
existing: Un$Typed<AppBskyActorProfile.Record>,
|
||||||
|
) => Un$Typed<AppBskyActorProfile.Record>)
|
||||||
newUserAvatar?: RNImage | undefined | null
|
newUserAvatar?: RNImage | undefined | null
|
||||||
newUserBanner?: RNImage | undefined | null
|
newUserBanner?: RNImage | undefined | null
|
||||||
checkCommitted?: (res: AppBskyActorGetProfile.Response) => boolean
|
checkCommitted?: (res: AppBskyActorGetProfile.Response) => boolean
|
||||||
|
|||||||
Reference in New Issue
Block a user