UNPKG

@esm-js/jira.js

Version:

A comprehensive JavaScript/TypeScript library designed for both Node.JS and browsers, facilitating seamless interaction with the Atlassian Jira API.

30 lines (28 loc) 900 B
import type { User } from './user'; /** Metadata for an issue attachment. */ export interface AttachmentMetadata { /** The ID of the attachment. */ id?: number; /** The URL of the attachment metadata details. */ self?: string; /** The name of the attachment file. */ filename?: string; author?: User; /** The datetime the attachment was created. */ created?: string; /** The size of the attachment. */ size?: number; /** The MIME type of the attachment. */ mimeType?: string; /** Additional properties of the attachment. */ properties?: unknown; /** The URL of the attachment. */ content?: string; /** The URL of a thumbnail representing the attachment. */ thumbnail?: string; /** * File ID of the attachment in Media Store. See [ for more details on the Media * API.](https://developer.atlassian.com/platform/media/) */ mediaApiFileId?: string; }