From 241abb45a964a98fee10c3cf940180024dad78d1 Mon Sep 17 00:00:00 2001 From: stainless-bot Date: Tue, 12 Nov 2024 03:10:23 +0000 Subject: [PATCH] chore: rebuild project due to codegen change --- src/index.ts | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/src/index.ts b/src/index.ts index a18c461..ad58907 100644 --- a/src/index.ts +++ b/src/index.ts @@ -183,30 +183,10 @@ export class Arcade extends Core.APIClient { static fileFromPath = Uploads.fileFromPath; } -export { - ArcadeError, - APIError, - APIConnectionError, - APIConnectionTimeoutError, - APIUserAbortError, - NotFoundError, - ConflictError, - RateLimitError, - BadRequestError, - AuthenticationError, - InternalServerError, - PermissionDeniedError, - UnprocessableEntityError, -} from './error'; - -export import toFile = Uploads.toFile; -export import fileFromPath = Uploads.fileFromPath; - Arcade.Auth = Auth; Arcade.Health = Health; Arcade.Chat = Chat; Arcade.Tools = Tools; - export declare namespace Arcade { export type RequestOptions = Core.RequestOptions; @@ -254,4 +234,21 @@ export declare namespace Arcade { export type ToolDefinition = API.ToolDefinition; } +export { toFile, fileFromPath } from 'arcadejs/uploads'; +export { + ArcadeError, + APIError, + APIConnectionError, + APIConnectionTimeoutError, + APIUserAbortError, + NotFoundError, + ConflictError, + RateLimitError, + BadRequestError, + AuthenticationError, + InternalServerError, + PermissionDeniedError, + UnprocessableEntityError, +} from 'arcadejs/error'; + export default Arcade;