From 6f055631a9322c306197d5873f842b8c07204675 Mon Sep 17 00:00:00 2001 From: Kors van Loon Date: Thu, 21 Sep 2023 11:08:05 +0200 Subject: [PATCH] add support for missing table type --- .changes/unreleased/Fixed-20230921-110749.yaml | 3 +++ internal/component_model.go | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 .changes/unreleased/Fixed-20230921-110749.yaml diff --git a/.changes/unreleased/Fixed-20230921-110749.yaml b/.changes/unreleased/Fixed-20230921-110749.yaml new file mode 100644 index 0000000..30ca859 --- /dev/null +++ b/.changes/unreleased/Fixed-20230921-110749.yaml @@ -0,0 +1,3 @@ +kind: Fixed +body: add support for missing table type +time: 2023-09-21T11:07:49.197997+02:00 diff --git a/internal/component_model.go b/internal/component_model.go index 12af5b4..876ed28 100644 --- a/internal/component_model.go +++ b/internal/component_model.go @@ -2,6 +2,7 @@ package internal import ( "fmt" + "github.com/hashicorp/terraform-plugin-framework/types" "github.com/labd/storyblok-go-sdk/sbmgmt" ) @@ -277,6 +278,7 @@ func getComponentTypes() map[string]string { "custom": "Plugin: Extend the editor yourself with a color picker or similar - Check out: Creating a Storyblok field type plugin", "image": "Image (old): a upload field for a single image with cropping possibilities", "file": "File (old): a upload field for a single file", + "table": "Table: a table field", } }