forked from FoundKeyGang/FoundKey
foundkey-js: remove galleries
This commit is contained in:
parent
48163872ed
commit
70fb1e9a5c
4 changed files with 1 additions and 23 deletions
|
@ -1099,10 +1099,6 @@ _permissions:
|
||||||
"write:user-groups": "Create, modify, delete, transfer, join and leave groups. Invite and ban others from groups. Accept and reject group invitations."
|
"write:user-groups": "Create, modify, delete, transfer, join and leave groups. Invite and ban others from groups. Accept and reject group invitations."
|
||||||
"read:channels": "List and read followed and joined channels"
|
"read:channels": "List and read followed and joined channels"
|
||||||
"write:channels": "Create, modify, follow and unfollow channels"
|
"write:channels": "Create, modify, follow and unfollow channels"
|
||||||
"read:gallery": "List and read gallery posts"
|
|
||||||
"write:gallery": "Create, modify and delete gallery posts"
|
|
||||||
"read:gallery-likes": "List and read gallery post likes"
|
|
||||||
"write:gallery-likes": "Like and unlike gallery posts"
|
|
||||||
_auth:
|
_auth:
|
||||||
shareAccess: "Would you like to authorize \"{name}\" to access this account?"
|
shareAccess: "Would you like to authorize \"{name}\" to access this account?"
|
||||||
shareAccessAsk: "Are you sure you want to authorize this application to access your\
|
shareAccessAsk: "Are you sure you want to authorize this application to access your\
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {
|
import {
|
||||||
Ad, Announcement, Antenna, App, AuthSession, Blocking, Channel, Clip, DateString, DetailedInstanceMetadata, DriveFile, DriveFolder, Following, FollowingFolloweePopulated, FollowingFollowerPopulated, FollowRequest, GalleryPost, Instance, InstanceMetadata,
|
Ad, Announcement, Antenna, App, AuthSession, Blocking, Channel, Clip, DateString, DetailedInstanceMetadata, DriveFile, DriveFolder, Following, FollowingFolloweePopulated, FollowingFollowerPopulated, FollowRequest, Instance, InstanceMetadata,
|
||||||
LiteInstanceMetadata,
|
LiteInstanceMetadata,
|
||||||
MeDetailed,
|
MeDetailed,
|
||||||
Note, NoteFavorite, OriginType, Page, ServerInfo, Stats, User, UserDetailed, UserGroup, UserList, UserSorting, Notification, NoteReaction, Signin, MessagingMessage,
|
Note, NoteFavorite, OriginType, Page, ServerInfo, Stats, User, UserDetailed, UserGroup, UserList, UserSorting, Notification, NoteReaction, Signin, MessagingMessage,
|
||||||
|
@ -282,15 +282,6 @@ export type Endpoints = {
|
||||||
'following/requests/cancel': { req: { userId: User['id'] }; res: User; };
|
'following/requests/cancel': { req: { userId: User['id'] }; res: User; };
|
||||||
'following/requests/list': { req: NoParams; res: FollowRequest[]; };
|
'following/requests/list': { req: NoParams; res: FollowRequest[]; };
|
||||||
'following/requests/reject': { req: { userId: User['id'] }; res: null; };
|
'following/requests/reject': { req: { userId: User['id'] }; res: null; };
|
||||||
'gallery/featured': { req: TODO; res: TODO; };
|
|
||||||
'gallery/popular': { req: TODO; res: TODO; };
|
|
||||||
'gallery/posts': { req: TODO; res: TODO; };
|
|
||||||
'gallery/posts/create': { req: TODO; res: TODO; };
|
|
||||||
'gallery/posts/delete': { req: { postId: GalleryPost['id'] }; res: null; };
|
|
||||||
'gallery/posts/like': { req: TODO; res: TODO; };
|
|
||||||
'gallery/posts/show': { req: TODO; res: TODO; };
|
|
||||||
'gallery/posts/unlike': { req: TODO; res: TODO; };
|
|
||||||
'gallery/posts/update': { req: TODO; res: TODO; };
|
|
||||||
'get-online-users-count': { req: TODO; res: TODO; };
|
'get-online-users-count': { req: TODO; res: TODO; };
|
||||||
'hashtags/list': { req: TODO; res: TODO; };
|
'hashtags/list': { req: TODO; res: TODO; };
|
||||||
'hashtags/search': { req: TODO; res: TODO; };
|
'hashtags/search': { req: TODO; res: TODO; };
|
||||||
|
@ -315,8 +306,6 @@ export type Endpoints = {
|
||||||
'i/export-notes': { req: TODO; res: TODO; };
|
'i/export-notes': { req: TODO; res: TODO; };
|
||||||
'i/export-user-lists': { req: TODO; res: TODO; };
|
'i/export-user-lists': { req: TODO; res: TODO; };
|
||||||
'i/favorites': { req: { limit?: number; sinceId?: NoteFavorite['id']; untilId?: NoteFavorite['id']; }; res: NoteFavorite[]; };
|
'i/favorites': { req: { limit?: number; sinceId?: NoteFavorite['id']; untilId?: NoteFavorite['id']; }; res: NoteFavorite[]; };
|
||||||
'i/gallery/likes': { req: TODO; res: TODO; };
|
|
||||||
'i/gallery/posts': { req: TODO; res: TODO; };
|
|
||||||
'i/get-word-muted-notes-count': { req: TODO; res: TODO; };
|
'i/get-word-muted-notes-count': { req: TODO; res: TODO; };
|
||||||
'i/import-blocking': { req: TODO; res: TODO; };
|
'i/import-blocking': { req: TODO; res: TODO; };
|
||||||
'i/import-following': { req: TODO; res: TODO; };
|
'i/import-following': { req: TODO; res: TODO; };
|
||||||
|
@ -488,7 +477,6 @@ export type Endpoints = {
|
||||||
'users/clips': { req: TODO; res: TODO; };
|
'users/clips': { req: TODO; res: TODO; };
|
||||||
'users/followers': { req: { userId?: User['id']; username?: User['username']; host?: User['host'] | null; limit?: number; sinceId?: Following['id']; untilId?: Following['id']; }; res: FollowingFollowerPopulated[]; };
|
'users/followers': { req: { userId?: User['id']; username?: User['username']; host?: User['host'] | null; limit?: number; sinceId?: Following['id']; untilId?: Following['id']; }; res: FollowingFollowerPopulated[]; };
|
||||||
'users/following': { req: { userId?: User['id']; username?: User['username']; host?: User['host'] | null; limit?: number; sinceId?: Following['id']; untilId?: Following['id']; }; res: FollowingFolloweePopulated[]; };
|
'users/following': { req: { userId?: User['id']; username?: User['username']; host?: User['host'] | null; limit?: number; sinceId?: Following['id']; untilId?: Following['id']; }; res: FollowingFolloweePopulated[]; };
|
||||||
'users/gallery/posts': { req: TODO; res: TODO; };
|
|
||||||
'users/groups/create': { req: TODO; res: TODO; };
|
'users/groups/create': { req: TODO; res: TODO; };
|
||||||
'users/groups/delete': { req: { groupId: UserGroup['id'] }; res: null; };
|
'users/groups/delete': { req: { groupId: UserGroup['id'] }; res: null; };
|
||||||
'users/groups/invitations/accept': { req: TODO; res: TODO; };
|
'users/groups/invitations/accept': { req: TODO; res: TODO; };
|
||||||
|
|
|
@ -35,8 +35,4 @@ export const permissions = [
|
||||||
'write:user-groups',
|
'write:user-groups',
|
||||||
'read:channels',
|
'read:channels',
|
||||||
'write:channels',
|
'write:channels',
|
||||||
'read:gallery',
|
|
||||||
'write:gallery',
|
|
||||||
'read:gallery-likes',
|
|
||||||
'write:gallery-likes',
|
|
||||||
];
|
];
|
||||||
|
|
|
@ -126,8 +126,6 @@ export type DriveFile = {
|
||||||
|
|
||||||
export type DriveFolder = TODO;
|
export type DriveFolder = TODO;
|
||||||
|
|
||||||
export type GalleryPost = TODO;
|
|
||||||
|
|
||||||
export type Note = {
|
export type Note = {
|
||||||
id: ID;
|
id: ID;
|
||||||
createdAt: DateString;
|
createdAt: DateString;
|
||||||
|
|
Loading…
Reference in a new issue