@uniformdev/assets 19.78.1 → 19.79.1-alpha.11
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 +63 -59
- package/dist/index.d.ts +63 -59
- package/dist/index.esm.js +6 -3
- package/dist/index.js +6 -3
- package/dist/index.mjs +6 -3
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -139,50 +139,52 @@ interface components {
|
|
|
139
139
|
_name?: string;
|
|
140
140
|
/** @description Name of the author of the most recent change. */
|
|
141
141
|
_author?: string;
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
142
|
+
fields?: {
|
|
143
|
+
title?: {
|
|
144
|
+
value: string;
|
|
145
|
+
/** @constant */
|
|
146
|
+
type: "text";
|
|
147
|
+
};
|
|
148
|
+
description?: {
|
|
149
|
+
value: string;
|
|
150
|
+
/** @constant */
|
|
151
|
+
type: "text";
|
|
152
|
+
};
|
|
153
|
+
file?: {
|
|
154
|
+
/** Format: uuid */
|
|
155
|
+
value: string;
|
|
156
|
+
/** @constant */
|
|
157
|
+
type: "file";
|
|
158
|
+
};
|
|
159
|
+
mediaType?: {
|
|
160
|
+
value: string;
|
|
161
|
+
/** @constant */
|
|
162
|
+
type: "text";
|
|
163
|
+
};
|
|
164
|
+
url?: {
|
|
165
|
+
value: string;
|
|
166
|
+
/** @constant */
|
|
167
|
+
type: "text";
|
|
168
|
+
};
|
|
169
|
+
size?: {
|
|
170
|
+
value: number;
|
|
171
|
+
/** @constant */
|
|
172
|
+
type: "number";
|
|
173
|
+
};
|
|
174
|
+
width?: {
|
|
175
|
+
value: number;
|
|
176
|
+
/** @constant */
|
|
177
|
+
type: "number";
|
|
178
|
+
};
|
|
179
|
+
height?: {
|
|
180
|
+
value: number;
|
|
181
|
+
/** @constant */
|
|
182
|
+
type: "number";
|
|
183
|
+
};
|
|
184
|
+
/** @description Asset field values. */
|
|
185
|
+
custom?: {
|
|
186
|
+
[key: string]: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
|
|
187
|
+
};
|
|
186
188
|
};
|
|
187
189
|
_dataResources?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceDefinitions"];
|
|
188
190
|
};
|
|
@@ -197,21 +199,23 @@ interface components {
|
|
|
197
199
|
_id?: string;
|
|
198
200
|
/** @description The internal name of the asset. */
|
|
199
201
|
_name?: string;
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
202
|
+
fields?: {
|
|
203
|
+
title?: {
|
|
204
|
+
value: string;
|
|
205
|
+
/** @constant */
|
|
206
|
+
type: "text";
|
|
207
|
+
};
|
|
208
|
+
description?: {
|
|
209
|
+
value: string;
|
|
210
|
+
/** @constant */
|
|
211
|
+
type: "text";
|
|
212
|
+
};
|
|
213
|
+
file?: {
|
|
214
|
+
/** Format: uuid */
|
|
215
|
+
value: string;
|
|
216
|
+
/** @constant */
|
|
217
|
+
type: "file";
|
|
218
|
+
};
|
|
215
219
|
};
|
|
216
220
|
_dataResources?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceDefinitions"];
|
|
217
221
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -139,50 +139,52 @@ interface components {
|
|
|
139
139
|
_name?: string;
|
|
140
140
|
/** @description Name of the author of the most recent change. */
|
|
141
141
|
_author?: string;
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
142
|
+
fields?: {
|
|
143
|
+
title?: {
|
|
144
|
+
value: string;
|
|
145
|
+
/** @constant */
|
|
146
|
+
type: "text";
|
|
147
|
+
};
|
|
148
|
+
description?: {
|
|
149
|
+
value: string;
|
|
150
|
+
/** @constant */
|
|
151
|
+
type: "text";
|
|
152
|
+
};
|
|
153
|
+
file?: {
|
|
154
|
+
/** Format: uuid */
|
|
155
|
+
value: string;
|
|
156
|
+
/** @constant */
|
|
157
|
+
type: "file";
|
|
158
|
+
};
|
|
159
|
+
mediaType?: {
|
|
160
|
+
value: string;
|
|
161
|
+
/** @constant */
|
|
162
|
+
type: "text";
|
|
163
|
+
};
|
|
164
|
+
url?: {
|
|
165
|
+
value: string;
|
|
166
|
+
/** @constant */
|
|
167
|
+
type: "text";
|
|
168
|
+
};
|
|
169
|
+
size?: {
|
|
170
|
+
value: number;
|
|
171
|
+
/** @constant */
|
|
172
|
+
type: "number";
|
|
173
|
+
};
|
|
174
|
+
width?: {
|
|
175
|
+
value: number;
|
|
176
|
+
/** @constant */
|
|
177
|
+
type: "number";
|
|
178
|
+
};
|
|
179
|
+
height?: {
|
|
180
|
+
value: number;
|
|
181
|
+
/** @constant */
|
|
182
|
+
type: "number";
|
|
183
|
+
};
|
|
184
|
+
/** @description Asset field values. */
|
|
185
|
+
custom?: {
|
|
186
|
+
[key: string]: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
|
|
187
|
+
};
|
|
186
188
|
};
|
|
187
189
|
_dataResources?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceDefinitions"];
|
|
188
190
|
};
|
|
@@ -197,21 +199,23 @@ interface components {
|
|
|
197
199
|
_id?: string;
|
|
198
200
|
/** @description The internal name of the asset. */
|
|
199
201
|
_name?: string;
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
202
|
+
fields?: {
|
|
203
|
+
title?: {
|
|
204
|
+
value: string;
|
|
205
|
+
/** @constant */
|
|
206
|
+
type: "text";
|
|
207
|
+
};
|
|
208
|
+
description?: {
|
|
209
|
+
value: string;
|
|
210
|
+
/** @constant */
|
|
211
|
+
type: "text";
|
|
212
|
+
};
|
|
213
|
+
file?: {
|
|
214
|
+
/** Format: uuid */
|
|
215
|
+
value: string;
|
|
216
|
+
/** @constant */
|
|
217
|
+
type: "file";
|
|
218
|
+
};
|
|
215
219
|
};
|
|
216
220
|
_dataResources?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceDefinitions"];
|
|
217
221
|
};
|
package/dist/index.esm.js
CHANGED
|
@@ -40,15 +40,18 @@ var UncachedAssetClient = class extends AssetClient {
|
|
|
40
40
|
|
|
41
41
|
// src/utils/assetConverter.ts
|
|
42
42
|
function convertAssetToPutAsset(asset) {
|
|
43
|
+
var _a, _b, _c;
|
|
43
44
|
return {
|
|
44
45
|
asset: {
|
|
45
46
|
_id: asset.asset._id,
|
|
46
47
|
_dataResources: asset.asset._dataResources,
|
|
47
48
|
_name: asset.asset._name,
|
|
48
49
|
type: asset.asset.type,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
fields: {
|
|
51
|
+
title: (_a = asset.asset.fields) == null ? void 0 : _a.title,
|
|
52
|
+
description: (_b = asset.asset.fields) == null ? void 0 : _b.description,
|
|
53
|
+
file: (_c = asset.asset.fields) == null ? void 0 : _c.file
|
|
54
|
+
}
|
|
52
55
|
},
|
|
53
56
|
projectId: asset.projectId
|
|
54
57
|
};
|
package/dist/index.js
CHANGED
|
@@ -68,15 +68,18 @@ var UncachedAssetClient = class extends AssetClient {
|
|
|
68
68
|
|
|
69
69
|
// src/utils/assetConverter.ts
|
|
70
70
|
function convertAssetToPutAsset(asset) {
|
|
71
|
+
var _a, _b, _c;
|
|
71
72
|
return {
|
|
72
73
|
asset: {
|
|
73
74
|
_id: asset.asset._id,
|
|
74
75
|
_dataResources: asset.asset._dataResources,
|
|
75
76
|
_name: asset.asset._name,
|
|
76
77
|
type: asset.asset.type,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
fields: {
|
|
79
|
+
title: (_a = asset.asset.fields) == null ? void 0 : _a.title,
|
|
80
|
+
description: (_b = asset.asset.fields) == null ? void 0 : _b.description,
|
|
81
|
+
file: (_c = asset.asset.fields) == null ? void 0 : _c.file
|
|
82
|
+
}
|
|
80
83
|
},
|
|
81
84
|
projectId: asset.projectId
|
|
82
85
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -40,15 +40,18 @@ var UncachedAssetClient = class extends AssetClient {
|
|
|
40
40
|
|
|
41
41
|
// src/utils/assetConverter.ts
|
|
42
42
|
function convertAssetToPutAsset(asset) {
|
|
43
|
+
var _a, _b, _c;
|
|
43
44
|
return {
|
|
44
45
|
asset: {
|
|
45
46
|
_id: asset.asset._id,
|
|
46
47
|
_dataResources: asset.asset._dataResources,
|
|
47
48
|
_name: asset.asset._name,
|
|
48
49
|
type: asset.asset.type,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
fields: {
|
|
51
|
+
title: (_a = asset.asset.fields) == null ? void 0 : _a.title,
|
|
52
|
+
description: (_b = asset.asset.fields) == null ? void 0 : _b.description,
|
|
53
|
+
file: (_c = asset.asset.fields) == null ? void 0 : _c.file
|
|
54
|
+
}
|
|
52
55
|
},
|
|
53
56
|
projectId: asset.projectId
|
|
54
57
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/assets",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.79.1-alpha.11+4547ef846",
|
|
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": "19.
|
|
39
|
+
"@uniformdev/context": "19.79.1-alpha.11+4547ef846"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "4547ef8469f21f7f2341bcd87203372c4646bc08"
|
|
42
42
|
}
|