feat(backend/api): ユーザを除外できるアンテナの作成・更新
This commit is contained in:
parent
89a04c3b0d
commit
51c08f923b
|
@ -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: {
|
||||||
|
|
|
@ -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: {
|
||||||
|
|
Loading…
Reference in New Issue