#265 add grouping by day as well as month

This commit is contained in:
Alan Grainger
2026-07-17 14:27:51 +12:00
parent 4e7af0ab57
commit c2fcb81807
11 changed files with 180 additions and 22 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
import { AssetType } from '../types'
import { ThemeScript } from './theme'
import { GalleryItem, LightboxConfig, MetadataConfig } from '../shared/types'
import { GalleryItem, LightboxConfig, MetadataConfig, GroupByDateMode } from '../shared/types'
import { ASSET_VERSION } from '../version'
export type { GalleryItem, LightboxConfig, MetadataConfig }
export type { GalleryItem, LightboxConfig, MetadataConfig, GroupByDateMode }
export interface GalleryProps {
items: GalleryItem[]
@@ -17,7 +17,7 @@ export interface GalleryProps {
ogImageItem?: GalleryItem
lightboxConfig: LightboxConfig
metadataConfig: MetadataConfig
groupByDate: boolean
groupByDate: GroupByDateMode | false
metaBase?: string
}