fix TODO type
This commit is contained in:
parent
6ae5f76250
commit
adae7cf2ec
|
@ -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';
|
import {
|
||||||
|
Ad, Announcement, Antenna, App, AuthSession, Clip, DriveFile, DriveFolder, GalleryPost, InstanceMetadata,
|
||||||
type TODO = Record<string, any>;
|
Note, OriginType, Page, ServerInfo, Stats, TODO, User, UserGroup, UserList, UserSorting
|
||||||
|
} from './entities';
|
||||||
|
|
||||||
type ShowUserReq = { username: string; host?: string; } | { userId: User['id']; };
|
type ShowUserReq = { username: string; host?: string; } | { userId: User['id']; };
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
export type ID = string;
|
export type ID = string;
|
||||||
export type DateString = string;
|
export type DateString = string;
|
||||||
|
|
||||||
type TODO = Record<string, any> | null;
|
export type TODO = Record<string, any> | null;
|
||||||
|
|
||||||
export type User = {
|
export type User = {
|
||||||
id: ID;
|
id: ID;
|
||||||
|
|
Loading…
Reference in a new issue