@uniformdev/mesh-sdk 19.153.1-alpha.7 → 19.155.0
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 +103 -5
- package/dist/index.d.ts +103 -5
- package/package.json +5 -5
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, DataResourceVariables, RootComponentInstance, ComponentInstance, ComponentDefinition, ComponentDefinitionParameter, DataVariableDefinition } from '@uniformdev/canvas';
|
|
3
|
+
import { AssetParamValue, DataType, DataSource, DataResourceVariables, RootComponentInstance, ComponentInstance, ComponentDefinition, ComponentDefinitionParameter, DataVariableDefinition, EntryData } from '@uniformdev/canvas';
|
|
4
4
|
export { AssetParamValue, AssetParamValueItem } from '@uniformdev/canvas';
|
|
5
5
|
import { Emitter } from 'mitt';
|
|
6
6
|
|
|
@@ -68,6 +68,23 @@ interface paths$1 {
|
|
|
68
68
|
/** @enum {string} */
|
|
69
69
|
localizable?: "default-yes" | "default-no" | "yes" | "no";
|
|
70
70
|
}[];
|
|
71
|
+
editorTools?: {
|
|
72
|
+
composition?: {
|
|
73
|
+
url: string;
|
|
74
|
+
};
|
|
75
|
+
componentPattern?: {
|
|
76
|
+
url: string;
|
|
77
|
+
};
|
|
78
|
+
compositionDefaults?: {
|
|
79
|
+
url: string;
|
|
80
|
+
};
|
|
81
|
+
entry?: {
|
|
82
|
+
url: string;
|
|
83
|
+
};
|
|
84
|
+
entryPattern?: {
|
|
85
|
+
url: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
71
88
|
};
|
|
72
89
|
dataConnectors?: {
|
|
73
90
|
type: string;
|
|
@@ -220,6 +237,23 @@ interface paths$1 {
|
|
|
220
237
|
/** @enum {string} */
|
|
221
238
|
localizable?: "default-yes" | "default-no" | "yes" | "no";
|
|
222
239
|
}[];
|
|
240
|
+
editorTools?: {
|
|
241
|
+
composition?: {
|
|
242
|
+
url: string;
|
|
243
|
+
};
|
|
244
|
+
componentPattern?: {
|
|
245
|
+
url: string;
|
|
246
|
+
};
|
|
247
|
+
compositionDefaults?: {
|
|
248
|
+
url: string;
|
|
249
|
+
};
|
|
250
|
+
entry?: {
|
|
251
|
+
url: string;
|
|
252
|
+
};
|
|
253
|
+
entryPattern?: {
|
|
254
|
+
url: string;
|
|
255
|
+
};
|
|
256
|
+
};
|
|
223
257
|
};
|
|
224
258
|
dataConnectors?: {
|
|
225
259
|
type: string;
|
|
@@ -371,6 +405,23 @@ interface paths$1 {
|
|
|
371
405
|
/** @enum {string} */
|
|
372
406
|
localizable?: "default-yes" | "default-no" | "yes" | "no";
|
|
373
407
|
}[];
|
|
408
|
+
editorTools?: {
|
|
409
|
+
composition?: {
|
|
410
|
+
url: string;
|
|
411
|
+
};
|
|
412
|
+
componentPattern?: {
|
|
413
|
+
url: string;
|
|
414
|
+
};
|
|
415
|
+
compositionDefaults?: {
|
|
416
|
+
url: string;
|
|
417
|
+
};
|
|
418
|
+
entry?: {
|
|
419
|
+
url: string;
|
|
420
|
+
};
|
|
421
|
+
entryPattern?: {
|
|
422
|
+
url: string;
|
|
423
|
+
};
|
|
424
|
+
};
|
|
374
425
|
};
|
|
375
426
|
dataConnectors?: {
|
|
376
427
|
type: string;
|
|
@@ -770,6 +821,23 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
770
821
|
renderableInPropertyPanel?: boolean | undefined;
|
|
771
822
|
localizable?: "default-yes" | "default-no" | "yes" | "no" | undefined;
|
|
772
823
|
}[];
|
|
824
|
+
editorTools?: {
|
|
825
|
+
composition?: {
|
|
826
|
+
url: string;
|
|
827
|
+
} | undefined;
|
|
828
|
+
componentPattern?: {
|
|
829
|
+
url: string;
|
|
830
|
+
} | undefined;
|
|
831
|
+
compositionDefaults?: {
|
|
832
|
+
url: string;
|
|
833
|
+
} | undefined;
|
|
834
|
+
entry?: {
|
|
835
|
+
url: string;
|
|
836
|
+
} | undefined;
|
|
837
|
+
entryPattern?: {
|
|
838
|
+
url: string;
|
|
839
|
+
} | undefined;
|
|
840
|
+
} | undefined;
|
|
773
841
|
} | undefined;
|
|
774
842
|
dataConnectors?: {
|
|
775
843
|
type: string;
|
|
@@ -971,14 +1039,20 @@ type ParamTypeLocation<TParamValue = unknown, TParamConfiguration = unknown, TPa
|
|
|
971
1039
|
editConnectedData: Awaited<ReturnType<typeof connectToParent>>['parent']['editConnectedData'];
|
|
972
1040
|
};
|
|
973
1041
|
|
|
974
|
-
type SettingsLocationMetadata = CommonMetadata
|
|
1042
|
+
type SettingsLocationMetadata = CommonMetadata & {
|
|
1043
|
+
locales: {
|
|
1044
|
+
locale: string;
|
|
1045
|
+
displayName: string;
|
|
1046
|
+
isDefault: boolean;
|
|
1047
|
+
}[];
|
|
1048
|
+
};
|
|
975
1049
|
type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsLocationMetadata, TSettingsType, 'settings'>;
|
|
976
1050
|
|
|
977
1051
|
/**
|
|
978
1052
|
* Defines methods used for interacting with a Mesh location
|
|
979
1053
|
* To receive useful typings, check the `type` property of the location to narrow the typing.
|
|
980
1054
|
*/
|
|
981
|
-
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | AssetParameterLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
|
|
1055
|
+
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | AssetParameterLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | CanvasEditorToolsLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
|
|
982
1056
|
interface MeshContextData {
|
|
983
1057
|
locationKey: string;
|
|
984
1058
|
locationType: MeshLocationTypes;
|
|
@@ -1284,7 +1358,7 @@ type MeshLocationUserPermissions =
|
|
|
1284
1358
|
/**
|
|
1285
1359
|
* Known location types that can be passed to a mesh location
|
|
1286
1360
|
*/
|
|
1287
|
-
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'assetParameter' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | 'aiMetadata';
|
|
1361
|
+
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'assetParameter' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | 'canvasEditorTools' | 'aiMetadata';
|
|
1288
1362
|
type SetValueOptions = ValidationResult;
|
|
1289
1363
|
type SetValueMessage = {
|
|
1290
1364
|
uniformMeshLocationValue: unknown;
|
|
@@ -1323,6 +1397,30 @@ type PromptSettingsLocationMetadata<TIntegrationConfiguration = unknown> = Commo
|
|
|
1323
1397
|
type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'aiGenerate'>;
|
|
1324
1398
|
type AIPromptMetadataLocation = MeshLocationCore<Record<string, unknown>, PromptSettingsLocationMetadata, Record<string, unknown>, 'aiMetadata'>;
|
|
1325
1399
|
|
|
1400
|
+
type CanvasEditorToolsLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
|
|
1401
|
+
releaseId?: string;
|
|
1402
|
+
state?: number;
|
|
1403
|
+
locales: {
|
|
1404
|
+
locale: string;
|
|
1405
|
+
displayName: string;
|
|
1406
|
+
isDefault: boolean;
|
|
1407
|
+
}[];
|
|
1408
|
+
}, TIntegrationConfiguration>;
|
|
1409
|
+
type CanvasEditorToolsReferenceData = {
|
|
1410
|
+
name: string;
|
|
1411
|
+
};
|
|
1412
|
+
type CanvasEditorToolsData = {
|
|
1413
|
+
patternNamesIndex?: Record<string, CanvasEditorToolsReferenceData>;
|
|
1414
|
+
entryNamesIndex?: Record<string, CanvasEditorToolsReferenceData>;
|
|
1415
|
+
} & ({
|
|
1416
|
+
rootEntity: RootComponentInstance;
|
|
1417
|
+
type: 'composition';
|
|
1418
|
+
} | {
|
|
1419
|
+
rootEntity: EntryData;
|
|
1420
|
+
type: 'entry';
|
|
1421
|
+
});
|
|
1422
|
+
type CanvasEditorToolsLocation = MeshLocationCore<CanvasEditorToolsData, CanvasEditorToolsLocationMetadata, CanvasEditorToolsData, 'canvasEditorTools'> & GetDataResourceLocation;
|
|
1423
|
+
|
|
1326
1424
|
type ParamTypeConfigLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
|
|
1327
1425
|
/** The Uniform project ID */
|
|
1328
1426
|
componentDefinition: ComponentDefinition;
|
|
@@ -1432,4 +1530,4 @@ declare const hasPermissions: (permissions: MeshLocationUserPermissions | MeshLo
|
|
|
1432
1530
|
*/
|
|
1433
1531
|
declare const hasRole: (role: string, user: UniformUser) => boolean;
|
|
1434
1532
|
|
|
1435
|
-
export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, type CSSHeight, type CloseDialogMessage, type CloseLocationDialogOptions, type CommonMetadata, type DataConnectorInfo, type DataResourceLocation, type DataResourceLocationMetadata, type DataSourceLocation, type DataSourceLocationMetadata, type DataSourceLocationValue, type DataTypeLocation, type DataTypeLocationMetadata, type DataTypeLocationValue, type DialogContext, type DialogOptions, type DialogParamValue, type DialogParams, type DialogResponseData, type DialogResponseHandler, type DialogResponseHandlers, type DialogType, type DynamicInput, type DynamicInputs, type EditConnectedDataMessage, type EditConnectedDataResponse, type EditConnectedDataResponseCancellationContext, type GetDataResourceLocation, type GetDataResourceMessage, IntegrationDefinitionClient, type IntegrationDefinitionDeleteParameters, type IntegrationDefinitionGetParameters, type IntegrationDefinitionGetResponse, type IntegrationDefinitionPutParameters, type IntegrationDefinitionPutResponse, IntegrationInstallationClient, type IntegrationInstallationDeleteParameters, type IntegrationInstallationGetParameters, type IntegrationInstallationGetResponse, type IntegrationInstallationPutParameters, type LocationDialogResponse, type MeshContextData, type MeshLocation, type MeshLocationCore, type MeshLocationTypes, type MeshLocationUserPermissions, type MeshSDKEventInterface, type OpenConfirmationDialogOptions, type OpenConfirmationDialogResult, type OpenDialogMessage, type OpenDialogResult, type OpenLocationDialogOptions, type ParamTypeConfigLocation, type ParamTypeConfigLocationMetadata, type ParamTypeLocation, type ParamTypeLocationMetadata, type PromptSettingsLocationMetadata, type SdkWindow, type SetLocationFunction, type SetValueMessage, type SetValueOptions, type SettingsLocation, type SettingsLocationMetadata, type UniformMeshSDK, type UniformMeshSDKEvents, type UniformUser, type ValidationResult, hasPermissions, hasRole, initializeUniformMeshSDK };
|
|
1533
|
+
export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, type CSSHeight, type CanvasEditorToolsData, type CanvasEditorToolsLocation, type CanvasEditorToolsLocationMetadata, type CloseDialogMessage, type CloseLocationDialogOptions, type CommonMetadata, type DataConnectorInfo, type DataResourceLocation, type DataResourceLocationMetadata, type DataSourceLocation, type DataSourceLocationMetadata, type DataSourceLocationValue, type DataTypeLocation, type DataTypeLocationMetadata, type DataTypeLocationValue, type DialogContext, type DialogOptions, type DialogParamValue, type DialogParams, type DialogResponseData, type DialogResponseHandler, type DialogResponseHandlers, type DialogType, type DynamicInput, type DynamicInputs, type EditConnectedDataMessage, type EditConnectedDataResponse, type EditConnectedDataResponseCancellationContext, type GetDataResourceLocation, type GetDataResourceMessage, IntegrationDefinitionClient, type IntegrationDefinitionDeleteParameters, type IntegrationDefinitionGetParameters, type IntegrationDefinitionGetResponse, type IntegrationDefinitionPutParameters, type IntegrationDefinitionPutResponse, IntegrationInstallationClient, type IntegrationInstallationDeleteParameters, type IntegrationInstallationGetParameters, type IntegrationInstallationGetResponse, type IntegrationInstallationPutParameters, type LocationDialogResponse, type MeshContextData, type MeshLocation, type MeshLocationCore, type MeshLocationTypes, type MeshLocationUserPermissions, type MeshSDKEventInterface, type OpenConfirmationDialogOptions, type OpenConfirmationDialogResult, type OpenDialogMessage, type OpenDialogResult, type OpenLocationDialogOptions, type ParamTypeConfigLocation, type ParamTypeConfigLocationMetadata, type ParamTypeLocation, type ParamTypeLocationMetadata, type PromptSettingsLocationMetadata, type SdkWindow, type SetLocationFunction, type SetValueMessage, type SetValueOptions, type SettingsLocation, type SettingsLocationMetadata, type UniformMeshSDK, type UniformMeshSDKEvents, type UniformUser, type ValidationResult, hasPermissions, hasRole, initializeUniformMeshSDK };
|
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, DataResourceVariables, RootComponentInstance, ComponentInstance, ComponentDefinition, ComponentDefinitionParameter, DataVariableDefinition } from '@uniformdev/canvas';
|
|
3
|
+
import { AssetParamValue, DataType, DataSource, DataResourceVariables, RootComponentInstance, ComponentInstance, ComponentDefinition, ComponentDefinitionParameter, DataVariableDefinition, EntryData } from '@uniformdev/canvas';
|
|
4
4
|
export { AssetParamValue, AssetParamValueItem } from '@uniformdev/canvas';
|
|
5
5
|
import { Emitter } from 'mitt';
|
|
6
6
|
|
|
@@ -68,6 +68,23 @@ interface paths$1 {
|
|
|
68
68
|
/** @enum {string} */
|
|
69
69
|
localizable?: "default-yes" | "default-no" | "yes" | "no";
|
|
70
70
|
}[];
|
|
71
|
+
editorTools?: {
|
|
72
|
+
composition?: {
|
|
73
|
+
url: string;
|
|
74
|
+
};
|
|
75
|
+
componentPattern?: {
|
|
76
|
+
url: string;
|
|
77
|
+
};
|
|
78
|
+
compositionDefaults?: {
|
|
79
|
+
url: string;
|
|
80
|
+
};
|
|
81
|
+
entry?: {
|
|
82
|
+
url: string;
|
|
83
|
+
};
|
|
84
|
+
entryPattern?: {
|
|
85
|
+
url: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
71
88
|
};
|
|
72
89
|
dataConnectors?: {
|
|
73
90
|
type: string;
|
|
@@ -220,6 +237,23 @@ interface paths$1 {
|
|
|
220
237
|
/** @enum {string} */
|
|
221
238
|
localizable?: "default-yes" | "default-no" | "yes" | "no";
|
|
222
239
|
}[];
|
|
240
|
+
editorTools?: {
|
|
241
|
+
composition?: {
|
|
242
|
+
url: string;
|
|
243
|
+
};
|
|
244
|
+
componentPattern?: {
|
|
245
|
+
url: string;
|
|
246
|
+
};
|
|
247
|
+
compositionDefaults?: {
|
|
248
|
+
url: string;
|
|
249
|
+
};
|
|
250
|
+
entry?: {
|
|
251
|
+
url: string;
|
|
252
|
+
};
|
|
253
|
+
entryPattern?: {
|
|
254
|
+
url: string;
|
|
255
|
+
};
|
|
256
|
+
};
|
|
223
257
|
};
|
|
224
258
|
dataConnectors?: {
|
|
225
259
|
type: string;
|
|
@@ -371,6 +405,23 @@ interface paths$1 {
|
|
|
371
405
|
/** @enum {string} */
|
|
372
406
|
localizable?: "default-yes" | "default-no" | "yes" | "no";
|
|
373
407
|
}[];
|
|
408
|
+
editorTools?: {
|
|
409
|
+
composition?: {
|
|
410
|
+
url: string;
|
|
411
|
+
};
|
|
412
|
+
componentPattern?: {
|
|
413
|
+
url: string;
|
|
414
|
+
};
|
|
415
|
+
compositionDefaults?: {
|
|
416
|
+
url: string;
|
|
417
|
+
};
|
|
418
|
+
entry?: {
|
|
419
|
+
url: string;
|
|
420
|
+
};
|
|
421
|
+
entryPattern?: {
|
|
422
|
+
url: string;
|
|
423
|
+
};
|
|
424
|
+
};
|
|
374
425
|
};
|
|
375
426
|
dataConnectors?: {
|
|
376
427
|
type: string;
|
|
@@ -770,6 +821,23 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
770
821
|
renderableInPropertyPanel?: boolean | undefined;
|
|
771
822
|
localizable?: "default-yes" | "default-no" | "yes" | "no" | undefined;
|
|
772
823
|
}[];
|
|
824
|
+
editorTools?: {
|
|
825
|
+
composition?: {
|
|
826
|
+
url: string;
|
|
827
|
+
} | undefined;
|
|
828
|
+
componentPattern?: {
|
|
829
|
+
url: string;
|
|
830
|
+
} | undefined;
|
|
831
|
+
compositionDefaults?: {
|
|
832
|
+
url: string;
|
|
833
|
+
} | undefined;
|
|
834
|
+
entry?: {
|
|
835
|
+
url: string;
|
|
836
|
+
} | undefined;
|
|
837
|
+
entryPattern?: {
|
|
838
|
+
url: string;
|
|
839
|
+
} | undefined;
|
|
840
|
+
} | undefined;
|
|
773
841
|
} | undefined;
|
|
774
842
|
dataConnectors?: {
|
|
775
843
|
type: string;
|
|
@@ -971,14 +1039,20 @@ type ParamTypeLocation<TParamValue = unknown, TParamConfiguration = unknown, TPa
|
|
|
971
1039
|
editConnectedData: Awaited<ReturnType<typeof connectToParent>>['parent']['editConnectedData'];
|
|
972
1040
|
};
|
|
973
1041
|
|
|
974
|
-
type SettingsLocationMetadata = CommonMetadata
|
|
1042
|
+
type SettingsLocationMetadata = CommonMetadata & {
|
|
1043
|
+
locales: {
|
|
1044
|
+
locale: string;
|
|
1045
|
+
displayName: string;
|
|
1046
|
+
isDefault: boolean;
|
|
1047
|
+
}[];
|
|
1048
|
+
};
|
|
975
1049
|
type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsLocationMetadata, TSettingsType, 'settings'>;
|
|
976
1050
|
|
|
977
1051
|
/**
|
|
978
1052
|
* Defines methods used for interacting with a Mesh location
|
|
979
1053
|
* To receive useful typings, check the `type` property of the location to narrow the typing.
|
|
980
1054
|
*/
|
|
981
|
-
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | AssetParameterLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
|
|
1055
|
+
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | AssetParameterLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | CanvasEditorToolsLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
|
|
982
1056
|
interface MeshContextData {
|
|
983
1057
|
locationKey: string;
|
|
984
1058
|
locationType: MeshLocationTypes;
|
|
@@ -1284,7 +1358,7 @@ type MeshLocationUserPermissions =
|
|
|
1284
1358
|
/**
|
|
1285
1359
|
* Known location types that can be passed to a mesh location
|
|
1286
1360
|
*/
|
|
1287
|
-
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'assetParameter' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | 'aiMetadata';
|
|
1361
|
+
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'assetParameter' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | 'canvasEditorTools' | 'aiMetadata';
|
|
1288
1362
|
type SetValueOptions = ValidationResult;
|
|
1289
1363
|
type SetValueMessage = {
|
|
1290
1364
|
uniformMeshLocationValue: unknown;
|
|
@@ -1323,6 +1397,30 @@ type PromptSettingsLocationMetadata<TIntegrationConfiguration = unknown> = Commo
|
|
|
1323
1397
|
type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'aiGenerate'>;
|
|
1324
1398
|
type AIPromptMetadataLocation = MeshLocationCore<Record<string, unknown>, PromptSettingsLocationMetadata, Record<string, unknown>, 'aiMetadata'>;
|
|
1325
1399
|
|
|
1400
|
+
type CanvasEditorToolsLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
|
|
1401
|
+
releaseId?: string;
|
|
1402
|
+
state?: number;
|
|
1403
|
+
locales: {
|
|
1404
|
+
locale: string;
|
|
1405
|
+
displayName: string;
|
|
1406
|
+
isDefault: boolean;
|
|
1407
|
+
}[];
|
|
1408
|
+
}, TIntegrationConfiguration>;
|
|
1409
|
+
type CanvasEditorToolsReferenceData = {
|
|
1410
|
+
name: string;
|
|
1411
|
+
};
|
|
1412
|
+
type CanvasEditorToolsData = {
|
|
1413
|
+
patternNamesIndex?: Record<string, CanvasEditorToolsReferenceData>;
|
|
1414
|
+
entryNamesIndex?: Record<string, CanvasEditorToolsReferenceData>;
|
|
1415
|
+
} & ({
|
|
1416
|
+
rootEntity: RootComponentInstance;
|
|
1417
|
+
type: 'composition';
|
|
1418
|
+
} | {
|
|
1419
|
+
rootEntity: EntryData;
|
|
1420
|
+
type: 'entry';
|
|
1421
|
+
});
|
|
1422
|
+
type CanvasEditorToolsLocation = MeshLocationCore<CanvasEditorToolsData, CanvasEditorToolsLocationMetadata, CanvasEditorToolsData, 'canvasEditorTools'> & GetDataResourceLocation;
|
|
1423
|
+
|
|
1326
1424
|
type ParamTypeConfigLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
|
|
1327
1425
|
/** The Uniform project ID */
|
|
1328
1426
|
componentDefinition: ComponentDefinition;
|
|
@@ -1432,4 +1530,4 @@ declare const hasPermissions: (permissions: MeshLocationUserPermissions | MeshLo
|
|
|
1432
1530
|
*/
|
|
1433
1531
|
declare const hasRole: (role: string, user: UniformUser) => boolean;
|
|
1434
1532
|
|
|
1435
|
-
export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, type CSSHeight, type CloseDialogMessage, type CloseLocationDialogOptions, type CommonMetadata, type DataConnectorInfo, type DataResourceLocation, type DataResourceLocationMetadata, type DataSourceLocation, type DataSourceLocationMetadata, type DataSourceLocationValue, type DataTypeLocation, type DataTypeLocationMetadata, type DataTypeLocationValue, type DialogContext, type DialogOptions, type DialogParamValue, type DialogParams, type DialogResponseData, type DialogResponseHandler, type DialogResponseHandlers, type DialogType, type DynamicInput, type DynamicInputs, type EditConnectedDataMessage, type EditConnectedDataResponse, type EditConnectedDataResponseCancellationContext, type GetDataResourceLocation, type GetDataResourceMessage, IntegrationDefinitionClient, type IntegrationDefinitionDeleteParameters, type IntegrationDefinitionGetParameters, type IntegrationDefinitionGetResponse, type IntegrationDefinitionPutParameters, type IntegrationDefinitionPutResponse, IntegrationInstallationClient, type IntegrationInstallationDeleteParameters, type IntegrationInstallationGetParameters, type IntegrationInstallationGetResponse, type IntegrationInstallationPutParameters, type LocationDialogResponse, type MeshContextData, type MeshLocation, type MeshLocationCore, type MeshLocationTypes, type MeshLocationUserPermissions, type MeshSDKEventInterface, type OpenConfirmationDialogOptions, type OpenConfirmationDialogResult, type OpenDialogMessage, type OpenDialogResult, type OpenLocationDialogOptions, type ParamTypeConfigLocation, type ParamTypeConfigLocationMetadata, type ParamTypeLocation, type ParamTypeLocationMetadata, type PromptSettingsLocationMetadata, type SdkWindow, type SetLocationFunction, type SetValueMessage, type SetValueOptions, type SettingsLocation, type SettingsLocationMetadata, type UniformMeshSDK, type UniformMeshSDKEvents, type UniformUser, type ValidationResult, hasPermissions, hasRole, initializeUniformMeshSDK };
|
|
1533
|
+
export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, type CSSHeight, type CanvasEditorToolsData, type CanvasEditorToolsLocation, type CanvasEditorToolsLocationMetadata, type CloseDialogMessage, type CloseLocationDialogOptions, type CommonMetadata, type DataConnectorInfo, type DataResourceLocation, type DataResourceLocationMetadata, type DataSourceLocation, type DataSourceLocationMetadata, type DataSourceLocationValue, type DataTypeLocation, type DataTypeLocationMetadata, type DataTypeLocationValue, type DialogContext, type DialogOptions, type DialogParamValue, type DialogParams, type DialogResponseData, type DialogResponseHandler, type DialogResponseHandlers, type DialogType, type DynamicInput, type DynamicInputs, type EditConnectedDataMessage, type EditConnectedDataResponse, type EditConnectedDataResponseCancellationContext, type GetDataResourceLocation, type GetDataResourceMessage, IntegrationDefinitionClient, type IntegrationDefinitionDeleteParameters, type IntegrationDefinitionGetParameters, type IntegrationDefinitionGetResponse, type IntegrationDefinitionPutParameters, type IntegrationDefinitionPutResponse, IntegrationInstallationClient, type IntegrationInstallationDeleteParameters, type IntegrationInstallationGetParameters, type IntegrationInstallationGetResponse, type IntegrationInstallationPutParameters, type LocationDialogResponse, type MeshContextData, type MeshLocation, type MeshLocationCore, type MeshLocationTypes, type MeshLocationUserPermissions, type MeshSDKEventInterface, type OpenConfirmationDialogOptions, type OpenConfirmationDialogResult, type OpenDialogMessage, type OpenDialogResult, type OpenLocationDialogOptions, type ParamTypeConfigLocation, type ParamTypeConfigLocationMetadata, type ParamTypeLocation, type ParamTypeLocationMetadata, type PromptSettingsLocationMetadata, type SdkWindow, type SetLocationFunction, type SetValueMessage, type SetValueOptions, type SettingsLocation, type SettingsLocationMetadata, type UniformMeshSDK, type UniformMeshSDKEvents, type UniformUser, type ValidationResult, hasPermissions, hasRole, initializeUniformMeshSDK };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/mesh-sdk",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.155.0",
|
|
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.
|
|
37
|
-
"@uniformdev/context": "19.
|
|
38
|
-
"@uniformdev/project-map": "19.
|
|
36
|
+
"@uniformdev/canvas": "19.155.0",
|
|
37
|
+
"@uniformdev/context": "19.155.0",
|
|
38
|
+
"@uniformdev/project-map": "19.155.0",
|
|
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": "
|
|
45
|
+
"gitHead": "bc0b859c349265908819b35b3fe5a812e52d37b3"
|
|
46
46
|
}
|