* chore: 著作権とライセンスについての情報を各ファイルに追加する * chore: Add the SPDX information to each file Add copyright and licensing information as defined in version 3.0 of the REUSE Specification. * tweak format --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> * chore: Add SPDX-License-Identifier [skip ci] * add missing SPDX-License-Identifier * remove unused file --------- Co-authored-by: Shun Sakai <sorairolake@protonmail.ch> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> Co-authored-by: Chocolate Pie <106949016+chocolate-pie@users.noreply.github.com>
63 lines
1.2 KiB
TypeScript
63 lines
1.2 KiB
TypeScript
/*
|
|
* SPDX-FileCopyrightText: syuilo and other misskey contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
export const packedAbuseUserReportSchema = {
|
|
type: 'object',
|
|
properties: {
|
|
id: {
|
|
type: 'string',
|
|
optional: false, nullable: false,
|
|
format: 'id',
|
|
example: 'xxxxxxxxxx',
|
|
},
|
|
createdAt: {
|
|
type: 'string',
|
|
optional: false, nullable: false,
|
|
format: 'date-time',
|
|
},
|
|
comment: {
|
|
type: 'string',
|
|
optional: false, nullable: false,
|
|
},
|
|
resolved: {
|
|
type: 'boolean',
|
|
optional: false, nullable: false,
|
|
},
|
|
reporterId: {
|
|
type: 'string',
|
|
optional: false, nullable: false,
|
|
format: 'id',
|
|
},
|
|
reporter: {
|
|
type: 'object',
|
|
ref: 'UserDetailed',
|
|
optional: false, nullable: false,
|
|
},
|
|
targetUserId: {
|
|
type: 'string',
|
|
optional: false, nullable: false,
|
|
format: 'id',
|
|
},
|
|
targetUser: {
|
|
type: 'object',
|
|
ref: 'UserDetailed',
|
|
optional: false, nullable: false,
|
|
},
|
|
assigneeId: {
|
|
type: 'string',
|
|
optional: false, nullable: true,
|
|
format: 'id',
|
|
},
|
|
assignee: {
|
|
type: 'object',
|
|
ref: 'UserDetailed',
|
|
optional: true, nullable: true,
|
|
},
|
|
forwarded: {
|
|
type: 'boolean',
|
|
optional: false, nullable: false,
|
|
},
|
|
},
|
|
} as const;
|