import { injectable } from "inversify"; import { IJsonApiResponse, IJsonApiResource, IJsonApiRelationship, } from "../../interfaces"; export const imageType = "image"; export const imageAssociationType = "image_association"; export interface IImageAttribution { name: string; organization: string; } export interface IImageAttributes { attribution: IImageAttribution[]; caption: string; height: number; orientation: string; path: string; width: number; tags?: string[]; } export interface IImageResource extends IJsonApiResource {} export interface IImage { attribution: IImageAttribution[]; caption: string; height: number; orientation: string; path: string; width: number; url: string; tags: string[]; } export default class Image { attribution: IImageAttribution[]; caption: string; height: number; orientation: string; path: string; width: number; url: string; tags: string[]; }