From 0b32450a6d91dac715edf5cb9fedba907414f2c7 Mon Sep 17 00:00:00 2001 From: SKairinos Date: Thu, 8 Aug 2024 06:57:38 +0000 Subject: [PATCH] fix imports --- src/api/klass.ts | 16 ++++++++-------- src/api/school.ts | 12 ++++++------ src/api/schoolTeacherInvitation.ts | 2 +- src/api/user.ts | 16 ++++++++-------- 4 files changed, 23 insertions(+), 23 deletions(-) diff --git a/src/api/klass.ts b/src/api/klass.ts index 8b5cd96..def4fe8 100644 --- a/src/api/klass.ts +++ b/src/api/klass.ts @@ -1,11 +1,3 @@ -import { type Class, urls } from "codeforlife/api" -import getReadClassEndpoints, { - CLASS_TAG, - type ListClassesArg, - type ListClassesResult, - type RetrieveClassArg, - type RetrieveClassResult, -} from "codeforlife/api/endpoints/klass" import { type BulkUpdateArg, type BulkUpdateResult, @@ -18,6 +10,14 @@ import { buildUrl, tagData, } from "codeforlife/utils/api" +import { type Class, urls } from "codeforlife/api" +import getReadClassEndpoints, { + CLASS_TAG, + type ListClassesArg, + type ListClassesResult, + type RetrieveClassArg, + type RetrieveClassResult, +} from "codeforlife/api/endpoints/klass" import api from "." diff --git a/src/api/school.ts b/src/api/school.ts index 62e5b0c..307b76f 100644 --- a/src/api/school.ts +++ b/src/api/school.ts @@ -1,9 +1,3 @@ -import { type School, urls } from "codeforlife/api" -import getReadSchoolEndpoints, { - type RetrieveSchoolArg, - type RetrieveSchoolResult, - SCHOOL_TAG, -} from "codeforlife/api/endpoints/school" import { type CreateArg, type CreateResult, @@ -12,6 +6,12 @@ import { buildUrl, tagData, } from "codeforlife/utils/api" +import { type School, urls } from "codeforlife/api" +import getReadSchoolEndpoints, { + type RetrieveSchoolArg, + type RetrieveSchoolResult, + SCHOOL_TAG, +} from "codeforlife/api/endpoints/school" import api from "." diff --git a/src/api/schoolTeacherInvitation.ts b/src/api/schoolTeacherInvitation.ts index ea11e4e..aaa2920 100644 --- a/src/api/schoolTeacherInvitation.ts +++ b/src/api/schoolTeacherInvitation.ts @@ -1,4 +1,3 @@ -import { type User } from "codeforlife/api" import { type Arg, type CreateArg, @@ -15,6 +14,7 @@ import { buildUrl, tagData, } from "codeforlife/utils/api" +import { type User } from "codeforlife/api" import api from "." diff --git a/src/api/user.ts b/src/api/user.ts index 6fdb9e3..29b5d34 100644 --- a/src/api/user.ts +++ b/src/api/user.ts @@ -1,11 +1,3 @@ -import { type User, urls } from "codeforlife/api" -import getReadUserEndpoints, { - type ListUsersArg, - type ListUsersResult, - type RetrieveUserArg, - type RetrieveUserResult, - USER_TAG, -} from "codeforlife/api/endpoints/user" import { type Arg, type CreateArg, @@ -17,6 +9,14 @@ import { buildUrl, tagData, } from "codeforlife/utils/api" +import { type User, urls } from "codeforlife/api" +import getReadUserEndpoints, { + type ListUsersArg, + type ListUsersResult, + type RetrieveUserArg, + type RetrieveUserResult, + USER_TAG, +} from "codeforlife/api/endpoints/user" import api from "."