match following endpoint default values with frontend defaults

This commit is contained in:
Hazel K 2024-10-09 16:09:03 -04:00 committed by Hazelnoot
parent 499e8895c5
commit fb7ac68ece
2 changed files with 4 additions and 4 deletions

View file

@ -34,9 +34,9 @@ export const paramDef = {
properties: { properties: {
mutualsOnly: { type: 'boolean', default: false }, mutualsOnly: { type: 'boolean', default: false },
filesOnly: { type: 'boolean', default: false }, filesOnly: { type: 'boolean', default: false },
includeNonPublic: { type: 'boolean', default: true }, includeNonPublic: { type: 'boolean', default: false },
includeReplies: { type: 'boolean', default: false }, includeReplies: { type: 'boolean', default: false },
includeQuotes: { type: 'boolean', default: true }, includeQuotes: { type: 'boolean', default: false },
limit: { type: 'integer', minimum: 1, maximum: 100, default: 10 }, limit: { type: 'integer', minimum: 1, maximum: 100, default: 10 },
sinceId: { type: 'string', format: 'misskey:id' }, sinceId: { type: 'string', format: 'misskey:id' },

View file

@ -22298,11 +22298,11 @@ export type operations = {
mutualsOnly?: boolean; mutualsOnly?: boolean;
/** @default false */ /** @default false */
filesOnly?: boolean; filesOnly?: boolean;
/** @default true */ /** @default false */
includeNonPublic?: boolean; includeNonPublic?: boolean;
/** @default false */ /** @default false */
includeReplies?: boolean; includeReplies?: boolean;
/** @default true */ /** @default false */
includeQuotes?: boolean; includeQuotes?: boolean;
/** @default 10 */ /** @default 10 */
limit?: number; limit?: number;