@uniformdev/assets 19.185.1-alpha.8 → 19.186.2-alpha.14

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
@@ -510,6 +510,27 @@ interface components$1 {
510
510
  * @enum {string}
511
511
  */
512
512
  OverrideOptions: "yes" | "no";
513
+ /** @description Additional set of headers, parameters, variables, etc to be used for data resolving in the context like e.g. Unpublished Data. */
514
+ AlternativeDataSourceData: {
515
+ /** @description Base resource URL of the data source. No trailing slash */
516
+ baseUrl: string;
517
+ /** @description HTTP headers to pass with requests to the data source */
518
+ headers?: {
519
+ key: string;
520
+ value: string;
521
+ omitIfEmpty?: boolean;
522
+ }[];
523
+ /** @description Query String parameters to pass with requests to the data type. Merged with parameters from the data source, overriding identical keys */
524
+ parameters?: {
525
+ key: string;
526
+ value: string;
527
+ omitIfEmpty?: boolean;
528
+ }[];
529
+ /** @description Variables needed to make calls to the data source */
530
+ variables?: {
531
+ [key: string]: components$1["schemas"]["DataVariableDefinition"];
532
+ };
533
+ };
513
534
  /**
514
535
  * @description An instance of a data source (i.e. "Master environment of the stable space", "Yelp API", "Sanity dev dataset").
515
536
  * These are created in the UI and shared across a whole project.
@@ -546,6 +567,11 @@ interface components$1 {
546
567
  localeMapping?: {
547
568
  [key: string]: string;
548
569
  };
570
+ /**
571
+ * @description If true, data source will require additional credentials to access unpublished data.
572
+ * If false, no additional data source credentials are required and data resources of this data source won't be able to access unpublished data.
573
+ */
574
+ enableUnpublishedMode?: boolean;
549
575
  /** @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 */
550
576
  customPublic?: {
551
577
  [key: string]: unknown;
@@ -554,6 +580,10 @@ interface components$1 {
554
580
  custom?: {
555
581
  [key: string]: unknown;
556
582
  };
583
+ /** @description Different connector detail variants to use in the different contexts like e.g. Unpublished Data */
584
+ variants?: {
585
+ unpublished?: components$1["schemas"]["AlternativeDataSourceData"];
586
+ };
557
587
  };
558
588
  /** @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 */
559
589
  DataType: {
@@ -652,6 +682,12 @@ interface components$1 {
652
682
  * If isPatternParameter is false or undefined, or if ignorePatternParameterDefault is false, this has no meaning
653
683
  */
654
684
  optionalPatternParameter?: boolean;
685
+ /**
686
+ * @description Resolve this data resource with draft mode content. TBD
687
+ *
688
+ * @enum {string}
689
+ */
690
+ dataSourceVariant?: "unpublished";
655
691
  variables?: components$1["schemas"]["DataResourceVariables"];
656
692
  };
657
693
  /** @description Variable values for a data resource */
@@ -1182,6 +1218,11 @@ interface external$1 {
1182
1218
  typeName?: string;
1183
1219
  /** @description List of locales that the composition is available in. If empty, available in all locales */
1184
1220
  locales: string[];
1221
+ /**
1222
+ * Format: date-time
1223
+ * @description Date and time the composition was last modified (or created if never modified). Uses ISO-8859-1 formatting and UTC timezone.
1224
+ */
1225
+ modified?: string;
1185
1226
  };
1186
1227
  ProjectMapNodeUpdate: {
1187
1228
  /**
@@ -2121,6 +2162,27 @@ interface external {
2121
2162
  * @enum {string}
2122
2163
  */
2123
2164
  OverrideOptions: "yes" | "no";
2165
+ /** @description Additional set of headers, parameters, variables, etc to be used for data resolving in the context like e.g. Unpublished Data. */
2166
+ AlternativeDataSourceData: {
2167
+ /** @description Base resource URL of the data source. No trailing slash */
2168
+ baseUrl: string;
2169
+ /** @description HTTP headers to pass with requests to the data source */
2170
+ headers?: {
2171
+ key: string;
2172
+ value: string;
2173
+ omitIfEmpty?: boolean;
2174
+ }[];
2175
+ /** @description Query String parameters to pass with requests to the data type. Merged with parameters from the data source, overriding identical keys */
2176
+ parameters?: {
2177
+ key: string;
2178
+ value: string;
2179
+ omitIfEmpty?: boolean;
2180
+ }[];
2181
+ /** @description Variables needed to make calls to the data source */
2182
+ variables?: {
2183
+ [key: string]: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataVariableDefinition"];
2184
+ };
2185
+ };
2124
2186
  /**
2125
2187
  * @description An instance of a data source (i.e. "Master environment of the stable space", "Yelp API", "Sanity dev dataset").
2126
2188
  * These are created in the UI and shared across a whole project.
@@ -2157,6 +2219,11 @@ interface external {
2157
2219
  localeMapping?: {
2158
2220
  [key: string]: string;
2159
2221
  };
2222
+ /**
2223
+ * @description If true, data source will require additional credentials to access unpublished data.
2224
+ * If false, no additional data source credentials are required and data resources of this data source won't be able to access unpublished data.
2225
+ */
2226
+ enableUnpublishedMode?: boolean;
2160
2227
  /** @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 */
2161
2228
  customPublic?: {
2162
2229
  [key: string]: unknown;
@@ -2165,6 +2232,10 @@ interface external {
2165
2232
  custom?: {
2166
2233
  [key: string]: unknown;
2167
2234
  };
2235
+ /** @description Different connector detail variants to use in the different contexts like e.g. Unpublished Data */
2236
+ variants?: {
2237
+ unpublished?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["AlternativeDataSourceData"];
2238
+ };
2168
2239
  };
2169
2240
  /** @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 */
2170
2241
  DataType: {
@@ -2263,6 +2334,12 @@ interface external {
2263
2334
  * If isPatternParameter is false or undefined, or if ignorePatternParameterDefault is false, this has no meaning
2264
2335
  */
2265
2336
  optionalPatternParameter?: boolean;
2337
+ /**
2338
+ * @description Resolve this data resource with draft mode content. TBD
2339
+ *
2340
+ * @enum {string}
2341
+ */
2342
+ dataSourceVariant?: "unpublished";
2266
2343
  variables?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceVariables"];
2267
2344
  };
2268
2345
  /** @description Variable values for a data resource */
@@ -2752,6 +2829,11 @@ interface external {
2752
2829
  typeName?: string;
2753
2830
  /** @description List of locales that the composition is available in. If empty, available in all locales */
2754
2831
  locales: string[];
2832
+ /**
2833
+ * Format: date-time
2834
+ * @description Date and time the composition was last modified (or created if never modified). Uses ISO-8859-1 formatting and UTC timezone.
2835
+ */
2836
+ modified?: string;
2755
2837
  };
2756
2838
  ProjectMapNodeUpdate: {
2757
2839
  /**
package/dist/index.d.ts CHANGED
@@ -510,6 +510,27 @@ interface components$1 {
510
510
  * @enum {string}
511
511
  */
512
512
  OverrideOptions: "yes" | "no";
513
+ /** @description Additional set of headers, parameters, variables, etc to be used for data resolving in the context like e.g. Unpublished Data. */
514
+ AlternativeDataSourceData: {
515
+ /** @description Base resource URL of the data source. No trailing slash */
516
+ baseUrl: string;
517
+ /** @description HTTP headers to pass with requests to the data source */
518
+ headers?: {
519
+ key: string;
520
+ value: string;
521
+ omitIfEmpty?: boolean;
522
+ }[];
523
+ /** @description Query String parameters to pass with requests to the data type. Merged with parameters from the data source, overriding identical keys */
524
+ parameters?: {
525
+ key: string;
526
+ value: string;
527
+ omitIfEmpty?: boolean;
528
+ }[];
529
+ /** @description Variables needed to make calls to the data source */
530
+ variables?: {
531
+ [key: string]: components$1["schemas"]["DataVariableDefinition"];
532
+ };
533
+ };
513
534
  /**
514
535
  * @description An instance of a data source (i.e. "Master environment of the stable space", "Yelp API", "Sanity dev dataset").
515
536
  * These are created in the UI and shared across a whole project.
@@ -546,6 +567,11 @@ interface components$1 {
546
567
  localeMapping?: {
547
568
  [key: string]: string;
548
569
  };
570
+ /**
571
+ * @description If true, data source will require additional credentials to access unpublished data.
572
+ * If false, no additional data source credentials are required and data resources of this data source won't be able to access unpublished data.
573
+ */
574
+ enableUnpublishedMode?: boolean;
549
575
  /** @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 */
550
576
  customPublic?: {
551
577
  [key: string]: unknown;
@@ -554,6 +580,10 @@ interface components$1 {
554
580
  custom?: {
555
581
  [key: string]: unknown;
556
582
  };
583
+ /** @description Different connector detail variants to use in the different contexts like e.g. Unpublished Data */
584
+ variants?: {
585
+ unpublished?: components$1["schemas"]["AlternativeDataSourceData"];
586
+ };
557
587
  };
558
588
  /** @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 */
559
589
  DataType: {
@@ -652,6 +682,12 @@ interface components$1 {
652
682
  * If isPatternParameter is false or undefined, or if ignorePatternParameterDefault is false, this has no meaning
653
683
  */
654
684
  optionalPatternParameter?: boolean;
685
+ /**
686
+ * @description Resolve this data resource with draft mode content. TBD
687
+ *
688
+ * @enum {string}
689
+ */
690
+ dataSourceVariant?: "unpublished";
655
691
  variables?: components$1["schemas"]["DataResourceVariables"];
656
692
  };
657
693
  /** @description Variable values for a data resource */
@@ -1182,6 +1218,11 @@ interface external$1 {
1182
1218
  typeName?: string;
1183
1219
  /** @description List of locales that the composition is available in. If empty, available in all locales */
1184
1220
  locales: string[];
1221
+ /**
1222
+ * Format: date-time
1223
+ * @description Date and time the composition was last modified (or created if never modified). Uses ISO-8859-1 formatting and UTC timezone.
1224
+ */
1225
+ modified?: string;
1185
1226
  };
1186
1227
  ProjectMapNodeUpdate: {
1187
1228
  /**
@@ -2121,6 +2162,27 @@ interface external {
2121
2162
  * @enum {string}
2122
2163
  */
2123
2164
  OverrideOptions: "yes" | "no";
2165
+ /** @description Additional set of headers, parameters, variables, etc to be used for data resolving in the context like e.g. Unpublished Data. */
2166
+ AlternativeDataSourceData: {
2167
+ /** @description Base resource URL of the data source. No trailing slash */
2168
+ baseUrl: string;
2169
+ /** @description HTTP headers to pass with requests to the data source */
2170
+ headers?: {
2171
+ key: string;
2172
+ value: string;
2173
+ omitIfEmpty?: boolean;
2174
+ }[];
2175
+ /** @description Query String parameters to pass with requests to the data type. Merged with parameters from the data source, overriding identical keys */
2176
+ parameters?: {
2177
+ key: string;
2178
+ value: string;
2179
+ omitIfEmpty?: boolean;
2180
+ }[];
2181
+ /** @description Variables needed to make calls to the data source */
2182
+ variables?: {
2183
+ [key: string]: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataVariableDefinition"];
2184
+ };
2185
+ };
2124
2186
  /**
2125
2187
  * @description An instance of a data source (i.e. "Master environment of the stable space", "Yelp API", "Sanity dev dataset").
2126
2188
  * These are created in the UI and shared across a whole project.
@@ -2157,6 +2219,11 @@ interface external {
2157
2219
  localeMapping?: {
2158
2220
  [key: string]: string;
2159
2221
  };
2222
+ /**
2223
+ * @description If true, data source will require additional credentials to access unpublished data.
2224
+ * If false, no additional data source credentials are required and data resources of this data source won't be able to access unpublished data.
2225
+ */
2226
+ enableUnpublishedMode?: boolean;
2160
2227
  /** @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 */
2161
2228
  customPublic?: {
2162
2229
  [key: string]: unknown;
@@ -2165,6 +2232,10 @@ interface external {
2165
2232
  custom?: {
2166
2233
  [key: string]: unknown;
2167
2234
  };
2235
+ /** @description Different connector detail variants to use in the different contexts like e.g. Unpublished Data */
2236
+ variants?: {
2237
+ unpublished?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["AlternativeDataSourceData"];
2238
+ };
2168
2239
  };
2169
2240
  /** @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 */
2170
2241
  DataType: {
@@ -2263,6 +2334,12 @@ interface external {
2263
2334
  * If isPatternParameter is false or undefined, or if ignorePatternParameterDefault is false, this has no meaning
2264
2335
  */
2265
2336
  optionalPatternParameter?: boolean;
2337
+ /**
2338
+ * @description Resolve this data resource with draft mode content. TBD
2339
+ *
2340
+ * @enum {string}
2341
+ */
2342
+ dataSourceVariant?: "unpublished";
2266
2343
  variables?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceVariables"];
2267
2344
  };
2268
2345
  /** @description Variable values for a data resource */
@@ -2752,6 +2829,11 @@ interface external {
2752
2829
  typeName?: string;
2753
2830
  /** @description List of locales that the composition is available in. If empty, available in all locales */
2754
2831
  locales: string[];
2832
+ /**
2833
+ * Format: date-time
2834
+ * @description Date and time the composition was last modified (or created if never modified). Uses ISO-8859-1 formatting and UTC timezone.
2835
+ */
2836
+ modified?: string;
2755
2837
  };
2756
2838
  ProjectMapNodeUpdate: {
2757
2839
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/assets",
3
- "version": "19.185.1-alpha.8+53f7f96124",
3
+ "version": "19.186.2-alpha.14+2868049c36",
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.185.1-alpha.8+53f7f96124"
39
+ "@uniformdev/context": "19.186.2-alpha.14+2868049c36"
40
40
  },
41
- "gitHead": "53f7f961242f3518b103e55337ada7ad91c18dd7"
41
+ "gitHead": "2868049c365d370abc91762e89dc845c61c02b78"
42
42
  }