publicLink
function publicLink(link): Omit<Link, "password"> & object;Defined in: src/core.ts:343
Strip secrets from a link for API responses: the password hash becomes hasPassword.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
link |
Link |
Returns
Section titled “Returns”Omit<Link, "password"> & object