@uniformdev/mesh-sdk 19.60.0 → 19.61.1-alpha.10
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 +35 -3
- package/dist/index.d.ts +35 -3
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -93,6 +93,9 @@ interface paths$1 {
|
|
|
93
93
|
};
|
|
94
94
|
badgeIconUrl?: string;
|
|
95
95
|
}[];
|
|
96
|
+
assetLibrary?: {
|
|
97
|
+
url: string;
|
|
98
|
+
};
|
|
96
99
|
unstable_ai?: {
|
|
97
100
|
generateUrl: string;
|
|
98
101
|
};
|
|
@@ -184,6 +187,9 @@ interface paths$1 {
|
|
|
184
187
|
};
|
|
185
188
|
badgeIconUrl?: string;
|
|
186
189
|
}[];
|
|
190
|
+
assetLibrary?: {
|
|
191
|
+
url: string;
|
|
192
|
+
};
|
|
187
193
|
unstable_ai?: {
|
|
188
194
|
generateUrl: string;
|
|
189
195
|
};
|
|
@@ -274,6 +280,9 @@ interface paths$1 {
|
|
|
274
280
|
};
|
|
275
281
|
badgeIconUrl?: string;
|
|
276
282
|
}[];
|
|
283
|
+
assetLibrary?: {
|
|
284
|
+
url: string;
|
|
285
|
+
};
|
|
277
286
|
unstable_ai?: {
|
|
278
287
|
generateUrl: string;
|
|
279
288
|
};
|
|
@@ -613,6 +622,9 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
613
622
|
} | undefined;
|
|
614
623
|
badgeIconUrl?: string | undefined;
|
|
615
624
|
}[] | undefined;
|
|
625
|
+
assetLibrary?: {
|
|
626
|
+
url: string;
|
|
627
|
+
} | undefined;
|
|
616
628
|
unstable_ai?: {
|
|
617
629
|
generateUrl: string;
|
|
618
630
|
} | undefined;
|
|
@@ -638,6 +650,26 @@ declare class IntegrationInstallationClient extends ApiClient {
|
|
|
638
650
|
remove(body: ExceptProject<IntegrationInstallationDeleteParameters>): Promise<void>;
|
|
639
651
|
}
|
|
640
652
|
|
|
653
|
+
type AssetLibraryLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
654
|
+
/** Settings defined at the integration level (arbitrary type used on settings location) */
|
|
655
|
+
settings: TIntegrationConfiguration;
|
|
656
|
+
/** The Uniform project ID */
|
|
657
|
+
projectId: string;
|
|
658
|
+
};
|
|
659
|
+
type AssetParamValueItem = {
|
|
660
|
+
id: string;
|
|
661
|
+
url: string;
|
|
662
|
+
type?: string;
|
|
663
|
+
source?: string;
|
|
664
|
+
title?: string;
|
|
665
|
+
description?: string;
|
|
666
|
+
mediaType?: string;
|
|
667
|
+
width?: number;
|
|
668
|
+
height?: number;
|
|
669
|
+
custom?: Record<string, unknown>;
|
|
670
|
+
};
|
|
671
|
+
type AssetLibraryLocation = MeshLocationCore<AssetParamValueItem, AssetLibraryLocationMetadata, AssetParamValueItem, 'assetLibrary'>;
|
|
672
|
+
|
|
641
673
|
type DataTypeLocationValue = Pick<DataType, 'body' | 'method' | 'path' | 'custom' | 'headers' | 'parameters' | 'variables'>;
|
|
642
674
|
type DataConnectorInfo = {
|
|
643
675
|
type: string;
|
|
@@ -730,7 +762,7 @@ type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsL
|
|
|
730
762
|
* Defines methods used for interacting with a Mesh location
|
|
731
763
|
* To receive useful typings, check the `type` property of the location to narrow the typing.
|
|
732
764
|
*/
|
|
733
|
-
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue>;
|
|
765
|
+
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue>;
|
|
734
766
|
interface MeshContextData {
|
|
735
767
|
locationKey: string;
|
|
736
768
|
locationType: MeshLocationTypes;
|
|
@@ -919,7 +951,7 @@ interface MeshLocationCore<TValue = unknown, TMetadata = unknown, TSetValue = TV
|
|
|
919
951
|
/**
|
|
920
952
|
* Known location types that can be passed to a mesh location
|
|
921
953
|
*/
|
|
922
|
-
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'unstable_ai';
|
|
954
|
+
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'unstable_ai';
|
|
923
955
|
type SetValueOptions = ValidationResult;
|
|
924
956
|
type SetValueMessage = {
|
|
925
957
|
uniformMeshLocationValue: unknown;
|
|
@@ -1061,4 +1093,4 @@ declare function initializeUniformMeshSDK({ autoResizingDisabled, }?: {
|
|
|
1061
1093
|
autoResizingDisabled?: boolean;
|
|
1062
1094
|
}): Promise<UniformMeshSDK | undefined>;
|
|
1063
1095
|
|
|
1064
|
-
export { AIGenerateLocation, AIGenerateLocationMetadata, BindableTypes, CSSHeight, CloseDialogMessage, CloseLocationDialogOptions, DataConnectorInfo, DataResourceLocation, DataResourceLocationMetadata, DataSourceLocation, DataSourceLocationMetadata, DataSourceLocationValue, DataTypeLocation, DataTypeLocationMetadata, DataTypeLocationValue, DialogContext, DialogOptions, DialogParamValue, DialogParams, DialogResponseData, DialogResponseHandler, DialogResponseHandlers, DialogType, DynamicInput, DynamicInputs, EditConnectedDataMessage, EditConnectedDataResponse, EditConnectedDataResponseCancellationContext, GetDataResourceLocation, GetDataResourceMessage, IntegrationDefinitionClient, IntegrationDefinitionDeleteParameters, IntegrationDefinitionGetParameters, IntegrationDefinitionGetResponse, IntegrationDefinitionPutParameters, IntegrationDefinitionPutResponse, IntegrationInstallationClient, IntegrationInstallationDeleteParameters, IntegrationInstallationGetParameters, IntegrationInstallationGetResponse, IntegrationInstallationPutParameters, LocationDialogResponse, MeshContextData, MeshLocation, MeshLocationCore, MeshLocationTypes, MeshSDKEventInterface, OpenConfirmationDialogOptions, OpenConfirmationDialogResult, OpenDialogMessage, OpenDialogResult, OpenLocationDialogOptions, ParamTypeConfigLocation, ParamTypeConfigLocationMetadata, ParamTypeLocation, ParamTypeLocationMetadata, SdkWindow, SetLocationFunction, SetValueMessage, SetValueOptions, SettingsLocation, SettingsLocationMetadata, UniformMeshSDK, UniformMeshSDKEvents, ValidationResult, initializeUniformMeshSDK };
|
|
1096
|
+
export { AIGenerateLocation, AIGenerateLocationMetadata, AssetLibraryLocation, AssetLibraryLocationMetadata, AssetParamValueItem, BindableTypes, CSSHeight, CloseDialogMessage, CloseLocationDialogOptions, DataConnectorInfo, DataResourceLocation, DataResourceLocationMetadata, DataSourceLocation, DataSourceLocationMetadata, DataSourceLocationValue, DataTypeLocation, DataTypeLocationMetadata, DataTypeLocationValue, DialogContext, DialogOptions, DialogParamValue, DialogParams, DialogResponseData, DialogResponseHandler, DialogResponseHandlers, DialogType, DynamicInput, DynamicInputs, EditConnectedDataMessage, EditConnectedDataResponse, EditConnectedDataResponseCancellationContext, GetDataResourceLocation, GetDataResourceMessage, IntegrationDefinitionClient, IntegrationDefinitionDeleteParameters, IntegrationDefinitionGetParameters, IntegrationDefinitionGetResponse, IntegrationDefinitionPutParameters, IntegrationDefinitionPutResponse, IntegrationInstallationClient, IntegrationInstallationDeleteParameters, IntegrationInstallationGetParameters, IntegrationInstallationGetResponse, IntegrationInstallationPutParameters, LocationDialogResponse, MeshContextData, MeshLocation, MeshLocationCore, MeshLocationTypes, MeshSDKEventInterface, OpenConfirmationDialogOptions, OpenConfirmationDialogResult, OpenDialogMessage, OpenDialogResult, OpenLocationDialogOptions, ParamTypeConfigLocation, ParamTypeConfigLocationMetadata, ParamTypeLocation, ParamTypeLocationMetadata, SdkWindow, SetLocationFunction, SetValueMessage, SetValueOptions, SettingsLocation, SettingsLocationMetadata, UniformMeshSDK, UniformMeshSDKEvents, ValidationResult, initializeUniformMeshSDK };
|
package/dist/index.d.ts
CHANGED
|
@@ -93,6 +93,9 @@ interface paths$1 {
|
|
|
93
93
|
};
|
|
94
94
|
badgeIconUrl?: string;
|
|
95
95
|
}[];
|
|
96
|
+
assetLibrary?: {
|
|
97
|
+
url: string;
|
|
98
|
+
};
|
|
96
99
|
unstable_ai?: {
|
|
97
100
|
generateUrl: string;
|
|
98
101
|
};
|
|
@@ -184,6 +187,9 @@ interface paths$1 {
|
|
|
184
187
|
};
|
|
185
188
|
badgeIconUrl?: string;
|
|
186
189
|
}[];
|
|
190
|
+
assetLibrary?: {
|
|
191
|
+
url: string;
|
|
192
|
+
};
|
|
187
193
|
unstable_ai?: {
|
|
188
194
|
generateUrl: string;
|
|
189
195
|
};
|
|
@@ -274,6 +280,9 @@ interface paths$1 {
|
|
|
274
280
|
};
|
|
275
281
|
badgeIconUrl?: string;
|
|
276
282
|
}[];
|
|
283
|
+
assetLibrary?: {
|
|
284
|
+
url: string;
|
|
285
|
+
};
|
|
277
286
|
unstable_ai?: {
|
|
278
287
|
generateUrl: string;
|
|
279
288
|
};
|
|
@@ -613,6 +622,9 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
613
622
|
} | undefined;
|
|
614
623
|
badgeIconUrl?: string | undefined;
|
|
615
624
|
}[] | undefined;
|
|
625
|
+
assetLibrary?: {
|
|
626
|
+
url: string;
|
|
627
|
+
} | undefined;
|
|
616
628
|
unstable_ai?: {
|
|
617
629
|
generateUrl: string;
|
|
618
630
|
} | undefined;
|
|
@@ -638,6 +650,26 @@ declare class IntegrationInstallationClient extends ApiClient {
|
|
|
638
650
|
remove(body: ExceptProject<IntegrationInstallationDeleteParameters>): Promise<void>;
|
|
639
651
|
}
|
|
640
652
|
|
|
653
|
+
type AssetLibraryLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
654
|
+
/** Settings defined at the integration level (arbitrary type used on settings location) */
|
|
655
|
+
settings: TIntegrationConfiguration;
|
|
656
|
+
/** The Uniform project ID */
|
|
657
|
+
projectId: string;
|
|
658
|
+
};
|
|
659
|
+
type AssetParamValueItem = {
|
|
660
|
+
id: string;
|
|
661
|
+
url: string;
|
|
662
|
+
type?: string;
|
|
663
|
+
source?: string;
|
|
664
|
+
title?: string;
|
|
665
|
+
description?: string;
|
|
666
|
+
mediaType?: string;
|
|
667
|
+
width?: number;
|
|
668
|
+
height?: number;
|
|
669
|
+
custom?: Record<string, unknown>;
|
|
670
|
+
};
|
|
671
|
+
type AssetLibraryLocation = MeshLocationCore<AssetParamValueItem, AssetLibraryLocationMetadata, AssetParamValueItem, 'assetLibrary'>;
|
|
672
|
+
|
|
641
673
|
type DataTypeLocationValue = Pick<DataType, 'body' | 'method' | 'path' | 'custom' | 'headers' | 'parameters' | 'variables'>;
|
|
642
674
|
type DataConnectorInfo = {
|
|
643
675
|
type: string;
|
|
@@ -730,7 +762,7 @@ type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsL
|
|
|
730
762
|
* Defines methods used for interacting with a Mesh location
|
|
731
763
|
* To receive useful typings, check the `type` property of the location to narrow the typing.
|
|
732
764
|
*/
|
|
733
|
-
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue>;
|
|
765
|
+
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue>;
|
|
734
766
|
interface MeshContextData {
|
|
735
767
|
locationKey: string;
|
|
736
768
|
locationType: MeshLocationTypes;
|
|
@@ -919,7 +951,7 @@ interface MeshLocationCore<TValue = unknown, TMetadata = unknown, TSetValue = TV
|
|
|
919
951
|
/**
|
|
920
952
|
* Known location types that can be passed to a mesh location
|
|
921
953
|
*/
|
|
922
|
-
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'unstable_ai';
|
|
954
|
+
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'unstable_ai';
|
|
923
955
|
type SetValueOptions = ValidationResult;
|
|
924
956
|
type SetValueMessage = {
|
|
925
957
|
uniformMeshLocationValue: unknown;
|
|
@@ -1061,4 +1093,4 @@ declare function initializeUniformMeshSDK({ autoResizingDisabled, }?: {
|
|
|
1061
1093
|
autoResizingDisabled?: boolean;
|
|
1062
1094
|
}): Promise<UniformMeshSDK | undefined>;
|
|
1063
1095
|
|
|
1064
|
-
export { AIGenerateLocation, AIGenerateLocationMetadata, BindableTypes, CSSHeight, CloseDialogMessage, CloseLocationDialogOptions, DataConnectorInfo, DataResourceLocation, DataResourceLocationMetadata, DataSourceLocation, DataSourceLocationMetadata, DataSourceLocationValue, DataTypeLocation, DataTypeLocationMetadata, DataTypeLocationValue, DialogContext, DialogOptions, DialogParamValue, DialogParams, DialogResponseData, DialogResponseHandler, DialogResponseHandlers, DialogType, DynamicInput, DynamicInputs, EditConnectedDataMessage, EditConnectedDataResponse, EditConnectedDataResponseCancellationContext, GetDataResourceLocation, GetDataResourceMessage, IntegrationDefinitionClient, IntegrationDefinitionDeleteParameters, IntegrationDefinitionGetParameters, IntegrationDefinitionGetResponse, IntegrationDefinitionPutParameters, IntegrationDefinitionPutResponse, IntegrationInstallationClient, IntegrationInstallationDeleteParameters, IntegrationInstallationGetParameters, IntegrationInstallationGetResponse, IntegrationInstallationPutParameters, LocationDialogResponse, MeshContextData, MeshLocation, MeshLocationCore, MeshLocationTypes, MeshSDKEventInterface, OpenConfirmationDialogOptions, OpenConfirmationDialogResult, OpenDialogMessage, OpenDialogResult, OpenLocationDialogOptions, ParamTypeConfigLocation, ParamTypeConfigLocationMetadata, ParamTypeLocation, ParamTypeLocationMetadata, SdkWindow, SetLocationFunction, SetValueMessage, SetValueOptions, SettingsLocation, SettingsLocationMetadata, UniformMeshSDK, UniformMeshSDKEvents, ValidationResult, initializeUniformMeshSDK };
|
|
1096
|
+
export { AIGenerateLocation, AIGenerateLocationMetadata, AssetLibraryLocation, AssetLibraryLocationMetadata, AssetParamValueItem, BindableTypes, CSSHeight, CloseDialogMessage, CloseLocationDialogOptions, DataConnectorInfo, DataResourceLocation, DataResourceLocationMetadata, DataSourceLocation, DataSourceLocationMetadata, DataSourceLocationValue, DataTypeLocation, DataTypeLocationMetadata, DataTypeLocationValue, DialogContext, DialogOptions, DialogParamValue, DialogParams, DialogResponseData, DialogResponseHandler, DialogResponseHandlers, DialogType, DynamicInput, DynamicInputs, EditConnectedDataMessage, EditConnectedDataResponse, EditConnectedDataResponseCancellationContext, GetDataResourceLocation, GetDataResourceMessage, IntegrationDefinitionClient, IntegrationDefinitionDeleteParameters, IntegrationDefinitionGetParameters, IntegrationDefinitionGetResponse, IntegrationDefinitionPutParameters, IntegrationDefinitionPutResponse, IntegrationInstallationClient, IntegrationInstallationDeleteParameters, IntegrationInstallationGetParameters, IntegrationInstallationGetResponse, IntegrationInstallationPutParameters, LocationDialogResponse, MeshContextData, MeshLocation, MeshLocationCore, MeshLocationTypes, MeshSDKEventInterface, OpenConfirmationDialogOptions, OpenConfirmationDialogResult, OpenDialogMessage, OpenDialogResult, OpenLocationDialogOptions, ParamTypeConfigLocation, ParamTypeConfigLocationMetadata, ParamTypeLocation, ParamTypeLocationMetadata, SdkWindow, SetLocationFunction, SetValueMessage, SetValueOptions, SettingsLocation, SettingsLocationMetadata, UniformMeshSDK, UniformMeshSDKEvents, ValidationResult, initializeUniformMeshSDK };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/mesh-sdk",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.61.1-alpha.10+8aa257167",
|
|
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.61.1-alpha.10+8aa257167",
|
|
37
|
+
"@uniformdev/context": "19.61.1-alpha.10+8aa257167",
|
|
38
|
+
"@uniformdev/project-map": "19.61.1-alpha.10+8aa257167",
|
|
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": "8aa2571675505a90ba544863f87621dd90750c3a"
|
|
46
46
|
}
|