change: `allowPartial`をデフォルトでtrueに変更
This commit is contained in:
parent
f9e3ae2522
commit
a8657cfe8d
|
|
@ -59,7 +59,7 @@ export const paramDef = {
|
|||
withFiles: { type: 'boolean', default: false },
|
||||
withRenotes: { type: 'boolean', default: true },
|
||||
withReplies: { type: 'boolean', default: false },
|
||||
allowPartial: { type: 'boolean', default: false },
|
||||
allowPartial: { type: 'boolean', default: true },
|
||||
},
|
||||
required: [],
|
||||
} as const;
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ export const paramDef = {
|
|||
untilId: { type: 'string', format: 'misskey:id' },
|
||||
sinceDate: { type: 'integer' },
|
||||
untilDate: { type: 'integer' },
|
||||
allowPartial: { type: 'boolean', default: false },
|
||||
allowPartial: { type: 'boolean', default: true },
|
||||
},
|
||||
required: [],
|
||||
} as const;
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ export const paramDef = {
|
|||
includeLocalRenotes: { type: 'boolean', default: true },
|
||||
withFiles: { type: 'boolean', default: false },
|
||||
withRenotes: { type: 'boolean', default: true },
|
||||
allowPartial: { type: 'boolean', default: false },
|
||||
allowPartial: { type: 'boolean', default: true },
|
||||
},
|
||||
required: [],
|
||||
} as const;
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ export const paramDef = {
|
|||
default: false,
|
||||
description: 'Only show notes that have attached files.',
|
||||
},
|
||||
allowPartial: { type: 'boolean', default: false },
|
||||
allowPartial: { type: 'boolean', default: true },
|
||||
},
|
||||
required: ['listId'],
|
||||
} as const;
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ export const paramDef = {
|
|||
untilDate: { type: 'integer' },
|
||||
withFiles: { type: 'boolean', default: false },
|
||||
excludeNsfw: { type: 'boolean', default: false },
|
||||
allowPartial: { type: 'boolean', default: false },
|
||||
allowPartial: { type: 'boolean', default: true },
|
||||
},
|
||||
required: ['userId'],
|
||||
} as const;
|
||||
|
|
|
|||
|
|
@ -73,7 +73,6 @@ const prevPagination = {
|
|||
params: computed(() => note ? ({
|
||||
userId: note.userId,
|
||||
untilId: note.id,
|
||||
allowPartial: true,
|
||||
}) : null),
|
||||
};
|
||||
|
||||
|
|
@ -84,7 +83,6 @@ const nextPagination = {
|
|||
params: computed(() => note ? ({
|
||||
userId: note.userId,
|
||||
sinceId: note.id,
|
||||
allowPartial: true,
|
||||
}) : null),
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -62,7 +62,6 @@ onMounted(() => {
|
|||
withFiles: true,
|
||||
excludeNsfw: defaultStore.state.nsfw !== 'ignore',
|
||||
limit: 15,
|
||||
allowPartial: true,
|
||||
}).then(notes => {
|
||||
for (const note of notes) {
|
||||
for (const file of note.files) {
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@ const pagination = {
|
|||
withReplies: include.value === 'all',
|
||||
withChannelNotes: include.value === 'all',
|
||||
withFiles: include.value === 'files',
|
||||
allowPartial: true,
|
||||
})),
|
||||
};
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue