From a5dc06ad80a95ed3965dbde6b2e529be6aa94d12 Mon Sep 17 00:00:00 2001 From: Francisco Solla Date: Thu, 27 Aug 2026 15:49:54 -0300 Subject: [PATCH] chore: remove unused importMapContract.mjs (OPS99) --- scripts/lib/importMapContract.mjs | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 scripts/lib/importMapContract.mjs diff --git a/scripts/lib/importMapContract.mjs b/scripts/lib/importMapContract.mjs deleted file mode 100644 index af9e28e1..00000000 --- a/scripts/lib/importMapContract.mjs +++ /dev/null @@ -1,20 +0,0 @@ -/** - * Contract shared by the importMap unit pin and the CI guard. The admin goes - * blank in production when the importMap loses the S3 upload handler entry - * (class OPS69/OPS72/OPS73 — the importMap regenerated without the S3_* envs). - */ -export const S3_UPLOAD_HANDLER_KEY = '@payloadcms/storage-s3/client#S3ClientUploadHandler' - -export const S3_UPLOAD_HANDLER_IMPORT_PREFIX = - 'import { S3ClientUploadHandler as S3ClientUploadHandler_' - -/** - * Env keys that gate the s3Storage plugin (see src/utilities/mediaStorage.ts). - * Kept in sync by the `importMapContract` unit pin. - */ -export const S3_STORAGE_ENV_KEYS = [ - 'S3_BUCKET', - 'S3_ENDPOINT', - 'S3_ACCESS_KEY_ID', - 'S3_SECRET_ACCESS_KEY', -]