@uniformdev/mesh-sdk 19.78.1 → 19.79.1-alpha.11
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 +120 -24
- package/dist/index.d.ts +120 -24
- 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 { DataType, DataSource, DataResourceVariables, RootComponentInstance, ComponentInstance, ComponentDefinition, ComponentDefinitionParameter, DataVariableDefinition } from '@uniformdev/canvas';
|
|
3
|
+
import { ComponentOverride, DataType, DataSource, DataResourceVariables, RootComponentInstance, ComponentInstance, ComponentDefinition, ComponentDefinitionParameter, DataVariableDefinition } from '@uniformdev/canvas';
|
|
4
4
|
import { Emitter } from 'mitt';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -93,8 +93,14 @@ interface paths$1 {
|
|
|
93
93
|
};
|
|
94
94
|
badgeIconUrl?: string;
|
|
95
95
|
}[];
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
assetLibrary?: {
|
|
97
|
+
assetLibraryUrl: string;
|
|
98
|
+
assetParameterUrl: string;
|
|
99
|
+
unstable_dynamicAssets?: {
|
|
100
|
+
dataConnectorId: string;
|
|
101
|
+
assetsListArchetypeId: string;
|
|
102
|
+
singleAssetArchetypeId: string;
|
|
103
|
+
};
|
|
98
104
|
};
|
|
99
105
|
ai?: {
|
|
100
106
|
generateUrl: string;
|
|
@@ -228,8 +234,14 @@ interface paths$1 {
|
|
|
228
234
|
};
|
|
229
235
|
badgeIconUrl?: string;
|
|
230
236
|
}[];
|
|
231
|
-
|
|
232
|
-
|
|
237
|
+
assetLibrary?: {
|
|
238
|
+
assetLibraryUrl: string;
|
|
239
|
+
assetParameterUrl: string;
|
|
240
|
+
unstable_dynamicAssets?: {
|
|
241
|
+
dataConnectorId: string;
|
|
242
|
+
assetsListArchetypeId: string;
|
|
243
|
+
singleAssetArchetypeId: string;
|
|
244
|
+
};
|
|
233
245
|
};
|
|
234
246
|
ai?: {
|
|
235
247
|
generateUrl: string;
|
|
@@ -362,8 +374,14 @@ interface paths$1 {
|
|
|
362
374
|
};
|
|
363
375
|
badgeIconUrl?: string;
|
|
364
376
|
}[];
|
|
365
|
-
|
|
366
|
-
|
|
377
|
+
assetLibrary?: {
|
|
378
|
+
assetLibraryUrl: string;
|
|
379
|
+
assetParameterUrl: string;
|
|
380
|
+
unstable_dynamicAssets?: {
|
|
381
|
+
dataConnectorId: string;
|
|
382
|
+
assetsListArchetypeId: string;
|
|
383
|
+
singleAssetArchetypeId: string;
|
|
384
|
+
};
|
|
367
385
|
};
|
|
368
386
|
ai?: {
|
|
369
387
|
generateUrl: string;
|
|
@@ -745,8 +763,14 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
745
763
|
} | undefined;
|
|
746
764
|
badgeIconUrl?: string | undefined;
|
|
747
765
|
}[] | undefined;
|
|
748
|
-
|
|
749
|
-
|
|
766
|
+
assetLibrary?: {
|
|
767
|
+
assetLibraryUrl: string;
|
|
768
|
+
assetParameterUrl: string;
|
|
769
|
+
unstable_dynamicAssets?: {
|
|
770
|
+
dataConnectorId: string;
|
|
771
|
+
assetsListArchetypeId: string;
|
|
772
|
+
singleAssetArchetypeId: string;
|
|
773
|
+
} | undefined;
|
|
750
774
|
} | undefined;
|
|
751
775
|
ai?: {
|
|
752
776
|
generateUrl: string;
|
|
@@ -820,26 +844,98 @@ type AssetLibraryLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
|
820
844
|
/** The current Uniform integration source ID */
|
|
821
845
|
sourceId: string;
|
|
822
846
|
};
|
|
847
|
+
type AssetParameterLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
848
|
+
/** Settings defined at the integration level (arbitrary type used on settings location) */
|
|
849
|
+
settings: TIntegrationConfiguration;
|
|
850
|
+
/** The Uniform project ID */
|
|
851
|
+
projectId: string;
|
|
852
|
+
/** The current Uniform integration source ID */
|
|
853
|
+
sourceId: string;
|
|
854
|
+
/** The resolved data if this source is connected to a data resource */
|
|
855
|
+
dataResourceData?: unknown;
|
|
856
|
+
/**
|
|
857
|
+
* The maximum number of assets that can be selected in the Asset Library.
|
|
858
|
+
*
|
|
859
|
+
* Default: 1
|
|
860
|
+
*/
|
|
861
|
+
maxAssets?: number;
|
|
862
|
+
};
|
|
823
863
|
type AssetParamValue = AssetParamValueItem[];
|
|
824
864
|
type AssetParamValueItem = {
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
type?: string;
|
|
865
|
+
type: string;
|
|
866
|
+
_id: string;
|
|
828
867
|
/**
|
|
829
868
|
* Internal Uniform source ID or
|
|
830
869
|
* dataType ID of the global integration library
|
|
831
870
|
* which created this asset item
|
|
832
871
|
*/
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
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
|
+
};
|
|
841
936
|
};
|
|
842
|
-
type AssetLibraryLocation = MeshLocationCore<
|
|
937
|
+
type AssetLibraryLocation = MeshLocationCore<unknown, AssetLibraryLocationMetadata, unknown, 'assetLibrary'> & GetDataResourceLocation;
|
|
938
|
+
type AssetParameterLocation = MeshLocationCore<AssetParamValue, AssetParameterLocationMetadata, AssetParamValue, 'assetParameter'> & GetDataResourceLocation;
|
|
843
939
|
|
|
844
940
|
type DataTypeLocationValue = Pick<DataType, 'body' | 'method' | 'path' | 'custom' | 'headers' | 'parameters' | 'variables'>;
|
|
845
941
|
type DataConnectorInfo = {
|
|
@@ -933,7 +1029,7 @@ type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsL
|
|
|
933
1029
|
* Defines methods used for interacting with a Mesh location
|
|
934
1030
|
* To receive useful typings, check the `type` property of the location to narrow the typing.
|
|
935
1031
|
*/
|
|
936
|
-
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
|
|
1032
|
+
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | AssetParameterLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
|
|
937
1033
|
interface MeshContextData {
|
|
938
1034
|
locationKey: string;
|
|
939
1035
|
locationType: MeshLocationTypes;
|
|
@@ -1122,7 +1218,7 @@ interface MeshLocationCore<TValue = unknown, TMetadata = unknown, TSetValue = TV
|
|
|
1122
1218
|
/**
|
|
1123
1219
|
* Known location types that can be passed to a mesh location
|
|
1124
1220
|
*/
|
|
1125
|
-
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | 'aiMetadata';
|
|
1221
|
+
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'assetParameter' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | 'aiMetadata';
|
|
1126
1222
|
type SetValueOptions = ValidationResult;
|
|
1127
1223
|
type SetValueMessage = {
|
|
1128
1224
|
uniformMeshLocationValue: unknown;
|
|
@@ -1268,4 +1364,4 @@ declare function initializeUniformMeshSDK({ autoResizingDisabled, }?: {
|
|
|
1268
1364
|
autoResizingDisabled?: boolean;
|
|
1269
1365
|
}): Promise<UniformMeshSDK | undefined>;
|
|
1270
1366
|
|
|
1271
|
-
export { AIGenerateLocation, AIGenerateLocationMetadata, AIPromptMetadataLocation, AssetLibraryLocation, AssetLibraryLocationMetadata, AssetParamValue, AssetParamValueItem, 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 };
|
|
1367
|
+
export { AIGenerateLocation, AIGenerateLocationMetadata, AIPromptMetadataLocation, AssetLibraryLocation, AssetLibraryLocationMetadata, AssetParamValue, AssetParamValueItem, 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,6 @@
|
|
|
1
1
|
import { ApiClient, ClientOptions, ExceptProject } from '@uniformdev/context/api';
|
|
2
2
|
import { ProjectMapNode } from '@uniformdev/project-map';
|
|
3
|
-
import { DataType, DataSource, DataResourceVariables, RootComponentInstance, ComponentInstance, ComponentDefinition, ComponentDefinitionParameter, DataVariableDefinition } from '@uniformdev/canvas';
|
|
3
|
+
import { ComponentOverride, DataType, DataSource, DataResourceVariables, RootComponentInstance, ComponentInstance, ComponentDefinition, ComponentDefinitionParameter, DataVariableDefinition } from '@uniformdev/canvas';
|
|
4
4
|
import { Emitter } from 'mitt';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -93,8 +93,14 @@ interface paths$1 {
|
|
|
93
93
|
};
|
|
94
94
|
badgeIconUrl?: string;
|
|
95
95
|
}[];
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
assetLibrary?: {
|
|
97
|
+
assetLibraryUrl: string;
|
|
98
|
+
assetParameterUrl: string;
|
|
99
|
+
unstable_dynamicAssets?: {
|
|
100
|
+
dataConnectorId: string;
|
|
101
|
+
assetsListArchetypeId: string;
|
|
102
|
+
singleAssetArchetypeId: string;
|
|
103
|
+
};
|
|
98
104
|
};
|
|
99
105
|
ai?: {
|
|
100
106
|
generateUrl: string;
|
|
@@ -228,8 +234,14 @@ interface paths$1 {
|
|
|
228
234
|
};
|
|
229
235
|
badgeIconUrl?: string;
|
|
230
236
|
}[];
|
|
231
|
-
|
|
232
|
-
|
|
237
|
+
assetLibrary?: {
|
|
238
|
+
assetLibraryUrl: string;
|
|
239
|
+
assetParameterUrl: string;
|
|
240
|
+
unstable_dynamicAssets?: {
|
|
241
|
+
dataConnectorId: string;
|
|
242
|
+
assetsListArchetypeId: string;
|
|
243
|
+
singleAssetArchetypeId: string;
|
|
244
|
+
};
|
|
233
245
|
};
|
|
234
246
|
ai?: {
|
|
235
247
|
generateUrl: string;
|
|
@@ -362,8 +374,14 @@ interface paths$1 {
|
|
|
362
374
|
};
|
|
363
375
|
badgeIconUrl?: string;
|
|
364
376
|
}[];
|
|
365
|
-
|
|
366
|
-
|
|
377
|
+
assetLibrary?: {
|
|
378
|
+
assetLibraryUrl: string;
|
|
379
|
+
assetParameterUrl: string;
|
|
380
|
+
unstable_dynamicAssets?: {
|
|
381
|
+
dataConnectorId: string;
|
|
382
|
+
assetsListArchetypeId: string;
|
|
383
|
+
singleAssetArchetypeId: string;
|
|
384
|
+
};
|
|
367
385
|
};
|
|
368
386
|
ai?: {
|
|
369
387
|
generateUrl: string;
|
|
@@ -745,8 +763,14 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
745
763
|
} | undefined;
|
|
746
764
|
badgeIconUrl?: string | undefined;
|
|
747
765
|
}[] | undefined;
|
|
748
|
-
|
|
749
|
-
|
|
766
|
+
assetLibrary?: {
|
|
767
|
+
assetLibraryUrl: string;
|
|
768
|
+
assetParameterUrl: string;
|
|
769
|
+
unstable_dynamicAssets?: {
|
|
770
|
+
dataConnectorId: string;
|
|
771
|
+
assetsListArchetypeId: string;
|
|
772
|
+
singleAssetArchetypeId: string;
|
|
773
|
+
} | undefined;
|
|
750
774
|
} | undefined;
|
|
751
775
|
ai?: {
|
|
752
776
|
generateUrl: string;
|
|
@@ -820,26 +844,98 @@ type AssetLibraryLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
|
820
844
|
/** The current Uniform integration source ID */
|
|
821
845
|
sourceId: string;
|
|
822
846
|
};
|
|
847
|
+
type AssetParameterLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
848
|
+
/** Settings defined at the integration level (arbitrary type used on settings location) */
|
|
849
|
+
settings: TIntegrationConfiguration;
|
|
850
|
+
/** The Uniform project ID */
|
|
851
|
+
projectId: string;
|
|
852
|
+
/** The current Uniform integration source ID */
|
|
853
|
+
sourceId: string;
|
|
854
|
+
/** The resolved data if this source is connected to a data resource */
|
|
855
|
+
dataResourceData?: unknown;
|
|
856
|
+
/**
|
|
857
|
+
* The maximum number of assets that can be selected in the Asset Library.
|
|
858
|
+
*
|
|
859
|
+
* Default: 1
|
|
860
|
+
*/
|
|
861
|
+
maxAssets?: number;
|
|
862
|
+
};
|
|
823
863
|
type AssetParamValue = AssetParamValueItem[];
|
|
824
864
|
type AssetParamValueItem = {
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
type?: string;
|
|
865
|
+
type: string;
|
|
866
|
+
_id: string;
|
|
828
867
|
/**
|
|
829
868
|
* Internal Uniform source ID or
|
|
830
869
|
* dataType ID of the global integration library
|
|
831
870
|
* which created this asset item
|
|
832
871
|
*/
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
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
|
+
};
|
|
841
936
|
};
|
|
842
|
-
type AssetLibraryLocation = MeshLocationCore<
|
|
937
|
+
type AssetLibraryLocation = MeshLocationCore<unknown, AssetLibraryLocationMetadata, unknown, 'assetLibrary'> & GetDataResourceLocation;
|
|
938
|
+
type AssetParameterLocation = MeshLocationCore<AssetParamValue, AssetParameterLocationMetadata, AssetParamValue, 'assetParameter'> & GetDataResourceLocation;
|
|
843
939
|
|
|
844
940
|
type DataTypeLocationValue = Pick<DataType, 'body' | 'method' | 'path' | 'custom' | 'headers' | 'parameters' | 'variables'>;
|
|
845
941
|
type DataConnectorInfo = {
|
|
@@ -933,7 +1029,7 @@ type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsL
|
|
|
933
1029
|
* Defines methods used for interacting with a Mesh location
|
|
934
1030
|
* To receive useful typings, check the `type` property of the location to narrow the typing.
|
|
935
1031
|
*/
|
|
936
|
-
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
|
|
1032
|
+
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | AssetParameterLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
|
|
937
1033
|
interface MeshContextData {
|
|
938
1034
|
locationKey: string;
|
|
939
1035
|
locationType: MeshLocationTypes;
|
|
@@ -1122,7 +1218,7 @@ interface MeshLocationCore<TValue = unknown, TMetadata = unknown, TSetValue = TV
|
|
|
1122
1218
|
/**
|
|
1123
1219
|
* Known location types that can be passed to a mesh location
|
|
1124
1220
|
*/
|
|
1125
|
-
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | 'aiMetadata';
|
|
1221
|
+
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'assetParameter' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | 'aiMetadata';
|
|
1126
1222
|
type SetValueOptions = ValidationResult;
|
|
1127
1223
|
type SetValueMessage = {
|
|
1128
1224
|
uniformMeshLocationValue: unknown;
|
|
@@ -1268,4 +1364,4 @@ declare function initializeUniformMeshSDK({ autoResizingDisabled, }?: {
|
|
|
1268
1364
|
autoResizingDisabled?: boolean;
|
|
1269
1365
|
}): Promise<UniformMeshSDK | undefined>;
|
|
1270
1366
|
|
|
1271
|
-
export { AIGenerateLocation, AIGenerateLocationMetadata, AIPromptMetadataLocation, AssetLibraryLocation, AssetLibraryLocationMetadata, AssetParamValue, AssetParamValueItem, 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 };
|
|
1367
|
+
export { AIGenerateLocation, AIGenerateLocationMetadata, AIPromptMetadataLocation, AssetLibraryLocation, AssetLibraryLocationMetadata, AssetParamValue, AssetParamValueItem, 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.79.1-alpha.11+4547ef846",
|
|
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.79.1-alpha.11+4547ef846",
|
|
37
|
+
"@uniformdev/context": "19.79.1-alpha.11+4547ef846",
|
|
38
|
+
"@uniformdev/project-map": "19.79.1-alpha.11+4547ef846",
|
|
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": "4547ef8469f21f7f2341bcd87203372c4646bc08"
|
|
46
46
|
}
|