interface CreateUrlDumpRequest

Passed by the create form to POST /api/dumps as a JSON body, to post a link. A file is posted as a multipart form instead.

Properties

url: string
optional
title: string

Replaces the title read from the page, when the poster edited it.

optional
comment: string
optional
isPrivate: boolean
optional
categoryIds: string[]

Usage

import { type CreateUrlDumpRequest } from "shared/dump.ts";