moved type definitions to a separate directory and fixed some documentations under utils/

This commit is contained in:
2024-11-17 18:06:59 +09:00
parent 1ab17242f7
commit 1c4947e4e3
11 changed files with 3 additions and 4 deletions

View File

@@ -0,0 +1,18 @@
/**
* Type 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 };