enonic-types
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -170,3 +170,2 @@ declare module "*/lib/xp/content" { | ||
} | ||
type Image = MediaImage; | ||
interface ImageConfig { | ||
@@ -192,2 +191,36 @@ attachment: string; | ||
} | ||
interface MediaImageXData { | ||
media: { | ||
imageInfo: { | ||
imageHeight: number; | ||
imageWidth: string; | ||
contentType: string; | ||
colorSpace: string; | ||
pixelSize: string; | ||
byteSize: string; | ||
description: string; | ||
fileSource: string; | ||
}; | ||
cameraInfo: { | ||
make: string; | ||
model: string; | ||
lens: string; | ||
iso: string; | ||
focalLength: string; | ||
focalLength35: string; | ||
exposureBias: string; | ||
aperture: string; | ||
shutterTime: string; | ||
flash: string; | ||
autoFlashCompensation: string; | ||
whiteBalance: string; | ||
exposureProgram: string; | ||
shootingMode: string; | ||
meteringMode: string; | ||
exposureMode: string; | ||
focusDistance: string; | ||
orientation: string; | ||
}; | ||
}; | ||
} | ||
interface Attachment { | ||
@@ -194,0 +227,0 @@ name: string; |
{ | ||
"name": "enonic-types", | ||
"sideEffects": false, | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "TypeScript types for Enonic XP", | ||
@@ -29,6 +29,6 @@ "typings": "index.d.ts", | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^5.16.0", | ||
"@typescript-eslint/parser": "^5.16.0", | ||
"@typescript-eslint/eslint-plugin": "^5.17.0", | ||
"@typescript-eslint/parser": "^5.17.0", | ||
"copyfiles": "^2.4.1", | ||
"eslint": "^8.11.0", | ||
"eslint": "^8.12.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
@@ -35,0 +35,0 @@ "eslint-plugin-prettier": "^4.0.0", |
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
270300
7321