@uniformdev/assets
Advanced tools
Comparing version 19.207.0 to 19.207.1-alpha.20
@@ -41,2 +41,26 @@ // src/AssetClient.ts | ||
// src/definitions.ts | ||
var assetDefinitions = { | ||
image: { | ||
id: "image", | ||
name: "Image Asset", | ||
namePlural: "Image Assets" | ||
}, | ||
video: { | ||
id: "video", | ||
name: "Video Asset", | ||
namePlural: "Video Assets" | ||
}, | ||
audio: { | ||
id: "audio", | ||
name: "Audio Asset", | ||
namePlural: "Audio Assets" | ||
}, | ||
other: { | ||
id: "other", | ||
name: "Other Asset", | ||
namePlural: "Other Assets" | ||
} | ||
}; | ||
// src/utils/assetConverter.ts | ||
@@ -63,3 +87,4 @@ function convertAssetToPutAsset(asset) { | ||
UncachedAssetClient, | ||
assetDefinitions, | ||
convertAssetToPutAsset | ||
}; |
@@ -25,2 +25,3 @@ "use strict"; | ||
UncachedAssetClient: () => UncachedAssetClient, | ||
assetDefinitions: () => assetDefinitions, | ||
convertAssetToPutAsset: () => convertAssetToPutAsset | ||
@@ -70,2 +71,26 @@ }); | ||
// src/definitions.ts | ||
var assetDefinitions = { | ||
image: { | ||
id: "image", | ||
name: "Image Asset", | ||
namePlural: "Image Assets" | ||
}, | ||
video: { | ||
id: "video", | ||
name: "Video Asset", | ||
namePlural: "Video Assets" | ||
}, | ||
audio: { | ||
id: "audio", | ||
name: "Audio Asset", | ||
namePlural: "Audio Assets" | ||
}, | ||
other: { | ||
id: "other", | ||
name: "Other Asset", | ||
namePlural: "Other Assets" | ||
} | ||
}; | ||
// src/utils/assetConverter.ts | ||
@@ -93,3 +118,4 @@ function convertAssetToPutAsset(asset) { | ||
UncachedAssetClient, | ||
assetDefinitions, | ||
convertAssetToPutAsset | ||
}); |
{ | ||
"name": "@uniformdev/assets", | ||
"version": "19.207.0", | ||
"version": "19.207.1-alpha.20+9dc4b12464", | ||
"description": "Uniform Assets", | ||
@@ -39,5 +39,5 @@ "license": "SEE LICENSE IN LICENSE.txt", | ||
"dependencies": { | ||
"@uniformdev/context": "19.207.0" | ||
"@uniformdev/context": "19.207.1-alpha.20+9dc4b12464" | ||
}, | ||
"gitHead": "e90334452c3b50b7657f7ae55ffb9c6fe97febb3" | ||
"gitHead": "9dc4b1246494bc273e86dd22cd4818aa4ebd1c24" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
171873
1843
2
1
- Removed@uniformdev/context@19.207.0(transitive)
- Removeddequal@2.0.3(transitive)
- Removedjs-cookie@3.0.5(transitive)
- Removedmitt@3.0.1(transitive)
- Removedp-limit@3.1.0(transitive)
- Removedrfdc@1.4.1(transitive)
- Removeduuid@9.0.1(transitive)
- Removedyocto-queue@0.1.0(transitive)