Skip to content

Instantly share code, notes, and snippets.

@marcj
Created June 23, 2022 13:49
Show Gist options
  • Save marcj/1aaafce72ebf60dd749641e7204e229a to your computer and use it in GitHub Desktop.
Save marcj/1aaafce72ebf60dd749641e7204e229a to your computer and use it in GitHub Desktop.
type Command =
'foo0'
| 'foo1'
| 'foo2'
| 'foo3'
| 'foo4'
| 'foo5'
| 'foo6'
| 'foo7'
| 'foo8'
| 'foo9'
| 'foo10'
| 'foo11'
| 'foo12'
| 'foo13'
| 'foo14'
| 'foo15'
| 'foo16'
| 'foo17'
| 'foo18'
| 'foo19'
| 'foo20'
| 'foo21'
| 'foo22'
| 'foo23'
| 'foo24'
| 'foo25'
| 'foo26'
| 'foo27'
| 'foo28'
| 'foo29'
| 'foo30'
| 'foo31'
| 'foo32'
| 'foo33'
| 'foo34'
| 'foo35'
| 'foo36'
| 'foo37'
| 'foo38'
| 'foo39'
| 'foo40'
| 'foo41'
| 'foo42'
| 'foo43'
| 'foo44'
| 'foo45'
| 'foo46'
| 'foo47'
| 'foo48'
| 'foo49'
| 'foo50'
| 'foo51'
| 'foo52'
| 'foo53'
| 'foo54'
| 'foo55'
| 'foo56'
| 'foo57'
| 'foo58'
| 'foo59'
| 'foo60'
| 'foo61'
| 'foo62'
| 'foo63'
| 'foo64'
| 'foo65'
| 'foo66'
| 'foo67'
| 'foo68'
| 'foo69'
| 'foo70'
| 'foo71'
| 'foo72'
| 'foo73'
| 'foo74'
| 'foo75'
| 'foo76'
| 'foo77'
| 'foo78'
| 'foo79'
| 'foo80'
| 'foo81'
| 'foo82'
| 'foo83'
| 'foo84'
| 'foo85'
| 'foo86'
| 'foo87'
| 'foo88'
| 'foo89'
| 'foo90'
| 'foo91'
| 'foo92'
| 'foo93'
| 'foo94'
| 'foo95'
| 'foo96'
| 'foo97'
| 'foo98'
| 'foo99'
| 'foo100'
| 'foo101'
| 'foo102'
| 'foo103'
| 'foo104'
| 'foo105'
| 'foo106'
| 'foo107'
| 'foo108'
| 'foo109'
| 'foo110'
| 'foo111'
| 'foo112'
| 'foo113'
| 'foo114'
| 'foo115'
| 'foo116'
| 'foo117'
| 'foo118'
| 'foo119'
| 'foo120'
| 'foo121'
| 'foo122'
| 'foo123'
| 'foo124'
| 'foo125'
| 'foo126'
| 'foo127'
| 'foo128'
| 'foo129'
| 'foo130'
| 'foo131'
| 'foo132'
| 'foo133'
| 'foo134'
| 'foo135'
| 'foo136'
| 'foo137'
| 'foo138'
| 'foo139'
| 'foo140'
| 'foo141'
| 'foo142'
| 'foo143'
| 'foo144'
| 'foo145'
| 'foo146'
| 'foo147'
| 'foo148'
| 'foo149'
| 'foo150'
| 'foo151'
| 'foo152'
| 'foo153'
| 'foo154'
| 'foo155'
| 'foo156'
| 'foo157'
| 'foo158'
| 'foo159'
| 'foo160'
| 'foo161'
| 'foo162'
| 'foo163'
| 'foo164'
| 'foo165'
| 'foo166'
| 'foo167'
| 'foo168'
| 'foo169'
| 'foo170'
| 'foo171'
| 'foo172'
| 'foo173'
| 'foo174'
| 'foo175'
| 'foo176'
| 'foo177'
| 'foo178'
| 'foo179'
| 'foo180'
| 'foo181'
| 'foo182'
| 'foo183'
| 'foo184'
| 'foo185'
| 'foo186'
| 'foo187'
| 'foo188'
| 'foo189'
| 'foo190'
| 'foo191'
| 'foo192'
| 'foo193'
| 'foo194'
| 'foo195'
| 'foo196'
| 'foo197'
| 'foo198'
| 'foo199'
| 'foo200'
| 'foo201'
| 'foo202'
| 'foo203'
| 'foo204'
| 'foo205'
| 'foo206'
| 'foo207'
| 'foo208'
| 'foo209'
| 'foo210'
| 'foo211'
| 'foo212'
| 'foo213'
| 'foo214'
| 'foo215'
| 'foo216'
| 'foo217'
| 'foo218'
| 'foo219'
| 'foo220'
| 'foo221'
| 'foo222'
| 'foo223'
| 'foo224'
| 'foo225'
| 'foo226'
| 'foo227'
| 'foo228'
| 'foo229'
| 'foo230'
| 'foo231'
| 'foo232'
| 'foo233'
| 'foo234'
| 'foo235'
| 'foo236'
| 'foo237'
| 'foo238'
| 'foo239'
| 'foo240'
| 'foo241'
| 'foo242'
| 'foo243'
| 'foo244'
| 'foo245'
| 'foo246'
| 'foo247'
| 'foo248'
| 'foo249'
| 'foo250'
| 'foo251'
| 'foo252'
| 'foo253'
| 'foo254'
| 'foo255'
| 'foo256'
| 'foo257'
| 'foo258'
| 'foo259'
| 'foo260'
| 'foo261'
| 'foo262'
| 'foo263'
| 'foo264'
| 'foo265'
| 'foo266'
| 'foo267'
| 'foo268'
| 'foo269'
| 'foo270'
| 'foo271'
| 'foo272'
| 'foo273'
| 'foo274'
| 'foo275'
| 'foo276'
| 'foo277'
| 'foo278'
| 'foo279'
| 'foo280'
| 'foo281'
| 'foo282'
| 'foo283'
| 'foo284'
| 'foo285'
| 'foo286'
| 'foo287'
| 'foo288'
| 'foo289'
| 'foo290'
| 'foo291'
| 'foo292'
| 'foo293'
| 'foo294'
| 'foo295'
| 'foo296'
| 'foo297'
| 'foo298'
| 'foo299';
type CommandConfig = { id: Command };
const commands: CommandConfig[] = [
{id: 'foo0'}, {id: 'foo1'}, {id: 'foo2'}, {id: 'foo3'}, {id: 'foo4'}, {id: 'foo5'}, {id: 'foo6'}, {id: 'foo7'}, {id: 'foo8'}, {id: 'foo9'}, {id: 'foo10'}, {id: 'foo11'}, {id: 'foo12'}, {id: 'foo13'}, {id: 'foo14'}, {id: 'foo15'}, {id: 'foo16'}, {id: 'foo17'}, {id: 'foo18'}, {id: 'foo19'}, {id: 'foo20'}, {id: 'foo21'}, {id: 'foo22'}, {id: 'foo23'}, {id: 'foo24'}, {id: 'foo25'}, {id: 'foo26'}, {id: 'foo27'}, {id: 'foo28'}, {id: 'foo29'}, {id: 'foo30'}, {id: 'foo31'}, {id: 'foo32'}, {id: 'foo33'}, {id: 'foo34'}, {id: 'foo35'}, {id: 'foo36'}, {id: 'foo37'}, {id: 'foo38'}, {id: 'foo39'}, {id: 'foo40'}, {id: 'foo41'}, {id: 'foo42'}, {id: 'foo43'}, {id: 'foo44'}, {id: 'foo45'}, {id: 'foo46'}, {id: 'foo47'}, {id: 'foo48'}, {id: 'foo49'}, {id: 'foo50'}, {id: 'foo51'}, {id: 'foo52'}, {id: 'foo53'}, {id: 'foo54'}, {id: 'foo55'}, {id: 'foo56'}, {id: 'foo57'}, {id: 'foo58'}, {id: 'foo59'}, {id: 'foo60'}, {id: 'foo61'}, {id: 'foo62'}, {id: 'foo63'}, {id: 'foo64'}, {id: 'foo65'}, {id: 'foo66'}, {id: 'foo67'}, {id: 'foo68'}, {id: 'foo69'}, {id: 'foo70'}, {id: 'foo71'}, {id: 'foo72'}, {id: 'foo73'}, {id: 'foo74'}, {id: 'foo75'}, {id: 'foo76'}, {id: 'foo77'}, {id: 'foo78'}, {id: 'foo79'}, {id: 'foo80'}, {id: 'foo81'}, {id: 'foo82'}, {id: 'foo83'}, {id: 'foo84'}, {id: 'foo85'}, {id: 'foo86'}, {id: 'foo87'}, {id: 'foo88'}, {id: 'foo89'}, {id: 'foo90'}, {id: 'foo91'}, {id: 'foo92'}, {id: 'foo93'}, {id: 'foo94'}, {id: 'foo95'}, {id: 'foo96'}, {id: 'foo97'}, {id: 'foo98'}, {id: 'foo99'}, {id: 'foo100'}, {id: 'foo101'}, {id: 'foo102'}, {id: 'foo103'}, {id: 'foo104'}, {id: 'foo105'}, {id: 'foo106'}, {id: 'foo107'}, {id: 'foo108'}, {id: 'foo109'}, {id: 'foo110'}, {id: 'foo111'}, {id: 'foo112'}, {id: 'foo113'}, {id: 'foo114'}, {id: 'foo115'}, {id: 'foo116'}, {id: 'foo117'}, {id: 'foo118'}, {id: 'foo119'}, {id: 'foo120'}, {id: 'foo121'}, {id: 'foo122'}, {id: 'foo123'}, {id: 'foo124'}, {id: 'foo125'}, {id: 'foo126'}, {id: 'foo127'}, {id: 'foo128'}, {id: 'foo129'}, {id: 'foo130'}, {id: 'foo131'}, {id: 'foo132'}, {id: 'foo133'}, {id: 'foo134'}, {id: 'foo135'}, {id: 'foo136'}, {id: 'foo137'}, {id: 'foo138'}, {id: 'foo139'}, {id: 'foo140'}, {id: 'foo141'}, {id: 'foo142'}, {id: 'foo143'}, {id: 'foo144'}, {id: 'foo145'}, {id: 'foo146'}, {id: 'foo147'}, {id: 'foo148'}, {id: 'foo149'}, {id: 'foo150'}, {id: 'foo151'}, {id: 'foo152'}, {id: 'foo153'}, {id: 'foo154'}, {id: 'foo155'}, {id: 'foo156'}, {id: 'foo157'}, {id: 'foo158'}, {id: 'foo159'}, {id: 'foo160'}, {id: 'foo161'}, {id: 'foo162'}, {id: 'foo163'}, {id: 'foo164'}, {id: 'foo165'}, {id: 'foo166'}, {id: 'foo167'}, {id: 'foo168'}, {id: 'foo169'}, {id: 'foo170'}, {id: 'foo171'}, {id: 'foo172'}, {id: 'foo173'}, {id: 'foo174'}, {id: 'foo175'}, {id: 'foo176'}, {id: 'foo177'}, {id: 'foo178'}, {id: 'foo179'}, {id: 'foo180'}, {id: 'foo181'}, {id: 'foo182'}, {id: 'foo183'}, {id: 'foo184'}, {id: 'foo185'}, {id: 'foo186'}, {id: 'foo187'}, {id: 'foo188'}, {id: 'foo189'}, {id: 'foo190'}, {id: 'foo191'}, {id: 'foo192'}, {id: 'foo193'}, {id: 'foo194'}, {id: 'foo195'}, {id: 'foo196'}, {id: 'foo197'}, {id: 'foo198'}, {id: 'foo199'}, {id: 'foo200'}, {id: 'foo201'}, {id: 'foo202'}, {id: 'foo203'}, {id: 'foo204'}, {id: 'foo205'}, {id: 'foo206'}, {id: 'foo207'}, {id: 'foo208'}, {id: 'foo209'}, {id: 'foo210'}, {id: 'foo211'}, {id: 'foo212'}, {id: 'foo213'}, {id: 'foo214'}, {id: 'foo215'}, {id: 'foo216'}, {id: 'foo217'}, {id: 'foo218'}, {id: 'foo219'}, {id: 'foo220'}, {id: 'foo221'}, {id: 'foo222'}, {id: 'foo223'}, {id: 'foo224'}, {id: 'foo225'}, {id: 'foo226'}, {id: 'foo227'}, {id: 'foo228'}, {id: 'foo229'}, {id: 'foo230'}, {id: 'foo231'}, {id: 'foo232'}, {id: 'foo233'}, {id: 'foo234'}, {id: 'foo235'}, {id: 'foo236'}, {id: 'foo237'}, {id: 'foo238'}, {id: 'foo239'}, {id: 'foo240'}, {id: 'foo241'}, {id: 'foo242'}, {id: 'foo243'}, {id: 'foo244'}, {id: 'foo245'}, {id: 'foo246'}, {id: 'foo247'}, {id: 'foo248'}, {id: 'foo249'}, {id: 'foo250'}, {id: 'foo251'}, {id: 'foo252'}, {id: 'foo253'}, {id: 'foo254'}, {id: 'foo255'}, {id: 'foo256'}, {id: 'foo257'}, {id: 'foo258'}, {id: 'foo259'}, {id: 'foo260'}, {id: 'foo261'}, {id: 'foo262'}, {id: 'foo263'}, {id: 'foo264'}, {id: 'foo265'}, {id: 'foo266'}, {id: 'foo267'}, {id: 'foo268'}, {id: 'foo269'}, {id: 'foo270'}, {id: 'foo271'}, {id: 'foo272'}, {id: 'foo273'}, {id: 'foo274'}, {id: 'foo275'}, {id: 'foo276'}, {id: 'foo277'}, {id: 'foo278'}, {id: 'foo279'}, {id: 'foo280'}, {id: 'foo281'}, {id: 'foo282'}, {id: 'foo283'}, {id: 'foo284'}, {id: 'foo285'}, {id: 'foo286'}, {id: 'foo287'}, {id: 'foo288'}, {id: 'foo289'}, {id: 'foo290'}, {id: 'foo291'}, {id: 'foo292'}, {id: 'foo293'}, {id: 'foo294'}, {id: 'foo295'}, {id: 'foo296'}, {id: 'foo297'}, {id: 'foo298'}, {id: 'foo299'},
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment