Skip to content

Commit

Permalink
add support for missing table type
Browse files Browse the repository at this point in the history
  • Loading branch information
korsvanloon committed Sep 21, 2023
1 parent 4187a0d commit 6f05563
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changes/unreleased/Fixed-20230921-110749.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
kind: Fixed
body: add support for missing table type
time: 2023-09-21T11:07:49.197997+02:00
2 changes: 2 additions & 0 deletions internal/component_model.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package internal

import (
"fmt"

"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/labd/storyblok-go-sdk/sbmgmt"
)
Expand Down Expand Up @@ -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",
}
}

Expand Down

0 comments on commit 6f05563

Please sign in to comment.