milsymbol
milsymbol copied to clipboard
Typescript metadata
improved TypeScript typings for SymbolMetadata
- added missing booleans
dismountedandunit - added list of allowed strings for
affiliation(and base),dimension(and base),condition,context,echelon, and (was missing)leadership
Note : this was reversed from the JS code, perhaps I misinterpreted some things, for example
- I added the strings
""and/or"undefined"as allowed, when it was present in the code: not clear from the code paths which are really allowed values fromgetMetadata() - I added
"LandDismountedIndividual"fordimension(but notbaseDimension)
Also : there is a typo in baseAffilation (missing an 'i' : should be baseAffiliation) but I didn't fix it, to not impact the API