@uniformdev/mesh-sdk 19.80.0 → 19.81.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 +35 -76
- package/dist/index.d.ts +35 -76
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ApiClient, ClientOptions, ExceptProject } from '@uniformdev/context/api';
|
|
2
2
|
import { ProjectMapNode } from '@uniformdev/project-map';
|
|
3
|
-
import {
|
|
3
|
+
import { AssetParamValue, DataType, DataSource, DataResourceVariables, RootComponentInstance, ComponentInstance, ComponentDefinition, ComponentDefinitionParameter, DataVariableDefinition } from '@uniformdev/canvas';
|
|
4
|
+
export { AssetParamValue, AssetParamValueItem } from '@uniformdev/canvas';
|
|
4
5
|
import { Emitter } from 'mitt';
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -102,6 +103,14 @@ interface paths$1 {
|
|
|
102
103
|
singleAssetArchetypeId: string;
|
|
103
104
|
};
|
|
104
105
|
};
|
|
106
|
+
unstable_assetLibrary?: {
|
|
107
|
+
url: string;
|
|
108
|
+
dynamicAssets?: {
|
|
109
|
+
dataConnectorId: string;
|
|
110
|
+
assetsListArchetypeId: string;
|
|
111
|
+
singleAssetArchetypeId: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
105
114
|
ai?: {
|
|
106
115
|
generateUrl: string;
|
|
107
116
|
metadataUrl?: string;
|
|
@@ -243,6 +252,14 @@ interface paths$1 {
|
|
|
243
252
|
singleAssetArchetypeId: string;
|
|
244
253
|
};
|
|
245
254
|
};
|
|
255
|
+
unstable_assetLibrary?: {
|
|
256
|
+
url: string;
|
|
257
|
+
dynamicAssets?: {
|
|
258
|
+
dataConnectorId: string;
|
|
259
|
+
assetsListArchetypeId: string;
|
|
260
|
+
singleAssetArchetypeId: string;
|
|
261
|
+
};
|
|
262
|
+
};
|
|
246
263
|
ai?: {
|
|
247
264
|
generateUrl: string;
|
|
248
265
|
metadataUrl?: string;
|
|
@@ -383,6 +400,14 @@ interface paths$1 {
|
|
|
383
400
|
singleAssetArchetypeId: string;
|
|
384
401
|
};
|
|
385
402
|
};
|
|
403
|
+
unstable_assetLibrary?: {
|
|
404
|
+
url: string;
|
|
405
|
+
dynamicAssets?: {
|
|
406
|
+
dataConnectorId: string;
|
|
407
|
+
assetsListArchetypeId: string;
|
|
408
|
+
singleAssetArchetypeId: string;
|
|
409
|
+
};
|
|
410
|
+
};
|
|
386
411
|
ai?: {
|
|
387
412
|
generateUrl: string;
|
|
388
413
|
metadataUrl?: string;
|
|
@@ -772,6 +797,14 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
772
797
|
singleAssetArchetypeId: string;
|
|
773
798
|
} | undefined;
|
|
774
799
|
} | undefined;
|
|
800
|
+
unstable_assetLibrary?: {
|
|
801
|
+
url: string;
|
|
802
|
+
dynamicAssets?: {
|
|
803
|
+
dataConnectorId: string;
|
|
804
|
+
assetsListArchetypeId: string;
|
|
805
|
+
singleAssetArchetypeId: string;
|
|
806
|
+
} | undefined;
|
|
807
|
+
} | undefined;
|
|
775
808
|
ai?: {
|
|
776
809
|
generateUrl: string;
|
|
777
810
|
metadataUrl?: string | undefined;
|
|
@@ -860,80 +893,6 @@ type AssetParameterLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
|
860
893
|
*/
|
|
861
894
|
maxAssets?: number;
|
|
862
895
|
};
|
|
863
|
-
type AssetParamValue = AssetParamValueItem[];
|
|
864
|
-
type AssetParamValueItem = {
|
|
865
|
-
type: string;
|
|
866
|
-
_id: string;
|
|
867
|
-
/**
|
|
868
|
-
* Internal Uniform source ID or
|
|
869
|
-
* dataType ID of the global integration library
|
|
870
|
-
* which created this asset item
|
|
871
|
-
*/
|
|
872
|
-
_source?: string;
|
|
873
|
-
fields: {
|
|
874
|
-
url: {
|
|
875
|
-
type: 'text';
|
|
876
|
-
value: string;
|
|
877
|
-
};
|
|
878
|
-
id?: {
|
|
879
|
-
type: 'text';
|
|
880
|
-
value: string | undefined;
|
|
881
|
-
};
|
|
882
|
-
title?: {
|
|
883
|
-
type: 'text';
|
|
884
|
-
value: string | undefined;
|
|
885
|
-
};
|
|
886
|
-
description?: {
|
|
887
|
-
type: 'text';
|
|
888
|
-
value: string | undefined;
|
|
889
|
-
};
|
|
890
|
-
mediaType?: {
|
|
891
|
-
type: 'text';
|
|
892
|
-
value: string | undefined;
|
|
893
|
-
};
|
|
894
|
-
/**
|
|
895
|
-
* The width of the original asset
|
|
896
|
-
*
|
|
897
|
-
* Should resolve to a number but might
|
|
898
|
-
* be a string with a pointer reference
|
|
899
|
-
*/
|
|
900
|
-
width?: {
|
|
901
|
-
type: 'number';
|
|
902
|
-
value: number | string | undefined;
|
|
903
|
-
};
|
|
904
|
-
/**
|
|
905
|
-
* The height of the original asset
|
|
906
|
-
*
|
|
907
|
-
* Should resolve to a number but might
|
|
908
|
-
* be a string with a pointer reference
|
|
909
|
-
*/
|
|
910
|
-
height?: {
|
|
911
|
-
type: 'number';
|
|
912
|
-
value: number | string | undefined;
|
|
913
|
-
};
|
|
914
|
-
/**
|
|
915
|
-
* The size in bytes of the original asset
|
|
916
|
-
*
|
|
917
|
-
* Should resolve to a number but might
|
|
918
|
-
* be a string with a pointer reference
|
|
919
|
-
*/
|
|
920
|
-
size?: {
|
|
921
|
-
type: 'number';
|
|
922
|
-
value: number | string | undefined;
|
|
923
|
-
};
|
|
924
|
-
/**
|
|
925
|
-
* Any key/value properties which the source
|
|
926
|
-
* wants to attach to the asset data
|
|
927
|
-
*/
|
|
928
|
-
custom?: {
|
|
929
|
-
type: string;
|
|
930
|
-
value: Record<string, unknown>;
|
|
931
|
-
};
|
|
932
|
-
};
|
|
933
|
-
_overrides?: {
|
|
934
|
-
fields: ComponentOverride['parameters'];
|
|
935
|
-
};
|
|
936
|
-
};
|
|
937
896
|
type AssetLibraryLocation = MeshLocationCore<unknown, AssetLibraryLocationMetadata, unknown, 'assetLibrary'> & GetDataResourceLocation;
|
|
938
897
|
type AssetParameterLocation = MeshLocationCore<AssetParamValue, AssetParameterLocationMetadata, AssetParamValue, 'assetParameter'> & GetDataResourceLocation;
|
|
939
898
|
|
|
@@ -1364,4 +1323,4 @@ declare function initializeUniformMeshSDK({ autoResizingDisabled, }?: {
|
|
|
1364
1323
|
autoResizingDisabled?: boolean;
|
|
1365
1324
|
}): Promise<UniformMeshSDK | undefined>;
|
|
1366
1325
|
|
|
1367
|
-
export { AIGenerateLocation, AIGenerateLocationMetadata, AIPromptMetadataLocation, AssetLibraryLocation, AssetLibraryLocationMetadata,
|
|
1326
|
+
export { AIGenerateLocation, AIGenerateLocationMetadata, AIPromptMetadataLocation, AssetLibraryLocation, AssetLibraryLocationMetadata, AssetParameterLocation, AssetParameterLocationMetadata, BindableTypes, CSSHeight, CloseDialogMessage, CloseLocationDialogOptions, DataConnectorInfo, DataResourceLocation, DataResourceLocationMetadata, DataSourceLocation, DataSourceLocationMetadata, DataSourceLocationValue, DataTypeLocation, DataTypeLocationMetadata, DataTypeLocationValue, DialogContext, DialogOptions, DialogParamValue, DialogParams, DialogResponseData, DialogResponseHandler, DialogResponseHandlers, DialogType, DynamicInput, DynamicInputs, EditConnectedDataMessage, EditConnectedDataResponse, EditConnectedDataResponseCancellationContext, GetDataResourceLocation, GetDataResourceMessage, IntegrationDefinitionClient, IntegrationDefinitionDeleteParameters, IntegrationDefinitionGetParameters, IntegrationDefinitionGetResponse, IntegrationDefinitionPutParameters, IntegrationDefinitionPutResponse, IntegrationInstallationClient, IntegrationInstallationDeleteParameters, IntegrationInstallationGetParameters, IntegrationInstallationGetResponse, IntegrationInstallationPutParameters, LocationDialogResponse, MeshContextData, MeshLocation, MeshLocationCore, MeshLocationTypes, MeshSDKEventInterface, OpenConfirmationDialogOptions, OpenConfirmationDialogResult, OpenDialogMessage, OpenDialogResult, OpenLocationDialogOptions, ParamTypeConfigLocation, ParamTypeConfigLocationMetadata, ParamTypeLocation, ParamTypeLocationMetadata, PromptSettingsLocationMetadata, SdkWindow, SetLocationFunction, SetValueMessage, SetValueOptions, SettingsLocation, SettingsLocationMetadata, UniformMeshSDK, UniformMeshSDKEvents, ValidationResult, initializeUniformMeshSDK };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ApiClient, ClientOptions, ExceptProject } from '@uniformdev/context/api';
|
|
2
2
|
import { ProjectMapNode } from '@uniformdev/project-map';
|
|
3
|
-
import {
|
|
3
|
+
import { AssetParamValue, DataType, DataSource, DataResourceVariables, RootComponentInstance, ComponentInstance, ComponentDefinition, ComponentDefinitionParameter, DataVariableDefinition } from '@uniformdev/canvas';
|
|
4
|
+
export { AssetParamValue, AssetParamValueItem } from '@uniformdev/canvas';
|
|
4
5
|
import { Emitter } from 'mitt';
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -102,6 +103,14 @@ interface paths$1 {
|
|
|
102
103
|
singleAssetArchetypeId: string;
|
|
103
104
|
};
|
|
104
105
|
};
|
|
106
|
+
unstable_assetLibrary?: {
|
|
107
|
+
url: string;
|
|
108
|
+
dynamicAssets?: {
|
|
109
|
+
dataConnectorId: string;
|
|
110
|
+
assetsListArchetypeId: string;
|
|
111
|
+
singleAssetArchetypeId: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
105
114
|
ai?: {
|
|
106
115
|
generateUrl: string;
|
|
107
116
|
metadataUrl?: string;
|
|
@@ -243,6 +252,14 @@ interface paths$1 {
|
|
|
243
252
|
singleAssetArchetypeId: string;
|
|
244
253
|
};
|
|
245
254
|
};
|
|
255
|
+
unstable_assetLibrary?: {
|
|
256
|
+
url: string;
|
|
257
|
+
dynamicAssets?: {
|
|
258
|
+
dataConnectorId: string;
|
|
259
|
+
assetsListArchetypeId: string;
|
|
260
|
+
singleAssetArchetypeId: string;
|
|
261
|
+
};
|
|
262
|
+
};
|
|
246
263
|
ai?: {
|
|
247
264
|
generateUrl: string;
|
|
248
265
|
metadataUrl?: string;
|
|
@@ -383,6 +400,14 @@ interface paths$1 {
|
|
|
383
400
|
singleAssetArchetypeId: string;
|
|
384
401
|
};
|
|
385
402
|
};
|
|
403
|
+
unstable_assetLibrary?: {
|
|
404
|
+
url: string;
|
|
405
|
+
dynamicAssets?: {
|
|
406
|
+
dataConnectorId: string;
|
|
407
|
+
assetsListArchetypeId: string;
|
|
408
|
+
singleAssetArchetypeId: string;
|
|
409
|
+
};
|
|
410
|
+
};
|
|
386
411
|
ai?: {
|
|
387
412
|
generateUrl: string;
|
|
388
413
|
metadataUrl?: string;
|
|
@@ -772,6 +797,14 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
772
797
|
singleAssetArchetypeId: string;
|
|
773
798
|
} | undefined;
|
|
774
799
|
} | undefined;
|
|
800
|
+
unstable_assetLibrary?: {
|
|
801
|
+
url: string;
|
|
802
|
+
dynamicAssets?: {
|
|
803
|
+
dataConnectorId: string;
|
|
804
|
+
assetsListArchetypeId: string;
|
|
805
|
+
singleAssetArchetypeId: string;
|
|
806
|
+
} | undefined;
|
|
807
|
+
} | undefined;
|
|
775
808
|
ai?: {
|
|
776
809
|
generateUrl: string;
|
|
777
810
|
metadataUrl?: string | undefined;
|
|
@@ -860,80 +893,6 @@ type AssetParameterLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
|
860
893
|
*/
|
|
861
894
|
maxAssets?: number;
|
|
862
895
|
};
|
|
863
|
-
type AssetParamValue = AssetParamValueItem[];
|
|
864
|
-
type AssetParamValueItem = {
|
|
865
|
-
type: string;
|
|
866
|
-
_id: string;
|
|
867
|
-
/**
|
|
868
|
-
* Internal Uniform source ID or
|
|
869
|
-
* dataType ID of the global integration library
|
|
870
|
-
* which created this asset item
|
|
871
|
-
*/
|
|
872
|
-
_source?: string;
|
|
873
|
-
fields: {
|
|
874
|
-
url: {
|
|
875
|
-
type: 'text';
|
|
876
|
-
value: string;
|
|
877
|
-
};
|
|
878
|
-
id?: {
|
|
879
|
-
type: 'text';
|
|
880
|
-
value: string | undefined;
|
|
881
|
-
};
|
|
882
|
-
title?: {
|
|
883
|
-
type: 'text';
|
|
884
|
-
value: string | undefined;
|
|
885
|
-
};
|
|
886
|
-
description?: {
|
|
887
|
-
type: 'text';
|
|
888
|
-
value: string | undefined;
|
|
889
|
-
};
|
|
890
|
-
mediaType?: {
|
|
891
|
-
type: 'text';
|
|
892
|
-
value: string | undefined;
|
|
893
|
-
};
|
|
894
|
-
/**
|
|
895
|
-
* The width of the original asset
|
|
896
|
-
*
|
|
897
|
-
* Should resolve to a number but might
|
|
898
|
-
* be a string with a pointer reference
|
|
899
|
-
*/
|
|
900
|
-
width?: {
|
|
901
|
-
type: 'number';
|
|
902
|
-
value: number | string | undefined;
|
|
903
|
-
};
|
|
904
|
-
/**
|
|
905
|
-
* The height of the original asset
|
|
906
|
-
*
|
|
907
|
-
* Should resolve to a number but might
|
|
908
|
-
* be a string with a pointer reference
|
|
909
|
-
*/
|
|
910
|
-
height?: {
|
|
911
|
-
type: 'number';
|
|
912
|
-
value: number | string | undefined;
|
|
913
|
-
};
|
|
914
|
-
/**
|
|
915
|
-
* The size in bytes of the original asset
|
|
916
|
-
*
|
|
917
|
-
* Should resolve to a number but might
|
|
918
|
-
* be a string with a pointer reference
|
|
919
|
-
*/
|
|
920
|
-
size?: {
|
|
921
|
-
type: 'number';
|
|
922
|
-
value: number | string | undefined;
|
|
923
|
-
};
|
|
924
|
-
/**
|
|
925
|
-
* Any key/value properties which the source
|
|
926
|
-
* wants to attach to the asset data
|
|
927
|
-
*/
|
|
928
|
-
custom?: {
|
|
929
|
-
type: string;
|
|
930
|
-
value: Record<string, unknown>;
|
|
931
|
-
};
|
|
932
|
-
};
|
|
933
|
-
_overrides?: {
|
|
934
|
-
fields: ComponentOverride['parameters'];
|
|
935
|
-
};
|
|
936
|
-
};
|
|
937
896
|
type AssetLibraryLocation = MeshLocationCore<unknown, AssetLibraryLocationMetadata, unknown, 'assetLibrary'> & GetDataResourceLocation;
|
|
938
897
|
type AssetParameterLocation = MeshLocationCore<AssetParamValue, AssetParameterLocationMetadata, AssetParamValue, 'assetParameter'> & GetDataResourceLocation;
|
|
939
898
|
|
|
@@ -1364,4 +1323,4 @@ declare function initializeUniformMeshSDK({ autoResizingDisabled, }?: {
|
|
|
1364
1323
|
autoResizingDisabled?: boolean;
|
|
1365
1324
|
}): Promise<UniformMeshSDK | undefined>;
|
|
1366
1325
|
|
|
1367
|
-
export { AIGenerateLocation, AIGenerateLocationMetadata, AIPromptMetadataLocation, AssetLibraryLocation, AssetLibraryLocationMetadata,
|
|
1326
|
+
export { AIGenerateLocation, AIGenerateLocationMetadata, AIPromptMetadataLocation, AssetLibraryLocation, AssetLibraryLocationMetadata, AssetParameterLocation, AssetParameterLocationMetadata, BindableTypes, CSSHeight, CloseDialogMessage, CloseLocationDialogOptions, DataConnectorInfo, DataResourceLocation, DataResourceLocationMetadata, DataSourceLocation, DataSourceLocationMetadata, DataSourceLocationValue, DataTypeLocation, DataTypeLocationMetadata, DataTypeLocationValue, DialogContext, DialogOptions, DialogParamValue, DialogParams, DialogResponseData, DialogResponseHandler, DialogResponseHandlers, DialogType, DynamicInput, DynamicInputs, EditConnectedDataMessage, EditConnectedDataResponse, EditConnectedDataResponseCancellationContext, GetDataResourceLocation, GetDataResourceMessage, IntegrationDefinitionClient, IntegrationDefinitionDeleteParameters, IntegrationDefinitionGetParameters, IntegrationDefinitionGetResponse, IntegrationDefinitionPutParameters, IntegrationDefinitionPutResponse, IntegrationInstallationClient, IntegrationInstallationDeleteParameters, IntegrationInstallationGetParameters, IntegrationInstallationGetResponse, IntegrationInstallationPutParameters, LocationDialogResponse, MeshContextData, MeshLocation, MeshLocationCore, MeshLocationTypes, MeshSDKEventInterface, OpenConfirmationDialogOptions, OpenConfirmationDialogResult, OpenDialogMessage, OpenDialogResult, OpenLocationDialogOptions, ParamTypeConfigLocation, ParamTypeConfigLocationMetadata, ParamTypeLocation, ParamTypeLocationMetadata, PromptSettingsLocationMetadata, SdkWindow, SetLocationFunction, SetValueMessage, SetValueOptions, SettingsLocation, SettingsLocationMetadata, UniformMeshSDK, UniformMeshSDKEvents, ValidationResult, initializeUniformMeshSDK };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/mesh-sdk",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.81.1",
|
|
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.81.1",
|
|
37
|
+
"@uniformdev/context": "19.81.1",
|
|
38
|
+
"@uniformdev/project-map": "19.81.1",
|
|
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": "e72e4f188122bfe8b9944515be927d1f3febf257"
|
|
46
46
|
}
|