fix: secure: true
なエンドポイントの型が misskey-js に含まれていない (#12603)
* 作った * 修正 * 修正
This commit is contained in:
parent
ac4089f37d
commit
e38af60fd0
9 changed files with 6520 additions and 11 deletions
|
@ -125,6 +125,9 @@ type AdminEmojiDeleteBulkRequest = operations['admin/emoji/delete-bulk']['reques
|
|||
// @public (undocumented)
|
||||
type AdminEmojiDeleteRequest = operations['admin/emoji/delete']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type AdminEmojiImportZipRequest = operations['admin/emoji/import-zip']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type AdminEmojiListRemoteRequest = operations['admin/emoji/list-remote']['requestBody']['content']['application/json'];
|
||||
|
||||
|
@ -375,8 +378,6 @@ class APIClient {
|
|||
fetch: FetchLike;
|
||||
// (undocumented)
|
||||
origin: string;
|
||||
// (undocumented)
|
||||
request<E extends keyof Endpoints, P extends Endpoints[E]['req']>(endpoint: E, params?: P, credential?: string | null): Promise<SwitchCaseResponseType<E, P>>;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
|
@ -409,6 +410,9 @@ type ApShowRequest = operations['ap/show']['requestBody']['content']['applicatio
|
|||
// @public (undocumented)
|
||||
type ApShowResponse = operations['ap/show']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type AuthAcceptRequest = operations['auth/accept']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type AuthSessionGenerateRequest = operations['auth/session/generate']['requestBody']['content']['application/json'];
|
||||
|
||||
|
@ -1062,6 +1066,7 @@ declare namespace entities {
|
|||
AdminEmojiCopyResponse,
|
||||
AdminEmojiDeleteBulkRequest,
|
||||
AdminEmojiDeleteRequest,
|
||||
AdminEmojiImportZipRequest,
|
||||
AdminEmojiListRemoteRequest,
|
||||
AdminEmojiListRemoteResponse,
|
||||
AdminEmojiListRequest,
|
||||
|
@ -1138,6 +1143,7 @@ declare namespace entities {
|
|||
AppCreateResponse,
|
||||
AppShowRequest,
|
||||
AppShowResponse,
|
||||
AuthAcceptRequest,
|
||||
AuthSessionGenerateRequest,
|
||||
AuthSessionGenerateResponse,
|
||||
AuthSessionShowRequest,
|
||||
|
@ -1297,13 +1303,31 @@ declare namespace entities {
|
|||
HashtagsUsersRequest,
|
||||
HashtagsUsersResponse,
|
||||
IResponse,
|
||||
I2faDoneRequest,
|
||||
I2faKeyDoneRequest,
|
||||
I2faPasswordLessRequest,
|
||||
I2faRegisterKeyRequest,
|
||||
I2faRegisterRequest,
|
||||
I2faUpdateKeyRequest,
|
||||
I2faRemoveKeyRequest,
|
||||
I2faUnregisterRequest,
|
||||
IAppsRequest,
|
||||
IAuthorizedAppsRequest,
|
||||
IClaimAchievementRequest,
|
||||
IChangePasswordRequest,
|
||||
IDeleteAccountRequest,
|
||||
IExportFollowingRequest,
|
||||
IFavoritesRequest,
|
||||
IFavoritesResponse,
|
||||
IGalleryLikesRequest,
|
||||
IGalleryLikesResponse,
|
||||
IGalleryPostsRequest,
|
||||
IGalleryPostsResponse,
|
||||
IImportBlockingRequest,
|
||||
IImportFollowingRequest,
|
||||
IImportMutingRequest,
|
||||
IImportUserListsRequest,
|
||||
IImportAntennasRequest,
|
||||
INotificationsRequest,
|
||||
INotificationsResponse,
|
||||
INotificationsGroupedRequest,
|
||||
|
@ -1315,6 +1339,7 @@ declare namespace entities {
|
|||
IPinRequest,
|
||||
IPinResponse,
|
||||
IReadAnnouncementRequest,
|
||||
IRegenerateTokenRequest,
|
||||
IRegistryGetAllRequest,
|
||||
IRegistryGetDetailRequest,
|
||||
IRegistryGetRequest,
|
||||
|
@ -1322,10 +1347,15 @@ declare namespace entities {
|
|||
IRegistryKeysRequest,
|
||||
IRegistryRemoveRequest,
|
||||
IRegistrySetRequest,
|
||||
IRevokeTokenRequest,
|
||||
ISigninHistoryRequest,
|
||||
ISigninHistoryResponse,
|
||||
IUnpinRequest,
|
||||
IUnpinResponse,
|
||||
IUpdateEmailRequest,
|
||||
IUpdateRequest,
|
||||
IUpdateResponse,
|
||||
IMoveRequest,
|
||||
IWebhooksCreateRequest,
|
||||
IWebhooksShowRequest,
|
||||
IWebhooksUpdateRequest,
|
||||
|
@ -1340,6 +1370,8 @@ declare namespace entities {
|
|||
EmojisResponse,
|
||||
EmojiRequest,
|
||||
EmojiResponse,
|
||||
MiauthGenTokenRequest,
|
||||
MiauthGenTokenResponse,
|
||||
MuteCreateRequest,
|
||||
MuteDeleteRequest,
|
||||
MuteListRequest,
|
||||
|
@ -1402,6 +1434,7 @@ declare namespace entities {
|
|||
NotesUserListTimelineRequest,
|
||||
NotesUserListTimelineResponse,
|
||||
NotificationsCreateRequest,
|
||||
PagePushRequest,
|
||||
PagesCreateRequest,
|
||||
PagesCreateResponse,
|
||||
PagesDeleteRequest,
|
||||
|
@ -1770,12 +1803,51 @@ type HashtagsUsersRequest = operations['hashtags/users']['requestBody']['content
|
|||
// @public (undocumented)
|
||||
type HashtagsUsersResponse = operations['hashtags/users']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type I2faDoneRequest = operations['i/2fa/done']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type I2faKeyDoneRequest = operations['i/2fa/key-done']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type I2faPasswordLessRequest = operations['i/2fa/password-less']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type I2faRegisterKeyRequest = operations['i/2fa/register-key']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type I2faRegisterRequest = operations['i/2fa/register']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type I2faRemoveKeyRequest = operations['i/2fa/remove-key']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type I2faUnregisterRequest = operations['i/2fa/unregister']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type I2faUpdateKeyRequest = operations['i/2fa/update-key']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type IAppsRequest = operations['i/apps']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type IAuthorizedAppsRequest = operations['i/authorized-apps']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type IChangePasswordRequest = operations['i/change-password']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type IClaimAchievementRequest = operations['i/claim-achievement']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type ID = string;
|
||||
|
||||
// @public (undocumented)
|
||||
type IDeleteAccountRequest = operations['i/delete-account']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type IExportFollowingRequest = operations['i/export-following']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type IFavoritesRequest = operations['i/favorites']['requestBody']['content']['application/json'];
|
||||
|
||||
|
@ -1794,6 +1866,24 @@ type IGalleryPostsRequest = operations['i/gallery/posts']['requestBody']['conten
|
|||
// @public (undocumented)
|
||||
type IGalleryPostsResponse = operations['i/gallery/posts']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type IImportAntennasRequest = operations['i/import-antennas']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type IImportBlockingRequest = operations['i/import-blocking']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type IImportFollowingRequest = operations['i/import-following']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type IImportMutingRequest = operations['i/import-muting']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type IImportUserListsRequest = operations['i/import-user-lists']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type IMoveRequest = operations['i/move']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type INotificationsGroupedRequest = operations['i/notifications-grouped']['requestBody']['content']['application/json'];
|
||||
|
||||
|
@ -1845,6 +1935,9 @@ type IPinResponse = operations['i/pin']['responses']['200']['content']['applicat
|
|||
// @public (undocumented)
|
||||
type IReadAnnouncementRequest = operations['i/read-announcement']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type IRegenerateTokenRequest = operations['i/regenerate-token']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type IRegistryGetAllRequest = operations['i/registry/get-all']['requestBody']['content']['application/json'];
|
||||
|
||||
|
@ -1869,15 +1962,27 @@ type IRegistrySetRequest = operations['i/registry/set']['requestBody']['content'
|
|||
// @public (undocumented)
|
||||
type IResponse = operations['i']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type IRevokeTokenRequest = operations['i/revoke-token']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
function isAPIError(reason: any): reason is APIError;
|
||||
|
||||
// @public (undocumented)
|
||||
type ISigninHistoryRequest = operations['i/signin-history']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type ISigninHistoryResponse = operations['i/signin-history']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type IUnpinRequest = operations['i/unpin']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type IUnpinResponse = operations['i/unpin']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type IUpdateEmailRequest = operations['i/update-email']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type IUpdateRequest = operations['i/update']['requestBody']['content']['application/json'];
|
||||
|
||||
|
@ -1908,6 +2013,12 @@ type MetaRequest = operations['meta']['requestBody']['content']['application/jso
|
|||
// @public (undocumented)
|
||||
type MetaResponse = operations['meta']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type MiauthGenTokenRequest = operations['miauth/gen-token']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type MiauthGenTokenResponse = operations['miauth/gen-token']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type ModerationLog = {
|
||||
id: ID;
|
||||
|
@ -2240,6 +2351,9 @@ type PageEvent = {
|
|||
user: User;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
type PagePushRequest = operations['page-push']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type PagesCreateRequest = operations['pages/create']['requestBody']['content']['application/json'];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue