From 92ed2f1608f0852c182f7e0ce8721d56b3d2578e Mon Sep 17 00:00:00 2001 From: James Cook Date: Sat, 12 Mar 2022 12:08:41 +0000 Subject: [PATCH] style: rename client files --- src/{client.ts => baseClient.ts} | 0 src/index.ts | 6 +++--- src/{parent.ts => parentClient.ts} | 2 +- src/{student.ts => studentClient.ts} | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) rename src/{client.ts => baseClient.ts} (100%) rename src/{parent.ts => parentClient.ts} (98%) rename src/{student.ts => studentClient.ts} (97%) diff --git a/src/client.ts b/src/baseClient.ts similarity index 100% rename from src/client.ts rename to src/baseClient.ts diff --git a/src/index.ts b/src/index.ts index fd22619..1c59197 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,4 @@ -export * from "./parent"; -export * from "./student"; +export * from "./parentClient"; +export * from "./studentClient"; export * from "./types"; -export * from "./dummyClient"; \ No newline at end of file +export * from "./dummyClient"; diff --git a/src/parent.ts b/src/parentClient.ts similarity index 98% rename from src/parent.ts rename to src/parentClient.ts index 1d10740..9e7ddfb 100644 --- a/src/parent.ts +++ b/src/parentClient.ts @@ -1,7 +1,7 @@ import Undici from "undici"; import type { GetPupilsResponse } from "./types"; -import { ClasschartsClient } from "./client"; +import { ClasschartsClient } from "./baseClient"; import { API_BASE_PARENT, BASE_URL } from "./consts"; /** * The base client diff --git a/src/student.ts b/src/studentClient.ts similarity index 97% rename from src/student.ts rename to src/studentClient.ts index 15210d9..7fd6a13 100644 --- a/src/student.ts +++ b/src/studentClient.ts @@ -1,6 +1,6 @@ import Undici from "undici"; import { API_BASE_STUDENT, BASE_URL } from "./consts"; -import { ClasschartsClient } from "./client"; +import { ClasschartsClient } from "./baseClient"; /** * The base client */