Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Feb 20, 2024
1 parent 9c278a7 commit f00adc4
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions packages/@uppy/utils/src/CompanionClientProvider.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
export type RequestOptions =
{
method?: string
data?: Record<string, unknown>
skipPostResponse?: boolean
signal?: AbortSignal
authFormData?: unknown
qs?: Record<string, string>
}
export type RequestOptions = {
method?: string
data?: Record<string, unknown>
skipPostResponse?: boolean
signal?: AbortSignal
authFormData?: unknown
qs?: Record<string, string>
}

/**
* CompanionClientProvider is subset of the types of the `Provider`
Expand All @@ -23,9 +22,7 @@ export interface CompanionClientProvider {
name: string
provider: string
login(options?: RequestOptions): Promise<void>
logout<ResBody>(
options?: RequestOptions,
): Promise<ResBody>
logout<ResBody>(options?: RequestOptions): Promise<ResBody>
list<ResBody>(
directory: string | undefined,
options: RequestOptions,
Expand All @@ -34,8 +31,5 @@ export interface CompanionClientProvider {
export interface CompanionClientSearchProvider {
name: string
provider: string
search<ResBody>(
text: string,
queries?: string,
): Promise<ResBody>
search<ResBody>(text: string, queries?: string): Promise<ResBody>
}

0 comments on commit f00adc4

Please sign in to comment.