fix
This commit is contained in:
parent
776e90f28a
commit
f1248349b3
|
@ -11286,6 +11286,32 @@ export interface Locale extends ILocale {
|
||||||
*/
|
*/
|
||||||
"serverHostPlaceholder": string;
|
"serverHostPlaceholder": string;
|
||||||
};
|
};
|
||||||
|
"_noteMuting": {
|
||||||
|
/**
|
||||||
|
* ミュートしたノート
|
||||||
|
*/
|
||||||
|
"noteMuting": string;
|
||||||
|
/**
|
||||||
|
* ノートをミュート
|
||||||
|
*/
|
||||||
|
"muteNote": string;
|
||||||
|
/**
|
||||||
|
* ノートのミュートを解除
|
||||||
|
*/
|
||||||
|
"unmuteNote": string;
|
||||||
|
/**
|
||||||
|
* このノートはミュートされていません
|
||||||
|
*/
|
||||||
|
"notMutedNote": string;
|
||||||
|
/**
|
||||||
|
* のノート
|
||||||
|
*/
|
||||||
|
"labelSuffix": string;
|
||||||
|
/**
|
||||||
|
* ミュートを解除したノートを再表示するにはタイムラインの再読み込みが必要です。
|
||||||
|
*/
|
||||||
|
"unmuteCaption": string;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
declare const locales: {
|
declare const locales: {
|
||||||
[lang: string]: Locale;
|
[lang: string]: Locale;
|
||||||
|
|
|
@ -3023,6 +3023,7 @@ _search:
|
||||||
serverHostPlaceholder: "例: misskey.example.com"
|
serverHostPlaceholder: "例: misskey.example.com"
|
||||||
|
|
||||||
_noteMuting:
|
_noteMuting:
|
||||||
|
noteMuting: "ミュートしたノート"
|
||||||
muteNote: "ノートをミュート"
|
muteNote: "ノートをミュート"
|
||||||
unmuteNote: "ノートのミュートを解除"
|
unmuteNote: "ノートのミュートを解除"
|
||||||
notMutedNote: "このノートはミュートされていません"
|
notMutedNote: "このノートはミュートされていません"
|
||||||
|
|
|
@ -7,7 +7,6 @@ import { Injectable } from '@nestjs/common';
|
||||||
import ms from 'ms';
|
import ms from 'ms';
|
||||||
import { NoteMutingService } from '@/core/note/NoteMutingService.js';
|
import { NoteMutingService } from '@/core/note/NoteMutingService.js';
|
||||||
import { Endpoint } from '@/server/api/endpoint-base.js';
|
import { Endpoint } from '@/server/api/endpoint-base.js';
|
||||||
import { GetterService } from '@/server/api/GetterService.js';
|
|
||||||
import { ApiError } from '../../../error.js';
|
import { ApiError } from '../../../error.js';
|
||||||
|
|
||||||
export const meta = {
|
export const meta = {
|
||||||
|
|
|
@ -174,7 +174,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</SearchMarker>
|
</SearchMarker>
|
||||||
|
|
||||||
<SearchMarker
|
<SearchMarker
|
||||||
:label="'ミュートしたノート'"
|
:label="i18n.ts._noteMuting.noteMuting"
|
||||||
:keywords="['mute', 'note']"
|
:keywords="['mute', 'note']"
|
||||||
>
|
>
|
||||||
<MkFolder>
|
<MkFolder>
|
||||||
|
|
|
@ -622,6 +622,11 @@ export const searchIndexes: SearchIndexItem[] = [
|
||||||
label: i18n.ts.blockedUsers,
|
label: i18n.ts.blockedUsers,
|
||||||
keywords: ['block', 'user'],
|
keywords: ['block', 'user'],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: 'b92aHg3qp',
|
||||||
|
label: i18n.ts._noteMuting.noteMuting,
|
||||||
|
keywords: ['mute', 'note'],
|
||||||
|
},
|
||||||
],
|
],
|
||||||
label: i18n.ts.muteAndBlock,
|
label: i18n.ts.muteAndBlock,
|
||||||
keywords: ['mute', 'block', i18n.ts._settings.muteAndBlockBanner],
|
keywords: ['mute', 'block', i18n.ts._settings.muteAndBlockBanner],
|
||||||
|
|
|
@ -15,7 +15,8 @@
|
||||||
"openapi-typescript": "6.7.6",
|
"openapi-typescript": "6.7.6",
|
||||||
"ts-case-convert": "2.1.0",
|
"ts-case-convert": "2.1.0",
|
||||||
"tsx": "4.19.3",
|
"tsx": "4.19.3",
|
||||||
"typescript": "5.8.2"
|
"typescript": "5.8.2",
|
||||||
|
"eslint": "9.22.0"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"built"
|
"built"
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -2889,6 +2889,33 @@ export type paths = {
|
||||||
*/
|
*/
|
||||||
post: operations['notes___mentions'];
|
post: operations['notes___mentions'];
|
||||||
};
|
};
|
||||||
|
'/notes/muting/create': {
|
||||||
|
/**
|
||||||
|
* notes/muting/create
|
||||||
|
* @description No description provided.
|
||||||
|
*
|
||||||
|
* **Credential required**: *Yes* / **Permission**: *write:account*
|
||||||
|
*/
|
||||||
|
post: operations['notes___muting___create'];
|
||||||
|
};
|
||||||
|
'/notes/muting/delete': {
|
||||||
|
/**
|
||||||
|
* notes/muting/delete
|
||||||
|
* @description No description provided.
|
||||||
|
*
|
||||||
|
* **Credential required**: *Yes* / **Permission**: *write:account*
|
||||||
|
*/
|
||||||
|
post: operations['notes___muting___delete'];
|
||||||
|
};
|
||||||
|
'/notes/muting/list': {
|
||||||
|
/**
|
||||||
|
* notes/muting/list
|
||||||
|
* @description No description provided.
|
||||||
|
*
|
||||||
|
* **Credential required**: *Yes* / **Permission**: *read:account*
|
||||||
|
*/
|
||||||
|
post: operations['notes___muting___list'];
|
||||||
|
};
|
||||||
'/notes/polls/recommendation': {
|
'/notes/polls/recommendation': {
|
||||||
/**
|
/**
|
||||||
* notes/polls/recommendation
|
* notes/polls/recommendation
|
||||||
|
@ -23072,6 +23099,181 @@ export type operations = {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
/**
|
||||||
|
* notes/muting/create
|
||||||
|
* @description No description provided.
|
||||||
|
*
|
||||||
|
* **Credential required**: *Yes* / **Permission**: *write:account*
|
||||||
|
*/
|
||||||
|
notes___muting___create: {
|
||||||
|
requestBody: {
|
||||||
|
content: {
|
||||||
|
'application/json': {
|
||||||
|
/** Format: misskey:id */
|
||||||
|
noteId: string;
|
||||||
|
expiresAt?: number | null;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
responses: {
|
||||||
|
/** @description OK (without any results) */
|
||||||
|
204: {
|
||||||
|
content: never;
|
||||||
|
};
|
||||||
|
/** @description Client error */
|
||||||
|
400: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Authentication error */
|
||||||
|
401: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Forbidden error */
|
||||||
|
403: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description I'm Ai */
|
||||||
|
418: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Too many requests */
|
||||||
|
429: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Internal server error */
|
||||||
|
500: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* notes/muting/delete
|
||||||
|
* @description No description provided.
|
||||||
|
*
|
||||||
|
* **Credential required**: *Yes* / **Permission**: *write:account*
|
||||||
|
*/
|
||||||
|
notes___muting___delete: {
|
||||||
|
requestBody: {
|
||||||
|
content: {
|
||||||
|
'application/json': {
|
||||||
|
/** Format: misskey:id */
|
||||||
|
noteId: string;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
responses: {
|
||||||
|
/** @description OK (without any results) */
|
||||||
|
204: {
|
||||||
|
content: never;
|
||||||
|
};
|
||||||
|
/** @description Client error */
|
||||||
|
400: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Authentication error */
|
||||||
|
401: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Forbidden error */
|
||||||
|
403: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description I'm Ai */
|
||||||
|
418: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Internal server error */
|
||||||
|
500: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* notes/muting/list
|
||||||
|
* @description No description provided.
|
||||||
|
*
|
||||||
|
* **Credential required**: *Yes* / **Permission**: *read:account*
|
||||||
|
*/
|
||||||
|
notes___muting___list: {
|
||||||
|
requestBody: {
|
||||||
|
content: {
|
||||||
|
'application/json': {
|
||||||
|
/** Format: misskey:id */
|
||||||
|
sinceId?: string | null;
|
||||||
|
/** Format: misskey:id */
|
||||||
|
untilId?: string | null;
|
||||||
|
/** @default 10 */
|
||||||
|
limit?: number;
|
||||||
|
offset?: number;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
responses: {
|
||||||
|
/** @description OK (with results) */
|
||||||
|
200: {
|
||||||
|
content: {
|
||||||
|
'application/json': ({
|
||||||
|
id: string;
|
||||||
|
/** Format: date-time */
|
||||||
|
expiresAt: string | null;
|
||||||
|
note: components['schemas']['Note'];
|
||||||
|
})[];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Client error */
|
||||||
|
400: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Authentication error */
|
||||||
|
401: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Forbidden error */
|
||||||
|
403: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description I'm Ai */
|
||||||
|
418: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/** @description Internal server error */
|
||||||
|
500: {
|
||||||
|
content: {
|
||||||
|
'application/json': components['schemas']['Error'];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
/**
|
/**
|
||||||
* notes/polls/recommendation
|
* notes/polls/recommendation
|
||||||
* @description No description provided.
|
* @description No description provided.
|
||||||
|
@ -23696,6 +23898,7 @@ export type operations = {
|
||||||
'application/json': {
|
'application/json': {
|
||||||
isFavorited: boolean;
|
isFavorited: boolean;
|
||||||
isMutedThread: boolean;
|
isMutedThread: boolean;
|
||||||
|
isMutedNote: boolean;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1374,6 +1374,9 @@ importers:
|
||||||
'@typescript-eslint/parser':
|
'@typescript-eslint/parser':
|
||||||
specifier: 8.26.0
|
specifier: 8.26.0
|
||||||
version: 8.26.0(eslint@9.22.0)(typescript@5.8.2)
|
version: 8.26.0(eslint@9.22.0)(typescript@5.8.2)
|
||||||
|
eslint:
|
||||||
|
specifier: 9.22.0
|
||||||
|
version: 9.22.0
|
||||||
openapi-types:
|
openapi-types:
|
||||||
specifier: 12.1.3
|
specifier: 12.1.3
|
||||||
version: 12.1.3
|
version: 12.1.3
|
||||||
|
|
Loading…
Reference in New Issue