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

@ -27,12 +27,7 @@ export const paramDef = {
untilId: { type: 'string', format: 'misskey:id' },
type: { type: 'string', nullable: true, pattern: /^[a-zA-Z0-9\/\-*]+$/.toString().slice(1, -1) },
origin: { type: 'string', enum: ['combined', 'local', 'remote'], default: "local" },
hostname: {
type: 'string',
nullable: true,
default: null,
description: 'The local host is represented with `null`.',
},
hostname: { type: 'string', nullable: true, default: null },
},
required: [],
} as const;