Reference · Rockets, variants, parts and the fit check
Sourcetype
A source of a figure: its title, publisher and address, the date on it where it has one, how it was read (directly, by search or cited) and its licence.
Import it
import type { Source } from "@johnmorrisdotca/uchusen-rockets";
Definition
interface Source {
title: string;
publisher: string;
url: string;
date?: string;
read: "direct" | "search" | "cited";
licence?: string;
}
Members
| Name | Type | Description |
|---|---|---|
title | string | |
publisher | string | |
url | string | |
date (optional) | string | undefined | The date on the source, when it has one. |
read | "direct" | "search" | "cited" | |
licence (optional) | string | undefined |
Examples
import { SOURCES, type Source } from "@johnmorrisdotca/uchusen-rockets";
const source: Source = SOURCES["wikipedia-starship"];
console.log(source.publisher, source.read);Wikipedia directWhat it prints (run when this page was built)