diff --git a/src/endpoints.ts b/src/endpoints.ts index 0c8c50e6f267f768c8873d0e03b4d33894400426..152266cf4e5edec9f00452c2640ebd41b41295c8 100644 --- a/src/endpoints.ts +++ b/src/endpoints.ts @@ -1,6 +1,7 @@ -import { Ad, Announcement, Antenna, App, AuthSession, Clip, DriveFile, DriveFolder, GalleryPost, InstanceMetadata, Note, OriginType, Page, ServerInfo, Stats, User, UserGroup, UserList, UserSorting } from './entities'; - -type TODO = Record<string, any>; +import { + Ad, Announcement, Antenna, App, AuthSession, Clip, DriveFile, DriveFolder, GalleryPost, InstanceMetadata, + Note, OriginType, Page, ServerInfo, Stats, TODO, User, UserGroup, UserList, UserSorting +} from './entities'; type ShowUserReq = { username: string; host?: string; } | { userId: User['id']; }; diff --git a/src/entities.ts b/src/entities.ts index e897da838166c2c63fbbea33ba36f3df71b8ce70..ac9fcd3fd64e9be88b0fdb830db0a61a608d7a76 100644 --- a/src/entities.ts +++ b/src/entities.ts @@ -1,7 +1,7 @@ export type ID = string; export type DateString = string; -type TODO = Record<string, any> | null; +export type TODO = Record<string, any> | null; export type User = { id: ID;