mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 12:36:57 +00:00
regenerate misskey-js
This commit is contained in:
parent
08b8d50124
commit
59ce4d6c28
5 changed files with 3438 additions and 33 deletions
|
@ -119,6 +119,9 @@ type AdminAnnouncementsListResponse = operations['admin___announcements___list']
|
|||
// @public (undocumented)
|
||||
type AdminAnnouncementsUpdateRequest = operations['admin___announcements___update']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type AdminApproveUserRequest = operations['admin___approve-user']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type AdminAvatarDecorationsCreateRequest = operations['admin___avatar-decorations___create']['requestBody']['content']['application/json'];
|
||||
|
||||
|
@ -143,6 +146,12 @@ type AdminCaptchaCurrentResponse = operations['admin___captcha___current']['resp
|
|||
// @public (undocumented)
|
||||
type AdminCaptchaSaveRequest = operations['admin___captcha___save']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type AdminCwUserRequest = operations['admin___cw-user']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type AdminDeclineUserRequest = operations['admin___decline-user']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type AdminDeleteAccountRequest = operations['admin___delete-account']['requestBody']['content']['application/json'];
|
||||
|
||||
|
@ -254,6 +263,9 @@ type AdminInviteListResponse = operations['admin___invite___list']['responses'][
|
|||
// @public (undocumented)
|
||||
type AdminMetaResponse = operations['admin___meta']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type AdminNsfwUserRequest = operations['admin___nsfw-user']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type AdminPromoCreateRequest = operations['admin___promo___create']['requestBody']['content']['application/json'];
|
||||
|
||||
|
@ -269,6 +281,9 @@ type AdminQueuePromoteRequest = operations['admin___queue___promote']['requestBo
|
|||
// @public (undocumented)
|
||||
type AdminQueueStatsResponse = operations['admin___queue___stats']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type AdminRejectQuotesRequest = operations['admin___reject-quotes']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type AdminRelaysAddRequest = operations['admin___relays___add']['requestBody']['content']['application/json'];
|
||||
|
||||
|
@ -350,6 +365,9 @@ type AdminShowUsersRequest = operations['admin___show-users']['requestBody']['co
|
|||
// @public (undocumented)
|
||||
type AdminShowUsersResponse = operations['admin___show-users']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type AdminSilenceUserRequest = operations['admin___silence-user']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type AdminSuspendUserRequest = operations['admin___suspend-user']['requestBody']['content']['application/json'];
|
||||
|
||||
|
@ -383,12 +401,18 @@ type AdminSystemWebhookUpdateRequest = operations['admin___system-webhook___upda
|
|||
// @public (undocumented)
|
||||
type AdminSystemWebhookUpdateResponse = operations['admin___system-webhook___update']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type AdminUnnsfwUserRequest = operations['admin___unnsfw-user']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type AdminUnsetUserAvatarRequest = operations['admin___unset-user-avatar']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type AdminUnsetUserBannerRequest = operations['admin___unset-user-banner']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type AdminUnsilenceUserRequest = operations['admin___unsilence-user']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type AdminUnsuspendUserRequest = operations['admin___unsuspend-user']['requestBody']['content']['application/json'];
|
||||
|
||||
|
@ -634,6 +658,7 @@ export type Channels = {
|
|||
readAntenna: (payload: Antenna) => void;
|
||||
receiveFollowRequest: (payload: User) => void;
|
||||
announcementCreated: (payload: AnnouncementCreated) => void;
|
||||
edited: (payload: Note) => void;
|
||||
};
|
||||
receives: null;
|
||||
};
|
||||
|
@ -641,6 +666,7 @@ export type Channels = {
|
|||
params: {
|
||||
withRenotes?: boolean;
|
||||
withFiles?: boolean;
|
||||
withBots?: boolean;
|
||||
};
|
||||
events: {
|
||||
note: (payload: Note) => void;
|
||||
|
@ -652,6 +678,7 @@ export type Channels = {
|
|||
withRenotes?: boolean;
|
||||
withReplies?: boolean;
|
||||
withFiles?: boolean;
|
||||
withBots?: boolean;
|
||||
};
|
||||
events: {
|
||||
note: (payload: Note) => void;
|
||||
|
@ -663,6 +690,7 @@ export type Channels = {
|
|||
withRenotes?: boolean;
|
||||
withReplies?: boolean;
|
||||
withFiles?: boolean;
|
||||
withBots?: boolean;
|
||||
};
|
||||
events: {
|
||||
note: (payload: Note) => void;
|
||||
|
@ -673,6 +701,18 @@ export type Channels = {
|
|||
params: {
|
||||
withRenotes?: boolean;
|
||||
withFiles?: boolean;
|
||||
withBots?: boolean;
|
||||
};
|
||||
events: {
|
||||
note: (payload: Note) => void;
|
||||
};
|
||||
receives: null;
|
||||
};
|
||||
bubbleTimeline: {
|
||||
params: {
|
||||
withRenotes?: boolean;
|
||||
withFiles?: boolean;
|
||||
withBots?: boolean;
|
||||
};
|
||||
events: {
|
||||
note: (payload: Note) => void;
|
||||
|
@ -1425,6 +1465,7 @@ declare namespace entities {
|
|||
AdminAnnouncementsListRequest,
|
||||
AdminAnnouncementsListResponse,
|
||||
AdminAnnouncementsUpdateRequest,
|
||||
AdminApproveUserRequest,
|
||||
AdminAvatarDecorationsCreateRequest,
|
||||
AdminAvatarDecorationsCreateResponse,
|
||||
AdminAvatarDecorationsDeleteRequest,
|
||||
|
@ -1433,6 +1474,8 @@ declare namespace entities {
|
|||
AdminAvatarDecorationsUpdateRequest,
|
||||
AdminCaptchaCurrentResponse,
|
||||
AdminCaptchaSaveRequest,
|
||||
AdminCwUserRequest,
|
||||
AdminDeclineUserRequest,
|
||||
AdminDeleteAccountRequest,
|
||||
AdminDeleteAllFilesOfAUserRequest,
|
||||
AdminDriveFilesRequest,
|
||||
|
@ -1470,11 +1513,13 @@ declare namespace entities {
|
|||
AdminInviteListRequest,
|
||||
AdminInviteListResponse,
|
||||
AdminMetaResponse,
|
||||
AdminNsfwUserRequest,
|
||||
AdminPromoCreateRequest,
|
||||
AdminQueueDeliverDelayedResponse,
|
||||
AdminQueueInboxDelayedResponse,
|
||||
AdminQueuePromoteRequest,
|
||||
AdminQueueStatsResponse,
|
||||
AdminRejectQuotesRequest,
|
||||
AdminRelaysAddRequest,
|
||||
AdminRelaysAddResponse,
|
||||
AdminRelaysListResponse,
|
||||
|
@ -1502,6 +1547,7 @@ declare namespace entities {
|
|||
AdminShowUserResponse,
|
||||
AdminShowUsersRequest,
|
||||
AdminShowUsersResponse,
|
||||
AdminSilenceUserRequest,
|
||||
AdminSuspendUserRequest,
|
||||
AdminSystemWebhookCreateRequest,
|
||||
AdminSystemWebhookCreateResponse,
|
||||
|
@ -1513,8 +1559,10 @@ declare namespace entities {
|
|||
AdminSystemWebhookTestRequest,
|
||||
AdminSystemWebhookUpdateRequest,
|
||||
AdminSystemWebhookUpdateResponse,
|
||||
AdminUnnsfwUserRequest,
|
||||
AdminUnsetUserAvatarRequest,
|
||||
AdminUnsetUserBannerRequest,
|
||||
AdminUnsilenceUserRequest,
|
||||
AdminUnsuspendUserRequest,
|
||||
AdminUpdateAbuseUserReportRequest,
|
||||
AdminUpdateMetaRequest,
|
||||
|
@ -1810,6 +1858,7 @@ declare namespace entities {
|
|||
IImportBlockingRequest,
|
||||
IImportFollowingRequest,
|
||||
IImportMutingRequest,
|
||||
IImportNotesRequest,
|
||||
IImportUserListsRequest,
|
||||
IMoveRequest,
|
||||
IMoveResponse,
|
||||
|
@ -1831,6 +1880,7 @@ declare namespace entities {
|
|||
IRegistryGetAllResponse,
|
||||
IRegistryGetDetailRequest,
|
||||
IRegistryGetDetailResponse,
|
||||
IRegistryGetUnsecureRequest,
|
||||
IRegistryKeysRequest,
|
||||
IRegistryKeysResponse,
|
||||
IRegistryKeysWithTypeRequest,
|
||||
|
@ -1872,6 +1922,8 @@ declare namespace entities {
|
|||
MyAppsResponse,
|
||||
NotesRequest,
|
||||
NotesResponse,
|
||||
NotesBubbleTimelineRequest,
|
||||
NotesBubbleTimelineResponse,
|
||||
NotesChildrenRequest,
|
||||
NotesChildrenResponse,
|
||||
NotesClipsRequest,
|
||||
|
@ -1881,20 +1933,26 @@ declare namespace entities {
|
|||
NotesCreateRequest,
|
||||
NotesCreateResponse,
|
||||
NotesDeleteRequest,
|
||||
NotesEditRequest,
|
||||
NotesEditResponse,
|
||||
NotesFavoritesCreateRequest,
|
||||
NotesFavoritesDeleteRequest,
|
||||
NotesFeaturedRequest,
|
||||
NotesFeaturedResponse,
|
||||
NotesFollowingRequest,
|
||||
NotesFollowingResponse,
|
||||
NotesGlobalTimelineRequest,
|
||||
NotesGlobalTimelineResponse,
|
||||
NotesHybridTimelineRequest,
|
||||
NotesHybridTimelineResponse,
|
||||
NotesLikeRequest,
|
||||
NotesLocalTimelineRequest,
|
||||
NotesLocalTimelineResponse,
|
||||
NotesMentionsRequest,
|
||||
NotesMentionsResponse,
|
||||
NotesPollsRecommendationRequest,
|
||||
NotesPollsRecommendationResponse,
|
||||
NotesPollsRefreshRequest,
|
||||
NotesPollsVoteRequest,
|
||||
NotesReactionsRequest,
|
||||
NotesReactionsResponse,
|
||||
|
@ -1904,6 +1962,10 @@ declare namespace entities {
|
|||
NotesRenotesResponse,
|
||||
NotesRepliesRequest,
|
||||
NotesRepliesResponse,
|
||||
NotesScheduleCreateRequest,
|
||||
NotesScheduleDeleteRequest,
|
||||
NotesScheduleListRequest,
|
||||
NotesScheduleListResponse,
|
||||
NotesSearchRequest,
|
||||
NotesSearchResponse,
|
||||
NotesSearchByTagRequest,
|
||||
|
@ -1921,6 +1983,8 @@ declare namespace entities {
|
|||
NotesUnrenoteRequest,
|
||||
NotesUserListTimelineRequest,
|
||||
NotesUserListTimelineResponse,
|
||||
NotesVersionsRequest,
|
||||
NotesVersionsResponse,
|
||||
NotificationsCreateRequest,
|
||||
PagePushRequest,
|
||||
PagesCreateRequest,
|
||||
|
@ -1961,6 +2025,8 @@ declare namespace entities {
|
|||
RolesUsersRequest,
|
||||
RolesUsersResponse,
|
||||
ServerInfoResponse,
|
||||
SponsorsRequest,
|
||||
SponsorsResponse,
|
||||
StatsResponse,
|
||||
SwRegisterRequest,
|
||||
SwRegisterResponse,
|
||||
|
@ -2461,6 +2527,9 @@ type IImportFollowingRequest = operations['i___import-following']['requestBody']
|
|||
// @public (undocumented)
|
||||
type IImportMutingRequest = operations['i___import-muting']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type IImportNotesRequest = operations['i___import-notes']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type IImportUserListsRequest = operations['i___import-user-lists']['requestBody']['content']['application/json'];
|
||||
|
||||
|
@ -2542,6 +2611,9 @@ type IRegistryGetRequest = operations['i___registry___get']['requestBody']['cont
|
|||
// @public (undocumented)
|
||||
type IRegistryGetResponse = operations['i___registry___get']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type IRegistryGetUnsecureRequest = operations['i___registry___get-unsecure']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type IRegistryKeysRequest = operations['i___registry___keys']['requestBody']['content']['application/json'];
|
||||
|
||||
|
@ -2693,12 +2765,30 @@ type ModerationLog = {
|
|||
} & ({
|
||||
type: 'updateServerSettings';
|
||||
info: ModerationLogPayloads['updateServerSettings'];
|
||||
} | {
|
||||
type: 'approve';
|
||||
info: ModerationLogPayloads['approve'];
|
||||
} | {
|
||||
type: 'decline';
|
||||
info: ModerationLogPayloads['decline'];
|
||||
} | {
|
||||
type: 'suspend';
|
||||
info: ModerationLogPayloads['suspend'];
|
||||
} | {
|
||||
type: 'unsuspend';
|
||||
info: ModerationLogPayloads['unsuspend'];
|
||||
} | {
|
||||
type: 'acceptQuotesUser';
|
||||
info: ModerationLogPayloads['acceptQuotesUser'];
|
||||
} | {
|
||||
type: 'rejectQuotesUser';
|
||||
info: ModerationLogPayloads['rejectQuotesUser'];
|
||||
} | {
|
||||
type: 'acceptQuotesInstance';
|
||||
info: ModerationLogPayloads['acceptQuotesInstance'];
|
||||
} | {
|
||||
type: 'rejectQuotesInstance';
|
||||
info: ModerationLogPayloads['rejectQuotesInstance'];
|
||||
} | {
|
||||
type: 'updateUserNote';
|
||||
info: ModerationLogPayloads['updateUserNote'];
|
||||
|
@ -2756,6 +2846,15 @@ type ModerationLog = {
|
|||
} | {
|
||||
type: 'deleteUserAnnouncement';
|
||||
info: ModerationLogPayloads['deleteUserAnnouncement'];
|
||||
} | {
|
||||
type: 'setMandatoryCW';
|
||||
info: ModerationLogPayloads['setMandatoryCW'];
|
||||
} | {
|
||||
type: 'setRemoteInstanceNSFW';
|
||||
info: ModerationLogPayloads['setRemoteInstanceNSFW'];
|
||||
} | {
|
||||
type: 'unsetRemoteInstanceNSFW';
|
||||
info: ModerationLogPayloads['unsetRemoteInstanceNSFW'];
|
||||
} | {
|
||||
type: 'resetPassword';
|
||||
info: ModerationLogPayloads['resetPassword'];
|
||||
|
@ -2765,6 +2864,12 @@ type ModerationLog = {
|
|||
} | {
|
||||
type: 'unsuspendRemoteInstance';
|
||||
info: ModerationLogPayloads['unsuspendRemoteInstance'];
|
||||
} | {
|
||||
type: 'rejectRemoteInstanceReports';
|
||||
info: ModerationLogPayloads['rejectRemoteInstanceReports'];
|
||||
} | {
|
||||
type: 'acceptRemoteInstanceReports';
|
||||
info: ModerationLogPayloads['acceptRemoteInstanceReports'];
|
||||
} | {
|
||||
type: 'updateRemoteInstanceNote';
|
||||
info: ModerationLogPayloads['updateRemoteInstanceNote'];
|
||||
|
@ -2843,10 +2948,55 @@ type ModerationLog = {
|
|||
} | {
|
||||
type: 'deleteChatRoom';
|
||||
info: ModerationLogPayloads['deleteChatRoom'];
|
||||
} | {
|
||||
type: 'clearUserFiles';
|
||||
info: ModerationLogPayloads['clearUserFiles'];
|
||||
} | {
|
||||
type: 'nsfwUser';
|
||||
info: ModerationLogPayloads['nsfwUser'];
|
||||
} | {
|
||||
type: 'unNsfwUser';
|
||||
info: ModerationLogPayloads['unNsfwUser'];
|
||||
} | {
|
||||
type: 'silenceUser';
|
||||
info: ModerationLogPayloads['silenceUser'];
|
||||
} | {
|
||||
type: 'unSilenceUser';
|
||||
info: ModerationLogPayloads['unSilenceUser'];
|
||||
} | {
|
||||
type: 'createAccount';
|
||||
info: ModerationLogPayloads['createAccount'];
|
||||
} | {
|
||||
type: 'clearRemoteFiles';
|
||||
info: ModerationLogPayloads['clearRemoteFiles'];
|
||||
} | {
|
||||
type: 'clearOwnerlessFiles';
|
||||
info: ModerationLogPayloads['clearOwnerlessFiles'];
|
||||
} | {
|
||||
type: 'updateCustomEmojis';
|
||||
info: ModerationLogPayloads['updateCustomEmojis'];
|
||||
} | {
|
||||
type: 'importCustomEmojis';
|
||||
info: ModerationLogPayloads['importCustomEmojis'];
|
||||
} | {
|
||||
type: 'clearInstanceFiles';
|
||||
info: ModerationLogPayloads['clearInstanceFiles'];
|
||||
} | {
|
||||
type: 'severFollowRelations';
|
||||
info: ModerationLogPayloads['severFollowRelations'];
|
||||
} | {
|
||||
type: 'createPromo';
|
||||
info: ModerationLogPayloads['createPromo'];
|
||||
} | {
|
||||
type: 'addRelay';
|
||||
info: ModerationLogPayloads['addRelay'];
|
||||
} | {
|
||||
type: 'removeRelay';
|
||||
info: ModerationLogPayloads['removeRelay'];
|
||||
});
|
||||
|
||||
// @public (undocumented)
|
||||
export const moderationLogTypes: readonly ["updateServerSettings", "suspend", "unsuspend", "updateUserNote", "addCustomEmoji", "updateCustomEmoji", "deleteCustomEmoji", "assignRole", "unassignRole", "createRole", "updateRole", "deleteRole", "clearQueue", "promoteQueue", "deleteDriveFile", "deleteNote", "createGlobalAnnouncement", "createUserAnnouncement", "updateGlobalAnnouncement", "updateUserAnnouncement", "deleteGlobalAnnouncement", "deleteUserAnnouncement", "resetPassword", "suspendRemoteInstance", "unsuspendRemoteInstance", "updateRemoteInstanceNote", "markSensitiveDriveFile", "unmarkSensitiveDriveFile", "resolveAbuseReport", "forwardAbuseReport", "updateAbuseReportNote", "createInvitation", "createAd", "updateAd", "deleteAd", "createAvatarDecoration", "updateAvatarDecoration", "deleteAvatarDecoration", "unsetUserAvatar", "unsetUserBanner", "createSystemWebhook", "updateSystemWebhook", "deleteSystemWebhook", "createAbuseReportNotificationRecipient", "updateAbuseReportNotificationRecipient", "deleteAbuseReportNotificationRecipient", "deleteAccount", "deletePage", "deleteFlash", "deleteGalleryPost", "deleteChatRoom"];
|
||||
export const moderationLogTypes: readonly ["updateServerSettings", "suspend", "approve", "decline", "unsuspend", "updateUserNote", "addCustomEmoji", "updateCustomEmoji", "deleteCustomEmoji", "assignRole", "unassignRole", "createRole", "updateRole", "deleteRole", "clearQueue", "promoteQueue", "deleteDriveFile", "deleteNote", "createGlobalAnnouncement", "createUserAnnouncement", "updateGlobalAnnouncement", "updateUserAnnouncement", "deleteGlobalAnnouncement", "deleteUserAnnouncement", "resetPassword", "setMandatoryCW", "setRemoteInstanceNSFW", "unsetRemoteInstanceNSFW", "suspendRemoteInstance", "unsuspendRemoteInstance", "rejectRemoteInstanceReports", "acceptRemoteInstanceReports", "updateRemoteInstanceNote", "markSensitiveDriveFile", "unmarkSensitiveDriveFile", "resolveAbuseReport", "forwardAbuseReport", "updateAbuseReportNote", "createInvitation", "createAd", "updateAd", "deleteAd", "createAvatarDecoration", "updateAvatarDecoration", "deleteAvatarDecoration", "unsetUserAvatar", "unsetUserBanner", "createSystemWebhook", "updateSystemWebhook", "deleteSystemWebhook", "createAbuseReportNotificationRecipient", "updateAbuseReportNotificationRecipient", "deleteAbuseReportNotificationRecipient", "deleteAccount", "deletePage", "deleteFlash", "deleteGalleryPost", "deleteChatRoom"];
|
||||
|
||||
// @public (undocumented)
|
||||
type MuteCreateRequest = operations['mute___create']['requestBody']['content']['application/json'];
|
||||
|
@ -2888,6 +3038,12 @@ type NoteFavorite = components['schemas']['NoteFavorite'];
|
|||
// @public (undocumented)
|
||||
type NoteReaction = components['schemas']['NoteReaction'];
|
||||
|
||||
// @public (undocumented)
|
||||
type NotesBubbleTimelineRequest = operations['notes___bubble-timeline']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type NotesBubbleTimelineResponse = operations['notes___bubble-timeline']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type NotesChildrenRequest = operations['notes___children']['requestBody']['content']['application/json'];
|
||||
|
||||
|
@ -2915,6 +3071,12 @@ type NotesCreateResponse = operations['notes___create']['responses']['200']['con
|
|||
// @public (undocumented)
|
||||
type NotesDeleteRequest = operations['notes___delete']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type NotesEditRequest = operations['notes___edit']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type NotesEditResponse = operations['notes___edit']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type NotesFavoritesCreateRequest = operations['notes___favorites___create']['requestBody']['content']['application/json'];
|
||||
|
||||
|
@ -2927,6 +3089,12 @@ type NotesFeaturedRequest = operations['notes___featured']['requestBody']['conte
|
|||
// @public (undocumented)
|
||||
type NotesFeaturedResponse = operations['notes___featured']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type NotesFollowingRequest = operations['notes___following']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type NotesFollowingResponse = operations['notes___following']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type NotesGlobalTimelineRequest = operations['notes___global-timeline']['requestBody']['content']['application/json'];
|
||||
|
||||
|
@ -2939,6 +3107,9 @@ type NotesHybridTimelineRequest = operations['notes___hybrid-timeline']['request
|
|||
// @public (undocumented)
|
||||
type NotesHybridTimelineResponse = operations['notes___hybrid-timeline']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type NotesLikeRequest = operations['notes___like']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type NotesLocalTimelineRequest = operations['notes___local-timeline']['requestBody']['content']['application/json'];
|
||||
|
||||
|
@ -2957,6 +3128,9 @@ type NotesPollsRecommendationRequest = operations['notes___polls___recommendatio
|
|||
// @public (undocumented)
|
||||
type NotesPollsRecommendationResponse = operations['notes___polls___recommendation']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type NotesPollsRefreshRequest = operations['notes___polls___refresh']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type NotesPollsVoteRequest = operations['notes___polls___vote']['requestBody']['content']['application/json'];
|
||||
|
||||
|
@ -2990,6 +3164,18 @@ type NotesRequest = operations['notes']['requestBody']['content']['application/j
|
|||
// @public (undocumented)
|
||||
type NotesResponse = operations['notes']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type NotesScheduleCreateRequest = operations['notes___schedule___create']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type NotesScheduleDeleteRequest = operations['notes___schedule___delete']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type NotesScheduleListRequest = operations['notes___schedule___list']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type NotesScheduleListResponse = operations['notes___schedule___list']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type NotesSearchByTagRequest = operations['notes___search-by-tag']['requestBody']['content']['application/json'];
|
||||
|
||||
|
@ -3041,6 +3227,12 @@ type NotesUserListTimelineRequest = operations['notes___user-list-timeline']['re
|
|||
// @public (undocumented)
|
||||
type NotesUserListTimelineResponse = operations['notes___user-list-timeline']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type NotesVersionsRequest = operations['notes___versions']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type NotesVersionsResponse = operations['notes___versions']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
export const noteVisibilities: readonly ["public", "home", "followers", "specified"];
|
||||
|
||||
|
@ -3051,7 +3243,7 @@ type Notification_2 = components['schemas']['Notification'];
|
|||
type NotificationsCreateRequest = operations['notifications___create']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
export const notificationTypes: readonly ["note", "follow", "mention", "reply", "renote", "quote", "reaction", "pollVote", "pollEnded", "receiveFollowRequest", "followRequestAccepted", "groupInvited", "app", "roleAssigned", "chatRoomInvitationReceived", "achievementEarned"];
|
||||
export const notificationTypes: readonly ["note", "follow", "mention", "reply", "renote", "quote", "reaction", "pollVote", "pollEnded", "receiveFollowRequest", "followRequestAccepted", "groupInvited", "app", "roleAssigned", "chatRoomInvitationReceived", "achievementEarned", "edited", "scheduledNoteFailed", "scheduledNotePosted"];
|
||||
|
||||
// @public (undocumented)
|
||||
export function nyaize(text: string): string;
|
||||
|
@ -3114,7 +3306,7 @@ type PartialRolePolicyOverride = Partial<{
|
|||
}>;
|
||||
|
||||
// @public (undocumented)
|
||||
export const permissions: readonly ["read:account", "write:account", "read:blocks", "write:blocks", "read:drive", "write:drive", "read:favorites", "write:favorites", "read:following", "write:following", "read:messaging", "write:messaging", "read:mutes", "write:mutes", "write:notes", "read:notifications", "write:notifications", "read:reactions", "write:reactions", "write:votes", "read:pages", "write:pages", "write:page-likes", "read:page-likes", "read:user-groups", "write:user-groups", "read:channels", "write:channels", "read:gallery", "write:gallery", "read:gallery-likes", "write:gallery-likes", "read:flash", "write:flash", "read:flash-likes", "write:flash-likes", "read:admin:abuse-user-reports", "write:admin:delete-account", "write:admin:delete-all-files-of-a-user", "read:admin:index-stats", "read:admin:table-stats", "read:admin:user-ips", "read:admin:meta", "write:admin:reset-password", "write:admin:resolve-abuse-user-report", "write:admin:send-email", "read:admin:server-info", "read:admin:show-moderation-log", "read:admin:show-user", "write:admin:suspend-user", "write:admin:unset-user-avatar", "write:admin:unset-user-banner", "write:admin:unsuspend-user", "write:admin:meta", "write:admin:user-note", "write:admin:roles", "read:admin:roles", "write:admin:relays", "read:admin:relays", "write:admin:invite-codes", "read:admin:invite-codes", "write:admin:announcements", "read:admin:announcements", "write:admin:avatar-decorations", "read:admin:avatar-decorations", "write:admin:federation", "write:admin:account", "read:admin:account", "write:admin:emoji", "read:admin:emoji", "write:admin:queue", "read:admin:queue", "write:admin:promo", "write:admin:drive", "read:admin:drive", "write:admin:ad", "read:admin:ad", "write:invite-codes", "read:invite-codes", "write:clip-favorite", "read:clip-favorite", "read:federation", "write:report-abuse", "write:chat", "read:chat"];
|
||||
export const permissions: readonly ["read:account", "write:account", "read:blocks", "write:blocks", "read:drive", "write:drive", "read:favorites", "write:favorites", "read:following", "write:following", "read:messaging", "write:messaging", "read:mutes", "write:mutes", "write:notes", "read:notes-schedule", "write:notes-schedule", "read:notifications", "write:notifications", "read:reactions", "write:reactions", "write:votes", "read:pages", "write:pages", "write:page-likes", "read:page-likes", "read:user-groups", "write:user-groups", "read:channels", "write:channels", "read:gallery", "write:gallery", "read:gallery-likes", "write:gallery-likes", "read:flash", "write:flash", "read:flash-likes", "write:flash-likes", "read:admin:abuse-user-reports", "write:admin:delete-account", "write:admin:delete-all-files-of-a-user", "read:admin:index-stats", "read:admin:table-stats", "read:admin:user-ips", "read:admin:meta", "write:admin:reset-password", "write:admin:resolve-abuse-user-report", "write:admin:send-email", "read:admin:server-info", "read:admin:show-moderation-log", "read:admin:show-user", "write:admin:suspend-user", "write:admin:approve-user", "write:admin:decline-user", "write:admin:nsfw-user", "write:admin:unnsfw-user", "write:admin:cw-user", "write:admin:silence-user", "write:admin:unsilence-user", "write:admin:unset-user-avatar", "write:admin:unset-user-banner", "write:admin:unsuspend-user", "write:admin:reject-quotes", "write:admin:meta", "write:admin:user-note", "write:admin:roles", "read:admin:roles", "write:admin:relays", "read:admin:relays", "write:admin:invite-codes", "read:admin:invite-codes", "write:admin:announcements", "read:admin:announcements", "write:admin:avatar-decorations", "read:admin:avatar-decorations", "write:admin:federation", "write:admin:account", "read:admin:account", "write:admin:emoji", "read:admin:emoji", "write:admin:queue", "read:admin:queue", "write:admin:promo", "write:admin:drive", "read:admin:drive", "write:admin:ad", "read:admin:ad", "write:invite-codes", "read:invite-codes", "write:clip-favorite", "read:clip-favorite", "read:federation", "write:report-abuse", "write:chat", "read:chat"];
|
||||
|
||||
// @public (undocumented)
|
||||
type PingResponse = operations['ping']['responses']['200']['content']['application/json'];
|
||||
|
@ -3376,6 +3568,12 @@ type SignupResponse = MeDetailed & {
|
|||
token: string;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
type SponsorsRequest = operations['sponsors']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type SponsorsResponse = operations['sponsors']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type StatsResponse = operations['stats']['responses']['200']['content']['application/json'];
|
||||
|
||||
|
@ -3655,8 +3853,8 @@ type V2AdminEmojiListResponse = operations['v2___admin___emoji___list']['respons
|
|||
//
|
||||
// src/entities.ts:50:2 - (ae-forgotten-export) The symbol "ModerationLogPayloads" needs to be exported by the entry point index.d.ts
|
||||
// src/streaming.ts:57:3 - (ae-forgotten-export) The symbol "ReconnectingWebSocket" needs to be exported by the entry point index.d.ts
|
||||
// src/streaming.types.ts:217:4 - (ae-forgotten-export) The symbol "ReversiUpdateKey" needs to be exported by the entry point index.d.ts
|
||||
// src/streaming.types.ts:227:4 - (ae-forgotten-export) The symbol "ReversiUpdateSettings" needs to be exported by the entry point index.d.ts
|
||||
// src/streaming.types.ts:233:4 - (ae-forgotten-export) The symbol "ReversiUpdateKey" needs to be exported by the entry point index.d.ts
|
||||
// src/streaming.types.ts:243:4 - (ae-forgotten-export) The symbol "ReversiUpdateSettings" needs to be exported by the entry point index.d.ts
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
"devDependencies": {
|
||||
"@readme/openapi-parser": "2.7.0",
|
||||
"@types/node": "22.13.9",
|
||||
"@typescript-eslint/eslint-plugin": "8.26.0",
|
||||
"@typescript-eslint/parser": "8.26.0",
|
||||
"eslint": "9.14.0",
|
||||
"@typescript-eslint/eslint-plugin": "8.27.0",
|
||||
"@typescript-eslint/parser": "8.27.0",
|
||||
"eslint": "9.22.0",
|
||||
"openapi-types": "12.1.3",
|
||||
"openapi-typescript": "6.7.6",
|
||||
"ts-case-convert": "2.1.0",
|
||||
|
|
|
@ -590,6 +590,7 @@ import type {
|
|||
RolesUsersResponse,
|
||||
ServerInfoResponse,
|
||||
SponsorsRequest,
|
||||
SponsorsResponse,
|
||||
StatsResponse,
|
||||
SwRegisterRequest,
|
||||
SwRegisterResponse,
|
||||
|
@ -1054,7 +1055,7 @@ export type Endpoints = {
|
|||
'roles/show': { req: RolesShowRequest; res: RolesShowResponse };
|
||||
'roles/users': { req: RolesUsersRequest; res: RolesUsersResponse };
|
||||
'server-info': { req: EmptyRequest; res: ServerInfoResponse };
|
||||
'sponsors': { req: SponsorsRequest; res: EmptyResponse };
|
||||
'sponsors': { req: SponsorsRequest; res: SponsorsResponse };
|
||||
'stats': { req: EmptyRequest; res: StatsResponse };
|
||||
'sw/register': { req: SwRegisterRequest; res: SwRegisterResponse };
|
||||
'sw/show-registration': { req: SwShowRegistrationRequest; res: SwShowRegistrationResponse };
|
||||
|
|
|
@ -593,6 +593,7 @@ export type RolesUsersRequest = operations['roles___users']['requestBody']['cont
|
|||
export type RolesUsersResponse = operations['roles___users']['responses']['200']['content']['application/json'];
|
||||
export type ServerInfoResponse = operations['server-info']['responses']['200']['content']['application/json'];
|
||||
export type SponsorsRequest = operations['sponsors']['requestBody']['content']['application/json'];
|
||||
export type SponsorsResponse = operations['sponsors']['responses']['200']['content']['application/json'];
|
||||
export type StatsResponse = operations['stats']['responses']['200']['content']['application/json'];
|
||||
export type SwRegisterRequest = operations['sw___register']['requestBody']['content']['application/json'];
|
||||
export type SwRegisterResponse = operations['sw___register']['responses']['200']['content']['application/json'];
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue