Reference · Military flags (naval ensigns, jacks and war flags)
MILITARY_RESTRICTED_IDSconstant
The ids of the flags shipped for history and education and never given by default: the Confederate battle flag of the Army of Northern Virginia
and the Confederate States Navy's jack. They are in no list, group or picker; militaryFlag(id, { allowRestricted: true }) draws one, and
militaryInfo(id)?.restricted says why it is withheld.
Import it
import { MILITARY_RESTRICTED_IDS } from "@johnmorrisdotca/hata/military";
Definition
const MILITARY_RESTRICTED_IDS: readonly MilitaryRecordId[] = set.restrictedIds as readonly MilitaryId[]
Examples
import { MILITARY_RESTRICTED_IDS } from "@johnmorrisdotca/hata/military";
console.log(MILITARY_RESTRICTED_IDS); // ["mil:cs-battle-flag", "mil:cs-naval-jack"][ 'mil:cs-battle-flag', 'mil:cs-naval-jack' ]What it prints (run when this page was built)