This commit is contained in:
syuilo 2022-04-02 16:47:53 +09:00
parent 68d462b301
commit c03b70c949
31 changed files with 100 additions and 294 deletions

View file

@ -26,13 +26,8 @@ export const paramDef = {
sort: { type: 'string', enum: ['+follower', '-follower', '+createdAt', '-createdAt', '+updatedAt', '-updatedAt'] },
state: { type: 'string', enum: ['all', 'available', 'admin', 'moderator', 'adminOrModerator', 'silenced', 'suspended'], default: "all" },
origin: { type: 'string', enum: ['combined', 'local', 'remote'], default: "local" },
username: { type: 'string', nullable: true, default: null },
hostname: {
type: 'string',
nullable: true,
default: null,
description: 'The local host is represented with `null`.',
},
username: { type: 'string', default: null },
hostname: { type: 'string', default: null },
},
required: [],
} as const;