Skip to the content

Capsid menu

app/lib/license.mjs

9 lines and 0 functions in DrDustinEdwards/dustinedwards-info, at commit 1590ba4 on 2026-10-24. This file on GitHub.

Functions

None: it only declares types or values.

Imports

It imports no other module of this repo. Imported by app/lib/pages/protected.mjs, app/lib/publications/export-response.mjs, app/lib/seo.ts, app/routes/kb-library[.csv].ts, app/routes/kb-library[.json].ts, app/routes/protocols[.csv].ts, app/routes/protocols[.json].ts.

Source

/**
 * The site's terms are the license on every data set it publishes (Dustin, 2026-10-04): no open license for
 * now, so what may be done with the data is stated in one place. The address is stored once, here; the
 * Dataset JSON-LD names it as `license` (app/lib/seo.ts LICENSE_URL), and every download carries it as a
 * `Link: rel="license"` header, relative so a plain-node caller needs no origin.
 */
export const TERMS_PATH = "/terms";

/** The `Link` header value a data download carries: the CSV, JSON, RIS and BibTeX exports have no room for a field. */
export const LICENSE_LINK = `<${TERMS_PATH}>; rel="license"`;