feat(backend/api): ユーザを除外できるアンテナの作成・更新

This commit is contained in:
anatawa12 2023-07-14 19:14:52 +09:00
parent 89a04c3b0d
commit 51c08f923b
No known key found for this signature in database
GPG Key ID: 9CA909848B8E4EA6
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ export const paramDef = {
type: 'object', type: 'object',
properties: { properties: {
name: { type: 'string', minLength: 1, maxLength: 100 }, name: { type: 'string', minLength: 1, maxLength: 100 },
src: { type: 'string', enum: ['home', 'all', 'users', 'list'] }, src: { type: 'string', enum: ['home', 'all', 'users', 'list', 'users_blacklist'] },
userListId: { type: 'string', format: 'misskey:id', nullable: true }, userListId: { type: 'string', format: 'misskey:id', nullable: true },
keywords: { type: 'array', items: { keywords: { type: 'array', items: {
type: 'array', items: { type: 'array', items: {

View File

@ -41,7 +41,7 @@ export const paramDef = {
properties: { properties: {
antennaId: { type: 'string', format: 'misskey:id' }, antennaId: { type: 'string', format: 'misskey:id' },
name: { type: 'string', minLength: 1, maxLength: 100 }, name: { type: 'string', minLength: 1, maxLength: 100 },
src: { type: 'string', enum: ['home', 'all', 'users', 'list'] }, src: { type: 'string', enum: ['home', 'all', 'users', 'list', 'users_blacklist'] },
userListId: { type: 'string', format: 'misskey:id', nullable: true }, userListId: { type: 'string', format: 'misskey:id', nullable: true },
keywords: { type: 'array', items: { keywords: { type: 'array', items: {
type: 'array', items: { type: 'array', items: {