interface AttachmentAccess

Returned to GET /api/attachments/:attachmentId by getAttachmentAccess. ownerId is set when only that user may see the image, because the resource linking it is private.

Properties

mime: string
optional
ownerId: string

Usage

import { type AttachmentAccess } from "api/services/attachment-service.ts";