From 7912d191291c98a7523399da7a47cc236400c032 Mon Sep 17 00:00:00 2001 From: DrMint <29893320+DrMint@users.noreply.github.com> Date: Sun, 20 Aug 2023 16:12:12 +0200 Subject: [PATCH] Removed max image size --- .../ContentsThumbnails/ContentsThumbnails.ts | 7 ---- .../LibraryItemsGallery.ts | 7 ---- .../LibraryItemsThumbnails.ts | 7 ---- .../WeaponsThumbnails/WeaponsThumbnails.ts | 7 ---- src/types/collections.ts | 32 ------------------- 5 files changed, 60 deletions(-) diff --git a/src/collections/ContentsThumbnails/ContentsThumbnails.ts b/src/collections/ContentsThumbnails/ContentsThumbnails.ts index ecc8431..9492c23 100644 --- a/src/collections/ContentsThumbnails/ContentsThumbnails.ts +++ b/src/collections/ContentsThumbnails/ContentsThumbnails.ts @@ -37,13 +37,6 @@ export const ContentsThumbnails = buildImageCollectionConfig({ options: { effort: 6, quality: 80, alphaQuality: 80 }, }, }, - { - name: "max", - formatOptions: { - format: "webp", - options: { effort: 6, quality: 80, alphaQuality: 80 }, - }, - }, ], }, fields: [ diff --git a/src/collections/LibraryItemsGallery/LibraryItemsGallery.ts b/src/collections/LibraryItemsGallery/LibraryItemsGallery.ts index 5c9c41d..b12560e 100644 --- a/src/collections/LibraryItemsGallery/LibraryItemsGallery.ts +++ b/src/collections/LibraryItemsGallery/LibraryItemsGallery.ts @@ -27,13 +27,6 @@ export const LibraryItemsGallery = buildImageCollectionConfig({ options: { effort: 6, quality: 60, alphaQuality: 60 }, }, }, - { - name: "max", - formatOptions: { - format: "webp", - options: { effort: 6, quality: 80, alphaQuality: 80 }, - }, - }, ], }, fields: [], diff --git a/src/collections/LibraryItemsThumbnails/LibraryItemsThumbnails.ts b/src/collections/LibraryItemsThumbnails/LibraryItemsThumbnails.ts index f7c66b2..c8eaaee 100644 --- a/src/collections/LibraryItemsThumbnails/LibraryItemsThumbnails.ts +++ b/src/collections/LibraryItemsThumbnails/LibraryItemsThumbnails.ts @@ -40,13 +40,6 @@ export const LibraryItemsThumbnails = buildImageCollectionConfig({ options: { effort: 6, quality: 80, alphaQuality: 80 }, }, }, - { - name: "max", - formatOptions: { - format: "webp", - options: { effort: 6, quality: 80, alphaQuality: 80 }, - }, - }, ], }, fields: [ diff --git a/src/collections/WeaponsThumbnails/WeaponsThumbnails.ts b/src/collections/WeaponsThumbnails/WeaponsThumbnails.ts index 4a64585..91f8ba6 100644 --- a/src/collections/WeaponsThumbnails/WeaponsThumbnails.ts +++ b/src/collections/WeaponsThumbnails/WeaponsThumbnails.ts @@ -51,13 +51,6 @@ export const WeaponsThumbnails = buildImageCollectionConfig({ options: { effort: 6, quality: 80, alphaQuality: 80 }, }, }, - { - name: "max", - formatOptions: { - format: "webp", - options: { effort: 6, quality: 80, alphaQuality: 80 }, - }, - }, ], }, fields: [ diff --git a/src/types/collections.ts b/src/types/collections.ts index 9059009..4af88f0 100644 --- a/src/types/collections.ts +++ b/src/types/collections.ts @@ -198,14 +198,6 @@ export interface LibraryItemThumbnail { filesize?: number; filename?: string; }; - max?: { - url?: string; - width?: number; - height?: number; - mimeType?: string; - filesize?: number; - filename?: string; - }; }; } export interface LibraryItemGallery { @@ -235,14 +227,6 @@ export interface LibraryItemGallery { filesize?: number; filename?: string; }; - max?: { - url?: string; - width?: number; - height?: number; - mimeType?: string; - filesize?: number; - filename?: string; - }; }; } export interface LibraryItemScans { @@ -384,14 +368,6 @@ export interface ContentsThumbnail { filesize?: number; filename?: string; }; - max?: { - url?: string; - width?: number; - height?: number; - mimeType?: string; - filesize?: number; - filename?: string; - }; }; } export interface Recorder { @@ -838,14 +814,6 @@ export interface WeaponsThumbnail { filesize?: number; filename?: string; }; - max?: { - url?: string; - width?: number; - height?: number; - mimeType?: string; - filesize?: number; - filename?: string; - }; }; } export interface WeaponsGroup {