19 lines
375 B
TypeScript
19 lines
375 B
TypeScript
/**
|
|
* Types for gallery image entry data
|
|
* @module utils/galleryEntry
|
|
*/
|
|
|
|
/**
|
|
* Interface for gallery image entry
|
|
* @property {number} id id from database
|
|
* @property {string} imagePath image URL
|
|
* @property {string} caption caption of the image
|
|
*/
|
|
interface GalleryEntry {
|
|
id: number;
|
|
imagePath: string;
|
|
caption: string;
|
|
}
|
|
|
|
export type { GalleryEntry };
|