Skip to content

Commit

Permalink
prettify
Browse files Browse the repository at this point in the history
  • Loading branch information
soloseng committed Feb 29, 2024
1 parent 6db3bfe commit e1a2bec
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/common/src/interfaces/requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -484,10 +484,10 @@ export type DomainRequestHeader<R extends DomainRequest> =
R extends DomainRestrictedSignatureRequest
? DomainRestrictedSignatureRequestHeader
: never | R extends DisableDomainRequest
? DisableDomainRequestHeader
: never | R extends DomainQuotaStatusRequest
? DomainQuotaStatusRequestHeader
: never
? DisableDomainRequestHeader
: never | R extends DomainQuotaStatusRequest
? DomainQuotaStatusRequestHeader
: never

export type SignMessageRequestHeader = KeyVersionHeader & PnpAuthHeader

Expand All @@ -497,11 +497,11 @@ export type PhoneNumberPrivacyRequestHeader<R extends PhoneNumberPrivacyRequest>
R extends SignMessageRequest
? SignMessageRequestHeader
: never | R extends PnpQuotaRequest
? PnpQuotaRequestHeader
: never
? PnpQuotaRequestHeader
: never

export type OdisRequestHeader<R extends OdisRequest> = R extends DomainRequest
? DomainRequestHeader<R>
: never | R extends PhoneNumberPrivacyRequest
? PhoneNumberPrivacyRequestHeader<R>
: never
? PhoneNumberPrivacyRequestHeader<R>
: never

0 comments on commit e1a2bec

Please sign in to comment.