@uniformdev/mesh-sdk 19.184.1-alpha.22 → 19.184.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ApiClient, ClientOptions, ExceptProject } from '@uniformdev/context/api';
2
2
  import { ProjectMapNode } from '@uniformdev/project-map';
3
- import { AssetParamValue, DataType, DataSource, DataSourceVariantsKeys, DataResourceVariables, RootComponentInstance, ComponentInstance, ComponentDefinition, ComponentDefinitionParameter, Locale, DataVariableDefinition, EntryData } from '@uniformdev/canvas';
3
+ import { AssetParamValue, DataType, DataSource, DataResourceVariables, RootComponentInstance, ComponentInstance, ComponentDefinition, ComponentDefinitionParameter, Locale, DataVariableDefinition, EntryData } from '@uniformdev/canvas';
4
4
  export { AssetParamValue, AssetParamValueItem } from '@uniformdev/canvas';
5
5
  import { Emitter } from 'mitt';
6
6
 
@@ -90,7 +90,6 @@ interface paths$1 {
90
90
  type: string;
91
91
  displayName: string;
92
92
  dataSourceEditorUrl?: string;
93
- supportsUnpublishedData?: boolean;
94
93
  dataSourceEditorLocations?: {
95
94
  [key: string]: {
96
95
  url: string;
@@ -265,7 +264,6 @@ interface paths$1 {
265
264
  type: string;
266
265
  displayName: string;
267
266
  dataSourceEditorUrl?: string;
268
- supportsUnpublishedData?: boolean;
269
267
  dataSourceEditorLocations?: {
270
268
  [key: string]: {
271
269
  url: string;
@@ -439,7 +437,6 @@ interface paths$1 {
439
437
  type: string;
440
438
  displayName: string;
441
439
  dataSourceEditorUrl?: string;
442
- supportsUnpublishedData?: boolean;
443
440
  dataSourceEditorLocations?: {
444
441
  [key: string]: {
445
442
  url: string;
@@ -861,7 +858,6 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
861
858
  type: string;
862
859
  displayName: string;
863
860
  dataSourceEditorUrl?: string;
864
- supportsUnpublishedData?: boolean;
865
861
  dataSourceEditorLocations?: {
866
862
  [key: string]: {
867
863
  url: string;
@@ -1020,19 +1016,11 @@ type DataResourceLocationMetadata<TIntegrationConfiguration = unknown> = CommonM
1020
1016
  dataConnector: DataConnectorInfo;
1021
1017
  /** Current dynamic inputs that are configured on the composition (if any). */
1022
1018
  dynamicInputs: DynamicInputs;
1023
- /** Which Data Source variant is being resolved and used for getDataResource (unless overriden explicitly) */
1024
- dataSourceVariant?: DataSourceVariantsKeys;
1025
1019
  }, TIntegrationConfiguration>;
1026
1020
  type DataResourceLocation = MeshLocationCore<DataResourceVariables, DataResourceLocationMetadata, DataResourceVariables, 'dataResource'> & GetDataResourceLocation;
1027
1021
 
1028
- type DataSourceLocationValue = Pick<DataSource, 'baseUrl' | 'custom' | 'customPublic' | 'headers' | 'parameters' | 'variables' | 'enableUnpublishedMode' | 'variants'>;
1029
- type DataSourceLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
1030
- /**
1031
- * If true, the data source should provide additional configuration to support the unpublished mode and save "unpublish" Data Source variant.
1032
- * E.g. inputs for Preview API Token + Preview Environment.
1033
- */
1034
- enableUnpublishedMode: DataSourceLocationValue['enableUnpublishedMode'];
1035
- }, TIntegrationConfiguration>;
1022
+ type DataSourceLocationValue = Pick<DataSource, 'baseUrl' | 'custom' | 'customPublic' | 'headers' | 'parameters' | 'variables'>;
1023
+ type DataSourceLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<unknown, TIntegrationConfiguration>;
1036
1024
  type DataSourceLocation = MeshLocationCore<DataSourceLocationValue, DataSourceLocationMetadata, DataSourceLocationValue, 'dataSource'>;
1037
1025
 
1038
1026
  type ParamTypeLocationMetadata<TParamConfiguration = unknown, TIntegrationConfiguration = unknown> = CommonMetadata<{
@@ -1197,13 +1185,7 @@ type CloseDialogMessage = {
1197
1185
  dialogType: DialogType;
1198
1186
  dialogData?: unknown;
1199
1187
  };
1200
- type GetDataResourceMessage = Pick<DataType, 'path' | 'archetype' | 'headers' | 'parameters' | 'body' | 'method'> & {
1201
- /**
1202
- * Ability to override Data Source variant for particular getDataResource request,
1203
- * because by default it will use Canvas Editor global. But sometimes you don't want to switch to Unpublished Data and stick to standard one.
1204
- */
1205
- dataSourceVariant?: DataSourceVariantsKeys | 'standard';
1206
- };
1188
+ type GetDataResourceMessage = Pick<DataType, 'path' | 'archetype' | 'headers' | 'parameters' | 'body' | 'method'>;
1207
1189
  /** Primitive data types that a parameter type accepts to be bound to composition data */
1208
1190
  type BindableTypes = 'string' | 'number' | 'boolean' | 'object' | 'array';
1209
1191
  /** Message to parent to create a data connection expression to insert in a param type */
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ApiClient, ClientOptions, ExceptProject } from '@uniformdev/context/api';
2
2
  import { ProjectMapNode } from '@uniformdev/project-map';
3
- import { AssetParamValue, DataType, DataSource, DataSourceVariantsKeys, DataResourceVariables, RootComponentInstance, ComponentInstance, ComponentDefinition, ComponentDefinitionParameter, Locale, DataVariableDefinition, EntryData } from '@uniformdev/canvas';
3
+ import { AssetParamValue, DataType, DataSource, DataResourceVariables, RootComponentInstance, ComponentInstance, ComponentDefinition, ComponentDefinitionParameter, Locale, DataVariableDefinition, EntryData } from '@uniformdev/canvas';
4
4
  export { AssetParamValue, AssetParamValueItem } from '@uniformdev/canvas';
5
5
  import { Emitter } from 'mitt';
6
6
 
@@ -90,7 +90,6 @@ interface paths$1 {
90
90
  type: string;
91
91
  displayName: string;
92
92
  dataSourceEditorUrl?: string;
93
- supportsUnpublishedData?: boolean;
94
93
  dataSourceEditorLocations?: {
95
94
  [key: string]: {
96
95
  url: string;
@@ -265,7 +264,6 @@ interface paths$1 {
265
264
  type: string;
266
265
  displayName: string;
267
266
  dataSourceEditorUrl?: string;
268
- supportsUnpublishedData?: boolean;
269
267
  dataSourceEditorLocations?: {
270
268
  [key: string]: {
271
269
  url: string;
@@ -439,7 +437,6 @@ interface paths$1 {
439
437
  type: string;
440
438
  displayName: string;
441
439
  dataSourceEditorUrl?: string;
442
- supportsUnpublishedData?: boolean;
443
440
  dataSourceEditorLocations?: {
444
441
  [key: string]: {
445
442
  url: string;
@@ -861,7 +858,6 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
861
858
  type: string;
862
859
  displayName: string;
863
860
  dataSourceEditorUrl?: string;
864
- supportsUnpublishedData?: boolean;
865
861
  dataSourceEditorLocations?: {
866
862
  [key: string]: {
867
863
  url: string;
@@ -1020,19 +1016,11 @@ type DataResourceLocationMetadata<TIntegrationConfiguration = unknown> = CommonM
1020
1016
  dataConnector: DataConnectorInfo;
1021
1017
  /** Current dynamic inputs that are configured on the composition (if any). */
1022
1018
  dynamicInputs: DynamicInputs;
1023
- /** Which Data Source variant is being resolved and used for getDataResource (unless overriden explicitly) */
1024
- dataSourceVariant?: DataSourceVariantsKeys;
1025
1019
  }, TIntegrationConfiguration>;
1026
1020
  type DataResourceLocation = MeshLocationCore<DataResourceVariables, DataResourceLocationMetadata, DataResourceVariables, 'dataResource'> & GetDataResourceLocation;
1027
1021
 
1028
- type DataSourceLocationValue = Pick<DataSource, 'baseUrl' | 'custom' | 'customPublic' | 'headers' | 'parameters' | 'variables' | 'enableUnpublishedMode' | 'variants'>;
1029
- type DataSourceLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
1030
- /**
1031
- * If true, the data source should provide additional configuration to support the unpublished mode and save "unpublish" Data Source variant.
1032
- * E.g. inputs for Preview API Token + Preview Environment.
1033
- */
1034
- enableUnpublishedMode: DataSourceLocationValue['enableUnpublishedMode'];
1035
- }, TIntegrationConfiguration>;
1022
+ type DataSourceLocationValue = Pick<DataSource, 'baseUrl' | 'custom' | 'customPublic' | 'headers' | 'parameters' | 'variables'>;
1023
+ type DataSourceLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<unknown, TIntegrationConfiguration>;
1036
1024
  type DataSourceLocation = MeshLocationCore<DataSourceLocationValue, DataSourceLocationMetadata, DataSourceLocationValue, 'dataSource'>;
1037
1025
 
1038
1026
  type ParamTypeLocationMetadata<TParamConfiguration = unknown, TIntegrationConfiguration = unknown> = CommonMetadata<{
@@ -1197,13 +1185,7 @@ type CloseDialogMessage = {
1197
1185
  dialogType: DialogType;
1198
1186
  dialogData?: unknown;
1199
1187
  };
1200
- type GetDataResourceMessage = Pick<DataType, 'path' | 'archetype' | 'headers' | 'parameters' | 'body' | 'method'> & {
1201
- /**
1202
- * Ability to override Data Source variant for particular getDataResource request,
1203
- * because by default it will use Canvas Editor global. But sometimes you don't want to switch to Unpublished Data and stick to standard one.
1204
- */
1205
- dataSourceVariant?: DataSourceVariantsKeys | 'standard';
1206
- };
1188
+ type GetDataResourceMessage = Pick<DataType, 'path' | 'archetype' | 'headers' | 'parameters' | 'body' | 'method'>;
1207
1189
  /** Primitive data types that a parameter type accepts to be bound to composition data */
1208
1190
  type BindableTypes = 'string' | 'number' | 'boolean' | 'object' | 'array';
1209
1191
  /** Message to parent to create a data connection expression to insert in a param type */
package/dist/index.esm.js CHANGED
@@ -113,7 +113,7 @@ var getLogger = (prefix, debug) => {
113
113
  };
114
114
 
115
115
  // src/temp/version.ts
116
- var UNIFORM_MESH_SDK_VERSION = "19.184.0";
116
+ var UNIFORM_MESH_SDK_VERSION = "19.184.1";
117
117
 
118
118
  // src/framepost/constants.ts
119
119
  var DEFAULT_REQUEST_TIMEOUT = 5e3;
package/dist/index.js CHANGED
@@ -152,7 +152,7 @@ var getLogger = (prefix, debug) => {
152
152
  };
153
153
 
154
154
  // src/temp/version.ts
155
- var UNIFORM_MESH_SDK_VERSION = "19.184.0";
155
+ var UNIFORM_MESH_SDK_VERSION = "19.184.1";
156
156
 
157
157
  // src/framepost/constants.ts
158
158
  var DEFAULT_REQUEST_TIMEOUT = 5e3;
package/dist/index.mjs CHANGED
@@ -113,7 +113,7 @@ var getLogger = (prefix, debug) => {
113
113
  };
114
114
 
115
115
  // src/temp/version.ts
116
- var UNIFORM_MESH_SDK_VERSION = "19.184.0";
116
+ var UNIFORM_MESH_SDK_VERSION = "19.184.1";
117
117
 
118
118
  // src/framepost/constants.ts
119
119
  var DEFAULT_REQUEST_TIMEOUT = 5e3;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk",
3
- "version": "19.184.1-alpha.22+a7fd564cd5",
3
+ "version": "19.184.1",
4
4
  "description": "Uniform Mesh Framework SDK",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -34,14 +34,14 @@
34
34
  "access": "public"
35
35
  },
36
36
  "dependencies": {
37
- "@uniformdev/canvas": "19.184.1-alpha.22+a7fd564cd5",
38
- "@uniformdev/context": "19.184.1-alpha.22+a7fd564cd5",
39
- "@uniformdev/project-map": "19.184.1-alpha.22+a7fd564cd5",
37
+ "@uniformdev/canvas": "19.184.1",
38
+ "@uniformdev/context": "19.184.1",
39
+ "@uniformdev/project-map": "19.184.1",
40
40
  "imagesloaded": "^5.0.0",
41
41
  "mitt": "^3.0.1"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/imagesloaded": "^4.1.2"
45
45
  },
46
- "gitHead": "a7fd564cd599786d0a9504495b7330cd77072039"
46
+ "gitHead": "c3200578f3bda4f90e4c4b9d7997f698054aead8"
47
47
  }