diff --git a/.changeset/petite-shoes-play.md b/.changeset/petite-shoes-play.md new file mode 100644 index 00000000..a5323e5a --- /dev/null +++ b/.changeset/petite-shoes-play.md @@ -0,0 +1,5 @@ +--- +"@saleor/app-sdk": patch +--- + +Add "long-text" attribute for available field type in FormUpdate events diff --git a/src/app-bridge/form-payload.ts b/src/app-bridge/form-payload.ts index 39d2f276..84f97b3b 100644 --- a/src/app-bridge/form-payload.ts +++ b/src/app-bridge/form-payload.ts @@ -26,7 +26,7 @@ type TranslationField = { originalValue: string; translatedValue: string; currentValue: string; - type: "short-text" | "editorjs"; + type: "short-text" | "editorjs" | "long-text"; }; export type FormPayloadProductTranslate = ProductPayloadBase & { @@ -59,7 +59,7 @@ export type FormPayloadProductEdit = ProductPayloadBase & { fieldName: string; originalValue: string; currentValue: string; - type: "short-text" | "editorjs"; + type: "short-text" | "editorjs" | "long-text"; } >; };