From 5a566837642b008fce4f522329248ac976225d54 Mon Sep 17 00:00:00 2001 From: rasm-its Date: Wed, 26 Aug 2026 11:42:21 +0200 Subject: [PATCH] fix(seed): add valid lexical confirmationMessage structure to forms seed --- src/seed/index.ts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/seed/index.ts b/src/seed/index.ts index 51d288b..9ee4967 100644 --- a/src/seed/index.ts +++ b/src/seed/index.ts @@ -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',