@bettercms-ai/sdk 1.31.0 → 1.31.1

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/index.d.cts CHANGED
@@ -770,6 +770,13 @@ interface ManagedComponent {
770
770
  preview?: ComponentPreview | null;
771
771
  /** The block icon (a /kit schema's document-level `icon`), a dock icon name. */
772
772
  icon?: string | null;
773
+ /** The /kit tabs no top-level prop sits in (declared, empty). @see ComponentTab */
774
+ tabs?: Array<{
775
+ id: string;
776
+ label: string;
777
+ icon?: string;
778
+ order?: number;
779
+ }> | null;
773
780
  /** Send it back as `ifMatch` on updateComponent. */
774
781
  optimisticVersion?: number;
775
782
  }
@@ -793,6 +800,13 @@ interface ManagedComponentInput {
793
800
  preview?: ComponentPreview | null;
794
801
  /** The block icon, a dock icon name (bettercms://icons/dock); null clears it. */
795
802
  icon?: string | null;
803
+ /** /kit tabs no top-level prop sits in; null clears them (422 component_tab_invalid on a prop's own tab). */
804
+ tabs?: Array<{
805
+ id: string;
806
+ label: string;
807
+ icon?: string;
808
+ order?: number;
809
+ }> | null;
796
810
  blockJson?: unknown[];
797
811
  props?: unknown[];
798
812
  /**
package/dist/index.d.ts CHANGED
@@ -770,6 +770,13 @@ interface ManagedComponent {
770
770
  preview?: ComponentPreview | null;
771
771
  /** The block icon (a /kit schema's document-level `icon`), a dock icon name. */
772
772
  icon?: string | null;
773
+ /** The /kit tabs no top-level prop sits in (declared, empty). @see ComponentTab */
774
+ tabs?: Array<{
775
+ id: string;
776
+ label: string;
777
+ icon?: string;
778
+ order?: number;
779
+ }> | null;
773
780
  /** Send it back as `ifMatch` on updateComponent. */
774
781
  optimisticVersion?: number;
775
782
  }
@@ -793,6 +800,13 @@ interface ManagedComponentInput {
793
800
  preview?: ComponentPreview | null;
794
801
  /** The block icon, a dock icon name (bettercms://icons/dock); null clears it. */
795
802
  icon?: string | null;
803
+ /** /kit tabs no top-level prop sits in; null clears them (422 component_tab_invalid on a prop's own tab). */
804
+ tabs?: Array<{
805
+ id: string;
806
+ label: string;
807
+ icon?: string;
808
+ order?: number;
809
+ }> | null;
796
810
  blockJson?: unknown[];
797
811
  props?: unknown[];
798
812
  /**