feat(extra) : add catalog items and image export
CI / Verify (push) Successful in 1m1s
CI / Build immutable images and deploy (push) Successful in 2m19s

This commit is contained in:
2026-09-05 12:36:00 +07:00 Unverified
parent 5af38194ba
commit a4ecdf4fff
11 changed files with 3685 additions and 10 deletions
+4
View File
@@ -661,6 +661,10 @@ export const extraSectionRows = guidesSchema.table(
backgroundColor: varchar("background_color", { length: 7 }),
textColor: varchar("text_color", { length: 7 }),
highlights: jsonb("highlights").$type<Array<{ text: string; color: string }>>().default([]).notNull(),
catalogItems: jsonb("catalog_items")
.$type<Array<{ kind: "character" | "weapon" | "artifact"; key: string }>>()
.default([])
.notNull(),
sortOrder: integer("sort_order").default(0).notNull(),
},
(table) => [index("extra_section_row_order_idx").on(table.sectionId, table.sortOrder)],