@uniformdev/mesh-sdk 19.85.1-alpha.13 → 19.86.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 +4 -0
- package/dist/index.d.ts +4 -0
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -1210,9 +1210,13 @@ type AIGenerateLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
|
1210
1210
|
projectId: string;
|
|
1211
1211
|
prompt: string;
|
|
1212
1212
|
promptMetadata: Record<string, unknown>;
|
|
1213
|
+
/** Useful to differentiate AI Generate UI between text and image */
|
|
1214
|
+
promptOutputType: 'text' | 'image';
|
|
1213
1215
|
};
|
|
1214
1216
|
type PromptSettingsLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
1215
1217
|
settings: TIntegrationConfiguration;
|
|
1218
|
+
/** Useful to differentiate metadata settings between text and image generation */
|
|
1219
|
+
promptOutputType: 'text' | 'image';
|
|
1216
1220
|
};
|
|
1217
1221
|
type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'aiGenerate'>;
|
|
1218
1222
|
type AIPromptMetadataLocation = MeshLocationCore<Record<string, unknown>, PromptSettingsLocationMetadata, Record<string, unknown>, 'aiMetadata'>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1210,9 +1210,13 @@ type AIGenerateLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
|
1210
1210
|
projectId: string;
|
|
1211
1211
|
prompt: string;
|
|
1212
1212
|
promptMetadata: Record<string, unknown>;
|
|
1213
|
+
/** Useful to differentiate AI Generate UI between text and image */
|
|
1214
|
+
promptOutputType: 'text' | 'image';
|
|
1213
1215
|
};
|
|
1214
1216
|
type PromptSettingsLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
1215
1217
|
settings: TIntegrationConfiguration;
|
|
1218
|
+
/** Useful to differentiate metadata settings between text and image generation */
|
|
1219
|
+
promptOutputType: 'text' | 'image';
|
|
1216
1220
|
};
|
|
1217
1221
|
type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'aiGenerate'>;
|
|
1218
1222
|
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.86.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.86.0",
|
|
37
|
+
"@uniformdev/context": "19.86.0",
|
|
38
|
+
"@uniformdev/project-map": "19.86.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": "33b5e38f48fe693bf6a4b195009222fd34b9e9f3"
|
|
46
46
|
}
|