feat: добавить генерацию image variants
- добавлен shared config presets, custom transforms и allowlist hosts - реализованы Backend endpoints для assets, presets и variants - добавлена orchestration через PostgreSQL, RabbitMQ, S3 и worker - обновлён Gateway read-through flow с L1 cache и корректным Vary: Accept - добавлена миграция resize_mode для variants lookup - обновлены dev scripts, env template, lockfile и документация
This commit is contained in:
4
packages/database/drizzle/0001_familiar_nextwave.sql
Normal file
4
packages/database/drizzle/0001_familiar_nextwave.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
CREATE TYPE "public"."resize_mode" AS ENUM('fit', 'fill');--> statement-breakpoint
|
||||
DROP INDEX "image_variants_lookup_idx";--> statement-breakpoint
|
||||
ALTER TABLE "image_variants" ADD COLUMN "resize_mode" "resize_mode" DEFAULT 'fit' NOT NULL;--> statement-breakpoint
|
||||
CREATE UNIQUE INDEX "image_variants_lookup_idx" ON "image_variants" USING btree ("asset_id","asset_version","preset","width","height","resize_mode","quality","format");
|
||||
Reference in New Issue
Block a user