From c153d23ea70cbfcd2d7b2c2c848d589e36dc0062 Mon Sep 17 00:00:00 2001 From: OneLiL05 Date: Mon, 2 Oct 2023 18:34:07 +0300 Subject: [PATCH] refactor: update exported types --- packages/nurekit/src/index.ts | 2 +- packages/nurekit/src/modules/groups.module.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nurekit/src/index.ts b/packages/nurekit/src/index.ts index a384e04..69a2fb5 100644 --- a/packages/nurekit/src/index.ts +++ b/packages/nurekit/src/index.ts @@ -1,7 +1,7 @@ import { Nurekit } from "./client.js"; export * from "./client.js"; -export * from "./types/index.js"; +export { IAuditorium, IGroup, ISchedule, ISubject, ITeacher } from "./types/index.js"; const nurekit = new Nurekit() diff --git a/packages/nurekit/src/modules/groups.module.ts b/packages/nurekit/src/modules/groups.module.ts index a2a0a03..e40c066 100644 --- a/packages/nurekit/src/modules/groups.module.ts +++ b/packages/nurekit/src/modules/groups.module.ts @@ -1,7 +1,7 @@ import { TimestampAdapter } from "../adapters/timestamp.adapter.js"; import { handleAxiosError } from "../helpers/axios.helper.js"; import { transformSchedule } from "../helpers/schedule.helper.js"; -import { IGroup, IRawSchedule, ISchedule } from "../index.js"; +import { IGroup, IRawSchedule, ISchedule } from "../types/index.js"; import { axiosClient } from "../libs/axios.js"; interface GetScheduleParams {