mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-04 19:57:26 +00:00
fix TODO type
This commit is contained in:
parent
6ae5f76250
commit
adae7cf2ec
2 changed files with 5 additions and 4 deletions
|
@ -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