* Revert "revert484e023c0
" This reverts commitc03b70c949
. * also allow pure renote * fix checks for pure renote
This commit is contained in:
parent
ebb687cde4
commit
c8935b32f8
31 changed files with 300 additions and 105 deletions
|
@ -27,7 +27,12 @@ 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 },
|
||||
hostname: {
|
||||
type: 'string',
|
||||
nullable: true,
|
||||
default: null,
|
||||
description: 'The local host is represented with `null`.',
|
||||
},
|
||||
},
|
||||
required: [],
|
||||
} as const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue