From 8c8a7af2acc0ec1698d371a9d423d0d79b96803e Mon Sep 17 00:00:00 2001 From: JJ-Cro Date: Thu, 12 Dec 2024 11:07:24 +0100 Subject: [PATCH] chore(): rearranged v1 so I can start adding v2 responses --- src/types/index.ts | 2 +- src/types/response/{ => v1}/futures.ts | 2 +- src/types/response/{ => v1}/index.ts | 0 src/types/response/{ => v1}/shared.ts | 0 src/types/response/{ => v1}/spot.ts | 0 5 files changed, 2 insertions(+), 2 deletions(-) rename src/types/response/{ => v1}/futures.ts (98%) rename src/types/response/{ => v1}/index.ts (100%) rename src/types/response/{ => v1}/shared.ts (100%) rename src/types/response/{ => v1}/spot.ts (100%) diff --git a/src/types/index.ts b/src/types/index.ts index 86329ba..2b763b1 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -1,4 +1,4 @@ export * from './request'; -export * from './response'; +export * from './response/v1'; export * from './shared'; export * from './websockets'; diff --git a/src/types/response/futures.ts b/src/types/response/v1/futures.ts similarity index 98% rename from src/types/response/futures.ts rename to src/types/response/v1/futures.ts index fb3b4f3..6cbb251 100644 --- a/src/types/response/futures.ts +++ b/src/types/response/v1/futures.ts @@ -2,7 +2,7 @@ import { FuturesHoldMode, FuturesHoldSide, FuturesMarginMode, -} from '../request'; +} from '../../request'; export interface FuturesMarketTrade { tradeId: string; diff --git a/src/types/response/index.ts b/src/types/response/v1/index.ts similarity index 100% rename from src/types/response/index.ts rename to src/types/response/v1/index.ts diff --git a/src/types/response/shared.ts b/src/types/response/v1/shared.ts similarity index 100% rename from src/types/response/shared.ts rename to src/types/response/v1/shared.ts diff --git a/src/types/response/spot.ts b/src/types/response/v1/spot.ts similarity index 100% rename from src/types/response/spot.ts rename to src/types/response/v1/spot.ts