@uniformdev/mesh-sdk 19.75.0 → 19.75.1-alpha.34
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 +98 -12
- package/dist/index.d.ts +98 -12
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -95,6 +95,11 @@ interface paths$1 {
|
|
|
95
95
|
}[];
|
|
96
96
|
unstable_assetLibrary?: {
|
|
97
97
|
url: string;
|
|
98
|
+
dynamicAssets?: {
|
|
99
|
+
dataConnectorId: string;
|
|
100
|
+
assetsListArchetypeId: string;
|
|
101
|
+
singleAssetArchetypeId: string;
|
|
102
|
+
};
|
|
98
103
|
};
|
|
99
104
|
unstable_ai?: {
|
|
100
105
|
generateUrl: string;
|
|
@@ -208,6 +213,11 @@ interface paths$1 {
|
|
|
208
213
|
}[];
|
|
209
214
|
unstable_assetLibrary?: {
|
|
210
215
|
url: string;
|
|
216
|
+
dynamicAssets?: {
|
|
217
|
+
dataConnectorId: string;
|
|
218
|
+
assetsListArchetypeId: string;
|
|
219
|
+
singleAssetArchetypeId: string;
|
|
220
|
+
};
|
|
211
221
|
};
|
|
212
222
|
unstable_ai?: {
|
|
213
223
|
generateUrl: string;
|
|
@@ -320,6 +330,11 @@ interface paths$1 {
|
|
|
320
330
|
}[];
|
|
321
331
|
unstable_assetLibrary?: {
|
|
322
332
|
url: string;
|
|
333
|
+
dynamicAssets?: {
|
|
334
|
+
dataConnectorId: string;
|
|
335
|
+
assetsListArchetypeId: string;
|
|
336
|
+
singleAssetArchetypeId: string;
|
|
337
|
+
};
|
|
323
338
|
};
|
|
324
339
|
unstable_ai?: {
|
|
325
340
|
generateUrl: string;
|
|
@@ -681,6 +696,11 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
681
696
|
}[] | undefined;
|
|
682
697
|
unstable_assetLibrary?: {
|
|
683
698
|
url: string;
|
|
699
|
+
dynamicAssets?: {
|
|
700
|
+
dataConnectorId: string;
|
|
701
|
+
assetsListArchetypeId: string;
|
|
702
|
+
singleAssetArchetypeId: string;
|
|
703
|
+
} | undefined;
|
|
684
704
|
} | undefined;
|
|
685
705
|
unstable_ai?: {
|
|
686
706
|
generateUrl: string;
|
|
@@ -732,27 +752,93 @@ type AssetLibraryLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
|
732
752
|
projectId: string;
|
|
733
753
|
/** The current Uniform integration source ID */
|
|
734
754
|
sourceId: string;
|
|
755
|
+
/** The resolved data if this source is connected to a data resource */
|
|
756
|
+
dataResourceData?: unknown;
|
|
757
|
+
/**
|
|
758
|
+
* Asset Library location is used in two places: Global Asset Library and Asset Parameter.
|
|
759
|
+
* This flag is necessary to distinguish between the two, because Parameter context requires
|
|
760
|
+
* "value" and "setValue" properties to manipulate the value of the parameter.
|
|
761
|
+
*/
|
|
762
|
+
isAssetParameterContext: boolean;
|
|
763
|
+
/**
|
|
764
|
+
* The maximum number of assets that can be selected in the Asset Library.
|
|
765
|
+
*
|
|
766
|
+
* Default: 1
|
|
767
|
+
*/
|
|
768
|
+
maxAssets?: number;
|
|
735
769
|
};
|
|
736
770
|
type AssetParamValue = AssetParamValueItem[];
|
|
737
771
|
type AssetParamValueItem = {
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
type?: string;
|
|
772
|
+
type: string;
|
|
773
|
+
_id: string;
|
|
741
774
|
/**
|
|
742
775
|
* Internal Uniform source ID or
|
|
743
776
|
* dataType ID of the global integration library
|
|
744
777
|
* which created this asset item
|
|
745
778
|
*/
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
779
|
+
_source?: string;
|
|
780
|
+
fields: {
|
|
781
|
+
url: {
|
|
782
|
+
type: 'text';
|
|
783
|
+
value: string;
|
|
784
|
+
};
|
|
785
|
+
id?: {
|
|
786
|
+
type: 'text';
|
|
787
|
+
value: string | undefined;
|
|
788
|
+
};
|
|
789
|
+
title?: {
|
|
790
|
+
type: 'text';
|
|
791
|
+
value: string | undefined;
|
|
792
|
+
};
|
|
793
|
+
description?: {
|
|
794
|
+
type: 'text';
|
|
795
|
+
value: string | undefined;
|
|
796
|
+
};
|
|
797
|
+
mediaType?: {
|
|
798
|
+
type: 'text';
|
|
799
|
+
value: string | undefined;
|
|
800
|
+
};
|
|
801
|
+
/**
|
|
802
|
+
* The width of the original asset
|
|
803
|
+
*
|
|
804
|
+
* Should resolve to a number but might
|
|
805
|
+
* be a string with a pointer reference
|
|
806
|
+
*/
|
|
807
|
+
width?: {
|
|
808
|
+
type: 'number';
|
|
809
|
+
value: number | string | undefined;
|
|
810
|
+
};
|
|
811
|
+
/**
|
|
812
|
+
* The height of the original asset
|
|
813
|
+
*
|
|
814
|
+
* Should resolve to a number but might
|
|
815
|
+
* be a string with a pointer reference
|
|
816
|
+
*/
|
|
817
|
+
height?: {
|
|
818
|
+
type: 'number';
|
|
819
|
+
value: number | string | undefined;
|
|
820
|
+
};
|
|
821
|
+
/**
|
|
822
|
+
* The size in bytes of the original asset
|
|
823
|
+
*
|
|
824
|
+
* Should resolve to a number but might
|
|
825
|
+
* be a string with a pointer reference
|
|
826
|
+
*/
|
|
827
|
+
size?: {
|
|
828
|
+
type: 'number';
|
|
829
|
+
value: number | string | undefined;
|
|
830
|
+
};
|
|
831
|
+
/**
|
|
832
|
+
* Any key/value properties which the source
|
|
833
|
+
* wants to attach to the asset data
|
|
834
|
+
*/
|
|
835
|
+
custom?: {
|
|
836
|
+
type: string;
|
|
837
|
+
value: Record<string, unknown>;
|
|
838
|
+
};
|
|
839
|
+
};
|
|
754
840
|
};
|
|
755
|
-
type AssetLibraryLocation = MeshLocationCore<AssetParamValue, AssetLibraryLocationMetadata, AssetParamValue, 'assetLibrary'
|
|
841
|
+
type AssetLibraryLocation = MeshLocationCore<AssetParamValue, AssetLibraryLocationMetadata, AssetParamValue, 'assetLibrary'> & GetDataResourceLocation;
|
|
756
842
|
|
|
757
843
|
type DataTypeLocationValue = Pick<DataType, 'body' | 'method' | 'path' | 'custom' | 'headers' | 'parameters' | 'variables'>;
|
|
758
844
|
type DataConnectorInfo = {
|
package/dist/index.d.ts
CHANGED
|
@@ -95,6 +95,11 @@ interface paths$1 {
|
|
|
95
95
|
}[];
|
|
96
96
|
unstable_assetLibrary?: {
|
|
97
97
|
url: string;
|
|
98
|
+
dynamicAssets?: {
|
|
99
|
+
dataConnectorId: string;
|
|
100
|
+
assetsListArchetypeId: string;
|
|
101
|
+
singleAssetArchetypeId: string;
|
|
102
|
+
};
|
|
98
103
|
};
|
|
99
104
|
unstable_ai?: {
|
|
100
105
|
generateUrl: string;
|
|
@@ -208,6 +213,11 @@ interface paths$1 {
|
|
|
208
213
|
}[];
|
|
209
214
|
unstable_assetLibrary?: {
|
|
210
215
|
url: string;
|
|
216
|
+
dynamicAssets?: {
|
|
217
|
+
dataConnectorId: string;
|
|
218
|
+
assetsListArchetypeId: string;
|
|
219
|
+
singleAssetArchetypeId: string;
|
|
220
|
+
};
|
|
211
221
|
};
|
|
212
222
|
unstable_ai?: {
|
|
213
223
|
generateUrl: string;
|
|
@@ -320,6 +330,11 @@ interface paths$1 {
|
|
|
320
330
|
}[];
|
|
321
331
|
unstable_assetLibrary?: {
|
|
322
332
|
url: string;
|
|
333
|
+
dynamicAssets?: {
|
|
334
|
+
dataConnectorId: string;
|
|
335
|
+
assetsListArchetypeId: string;
|
|
336
|
+
singleAssetArchetypeId: string;
|
|
337
|
+
};
|
|
323
338
|
};
|
|
324
339
|
unstable_ai?: {
|
|
325
340
|
generateUrl: string;
|
|
@@ -681,6 +696,11 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
|
|
|
681
696
|
}[] | undefined;
|
|
682
697
|
unstable_assetLibrary?: {
|
|
683
698
|
url: string;
|
|
699
|
+
dynamicAssets?: {
|
|
700
|
+
dataConnectorId: string;
|
|
701
|
+
assetsListArchetypeId: string;
|
|
702
|
+
singleAssetArchetypeId: string;
|
|
703
|
+
} | undefined;
|
|
684
704
|
} | undefined;
|
|
685
705
|
unstable_ai?: {
|
|
686
706
|
generateUrl: string;
|
|
@@ -732,27 +752,93 @@ type AssetLibraryLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
|
732
752
|
projectId: string;
|
|
733
753
|
/** The current Uniform integration source ID */
|
|
734
754
|
sourceId: string;
|
|
755
|
+
/** The resolved data if this source is connected to a data resource */
|
|
756
|
+
dataResourceData?: unknown;
|
|
757
|
+
/**
|
|
758
|
+
* Asset Library location is used in two places: Global Asset Library and Asset Parameter.
|
|
759
|
+
* This flag is necessary to distinguish between the two, because Parameter context requires
|
|
760
|
+
* "value" and "setValue" properties to manipulate the value of the parameter.
|
|
761
|
+
*/
|
|
762
|
+
isAssetParameterContext: boolean;
|
|
763
|
+
/**
|
|
764
|
+
* The maximum number of assets that can be selected in the Asset Library.
|
|
765
|
+
*
|
|
766
|
+
* Default: 1
|
|
767
|
+
*/
|
|
768
|
+
maxAssets?: number;
|
|
735
769
|
};
|
|
736
770
|
type AssetParamValue = AssetParamValueItem[];
|
|
737
771
|
type AssetParamValueItem = {
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
type?: string;
|
|
772
|
+
type: string;
|
|
773
|
+
_id: string;
|
|
741
774
|
/**
|
|
742
775
|
* Internal Uniform source ID or
|
|
743
776
|
* dataType ID of the global integration library
|
|
744
777
|
* which created this asset item
|
|
745
778
|
*/
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
779
|
+
_source?: string;
|
|
780
|
+
fields: {
|
|
781
|
+
url: {
|
|
782
|
+
type: 'text';
|
|
783
|
+
value: string;
|
|
784
|
+
};
|
|
785
|
+
id?: {
|
|
786
|
+
type: 'text';
|
|
787
|
+
value: string | undefined;
|
|
788
|
+
};
|
|
789
|
+
title?: {
|
|
790
|
+
type: 'text';
|
|
791
|
+
value: string | undefined;
|
|
792
|
+
};
|
|
793
|
+
description?: {
|
|
794
|
+
type: 'text';
|
|
795
|
+
value: string | undefined;
|
|
796
|
+
};
|
|
797
|
+
mediaType?: {
|
|
798
|
+
type: 'text';
|
|
799
|
+
value: string | undefined;
|
|
800
|
+
};
|
|
801
|
+
/**
|
|
802
|
+
* The width of the original asset
|
|
803
|
+
*
|
|
804
|
+
* Should resolve to a number but might
|
|
805
|
+
* be a string with a pointer reference
|
|
806
|
+
*/
|
|
807
|
+
width?: {
|
|
808
|
+
type: 'number';
|
|
809
|
+
value: number | string | undefined;
|
|
810
|
+
};
|
|
811
|
+
/**
|
|
812
|
+
* The height of the original asset
|
|
813
|
+
*
|
|
814
|
+
* Should resolve to a number but might
|
|
815
|
+
* be a string with a pointer reference
|
|
816
|
+
*/
|
|
817
|
+
height?: {
|
|
818
|
+
type: 'number';
|
|
819
|
+
value: number | string | undefined;
|
|
820
|
+
};
|
|
821
|
+
/**
|
|
822
|
+
* The size in bytes of the original asset
|
|
823
|
+
*
|
|
824
|
+
* Should resolve to a number but might
|
|
825
|
+
* be a string with a pointer reference
|
|
826
|
+
*/
|
|
827
|
+
size?: {
|
|
828
|
+
type: 'number';
|
|
829
|
+
value: number | string | undefined;
|
|
830
|
+
};
|
|
831
|
+
/**
|
|
832
|
+
* Any key/value properties which the source
|
|
833
|
+
* wants to attach to the asset data
|
|
834
|
+
*/
|
|
835
|
+
custom?: {
|
|
836
|
+
type: string;
|
|
837
|
+
value: Record<string, unknown>;
|
|
838
|
+
};
|
|
839
|
+
};
|
|
754
840
|
};
|
|
755
|
-
type AssetLibraryLocation = MeshLocationCore<AssetParamValue, AssetLibraryLocationMetadata, AssetParamValue, 'assetLibrary'
|
|
841
|
+
type AssetLibraryLocation = MeshLocationCore<AssetParamValue, AssetLibraryLocationMetadata, AssetParamValue, 'assetLibrary'> & GetDataResourceLocation;
|
|
756
842
|
|
|
757
843
|
type DataTypeLocationValue = Pick<DataType, 'body' | 'method' | 'path' | 'custom' | 'headers' | 'parameters' | 'variables'>;
|
|
758
844
|
type DataConnectorInfo = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/mesh-sdk",
|
|
3
|
-
"version": "19.75.
|
|
3
|
+
"version": "19.75.1-alpha.34+3ef8d22cef",
|
|
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.75.
|
|
37
|
-
"@uniformdev/context": "19.75.
|
|
38
|
-
"@uniformdev/project-map": "19.75.
|
|
36
|
+
"@uniformdev/canvas": "19.75.1-alpha.34+3ef8d22cef",
|
|
37
|
+
"@uniformdev/context": "19.75.1-alpha.34+3ef8d22cef",
|
|
38
|
+
"@uniformdev/project-map": "19.75.1-alpha.34+3ef8d22cef",
|
|
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": "3ef8d22cef3702cfeb050947ecc05449e4794ac8"
|
|
46
46
|
}
|