@uniformdev/mesh-sdk 19.149.1-alpha.1 → 19.150.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 -36
- package/dist/index.d.ts +4 -36
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -68,9 +68,6 @@ interface paths$1 {
|
|
|
68
68
|
/** @enum {string} */
|
|
69
69
|
localizable?: "default-yes" | "default-no" | "yes" | "no";
|
|
70
70
|
}[];
|
|
71
|
-
sideRail?: {
|
|
72
|
-
url: string;
|
|
73
|
-
};
|
|
74
71
|
};
|
|
75
72
|
dataConnectors?: {
|
|
76
73
|
type: string;
|
|
@@ -223,9 +220,6 @@ interface paths$1 {
|
|
|
223
220
|
/** @enum {string} */
|
|
224
221
|
localizable?: "default-yes" | "default-no" | "yes" | "no";
|
|
225
222
|
}[];
|
|
226
|
-
sideRail?: {
|
|
227
|
-
url: string;
|
|
228
|
-
};
|
|
229
223
|
};
|
|
230
224
|
dataConnectors?: {
|
|
231
225
|
type: string;
|
|
@@ -377,9 +371,6 @@ interface paths$1 {
|
|
|
377
371
|
/** @enum {string} */
|
|
378
372
|
localizable?: "default-yes" | "default-no" | "yes" | "no";
|
|
379
373
|
}[];
|
|
380
|
-
sideRail?: {
|
|
381
|
-
url: string;
|
|
382
|
-
};
|
|
383
374
|
};
|
|
384
375
|
dataConnectors?: {
|
|
385
376
|
type: string;
|
|
@@ -779,9 +770,6 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
779
770
|
renderableInPropertyPanel?: boolean | undefined;
|
|
780
771
|
localizable?: "default-yes" | "default-no" | "yes" | "no" | undefined;
|
|
781
772
|
}[];
|
|
782
|
-
sideRail?: {
|
|
783
|
-
url: string;
|
|
784
|
-
} | undefined;
|
|
785
773
|
} | undefined;
|
|
786
774
|
dataConnectors?: {
|
|
787
775
|
type: string;
|
|
@@ -983,20 +971,14 @@ type ParamTypeLocation<TParamValue = unknown, TParamConfiguration = unknown, TPa
|
|
|
983
971
|
editConnectedData: Awaited<ReturnType<typeof connectToParent>>['parent']['editConnectedData'];
|
|
984
972
|
};
|
|
985
973
|
|
|
986
|
-
type SettingsLocationMetadata = CommonMetadata
|
|
987
|
-
locales: {
|
|
988
|
-
locale: string;
|
|
989
|
-
displayName: string;
|
|
990
|
-
isDefault: boolean;
|
|
991
|
-
}[];
|
|
992
|
-
};
|
|
974
|
+
type SettingsLocationMetadata = CommonMetadata;
|
|
993
975
|
type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsLocationMetadata, TSettingsType, 'settings'>;
|
|
994
976
|
|
|
995
977
|
/**
|
|
996
978
|
* Defines methods used for interacting with a Mesh location
|
|
997
979
|
* To receive useful typings, check the `type` property of the location to narrow the typing.
|
|
998
980
|
*/
|
|
999
|
-
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | AssetParameterLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation |
|
|
981
|
+
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | AssetParameterLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
|
|
1000
982
|
interface MeshContextData {
|
|
1001
983
|
locationKey: string;
|
|
1002
984
|
locationType: MeshLocationTypes;
|
|
@@ -1300,7 +1282,7 @@ type MeshLocationUserPermissions =
|
|
|
1300
1282
|
/**
|
|
1301
1283
|
* Known location types that can be passed to a mesh location
|
|
1302
1284
|
*/
|
|
1303
|
-
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'assetParameter' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | '
|
|
1285
|
+
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'assetParameter' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | 'aiMetadata';
|
|
1304
1286
|
type SetValueOptions = ValidationResult;
|
|
1305
1287
|
type SetValueMessage = {
|
|
1306
1288
|
uniformMeshLocationValue: unknown;
|
|
@@ -1339,20 +1321,6 @@ type PromptSettingsLocationMetadata<TIntegrationConfiguration = unknown> = Commo
|
|
|
1339
1321
|
type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'aiGenerate'>;
|
|
1340
1322
|
type AIPromptMetadataLocation = MeshLocationCore<Record<string, unknown>, PromptSettingsLocationMetadata, Record<string, unknown>, 'aiMetadata'>;
|
|
1341
1323
|
|
|
1342
|
-
type CanvasEditorSideRailLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
|
|
1343
|
-
projectMapNode?: any;
|
|
1344
|
-
locales: {
|
|
1345
|
-
locale: string;
|
|
1346
|
-
displayName: string;
|
|
1347
|
-
isDefault: boolean;
|
|
1348
|
-
}[];
|
|
1349
|
-
}, TIntegrationConfiguration>;
|
|
1350
|
-
type CanvasEditorSideRailData = {
|
|
1351
|
-
rootEntity: any;
|
|
1352
|
-
references: any[];
|
|
1353
|
-
};
|
|
1354
|
-
type CanvasEditorSideRailLocation = MeshLocationCore<CanvasEditorSideRailData, CanvasEditorSideRailLocationMetadata, CanvasEditorSideRailData, 'canvasEditorSideRail'> & GetDataResourceLocation;
|
|
1355
|
-
|
|
1356
1324
|
type ParamTypeConfigLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
|
|
1357
1325
|
/** The Uniform project ID */
|
|
1358
1326
|
componentDefinition: ComponentDefinition;
|
|
@@ -1462,4 +1430,4 @@ declare const hasPermissions: (permissions: MeshLocationUserPermissions | MeshLo
|
|
|
1462
1430
|
*/
|
|
1463
1431
|
declare const hasRole: (role: string, user: UniformUser) => boolean;
|
|
1464
1432
|
|
|
1465
|
-
export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, type CSSHeight, type
|
|
1433
|
+
export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, type CSSHeight, 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 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 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 UniformUser, type ValidationResult, hasPermissions, hasRole, initializeUniformMeshSDK };
|
package/dist/index.d.ts
CHANGED
|
@@ -68,9 +68,6 @@ interface paths$1 {
|
|
|
68
68
|
/** @enum {string} */
|
|
69
69
|
localizable?: "default-yes" | "default-no" | "yes" | "no";
|
|
70
70
|
}[];
|
|
71
|
-
sideRail?: {
|
|
72
|
-
url: string;
|
|
73
|
-
};
|
|
74
71
|
};
|
|
75
72
|
dataConnectors?: {
|
|
76
73
|
type: string;
|
|
@@ -223,9 +220,6 @@ interface paths$1 {
|
|
|
223
220
|
/** @enum {string} */
|
|
224
221
|
localizable?: "default-yes" | "default-no" | "yes" | "no";
|
|
225
222
|
}[];
|
|
226
|
-
sideRail?: {
|
|
227
|
-
url: string;
|
|
228
|
-
};
|
|
229
223
|
};
|
|
230
224
|
dataConnectors?: {
|
|
231
225
|
type: string;
|
|
@@ -377,9 +371,6 @@ interface paths$1 {
|
|
|
377
371
|
/** @enum {string} */
|
|
378
372
|
localizable?: "default-yes" | "default-no" | "yes" | "no";
|
|
379
373
|
}[];
|
|
380
|
-
sideRail?: {
|
|
381
|
-
url: string;
|
|
382
|
-
};
|
|
383
374
|
};
|
|
384
375
|
dataConnectors?: {
|
|
385
376
|
type: string;
|
|
@@ -779,9 +770,6 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
779
770
|
renderableInPropertyPanel?: boolean | undefined;
|
|
780
771
|
localizable?: "default-yes" | "default-no" | "yes" | "no" | undefined;
|
|
781
772
|
}[];
|
|
782
|
-
sideRail?: {
|
|
783
|
-
url: string;
|
|
784
|
-
} | undefined;
|
|
785
773
|
} | undefined;
|
|
786
774
|
dataConnectors?: {
|
|
787
775
|
type: string;
|
|
@@ -983,20 +971,14 @@ type ParamTypeLocation<TParamValue = unknown, TParamConfiguration = unknown, TPa
|
|
|
983
971
|
editConnectedData: Awaited<ReturnType<typeof connectToParent>>['parent']['editConnectedData'];
|
|
984
972
|
};
|
|
985
973
|
|
|
986
|
-
type SettingsLocationMetadata = CommonMetadata
|
|
987
|
-
locales: {
|
|
988
|
-
locale: string;
|
|
989
|
-
displayName: string;
|
|
990
|
-
isDefault: boolean;
|
|
991
|
-
}[];
|
|
992
|
-
};
|
|
974
|
+
type SettingsLocationMetadata = CommonMetadata;
|
|
993
975
|
type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsLocationMetadata, TSettingsType, 'settings'>;
|
|
994
976
|
|
|
995
977
|
/**
|
|
996
978
|
* Defines methods used for interacting with a Mesh location
|
|
997
979
|
* To receive useful typings, check the `type` property of the location to narrow the typing.
|
|
998
980
|
*/
|
|
999
|
-
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | AssetParameterLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation |
|
|
981
|
+
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | AssetParameterLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue> | AIPromptMetadataLocation;
|
|
1000
982
|
interface MeshContextData {
|
|
1001
983
|
locationKey: string;
|
|
1002
984
|
locationType: MeshLocationTypes;
|
|
@@ -1300,7 +1282,7 @@ type MeshLocationUserPermissions =
|
|
|
1300
1282
|
/**
|
|
1301
1283
|
* Known location types that can be passed to a mesh location
|
|
1302
1284
|
*/
|
|
1303
|
-
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'assetParameter' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | '
|
|
1285
|
+
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'assetParameter' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'aiGenerate' | 'aiMetadata';
|
|
1304
1286
|
type SetValueOptions = ValidationResult;
|
|
1305
1287
|
type SetValueMessage = {
|
|
1306
1288
|
uniformMeshLocationValue: unknown;
|
|
@@ -1339,20 +1321,6 @@ type PromptSettingsLocationMetadata<TIntegrationConfiguration = unknown> = Commo
|
|
|
1339
1321
|
type AIGenerateLocation<TType> = MeshLocationCore<TType, AIGenerateLocationMetadata, TType, 'aiGenerate'>;
|
|
1340
1322
|
type AIPromptMetadataLocation = MeshLocationCore<Record<string, unknown>, PromptSettingsLocationMetadata, Record<string, unknown>, 'aiMetadata'>;
|
|
1341
1323
|
|
|
1342
|
-
type CanvasEditorSideRailLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
|
|
1343
|
-
projectMapNode?: any;
|
|
1344
|
-
locales: {
|
|
1345
|
-
locale: string;
|
|
1346
|
-
displayName: string;
|
|
1347
|
-
isDefault: boolean;
|
|
1348
|
-
}[];
|
|
1349
|
-
}, TIntegrationConfiguration>;
|
|
1350
|
-
type CanvasEditorSideRailData = {
|
|
1351
|
-
rootEntity: any;
|
|
1352
|
-
references: any[];
|
|
1353
|
-
};
|
|
1354
|
-
type CanvasEditorSideRailLocation = MeshLocationCore<CanvasEditorSideRailData, CanvasEditorSideRailLocationMetadata, CanvasEditorSideRailData, 'canvasEditorSideRail'> & GetDataResourceLocation;
|
|
1355
|
-
|
|
1356
1324
|
type ParamTypeConfigLocationMetadata<TIntegrationConfiguration = unknown> = CommonMetadata<{
|
|
1357
1325
|
/** The Uniform project ID */
|
|
1358
1326
|
componentDefinition: ComponentDefinition;
|
|
@@ -1462,4 +1430,4 @@ declare const hasPermissions: (permissions: MeshLocationUserPermissions | MeshLo
|
|
|
1462
1430
|
*/
|
|
1463
1431
|
declare const hasRole: (role: string, user: UniformUser) => boolean;
|
|
1464
1432
|
|
|
1465
|
-
export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, type CSSHeight, type
|
|
1433
|
+
export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, type CSSHeight, 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 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 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 UniformUser, type ValidationResult, hasPermissions, hasRole, initializeUniformMeshSDK };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/mesh-sdk",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.150.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.150.0",
|
|
37
|
+
"@uniformdev/context": "19.150.0",
|
|
38
|
+
"@uniformdev/project-map": "19.150.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": "4dc41368724c89d5d3c20ff5e4f84c4cfb1752b2"
|
|
46
46
|
}
|