Reference · Rockets, variants, parts and the fit check
ModelCredittype
The credit for one licensed model: its title, its creator and their page, where it came from, its licence and what this package changed.
Import it
import type { ModelCredit } from "@johnmorrisdotca/uchusen-rockets";
Definition
interface ModelCredit {
title: string;
creator: string;
creatorUrl: string;
sourceUrl: string;
licence: "CC BY 4.0" | "CC0 1.0" | "Public domain (NASA)";
licenceUrl: string;
changes: string;
}
Members
| Name | Type | Description |
|---|---|---|
title | string | |
creator | string | |
creatorUrl | string | |
sourceUrl | string | |
licence | "CC BY 4.0" | "CC0 1.0" | "Public domain (NASA)" | |
licenceUrl | string | |
changes | string | What this package changed. |
Examples
import { MODEL_CREDITS, type ModelCredit } from "@johnmorrisdotca/uchusen-rockets";
const credit: ModelCredit = MODEL_CREDITS["clarence365-block3"];
console.log(credit.creator, credit.licence);Clarence365 CC BY 4.0What it prints (run when this page was built)