File

lib/common/file/entity/exif-file-metadata.entity.ts

Description

The entity stores the EXIF metadata of the file

Index

Properties

Properties

aperture
Type : string
Decorators :
@Index()
@Column('varchar', {nullable: true})
brightness
Type : string
Decorators :
@Index()
@Column('varchar', {nullable: true})
colorSpace
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'color_space', nullable: true})
compositeImage
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'composite_image', nullable: true})
contrast
Type : string
Decorators :
@Index()
@Column('varchar', {nullable: true})
customRendered
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'custom_rendered', nullable: true})
digitalZoomRatio
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'digital_zoom_ratio', nullable: true})
exifIfdPointer
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'exif_ifd_pointer', nullable: true})
exifVersion
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'exif_version', nullable: true})
exposureBias
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'exposure_bias', nullable: true})
exposureMode
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'exposure_mode', nullable: true})
exposureProgram
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'exposure_program', nullable: true})
exposureTime
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'exposure_time', nullable: true})
flash
Type : string
Decorators :
@Index()
@Column('varchar', {nullable: true})
flashpixVersion
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'flashpix_version', nullable: true})
fNumber
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'f_number', nullable: true})
focalLength
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'focal_length', nullable: true})
gpsInfoIfdPointer
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'gps_info_ifd_pointer', nullable: true})
id
Type : number
Decorators :
@PrimaryGeneratedColumn({zerofill: true})
interoperabilityIfdPointer
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'interoperability_ifd_pointer', nullable: true})
interoperabilityIndex
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'interoperability_index', nullable: true})
interoperabilityVersion
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'interoperability_version', nullable: true})
isoSpeedRatings
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'iso_speed_ratings', nullable: true})
lensMake
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'lens_make', nullable: true})
lensModel
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'lens_model', nullable: true})
make
Type : string
Decorators :
@Index()
@Column('varchar', {nullable: true})
maxAperture
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'max_aperture', nullable: true})
meteringMode
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'metering_mode', nullable: true})
model
Type : string
Decorators :
@Index()
@Column('varchar', {nullable: true})
offsetTime
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'offset_time', nullable: true})
orientation
Type : string
Decorators :
@Index()
@Column('varchar', {nullable: true})
pixelXDimension
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'pixel_x_dimension', nullable: true})
pixelYDimension
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'pixel_y_dimension', nullable: true})
resolutionUnit
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'resolution_unit', nullable: true})
resolutionX
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'resolution_x', nullable: true})
resolutionY
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'resolution_y', nullable: true})
saturation
Type : string
Decorators :
@Index()
@Column('varchar', {nullable: true})
sceneCaptureType
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'scene_capture_type', nullable: true})
sceneType
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'scene_type', nullable: true})
sensingMethod
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'sensing_method', nullable: true})
sharpness
Type : string
Decorators :
@Index()
@Column('varchar', {nullable: true})
shutterSpeedValue
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'shutterSpeedValue', nullable: true})
software
Type : string
Decorators :
@Index()
@Column('varchar', {nullable: true})
subjectDistance
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'subject_distance', nullable: true})
subjectDistanceRange
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'subject_distance_range', nullable: true})
whiteBalance
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'white_balance', nullable: true})
ycbCrPositioning
Type : string
Decorators :
@Index()
@Column('varchar', {name: 'ycb_cr_positioning', nullable: true})
import { Column, Entity, Index, PrimaryGeneratedColumn } from "typeorm";
import { ExifFileMetadata } from "../file.types";

/**
 * The entity stores the EXIF metadata of the file
 */
@Entity("file_metadata_exif")
export class ExifFileMetadataEntity implements ExifFileMetadata {
  @PrimaryGeneratedColumn({ zerofill: true })
  id: number;

  @Index()
  @Column("varchar", { nullable: true })
  make: string;

  @Index()
  @Column("varchar", { nullable: true })
  model: string;

  @Index()
  @Column("varchar", { nullable: true })
  orientation: string;

  @Index()
  @Column("varchar", { name: "resolution_x", nullable: true })
  resolutionX: string;

  @Index()
  @Column("varchar", { name: "resolution_y", nullable: true })
  resolutionY: string;

  @Index()
  @Column("varchar", { name: "resolution_unit", nullable: true })
  resolutionUnit: string;

  @Index()
  @Column("varchar", { nullable: true })
  software: string;

  @Index()
  @Column("varchar", { name: "ycb_cr_positioning", nullable: true })
  ycbCrPositioning: string;

  @Index()
  @Column("varchar", { name: "exif_ifd_pointer", nullable: true })
  exifIfdPointer: string;

  @Index()
  @Column("varchar", { name: "gps_info_ifd_pointer", nullable: true })
  gpsInfoIfdPointer: string;

  @Index()
  @Column("varchar", { name: "exposure_time", nullable: true })
  exposureTime: string;

  @Index()
  @Column("varchar", { name: "f_number", nullable: true })
  fNumber: string;

  @Index()
  @Column("varchar", { name: "exposure_program", nullable: true })
  exposureProgram: string;

  @Index()
  @Column("varchar", { name: "iso_speed_ratings", nullable: true })
  isoSpeedRatings: string;

  @Index()
  @Column("varchar", { name: "exif_version", nullable: true })
  exifVersion: string;

  @Index()
  @Column("varchar", { name: "offset_time", nullable: true })
  offsetTime: string;

  @Index()
  @Column("varchar", { name: "shutterSpeedValue", nullable: true })
  shutterSpeedValue: string;

  @Index()
  @Column("varchar", { nullable: true })
  aperture: string;

  @Index()
  @Column("varchar", { nullable: true })
  brightness: string;

  @Index()
  @Column("varchar", { name: "exposure_bias", nullable: true })
  exposureBias: string;

  @Index()
  @Column("varchar", { name: "max_aperture", nullable: true })
  maxAperture: string;

  @Index()
  @Column("varchar", { name: "subject_distance", nullable: true })
  subjectDistance: string;

  @Index()
  @Column("varchar", { name: "metering_mode", nullable: true })
  meteringMode: string;

  @Index()
  @Column("varchar", { nullable: true })
  flash: string;

  @Index()
  @Column("varchar", { name: "focal_length", nullable: true })
  focalLength: string;

  @Index()
  @Column("varchar", { name: "flashpix_version", nullable: true })
  flashpixVersion: string;

  @Index()
  @Column("varchar", { name: "color_space", nullable: true })
  colorSpace: string;

  @Index()
  @Column("varchar", { name: "pixel_x_dimension", nullable: true })
  pixelXDimension: string;

  @Index()
  @Column("varchar", { name: "pixel_y_dimension", nullable: true })
  pixelYDimension: string;

  @Index()
  @Column("varchar", { name: "interoperability_ifd_pointer", nullable: true })
  interoperabilityIfdPointer: string;

  @Index()
  @Column("varchar", { name: "sensing_method", nullable: true })
  sensingMethod: string;

  @Index()
  @Column("varchar", { name: "scene_type", nullable: true })
  sceneType: string;

  @Index()
  @Column("varchar", { name: "custom_rendered", nullable: true })
  customRendered: string;

  @Index()
  @Column("varchar", { name: "exposure_mode", nullable: true })
  exposureMode: string;

  @Index()
  @Column("varchar", { name: "white_balance", nullable: true })
  whiteBalance: string;

  @Index()
  @Column("varchar", { name: "digital_zoom_ratio", nullable: true })
  digitalZoomRatio: string;

  @Index()
  @Column("varchar", { name: "scene_capture_type", nullable: true })
  sceneCaptureType: string;

  @Index()
  @Column("varchar", { nullable: true })
  contrast: string;

  @Index()
  @Column("varchar", { nullable: true })
  saturation: string;

  @Index()
  @Column("varchar", { nullable: true })
  sharpness: string;

  @Index()
  @Column("varchar", { name: "subject_distance_range", nullable: true })
  subjectDistanceRange: string;

  @Index()
  @Column("varchar", { name: "lens_make", nullable: true })
  lensMake: string;

  @Index()
  @Column("varchar", { name: "lens_model", nullable: true })
  lensModel: string;

  @Index()
  @Column("varchar", { name: "composite_image", nullable: true })
  compositeImage: string;

  @Index()
  @Column("varchar", { name: "interoperability_index", nullable: true })
  interoperabilityIndex: string;

  @Index()
  @Column("varchar", { name: "interoperability_version", nullable: true })
  interoperabilityVersion: string;
}

results matching ""

    No results matching ""