fix: improve media fetching on collection page, add pagination (#788)
This commit is contained in:
committed by
GitHub
parent
e78ebbe65e
commit
92cc4575f8
@ -37,6 +37,7 @@ import type {
|
||||
STRIKETHROUGH_TOOLBAR_BUTTON,
|
||||
UNORDERED_LIST_TOOLBAR_BUTTON,
|
||||
} from './constants/toolbar_buttons';
|
||||
import type { ViewStyle } from './constants/views';
|
||||
import type { formatExtensions } from './formats/formats';
|
||||
import type {
|
||||
I18N_FIELD_DUPLICATE,
|
||||
@ -1087,3 +1088,13 @@ export interface BackupEntry {
|
||||
mediaFiles: MediaFile[];
|
||||
i18n?: Record<string, { raw: string }>;
|
||||
}
|
||||
|
||||
export interface CollectionEntryData {
|
||||
collection: Collection;
|
||||
imageFieldName: string | null | undefined;
|
||||
viewStyle: ViewStyle;
|
||||
entry: Entry;
|
||||
key: string;
|
||||
summaryFields: string[];
|
||||
collectionLabel?: string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user