storyblok 3.32.2 → 3.32.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.d.mts CHANGED
@@ -23,7 +23,7 @@ type ComponentPropertySchema = {
23
23
  component_whitelist?: string[];
24
24
  email_link_type?: boolean;
25
25
  exclude_empty_option?: boolean;
26
- filter_content_type?: string[];
26
+ filter_content_type?: string | string[];
27
27
  key: string;
28
28
  options?: ComponentPropertySchemaOption[];
29
29
  pos: number;
package/dist/cli.d.ts CHANGED
@@ -23,7 +23,7 @@ type ComponentPropertySchema = {
23
23
  component_whitelist?: string[];
24
24
  email_link_type?: boolean;
25
25
  exclude_empty_option?: boolean;
26
- filter_content_type?: string[];
26
+ filter_content_type?: string | string[];
27
27
  key: string;
28
28
  options?: ComponentPropertySchemaOption[];
29
29
  pos: number;
package/dist/cli.mjs CHANGED
@@ -3356,6 +3356,11 @@ getPropertyTypeAnnotation_fn = function(property) {
3356
3356
  }
3357
3357
  if (property.source === "internal_stories") {
3358
3358
  if (property.filter_content_type) {
3359
+ if (typeof property.filter_content_type === "string") {
3360
+ return {
3361
+ tsType: `(${__privateMethod(this, _getStoryType, getStoryType_fn).call(this, property.filter_content_type)} | string )${property.type === "options" ? "[]" : ""}`
3362
+ };
3363
+ }
3359
3364
  return {
3360
3365
  tsType: `(${property.filter_content_type.map((type2) => __privateMethod(this, _getStoryType, getStoryType_fn).call(this, type2)).join(" | ")} | string )${property.type === "options" ? "[]" : ""}`
3361
3366
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "storyblok",
3
- "version": "3.32.2",
3
+ "version": "3.32.3",
4
4
  "description": "A simple CLI to start Storyblok from your command line.",
5
5
  "repository": {
6
6
  "type": "git",