Reference · Flag source and framing metadata
RestrictedVarianttype
One restricted flag with the code of its place, as RESTRICTED in /manifest lists it.
Import it
import type { RestrictedVariant } from "@johnmorrisdotca/hata/manifest";
Definition
interface RestrictedVariant {
code: string;
variant: Variant;
}
Members
| Name | Type | Description |
|---|---|---|
code | string | The place's code. |
variant | Variant | The flag: a |
Examples
import { RESTRICTED, type RestrictedVariant } from "@johnmorrisdotca/hata/manifest";
const one: RestrictedVariant | undefined = RESTRICTED[0];
console.log(one?.code, one?.variant.id); // "DE" "swastika-1935"DE swastika-1935What it prints (run when this page was built)