@uniformdev/assets 19.173.1-alpha.17 → 19.173.2-alpha.210

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.mts CHANGED
@@ -863,6 +863,27 @@ interface external {
863
863
  * @enum {string}
864
864
  */
865
865
  OverrideOptions: "yes" | "no";
866
+ /** @description Additional set of headers, parameters, variables, etc to be used for data resolving in the context like e.g. Unpublished Data. */
867
+ AlternativeDataSourceData: {
868
+ /** @description Base resource URL of the data source. No trailing slash */
869
+ baseUrl: string;
870
+ /** @description HTTP headers to pass with requests to the data source */
871
+ headers?: {
872
+ key: string;
873
+ value: string;
874
+ omitIfEmpty?: boolean;
875
+ }[];
876
+ /** @description Query String parameters to pass with requests to the data type. Merged with parameters from the data source, overriding identical keys */
877
+ parameters?: {
878
+ key: string;
879
+ value: string;
880
+ omitIfEmpty?: boolean;
881
+ }[];
882
+ /** @description Variables needed to make calls to the data source */
883
+ variables?: {
884
+ [key: string]: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataVariableDefinition"];
885
+ };
886
+ };
866
887
  /**
867
888
  * @description An instance of a data source (i.e. "Master environment of the stable space", "Yelp API", "Sanity dev dataset").
868
889
  * These are created in the UI and shared across a whole project.
@@ -899,6 +920,11 @@ interface external {
899
920
  localeMapping?: {
900
921
  [key: string]: string;
901
922
  };
923
+ /**
924
+ * @description If true, data source will require additional credentials to access unpublished data.
925
+ * If false, no additional data source credentials are required and data resources of this data source won't be able to access unpublished data.
926
+ */
927
+ enableUnpublishedMode?: boolean;
902
928
  /** @description Custom configuration accessible to all data connector UIs (data source, data type, and data resource editors) and custom edgehancers. This data should not contain secrets */
903
929
  customPublic?: {
904
930
  [key: string]: unknown;
@@ -907,6 +933,10 @@ interface external {
907
933
  custom?: {
908
934
  [key: string]: unknown;
909
935
  };
936
+ /** @description Different connector detail variants to use in the different contexts like e.g. Unpublished Data */
937
+ variants?: {
938
+ unpublished?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["AlternativeDataSourceData"];
939
+ };
910
940
  };
911
941
  /** @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 */
912
942
  DataType: {
@@ -1005,6 +1035,12 @@ interface external {
1005
1035
  * If isPatternParameter is false or undefined, or if ignorePatternParameterDefault is false, this has no meaning
1006
1036
  */
1007
1037
  optionalPatternParameter?: boolean;
1038
+ /**
1039
+ * @description Resolve this data resource with draft mode content. TBD
1040
+ *
1041
+ * @enum {string}
1042
+ */
1043
+ dataSourceVariant?: "unpublished";
1008
1044
  variables?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceVariables"];
1009
1045
  };
1010
1046
  /** @description Variable values for a data resource */
@@ -1494,6 +1530,11 @@ interface external {
1494
1530
  typeName?: string;
1495
1531
  /** @description List of locales that the composition is available in. If empty, available in all locales */
1496
1532
  locales: string[];
1533
+ /**
1534
+ * Format: date-time
1535
+ * @description Date and time the composition was last modified (or created if never modified). Uses ISO-8859-1 formatting and UTC timezone.
1536
+ */
1537
+ modified?: string;
1497
1538
  };
1498
1539
  ProjectMapNodeUpdate: {
1499
1540
  /**
package/dist/index.d.ts CHANGED
@@ -863,6 +863,27 @@ interface external {
863
863
  * @enum {string}
864
864
  */
865
865
  OverrideOptions: "yes" | "no";
866
+ /** @description Additional set of headers, parameters, variables, etc to be used for data resolving in the context like e.g. Unpublished Data. */
867
+ AlternativeDataSourceData: {
868
+ /** @description Base resource URL of the data source. No trailing slash */
869
+ baseUrl: string;
870
+ /** @description HTTP headers to pass with requests to the data source */
871
+ headers?: {
872
+ key: string;
873
+ value: string;
874
+ omitIfEmpty?: boolean;
875
+ }[];
876
+ /** @description Query String parameters to pass with requests to the data type. Merged with parameters from the data source, overriding identical keys */
877
+ parameters?: {
878
+ key: string;
879
+ value: string;
880
+ omitIfEmpty?: boolean;
881
+ }[];
882
+ /** @description Variables needed to make calls to the data source */
883
+ variables?: {
884
+ [key: string]: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataVariableDefinition"];
885
+ };
886
+ };
866
887
  /**
867
888
  * @description An instance of a data source (i.e. "Master environment of the stable space", "Yelp API", "Sanity dev dataset").
868
889
  * These are created in the UI and shared across a whole project.
@@ -899,6 +920,11 @@ interface external {
899
920
  localeMapping?: {
900
921
  [key: string]: string;
901
922
  };
923
+ /**
924
+ * @description If true, data source will require additional credentials to access unpublished data.
925
+ * If false, no additional data source credentials are required and data resources of this data source won't be able to access unpublished data.
926
+ */
927
+ enableUnpublishedMode?: boolean;
902
928
  /** @description Custom configuration accessible to all data connector UIs (data source, data type, and data resource editors) and custom edgehancers. This data should not contain secrets */
903
929
  customPublic?: {
904
930
  [key: string]: unknown;
@@ -907,6 +933,10 @@ interface external {
907
933
  custom?: {
908
934
  [key: string]: unknown;
909
935
  };
936
+ /** @description Different connector detail variants to use in the different contexts like e.g. Unpublished Data */
937
+ variants?: {
938
+ unpublished?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["AlternativeDataSourceData"];
939
+ };
910
940
  };
911
941
  /** @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 */
912
942
  DataType: {
@@ -1005,6 +1035,12 @@ interface external {
1005
1035
  * If isPatternParameter is false or undefined, or if ignorePatternParameterDefault is false, this has no meaning
1006
1036
  */
1007
1037
  optionalPatternParameter?: boolean;
1038
+ /**
1039
+ * @description Resolve this data resource with draft mode content. TBD
1040
+ *
1041
+ * @enum {string}
1042
+ */
1043
+ dataSourceVariant?: "unpublished";
1008
1044
  variables?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceVariables"];
1009
1045
  };
1010
1046
  /** @description Variable values for a data resource */
@@ -1494,6 +1530,11 @@ interface external {
1494
1530
  typeName?: string;
1495
1531
  /** @description List of locales that the composition is available in. If empty, available in all locales */
1496
1532
  locales: string[];
1533
+ /**
1534
+ * Format: date-time
1535
+ * @description Date and time the composition was last modified (or created if never modified). Uses ISO-8859-1 formatting and UTC timezone.
1536
+ */
1537
+ modified?: string;
1497
1538
  };
1498
1539
  ProjectMapNodeUpdate: {
1499
1540
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/assets",
3
- "version": "19.173.1-alpha.17+25c1176cea",
3
+ "version": "19.173.2-alpha.210+4f0f6ff104",
4
4
  "description": "Uniform Assets",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -36,7 +36,7 @@
36
36
  "access": "public"
37
37
  },
38
38
  "dependencies": {
39
- "@uniformdev/context": "19.173.1-alpha.17+25c1176cea"
39
+ "@uniformdev/context": "19.173.2-alpha.210+4f0f6ff104"
40
40
  },
41
- "gitHead": "25c1176cea8d5114b92fc75cdd8bba4aa6463a50"
41
+ "gitHead": "4f0f6ff104f46349c338fde461f063f22f04ce0e"
42
42
  }