enhance(misskey-js) misskey-jsのストリーミングAPI定義をバックエンドに追従 (#12552)

* (enhance) misskey-jsのストリーミングAPI定義をバックエンドに追従

* fix ci

* fix ci
This commit is contained in:
おさむのひと
2023-12-03 12:45:18 +09:00
committed by GitHub
parent b4a83a22a1
commit e17d741f4b
10 changed files with 414 additions and 56 deletions

View File

@@ -1,6 +1,6 @@
/*
* version: 2023.11.1
* generatedAt: 2023-11-27T02:24:45.113Z
* version: 2023.12.0-beta.1
* generatedAt: 2023-12-03T02:04:45.058Z
*/
import type {

View File

@@ -1,6 +1,6 @@
/*
* version: 2023.11.1
* generatedAt: 2023-11-27T02:24:45.111Z
* version: 2023.12.0-beta.1
* generatedAt: 2023-12-03T02:04:45.053Z
*/
import { operations } from './types.js';

View File

@@ -1,6 +1,6 @@
/*
* version: 2023.11.1
* generatedAt: 2023-11-27T02:24:45.109Z
* version: 2023.12.0-beta.1
* generatedAt: 2023-12-03T02:04:45.051Z
*/
import { components } from './types.js';
@@ -37,3 +37,4 @@ export type GalleryPost = components['schemas']['GalleryPost'];
export type EmojiSimple = components['schemas']['EmojiSimple'];
export type EmojiDetailed = components['schemas']['EmojiDetailed'];
export type Flash = components['schemas']['Flash'];
export type Signin = components['schemas']['Signin'];

View File

@@ -2,8 +2,8 @@
/* eslint @typescript-eslint/no-explicit-any: 0 */
/*
* version: 2023.11.1
* generatedAt: 2023-11-27T02:24:44.994Z
* version: 2023.12.0-beta.1
* generatedAt: 2023-12-03T02:04:44.864Z
*/
/**
@@ -3388,6 +3388,7 @@ export type components = {
uri?: string;
url?: string;
reactionAndUserPairCache?: string[];
clippedCount?: number;
myReaction?: Record<string, unknown> | null;
};
NoteReaction: {
@@ -3786,6 +3787,14 @@ export type components = {
likedCount: number | null;
isLiked?: boolean;
};
Signin: {
id: string;
/** Format: date-time */
createdAt: string;
ip: string;
headers: Record<string, never>;
success: boolean;
};
};
responses: never;
parameters: never;
@@ -6405,10 +6414,7 @@ export type operations = {
/** @description OK (with results) */
200: {
content: {
'application/json': {
/** @example GR6S02ERUA5VR */
code: string;
}[];
'application/json': components['schemas']['InviteCode'][];
};
};
/** @description Client error */
@@ -6471,7 +6477,7 @@ export type operations = {
/** @description OK (with results) */
200: {
content: {
'application/json': Record<string, never>[];
'application/json': components['schemas']['InviteCode'][];
};
};
/** @description Client error */
@@ -9600,6 +9606,8 @@ export type operations = {
untilId?: string;
sinceDate?: number;
untilDate?: number;
/** @default false */
allowPartial?: boolean;
};
};
};
@@ -15893,10 +15901,7 @@ export type operations = {
/** @description OK (with results) */
200: {
content: {
'application/json': {
/** @example GR6S02ERUA5VR */
code: string;
};
'application/json': components['schemas']['InviteCode'];
};
};
/** @description Client error */
@@ -17349,6 +17354,8 @@ export type operations = {
untilId?: string;
sinceDate?: number;
untilDate?: number;
/** @default false */
allowPartial?: boolean;
/** @default true */
includeMyRenotes?: boolean;
/** @default true */
@@ -17419,14 +17426,14 @@ export type operations = {
withRenotes?: boolean;
/** @default false */
withReplies?: boolean;
/** @default false */
excludeNsfw?: boolean;
/** @default 10 */
limit?: number;
/** Format: misskey:id */
sinceId?: string;
/** Format: misskey:id */
untilId?: string;
/** @default false */
allowPartial?: boolean;
sinceDate?: number;
untilDate?: number;
};
@@ -18317,6 +18324,8 @@ export type operations = {
untilId?: string;
sinceDate?: number;
untilDate?: number;
/** @default false */
allowPartial?: boolean;
/** @default true */
includeMyRenotes?: boolean;
/** @default true */
@@ -18502,6 +18511,8 @@ export type operations = {
untilId?: string;
sinceDate?: number;
untilDate?: number;
/** @default false */
allowPartial?: boolean;
/** @default true */
includeMyRenotes?: boolean;
/** @default true */
@@ -20799,6 +20810,7 @@ export type operations = {
username?: string;
/** @description The local host is represented with `null`. */
host?: string | null;
birthday?: string | null;
};
};
};
@@ -21704,9 +21716,9 @@ export type operations = {
sinceDate?: number;
untilDate?: number;
/** @default false */
withFiles?: boolean;
allowPartial?: boolean;
/** @default false */
excludeNsfw?: boolean;
withFiles?: boolean;
};
};
};