fix(seed): add valid lexical confirmationMessage structure to forms seed

This commit is contained in:
2026-08-26 11:42:21 +02:00
parent 51a3d6fdb8
commit 5a56683764
+22
View File
@@ -56,6 +56,28 @@ export async function seed(payload: Payload) {
title: 'Formularz Wyceny i Kontaktu',
submitButtonLabel: 'Wyślij zapytanie o bezpłatną wycenę',
confirmationType: 'message',
confirmationMessage: {
root: {
type: 'root',
children: [
{
type: 'paragraph',
children: [
{
type: 'text',
text: 'Dziękujemy za kontakt! Twoje zgłoszenie zostało zapisane. Nasz doradca skontaktuje się z Tobą wkrótce.',
version: 1,
},
],
version: 1,
},
],
direction: 'ltr',
format: '',
indent: 0,
version: 1,
},
},
fields: [
{
blockType: 'text',