@uniformdev/mesh-sdk 19.118.1-alpha.1 → 19.119.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 +9 -3
- package/dist/index.d.ts +9 -3
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -1017,6 +1017,12 @@ type OpenDialogResult = {
|
|
|
1017
1017
|
dialogLocation?: string;
|
|
1018
1018
|
};
|
|
1019
1019
|
type DialogSizes = 'narrow' | 'medium' | 'wide';
|
|
1020
|
+
/**
|
|
1021
|
+
* Here we are using a trick to allow arbitrary max width values, also prioritizing enum from maxWidth.
|
|
1022
|
+
*/
|
|
1023
|
+
type ArbitraryMaxWidth = string & {
|
|
1024
|
+
neverEverLetYouGo?: never;
|
|
1025
|
+
};
|
|
1020
1026
|
interface DialogOptions<TDialogParams = DialogParams> {
|
|
1021
1027
|
/**
|
|
1022
1028
|
* By default, dialogs will be closed when they set a value.
|
|
@@ -1033,7 +1039,7 @@ interface DialogOptions<TDialogParams = DialogParams> {
|
|
|
1033
1039
|
*
|
|
1034
1040
|
* @deprecated Use `width` instead. This property will become ignored in a future release.
|
|
1035
1041
|
*/
|
|
1036
|
-
maxWidth?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | 'full' |
|
|
1042
|
+
maxWidth?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | 'full' | ArbitraryMaxWidth;
|
|
1037
1043
|
/**
|
|
1038
1044
|
* Options for setting the width of the dialog.
|
|
1039
1045
|
*/
|
|
@@ -1298,11 +1304,11 @@ type AIGenerateLocationMetadata<TIntegrationConfiguration = unknown> = CommonMet
|
|
|
1298
1304
|
prompt: string;
|
|
1299
1305
|
promptMetadata: Record<string, unknown>;
|
|
1300
1306
|
/** Useful to differentiate AI Generate UI between text and image */
|
|
1301
|
-
promptOutputType: 'text' | 'image';
|
|
1307
|
+
promptOutputType: 'text' | 'image' | 'json';
|
|
1302
1308
|
}, TIntegrationConfiguration>;
|
|
1303
1309
|
type PromptSettingsLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
|
|
1304
1310
|
/** Useful to differentiate metadata settings between text and image generation */
|
|
1305
|
-
promptOutputType: 'text' | 'image';
|
|
1311
|
+
promptOutputType: 'text' | 'image' | 'json';
|
|
1306
1312
|
}, TIntegrationConfiguration>;
|
|
1307
1313
|
type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'aiGenerate'>;
|
|
1308
1314
|
type AIPromptMetadataLocation = MeshLocationCore<Record<string, unknown>, PromptSettingsLocationMetadata, Record<string, unknown>, 'aiMetadata'>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1017,6 +1017,12 @@ type OpenDialogResult = {
|
|
|
1017
1017
|
dialogLocation?: string;
|
|
1018
1018
|
};
|
|
1019
1019
|
type DialogSizes = 'narrow' | 'medium' | 'wide';
|
|
1020
|
+
/**
|
|
1021
|
+
* Here we are using a trick to allow arbitrary max width values, also prioritizing enum from maxWidth.
|
|
1022
|
+
*/
|
|
1023
|
+
type ArbitraryMaxWidth = string & {
|
|
1024
|
+
neverEverLetYouGo?: never;
|
|
1025
|
+
};
|
|
1020
1026
|
interface DialogOptions<TDialogParams = DialogParams> {
|
|
1021
1027
|
/**
|
|
1022
1028
|
* By default, dialogs will be closed when they set a value.
|
|
@@ -1033,7 +1039,7 @@ interface DialogOptions<TDialogParams = DialogParams> {
|
|
|
1033
1039
|
*
|
|
1034
1040
|
* @deprecated Use `width` instead. This property will become ignored in a future release.
|
|
1035
1041
|
*/
|
|
1036
|
-
maxWidth?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | 'full' |
|
|
1042
|
+
maxWidth?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | 'full' | ArbitraryMaxWidth;
|
|
1037
1043
|
/**
|
|
1038
1044
|
* Options for setting the width of the dialog.
|
|
1039
1045
|
*/
|
|
@@ -1298,11 +1304,11 @@ type AIGenerateLocationMetadata<TIntegrationConfiguration = unknown> = CommonMet
|
|
|
1298
1304
|
prompt: string;
|
|
1299
1305
|
promptMetadata: Record<string, unknown>;
|
|
1300
1306
|
/** Useful to differentiate AI Generate UI between text and image */
|
|
1301
|
-
promptOutputType: 'text' | 'image';
|
|
1307
|
+
promptOutputType: 'text' | 'image' | 'json';
|
|
1302
1308
|
}, TIntegrationConfiguration>;
|
|
1303
1309
|
type PromptSettingsLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
|
|
1304
1310
|
/** Useful to differentiate metadata settings between text and image generation */
|
|
1305
|
-
promptOutputType: 'text' | 'image';
|
|
1311
|
+
promptOutputType: 'text' | 'image' | 'json';
|
|
1306
1312
|
}, TIntegrationConfiguration>;
|
|
1307
1313
|
type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'aiGenerate'>;
|
|
1308
1314
|
type AIPromptMetadataLocation = MeshLocationCore<Record<string, unknown>, PromptSettingsLocationMetadata, Record<string, unknown>, 'aiMetadata'>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/mesh-sdk",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.119.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.119.0",
|
|
37
|
+
"@uniformdev/context": "19.119.0",
|
|
38
|
+
"@uniformdev/project-map": "19.119.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": "103e99a2813a021e3a9bc6e3c4fd27474c74c09e"
|
|
46
46
|
}
|