Updated and added pages
This commit is contained in:
18
utils/galleryEntry.ts
Normal file
18
utils/galleryEntry.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* 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 };
|
||||
Reference in New Issue
Block a user