chore: register new migration and update payload types

This commit is contained in:
Jeffrey 2026-03-13 09:33:25 +01:00
parent e7df2e3cba
commit 32251ef681
2 changed files with 19 additions and 1 deletions

View File

@ -4,6 +4,7 @@ import * as migration_20260226_095439 from './20260226_095439';
import * as migration_20260302_145030 from './20260302_145030'; import * as migration_20260302_145030 from './20260302_145030';
import * as migration_20260304_194657 from './20260304_194657'; import * as migration_20260304_194657 from './20260304_194657';
import * as migration_20260304_203759 from './20260304_203759'; import * as migration_20260304_203759 from './20260304_203759';
import * as migration_20260313_081702 from './20260313_081702';
export const migrations = [ export const migrations = [
{ {
@ -34,6 +35,11 @@ export const migrations = [
{ {
up: migration_20260304_203759.up, up: migration_20260304_203759.up,
down: migration_20260304_203759.down, down: migration_20260304_203759.down,
name: '20260304_203759' name: '20260304_203759',
},
{
up: migration_20260313_081702.up,
down: migration_20260313_081702.down,
name: '20260313_081702'
}, },
]; ];

View File

@ -559,6 +559,9 @@ export interface FDUspChecklistBlock {
}[] }[]
| null; | null;
image?: (number | null) | Media; image?: (number | null) | Media;
imageOverlay?:
| ('none' | 'navyLight' | 'navyMedium' | 'yellowLight' | 'yellowMedium' | 'sepia' | 'blackLight' | 'blackMedium')
| null;
imagePosition?: ('right' | 'left') | null; imagePosition?: ('right' | 'left') | null;
checkColor?: ('navy' | 'yellow' | 'gray') | null; checkColor?: ('navy' | 'yellow' | 'gray') | null;
sectionBackground?: ('white' | 'gray' | 'navy') | null; sectionBackground?: ('white' | 'gray' | 'navy') | null;
@ -581,6 +584,9 @@ export interface FDWideCardBlock {
ctaText?: string | null; ctaText?: string | null;
ctaLink?: string | null; ctaLink?: string | null;
image?: (number | null) | Media; image?: (number | null) | Media;
imageOverlay?:
| ('none' | 'navyLight' | 'navyMedium' | 'yellowLight' | 'yellowMedium' | 'sepia' | 'blackLight' | 'blackMedium')
| null;
cardBackground?: ('navy' | 'yellow' | 'gray' | 'white') | null; cardBackground?: ('navy' | 'yellow' | 'gray' | 'white') | null;
buttonColor?: ('yellow' | 'navy' | 'white') | null; buttonColor?: ('yellow' | 'navy' | 'white') | null;
sectionBackground?: ('white' | 'gray' | 'navy') | null; sectionBackground?: ('white' | 'gray' | 'navy') | null;
@ -942,6 +948,9 @@ export interface FDAlternateHeroBlock {
*/ */
image?: (number | null) | Media; image?: (number | null) | Media;
imageCaption?: string | null; imageCaption?: string | null;
imageOverlay?:
| ('none' | 'navyLight' | 'navyMedium' | 'yellowLight' | 'yellowMedium' | 'sepia' | 'blackLight' | 'blackMedium')
| null;
sectionBackground?: ('white' | 'navy' | 'gray') | null; sectionBackground?: ('white' | 'navy' | 'gray') | null;
/** /**
* Valfritt. Används för att länka direkt till denna sektion, t.ex. "priser" ger /sida#priser. Använd bara små bokstäver, siffror och bindestreck. * Valfritt. Används för att länka direkt till denna sektion, t.ex. "priser" ger /sida#priser. Använd bara små bokstäver, siffror och bindestreck.
@ -2282,6 +2291,7 @@ export interface FDUspChecklistBlockSelect<T extends boolean = true> {
id?: T; id?: T;
}; };
image?: T; image?: T;
imageOverlay?: T;
imagePosition?: T; imagePosition?: T;
checkColor?: T; checkColor?: T;
sectionBackground?: T; sectionBackground?: T;
@ -2300,6 +2310,7 @@ export interface FDWideCardBlockSelect<T extends boolean = true> {
ctaText?: T; ctaText?: T;
ctaLink?: T; ctaLink?: T;
image?: T; image?: T;
imageOverlay?: T;
cardBackground?: T; cardBackground?: T;
buttonColor?: T; buttonColor?: T;
sectionBackground?: T; sectionBackground?: T;
@ -2425,6 +2436,7 @@ export interface FDAlternateHeroBlockSelect<T extends boolean = true> {
secondaryCtaLink?: T; secondaryCtaLink?: T;
image?: T; image?: T;
imageCaption?: T; imageCaption?: T;
imageOverlay?: T;
sectionBackground?: T; sectionBackground?: T;
anchorId?: T; anchorId?: T;
id?: T; id?: T;