mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 18:33:08 +02:00
fix TODO type
This commit is contained in:
parent
adae7cf2ec
commit
39270c782a
2 changed files with 4 additions and 2 deletions
|
@ -1,8 +1,10 @@
|
||||||
import {
|
import {
|
||||||
Ad, Announcement, Antenna, App, AuthSession, Clip, DriveFile, DriveFolder, GalleryPost, InstanceMetadata,
|
Ad, Announcement, Antenna, App, AuthSession, Clip, DriveFile, DriveFolder, GalleryPost, InstanceMetadata,
|
||||||
Note, OriginType, Page, ServerInfo, Stats, TODO, User, UserGroup, UserList, UserSorting
|
Note, OriginType, Page, ServerInfo, Stats, User, UserGroup, UserList, UserSorting
|
||||||
} from './entities';
|
} from './entities';
|
||||||
|
|
||||||
|
type TODO = Record<string, any> | null;
|
||||||
|
|
||||||
type ShowUserReq = { username: string; host?: string; } | { userId: User['id']; };
|
type ShowUserReq = { username: string; host?: string; } | { userId: User['id']; };
|
||||||
|
|
||||||
export type Endpoints = {
|
export type Endpoints = {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
export type ID = string;
|
export type ID = string;
|
||||||
export type DateString = string;
|
export type DateString = string;
|
||||||
|
|
||||||
export type TODO = Record<string, any> | null;
|
type TODO = Record<string, any>;
|
||||||
|
|
||||||
export type User = {
|
export type User = {
|
||||||
id: ID;
|
id: ID;
|
||||||
|
|
Loading…
Reference in a new issue