Socket
Socket
Sign inDemoInstall

@uniformdev/assets

Package Overview
Dependencies
Maintainers
13
Versions
303
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uniformdev/assets - npm Package Compare versions

Comparing version 19.77.0 to 19.77.1-alpha.47

9

./dist/index.js

@@ -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.77.0",
"version": "19.77.1-alpha.47+d5775ab2f",
"description": "Uniform Assets",

@@ -39,5 +39,5 @@ "license": "SEE LICENSE IN LICENSE.txt",

"dependencies": {
"@uniformdev/context": "19.77.0"
"@uniformdev/context": "19.77.1-alpha.47+d5775ab2f"
},
"gitHead": "1a49a5cd8ac5d8439f885826131636d34fa9c0f7"
"gitHead": "d5775ab2fc5faed1f7c7631e7aa5b3489c207435"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc