MkPagination: move external array to props

This commit is contained in:
cutestnekoaqua 2023-01-12 21:57:17 +01:00
parent 23badbc7c3
commit e334494653
No known key found for this signature in database
GPG Key ID: 6BF0964A5069C1E0
1 changed files with 1 additions and 2 deletions

View File

@ -57,8 +57,6 @@ export type Paging<E extends keyof misskey.Endpoints = keyof misskey.Endpoints>
reversed?: boolean; reversed?: boolean;
offsetMode?: boolean; offsetMode?: boolean;
externalItemArray?: Ref<Array<any>>;
}; };
const SECOND_FETCH_LIMIT = 30; const SECOND_FETCH_LIMIT = 30;
@ -68,6 +66,7 @@ const props = withDefaults(defineProps<{
disableAutoLoad?: boolean; disableAutoLoad?: boolean;
displayLimit?: number; displayLimit?: number;
reloadKey?: number; reloadKey?: number;
externalItemArray?: Ref<Array<any>>;
}>(), { }>(), {
displayLimit: 30, displayLimit: 30,
}); });