Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@uniformdev/assets

Package Overview
Dependencies
Maintainers
13
Versions
343
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.78.1 to 19.79.0

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.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

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