Skip to content

Commit

Permalink
export bulletin & interpreter
Browse files Browse the repository at this point in the history
  • Loading branch information
anakreon committed May 31, 2021
1 parent 54a0eba commit 90d5d64
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "papersplease",
"version": "1.0.9",
"version": "1.0.10",
"description": "",
"main": "lib/index.js",
"types": "lib/types.d.ts",
Expand Down
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { Inspector } from './Inspector';
import { PapersInterpreter } from './PapersInterpreter';
import { Bulletin } from './Bulletin';
import { BulletinInterpreter } from './interpreters/bulletin/BulletinInterpreter';

export { Inspector, PapersInterpreter };
export { Inspector, PapersInterpreter, Bulletin, BulletinInterpreter };
4 changes: 3 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import { CertificateOfVaccination } from './papers/CertificateOfVaccination';
import { WorkPass } from './papers/WorkPass';
import { Inspector } from './Inspector';
import { PapersInterpreter } from './PapersInterpreter';
import { Bulletin } from './Bulletin';
import { BulletinInterpreter } from './interpreters/bulletin/BulletinInterpreter';

export type Nation = 'Arstotzka' | 'Antegria' | 'Impor' | 'Kolechia' | 'Obristan' | 'Republia' | 'United Federation'
export type Sex = 'M' | 'F';
Expand Down Expand Up @@ -123,4 +125,4 @@ export interface Validator {
validate (papers: Papers): boolean;
}

export { Inspector, PapersInterpreter };
export { Inspector, PapersInterpreter, Bulletin, BulletinInterpreter };

0 comments on commit 90d5d64

Please sign in to comment.