function dumpUrl
dumpUrl(
dump: OwnedItem,
view?: "edit"
): string

Returns the path of the page of dump, /@owner/dumps/<slug>, or of its editor (dumpPath). Its owner's name and its slug come with every dump the API sends.

Parameters

optional
view: "edit"

Return Type

string

Usage

import { dumpUrl } from "src/utils/shared/urls.ts";