@uniformdev/mesh-sdk 19.177.2-alpha.18 → 19.178.2-alpha.25

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 | undefined;
864
- supportsUnpublishedData?: boolean | undefined;
865
861
  dataSourceEditorLocations?: {
866
862
  [key: string]: {
867
863
  url: string;
@@ -1020,15 +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
- dataSourceVariant?: DataSourceVariantsKeys;
1024
1019
  }, TIntegrationConfiguration>;
1025
1020
  type DataResourceLocation = MeshLocationCore<DataResourceVariables, DataResourceLocationMetadata, DataResourceVariables, 'dataResource'> & GetDataResourceLocation;
1026
1021
 
1027
- type DataSourceLocationValue = Pick<DataSource, 'baseUrl' | 'custom' | 'customPublic' | 'headers' | 'parameters' | 'variables' | 'enableUnpublishedMode' | 'variants'>;
1028
- type DataSourceLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
1029
- enableUnpublishedMode: DataSourceLocationValue['enableUnpublishedMode'];
1030
- dataSourceVariant: DataSourceVariantsKeys | 'standard';
1031
- }, TIntegrationConfiguration>;
1022
+ type DataSourceLocationValue = Pick<DataSource, 'baseUrl' | 'custom' | 'customPublic' | 'headers' | 'parameters' | 'variables'>;
1023
+ type DataSourceLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<unknown, TIntegrationConfiguration>;
1032
1024
  type DataSourceLocation = MeshLocationCore<DataSourceLocationValue, DataSourceLocationMetadata, DataSourceLocationValue, 'dataSource'>;
1033
1025
 
1034
1026
  type ParamTypeLocationMetadata<TParamConfiguration = unknown, TIntegrationConfiguration = unknown> = CommonMetadata<{
@@ -1188,9 +1180,7 @@ type CloseDialogMessage = {
1188
1180
  dialogType: DialogType;
1189
1181
  dialogData?: unknown;
1190
1182
  };
1191
- type GetDataResourceMessage = Pick<DataType, 'path' | 'archetype' | 'headers' | 'parameters' | 'body' | 'method'> & {
1192
- dataSourceVariant?: DataSourceVariantsKeys;
1193
- };
1183
+ type GetDataResourceMessage = Pick<DataType, 'path' | 'archetype' | 'headers' | 'parameters' | 'body' | 'method'>;
1194
1184
  /** Primitive data types that a parameter type accepts to be bound to composition data */
1195
1185
  type BindableTypes = 'string' | 'number' | 'boolean' | 'object' | 'array';
1196
1186
  /** 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 | undefined;
864
- supportsUnpublishedData?: boolean | undefined;
865
861
  dataSourceEditorLocations?: {
866
862
  [key: string]: {
867
863
  url: string;
@@ -1020,15 +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
- dataSourceVariant?: DataSourceVariantsKeys;
1024
1019
  }, TIntegrationConfiguration>;
1025
1020
  type DataResourceLocation = MeshLocationCore<DataResourceVariables, DataResourceLocationMetadata, DataResourceVariables, 'dataResource'> & GetDataResourceLocation;
1026
1021
 
1027
- type DataSourceLocationValue = Pick<DataSource, 'baseUrl' | 'custom' | 'customPublic' | 'headers' | 'parameters' | 'variables' | 'enableUnpublishedMode' | 'variants'>;
1028
- type DataSourceLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
1029
- enableUnpublishedMode: DataSourceLocationValue['enableUnpublishedMode'];
1030
- dataSourceVariant: DataSourceVariantsKeys | 'standard';
1031
- }, TIntegrationConfiguration>;
1022
+ type DataSourceLocationValue = Pick<DataSource, 'baseUrl' | 'custom' | 'customPublic' | 'headers' | 'parameters' | 'variables'>;
1023
+ type DataSourceLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<unknown, TIntegrationConfiguration>;
1032
1024
  type DataSourceLocation = MeshLocationCore<DataSourceLocationValue, DataSourceLocationMetadata, DataSourceLocationValue, 'dataSource'>;
1033
1025
 
1034
1026
  type ParamTypeLocationMetadata<TParamConfiguration = unknown, TIntegrationConfiguration = unknown> = CommonMetadata<{
@@ -1188,9 +1180,7 @@ type CloseDialogMessage = {
1188
1180
  dialogType: DialogType;
1189
1181
  dialogData?: unknown;
1190
1182
  };
1191
- type GetDataResourceMessage = Pick<DataType, 'path' | 'archetype' | 'headers' | 'parameters' | 'body' | 'method'> & {
1192
- dataSourceVariant?: DataSourceVariantsKeys;
1193
- };
1183
+ type GetDataResourceMessage = Pick<DataType, 'path' | 'archetype' | 'headers' | 'parameters' | 'body' | 'method'>;
1194
1184
  /** Primitive data types that a parameter type accepts to be bound to composition data */
1195
1185
  type BindableTypes = 'string' | 'number' | 'boolean' | 'object' | 'array';
1196
1186
  /** Message to parent to create a data connection expression to insert in a param type */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk",
3
- "version": "19.177.2-alpha.18+f0847a28d4",
3
+ "version": "19.178.2-alpha.25+0f7f53f560",
4
4
  "description": "Uniform Mesh Framework SDK",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -33,14 +33,14 @@
33
33
  "access": "public"
34
34
  },
35
35
  "dependencies": {
36
- "@uniformdev/canvas": "19.177.2-alpha.18+f0847a28d4",
37
- "@uniformdev/context": "19.177.2-alpha.18+f0847a28d4",
38
- "@uniformdev/project-map": "19.177.2-alpha.18+f0847a28d4",
36
+ "@uniformdev/canvas": "19.178.2-alpha.25+0f7f53f560",
37
+ "@uniformdev/context": "19.178.2-alpha.25+0f7f53f560",
38
+ "@uniformdev/project-map": "19.178.2-alpha.25+0f7f53f560",
39
39
  "imagesloaded": "^5.0.0",
40
40
  "mitt": "^3.0.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/imagesloaded": "^4.1.2"
44
44
  },
45
- "gitHead": "f0847a28d4ba83396723d0bb80311184a3143e00"
45
+ "gitHead": "0f7f53f56071a59cee38bf83c9f3bae541846de2"
46
46
  }