Skip to content

Commit 01656d8

Browse files
committed
ci: Format code
1 parent f34dbf3 commit 01656d8

File tree

3 files changed

+12
-23
lines changed

3 files changed

+12
-23
lines changed

src/lib/seam/connect/options.ts

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,13 @@ export interface SeamHttpRequestOptions {
2525
isUndocumentedApiEnabled?: boolean
2626
}
2727

28-
export interface SeamHttpFromPublishableKeyOptions
29-
extends SeamHttpCommonOptions {}
28+
export interface SeamHttpFromPublishableKeyOptions extends SeamHttpCommonOptions {}
3029

3130
export interface SeamHttpOptionsFromEnv extends SeamHttpCommonOptions {}
3231

33-
export interface SeamHttpWithoutWorkspaceOptionsFromEnv
34-
extends SeamHttpCommonOptions {}
32+
export interface SeamHttpWithoutWorkspaceOptionsFromEnv extends SeamHttpCommonOptions {}
3533

36-
export interface SeamHttpWithoutWorkspaceOptionsWithClient
37-
extends SeamHttpCommonOptions {
34+
export interface SeamHttpWithoutWorkspaceOptionsWithClient extends SeamHttpCommonOptions {
3835
client: Client
3936
}
4037

@@ -96,8 +93,7 @@ export const isSeamHttpOptionsWithApiKey = (
9693
return true
9794
}
9895

99-
export interface SeamHttpOptionsWithClientSessionToken
100-
extends SeamHttpCommonOptions {
96+
export interface SeamHttpOptionsWithClientSessionToken extends SeamHttpCommonOptions {
10197
clientSessionToken: string
10298
}
10399

@@ -128,8 +124,7 @@ export const isSeamHttpOptionsWithClientSessionToken = (
128124
return true
129125
}
130126

131-
export interface SeamHttpWithoutWorkspaceOptionsWithConsoleSessionToken
132-
extends SeamHttpCommonOptions {
127+
export interface SeamHttpWithoutWorkspaceOptionsWithConsoleSessionToken extends SeamHttpCommonOptions {
133128
consoleSessionToken: string
134129
}
135130

@@ -160,8 +155,7 @@ export const isSeamHttpWithoutWorkspaceOptionsWithConsoleSessionToken = (
160155
return true
161156
}
162157

163-
export interface SeamHttpOptionsWithConsoleSessionToken
164-
extends SeamHttpCommonOptions {
158+
export interface SeamHttpOptionsWithConsoleSessionToken extends SeamHttpCommonOptions {
165159
consoleSessionToken: string
166160
workspaceId: string
167161
}
@@ -182,8 +176,7 @@ export const isSeamHttpOptionsWithConsoleSessionToken = (
182176
return true
183177
}
184178

185-
export interface SeamHttpWithoutWorkspaceOptionsWithPersonalAccessToken
186-
extends SeamHttpCommonOptions {
179+
export interface SeamHttpWithoutWorkspaceOptionsWithPersonalAccessToken extends SeamHttpCommonOptions {
187180
personalAccessToken: string
188181
}
189182

@@ -214,8 +207,7 @@ export const isSeamHttpWithoutWorkspaceOptionsWithPersonalAccessToken = (
214207
return true
215208
}
216209

217-
export interface SeamHttpOptionsWithPersonalAccessToken
218-
extends SeamHttpCommonOptions {
210+
export interface SeamHttpOptionsWithPersonalAccessToken extends SeamHttpCommonOptions {
219211
personalAccessToken: string
220212
workspaceId: string
221213
}

src/lib/seam/connect/seam-http-request.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@ interface SeamHttpRequestConfig<TResponseKey> {
2424
export class SeamHttpRequest<
2525
const TResponse,
2626
const TResponseKey extends keyof TResponse | undefined,
27-
> implements
28-
Promise<
29-
TResponseKey extends keyof TResponse ? TResponse[TResponseKey] : undefined
30-
>
31-
{
27+
> implements Promise<
28+
TResponseKey extends keyof TResponse ? TResponse[TResponseKey] : undefined
29+
> {
3230
readonly [Symbol.toStringTag]: string = 'SeamHttpRequest'
3331

3432
readonly #parent: SeamHttpRequestParent

src/lib/seam/connect/seam-paginator.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ interface Pagination {
2020
export class SeamPaginator<
2121
const TResponse,
2222
const TResponseKey extends keyof TResponse,
23-
> implements AsyncIterable<EnsureReadonlyArray<TResponse[TResponseKey]>>
24-
{
23+
> implements AsyncIterable<EnsureReadonlyArray<TResponse[TResponseKey]>> {
2524
readonly #request: SeamHttpRequest<TResponse, TResponseKey>
2625
readonly #parent: SeamPaginatorParent
2726

0 commit comments

Comments
 (0)