feat(core): implement robust db:reset with content snapshotting
This commit is contained in:
@@ -40,7 +40,6 @@ export const Bio: Block = {
|
||||
name: 'image',
|
||||
type: 'upload',
|
||||
relationTo: 'media',
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ export const Hero: Block = {
|
||||
{ name: 'label', type: 'text', localized: true, defaultValue: 'Lat doświadczenia' },
|
||||
],
|
||||
},
|
||||
{ name: 'image', type: 'upload', relationTo: 'media', required: true },
|
||||
{ name: 'image', type: 'upload', relationTo: 'media' },
|
||||
{ name: 'imageSecondary', type: 'upload', relationTo: 'media' },
|
||||
],
|
||||
}
|
||||
|
||||
@@ -19,6 +19,6 @@ export const Process: Block = {
|
||||
},
|
||||
{ name: 'ctaText', type: 'text', localized: true },
|
||||
{ name: 'ctaUrl', type: 'text', localized: true },
|
||||
{ name: 'image', type: 'upload', relationTo: 'media', required: true },
|
||||
{ name: 'image', type: 'upload', relationTo: 'media' },
|
||||
],
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ export const UniqueValue: Block = {
|
||||
{ name: 'eyebrow', type: 'text', localized: true },
|
||||
{ name: 'title', type: 'text', required: true, localized: true },
|
||||
{ name: 'description', type: 'textarea', required: true, localized: true },
|
||||
{ name: 'image', type: 'upload', relationTo: 'media', required: true },
|
||||
{ name: 'image', type: 'upload', relationTo: 'media' },
|
||||
{
|
||||
name: 'features',
|
||||
type: 'array',
|
||||
|
||||
@@ -241,7 +241,7 @@ export interface Page {
|
||||
id?: string | null;
|
||||
}[]
|
||||
| null;
|
||||
image: number | Media;
|
||||
image?: (number | null) | Media;
|
||||
id?: string | null;
|
||||
blockName?: string | null;
|
||||
blockType: 'bio';
|
||||
@@ -307,7 +307,7 @@ export interface Page {
|
||||
value?: string | null;
|
||||
label?: string | null;
|
||||
};
|
||||
image: number | Media;
|
||||
image?: (number | null) | Media;
|
||||
imageSecondary?: (number | null) | Media;
|
||||
id?: string | null;
|
||||
blockName?: string | null;
|
||||
@@ -342,7 +342,7 @@ export interface Page {
|
||||
eyebrow?: string | null;
|
||||
title: string;
|
||||
description: string;
|
||||
image: number | Media;
|
||||
image?: (number | null) | Media;
|
||||
features?:
|
||||
| {
|
||||
text: string;
|
||||
@@ -381,7 +381,7 @@ export interface Page {
|
||||
| null;
|
||||
ctaText?: string | null;
|
||||
ctaUrl?: string | null;
|
||||
image: number | Media;
|
||||
image?: (number | null) | Media;
|
||||
id?: string | null;
|
||||
blockName?: string | null;
|
||||
blockType: 'process';
|
||||
|
||||
Reference in New Issue
Block a user