interface JPhoto {
    canDelete?: boolean;
    canUpdate?: boolean;
    comment: undefined | string;
    fileName: string;
    hasChanged?: boolean;
    id: JId;
    imageBase64: string;
    initialComment?: string;
    initialTitle?: string;
    isNewPhoto?: boolean;
    isRemoved?: boolean;
    metadata: JPhotoMetadata;
    oldTempCreationId?: JId;
    title: string;
    url: string;
}

Properties

canDelete?: boolean
canUpdate?: boolean
comment: undefined | string
fileName: string
hasChanged?: boolean
id: JId
imageBase64: string
initialComment?: string
initialTitle?: string
isNewPhoto?: boolean
isRemoved?: boolean
metadata: JPhotoMetadata
oldTempCreationId?: JId

Used to store the generated id (the one used when creating photo that are not yet saved). Required to replace in the store photo list, after the photo has been successfully created on the server.

title: string
url: string