@uniformdev/mesh-sdk 20.23.1-alpha.5 → 20.23.1-alpha.9
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 +3 -30
- package/dist/index.d.ts +3 -30
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -255,12 +255,6 @@ interface paths$1 {
|
|
|
255
255
|
url: string;
|
|
256
256
|
iconUrl?: string;
|
|
257
257
|
}[];
|
|
258
|
-
dashboardTools?: {
|
|
259
|
-
id: string;
|
|
260
|
-
name: string;
|
|
261
|
-
url: string;
|
|
262
|
-
iconUrl?: string;
|
|
263
|
-
}[];
|
|
264
258
|
};
|
|
265
259
|
unstable_prompts?: {
|
|
266
260
|
/** Format: uuid */
|
|
@@ -527,12 +521,6 @@ interface paths$1 {
|
|
|
527
521
|
url: string;
|
|
528
522
|
iconUrl?: string;
|
|
529
523
|
}[];
|
|
530
|
-
dashboardTools?: {
|
|
531
|
-
id: string;
|
|
532
|
-
name: string;
|
|
533
|
-
url: string;
|
|
534
|
-
iconUrl?: string;
|
|
535
|
-
}[];
|
|
536
524
|
};
|
|
537
525
|
unstable_prompts?: {
|
|
538
526
|
/** Format: uuid */
|
|
@@ -784,12 +772,6 @@ interface paths$1 {
|
|
|
784
772
|
url: string;
|
|
785
773
|
iconUrl?: string;
|
|
786
774
|
}[];
|
|
787
|
-
dashboardTools?: {
|
|
788
|
-
id: string;
|
|
789
|
-
name: string;
|
|
790
|
-
url: string;
|
|
791
|
-
iconUrl?: string;
|
|
792
|
-
}[];
|
|
793
775
|
};
|
|
794
776
|
unstable_prompts?: {
|
|
795
777
|
/** Format: uuid */
|
|
@@ -1390,12 +1372,6 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
1390
1372
|
url: string;
|
|
1391
1373
|
iconUrl?: string;
|
|
1392
1374
|
}[];
|
|
1393
|
-
dashboardTools?: {
|
|
1394
|
-
id: string;
|
|
1395
|
-
name: string;
|
|
1396
|
-
url: string;
|
|
1397
|
-
iconUrl?: string;
|
|
1398
|
-
}[];
|
|
1399
1375
|
};
|
|
1400
1376
|
unstable_prompts?: {
|
|
1401
1377
|
id: string;
|
|
@@ -1499,9 +1475,6 @@ type AssetParameterLocationMetadata<TIntegrationConfiguration = unknown> = Commo
|
|
|
1499
1475
|
type AssetLibraryLocation = MeshLocationCore<unknown, AssetLibraryLocationMetadata, unknown, 'assetLibrary'> & GetDataResourceLocation;
|
|
1500
1476
|
type AssetParameterLocation = MeshLocationCore<AssetParamValue, AssetParameterLocationMetadata, AssetParamValue, 'assetParameter'> & GetDataResourceLocation;
|
|
1501
1477
|
|
|
1502
|
-
type DashboardToolLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<unknown, TIntegrationConfiguration>;
|
|
1503
|
-
type DashboardToolLocation<TTool, TIntegrationConfiguration = unknown> = MeshLocationCore<TTool, DashboardToolLocationMetadata<TIntegrationConfiguration>, TTool, 'dashboardTool'>;
|
|
1504
|
-
|
|
1505
1478
|
type DataTypeLocationValue = Pick<DataType, 'body' | 'method' | 'path' | 'custom' | 'headers' | 'parameters' | 'variables'>;
|
|
1506
1479
|
type DataConnectorInfo = {
|
|
1507
1480
|
type: string;
|
|
@@ -1594,7 +1567,7 @@ type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsL
|
|
|
1594
1567
|
* Defines methods used for interacting with a Mesh location
|
|
1595
1568
|
* To receive useful typings, check the `type` property of the location to narrow the typing.
|
|
1596
1569
|
*/
|
|
1597
|
-
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | AssetParameterLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | CanvasEditorToolsLocation | EmbeddedEditorLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation | PersonalizationCriteriaLocation<TValue> |
|
|
1570
|
+
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | AssetParameterLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | CanvasEditorToolsLocation | EmbeddedEditorLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation | PersonalizationCriteriaLocation<TValue> | ProjectToolLocation<TValue>;
|
|
1598
1571
|
interface MeshContextData {
|
|
1599
1572
|
locationKey: string;
|
|
1600
1573
|
locationType: MeshLocationTypes;
|
|
@@ -1946,7 +1919,7 @@ type MeshLocationUserPermissions =
|
|
|
1946
1919
|
/**
|
|
1947
1920
|
* Known location types that can be passed to a mesh location
|
|
1948
1921
|
*/
|
|
1949
|
-
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'assetParameter' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | 'embeddedEditor' | 'canvasEditorTools' | 'aiMetadata' | 'personalizationCriteria' | '
|
|
1922
|
+
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'assetParameter' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | 'embeddedEditor' | 'canvasEditorTools' | 'aiMetadata' | 'personalizationCriteria' | 'projectTool';
|
|
1950
1923
|
type SetValueOptions = ValidationResult;
|
|
1951
1924
|
type SetValueMessage = {
|
|
1952
1925
|
uniformMeshLocationValue: unknown;
|
|
@@ -2172,4 +2145,4 @@ declare const hasPermissions: (permissions: MeshLocationUserPermissions | MeshLo
|
|
|
2172
2145
|
*/
|
|
2173
2146
|
declare const hasRole: (role: string, user: UniformUser) => boolean;
|
|
2174
2147
|
|
|
2175
|
-
export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, type CSSHeight, type CanvasEditorEntityType, type CanvasEditorToolsData, type CanvasEditorToolsLocation, type CanvasEditorToolsLocationMetadata, type CloseDialogMessage, type CloseLocationDialogOptions, type CommonMetadata, type
|
|
2148
|
+
export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, type CSSHeight, type CanvasEditorEntityType, type CanvasEditorToolsData, type CanvasEditorToolsLocation, type CanvasEditorToolsLocationMetadata, type CloseDialogMessage, type CloseLocationDialogOptions, type CommonMetadata, 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 EmbeddedEditorLocation, type EmbeddedEditorLocationMetadata, type EmbeddedEditorLocationSetValue, type EmbeddedEditorLocationValue, type FunctionCallResponse, type FunctionCallSystemParameter, 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 MeshLocationUserPermissions, type MeshRouter, type MeshSDKEventInterface, type NavigateMessage, type OpenConfirmationDialogOptions, type OpenConfirmationDialogResult, type OpenDialogMessage, type OpenDialogResult, type OpenLocationDialogOptions, type ParamTypeConfigLocation, type ParamTypeConfigLocationMetadata, type ParamTypeLocation, type ParamTypeLocationMetadata, type PersonalizationCriteriaLocation, type PersonalizationCriteriaLocationMetadata, type ProjectToolLocation, type ProjectToolLocationMetadata, type PromptSettingsLocationMetadata, type SdkWindow, type SetLocationFunction, type SetValueMessage, type SetValueOptions, type SettingsLocation, type SettingsLocationMetadata, type UniformMeshSDK, type UniformMeshSDKEvents, type UniformUser, type ValidationResult, functionCallSystemParameters, hasPermissions, hasRole, initializeUniformMeshSDK, parseFunctionCall };
|
package/dist/index.d.ts
CHANGED
|
@@ -255,12 +255,6 @@ interface paths$1 {
|
|
|
255
255
|
url: string;
|
|
256
256
|
iconUrl?: string;
|
|
257
257
|
}[];
|
|
258
|
-
dashboardTools?: {
|
|
259
|
-
id: string;
|
|
260
|
-
name: string;
|
|
261
|
-
url: string;
|
|
262
|
-
iconUrl?: string;
|
|
263
|
-
}[];
|
|
264
258
|
};
|
|
265
259
|
unstable_prompts?: {
|
|
266
260
|
/** Format: uuid */
|
|
@@ -527,12 +521,6 @@ interface paths$1 {
|
|
|
527
521
|
url: string;
|
|
528
522
|
iconUrl?: string;
|
|
529
523
|
}[];
|
|
530
|
-
dashboardTools?: {
|
|
531
|
-
id: string;
|
|
532
|
-
name: string;
|
|
533
|
-
url: string;
|
|
534
|
-
iconUrl?: string;
|
|
535
|
-
}[];
|
|
536
524
|
};
|
|
537
525
|
unstable_prompts?: {
|
|
538
526
|
/** Format: uuid */
|
|
@@ -784,12 +772,6 @@ interface paths$1 {
|
|
|
784
772
|
url: string;
|
|
785
773
|
iconUrl?: string;
|
|
786
774
|
}[];
|
|
787
|
-
dashboardTools?: {
|
|
788
|
-
id: string;
|
|
789
|
-
name: string;
|
|
790
|
-
url: string;
|
|
791
|
-
iconUrl?: string;
|
|
792
|
-
}[];
|
|
793
775
|
};
|
|
794
776
|
unstable_prompts?: {
|
|
795
777
|
/** Format: uuid */
|
|
@@ -1390,12 +1372,6 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
1390
1372
|
url: string;
|
|
1391
1373
|
iconUrl?: string;
|
|
1392
1374
|
}[];
|
|
1393
|
-
dashboardTools?: {
|
|
1394
|
-
id: string;
|
|
1395
|
-
name: string;
|
|
1396
|
-
url: string;
|
|
1397
|
-
iconUrl?: string;
|
|
1398
|
-
}[];
|
|
1399
1375
|
};
|
|
1400
1376
|
unstable_prompts?: {
|
|
1401
1377
|
id: string;
|
|
@@ -1499,9 +1475,6 @@ type AssetParameterLocationMetadata<TIntegrationConfiguration = unknown> = Commo
|
|
|
1499
1475
|
type AssetLibraryLocation = MeshLocationCore<unknown, AssetLibraryLocationMetadata, unknown, 'assetLibrary'> & GetDataResourceLocation;
|
|
1500
1476
|
type AssetParameterLocation = MeshLocationCore<AssetParamValue, AssetParameterLocationMetadata, AssetParamValue, 'assetParameter'> & GetDataResourceLocation;
|
|
1501
1477
|
|
|
1502
|
-
type DashboardToolLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<unknown, TIntegrationConfiguration>;
|
|
1503
|
-
type DashboardToolLocation<TTool, TIntegrationConfiguration = unknown> = MeshLocationCore<TTool, DashboardToolLocationMetadata<TIntegrationConfiguration>, TTool, 'dashboardTool'>;
|
|
1504
|
-
|
|
1505
1478
|
type DataTypeLocationValue = Pick<DataType, 'body' | 'method' | 'path' | 'custom' | 'headers' | 'parameters' | 'variables'>;
|
|
1506
1479
|
type DataConnectorInfo = {
|
|
1507
1480
|
type: string;
|
|
@@ -1594,7 +1567,7 @@ type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsL
|
|
|
1594
1567
|
* Defines methods used for interacting with a Mesh location
|
|
1595
1568
|
* To receive useful typings, check the `type` property of the location to narrow the typing.
|
|
1596
1569
|
*/
|
|
1597
|
-
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | AssetParameterLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | CanvasEditorToolsLocation | EmbeddedEditorLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation | PersonalizationCriteriaLocation<TValue> |
|
|
1570
|
+
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | AssetParameterLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | CanvasEditorToolsLocation | EmbeddedEditorLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation | PersonalizationCriteriaLocation<TValue> | ProjectToolLocation<TValue>;
|
|
1598
1571
|
interface MeshContextData {
|
|
1599
1572
|
locationKey: string;
|
|
1600
1573
|
locationType: MeshLocationTypes;
|
|
@@ -1946,7 +1919,7 @@ type MeshLocationUserPermissions =
|
|
|
1946
1919
|
/**
|
|
1947
1920
|
* Known location types that can be passed to a mesh location
|
|
1948
1921
|
*/
|
|
1949
|
-
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'assetParameter' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | 'embeddedEditor' | 'canvasEditorTools' | 'aiMetadata' | 'personalizationCriteria' | '
|
|
1922
|
+
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'assetParameter' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | 'embeddedEditor' | 'canvasEditorTools' | 'aiMetadata' | 'personalizationCriteria' | 'projectTool';
|
|
1950
1923
|
type SetValueOptions = ValidationResult;
|
|
1951
1924
|
type SetValueMessage = {
|
|
1952
1925
|
uniformMeshLocationValue: unknown;
|
|
@@ -2172,4 +2145,4 @@ declare const hasPermissions: (permissions: MeshLocationUserPermissions | MeshLo
|
|
|
2172
2145
|
*/
|
|
2173
2146
|
declare const hasRole: (role: string, user: UniformUser) => boolean;
|
|
2174
2147
|
|
|
2175
|
-
export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, type CSSHeight, type CanvasEditorEntityType, type CanvasEditorToolsData, type CanvasEditorToolsLocation, type CanvasEditorToolsLocationMetadata, type CloseDialogMessage, type CloseLocationDialogOptions, type CommonMetadata, type
|
|
2148
|
+
export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, type CSSHeight, type CanvasEditorEntityType, type CanvasEditorToolsData, type CanvasEditorToolsLocation, type CanvasEditorToolsLocationMetadata, type CloseDialogMessage, type CloseLocationDialogOptions, type CommonMetadata, 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 EmbeddedEditorLocation, type EmbeddedEditorLocationMetadata, type EmbeddedEditorLocationSetValue, type EmbeddedEditorLocationValue, type FunctionCallResponse, type FunctionCallSystemParameter, 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 MeshLocationUserPermissions, type MeshRouter, type MeshSDKEventInterface, type NavigateMessage, type OpenConfirmationDialogOptions, type OpenConfirmationDialogResult, type OpenDialogMessage, type OpenDialogResult, type OpenLocationDialogOptions, type ParamTypeConfigLocation, type ParamTypeConfigLocationMetadata, type ParamTypeLocation, type ParamTypeLocationMetadata, type PersonalizationCriteriaLocation, type PersonalizationCriteriaLocationMetadata, type ProjectToolLocation, type ProjectToolLocationMetadata, type PromptSettingsLocationMetadata, type SdkWindow, type SetLocationFunction, type SetValueMessage, type SetValueOptions, type SettingsLocation, type SettingsLocationMetadata, type UniformMeshSDK, type UniformMeshSDKEvents, type UniformUser, type ValidationResult, functionCallSystemParameters, hasPermissions, hasRole, initializeUniformMeshSDK, parseFunctionCall };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/mesh-sdk",
|
|
3
|
-
"version": "20.23.1-alpha.
|
|
3
|
+
"version": "20.23.1-alpha.9+8cf3ab5014",
|
|
4
4
|
"description": "Uniform Mesh Framework SDK",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@uniformdev/assets": "20.23.1-alpha.
|
|
38
|
-
"@uniformdev/canvas": "20.23.1-alpha.
|
|
39
|
-
"@uniformdev/context": "20.23.1-alpha.
|
|
40
|
-
"@uniformdev/project-map": "20.23.1-alpha.
|
|
37
|
+
"@uniformdev/assets": "20.23.1-alpha.9+8cf3ab5014",
|
|
38
|
+
"@uniformdev/canvas": "20.23.1-alpha.9+8cf3ab5014",
|
|
39
|
+
"@uniformdev/context": "20.23.1-alpha.9+8cf3ab5014",
|
|
40
|
+
"@uniformdev/project-map": "20.23.1-alpha.9+8cf3ab5014",
|
|
41
41
|
"imagesloaded": "^5.0.0",
|
|
42
42
|
"mitt": "^3.0.1"
|
|
43
43
|
},
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"@types/imagesloaded": "^4.1.2",
|
|
46
46
|
"openai": "4.94.0"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "8cf3ab5014026843e8a9b7ec64c9b4f7661daa92"
|
|
49
49
|
}
|