Skip to content
This repository was archived by the owner on Aug 14, 2025. It is now read-only.

Commit b2ab744

Browse files
chore(client): refactor imports
1 parent c239e7d commit b2ab744

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

src/client.ts

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import type { HTTPMethod, PromiseOrValue, MergedRequestInit, FinalizedRequestIni
55
import { uuid4 } from './internal/utils/uuid';
66
import { validatePositiveInteger, isAbsoluteURL, safeJSON } from './internal/utils/values';
77
import { sleep } from './internal/utils/sleep';
8-
import { type Logger, type LogLevel, parseLogLevel } from './internal/utils/log';
98
export type { Logger, LogLevel } from './internal/utils/log';
109
import { castToError, isAbortError } from './internal/errors';
1110
import type { APIResponseProps } from './internal/parse';
@@ -18,9 +17,6 @@ import * as Errors from './core/error';
1817
import * as Uploads from './core/uploads';
1918
import * as API from './resources/index';
2019
import { APIPromise } from './core/api-promise';
21-
import { type Fetch } from './internal/builtin-types';
22-
import { HeadersLike, NullableHeaders, buildHeaders } from './internal/headers';
23-
import { FinalRequestOptions, RequestOptions } from './internal/request-options';
2420
import {
2521
Datasetio,
2622
DatasetioAppendRowsParams,
@@ -102,9 +98,6 @@ import {
10298
VectorIoQueryResponse,
10399
} from './resources/vector-io';
104100
import { Version, VersionRetrieveResponse } from './resources/version';
105-
import { readEnv } from './internal/utils/env';
106-
import { formatRequestDetails, loggerFor } from './internal/utils/log';
107-
import { isEmptyObj } from './internal/utils/values';
108101
import {
109102
Agent,
110103
AgentConfig,
@@ -150,6 +143,18 @@ import {
150143
ToolRuntimeListToolsResponse,
151144
URL,
152145
} from './resources/tool-runtime/tool-runtime';
146+
import { type Fetch } from './internal/builtin-types';
147+
import { HeadersLike, NullableHeaders, buildHeaders } from './internal/headers';
148+
import { FinalRequestOptions, RequestOptions } from './internal/request-options';
149+
import { readEnv } from './internal/utils/env';
150+
import {
151+
type LogLevel,
152+
type Logger,
153+
formatRequestDetails,
154+
loggerFor,
155+
parseLogLevel,
156+
} from './internal/utils/log';
157+
import { isEmptyObj } from './internal/utils/values';
153158

154159
export interface ClientOptions {
155160
/**

0 commit comments

Comments
 (0)