@uniformdev/assets 19.54.3-alpha.3 → 19.54.3-alpha.5

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
@@ -138,13 +138,47 @@ interface components {
138
138
  _name?: string;
139
139
  /** @description Name of the author of the most recent change. */
140
140
  _author?: string;
141
- title?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
142
- description?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
143
- mediaType?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
144
- url?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
145
- size?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
146
- width?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
147
- height?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
141
+ title?: {
142
+ value: string;
143
+ /** @constant */
144
+ type: "text";
145
+ };
146
+ description?: {
147
+ value: string;
148
+ /** @constant */
149
+ type: "text";
150
+ };
151
+ file?: {
152
+ /** Format: uuid */
153
+ value: string;
154
+ /** @constant */
155
+ type: "file";
156
+ };
157
+ mediaType?: {
158
+ value: string;
159
+ /** @constant */
160
+ type: "text";
161
+ };
162
+ url?: {
163
+ value: string;
164
+ /** @constant */
165
+ type: "text";
166
+ };
167
+ size?: {
168
+ value: number;
169
+ /** @constant */
170
+ type: "number";
171
+ };
172
+ width?: {
173
+ value: number;
174
+ /** @constant */
175
+ type: "number";
176
+ };
177
+ height?: {
178
+ value: number;
179
+ /** @constant */
180
+ type: "number";
181
+ };
148
182
  /** @description Asset field values. */
149
183
  custom?: {
150
184
  [key: string]: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
package/dist/index.d.ts CHANGED
@@ -138,13 +138,47 @@ interface components {
138
138
  _name?: string;
139
139
  /** @description Name of the author of the most recent change. */
140
140
  _author?: string;
141
- title?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
142
- description?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
143
- mediaType?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
144
- url?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
145
- size?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
146
- width?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
147
- height?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
141
+ title?: {
142
+ value: string;
143
+ /** @constant */
144
+ type: "text";
145
+ };
146
+ description?: {
147
+ value: string;
148
+ /** @constant */
149
+ type: "text";
150
+ };
151
+ file?: {
152
+ /** Format: uuid */
153
+ value: string;
154
+ /** @constant */
155
+ type: "file";
156
+ };
157
+ mediaType?: {
158
+ value: string;
159
+ /** @constant */
160
+ type: "text";
161
+ };
162
+ url?: {
163
+ value: string;
164
+ /** @constant */
165
+ type: "text";
166
+ };
167
+ size?: {
168
+ value: number;
169
+ /** @constant */
170
+ type: "number";
171
+ };
172
+ width?: {
173
+ value: number;
174
+ /** @constant */
175
+ type: "number";
176
+ };
177
+ height?: {
178
+ value: number;
179
+ /** @constant */
180
+ type: "number";
181
+ };
148
182
  /** @description Asset field values. */
149
183
  custom?: {
150
184
  [key: string]: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"];
package/dist/index.esm.js CHANGED
@@ -11,7 +11,7 @@ var AssetClient = class extends ApiClient {
11
11
  ...options,
12
12
  projectId
13
13
  });
14
- return await this.apiClient(fetchUri);
14
+ return this.apiClient(fetchUri);
15
15
  }
16
16
  async upsert(options) {
17
17
  const { projectId } = this.options;
package/dist/index.js CHANGED
@@ -38,7 +38,7 @@ var AssetClient = class extends import_api.ApiClient {
38
38
  ...options,
39
39
  projectId
40
40
  });
41
- return await this.apiClient(fetchUri);
41
+ return this.apiClient(fetchUri);
42
42
  }
43
43
  async upsert(options) {
44
44
  const { projectId } = this.options;
package/dist/index.mjs CHANGED
@@ -11,7 +11,7 @@ var AssetClient = class extends ApiClient {
11
11
  ...options,
12
12
  projectId
13
13
  });
14
- return await this.apiClient(fetchUri);
14
+ return this.apiClient(fetchUri);
15
15
  }
16
16
  async upsert(options) {
17
17
  const { projectId } = this.options;
package/package.json CHANGED
@@ -1,20 +1,11 @@
1
1
  {
2
2
  "name": "@uniformdev/assets",
3
- "version": "19.54.3-alpha.3+c24f64403",
3
+ "version": "19.54.3-alpha.5+014bd6280",
4
4
  "description": "Uniform Assets",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
- "main": "./dist/index.js",
7
- "module": "./dist/index.esm.js",
8
6
  "exports": {
9
- "import": {
10
- "types": "./dist/index.d.ts",
11
- "node": "./dist/index.mjs",
12
- "default": "./dist/index.esm.js"
13
- },
14
- "require": {
15
- "types": "./dist/index.d.ts",
16
- "default": "./dist/index.js"
17
- }
7
+ "import": "./dist/index.mjs",
8
+ "require": "./dist/index.js"
18
9
  },
19
10
  "types": "./dist/index.d.ts",
20
11
  "sideEffects": false,
@@ -36,7 +27,7 @@
36
27
  "access": "public"
37
28
  },
38
29
  "dependencies": {
39
- "@uniformdev/context": "19.54.3-alpha.3+c24f64403"
30
+ "@uniformdev/context": "19.54.3-alpha.5+014bd6280"
40
31
  },
41
- "gitHead": "c24f64403ca47e28674e94da9ab1566671f398fc"
32
+ "gitHead": "014bd628043639e39e853dfdc2a7f1d2da340854"
42
33
  }