@uniformdev/assets
Advanced tools
Comparing version 19.78.1 to 19.79.0
@@ -71,2 +71,3 @@ "use strict"; | ||
function convertAssetToPutAsset(asset) { | ||
var _a, _b, _c; | ||
return { | ||
@@ -78,5 +79,7 @@ asset: { | ||
type: asset.asset.type, | ||
title: asset.asset.title, | ||
description: asset.asset.description, | ||
file: asset.asset.file | ||
fields: { | ||
title: (_a = asset.asset.fields) == null ? void 0 : _a.title, | ||
description: (_b = asset.asset.fields) == null ? void 0 : _b.description, | ||
file: (_c = asset.asset.fields) == null ? void 0 : _c.file | ||
} | ||
}, | ||
@@ -83,0 +86,0 @@ projectId: asset.projectId |
@@ -142,47 +142,49 @@ import { ApiClient, ClientOptions } from '@uniformdev/context/api'; | ||
_author?: string; | ||
title?: { | ||
value: string; | ||
/** @constant */ | ||
type: "text"; | ||
fields?: { | ||
title?: { | ||
value: string; | ||
/** @constant */ | ||
type: "text"; | ||
}; | ||
description?: { | ||
value: string; | ||
/** @constant */ | ||
type: "text"; | ||
}; | ||
file?: { | ||
/** Format: uuid */ | ||
value: string; | ||
/** @constant */ | ||
type: "file"; | ||
}; | ||
mediaType?: { | ||
value: string; | ||
/** @constant */ | ||
type: "text"; | ||
}; | ||
url?: { | ||
value: string; | ||
/** @constant */ | ||
type: "text"; | ||
}; | ||
size?: { | ||
value: number; | ||
/** @constant */ | ||
type: "number"; | ||
}; | ||
width?: { | ||
value: number; | ||
/** @constant */ | ||
type: "number"; | ||
}; | ||
height?: { | ||
value: number; | ||
/** @constant */ | ||
type: "number"; | ||
}; | ||
/** @description Asset field values. */ | ||
custom?: { | ||
[key: string]: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"]; | ||
}; | ||
}; | ||
description?: { | ||
value: string; | ||
/** @constant */ | ||
type: "text"; | ||
}; | ||
file?: { | ||
/** Format: uuid */ | ||
value: string; | ||
/** @constant */ | ||
type: "file"; | ||
}; | ||
mediaType?: { | ||
value: string; | ||
/** @constant */ | ||
type: "text"; | ||
}; | ||
url?: { | ||
value: string; | ||
/** @constant */ | ||
type: "text"; | ||
}; | ||
size?: { | ||
value: number; | ||
/** @constant */ | ||
type: "number"; | ||
}; | ||
width?: { | ||
value: number; | ||
/** @constant */ | ||
type: "number"; | ||
}; | ||
height?: { | ||
value: number; | ||
/** @constant */ | ||
type: "number"; | ||
}; | ||
/** @description Asset field values. */ | ||
custom?: { | ||
[key: string]: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentParameter"]; | ||
}; | ||
_dataResources?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceDefinitions"]; | ||
@@ -201,18 +203,20 @@ }; | ||
_name?: string; | ||
title?: { | ||
value: string; | ||
/** @constant */ | ||
type: "text"; | ||
fields?: { | ||
title?: { | ||
value: string; | ||
/** @constant */ | ||
type: "text"; | ||
}; | ||
description?: { | ||
value: string; | ||
/** @constant */ | ||
type: "text"; | ||
}; | ||
file?: { | ||
/** Format: uuid */ | ||
value: string; | ||
/** @constant */ | ||
type: "file"; | ||
}; | ||
}; | ||
description?: { | ||
value: string; | ||
/** @constant */ | ||
type: "text"; | ||
}; | ||
file?: { | ||
/** Format: uuid */ | ||
value: string; | ||
/** @constant */ | ||
type: "file"; | ||
}; | ||
_dataResources?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataResourceDefinitions"]; | ||
@@ -219,0 +223,0 @@ }; |
@@ -43,2 +43,3 @@ // src/AssetClient.ts | ||
function convertAssetToPutAsset(asset) { | ||
var _a, _b, _c; | ||
return { | ||
@@ -50,5 +51,7 @@ asset: { | ||
type: asset.asset.type, | ||
title: asset.asset.title, | ||
description: asset.asset.description, | ||
file: asset.asset.file | ||
fields: { | ||
title: (_a = asset.asset.fields) == null ? void 0 : _a.title, | ||
description: (_b = asset.asset.fields) == null ? void 0 : _b.description, | ||
file: (_c = asset.asset.fields) == null ? void 0 : _c.file | ||
} | ||
}, | ||
@@ -55,0 +58,0 @@ projectId: asset.projectId |
@@ -71,2 +71,3 @@ "use strict"; | ||
function convertAssetToPutAsset(asset) { | ||
var _a, _b, _c; | ||
return { | ||
@@ -78,5 +79,7 @@ asset: { | ||
type: asset.asset.type, | ||
title: asset.asset.title, | ||
description: asset.asset.description, | ||
file: asset.asset.file | ||
fields: { | ||
title: (_a = asset.asset.fields) == null ? void 0 : _a.title, | ||
description: (_b = asset.asset.fields) == null ? void 0 : _b.description, | ||
file: (_c = asset.asset.fields) == null ? void 0 : _c.file | ||
} | ||
}, | ||
@@ -83,0 +86,0 @@ projectId: asset.projectId |
{ | ||
"name": "@uniformdev/assets", | ||
"version": "19.78.1", | ||
"version": "19.79.0", | ||
"description": "Uniform Assets", | ||
@@ -39,5 +39,5 @@ "license": "SEE LICENSE IN LICENSE.txt", | ||
"dependencies": { | ||
"@uniformdev/context": "19.78.1" | ||
"@uniformdev/context": "19.79.0" | ||
}, | ||
"gitHead": "757c51b80cc39640bcedef7fb5334f36a00c4761" | ||
"gitHead": "78f5ededbaa1a67d58d808eac23ab64769e14e10" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
114358
1221
+ Added@uniformdev/context@19.79.0(transitive)
- Removed@uniformdev/context@19.78.1(transitive)
Updated@uniformdev/context@19.79.0