@uniformdev/canvas 19.35.1 → 19.35.3-alpha.82

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.ts CHANGED
@@ -105,7 +105,7 @@ interface components$4 {
105
105
  /** @description Friendly name of the component definition */
106
106
  name: string;
107
107
  /**
108
- * @description Icon name or URL for the component definition (e.g. 'screen' or 'https://s3/my-component.jpg')
108
+ * @description Icon name for the component definition (e.g. 'screen')
109
109
  * @default screen
110
110
  */
111
111
  icon?: string;
@@ -123,6 +123,22 @@ interface components$4 {
123
123
  canBeComposition?: boolean;
124
124
  /** @description The parameters for this component. Parameters are key-value pairs that can be anything from text values to links to CMS entries. */
125
125
  parameters?: components$4["schemas"]["ComponentDefinitionParameter"][];
126
+ /**
127
+ * Format: uuid
128
+ * @description Reference to the category this component definition belongs to
129
+ * @default null
130
+ */
131
+ categoryId?: string | null;
132
+ /**
133
+ * @description Description of the component definition
134
+ * @default null
135
+ */
136
+ description?: string;
137
+ /**
138
+ * @description Description of the component definition
139
+ * @default null
140
+ */
141
+ previewImageUrl?: string;
126
142
  /**
127
143
  * @description if this component uses team permissions or custom permissions
128
144
  * @default true
@@ -165,6 +181,7 @@ interface components$4 {
165
181
  value: unknown;
166
182
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
167
183
  type: string;
184
+ /** @deprecated */
168
185
  connectedData?: components$4["schemas"]["DataElementConnectionDefinition"];
169
186
  };
170
187
  /**
@@ -466,6 +483,21 @@ interface components$4 {
466
483
  DataResourceVariables: {
467
484
  [key: string]: string;
468
485
  };
486
+ /** @description Category for tagging canvas entities */
487
+ Category: {
488
+ /**
489
+ * Format: uuid
490
+ * @description Unique identifier for the category
491
+ */
492
+ id: string;
493
+ /** @description Display name of the category */
494
+ name: string;
495
+ /**
496
+ * @description Sets the order of the category when displayed in a list with other categories. If not set, the order defaults to alphabetical with any explicitly set orders first in the list.
497
+ * @default 0
498
+ */
499
+ order?: number;
500
+ };
469
501
  /** @description Project map node information related to a component. */
470
502
  CompositionProjectMapNodeInfo: {
471
503
  /**
@@ -488,7 +520,7 @@ interface components$4 {
488
520
  * This file was auto-generated by openapi-typescript.
489
521
  * Do not make direct changes to the file.
490
522
  */
491
- interface paths$8 {
523
+ interface paths$9 {
492
524
  "/api/v1/canvas-definitions": {
493
525
  get: {
494
526
  parameters: {
@@ -503,6 +535,8 @@ interface paths$8 {
503
535
  limit?: number;
504
536
  /** Whether to fetch system meta-component definitions (personalize, test, etc) */
505
537
  includeSystem?: boolean;
538
+ /** Filtration by category ID */
539
+ categories?: string[];
506
540
  };
507
541
  };
508
542
  responses: {
@@ -511,15 +545,15 @@ interface paths$8 {
511
545
  content: {
512
546
  "application/json": {
513
547
  /** @description Component definitions that match the query */
514
- componentDefinitions: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinition"][];
548
+ componentDefinitions: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinition"][];
515
549
  };
516
550
  };
517
551
  };
518
- 400: external$9["swagger.yml"]["components"]["responses"]["BadRequestError"];
519
- 401: external$9["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
520
- 403: external$9["swagger.yml"]["components"]["responses"]["ForbiddenError"];
521
- 429: external$9["swagger.yml"]["components"]["responses"]["RateLimitError"];
522
- 500: external$9["swagger.yml"]["components"]["responses"]["InternalServerError"];
552
+ 400: external$a["swagger.yml"]["components"]["responses"]["BadRequestError"];
553
+ 401: external$a["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
554
+ 403: external$a["swagger.yml"]["components"]["responses"]["ForbiddenError"];
555
+ 429: external$a["swagger.yml"]["components"]["responses"]["RateLimitError"];
556
+ 500: external$a["swagger.yml"]["components"]["responses"]["InternalServerError"];
523
557
  };
524
558
  };
525
559
  /** Upserts a component definition */
@@ -527,11 +561,11 @@ interface paths$8 {
527
561
  responses: {
528
562
  /** OK */
529
563
  204: never;
530
- 400: external$9["swagger.yml"]["components"]["responses"]["BadRequestError"];
531
- 401: external$9["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
532
- 403: external$9["swagger.yml"]["components"]["responses"]["ForbiddenError"];
533
- 429: external$9["swagger.yml"]["components"]["responses"]["RateLimitError"];
534
- 500: external$9["swagger.yml"]["components"]["responses"]["InternalServerError"];
564
+ 400: external$a["swagger.yml"]["components"]["responses"]["BadRequestError"];
565
+ 401: external$a["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
566
+ 403: external$a["swagger.yml"]["components"]["responses"]["ForbiddenError"];
567
+ 429: external$a["swagger.yml"]["components"]["responses"]["RateLimitError"];
568
+ 500: external$a["swagger.yml"]["components"]["responses"]["InternalServerError"];
535
569
  };
536
570
  requestBody: {
537
571
  content: {
@@ -541,7 +575,7 @@ interface paths$8 {
541
575
  * @description The project ID to upsert the component definition to
542
576
  */
543
577
  projectId: string;
544
- componentDefinition: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinition"];
578
+ componentDefinition: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinition"];
545
579
  };
546
580
  };
547
581
  };
@@ -551,11 +585,11 @@ interface paths$8 {
551
585
  responses: {
552
586
  /** OK */
553
587
  204: never;
554
- 400: external$9["swagger.yml"]["components"]["responses"]["BadRequestError"];
555
- 401: external$9["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
556
- 403: external$9["swagger.yml"]["components"]["responses"]["ForbiddenError"];
557
- 429: external$9["swagger.yml"]["components"]["responses"]["RateLimitError"];
558
- 500: external$9["swagger.yml"]["components"]["responses"]["InternalServerError"];
588
+ 400: external$a["swagger.yml"]["components"]["responses"]["BadRequestError"];
589
+ 401: external$a["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
590
+ 403: external$a["swagger.yml"]["components"]["responses"]["ForbiddenError"];
591
+ 429: external$a["swagger.yml"]["components"]["responses"]["RateLimitError"];
592
+ 500: external$a["swagger.yml"]["components"]["responses"]["InternalServerError"];
559
593
  };
560
594
  requestBody: {
561
595
  content: {
@@ -580,7 +614,7 @@ interface paths$8 {
580
614
  };
581
615
  };
582
616
  }
583
- interface external$9 {
617
+ interface external$a {
584
618
  "swagger.yml": {
585
619
  paths: {};
586
620
  components: {
@@ -594,25 +628,25 @@ interface external$9 {
594
628
  /** Request input validation failed */
595
629
  BadRequestError: {
596
630
  content: {
597
- "application/json": external$9["swagger.yml"]["components"]["schemas"]["Error"];
631
+ "application/json": external$a["swagger.yml"]["components"]["schemas"]["Error"];
598
632
  };
599
633
  };
600
634
  /** API key or token was not valid */
601
635
  UnauthorizedError: {
602
636
  content: {
603
- "application/json": external$9["swagger.yml"]["components"]["schemas"]["Error"];
637
+ "application/json": external$a["swagger.yml"]["components"]["schemas"]["Error"];
604
638
  };
605
639
  };
606
640
  /** Permission was denied */
607
641
  ForbiddenError: {
608
642
  content: {
609
- "application/json": external$9["swagger.yml"]["components"]["schemas"]["Error"];
643
+ "application/json": external$a["swagger.yml"]["components"]["schemas"]["Error"];
610
644
  };
611
645
  };
612
646
  /** Resource not found */
613
647
  NotFoundError: {
614
648
  content: {
615
- "application/json": external$9["swagger.yml"]["components"]["schemas"]["Error"];
649
+ "application/json": external$a["swagger.yml"]["components"]["schemas"]["Error"];
616
650
  };
617
651
  };
618
652
  /** Too many requests in allowed time period */
@@ -631,7 +665,7 @@ interface external$9 {
631
665
  PublicIdProperty: string;
632
666
  /** @description The definition of a component parameter */
633
667
  ComponentDefinitionParameter: {
634
- id: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
668
+ id: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
635
669
  /** @description Friendly name of the parameter */
636
670
  name: string;
637
671
  /** @description Appears next to the parameter in the Composition editor */
@@ -643,7 +677,7 @@ interface external$9 {
643
677
  };
644
678
  /** @description The definition of a named component slot that can contain other components */
645
679
  ComponentDefinitionSlot: {
646
- id: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
680
+ id: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
647
681
  /** @description Friendly name of the slot */
648
682
  name: string;
649
683
  /** @description A list of component definition public IDs that are allowed in this named slot */
@@ -701,13 +735,13 @@ interface external$9 {
701
735
  };
702
736
  /** @description The definition of a component variant */
703
737
  ComponentDefinitionVariant: {
704
- id: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
738
+ id: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
705
739
  /** @description Friendly name of the variant */
706
740
  name: string;
707
741
  };
708
742
  /** @description Permission set for a component defintion */
709
743
  ComponentDefinitionPermission: {
710
- roleId: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
744
+ roleId: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
711
745
  /**
712
746
  * @description Permission type for this permission ComponentDefinition:
713
747
  * read | write | create | delete
@@ -720,11 +754,11 @@ interface external$9 {
720
754
  };
721
755
  /** @description Defines a component type that can live on a Composition */
722
756
  ComponentDefinition: {
723
- id: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
757
+ id: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
724
758
  /** @description Friendly name of the component definition */
725
759
  name: string;
726
760
  /**
727
- * @description Icon name or URL for the component definition (e.g. 'screen' or 'https://s3/my-component.jpg')
761
+ * @description Icon name for the component definition (e.g. 'screen')
728
762
  * @default screen
729
763
  */
730
764
  icon?: string;
@@ -741,21 +775,37 @@ interface external$9 {
741
775
  */
742
776
  canBeComposition?: boolean;
743
777
  /** @description The parameters for this component. Parameters are key-value pairs that can be anything from text values to links to CMS entries. */
744
- parameters?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
778
+ parameters?: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
779
+ /**
780
+ * Format: uuid
781
+ * @description Reference to the category this component definition belongs to
782
+ * @default null
783
+ */
784
+ categoryId?: string | null;
785
+ /**
786
+ * @description Description of the component definition
787
+ * @default null
788
+ */
789
+ description?: string;
790
+ /**
791
+ * @description Description of the component definition
792
+ * @default null
793
+ */
794
+ previewImageUrl?: string;
745
795
  /**
746
796
  * @description if this component uses team permissions or custom permissions
747
797
  * @default true
748
798
  */
749
799
  useTeamPermissions?: boolean;
750
800
  /** @description Custom role permissions for this component definition */
751
- permissions?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionPermission"][];
801
+ permissions?: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionPermission"][];
752
802
  /** @description The named slots for this component; placement areas where arrays of other components can be added. */
753
- slots?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionSlot"][];
754
- slugSettings?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionSlugSettings"];
803
+ slots?: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionSlot"][];
804
+ slugSettings?: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionSlugSettings"];
755
805
  /** @description Default component instance value */
756
- defaults?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentInstance"] | null;
806
+ defaults?: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentInstance"] | null;
757
807
  /** @description Named variants for this component; enables creation of visual variants that use the same parameter data */
758
- variants?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionVariant"][];
808
+ variants?: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionVariant"][];
759
809
  /** @description Created date string for this definition (ignored for writes) */
760
810
  created?: string;
761
811
  /** @description Last modified date string for this definition (ignored for writes) */
@@ -763,7 +813,7 @@ interface external$9 {
763
813
  };
764
814
  /** @description Defines a content type */
765
815
  ContentType: {
766
- id: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
816
+ id: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
767
817
  /** @description Friendly name of the content type */
768
818
  name: string;
769
819
  /**
@@ -772,7 +822,7 @@ interface external$9 {
772
822
  */
773
823
  entryName?: string | null;
774
824
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
775
- fields?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
825
+ fields?: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
776
826
  /** @description Created date string for this content type (ignored for writes) */
777
827
  created?: string;
778
828
  /** @description Last modified date string for this content type (ignored for writes) */
@@ -784,7 +834,8 @@ interface external$9 {
784
834
  value: unknown;
785
835
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
786
836
  type: string;
787
- connectedData?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataElementConnectionDefinition"];
837
+ /** @deprecated */
838
+ connectedData?: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataElementConnectionDefinition"];
788
839
  };
789
840
  /**
790
841
  * @description Defines a connection to a data element on a data resource.
@@ -807,13 +858,13 @@ interface external$9 {
807
858
  type: string;
808
859
  /** @description Component parameter values for the component instance */
809
860
  parameters?: {
810
- [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
861
+ [key: string]: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
811
862
  };
812
863
  /** @description Public ID of alternate visual appearance for this component, if any selected */
813
864
  variant?: string;
814
865
  /** @description Slots containing any child components */
815
866
  slots?: {
816
- [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentInstance"][];
867
+ [key: string]: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentInstance"][];
817
868
  };
818
869
  /**
819
870
  * @description Unique identifier of the component within the composition.
@@ -824,13 +875,13 @@ interface external$9 {
824
875
  _id?: string;
825
876
  /** @description Indicates this component instance should be sourced from a pattern library pattern. */
826
877
  _pattern?: string;
827
- _dataResources?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceDefinitions"];
878
+ _dataResources?: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceDefinitions"];
828
879
  /**
829
880
  * @description Data definitions coming from a pattern resolved for this component. Merged with _dataResources during resolution.
830
881
  * Means nothing for PUTs; it will be ignored.
831
882
  */
832
883
  _patternDataResources?: {
833
- [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceDefinition"];
884
+ [key: string]: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceDefinition"];
834
885
  };
835
886
  /**
836
887
  * @description Describes why the pattern could not be resolved, if a pattern could not be resolved. For PUTs, this is allowed but ignored.
@@ -854,7 +905,7 @@ interface external$9 {
854
905
  * Future updates that do not break the overrides-applied state of a composition may be made without notice.
855
906
  */
856
907
  _overrides?: {
857
- [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentOverride"];
908
+ [key: string]: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentOverride"];
858
909
  };
859
910
  /**
860
911
  * @description When used on a pattern, defines how the pattern's parameters may be overridden
@@ -863,7 +914,7 @@ interface external$9 {
863
914
  * NOTE: This is considered an internal data structure and is not guaranteed to be stable.
864
915
  * Future updates that do not break the overrides-applied state of a composition may be made without notice.
865
916
  */
866
- _overridability?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentOverridability"];
917
+ _overridability?: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentOverridability"];
867
918
  };
868
919
  /** @description Defines the shape of the root component in a composition */
869
920
  RootComponentInstance: {
@@ -871,15 +922,15 @@ interface external$9 {
871
922
  type: string;
872
923
  /** @description Component parameter values for the component instance */
873
924
  parameters?: {
874
- [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
925
+ [key: string]: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
875
926
  };
876
927
  /** @description Public ID of alternate visual appearance for this component, if any selected */
877
928
  variant?: string;
878
929
  /** @description Project map nodes associated with this component. Must pass withProjectMapNodes parameter to be populated. */
879
- projectMapNodes?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["CompositionProjectMapNodeInfo"][];
930
+ projectMapNodes?: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["CompositionProjectMapNodeInfo"][];
880
931
  /** @description Slots containing any child components */
881
932
  slots?: {
882
- [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentInstance"][];
933
+ [key: string]: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentInstance"][];
883
934
  };
884
935
  /** @description The public UUID of the composition. */
885
936
  _id: string;
@@ -887,7 +938,7 @@ interface external$9 {
887
938
  _slug?: string | null;
888
939
  /** @description Friendly name of this component. */
889
940
  _name: string;
890
- _dataResources?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceDefinitions"];
941
+ _dataResources?: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceDefinitions"];
891
942
  /**
892
943
  * @description Defines patch overrides to component IDs that live in the composition.
893
944
  * This can be used to override parameters that are defined on patterns,
@@ -901,7 +952,7 @@ interface external$9 {
901
952
  * Future updates that do not break the overrides-applied state of a composition may be made without notice.
902
953
  */
903
954
  _overrides?: {
904
- [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentOverride"];
955
+ [key: string]: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentOverride"];
905
956
  };
906
957
  /**
907
958
  * @description When used on a pattern, defines how the pattern's parameters may be overridden
@@ -910,7 +961,7 @@ interface external$9 {
910
961
  * NOTE: This is considered an internal data structure and is not guaranteed to be stable.
911
962
  * Future updates that do not break the overrides-applied state of a composition may be made without notice.
912
963
  */
913
- _overridability?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentOverridability"];
964
+ _overridability?: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentOverridability"];
914
965
  };
915
966
  /**
916
967
  * @description Defines how to override a specific component.
@@ -920,7 +971,7 @@ interface external$9 {
920
971
  */
921
972
  ComponentOverride: {
922
973
  parameters?: {
923
- [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
974
+ [key: string]: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
924
975
  };
925
976
  variant?: string;
926
977
  };
@@ -934,7 +985,7 @@ interface external$9 {
934
985
  ComponentOverridability: {
935
986
  /** @description Defines component parameter value overrides. Keys are the parameter public ID. */
936
987
  parameters?: {
937
- [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["OverrideOptions"];
988
+ [key: string]: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["OverrideOptions"];
938
989
  };
939
990
  /** @description Allows overriding a display variant is allowed, if it is defined on the component the pattern is derived from. Default = false. */
940
991
  variants?: boolean;
@@ -975,7 +1026,7 @@ interface external$9 {
975
1026
  }[];
976
1027
  /** @description Variables needed to make calls to the data source */
977
1028
  variables?: {
978
- [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataVariableDefinition"];
1029
+ [key: string]: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataVariableDefinition"];
979
1030
  };
980
1031
  /** @description Custom configuration specific to the data source being defined (used to maintain UI state for custom integrations) */
981
1032
  custom?: {
@@ -1032,7 +1083,7 @@ interface external$9 {
1032
1083
  method: "GET" | "POST" | "HEAD";
1033
1084
  /** @description Variables needed to make calls to the data type. Merged with variables from the data source, overriding identical keys. */
1034
1085
  variables?: {
1035
- [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataVariableDefinition"];
1086
+ [key: string]: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataVariableDefinition"];
1036
1087
  };
1037
1088
  /** @description Custom configuration specific to the data source being defined */
1038
1089
  custom?: {
@@ -1065,7 +1116,7 @@ interface external$9 {
1065
1116
  * Note: data definitions are inherited from ancestors at runtime (and may be overridden by descendants that use the same key).
1066
1117
  */
1067
1118
  DataResourceDefinitions: {
1068
- [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceDefinition"];
1119
+ [key: string]: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceDefinition"];
1069
1120
  };
1070
1121
  /** @description Defines a data resource, which is a named JSON document, usually from an API response, which may be projected onto parameters */
1071
1122
  DataResourceDefinition: {
@@ -1079,12 +1130,681 @@ interface external$9 {
1079
1130
  * If isPatternParameter is false or undefined, this has no meaning.
1080
1131
  */
1081
1132
  ignorePatternParameterDefault?: boolean;
1082
- variables?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceVariables"];
1133
+ variables?: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceVariables"];
1083
1134
  };
1084
1135
  /** @description Variable values for a data resource. */
1085
1136
  DataResourceVariables: {
1086
1137
  [key: string]: string;
1087
1138
  };
1139
+ /** @description Category for tagging canvas entities */
1140
+ Category: {
1141
+ /**
1142
+ * Format: uuid
1143
+ * @description Unique identifier for the category
1144
+ */
1145
+ id: string;
1146
+ /** @description Display name of the category */
1147
+ name: string;
1148
+ /**
1149
+ * @description Sets the order of the category when displayed in a list with other categories. If not set, the order defaults to alphabetical with any explicitly set orders first in the list.
1150
+ * @default 0
1151
+ */
1152
+ order?: number;
1153
+ };
1154
+ /** @description Project map node information related to a component. */
1155
+ CompositionProjectMapNodeInfo: {
1156
+ /**
1157
+ * Format: uuid
1158
+ * @description Unique identifier for the project map node
1159
+ */
1160
+ id: string;
1161
+ /** @description Path of the project map node */
1162
+ path: string;
1163
+ /**
1164
+ * Format: uuid
1165
+ * @description Unique identifier for the project map that this node belongs to.
1166
+ */
1167
+ projectMapId: string;
1168
+ };
1169
+ };
1170
+ };
1171
+ operations: {};
1172
+ };
1173
+ }
1174
+
1175
+ type SharedComponents$2 = components$4['schemas'];
1176
+ type Api$2 = paths$9['/api/v1/canvas-definitions'];
1177
+ /** Shape of the GET response from /api/v1/canvas-definitions */
1178
+ type ComponentDefinitionGetResponse = Api$2['get']['responses']['200']['content']['application/json'];
1179
+ /** Shape of the PUT request body for /api/v1/canvas-definitions */
1180
+ type ComponentDefinitionPutParameters = Api$2['put']['requestBody']['content']['application/json'];
1181
+ /** Shape of the DELETE request body for /api/v1/canvas-definitions */
1182
+ type ComponentDefinitionDeleteParameters = Api$2['delete']['requestBody']['content']['application/json'];
1183
+ /** Query parameter options for GET /api/v1/canvas-definitions */
1184
+ type ComponentDefinitionGetParameters = Api$2['get']['parameters']['query'];
1185
+ /** The definition of a component parameter */
1186
+ type ComponentDefinitionParameter<TConfig = unknown> = Omit<components$4['schemas']['ComponentDefinitionParameter'], 'typeConfig'> & {
1187
+ typeConfig?: TConfig;
1188
+ };
1189
+ /** The definition of a component visual variant */
1190
+ type ComponentDefinitionVariant = SharedComponents$2['ComponentDefinitionVariant'];
1191
+ /** The definition of a composition's slug settings */
1192
+ type ComponentDefinitionSlugSettings = SharedComponents$2['ComponentDefinitionSlugSettings'];
1193
+ /** The definition of a named component slot that can contain other components */
1194
+ type ComponentDefinitionSlot = SharedComponents$2['ComponentDefinitionSlot'];
1195
+ /** Permission set for a component defintion */
1196
+ type ComponentDefinitionPermission = SharedComponents$2['ComponentDefinitionPermission'];
1197
+ /** Defines a component type that can live on a Composition */
1198
+ type ComponentDefinition = SharedComponents$2['ComponentDefinition'];
1199
+
1200
+ /**
1201
+ * This file was auto-generated by openapi-typescript.
1202
+ * Do not make direct changes to the file.
1203
+ */
1204
+ interface paths$8 {
1205
+ "/api/v1/categories": {
1206
+ get: {
1207
+ parameters: {
1208
+ query: {
1209
+ projectId: string;
1210
+ };
1211
+ };
1212
+ responses: {
1213
+ /** OK */
1214
+ 200: {
1215
+ content: {
1216
+ "application/json": {
1217
+ categories: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["Category"][];
1218
+ };
1219
+ };
1220
+ };
1221
+ 400: external$9["swagger.yml"]["components"]["responses"]["BadRequestError"];
1222
+ 401: external$9["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
1223
+ 403: external$9["swagger.yml"]["components"]["responses"]["ForbiddenError"];
1224
+ 429: external$9["swagger.yml"]["components"]["responses"]["RateLimitError"];
1225
+ 500: external$9["swagger.yml"]["components"]["responses"]["InternalServerError"];
1226
+ };
1227
+ };
1228
+ put: {
1229
+ responses: {
1230
+ /** OK */
1231
+ 204: never;
1232
+ 400: external$9["swagger.yml"]["components"]["responses"]["BadRequestError"];
1233
+ 401: external$9["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
1234
+ 403: external$9["swagger.yml"]["components"]["responses"]["ForbiddenError"];
1235
+ 429: external$9["swagger.yml"]["components"]["responses"]["RateLimitError"];
1236
+ 500: external$9["swagger.yml"]["components"]["responses"]["InternalServerError"];
1237
+ };
1238
+ requestBody: {
1239
+ content: {
1240
+ "application/json": {
1241
+ /** Format: uuid */
1242
+ projectId: string;
1243
+ categories: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["Category"][];
1244
+ };
1245
+ };
1246
+ };
1247
+ };
1248
+ delete: {
1249
+ responses: {
1250
+ /** OK */
1251
+ 204: never;
1252
+ 400: external$9["swagger.yml"]["components"]["responses"]["BadRequestError"];
1253
+ 401: external$9["swagger.yml"]["components"]["responses"]["UnauthorizedError"];
1254
+ 403: external$9["swagger.yml"]["components"]["responses"]["ForbiddenError"];
1255
+ 429: external$9["swagger.yml"]["components"]["responses"]["RateLimitError"];
1256
+ 500: external$9["swagger.yml"]["components"]["responses"]["InternalServerError"];
1257
+ };
1258
+ requestBody: {
1259
+ content: {
1260
+ "application/json": {
1261
+ /** Format: uuid */
1262
+ categoryId: string;
1263
+ /** Format: uuid */
1264
+ projectId: string;
1265
+ };
1266
+ };
1267
+ };
1268
+ };
1269
+ };
1270
+ }
1271
+ interface external$9 {
1272
+ "swagger.yml": {
1273
+ paths: {};
1274
+ components: {
1275
+ schemas: {
1276
+ Error: {
1277
+ /** @description Error message(s) that occurred while processing the request */
1278
+ errorMessage?: string[] | string;
1279
+ };
1280
+ };
1281
+ responses: {
1282
+ /** Request input validation failed */
1283
+ BadRequestError: {
1284
+ content: {
1285
+ "application/json": external$9["swagger.yml"]["components"]["schemas"]["Error"];
1286
+ };
1287
+ };
1288
+ /** API key or token was not valid */
1289
+ UnauthorizedError: {
1290
+ content: {
1291
+ "application/json": external$9["swagger.yml"]["components"]["schemas"]["Error"];
1292
+ };
1293
+ };
1294
+ /** Permission was denied */
1295
+ ForbiddenError: {
1296
+ content: {
1297
+ "application/json": external$9["swagger.yml"]["components"]["schemas"]["Error"];
1298
+ };
1299
+ };
1300
+ /** Resource not found */
1301
+ NotFoundError: {
1302
+ content: {
1303
+ "application/json": external$9["swagger.yml"]["components"]["schemas"]["Error"];
1304
+ };
1305
+ };
1306
+ /** Too many requests in allowed time period */
1307
+ RateLimitError: unknown;
1308
+ /** Execution error occurred */
1309
+ InternalServerError: unknown;
1310
+ };
1311
+ };
1312
+ operations: {};
1313
+ };
1314
+ "uniform-canvas-types.swagger.yml": {
1315
+ paths: {};
1316
+ components: {
1317
+ schemas: {
1318
+ /** @description Public ID (used in code). Do not change after creation. */
1319
+ PublicIdProperty: string;
1320
+ /** @description The definition of a component parameter */
1321
+ ComponentDefinitionParameter: {
1322
+ id: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
1323
+ /** @description Friendly name of the parameter */
1324
+ name: string;
1325
+ /** @description Appears next to the parameter in the Composition editor */
1326
+ helpText?: string;
1327
+ /** @description Type name of the parameter (provided by a Uniform integration) */
1328
+ type: string;
1329
+ /** @description The configuration object for the type (type-specific) */
1330
+ typeConfig?: unknown;
1331
+ };
1332
+ /** @description The definition of a named component slot that can contain other components */
1333
+ ComponentDefinitionSlot: {
1334
+ id: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
1335
+ /** @description Friendly name of the slot */
1336
+ name: string;
1337
+ /** @description A list of component definition public IDs that are allowed in this named slot */
1338
+ allowedComponents: string[];
1339
+ /**
1340
+ * @description Whether this slot inherits its allowed components from the parent slot it lives in. If true, allowedComponents is irrelevant.
1341
+ * If allowAllComponents is true, this value is ignored.
1342
+ *
1343
+ * @default false
1344
+ */
1345
+ inheritAllowedComponents: boolean;
1346
+ /**
1347
+ * @description When false or not defined, only components in allowedComponents may be added to this slot - and if allowedComponents is empty, nothing can be added.
1348
+ * When true, every component and pattern that is defined may be added to this slot regardless of any other setting including inheritAllowedComponents.
1349
+ */
1350
+ allowAllComponents?: boolean;
1351
+ /**
1352
+ * @description When not defined, or false: all patterns for components listed in allowedComponents are automatically allowed in the slot.
1353
+ * When true: patterns for components listed in allowedComponents are not allowed in the slot unless explicitly added to allowedComponents as `$p:<patternid>`
1354
+ */
1355
+ patternsInAllowedComponents?: boolean;
1356
+ /** @description Minimum valid number of components in this slot */
1357
+ minComponents?: number;
1358
+ /** @description Maximum valid number of components in this slot */
1359
+ maxComponents?: number;
1360
+ };
1361
+ /** @description The definition of a composition's slug settings */
1362
+ ComponentDefinitionSlugSettings: {
1363
+ /**
1364
+ * @description Whether the slug is required
1365
+ * no: slug is optional
1366
+ * yes: slug is required
1367
+ * disabled: slug is disabled and will not be shown in the editor
1368
+ *
1369
+ * @default no
1370
+ * @enum {string}
1371
+ */
1372
+ required?: "no" | "yes" | "disabled";
1373
+ /**
1374
+ * @description Slug uniqueness configuration.
1375
+ * no = no unique constraint
1376
+ * local = must be unique within this component type
1377
+ * global = must be unique across all component types
1378
+ *
1379
+ * @enum {string}
1380
+ */
1381
+ unique?: "no" | "local" | "global";
1382
+ /** @description Regular expression slugs must match */
1383
+ regularExpression?: string;
1384
+ /**
1385
+ * @description Custom error message when regular expression validation fails.
1386
+ * Has no effect if `regularExpression` is not set.
1387
+ */
1388
+ regularExpressionMessage?: string;
1389
+ };
1390
+ /** @description The definition of a component variant */
1391
+ ComponentDefinitionVariant: {
1392
+ id: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
1393
+ /** @description Friendly name of the variant */
1394
+ name: string;
1395
+ };
1396
+ /** @description Permission set for a component defintion */
1397
+ ComponentDefinitionPermission: {
1398
+ roleId: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
1399
+ /**
1400
+ * @description Permission type for this permission ComponentDefinition:
1401
+ * read | write | create | delete
1402
+ *
1403
+ * @enum {string}
1404
+ */
1405
+ permission: "read" | "write" | "create" | "delete";
1406
+ /** @description State of the component that this permission applies to */
1407
+ state: number;
1408
+ };
1409
+ /** @description Defines a component type that can live on a Composition */
1410
+ ComponentDefinition: {
1411
+ id: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
1412
+ /** @description Friendly name of the component definition */
1413
+ name: string;
1414
+ /**
1415
+ * @description Icon name for the component definition (e.g. 'screen')
1416
+ * @default screen
1417
+ */
1418
+ icon?: string;
1419
+ /**
1420
+ * @description The public ID of the parameter whose value should be used to create a display title for this component in the UI.
1421
+ * The parameter type must support being used as a title parameter for this to work.
1422
+ *
1423
+ * @default null
1424
+ */
1425
+ titleParameter?: string | null;
1426
+ /**
1427
+ * @description Whether this component type can be the root of a composition. If false, this component is only used within slots on other components.
1428
+ * @default false
1429
+ */
1430
+ canBeComposition?: boolean;
1431
+ /** @description The parameters for this component. Parameters are key-value pairs that can be anything from text values to links to CMS entries. */
1432
+ parameters?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
1433
+ /**
1434
+ * Format: uuid
1435
+ * @description Reference to the category this component definition belongs to
1436
+ * @default null
1437
+ */
1438
+ categoryId?: string | null;
1439
+ /**
1440
+ * @description Description of the component definition
1441
+ * @default null
1442
+ */
1443
+ description?: string;
1444
+ /**
1445
+ * @description Description of the component definition
1446
+ * @default null
1447
+ */
1448
+ previewImageUrl?: string;
1449
+ /**
1450
+ * @description if this component uses team permissions or custom permissions
1451
+ * @default true
1452
+ */
1453
+ useTeamPermissions?: boolean;
1454
+ /** @description Custom role permissions for this component definition */
1455
+ permissions?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionPermission"][];
1456
+ /** @description The named slots for this component; placement areas where arrays of other components can be added. */
1457
+ slots?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionSlot"][];
1458
+ slugSettings?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionSlugSettings"];
1459
+ /** @description Default component instance value */
1460
+ defaults?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentInstance"] | null;
1461
+ /** @description Named variants for this component; enables creation of visual variants that use the same parameter data */
1462
+ variants?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionVariant"][];
1463
+ /** @description Created date string for this definition (ignored for writes) */
1464
+ created?: string;
1465
+ /** @description Last modified date string for this definition (ignored for writes) */
1466
+ updated?: string;
1467
+ };
1468
+ /** @description Defines a content type */
1469
+ ContentType: {
1470
+ id: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["PublicIdProperty"];
1471
+ /** @description Friendly name of the content type */
1472
+ name: string;
1473
+ /**
1474
+ * @description The public ID of the field whose value should be used to create a display name for entries of this content type in the UI.
1475
+ * The field type must support being used as an entry name for this to work.
1476
+ */
1477
+ entryName?: string | null;
1478
+ /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
1479
+ fields?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
1480
+ /** @description Created date string for this content type (ignored for writes) */
1481
+ created?: string;
1482
+ /** @description Last modified date string for this content type (ignored for writes) */
1483
+ updated?: string;
1484
+ };
1485
+ /** @description Defines an editable parameter on a component. */
1486
+ ComponentParameter: {
1487
+ /** @description The value of the parameter. Any JSON-serializable value is acceptable. */
1488
+ value: unknown;
1489
+ /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
1490
+ type: string;
1491
+ /** @deprecated */
1492
+ connectedData?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataElementConnectionDefinition"];
1493
+ };
1494
+ /**
1495
+ * @description Defines a connection to a data element on a data resource.
1496
+ *
1497
+ * NOTE: This is considered an internal data structure and is not guaranteed to be stable.
1498
+ * Future updates that do not break the edgehanced/data-bound state of a composition may be made without notice.
1499
+ */
1500
+ DataElementConnectionDefinition: {
1501
+ /** @description A JSON Pointer expression that defines the data element to connect the parameter to. */
1502
+ pointer: string;
1503
+ /**
1504
+ * @description The syntax used to select the data element to bind to
1505
+ * @enum {string}
1506
+ */
1507
+ syntax: "jptr";
1508
+ };
1509
+ /** @description Defines the shape of a component instance served by the composition API. */
1510
+ ComponentInstance: {
1511
+ /** @description Type of the component instance (public_id of its definition) */
1512
+ type: string;
1513
+ /** @description Component parameter values for the component instance */
1514
+ parameters?: {
1515
+ [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
1516
+ };
1517
+ /** @description Public ID of alternate visual appearance for this component, if any selected */
1518
+ variant?: string;
1519
+ /** @description Slots containing any child components */
1520
+ slots?: {
1521
+ [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentInstance"][];
1522
+ };
1523
+ /**
1524
+ * @description Unique identifier of the component within the composition.
1525
+ * No assumptions should be made about the format of this value other than "it will be unique."
1526
+ * This is not returned in GET replies unless specifically requested via `withComponentIDs` API parameter.
1527
+ * When updating or creating a composition, if you do not specify an _id for each component, one will be created and stored for you.
1528
+ */
1529
+ _id?: string;
1530
+ /** @description Indicates this component instance should be sourced from a pattern library pattern. */
1531
+ _pattern?: string;
1532
+ _dataResources?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceDefinitions"];
1533
+ /**
1534
+ * @description Data definitions coming from a pattern resolved for this component. Merged with _dataResources during resolution.
1535
+ * Means nothing for PUTs; it will be ignored.
1536
+ */
1537
+ _patternDataResources?: {
1538
+ [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceDefinition"];
1539
+ };
1540
+ /**
1541
+ * @description Describes why the pattern could not be resolved, if a pattern could not be resolved. For PUTs, this is allowed but ignored.
1542
+ * CYCLIC: A cyclic pattern graph was detected, which could not be resolved because it would cause an infinite loop.
1543
+ * NOTFOUND: The pattern ID referenced could not be found. It may have been deleted, or not be published yet.
1544
+ * Means nothing for PUTs; it will be ignored.
1545
+ *
1546
+ * @enum {string}
1547
+ */
1548
+ _patternError?: "NOTFOUND" | "CYCLIC";
1549
+ /**
1550
+ * @description Defines patch overrides to component IDs that live in the composition.
1551
+ * This can be used to override parameters that are defined on patterns,
1552
+ * including nested patterns, with values that are specific to this composition.
1553
+ * The keys in this object are component IDs.
1554
+ * Overrides are applied from the top down, so for example if both the composition
1555
+ * and a pattern on the composition define an override on a nested pattern,
1556
+ * the composition's override replaces the pattern's.
1557
+ *
1558
+ * NOTE: This is considered an internal data structure and is not guaranteed to be stable.
1559
+ * Future updates that do not break the overrides-applied state of a composition may be made without notice.
1560
+ */
1561
+ _overrides?: {
1562
+ [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentOverride"];
1563
+ };
1564
+ /**
1565
+ * @description When used on a pattern, defines how the pattern's parameters may be overridden
1566
+ * by consumers of the pattern.
1567
+ *
1568
+ * NOTE: This is considered an internal data structure and is not guaranteed to be stable.
1569
+ * Future updates that do not break the overrides-applied state of a composition may be made without notice.
1570
+ */
1571
+ _overridability?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentOverridability"];
1572
+ };
1573
+ /** @description Defines the shape of the root component in a composition */
1574
+ RootComponentInstance: {
1575
+ /** @description Type of the component instance (public_id of its definition) */
1576
+ type: string;
1577
+ /** @description Component parameter values for the component instance */
1578
+ parameters?: {
1579
+ [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
1580
+ };
1581
+ /** @description Public ID of alternate visual appearance for this component, if any selected */
1582
+ variant?: string;
1583
+ /** @description Project map nodes associated with this component. Must pass withProjectMapNodes parameter to be populated. */
1584
+ projectMapNodes?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["CompositionProjectMapNodeInfo"][];
1585
+ /** @description Slots containing any child components */
1586
+ slots?: {
1587
+ [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentInstance"][];
1588
+ };
1589
+ /** @description The public UUID of the composition. */
1590
+ _id: string;
1591
+ /** @description Slug pattern of this component. */
1592
+ _slug?: string | null;
1593
+ /** @description Friendly name of this component. */
1594
+ _name: string;
1595
+ _dataResources?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceDefinitions"];
1596
+ /**
1597
+ * @description Defines patch overrides to component IDs that live in the composition.
1598
+ * This can be used to override parameters that are defined on patterns,
1599
+ * including nested patterns, with values that are specific to this composition.
1600
+ * The keys in this object are component IDs.
1601
+ * Overrides are applied from the top down, so for example if both the composition
1602
+ * and a pattern on the composition define an override on a nested pattern,
1603
+ * the composition's override replaces the pattern's.
1604
+ *
1605
+ * NOTE: This is considered an internal data structure and is not guaranteed to be stable.
1606
+ * Future updates that do not break the overrides-applied state of a composition may be made without notice.
1607
+ */
1608
+ _overrides?: {
1609
+ [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentOverride"];
1610
+ };
1611
+ /**
1612
+ * @description When used on a pattern, defines how the pattern's parameters may be overridden
1613
+ * by consumers of the pattern.
1614
+ *
1615
+ * NOTE: This is considered an internal data structure and is not guaranteed to be stable.
1616
+ * Future updates that do not break the overrides-applied state of a composition may be made without notice.
1617
+ */
1618
+ _overridability?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentOverridability"];
1619
+ };
1620
+ /**
1621
+ * @description Defines how to override a specific component.
1622
+ *
1623
+ * NOTE: This is considered an internal data structure and is not guaranteed to be stable.
1624
+ * Future updates that do not break the overrides-applied state of a composition may be made without notice.
1625
+ */
1626
+ ComponentOverride: {
1627
+ parameters?: {
1628
+ [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
1629
+ };
1630
+ variant?: string;
1631
+ };
1632
+ /**
1633
+ * @description Defines how a component on a pattern may have its values overridden.
1634
+ * NOTE: Data resources' overridability is defined in the data resource definition, not here.
1635
+ *
1636
+ * NOTE: This is considered an internal data structure and is not guaranteed to be stable.
1637
+ * Future updates that do not break the overrides-applied state of a composition may be made without notice.
1638
+ */
1639
+ ComponentOverridability: {
1640
+ /** @description Defines component parameter value overrides. Keys are the parameter public ID. */
1641
+ parameters?: {
1642
+ [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["OverrideOptions"];
1643
+ };
1644
+ /** @description Allows overriding a display variant is allowed, if it is defined on the component the pattern is derived from. Default = false. */
1645
+ variants?: boolean;
1646
+ };
1647
+ /**
1648
+ * @description Whether a parameter is overridable
1649
+ *
1650
+ * NOTE: This is considered an internal data structure and is not guaranteed to be stable.
1651
+ * Future updates that do not break the overrides-applied state of a composition may be made without notice.
1652
+ *
1653
+ * @enum {string}
1654
+ */
1655
+ OverrideOptions: "yes" | "no";
1656
+ /**
1657
+ * @description An instance of a data source (i.e. "Master environment of the stable space", "Yelp API", "Sanity dev dataset").
1658
+ * These are created in the UI and shared across a whole project.
1659
+ * NOTE: if you acquire a list of data sources or do not have manage permissions, you will receive "SECRET"
1660
+ * for all header, parameter, and variable values to obscure the actual encrypted secret value.
1661
+ */
1662
+ DataSource: {
1663
+ /** @description Public ID of the data source */
1664
+ id: string;
1665
+ /** @description Display name of the data source */
1666
+ displayName: string;
1667
+ /** @description The type of data connector this connects to (e.g. 'cms-items', provided by an intalled integration) */
1668
+ connectorType: string;
1669
+ /** @description Base resource URL of the data source. No trailing slash. */
1670
+ baseUrl: string;
1671
+ /** @description HTTP headers to pass with requests to the data source */
1672
+ headers?: {
1673
+ key: string;
1674
+ value: string;
1675
+ }[];
1676
+ /** @description Query String parameters to pass with requests to the data type. Merged with parameters from the data source, overriding identical keys. */
1677
+ parameters?: {
1678
+ key: string;
1679
+ value: string;
1680
+ }[];
1681
+ /** @description Variables needed to make calls to the data source */
1682
+ variables?: {
1683
+ [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataVariableDefinition"];
1684
+ };
1685
+ /** @description Custom configuration specific to the data source being defined (used to maintain UI state for custom integrations) */
1686
+ custom?: {
1687
+ [key: string]: unknown;
1688
+ };
1689
+ };
1690
+ /** @description A specific type of data that a Data Source can provide (i.e. "Recipe", "Recipes List by Tag", "Yelp Reviews of My Restaurant"). These are created in the UI and shared a whole project. */
1691
+ DataType: {
1692
+ /** @description Public ID of the data type */
1693
+ id: string;
1694
+ /** @description Display name of the data type */
1695
+ displayName: string;
1696
+ /** @description Public ID of the associated data source */
1697
+ dataSourceId: string;
1698
+ /**
1699
+ * @description A connector-specific archetype for this data type; used to select UI as well as perform any
1700
+ * necessary post-processing on the response. e.g. 'cms-entry', 'cms-query'. Can be undefined if
1701
+ * no special UI or processing is required.
1702
+ */
1703
+ archetype?: string;
1704
+ allowedOnComponents?: string[];
1705
+ /** @description Resource path, appended to the data source's baseUrl (e.g. baseUrl = https://base.url, path = /v1/endpoint -> final URL https://base.url/v1/endpoint). Must have leading slash. */
1706
+ path: string;
1707
+ /** @description Time-to-live (in seconds) for the primary resource data cache. */
1708
+ ttl?: number;
1709
+ /** @description Long term data resource cache configuration. */
1710
+ longTermCache?: {
1711
+ /** @description A flag to turn the long term cache on. */
1712
+ enabled: boolean;
1713
+ /** @description Time-to-live (in hours) for the long term resource data cache. */
1714
+ ttlInHours?: number;
1715
+ };
1716
+ /** @description A key for the resource data cache purging. */
1717
+ purgeKey?: string;
1718
+ /** @description URL to a custom badge icon for the Uniform dashboard for this data type. If not set falls back to the data connector or integration icons. */
1719
+ badgeIconUrl?: string;
1720
+ /** @description HTTP headers to pass with requests to the data type. Merged with headers from the data source, overriding identical keys. */
1721
+ headers?: {
1722
+ key: string;
1723
+ value: string;
1724
+ }[];
1725
+ /** @description Query String parameters to pass with requests to the data type. Merged with parameters from the data source, overriding identical keys. */
1726
+ parameters?: {
1727
+ key: string;
1728
+ value: string;
1729
+ }[];
1730
+ /** @description Body to pass with requests to the data type (ignored unless method is POST) */
1731
+ body?: string;
1732
+ /**
1733
+ * @description HTTP method to use with requests to the data type.
1734
+ * @default GET
1735
+ * @enum {string}
1736
+ */
1737
+ method: "GET" | "POST" | "HEAD";
1738
+ /** @description Variables needed to make calls to the data type. Merged with variables from the data source, overriding identical keys. */
1739
+ variables?: {
1740
+ [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataVariableDefinition"];
1741
+ };
1742
+ /** @description Custom configuration specific to the data source being defined */
1743
+ custom?: {
1744
+ [key: string]: unknown;
1745
+ };
1746
+ };
1747
+ /** @description Defines the shape of a data variable on a Data Source or Data Type */
1748
+ DataVariableDefinition: {
1749
+ /** @description Display name of the data variable */
1750
+ displayName?: string;
1751
+ /** @description Explanatory text that is provided to the data resource editor to explain what this variable does. */
1752
+ helpText?: string;
1753
+ /**
1754
+ * @description Type of the data variable. Optionally used as a point of reference for custom integrations to decide how to render an editor for a variable.
1755
+ * @default text
1756
+ */
1757
+ type?: string;
1758
+ /** @description Default value of the data variable */
1759
+ default: string;
1760
+ /** @description Sets the order of the variable when displayed in a list with other variables. If not set, the order defaults to alphabetical with any explicitly set orders first in the list. */
1761
+ order?: number;
1762
+ /**
1763
+ * @description An optional arbitrary human readable source identifier to describe where this variable is from.
1764
+ * Some user interfaces may group variables by source value, for example 'From URL' or 'My Integration'.
1765
+ */
1766
+ source?: string;
1767
+ };
1768
+ /**
1769
+ * @description Data definitions attached to this component. The property name is the key of the data in the data document.
1770
+ * Note: data definitions are inherited from ancestors at runtime (and may be overridden by descendants that use the same key).
1771
+ */
1772
+ DataResourceDefinitions: {
1773
+ [key: string]: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceDefinition"];
1774
+ };
1775
+ /** @description Defines a data resource, which is a named JSON document, usually from an API response, which may be projected onto parameters */
1776
+ DataResourceDefinition: {
1777
+ /** @description Public ID of the data type that provides this data */
1778
+ type: string;
1779
+ /** @description Whether this data is a pattern data resource that can be overridden when a pattern is referenced on another composition. If this is not a pattern composition, this has no meaning and should not be used. If unspecified, the default is false. */
1780
+ isPatternParameter?: boolean;
1781
+ /**
1782
+ * @description When true, the default data resource of a pattern data parameter (isPatternParameter=true) will be ignored when the pattern is referenced.
1783
+ * Unless specifically overridden, the pattern data parameter will be provided with a null default value - leaving any data connections to it unresolvable.
1784
+ * If isPatternParameter is false or undefined, this has no meaning.
1785
+ */
1786
+ ignorePatternParameterDefault?: boolean;
1787
+ variables?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceVariables"];
1788
+ };
1789
+ /** @description Variable values for a data resource. */
1790
+ DataResourceVariables: {
1791
+ [key: string]: string;
1792
+ };
1793
+ /** @description Category for tagging canvas entities */
1794
+ Category: {
1795
+ /**
1796
+ * Format: uuid
1797
+ * @description Unique identifier for the category
1798
+ */
1799
+ id: string;
1800
+ /** @description Display name of the category */
1801
+ name: string;
1802
+ /**
1803
+ * @description Sets the order of the category when displayed in a list with other categories. If not set, the order defaults to alphabetical with any explicitly set orders first in the list.
1804
+ * @default 0
1805
+ */
1806
+ order?: number;
1807
+ };
1088
1808
  /** @description Project map node information related to a component. */
1089
1809
  CompositionProjectMapNodeInfo: {
1090
1810
  /**
@@ -1107,29 +1827,17 @@ interface external$9 {
1107
1827
  }
1108
1828
 
1109
1829
  type SharedComponents$1 = components$4['schemas'];
1110
- type Api$1 = paths$8['/api/v1/canvas-definitions'];
1111
- /** Shape of the GET response from /api/v1/canvas-definitions */
1112
- type ComponentDefinitionGetResponse = Api$1['get']['responses']['200']['content']['application/json'];
1113
- /** Shape of the PUT request body for /api/v1/canvas-definitions */
1114
- type ComponentDefinitionPutParameters = Api$1['put']['requestBody']['content']['application/json'];
1115
- /** Shape of the DELETE request body for /api/v1/canvas-definitions */
1116
- type ComponentDefinitionDeleteParameters = Api$1['delete']['requestBody']['content']['application/json'];
1117
- /** Query parameter options for GET /api/v1/canvas-definitions */
1118
- type ComponentDefinitionGetParameters = Api$1['get']['parameters']['query'];
1119
- /** The definition of a component parameter */
1120
- type ComponentDefinitionParameter<TConfig = unknown> = Omit<components$4['schemas']['ComponentDefinitionParameter'], 'typeConfig'> & {
1121
- typeConfig?: TConfig;
1122
- };
1123
- /** The definition of a component visual variant */
1124
- type ComponentDefinitionVariant = SharedComponents$1['ComponentDefinitionVariant'];
1125
- /** The definition of a composition's slug settings */
1126
- type ComponentDefinitionSlugSettings = SharedComponents$1['ComponentDefinitionSlugSettings'];
1127
- /** The definition of a named component slot that can contain other components */
1128
- type ComponentDefinitionSlot = SharedComponents$1['ComponentDefinitionSlot'];
1129
- /** Permission set for a component defintion */
1130
- type ComponentDefinitionPermission = SharedComponents$1['ComponentDefinitionPermission'];
1830
+ type Api$1 = paths$8['/api/v1/categories'];
1831
+ /** Shape of the GET response from /api/v1/category */
1832
+ type CategoriesGetResponse = Api$1['get']['responses']['200']['content']['application/json'];
1833
+ /** Shape of the PUT request body for /api/v1/category */
1834
+ type CategoriesPutParameters = Api$1['put']['requestBody']['content']['application/json'];
1835
+ /** Shape of the DELETE request body for /api/v1/category */
1836
+ type CategoriesDeleteParameters = Api$1['delete']['requestBody']['content']['application/json'];
1837
+ /** Query parameter options for GET /api/v1/category */
1838
+ type CategoriesGetParameters = Api$1['get']['parameters']['query'];
1131
1839
  /** Defines a component type that can live on a Composition */
1132
- type ComponentDefinition = SharedComponents$1['ComponentDefinition'];
1840
+ type Category = SharedComponents$1['Category'];
1133
1841
 
1134
1842
  /**
1135
1843
  * This file was auto-generated by openapi-typescript.
@@ -1354,7 +2062,7 @@ interface external$8 {
1354
2062
  /** @description Friendly name of the component definition */
1355
2063
  name: string;
1356
2064
  /**
1357
- * @description Icon name or URL for the component definition (e.g. 'screen' or 'https://s3/my-component.jpg')
2065
+ * @description Icon name for the component definition (e.g. 'screen')
1358
2066
  * @default screen
1359
2067
  */
1360
2068
  icon?: string;
@@ -1372,6 +2080,22 @@ interface external$8 {
1372
2080
  canBeComposition?: boolean;
1373
2081
  /** @description The parameters for this component. Parameters are key-value pairs that can be anything from text values to links to CMS entries. */
1374
2082
  parameters?: external$8["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
2083
+ /**
2084
+ * Format: uuid
2085
+ * @description Reference to the category this component definition belongs to
2086
+ * @default null
2087
+ */
2088
+ categoryId?: string | null;
2089
+ /**
2090
+ * @description Description of the component definition
2091
+ * @default null
2092
+ */
2093
+ description?: string;
2094
+ /**
2095
+ * @description Description of the component definition
2096
+ * @default null
2097
+ */
2098
+ previewImageUrl?: string;
1375
2099
  /**
1376
2100
  * @description if this component uses team permissions or custom permissions
1377
2101
  * @default true
@@ -1414,6 +2138,7 @@ interface external$8 {
1414
2138
  value: unknown;
1415
2139
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
1416
2140
  type: string;
2141
+ /** @deprecated */
1417
2142
  connectedData?: external$8["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataElementConnectionDefinition"];
1418
2143
  };
1419
2144
  /**
@@ -1715,6 +2440,21 @@ interface external$8 {
1715
2440
  DataResourceVariables: {
1716
2441
  [key: string]: string;
1717
2442
  };
2443
+ /** @description Category for tagging canvas entities */
2444
+ Category: {
2445
+ /**
2446
+ * Format: uuid
2447
+ * @description Unique identifier for the category
2448
+ */
2449
+ id: string;
2450
+ /** @description Display name of the category */
2451
+ name: string;
2452
+ /**
2453
+ * @description Sets the order of the category when displayed in a list with other categories. If not set, the order defaults to alphabetical with any explicitly set orders first in the list.
2454
+ * @default 0
2455
+ */
2456
+ order?: number;
2457
+ };
1718
2458
  /** @description Project map node information related to a component. */
1719
2459
  CompositionProjectMapNodeInfo: {
1720
2460
  /**
@@ -1915,7 +2655,7 @@ interface external$7 {
1915
2655
  /** @description Friendly name of the component definition */
1916
2656
  name: string;
1917
2657
  /**
1918
- * @description Icon name or URL for the component definition (e.g. 'screen' or 'https://s3/my-component.jpg')
2658
+ * @description Icon name for the component definition (e.g. 'screen')
1919
2659
  * @default screen
1920
2660
  */
1921
2661
  icon?: string;
@@ -1933,6 +2673,22 @@ interface external$7 {
1933
2673
  canBeComposition?: boolean;
1934
2674
  /** @description The parameters for this component. Parameters are key-value pairs that can be anything from text values to links to CMS entries. */
1935
2675
  parameters?: external$7["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
2676
+ /**
2677
+ * Format: uuid
2678
+ * @description Reference to the category this component definition belongs to
2679
+ * @default null
2680
+ */
2681
+ categoryId?: string | null;
2682
+ /**
2683
+ * @description Description of the component definition
2684
+ * @default null
2685
+ */
2686
+ description?: string;
2687
+ /**
2688
+ * @description Description of the component definition
2689
+ * @default null
2690
+ */
2691
+ previewImageUrl?: string;
1936
2692
  /**
1937
2693
  * @description if this component uses team permissions or custom permissions
1938
2694
  * @default true
@@ -1975,6 +2731,7 @@ interface external$7 {
1975
2731
  value: unknown;
1976
2732
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
1977
2733
  type: string;
2734
+ /** @deprecated */
1978
2735
  connectedData?: external$7["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataElementConnectionDefinition"];
1979
2736
  };
1980
2737
  /**
@@ -2276,6 +3033,21 @@ interface external$7 {
2276
3033
  DataResourceVariables: {
2277
3034
  [key: string]: string;
2278
3035
  };
3036
+ /** @description Category for tagging canvas entities */
3037
+ Category: {
3038
+ /**
3039
+ * Format: uuid
3040
+ * @description Unique identifier for the category
3041
+ */
3042
+ id: string;
3043
+ /** @description Display name of the category */
3044
+ name: string;
3045
+ /**
3046
+ * @description Sets the order of the category when displayed in a list with other categories. If not set, the order defaults to alphabetical with any explicitly set orders first in the list.
3047
+ * @default 0
3048
+ */
3049
+ order?: number;
3050
+ };
2279
3051
  /** @description Project map node information related to a component. */
2280
3052
  CompositionProjectMapNodeInfo: {
2281
3053
  /**
@@ -2511,7 +3283,7 @@ interface external$6 {
2511
3283
  /** @description Friendly name of the component definition */
2512
3284
  name: string;
2513
3285
  /**
2514
- * @description Icon name or URL for the component definition (e.g. 'screen' or 'https://s3/my-component.jpg')
3286
+ * @description Icon name for the component definition (e.g. 'screen')
2515
3287
  * @default screen
2516
3288
  */
2517
3289
  icon?: string;
@@ -2529,6 +3301,22 @@ interface external$6 {
2529
3301
  canBeComposition?: boolean;
2530
3302
  /** @description The parameters for this component. Parameters are key-value pairs that can be anything from text values to links to CMS entries. */
2531
3303
  parameters?: external$6["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
3304
+ /**
3305
+ * Format: uuid
3306
+ * @description Reference to the category this component definition belongs to
3307
+ * @default null
3308
+ */
3309
+ categoryId?: string | null;
3310
+ /**
3311
+ * @description Description of the component definition
3312
+ * @default null
3313
+ */
3314
+ description?: string;
3315
+ /**
3316
+ * @description Description of the component definition
3317
+ * @default null
3318
+ */
3319
+ previewImageUrl?: string;
2532
3320
  /**
2533
3321
  * @description if this component uses team permissions or custom permissions
2534
3322
  * @default true
@@ -2571,6 +3359,7 @@ interface external$6 {
2571
3359
  value: unknown;
2572
3360
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
2573
3361
  type: string;
3362
+ /** @deprecated */
2574
3363
  connectedData?: external$6["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataElementConnectionDefinition"];
2575
3364
  };
2576
3365
  /**
@@ -2872,6 +3661,21 @@ interface external$6 {
2872
3661
  DataResourceVariables: {
2873
3662
  [key: string]: string;
2874
3663
  };
3664
+ /** @description Category for tagging canvas entities */
3665
+ Category: {
3666
+ /**
3667
+ * Format: uuid
3668
+ * @description Unique identifier for the category
3669
+ */
3670
+ id: string;
3671
+ /** @description Display name of the category */
3672
+ name: string;
3673
+ /**
3674
+ * @description Sets the order of the category when displayed in a list with other categories. If not set, the order defaults to alphabetical with any explicitly set orders first in the list.
3675
+ * @default 0
3676
+ */
3677
+ order?: number;
3678
+ };
2875
3679
  /** @description Project map node information related to a component. */
2876
3680
  CompositionProjectMapNodeInfo: {
2877
3681
  /**
@@ -3021,6 +3825,8 @@ interface paths$4 {
3021
3825
  * This is a primary query parameter, and cannot be used with any other primary query parameters.
3022
3826
  */
3023
3827
  slug?: components$3["parameters"]["slug"];
3828
+ /** Filtration by category ID */
3829
+ categories?: components$3["parameters"]["categories"];
3024
3830
  /**
3025
3831
  * Publishing state to fetch. 0 = draft, 64 = published.
3026
3832
  * This is a list query parameter, and cannot be used with any primary query parameters.
@@ -3120,6 +3926,22 @@ interface paths$4 {
3120
3926
  created?: string;
3121
3927
  /** @description Ignored if present */
3122
3928
  modified?: string;
3929
+ /**
3930
+ * Format: uuid
3931
+ * @description Reference to the category this component definition belongs to
3932
+ * @default null
3933
+ */
3934
+ categoryId?: string | null;
3935
+ /**
3936
+ * @description Description of the component definition
3937
+ * @default null
3938
+ */
3939
+ description?: string | null;
3940
+ /**
3941
+ * @description Description of the component definition
3942
+ * @default null
3943
+ */
3944
+ previewImageUrl?: string | null;
3123
3945
  };
3124
3946
  };
3125
3947
  };
@@ -3189,6 +4011,15 @@ interface components$3 {
3189
4011
  * @description Modified date string for this definition
3190
4012
  */
3191
4013
  modified: string;
4014
+ /**
4015
+ * Format: uuid
4016
+ * @description Reference to the category this component definition belongs to
4017
+ */
4018
+ categoryId?: string;
4019
+ /** @description Description of the component definition */
4020
+ description?: string;
4021
+ /** @description Description of the component definition */
4022
+ previewImageUrl?: string;
3192
4023
  /** @description Whether this composition is a pattern (can be referenced by other compositions, not treated as a composition) */
3193
4024
  pattern: boolean;
3194
4025
  composition: external$5["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["RootComponentInstance"];
@@ -3258,6 +4089,8 @@ interface components$3 {
3258
4089
  * This is a list query parameter, and cannot be used with any primary query parameters.
3259
4090
  */
3260
4091
  limit: number;
4092
+ /** @description Filtration by category ID */
4093
+ categories: string[];
3261
4094
  /**
3262
4095
  * @deprecated
3263
4096
  * @description Signals an enhancer proxy to skip processing enhancements to the data and return raw data only.
@@ -3493,7 +4326,7 @@ interface external$5 {
3493
4326
  /** @description Friendly name of the component definition */
3494
4327
  name: string;
3495
4328
  /**
3496
- * @description Icon name or URL for the component definition (e.g. 'screen' or 'https://s3/my-component.jpg')
4329
+ * @description Icon name for the component definition (e.g. 'screen')
3497
4330
  * @default screen
3498
4331
  */
3499
4332
  icon?: string;
@@ -3511,6 +4344,22 @@ interface external$5 {
3511
4344
  canBeComposition?: boolean;
3512
4345
  /** @description The parameters for this component. Parameters are key-value pairs that can be anything from text values to links to CMS entries. */
3513
4346
  parameters?: external$5["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
4347
+ /**
4348
+ * Format: uuid
4349
+ * @description Reference to the category this component definition belongs to
4350
+ * @default null
4351
+ */
4352
+ categoryId?: string | null;
4353
+ /**
4354
+ * @description Description of the component definition
4355
+ * @default null
4356
+ */
4357
+ description?: string;
4358
+ /**
4359
+ * @description Description of the component definition
4360
+ * @default null
4361
+ */
4362
+ previewImageUrl?: string;
3514
4363
  /**
3515
4364
  * @description if this component uses team permissions or custom permissions
3516
4365
  * @default true
@@ -3553,6 +4402,7 @@ interface external$5 {
3553
4402
  value: unknown;
3554
4403
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
3555
4404
  type: string;
4405
+ /** @deprecated */
3556
4406
  connectedData?: external$5["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataElementConnectionDefinition"];
3557
4407
  };
3558
4408
  /**
@@ -3854,6 +4704,21 @@ interface external$5 {
3854
4704
  DataResourceVariables: {
3855
4705
  [key: string]: string;
3856
4706
  };
4707
+ /** @description Category for tagging canvas entities */
4708
+ Category: {
4709
+ /**
4710
+ * Format: uuid
4711
+ * @description Unique identifier for the category
4712
+ */
4713
+ id: string;
4714
+ /** @description Display name of the category */
4715
+ name: string;
4716
+ /**
4717
+ * @description Sets the order of the category when displayed in a list with other categories. If not set, the order defaults to alphabetical with any explicitly set orders first in the list.
4718
+ * @default 0
4719
+ */
4720
+ order?: number;
4721
+ };
3857
4722
  /** @description Project map node information related to a component. */
3858
4723
  CompositionProjectMapNodeInfo: {
3859
4724
  /**
@@ -4305,7 +5170,7 @@ interface external$3 {
4305
5170
  /** @description Friendly name of the component definition */
4306
5171
  name: string;
4307
5172
  /**
4308
- * @description Icon name or URL for the component definition (e.g. 'screen' or 'https://s3/my-component.jpg')
5173
+ * @description Icon name for the component definition (e.g. 'screen')
4309
5174
  * @default screen
4310
5175
  */
4311
5176
  icon?: string;
@@ -4323,6 +5188,22 @@ interface external$3 {
4323
5188
  canBeComposition?: boolean;
4324
5189
  /** @description The parameters for this component. Parameters are key-value pairs that can be anything from text values to links to CMS entries. */
4325
5190
  parameters?: external$3["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
5191
+ /**
5192
+ * Format: uuid
5193
+ * @description Reference to the category this component definition belongs to
5194
+ * @default null
5195
+ */
5196
+ categoryId?: string | null;
5197
+ /**
5198
+ * @description Description of the component definition
5199
+ * @default null
5200
+ */
5201
+ description?: string;
5202
+ /**
5203
+ * @description Description of the component definition
5204
+ * @default null
5205
+ */
5206
+ previewImageUrl?: string;
4326
5207
  /**
4327
5208
  * @description if this component uses team permissions or custom permissions
4328
5209
  * @default true
@@ -4365,6 +5246,7 @@ interface external$3 {
4365
5246
  value: unknown;
4366
5247
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
4367
5248
  type: string;
5249
+ /** @deprecated */
4368
5250
  connectedData?: external$3["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataElementConnectionDefinition"];
4369
5251
  };
4370
5252
  /**
@@ -4666,6 +5548,21 @@ interface external$3 {
4666
5548
  DataResourceVariables: {
4667
5549
  [key: string]: string;
4668
5550
  };
5551
+ /** @description Category for tagging canvas entities */
5552
+ Category: {
5553
+ /**
5554
+ * Format: uuid
5555
+ * @description Unique identifier for the category
5556
+ */
5557
+ id: string;
5558
+ /** @description Display name of the category */
5559
+ name: string;
5560
+ /**
5561
+ * @description Sets the order of the category when displayed in a list with other categories. If not set, the order defaults to alphabetical with any explicitly set orders first in the list.
5562
+ * @default 0
5563
+ */
5564
+ order?: number;
5565
+ };
4669
5566
  /** @description Project map node information related to a component. */
4670
5567
  CompositionProjectMapNodeInfo: {
4671
5568
  /**
@@ -4783,6 +5680,8 @@ interface external$3 {
4783
5680
  * This is a primary query parameter, and cannot be used with any other primary query parameters.
4784
5681
  */
4785
5682
  slug?: external$3["../../../lambda/functions/v1-canvas.swagger.yml"]["components"]["parameters"]["slug"];
5683
+ /** Filtration by category ID */
5684
+ categories?: external$3["../../../lambda/functions/v1-canvas.swagger.yml"]["components"]["parameters"]["categories"];
4786
5685
  /**
4787
5686
  * Publishing state to fetch. 0 = draft, 64 = published.
4788
5687
  * This is a list query parameter, and cannot be used with any primary query parameters.
@@ -4882,6 +5781,22 @@ interface external$3 {
4882
5781
  created?: string;
4883
5782
  /** @description Ignored if present */
4884
5783
  modified?: string;
5784
+ /**
5785
+ * Format: uuid
5786
+ * @description Reference to the category this component definition belongs to
5787
+ * @default null
5788
+ */
5789
+ categoryId?: string | null;
5790
+ /**
5791
+ * @description Description of the component definition
5792
+ * @default null
5793
+ */
5794
+ description?: string | null;
5795
+ /**
5796
+ * @description Description of the component definition
5797
+ * @default null
5798
+ */
5799
+ previewImageUrl?: string | null;
4885
5800
  };
4886
5801
  };
4887
5802
  };
@@ -4951,6 +5866,15 @@ interface external$3 {
4951
5866
  * @description Modified date string for this definition
4952
5867
  */
4953
5868
  modified: string;
5869
+ /**
5870
+ * Format: uuid
5871
+ * @description Reference to the category this component definition belongs to
5872
+ */
5873
+ categoryId?: string;
5874
+ /** @description Description of the component definition */
5875
+ description?: string;
5876
+ /** @description Description of the component definition */
5877
+ previewImageUrl?: string;
4954
5878
  /** @description Whether this composition is a pattern (can be referenced by other compositions, not treated as a composition) */
4955
5879
  pattern: boolean;
4956
5880
  composition: external$3["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["RootComponentInstance"];
@@ -5020,6 +5944,8 @@ interface external$3 {
5020
5944
  * This is a list query parameter, and cannot be used with any primary query parameters.
5021
5945
  */
5022
5946
  limit: number;
5947
+ /** @description Filtration by category ID */
5948
+ categories: string[];
5023
5949
  /**
5024
5950
  * @deprecated
5025
5951
  * @description Signals an enhancer proxy to skip processing enhancements to the data and return raw data only.
@@ -5744,7 +6670,7 @@ interface external$2 {
5744
6670
  /** @description Friendly name of the component definition */
5745
6671
  name: string;
5746
6672
  /**
5747
- * @description Icon name or URL for the component definition (e.g. 'screen' or 'https://s3/my-component.jpg')
6673
+ * @description Icon name for the component definition (e.g. 'screen')
5748
6674
  * @default screen
5749
6675
  */
5750
6676
  icon?: string;
@@ -5762,6 +6688,22 @@ interface external$2 {
5762
6688
  canBeComposition?: boolean;
5763
6689
  /** @description The parameters for this component. Parameters are key-value pairs that can be anything from text values to links to CMS entries. */
5764
6690
  parameters?: external$2["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
6691
+ /**
6692
+ * Format: uuid
6693
+ * @description Reference to the category this component definition belongs to
6694
+ * @default null
6695
+ */
6696
+ categoryId?: string | null;
6697
+ /**
6698
+ * @description Description of the component definition
6699
+ * @default null
6700
+ */
6701
+ description?: string;
6702
+ /**
6703
+ * @description Description of the component definition
6704
+ * @default null
6705
+ */
6706
+ previewImageUrl?: string;
5765
6707
  /**
5766
6708
  * @description if this component uses team permissions or custom permissions
5767
6709
  * @default true
@@ -5804,6 +6746,7 @@ interface external$2 {
5804
6746
  value: unknown;
5805
6747
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
5806
6748
  type: string;
6749
+ /** @deprecated */
5807
6750
  connectedData?: external$2["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataElementConnectionDefinition"];
5808
6751
  };
5809
6752
  /**
@@ -6105,6 +7048,21 @@ interface external$2 {
6105
7048
  DataResourceVariables: {
6106
7049
  [key: string]: string;
6107
7050
  };
7051
+ /** @description Category for tagging canvas entities */
7052
+ Category: {
7053
+ /**
7054
+ * Format: uuid
7055
+ * @description Unique identifier for the category
7056
+ */
7057
+ id: string;
7058
+ /** @description Display name of the category */
7059
+ name: string;
7060
+ /**
7061
+ * @description Sets the order of the category when displayed in a list with other categories. If not set, the order defaults to alphabetical with any explicitly set orders first in the list.
7062
+ * @default 0
7063
+ */
7064
+ order?: number;
7065
+ };
6108
7066
  /** @description Project map node information related to a component. */
6109
7067
  CompositionProjectMapNodeInfo: {
6110
7068
  /**
@@ -6222,6 +7180,8 @@ interface external$2 {
6222
7180
  * This is a primary query parameter, and cannot be used with any other primary query parameters.
6223
7181
  */
6224
7182
  slug?: external$2["v1-canvas.swagger.yml"]["components"]["parameters"]["slug"];
7183
+ /** Filtration by category ID */
7184
+ categories?: external$2["v1-canvas.swagger.yml"]["components"]["parameters"]["categories"];
6225
7185
  /**
6226
7186
  * Publishing state to fetch. 0 = draft, 64 = published.
6227
7187
  * This is a list query parameter, and cannot be used with any primary query parameters.
@@ -6321,6 +7281,22 @@ interface external$2 {
6321
7281
  created?: string;
6322
7282
  /** @description Ignored if present */
6323
7283
  modified?: string;
7284
+ /**
7285
+ * Format: uuid
7286
+ * @description Reference to the category this component definition belongs to
7287
+ * @default null
7288
+ */
7289
+ categoryId?: string | null;
7290
+ /**
7291
+ * @description Description of the component definition
7292
+ * @default null
7293
+ */
7294
+ description?: string | null;
7295
+ /**
7296
+ * @description Description of the component definition
7297
+ * @default null
7298
+ */
7299
+ previewImageUrl?: string | null;
6324
7300
  };
6325
7301
  };
6326
7302
  };
@@ -6390,6 +7366,15 @@ interface external$2 {
6390
7366
  * @description Modified date string for this definition
6391
7367
  */
6392
7368
  modified: string;
7369
+ /**
7370
+ * Format: uuid
7371
+ * @description Reference to the category this component definition belongs to
7372
+ */
7373
+ categoryId?: string;
7374
+ /** @description Description of the component definition */
7375
+ description?: string;
7376
+ /** @description Description of the component definition */
7377
+ previewImageUrl?: string;
6393
7378
  /** @description Whether this composition is a pattern (can be referenced by other compositions, not treated as a composition) */
6394
7379
  pattern: boolean;
6395
7380
  composition: external$2["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["RootComponentInstance"];
@@ -6459,6 +7444,8 @@ interface external$2 {
6459
7444
  * This is a list query parameter, and cannot be used with any primary query parameters.
6460
7445
  */
6461
7446
  limit: number;
7447
+ /** @description Filtration by category ID */
7448
+ categories: string[];
6462
7449
  /**
6463
7450
  * @deprecated
6464
7451
  * @description Signals an enhancer proxy to skip processing enhancements to the data and return raw data only.
@@ -6829,6 +7816,7 @@ type CanvasDefinitions = {
6829
7816
  components?: Array<ComponentDefinition>;
6830
7817
  compositions?: Array<CompositionGetResponse>;
6831
7818
  dataTypes?: Array<DataType>;
7819
+ categories?: Array<Category>;
6832
7820
  };
6833
7821
  /** Defines shared parameters for requests getting a single composition */
6834
7822
  type CompositionGetOneSharedParameters = Pick<CompositionGetParameters, 'state' | 'skipEnhance' | 'skipPatternResolution' | 'withComponentIDs' | 'withUIStatus' | 'withTotalCount' | 'skipOverridesResolution' | 'withContentSourceMap' | 'versionId'>;
@@ -6924,6 +7912,9 @@ declare class CanvasClient extends ApiClient<CanvasClientOptions> {
6924
7912
  projectId: string;
6925
7913
  created: string;
6926
7914
  modified: string;
7915
+ categoryId?: string | undefined;
7916
+ description?: string | undefined;
7917
+ previewImageUrl?: string | undefined;
6927
7918
  pattern: boolean;
6928
7919
  composition: {
6929
7920
  type: string;
@@ -7092,6 +8083,9 @@ declare class CanvasClient extends ApiClient<CanvasClientOptions> {
7092
8083
  type: string;
7093
8084
  typeConfig?: unknown;
7094
8085
  }[] | undefined;
8086
+ categoryId?: string | null | undefined;
8087
+ description?: string | undefined;
8088
+ previewImageUrl?: string | undefined;
7095
8089
  useTeamPermissions?: boolean | undefined;
7096
8090
  permissions?: {
7097
8091
  roleId: string;
@@ -7192,6 +8186,25 @@ declare class UncachedCanvasClient extends CanvasClient {
7192
8186
  constructor(options: Omit<CanvasClientOptions, 'bypassCache'>);
7193
8187
  }
7194
8188
 
8189
+ declare class CategoryClient extends ApiClient {
8190
+ constructor(options: ClientOptions);
8191
+ /** Fetches all categories created in given project */
8192
+ getCategories(options?: Omit<CategoriesGetParameters, 'projectId'>): Promise<{
8193
+ categories: {
8194
+ id: string;
8195
+ name: string;
8196
+ order?: number | undefined;
8197
+ }[];
8198
+ }>;
8199
+ /** Updates or creates a category, also used to re-order them */
8200
+ upsertCategories(categories: CategoriesPutParameters['categories']): Promise<unknown>;
8201
+ /** Deletes a category */
8202
+ removeCategory(options: Omit<CategoriesDeleteParameters, 'projectId'>): Promise<unknown>;
8203
+ }
8204
+ declare class UncachedCategoryClient extends CategoryClient {
8205
+ constructor(options: Omit<ClientOptions, 'bypassCache'>);
8206
+ }
8207
+
7195
8208
  /**
7196
8209
  * This file was auto-generated by openapi-typescript.
7197
8210
  * Do not make direct changes to the file.
@@ -7571,7 +8584,7 @@ type ProjectMapLinkComponentParameterValue = ProjectMapLinkParamValue | undefine
7571
8584
  type LinkComponentParameterValue = LinkParamValue;
7572
8585
 
7573
8586
  type RichTextBuiltInFormat = 'code' | 'bold' | 'italic' | 'underline' | 'strikethrough' | 'superscript' | 'subscript';
7574
- type RichTextBuiltInElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'unorderedList' | 'orderedList' | 'link' | 'quote' | 'code';
8587
+ type RichTextBuiltInElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'unorderedList' | 'orderedList' | 'link' | 'quote' | 'code' | 'variable';
7575
8588
  type RichTextParamConfiguration = {
7576
8589
  required?: boolean;
7577
8590
  formatting?: {
@@ -7873,6 +8886,12 @@ type SelectParameterMessage = {
7873
8886
  type: 'select-parameter';
7874
8887
  parameterId: string;
7875
8888
  componentId: string;
8889
+ targetRect: {
8890
+ height: number;
8891
+ width: number;
8892
+ x: number;
8893
+ y: number;
8894
+ };
7876
8895
  };
7877
8896
  type ReadyMessage = {
7878
8897
  type: 'ready';
@@ -8027,50 +9046,6 @@ declare class RouteClient extends ApiClient<RouteClientOptions> {
8027
9046
  getRoute(options?: Omit<RouteGetParameters, 'projectId'>): Promise<ResolvedRouteGetResponse>;
8028
9047
  }
8029
9048
 
8030
- type BindVariablesResult<TValue> = {
8031
- boundCount: number;
8032
- result: TValue;
8033
- errors?: string[];
8034
- };
8035
- type BindVariablesToObjectOptions<T> = {
8036
- /** The object to bind variables to. Only strings or objects are bound. */
8037
- value: T;
8038
- } & Omit<BindVariablesOptions, 'value'>;
8039
- /**
8040
- * Binds composition variables to an object whose string keys may have variable expressions in them.
8041
- * Binding is recursive.
8042
- */
8043
- declare function bindVariablesToObject<T>(options: BindVariablesToObjectOptions<T>): BindVariablesResult<T>;
8044
-
8045
- type BindVariablesOptions = {
8046
- /** Current variable values table */
8047
- variables: DataResourceVariables;
8048
- /** String value to bind variables to */
8049
- value: string;
8050
- /**
8051
- * Text prefix for any variable binding errors that might be returned
8052
- * @default "Variable"
8053
- */
8054
- errorPrefix?: string;
8055
- /**
8056
- * Optionally provide overridden binding behaviour with a function.
8057
- * Default behaviour:
8058
- * - If variable is not defined, its expression is replaced by empty string and an error is returned
8059
- * - If variable is defined, its expression is replaced by its value
8060
- * @param variableName The variable name referred to in the `value` string. This is the name inside the ${} expression.
8061
- * @param variables The current variables table.
8062
- * @param errors Errors array. Push to it to add errors to the result.
8063
- * @returns New value for the variable reference expression, will replace the whole ${} in the result.
8064
- */
8065
- handleBinding?: (variableName: string, variables: DataResourceVariables, errors: string[]) => string;
8066
- };
8067
- /**
8068
- * Binds variables to a string that could have variable values in it.
8069
- * Variables are referenced in the string as ${variableName}.
8070
- * Literal variable values are escaped with a backslash, e.g. \${literal}
8071
- */
8072
- declare function bindVariables({ variables, value, errorPrefix, handleBinding, }: BindVariablesOptions): BindVariablesResult<string>;
8073
-
8074
9049
  /** Public ID of Canvas personalization component type */
8075
9050
  declare const CANVAS_PERSONALIZE_TYPE = "$personalization";
8076
9051
  /** Public ID of Canvas A/B test component type */
@@ -8263,6 +9238,35 @@ declare const createUniformApiEnhancer: ({ apiUrl }: {
8263
9238
  } | undefined;
8264
9239
  }>;
8265
9240
 
9241
+ declare const ATTRIBUTE_COMPONENT_ID = "data-uniform-component-id";
9242
+ declare const ATTRIBUTE_PARAMETER_ID = "data-uniform-parameter-id";
9243
+ declare const ATTRIBUTE_PARAMETER_VALUE = "data-uniform-parameter-value";
9244
+ declare const ATTRIBUTE_PARAMETER_TYPE = "data-uniform-parameter-type";
9245
+ declare const ATTRIBUTE_PLACEHOLDER = "data-uniform-placeholder";
9246
+ declare const ATTRIBUTE_MULTILINE = "data-uniform-is-multiline";
9247
+ type GetParameterAttributesProps = {
9248
+ /** The public Id of the parameter */
9249
+ id: string;
9250
+ /** The component object where this parameter is used */
9251
+ component: ComponentInstance;
9252
+ /**
9253
+ * Sets the value to show in Canvas editor when the parameter value is empty.
9254
+ * @default undefined
9255
+ */
9256
+ placeholder?: string;
9257
+ /**
9258
+ * When set to true, it adds `whiteSpace: 'pre-wrap'` to the styles of the root element to allow the rendering of line breaks.
9259
+ * @default false
9260
+ */
9261
+ isMultiline?: boolean;
9262
+ };
9263
+ /**
9264
+ * Returns the attributes needed to annotate a Uniform parameter for inline editing.
9265
+ * Supports only text parameters at the moment.
9266
+ * @deprecated Unstable, and not ready for production usage.
9267
+ **/
9268
+ declare const getParameterAttributes: ({ id, component, placeholder, isMultiline, }: GetParameterAttributesProps) => Record<string, string | boolean | undefined>;
9269
+
8266
9270
  declare const generateHash: ({ composition, secret, }: {
8267
9271
  composition: RootComponentInstance;
8268
9272
  secret: string | undefined;
@@ -8283,6 +9287,63 @@ declare function mapSlotToPersonalizedVariations(slot: ComponentInstance[] | und
8283
9287
  */
8284
9288
  declare function mapSlotToTestVariations(slot: ComponentInstance[] | undefined): Array<ComponentInstance & TestVariant>;
8285
9289
 
9290
+ type BindVariablesResult<TValue> = {
9291
+ /** Number of dynamic expressions that attempted to be bound (regardless of the success of the binding) */
9292
+ boundCount: number;
9293
+ /** Result object after the binding */
9294
+ result: TValue;
9295
+ /** Any errors that occurred resolving bound values */
9296
+ errors?: Array<string | Error>;
9297
+ };
9298
+ type BindVariablesToObjectOptions<T> = {
9299
+ /** The object to bind variables to. Only strings or objects are bound. */
9300
+ value: T;
9301
+ } & Omit<BindVariablesOptions, 'value'>;
9302
+ /**
9303
+ * Binds composition variables to an object whose string keys may have variable expressions in them.
9304
+ * Binding is recursive.
9305
+ */
9306
+ declare function bindVariablesToObject<T>(options: BindVariablesToObjectOptions<T>): BindVariablesResult<T>;
9307
+
9308
+ type BindVariablesOptions = {
9309
+ /** Current variable values table */
9310
+ variables: Record<string, unknown>;
9311
+ /** String value to bind variables to */
9312
+ value: string;
9313
+ /**
9314
+ * Text prefix for any variable binding errors that might be returned
9315
+ * @default "Variable"
9316
+ */
9317
+ errorPrefix?: string;
9318
+ /**
9319
+ * Optionally provide overridden binding behaviour with a function.
9320
+ * Default behaviour:
9321
+ * - If variable is not defined, its expression is replaced by empty string and an error is returned
9322
+ * - If variable is defined, its expression is replaced by its value
9323
+ * @param variableName The variable name referred to in the `value` string. This is the name inside the ${} expression.
9324
+ * @param variables The current variables table.
9325
+ * @param errors Errors array. Push to it to add errors to the result.
9326
+ * @returns New value for the variable reference expression, will replace the whole ${} in the result. If non-string value is returned, then:
9327
+ * - If the original string value contains ONLY the variable reference (i.e. "${foo}") then the value will be used literally, e.g. the property becomes an array, etc
9328
+ * - If the original value contains other text, then the value will be string-interpolated as a fallback (i.e. [object Object], 'array,elements', etc)
9329
+ */
9330
+ handleBinding?: (variableName: string, variables: Record<string, unknown>, errors: Array<string | Error>) => unknown;
9331
+ };
9332
+ /**
9333
+ * Binds variables to a string that could have variable values in it.
9334
+ * Variables are referenced in the string as ${variableName}.
9335
+ * Literal variable values are escaped with a backslash, e.g. \${literal}
9336
+ */
9337
+ declare function bindVariables({ variables, value, errorPrefix, handleBinding, }: BindVariablesOptions): BindVariablesResult<unknown>;
9338
+
9339
+ declare function createVariableReference(variableName: string): string;
9340
+
9341
+ /**
9342
+ * Parses an expression that may contain Uniform variables and invokes a callback for each text or variable token found
9343
+ * @returns the number of tokens found in the string (variable or text)
9344
+ */
9345
+ declare function parseVariableExpression(serialized: string, onToken?: (token: string, type: 'text' | 'variable') => void | false): number;
9346
+
8286
9347
  declare const CanvasClientError: typeof ApiClientError;
8287
9348
 
8288
- export { AddComponentMessage, BatchEnhancer, BatchEntry, BatchInvalidationPayload, BindVariablesOptions, BindVariablesResult, BindVariablesToObjectOptions, CANVAS_DRAFT_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CanvasClient, CanvasClientError, CanvasDefinitions, Channel, ChannelMessage, ChannelSubscription, ChildEnhancerBuilder, ComponentDefinition, ComponentDefinitionDeleteParameters, ComponentDefinitionGetParameters, ComponentDefinitionGetResponse, ComponentDefinitionParameter, ComponentDefinitionPermission, ComponentDefinitionPutParameters, ComponentDefinitionSlot, ComponentDefinitionSlugSettings, ComponentDefinitionVariant, ComponentEnhancer, ComponentEnhancerFunction, ComponentEnhancerOptions, ComponentInstance, ComponentInstanceHistoryEntry, ComponentInstanceHistoryGetParameters, ComponentInstanceHistoryGetResponse, ComponentLocationReference, ComponentOverridability, ComponentOverride, ComponentOverrides, ComponentParameter, ComponentParameterContextualEditing, ComponentParameterEnhancer, ComponentParameterEnhancerFunction, ComponentParameterEnhancerOptions, CompositionDataDiagnostic, CompositionDeleteParameters, CompositionDiagnostics, CompositionGetByIdParameters, CompositionGetByNodeIdParameters, CompositionGetByNodePathParameters, CompositionGetBySlugParameters, CompositionGetListResponse, CompositionGetOrderBy, CompositionGetParameters, CompositionGetResponse, CompositionGetValidResponses, CompositionIssue, CompositionPatternIssue, CompositionPutParameters, CompositionRelationshipsClientOptions, CompositionRelationshipsDDefinitionGetResponse, CompositionRelationshipsDefinitionApi, CompositionRelationshipsDefinitionGetParameters, CompositionResolvedGetResponse, CompositionUIStatus, ContextualEditingComponentReference, DataElementBindingIssue, DataElementConnectionDefinition, DataResolutionConfigIssue, DataResolutionOption, DataResolutionOptionNegative, DataResolutionOptionPositive, DataResolutionParameters, DataResourceDefinition, DataResourceDefinitions, DataResourceIssue, DataResourceVariables, DataSource, DataSourceClient, DataSourceDeleteParameters, DataSourceGetParameters, DataSourceGetResponse, DataSourcePutParameters, DataSourcesGetParameters, DataSourcesGetResponse, DataType, DataTypeClient, DataTypeDeleteParameters, DataTypeGetParameters, DataTypeGetResponse, DataTypePutParameters, DataVariableDefinition, DismissPlaceholderMessage, DynamicInputIssue, EDGE_CACHE_DISABLED, EDGE_DEFAULT_CACHE_TTL, EDGE_DEFAULT_L2_CACHE_TTL_IN_HOURS, EDGE_MAX_CACHE_TTL, EDGE_MAX_L2_CACHE_TTL_IN_HOURS, EDGE_MIN_CACHE_TTL, EDGE_MIN_L2_CACHE_TTL_IN_HOURS, EMPTY_COMPOSITION, EnhancerBuilder, EnhancerContext, EnhancerError, EventNames, IN_CONTEXT_EDITOR_COMPONENT_END_ROLE, IN_CONTEXT_EDITOR_COMPONENT_START_ROLE, IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID, IN_CONTEXT_EDITOR_QUERY_STRING_PARAM, IS_RENDERED_BY_UNIFORM_ATTRIBUTE, InvalidationPayload, InvalidationResult, LimitPolicy, LinkComponentParameterValue, LinkParamConfiguration, LinkParamValue, LinkParameterType, LinkTypeConfiguration, MessageHandler, MoveComponentMessage, NonProjectMapLinkParamValue, OverrideOptions, PLACEHOLDER_ID, PreviewEventBus, PreviewPanelSettings, ProjectMapLinkComponentParameterValue, ProjectMapLinkParamValue, ReadyMessage, ReportRenderedCompositionsMessage, ResolvedRouteGetResponse, RichTextBuiltInElement, RichTextBuiltInFormat, RichTextParamConfiguration, RichTextParamValue, RootComponentInstance, RouteClient, RouteDynamicInputs, RouteGetParameters, RouteGetResponse, RouteGetResponseComposition, RouteGetResponseEdgehancedComposition, RouteGetResponseNotFound, RouteGetResponseRedirect, SelectComponentMessage, SelectParameterMessage, SpecificProjectMap, SubscribeToCompositionOptions, TriggerCompositionActionMessage, UncachedCanvasClient, UniqueBatchEntries, UnsubscribeCallback, UpdateComponentParameterMessage, UpdateCompositionInternalMessage, UpdateCompositionMessage, UpdateContextualEditingStateInternalMessage, UpdatePreviewSettingsMessage, UsageTrackingApi, UsageTrackingGetParameters, UsageTrackingGetResponse, UsageTrackingPostParameters, UsageTrackingPostResponse, WalkComponentTreeActions, bindVariables, bindVariablesToObject, compose, createBatchEnhancer, createCanvasChannel, createEventBus, createLimitPolicy, createUniformApiEnhancer, enhance, extractLocales, generateHash, getChannelName, getComponentJsonPointer, getComponentPath, isAddComponentMessage, isDismissPlaceholderMessage, isMovingComponentMessage, isReadyMessage, isReportRenderedCompositionsMessage, isSelectComponentMessage, isSelectParameterMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateComponentParameterMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, nullLimitPolicy, subscribeToComposition, unstable_CompositionRelationshipClient, walkComponentTree };
9349
+ export { ATTRIBUTE_COMPONENT_ID, ATTRIBUTE_MULTILINE, ATTRIBUTE_PARAMETER_ID, ATTRIBUTE_PARAMETER_TYPE, ATTRIBUTE_PARAMETER_VALUE, ATTRIBUTE_PLACEHOLDER, AddComponentMessage, BatchEnhancer, BatchEntry, BatchInvalidationPayload, BindVariablesOptions, BindVariablesResult, BindVariablesToObjectOptions, CANVAS_DRAFT_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CanvasClient, CanvasClientError, CanvasDefinitions, CategoriesDeleteParameters, CategoriesGetParameters, CategoriesGetResponse, CategoriesPutParameters, Category, CategoryClient, Channel, ChannelMessage, ChannelSubscription, ChildEnhancerBuilder, ComponentDefinition, ComponentDefinitionDeleteParameters, ComponentDefinitionGetParameters, ComponentDefinitionGetResponse, ComponentDefinitionParameter, ComponentDefinitionPermission, ComponentDefinitionPutParameters, ComponentDefinitionSlot, ComponentDefinitionSlugSettings, ComponentDefinitionVariant, ComponentEnhancer, ComponentEnhancerFunction, ComponentEnhancerOptions, ComponentInstance, ComponentInstanceHistoryEntry, ComponentInstanceHistoryGetParameters, ComponentInstanceHistoryGetResponse, ComponentLocationReference, ComponentOverridability, ComponentOverride, ComponentOverrides, ComponentParameter, ComponentParameterContextualEditing, ComponentParameterEnhancer, ComponentParameterEnhancerFunction, ComponentParameterEnhancerOptions, CompositionDataDiagnostic, CompositionDeleteParameters, CompositionDiagnostics, CompositionGetByIdParameters, CompositionGetByNodeIdParameters, CompositionGetByNodePathParameters, CompositionGetBySlugParameters, CompositionGetListResponse, CompositionGetOrderBy, CompositionGetParameters, CompositionGetResponse, CompositionGetValidResponses, CompositionIssue, CompositionPatternIssue, CompositionPutParameters, CompositionRelationshipsClientOptions, CompositionRelationshipsDDefinitionGetResponse, CompositionRelationshipsDefinitionApi, CompositionRelationshipsDefinitionGetParameters, CompositionResolvedGetResponse, CompositionUIStatus, ContextualEditingComponentReference, DataElementBindingIssue, DataElementConnectionDefinition, DataResolutionConfigIssue, DataResolutionOption, DataResolutionOptionNegative, DataResolutionOptionPositive, DataResolutionParameters, DataResourceDefinition, DataResourceDefinitions, DataResourceIssue, DataResourceVariables, DataSource, DataSourceClient, DataSourceDeleteParameters, DataSourceGetParameters, DataSourceGetResponse, DataSourcePutParameters, DataSourcesGetParameters, DataSourcesGetResponse, DataType, DataTypeClient, DataTypeDeleteParameters, DataTypeGetParameters, DataTypeGetResponse, DataTypePutParameters, DataVariableDefinition, DismissPlaceholderMessage, DynamicInputIssue, EDGE_CACHE_DISABLED, EDGE_DEFAULT_CACHE_TTL, EDGE_DEFAULT_L2_CACHE_TTL_IN_HOURS, EDGE_MAX_CACHE_TTL, EDGE_MAX_L2_CACHE_TTL_IN_HOURS, EDGE_MIN_CACHE_TTL, EDGE_MIN_L2_CACHE_TTL_IN_HOURS, EMPTY_COMPOSITION, EnhancerBuilder, EnhancerContext, EnhancerError, EventNames, GetParameterAttributesProps, IN_CONTEXT_EDITOR_COMPONENT_END_ROLE, IN_CONTEXT_EDITOR_COMPONENT_START_ROLE, IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID, IN_CONTEXT_EDITOR_QUERY_STRING_PARAM, IS_RENDERED_BY_UNIFORM_ATTRIBUTE, InvalidationPayload, InvalidationResult, LimitPolicy, LinkComponentParameterValue, LinkParamConfiguration, LinkParamValue, LinkParameterType, LinkTypeConfiguration, MessageHandler, MoveComponentMessage, NonProjectMapLinkParamValue, OverrideOptions, PLACEHOLDER_ID, PreviewEventBus, PreviewPanelSettings, ProjectMapLinkComponentParameterValue, ProjectMapLinkParamValue, ReadyMessage, ReportRenderedCompositionsMessage, ResolvedRouteGetResponse, RichTextBuiltInElement, RichTextBuiltInFormat, RichTextParamConfiguration, RichTextParamValue, RootComponentInstance, RouteClient, RouteDynamicInputs, RouteGetParameters, RouteGetResponse, RouteGetResponseComposition, RouteGetResponseEdgehancedComposition, RouteGetResponseNotFound, RouteGetResponseRedirect, SelectComponentMessage, SelectParameterMessage, SpecificProjectMap, SubscribeToCompositionOptions, TriggerCompositionActionMessage, UncachedCanvasClient, UncachedCategoryClient, UniqueBatchEntries, UnsubscribeCallback, UpdateComponentParameterMessage, UpdateCompositionInternalMessage, UpdateCompositionMessage, UpdateContextualEditingStateInternalMessage, UpdatePreviewSettingsMessage, UsageTrackingApi, UsageTrackingGetParameters, UsageTrackingGetResponse, UsageTrackingPostParameters, UsageTrackingPostResponse, WalkComponentTreeActions, bindVariables, bindVariablesToObject, compose, createBatchEnhancer, createCanvasChannel, createEventBus, createLimitPolicy, createUniformApiEnhancer, createVariableReference, enhance, extractLocales, generateHash, getChannelName, getComponentJsonPointer, getComponentPath, getParameterAttributes, isAddComponentMessage, isDismissPlaceholderMessage, isMovingComponentMessage, isReadyMessage, isReportRenderedCompositionsMessage, isSelectComponentMessage, isSelectParameterMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateComponentParameterMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, nullLimitPolicy, parseVariableExpression, subscribeToComposition, unstable_CompositionRelationshipClient, walkComponentTree };