@uniformdev/mesh-sdk 19.66.1 → 19.68.1-alpha.27
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 +44 -3
- package/dist/index.d.ts +44 -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
|
+
unstable_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
|
+
unstable_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
|
+
unstable_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
|
+
unstable_assetLibrary?: {
|
|
626
|
+
url: string;
|
|
627
|
+
} | undefined;
|
|
616
628
|
unstable_ai?: {
|
|
617
629
|
generateUrl: string;
|
|
618
630
|
} | undefined;
|
|
@@ -638,6 +650,35 @@ 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
|
+
/** The current Uniform integration source ID */
|
|
659
|
+
sourceId: string;
|
|
660
|
+
};
|
|
661
|
+
type AssetParamValue = AssetParamValueItem[];
|
|
662
|
+
type AssetParamValueItem = {
|
|
663
|
+
id: string;
|
|
664
|
+
url: string;
|
|
665
|
+
type?: string;
|
|
666
|
+
/**
|
|
667
|
+
* Internal Uniform source ID or
|
|
668
|
+
* dataType ID of the global integration library
|
|
669
|
+
* which created this asset item
|
|
670
|
+
*/
|
|
671
|
+
source?: string;
|
|
672
|
+
title?: string;
|
|
673
|
+
description?: string;
|
|
674
|
+
mediaType?: string;
|
|
675
|
+
width?: number;
|
|
676
|
+
height?: number;
|
|
677
|
+
size?: number;
|
|
678
|
+
custom?: Record<string, unknown>;
|
|
679
|
+
};
|
|
680
|
+
type AssetLibraryLocation = MeshLocationCore<AssetParamValue, AssetLibraryLocationMetadata, AssetParamValue, 'assetLibrary'>;
|
|
681
|
+
|
|
641
682
|
type DataTypeLocationValue = Pick<DataType, 'body' | 'method' | 'path' | 'custom' | 'headers' | 'parameters' | 'variables'>;
|
|
642
683
|
type DataConnectorInfo = {
|
|
643
684
|
type: string;
|
|
@@ -730,7 +771,7 @@ type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsL
|
|
|
730
771
|
* Defines methods used for interacting with a Mesh location
|
|
731
772
|
* To receive useful typings, check the `type` property of the location to narrow the typing.
|
|
732
773
|
*/
|
|
733
|
-
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue>;
|
|
774
|
+
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue>;
|
|
734
775
|
interface MeshContextData {
|
|
735
776
|
locationKey: string;
|
|
736
777
|
locationType: MeshLocationTypes;
|
|
@@ -919,7 +960,7 @@ interface MeshLocationCore<TValue = unknown, TMetadata = unknown, TSetValue = TV
|
|
|
919
960
|
/**
|
|
920
961
|
* Known location types that can be passed to a mesh location
|
|
921
962
|
*/
|
|
922
|
-
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'unstable_ai';
|
|
963
|
+
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'unstable_ai';
|
|
923
964
|
type SetValueOptions = ValidationResult;
|
|
924
965
|
type SetValueMessage = {
|
|
925
966
|
uniformMeshLocationValue: unknown;
|
|
@@ -1061,4 +1102,4 @@ declare function initializeUniformMeshSDK({ autoResizingDisabled, }?: {
|
|
|
1061
1102
|
autoResizingDisabled?: boolean;
|
|
1062
1103
|
}): Promise<UniformMeshSDK | undefined>;
|
|
1063
1104
|
|
|
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 };
|
|
1105
|
+
export { AIGenerateLocation, AIGenerateLocationMetadata, AssetLibraryLocation, AssetLibraryLocationMetadata, AssetParamValue, 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
|
+
unstable_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
|
+
unstable_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
|
+
unstable_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
|
+
unstable_assetLibrary?: {
|
|
626
|
+
url: string;
|
|
627
|
+
} | undefined;
|
|
616
628
|
unstable_ai?: {
|
|
617
629
|
generateUrl: string;
|
|
618
630
|
} | undefined;
|
|
@@ -638,6 +650,35 @@ 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
|
+
/** The current Uniform integration source ID */
|
|
659
|
+
sourceId: string;
|
|
660
|
+
};
|
|
661
|
+
type AssetParamValue = AssetParamValueItem[];
|
|
662
|
+
type AssetParamValueItem = {
|
|
663
|
+
id: string;
|
|
664
|
+
url: string;
|
|
665
|
+
type?: string;
|
|
666
|
+
/**
|
|
667
|
+
* Internal Uniform source ID or
|
|
668
|
+
* dataType ID of the global integration library
|
|
669
|
+
* which created this asset item
|
|
670
|
+
*/
|
|
671
|
+
source?: string;
|
|
672
|
+
title?: string;
|
|
673
|
+
description?: string;
|
|
674
|
+
mediaType?: string;
|
|
675
|
+
width?: number;
|
|
676
|
+
height?: number;
|
|
677
|
+
size?: number;
|
|
678
|
+
custom?: Record<string, unknown>;
|
|
679
|
+
};
|
|
680
|
+
type AssetLibraryLocation = MeshLocationCore<AssetParamValue, AssetLibraryLocationMetadata, AssetParamValue, 'assetLibrary'>;
|
|
681
|
+
|
|
641
682
|
type DataTypeLocationValue = Pick<DataType, 'body' | 'method' | 'path' | 'custom' | 'headers' | 'parameters' | 'variables'>;
|
|
642
683
|
type DataConnectorInfo = {
|
|
643
684
|
type: string;
|
|
@@ -730,7 +771,7 @@ type SettingsLocation<TSettingsType> = MeshLocationCore<TSettingsType, SettingsL
|
|
|
730
771
|
* Defines methods used for interacting with a Mesh location
|
|
731
772
|
* To receive useful typings, check the `type` property of the location to narrow the typing.
|
|
732
773
|
*/
|
|
733
|
-
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue>;
|
|
774
|
+
type MeshLocation<TValue = unknown, TSetValue = TValue> = ParamTypeLocation<TValue, unknown, TSetValue> | ParamTypeConfigLocation<TValue> | SettingsLocation<TValue> | AssetLibraryLocation | DataSourceLocation | DataTypeLocation | DataResourceLocation | AIGenerateLocation<TValue>;
|
|
734
775
|
interface MeshContextData {
|
|
735
776
|
locationKey: string;
|
|
736
777
|
locationType: MeshLocationTypes;
|
|
@@ -919,7 +960,7 @@ interface MeshLocationCore<TValue = unknown, TMetadata = unknown, TSetValue = TV
|
|
|
919
960
|
/**
|
|
920
961
|
* Known location types that can be passed to a mesh location
|
|
921
962
|
*/
|
|
922
|
-
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'unstable_ai';
|
|
963
|
+
type MeshLocationTypes = 'paramType' | 'paramTypeConfig' | 'assetLibrary' | 'settings' | 'dataSource' | 'dataType' | 'dataResource' | 'unstable_ai';
|
|
923
964
|
type SetValueOptions = ValidationResult;
|
|
924
965
|
type SetValueMessage = {
|
|
925
966
|
uniformMeshLocationValue: unknown;
|
|
@@ -1061,4 +1102,4 @@ declare function initializeUniformMeshSDK({ autoResizingDisabled, }?: {
|
|
|
1061
1102
|
autoResizingDisabled?: boolean;
|
|
1062
1103
|
}): Promise<UniformMeshSDK | undefined>;
|
|
1063
1104
|
|
|
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 };
|
|
1105
|
+
export { AIGenerateLocation, AIGenerateLocationMetadata, AssetLibraryLocation, AssetLibraryLocationMetadata, AssetParamValue, 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.68.1-alpha.27+9da5c6b31",
|
|
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.68.1-alpha.27+9da5c6b31",
|
|
37
|
+
"@uniformdev/context": "19.68.1-alpha.27+9da5c6b31",
|
|
38
|
+
"@uniformdev/project-map": "19.68.1-alpha.27+9da5c6b31",
|
|
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": "9da5c6b318807a05aa003ceb52317b27f4e1d8cf"
|
|
46
46
|
}
|