You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: refactor item template creation and enhance image upload process
- Introduced a new utility function `buildItemTemplate` to centralize the item template structure in `scripts/lib/itemTemplate.ts`, improving maintainability and consistency across item creation scripts.
- Updated `create-item.ts` and `create-template.ts` to utilize the new `buildItemTemplate` function, simplifying the template definition and ensuring all fields are consistently initialized.
- Enhanced the image upload process in `sync-images.ts` to include metadata stripping for uploaded images, providing better privacy and reducing file size.
- Added logging for the number of images from which EXIF/GPS metadata was stripped during the upload process.