Skip to content

Commit 17acfcd

Browse files
chore: rebuild project due to codegen change (#60)
1 parent c35c76f commit 17acfcd

File tree

1 file changed

+17
-20
lines changed

1 file changed

+17
-20
lines changed

src/index.ts

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -184,30 +184,10 @@ export class Openlayer extends Core.APIClient {
184184
static fileFromPath = Uploads.fileFromPath;
185185
}
186186

187-
export {
188-
OpenlayerError,
189-
APIError,
190-
APIConnectionError,
191-
APIConnectionTimeoutError,
192-
APIUserAbortError,
193-
NotFoundError,
194-
ConflictError,
195-
RateLimitError,
196-
BadRequestError,
197-
AuthenticationError,
198-
InternalServerError,
199-
PermissionDeniedError,
200-
UnprocessableEntityError,
201-
} from './error';
202-
203-
export import toFile = Uploads.toFile;
204-
export import fileFromPath = Uploads.fileFromPath;
205-
206187
Openlayer.Projects = Projects;
207188
Openlayer.Commits = Commits;
208189
Openlayer.InferencePipelines = InferencePipelines;
209190
Openlayer.Storage = Storage;
210-
211191
export declare namespace Openlayer {
212192
export type RequestOptions = Core.RequestOptions;
213193

@@ -231,4 +211,21 @@ export declare namespace Openlayer {
231211
export { Storage as Storage };
232212
}
233213

214+
export { toFile, fileFromPath } from 'openlayer/uploads';
215+
export {
216+
OpenlayerError,
217+
APIError,
218+
APIConnectionError,
219+
APIConnectionTimeoutError,
220+
APIUserAbortError,
221+
NotFoundError,
222+
ConflictError,
223+
RateLimitError,
224+
BadRequestError,
225+
AuthenticationError,
226+
InternalServerError,
227+
PermissionDeniedError,
228+
UnprocessableEntityError,
229+
} from 'openlayer/error';
230+
234231
export default Openlayer;

0 commit comments

Comments
 (0)