@uniformdev/mesh-sdk 19.74.1-alpha.5 → 19.75.1-alpha.30
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 +65 -11
- package/dist/index.d.ts +65 -11
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -732,25 +732,79 @@ type AssetLibraryLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
|
732
732
|
projectId: string;
|
|
733
733
|
/** The current Uniform integration source ID */
|
|
734
734
|
sourceId: string;
|
|
735
|
+
/** The resolved data if this source is connected to a data resource */
|
|
736
|
+
dataResourceData?: unknown;
|
|
735
737
|
};
|
|
736
738
|
type AssetParamValue = AssetParamValueItem[];
|
|
737
739
|
type AssetParamValueItem = {
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
type?: string;
|
|
740
|
+
type: string;
|
|
741
|
+
_id: string;
|
|
741
742
|
/**
|
|
742
743
|
* Internal Uniform source ID or
|
|
743
744
|
* dataType ID of the global integration library
|
|
744
745
|
* which created this asset item
|
|
745
746
|
*/
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
747
|
+
_source?: string;
|
|
748
|
+
fields: {
|
|
749
|
+
url: {
|
|
750
|
+
type: 'text';
|
|
751
|
+
value: string;
|
|
752
|
+
};
|
|
753
|
+
id?: {
|
|
754
|
+
type: 'text';
|
|
755
|
+
value: string | undefined;
|
|
756
|
+
};
|
|
757
|
+
title?: {
|
|
758
|
+
type: 'text';
|
|
759
|
+
value: string | undefined;
|
|
760
|
+
};
|
|
761
|
+
description?: {
|
|
762
|
+
type: 'text';
|
|
763
|
+
value: string | undefined;
|
|
764
|
+
};
|
|
765
|
+
mediaType?: {
|
|
766
|
+
type: 'text';
|
|
767
|
+
value: string | undefined;
|
|
768
|
+
};
|
|
769
|
+
/**
|
|
770
|
+
* The width of the original asset
|
|
771
|
+
*
|
|
772
|
+
* Should resolve to a number but might
|
|
773
|
+
* be a string with a pointer reference
|
|
774
|
+
*/
|
|
775
|
+
width?: {
|
|
776
|
+
type: 'number';
|
|
777
|
+
value: number | string | undefined;
|
|
778
|
+
};
|
|
779
|
+
/**
|
|
780
|
+
* The height of the original asset
|
|
781
|
+
*
|
|
782
|
+
* Should resolve to a number but might
|
|
783
|
+
* be a string with a pointer reference
|
|
784
|
+
*/
|
|
785
|
+
height?: {
|
|
786
|
+
type: 'number';
|
|
787
|
+
value: number | string | undefined;
|
|
788
|
+
};
|
|
789
|
+
/**
|
|
790
|
+
* The size in bytes of the original asset
|
|
791
|
+
*
|
|
792
|
+
* Should resolve to a number but might
|
|
793
|
+
* be a string with a pointer reference
|
|
794
|
+
*/
|
|
795
|
+
size?: {
|
|
796
|
+
type: 'number';
|
|
797
|
+
value: number | string | undefined;
|
|
798
|
+
};
|
|
799
|
+
/**
|
|
800
|
+
* Any key/value properties which the source
|
|
801
|
+
* wants to attach to the asset data
|
|
802
|
+
*/
|
|
803
|
+
custom?: {
|
|
804
|
+
type: string;
|
|
805
|
+
value: Record<string, unknown>;
|
|
806
|
+
};
|
|
807
|
+
};
|
|
754
808
|
};
|
|
755
809
|
type AssetLibraryLocation = MeshLocationCore<AssetParamValue, AssetLibraryLocationMetadata, AssetParamValue, 'assetLibrary'>;
|
|
756
810
|
|
package/dist/index.d.ts
CHANGED
|
@@ -732,25 +732,79 @@ type AssetLibraryLocationMetadata<TIntegrationConfiguration = unknown> = {
|
|
|
732
732
|
projectId: string;
|
|
733
733
|
/** The current Uniform integration source ID */
|
|
734
734
|
sourceId: string;
|
|
735
|
+
/** The resolved data if this source is connected to a data resource */
|
|
736
|
+
dataResourceData?: unknown;
|
|
735
737
|
};
|
|
736
738
|
type AssetParamValue = AssetParamValueItem[];
|
|
737
739
|
type AssetParamValueItem = {
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
type?: string;
|
|
740
|
+
type: string;
|
|
741
|
+
_id: string;
|
|
741
742
|
/**
|
|
742
743
|
* Internal Uniform source ID or
|
|
743
744
|
* dataType ID of the global integration library
|
|
744
745
|
* which created this asset item
|
|
745
746
|
*/
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
747
|
+
_source?: string;
|
|
748
|
+
fields: {
|
|
749
|
+
url: {
|
|
750
|
+
type: 'text';
|
|
751
|
+
value: string;
|
|
752
|
+
};
|
|
753
|
+
id?: {
|
|
754
|
+
type: 'text';
|
|
755
|
+
value: string | undefined;
|
|
756
|
+
};
|
|
757
|
+
title?: {
|
|
758
|
+
type: 'text';
|
|
759
|
+
value: string | undefined;
|
|
760
|
+
};
|
|
761
|
+
description?: {
|
|
762
|
+
type: 'text';
|
|
763
|
+
value: string | undefined;
|
|
764
|
+
};
|
|
765
|
+
mediaType?: {
|
|
766
|
+
type: 'text';
|
|
767
|
+
value: string | undefined;
|
|
768
|
+
};
|
|
769
|
+
/**
|
|
770
|
+
* The width of the original asset
|
|
771
|
+
*
|
|
772
|
+
* Should resolve to a number but might
|
|
773
|
+
* be a string with a pointer reference
|
|
774
|
+
*/
|
|
775
|
+
width?: {
|
|
776
|
+
type: 'number';
|
|
777
|
+
value: number | string | undefined;
|
|
778
|
+
};
|
|
779
|
+
/**
|
|
780
|
+
* The height of the original asset
|
|
781
|
+
*
|
|
782
|
+
* Should resolve to a number but might
|
|
783
|
+
* be a string with a pointer reference
|
|
784
|
+
*/
|
|
785
|
+
height?: {
|
|
786
|
+
type: 'number';
|
|
787
|
+
value: number | string | undefined;
|
|
788
|
+
};
|
|
789
|
+
/**
|
|
790
|
+
* The size in bytes of the original asset
|
|
791
|
+
*
|
|
792
|
+
* Should resolve to a number but might
|
|
793
|
+
* be a string with a pointer reference
|
|
794
|
+
*/
|
|
795
|
+
size?: {
|
|
796
|
+
type: 'number';
|
|
797
|
+
value: number | string | undefined;
|
|
798
|
+
};
|
|
799
|
+
/**
|
|
800
|
+
* Any key/value properties which the source
|
|
801
|
+
* wants to attach to the asset data
|
|
802
|
+
*/
|
|
803
|
+
custom?: {
|
|
804
|
+
type: string;
|
|
805
|
+
value: Record<string, unknown>;
|
|
806
|
+
};
|
|
807
|
+
};
|
|
754
808
|
};
|
|
755
809
|
type AssetLibraryLocation = MeshLocationCore<AssetParamValue, AssetLibraryLocationMetadata, AssetParamValue, 'assetLibrary'>;
|
|
756
810
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/mesh-sdk",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.75.1-alpha.30+4b3edf13d",
|
|
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.75.1-alpha.30+4b3edf13d",
|
|
37
|
+
"@uniformdev/context": "19.75.1-alpha.30+4b3edf13d",
|
|
38
|
+
"@uniformdev/project-map": "19.75.1-alpha.30+4b3edf13d",
|
|
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": "4b3edf13dfea6d5d0ffa8c1ca1ac9a54013a3350"
|
|
46
46
|
}
|