@uniformdev/mesh-sdk 19.79.1-alpha.11 → 19.79.1-alpha.7
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 +53 -76
- package/dist/index.d.ts +53 -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
|
/**
|
|
@@ -63,6 +64,8 @@ interface paths$1 {
|
|
|
63
64
|
};
|
|
64
65
|
};
|
|
65
66
|
renderableInPropertyPanel?: boolean;
|
|
67
|
+
/** @enum {string} */
|
|
68
|
+
localizable?: "default-yes" | "default-no" | "yes" | "no";
|
|
66
69
|
}[];
|
|
67
70
|
};
|
|
68
71
|
dataConnectors?: {
|
|
@@ -102,6 +105,14 @@ interface paths$1 {
|
|
|
102
105
|
singleAssetArchetypeId: string;
|
|
103
106
|
};
|
|
104
107
|
};
|
|
108
|
+
unstable_assetLibrary?: {
|
|
109
|
+
url: string;
|
|
110
|
+
dynamicAssets?: {
|
|
111
|
+
dataConnectorId: string;
|
|
112
|
+
assetsListArchetypeId: string;
|
|
113
|
+
singleAssetArchetypeId: string;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
105
116
|
ai?: {
|
|
106
117
|
generateUrl: string;
|
|
107
118
|
metadataUrl?: string;
|
|
@@ -204,6 +215,8 @@ interface paths$1 {
|
|
|
204
215
|
};
|
|
205
216
|
};
|
|
206
217
|
renderableInPropertyPanel?: boolean;
|
|
218
|
+
/** @enum {string} */
|
|
219
|
+
localizable?: "default-yes" | "default-no" | "yes" | "no";
|
|
207
220
|
}[];
|
|
208
221
|
};
|
|
209
222
|
dataConnectors?: {
|
|
@@ -243,6 +256,14 @@ interface paths$1 {
|
|
|
243
256
|
singleAssetArchetypeId: string;
|
|
244
257
|
};
|
|
245
258
|
};
|
|
259
|
+
unstable_assetLibrary?: {
|
|
260
|
+
url: string;
|
|
261
|
+
dynamicAssets?: {
|
|
262
|
+
dataConnectorId: string;
|
|
263
|
+
assetsListArchetypeId: string;
|
|
264
|
+
singleAssetArchetypeId: string;
|
|
265
|
+
};
|
|
266
|
+
};
|
|
246
267
|
ai?: {
|
|
247
268
|
generateUrl: string;
|
|
248
269
|
metadataUrl?: string;
|
|
@@ -344,6 +365,8 @@ interface paths$1 {
|
|
|
344
365
|
};
|
|
345
366
|
};
|
|
346
367
|
renderableInPropertyPanel?: boolean;
|
|
368
|
+
/** @enum {string} */
|
|
369
|
+
localizable?: "default-yes" | "default-no" | "yes" | "no";
|
|
347
370
|
}[];
|
|
348
371
|
};
|
|
349
372
|
dataConnectors?: {
|
|
@@ -383,6 +406,14 @@ interface paths$1 {
|
|
|
383
406
|
singleAssetArchetypeId: string;
|
|
384
407
|
};
|
|
385
408
|
};
|
|
409
|
+
unstable_assetLibrary?: {
|
|
410
|
+
url: string;
|
|
411
|
+
dynamicAssets?: {
|
|
412
|
+
dataConnectorId: string;
|
|
413
|
+
assetsListArchetypeId: string;
|
|
414
|
+
singleAssetArchetypeId: string;
|
|
415
|
+
};
|
|
416
|
+
};
|
|
386
417
|
ai?: {
|
|
387
418
|
generateUrl: string;
|
|
388
419
|
metadataUrl?: string;
|
|
@@ -733,6 +764,7 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
733
764
|
};
|
|
734
765
|
} | undefined;
|
|
735
766
|
renderableInPropertyPanel?: boolean | undefined;
|
|
767
|
+
localizable?: "default-yes" | "default-no" | "yes" | "no" | undefined;
|
|
736
768
|
}[];
|
|
737
769
|
} | undefined;
|
|
738
770
|
dataConnectors?: {
|
|
@@ -772,6 +804,14 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
772
804
|
singleAssetArchetypeId: string;
|
|
773
805
|
} | undefined;
|
|
774
806
|
} | undefined;
|
|
807
|
+
unstable_assetLibrary?: {
|
|
808
|
+
url: string;
|
|
809
|
+
dynamicAssets?: {
|
|
810
|
+
dataConnectorId: string;
|
|
811
|
+
assetsListArchetypeId: string;
|
|
812
|
+
singleAssetArchetypeId: string;
|
|
813
|
+
} | undefined;
|
|
814
|
+
} | undefined;
|
|
775
815
|
ai?: {
|
|
776
816
|
generateUrl: string;
|
|
777
817
|
metadataUrl?: string | undefined;
|
|
@@ -860,80 +900,6 @@ type AssetParameterLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
|
860
900
|
*/
|
|
861
901
|
maxAssets?: number;
|
|
862
902
|
};
|
|
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
903
|
type AssetLibraryLocation = MeshLocationCore<unknown, AssetLibraryLocationMetadata, unknown, 'assetLibrary'> & GetDataResourceLocation;
|
|
938
904
|
type AssetParameterLocation = MeshLocationCore<AssetParamValue, AssetParameterLocationMetadata, AssetParamValue, 'assetParameter'> & GetDataResourceLocation;
|
|
939
905
|
|
|
@@ -1011,6 +977,13 @@ type ParamTypeLocationMetadata<TParamConfiguration = unknown, TIntegrationConfig
|
|
|
1011
977
|
* Use the <ParamTypeDynamicDataProvider> to wire up dynamic data in your parameter.
|
|
1012
978
|
*/
|
|
1013
979
|
connectedData: Record<string, unknown>;
|
|
980
|
+
/**
|
|
981
|
+
* The target locale being edited.
|
|
982
|
+
* If the parameter is not defined as localizable, then this is always undefined.
|
|
983
|
+
* If the parameter is localizable, then this is the current editor language.
|
|
984
|
+
* Note that setValue() always sets the target language automatically.
|
|
985
|
+
*/
|
|
986
|
+
targetLocale: string | undefined;
|
|
1014
987
|
};
|
|
1015
988
|
type ParamTypeLocation<TParamValue = unknown, TParamConfiguration = unknown, TParamSetValue = TParamValue, TIntegrationConfiguration = unknown> = MeshLocationCore<TParamValue | undefined, ParamTypeLocationMetadata<TParamConfiguration, TIntegrationConfiguration>, TParamSetValue, 'paramType'> & {
|
|
1016
989
|
/**
|
|
@@ -1251,9 +1224,13 @@ type AIGenerateLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
|
1251
1224
|
projectId: string;
|
|
1252
1225
|
prompt: string;
|
|
1253
1226
|
promptMetadata: Record<string, unknown>;
|
|
1227
|
+
/** Useful to differentiate AI Generate UI between text and image */
|
|
1228
|
+
promptOutputType: 'text' | 'image';
|
|
1254
1229
|
};
|
|
1255
1230
|
type PromptSettingsLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
1256
1231
|
settings: TIntegrationConfiguration;
|
|
1232
|
+
/** Useful to differentiate metadata settings between text and image generation */
|
|
1233
|
+
promptOutputType: 'text' | 'image';
|
|
1257
1234
|
};
|
|
1258
1235
|
type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'aiGenerate'>;
|
|
1259
1236
|
type AIPromptMetadataLocation = MeshLocationCore<Record<string, unknown>, PromptSettingsLocationMetadata, Record<string, unknown>, 'aiMetadata'>;
|
|
@@ -1364,4 +1341,4 @@ declare function initializeUniformMeshSDK({ autoResizingDisabled, }?: {
|
|
|
1364
1341
|
autoResizingDisabled?: boolean;
|
|
1365
1342
|
}): Promise<UniformMeshSDK | undefined>;
|
|
1366
1343
|
|
|
1367
|
-
export { AIGenerateLocation, AIGenerateLocationMetadata, AIPromptMetadataLocation, AssetLibraryLocation, AssetLibraryLocationMetadata,
|
|
1344
|
+
export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, type CSSHeight, type CloseDialogMessage, type CloseLocationDialogOptions, 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 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 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
|
/**
|
|
@@ -63,6 +64,8 @@ interface paths$1 {
|
|
|
63
64
|
};
|
|
64
65
|
};
|
|
65
66
|
renderableInPropertyPanel?: boolean;
|
|
67
|
+
/** @enum {string} */
|
|
68
|
+
localizable?: "default-yes" | "default-no" | "yes" | "no";
|
|
66
69
|
}[];
|
|
67
70
|
};
|
|
68
71
|
dataConnectors?: {
|
|
@@ -102,6 +105,14 @@ interface paths$1 {
|
|
|
102
105
|
singleAssetArchetypeId: string;
|
|
103
106
|
};
|
|
104
107
|
};
|
|
108
|
+
unstable_assetLibrary?: {
|
|
109
|
+
url: string;
|
|
110
|
+
dynamicAssets?: {
|
|
111
|
+
dataConnectorId: string;
|
|
112
|
+
assetsListArchetypeId: string;
|
|
113
|
+
singleAssetArchetypeId: string;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
105
116
|
ai?: {
|
|
106
117
|
generateUrl: string;
|
|
107
118
|
metadataUrl?: string;
|
|
@@ -204,6 +215,8 @@ interface paths$1 {
|
|
|
204
215
|
};
|
|
205
216
|
};
|
|
206
217
|
renderableInPropertyPanel?: boolean;
|
|
218
|
+
/** @enum {string} */
|
|
219
|
+
localizable?: "default-yes" | "default-no" | "yes" | "no";
|
|
207
220
|
}[];
|
|
208
221
|
};
|
|
209
222
|
dataConnectors?: {
|
|
@@ -243,6 +256,14 @@ interface paths$1 {
|
|
|
243
256
|
singleAssetArchetypeId: string;
|
|
244
257
|
};
|
|
245
258
|
};
|
|
259
|
+
unstable_assetLibrary?: {
|
|
260
|
+
url: string;
|
|
261
|
+
dynamicAssets?: {
|
|
262
|
+
dataConnectorId: string;
|
|
263
|
+
assetsListArchetypeId: string;
|
|
264
|
+
singleAssetArchetypeId: string;
|
|
265
|
+
};
|
|
266
|
+
};
|
|
246
267
|
ai?: {
|
|
247
268
|
generateUrl: string;
|
|
248
269
|
metadataUrl?: string;
|
|
@@ -344,6 +365,8 @@ interface paths$1 {
|
|
|
344
365
|
};
|
|
345
366
|
};
|
|
346
367
|
renderableInPropertyPanel?: boolean;
|
|
368
|
+
/** @enum {string} */
|
|
369
|
+
localizable?: "default-yes" | "default-no" | "yes" | "no";
|
|
347
370
|
}[];
|
|
348
371
|
};
|
|
349
372
|
dataConnectors?: {
|
|
@@ -383,6 +406,14 @@ interface paths$1 {
|
|
|
383
406
|
singleAssetArchetypeId: string;
|
|
384
407
|
};
|
|
385
408
|
};
|
|
409
|
+
unstable_assetLibrary?: {
|
|
410
|
+
url: string;
|
|
411
|
+
dynamicAssets?: {
|
|
412
|
+
dataConnectorId: string;
|
|
413
|
+
assetsListArchetypeId: string;
|
|
414
|
+
singleAssetArchetypeId: string;
|
|
415
|
+
};
|
|
416
|
+
};
|
|
386
417
|
ai?: {
|
|
387
418
|
generateUrl: string;
|
|
388
419
|
metadataUrl?: string;
|
|
@@ -733,6 +764,7 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
733
764
|
};
|
|
734
765
|
} | undefined;
|
|
735
766
|
renderableInPropertyPanel?: boolean | undefined;
|
|
767
|
+
localizable?: "default-yes" | "default-no" | "yes" | "no" | undefined;
|
|
736
768
|
}[];
|
|
737
769
|
} | undefined;
|
|
738
770
|
dataConnectors?: {
|
|
@@ -772,6 +804,14 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
772
804
|
singleAssetArchetypeId: string;
|
|
773
805
|
} | undefined;
|
|
774
806
|
} | undefined;
|
|
807
|
+
unstable_assetLibrary?: {
|
|
808
|
+
url: string;
|
|
809
|
+
dynamicAssets?: {
|
|
810
|
+
dataConnectorId: string;
|
|
811
|
+
assetsListArchetypeId: string;
|
|
812
|
+
singleAssetArchetypeId: string;
|
|
813
|
+
} | undefined;
|
|
814
|
+
} | undefined;
|
|
775
815
|
ai?: {
|
|
776
816
|
generateUrl: string;
|
|
777
817
|
metadataUrl?: string | undefined;
|
|
@@ -860,80 +900,6 @@ type AssetParameterLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
|
860
900
|
*/
|
|
861
901
|
maxAssets?: number;
|
|
862
902
|
};
|
|
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
903
|
type AssetLibraryLocation = MeshLocationCore<unknown, AssetLibraryLocationMetadata, unknown, 'assetLibrary'> & GetDataResourceLocation;
|
|
938
904
|
type AssetParameterLocation = MeshLocationCore<AssetParamValue, AssetParameterLocationMetadata, AssetParamValue, 'assetParameter'> & GetDataResourceLocation;
|
|
939
905
|
|
|
@@ -1011,6 +977,13 @@ type ParamTypeLocationMetadata<TParamConfiguration = unknown, TIntegrationConfig
|
|
|
1011
977
|
* Use the <ParamTypeDynamicDataProvider> to wire up dynamic data in your parameter.
|
|
1012
978
|
*/
|
|
1013
979
|
connectedData: Record<string, unknown>;
|
|
980
|
+
/**
|
|
981
|
+
* The target locale being edited.
|
|
982
|
+
* If the parameter is not defined as localizable, then this is always undefined.
|
|
983
|
+
* If the parameter is localizable, then this is the current editor language.
|
|
984
|
+
* Note that setValue() always sets the target language automatically.
|
|
985
|
+
*/
|
|
986
|
+
targetLocale: string | undefined;
|
|
1014
987
|
};
|
|
1015
988
|
type ParamTypeLocation<TParamValue = unknown, TParamConfiguration = unknown, TParamSetValue = TParamValue, TIntegrationConfiguration = unknown> = MeshLocationCore<TParamValue | undefined, ParamTypeLocationMetadata<TParamConfiguration, TIntegrationConfiguration>, TParamSetValue, 'paramType'> & {
|
|
1016
989
|
/**
|
|
@@ -1251,9 +1224,13 @@ type AIGenerateLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
|
1251
1224
|
projectId: string;
|
|
1252
1225
|
prompt: string;
|
|
1253
1226
|
promptMetadata: Record<string, unknown>;
|
|
1227
|
+
/** Useful to differentiate AI Generate UI between text and image */
|
|
1228
|
+
promptOutputType: 'text' | 'image';
|
|
1254
1229
|
};
|
|
1255
1230
|
type PromptSettingsLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
1256
1231
|
settings: TIntegrationConfiguration;
|
|
1232
|
+
/** Useful to differentiate metadata settings between text and image generation */
|
|
1233
|
+
promptOutputType: 'text' | 'image';
|
|
1257
1234
|
};
|
|
1258
1235
|
type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'aiGenerate'>;
|
|
1259
1236
|
type AIPromptMetadataLocation = MeshLocationCore<Record<string, unknown>, PromptSettingsLocationMetadata, Record<string, unknown>, 'aiMetadata'>;
|
|
@@ -1364,4 +1341,4 @@ declare function initializeUniformMeshSDK({ autoResizingDisabled, }?: {
|
|
|
1364
1341
|
autoResizingDisabled?: boolean;
|
|
1365
1342
|
}): Promise<UniformMeshSDK | undefined>;
|
|
1366
1343
|
|
|
1367
|
-
export { AIGenerateLocation, AIGenerateLocationMetadata, AIPromptMetadataLocation, AssetLibraryLocation, AssetLibraryLocationMetadata,
|
|
1344
|
+
export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, type CSSHeight, type CloseDialogMessage, type CloseLocationDialogOptions, 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 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 ValidationResult, initializeUniformMeshSDK };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/mesh-sdk",
|
|
3
|
-
"version": "19.79.1-alpha.
|
|
3
|
+
"version": "19.79.1-alpha.7+bd4b0c6f4",
|
|
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.79.1-alpha.
|
|
37
|
-
"@uniformdev/context": "19.79.1-alpha.
|
|
38
|
-
"@uniformdev/project-map": "19.79.1-alpha.
|
|
36
|
+
"@uniformdev/canvas": "19.79.1-alpha.7+bd4b0c6f4",
|
|
37
|
+
"@uniformdev/context": "19.79.1-alpha.7+bd4b0c6f4",
|
|
38
|
+
"@uniformdev/project-map": "19.79.1-alpha.7+bd4b0c6f4",
|
|
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": "bd4b0c6f4a67549f8eb7e127a85927c798e7eed0"
|
|
46
46
|
}
|