File tree Expand file tree Collapse file tree 1 file changed +17
-20
lines changed Expand file tree Collapse file tree 1 file changed +17
-20
lines changed Original file line number Diff line number Diff line change @@ -184,30 +184,10 @@ export class Openlayer extends Core.APIClient {
184
184
static fileFromPath = Uploads . fileFromPath ;
185
185
}
186
186
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
-
206
187
Openlayer . Projects = Projects ;
207
188
Openlayer . Commits = Commits ;
208
189
Openlayer . InferencePipelines = InferencePipelines ;
209
190
Openlayer . Storage = Storage ;
210
-
211
191
export declare namespace Openlayer {
212
192
export type RequestOptions = Core . RequestOptions ;
213
193
@@ -231,4 +211,21 @@ export declare namespace Openlayer {
231
211
export { Storage as Storage } ;
232
212
}
233
213
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
+
234
231
export default Openlayer ;
You can’t perform that action at this time.
0 commit comments