@uniformdev/assets 20.6.5-alpha.1 → 20.7.1-alpha.14
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 +16 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.esm.js +3 -2
- package/dist/index.js +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1157,6 +1157,14 @@ interface components {
|
|
|
1157
1157
|
/** @constant */
|
|
1158
1158
|
type: "number";
|
|
1159
1159
|
};
|
|
1160
|
+
focalPoint?: {
|
|
1161
|
+
value: {
|
|
1162
|
+
x: number;
|
|
1163
|
+
y: number;
|
|
1164
|
+
};
|
|
1165
|
+
/** @constant */
|
|
1166
|
+
type: "focalPoint";
|
|
1167
|
+
};
|
|
1160
1168
|
/** @description Asset field values */
|
|
1161
1169
|
custom?: {
|
|
1162
1170
|
[key: string]: components["schemas"]["ComponentParameter"];
|
|
@@ -1192,6 +1200,14 @@ interface components {
|
|
|
1192
1200
|
/** @constant */
|
|
1193
1201
|
type: "file";
|
|
1194
1202
|
};
|
|
1203
|
+
focalPoint?: {
|
|
1204
|
+
value: {
|
|
1205
|
+
x: number;
|
|
1206
|
+
y: number;
|
|
1207
|
+
};
|
|
1208
|
+
/** @constant */
|
|
1209
|
+
type: "focalPoint";
|
|
1210
|
+
};
|
|
1195
1211
|
};
|
|
1196
1212
|
_dataResources?: components["schemas"]["DataResourceDefinitions"];
|
|
1197
1213
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1157,6 +1157,14 @@ interface components {
|
|
|
1157
1157
|
/** @constant */
|
|
1158
1158
|
type: "number";
|
|
1159
1159
|
};
|
|
1160
|
+
focalPoint?: {
|
|
1161
|
+
value: {
|
|
1162
|
+
x: number;
|
|
1163
|
+
y: number;
|
|
1164
|
+
};
|
|
1165
|
+
/** @constant */
|
|
1166
|
+
type: "focalPoint";
|
|
1167
|
+
};
|
|
1160
1168
|
/** @description Asset field values */
|
|
1161
1169
|
custom?: {
|
|
1162
1170
|
[key: string]: components["schemas"]["ComponentParameter"];
|
|
@@ -1192,6 +1200,14 @@ interface components {
|
|
|
1192
1200
|
/** @constant */
|
|
1193
1201
|
type: "file";
|
|
1194
1202
|
};
|
|
1203
|
+
focalPoint?: {
|
|
1204
|
+
value: {
|
|
1205
|
+
x: number;
|
|
1206
|
+
y: number;
|
|
1207
|
+
};
|
|
1208
|
+
/** @constant */
|
|
1209
|
+
type: "focalPoint";
|
|
1210
|
+
};
|
|
1195
1211
|
};
|
|
1196
1212
|
_dataResources?: components["schemas"]["DataResourceDefinitions"];
|
|
1197
1213
|
};
|
package/dist/index.esm.js
CHANGED
|
@@ -64,7 +64,7 @@ var assetDefinitions = {
|
|
|
64
64
|
|
|
65
65
|
// src/utils/assetConverter.ts
|
|
66
66
|
function convertAssetToPutAsset(asset) {
|
|
67
|
-
var _a, _b, _c;
|
|
67
|
+
var _a, _b, _c, _d;
|
|
68
68
|
return {
|
|
69
69
|
asset: {
|
|
70
70
|
_id: asset.asset._id,
|
|
@@ -74,7 +74,8 @@ function convertAssetToPutAsset(asset) {
|
|
|
74
74
|
fields: {
|
|
75
75
|
title: (_a = asset.asset.fields) == null ? void 0 : _a.title,
|
|
76
76
|
description: (_b = asset.asset.fields) == null ? void 0 : _b.description,
|
|
77
|
-
file: (_c = asset.asset.fields) == null ? void 0 : _c.file
|
|
77
|
+
file: (_c = asset.asset.fields) == null ? void 0 : _c.file,
|
|
78
|
+
focalPoint: (_d = asset.asset.fields) == null ? void 0 : _d.focalPoint
|
|
78
79
|
}
|
|
79
80
|
},
|
|
80
81
|
projectId: asset.projectId
|
package/dist/index.js
CHANGED
|
@@ -93,7 +93,7 @@ var assetDefinitions = {
|
|
|
93
93
|
|
|
94
94
|
// src/utils/assetConverter.ts
|
|
95
95
|
function convertAssetToPutAsset(asset) {
|
|
96
|
-
var _a, _b, _c;
|
|
96
|
+
var _a, _b, _c, _d;
|
|
97
97
|
return {
|
|
98
98
|
asset: {
|
|
99
99
|
_id: asset.asset._id,
|
|
@@ -103,7 +103,8 @@ function convertAssetToPutAsset(asset) {
|
|
|
103
103
|
fields: {
|
|
104
104
|
title: (_a = asset.asset.fields) == null ? void 0 : _a.title,
|
|
105
105
|
description: (_b = asset.asset.fields) == null ? void 0 : _b.description,
|
|
106
|
-
file: (_c = asset.asset.fields) == null ? void 0 : _c.file
|
|
106
|
+
file: (_c = asset.asset.fields) == null ? void 0 : _c.file,
|
|
107
|
+
focalPoint: (_d = asset.asset.fields) == null ? void 0 : _d.focalPoint
|
|
107
108
|
}
|
|
108
109
|
},
|
|
109
110
|
projectId: asset.projectId
|
package/dist/index.mjs
CHANGED
|
@@ -64,7 +64,7 @@ var assetDefinitions = {
|
|
|
64
64
|
|
|
65
65
|
// src/utils/assetConverter.ts
|
|
66
66
|
function convertAssetToPutAsset(asset) {
|
|
67
|
-
var _a, _b, _c;
|
|
67
|
+
var _a, _b, _c, _d;
|
|
68
68
|
return {
|
|
69
69
|
asset: {
|
|
70
70
|
_id: asset.asset._id,
|
|
@@ -74,7 +74,8 @@ function convertAssetToPutAsset(asset) {
|
|
|
74
74
|
fields: {
|
|
75
75
|
title: (_a = asset.asset.fields) == null ? void 0 : _a.title,
|
|
76
76
|
description: (_b = asset.asset.fields) == null ? void 0 : _b.description,
|
|
77
|
-
file: (_c = asset.asset.fields) == null ? void 0 : _c.file
|
|
77
|
+
file: (_c = asset.asset.fields) == null ? void 0 : _c.file,
|
|
78
|
+
focalPoint: (_d = asset.asset.fields) == null ? void 0 : _d.focalPoint
|
|
78
79
|
}
|
|
79
80
|
},
|
|
80
81
|
projectId: asset.projectId
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/assets",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.7.1-alpha.14+60f5dc825c",
|
|
4
4
|
"description": "Uniform Assets",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@uniformdev/context": "20.
|
|
39
|
+
"@uniformdev/context": "20.7.1-alpha.14+60f5dc825c"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "60f5dc825c94de66d7593877448296c598c3c10d"
|
|
42
42
|
}
|