@uniformdev/assets 20.7.1-alpha.14 → 20.8.1

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 CHANGED
@@ -1157,14 +1157,6 @@ 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
- };
1168
1160
  /** @description Asset field values */
1169
1161
  custom?: {
1170
1162
  [key: string]: components["schemas"]["ComponentParameter"];
@@ -1200,14 +1192,6 @@ interface components {
1200
1192
  /** @constant */
1201
1193
  type: "file";
1202
1194
  };
1203
- focalPoint?: {
1204
- value: {
1205
- x: number;
1206
- y: number;
1207
- };
1208
- /** @constant */
1209
- type: "focalPoint";
1210
- };
1211
1195
  };
1212
1196
  _dataResources?: components["schemas"]["DataResourceDefinitions"];
1213
1197
  };
package/dist/index.d.ts CHANGED
@@ -1157,14 +1157,6 @@ 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
- };
1168
1160
  /** @description Asset field values */
1169
1161
  custom?: {
1170
1162
  [key: string]: components["schemas"]["ComponentParameter"];
@@ -1200,14 +1192,6 @@ interface components {
1200
1192
  /** @constant */
1201
1193
  type: "file";
1202
1194
  };
1203
- focalPoint?: {
1204
- value: {
1205
- x: number;
1206
- y: number;
1207
- };
1208
- /** @constant */
1209
- type: "focalPoint";
1210
- };
1211
1195
  };
1212
1196
  _dataResources?: components["schemas"]["DataResourceDefinitions"];
1213
1197
  };
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, _d;
67
+ var _a, _b, _c;
68
68
  return {
69
69
  asset: {
70
70
  _id: asset.asset._id,
@@ -74,8 +74,7 @@ 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,
78
- focalPoint: (_d = asset.asset.fields) == null ? void 0 : _d.focalPoint
77
+ file: (_c = asset.asset.fields) == null ? void 0 : _c.file
79
78
  }
80
79
  },
81
80
  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, _d;
96
+ var _a, _b, _c;
97
97
  return {
98
98
  asset: {
99
99
  _id: asset.asset._id,
@@ -103,8 +103,7 @@ 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,
107
- focalPoint: (_d = asset.asset.fields) == null ? void 0 : _d.focalPoint
106
+ file: (_c = asset.asset.fields) == null ? void 0 : _c.file
108
107
  }
109
108
  },
110
109
  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, _d;
67
+ var _a, _b, _c;
68
68
  return {
69
69
  asset: {
70
70
  _id: asset.asset._id,
@@ -74,8 +74,7 @@ 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,
78
- focalPoint: (_d = asset.asset.fields) == null ? void 0 : _d.focalPoint
77
+ file: (_c = asset.asset.fields) == null ? void 0 : _c.file
79
78
  }
80
79
  },
81
80
  projectId: asset.projectId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/assets",
3
- "version": "20.7.1-alpha.14+60f5dc825c",
3
+ "version": "20.8.1",
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.7.1-alpha.14+60f5dc825c"
39
+ "@uniformdev/context": "20.8.1"
40
40
  },
41
- "gitHead": "60f5dc825c94de66d7593877448296c598c3c10d"
41
+ "gitHead": "7f4a0fc0650b043561f32bedc6c4cc18683df111"
42
42
  }