AbuseUserReport の category を camelCase にする & notLike で通報されないようにする (MisskeyIO#298)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* version: 2023.12.1-io
|
||||
* generatedAt: 2023-12-27T19:40:57.229Z
|
||||
* version: 2023.12.2-io
|
||||
* generatedAt: 2023-12-28T08:11:13.114Z
|
||||
*/
|
||||
|
||||
import type { SwitchCaseResponseType } from '../api.js';
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* version: 2023.12.1-io
|
||||
* generatedAt: 2023-12-27T19:40:57.223Z
|
||||
* version: 2023.12.2-io
|
||||
* generatedAt: 2023-12-28T08:11:13.103Z
|
||||
*/
|
||||
|
||||
import type {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* version: 2023.12.1-io
|
||||
* generatedAt: 2023-12-27T19:40:57.217Z
|
||||
* version: 2023.12.2-io
|
||||
* generatedAt: 2023-12-28T08:11:13.098Z
|
||||
*/
|
||||
|
||||
import { operations } from './types.js';
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* version: 2023.12.1-io
|
||||
* generatedAt: 2023-12-27T19:40:57.214Z
|
||||
* version: 2023.12.2-io
|
||||
* generatedAt: 2023-12-28T08:11:13.095Z
|
||||
*/
|
||||
|
||||
import { components } from './types.js';
|
||||
|
@@ -2,8 +2,8 @@
|
||||
/* eslint @typescript-eslint/no-explicit-any: 0 */
|
||||
|
||||
/*
|
||||
* version: 2023.12.1-io
|
||||
* generatedAt: 2023-12-27T19:40:56.996Z
|
||||
* version: 2023.12.2-io
|
||||
* generatedAt: 2023-12-28T08:11:12.906Z
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -4478,6 +4478,7 @@ export type components = {
|
||||
* @example xxxxxxxxxx
|
||||
*/
|
||||
id: string;
|
||||
category: string;
|
||||
/** Format: date-time */
|
||||
createdAt: string;
|
||||
comment: string;
|
||||
@@ -4696,6 +4697,8 @@ export type operations = {
|
||||
targetUserOrigin?: 'combined' | 'local' | 'remote';
|
||||
/** @default false */
|
||||
forwarded?: boolean;
|
||||
/** @default null */
|
||||
category?: string | null;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -4723,6 +4726,7 @@ export type operations = {
|
||||
reporter: components['schemas']['User'];
|
||||
targetUser: components['schemas']['User'];
|
||||
assignee?: components['schemas']['User'] | null;
|
||||
category: string;
|
||||
})[];
|
||||
};
|
||||
};
|
||||
@@ -25233,6 +25237,11 @@ export type operations = {
|
||||
/** Format: misskey:id */
|
||||
userId: string;
|
||||
comment: string;
|
||||
/**
|
||||
* @default other
|
||||
* @enum {string}
|
||||
*/
|
||||
category?: 'nsfw' | 'spam' | 'explicit' | 'phishing' | 'personalInfoLeak' | 'selfHarm' | 'criticalBreach' | 'otherBreach' | 'violationRights' | 'violationRightsOther' | 'other' | 'personalinfoleak' | 'selfharm' | 'criticalbreach' | 'otherbreach' | 'violationrights' | 'violationrightsother' | 'notlike';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user