Reference · Flag source and framing metadata
RESTRICTEDconstant
Every flag in real use that the law restricts, each with the code of its place: Germany's national flag of 1935 to 1945. They are
kept out of variantsOf, out of every record's variants and out of the lists and downloads built from them, and out of the CDN
listing (/svg/), so that a picker, a quiz or a pack never offers one. A page that shows history asks for one by name. Frozen.
Import it
import { RESTRICTED } from "@johnmorrisdotca/hata/manifest";
Definition
const RESTRICTED: readonly RestrictedVariant[] = deepFreeze(RESTRICTED_ROWS)
Examples
import { RESTRICTED } from "@johnmorrisdotca/hata/manifest";
console.log(RESTRICTED.map((one) => `${one.code} ${one.variant.id}`)); // ["DE swastika-1935"]
console.log(RESTRICTED[0]?.variant.restricted?.allowedFor); // "education and history"[ 'DE swastika-1935' ]
education and historyWhat it prints (run when this page was built)