Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

Commit 500992d

Browse files
authored
feat: reorganisation and create vaccination schema (#25)
* refactor: cleanup unused samples * feat: create vaccination healthcert schema * refactor: remove unused files * fix: update render-able samples * fix: validFrom should be date-time * refactor: rename to pdt-healthcert * fix: post-install script * fix: export generated pdt and vaccination types * fix: rename url paths * refactor: notarised to endorsed * fix: resolve merge conflicts with master * fix: remove old healthcert path
1 parent 2decf3e commit 500992d

26 files changed

+2
-4878
lines changed

scripts/post-install.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ const generate = ({ path, rootTypeName }) => {
1818
if (fs.existsSync(quicktype) && process.env.npm_config_production !== "true") {
1919
generate({ path: "sg/gov/tech/geekout/1.0", rootTypeName: "Geekout" });
2020
generate({ path: "sg/gov/tech/notarise/1.0", rootTypeName: "Notarise" });
21-
generate({ path: "sg/gov/moh/healthcert/1.0", rootTypeName: "HealthCert" });
2221
generate({ path: "sg/gov/moh/pdt-healthcert/1.0", rootTypeName: "PDTHealthCert" });
2322
generate({ path: "sg/gov/moh/vaccination-healthcert/1.0", rootTypeName: "VaccinationHealthCert" });
2423
} else {

src/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import * as geekout from "./__generated__/sg/gov/tech/geekout/1.0/schema";
22
import * as notarise from "./__generated__/sg/gov/tech/notarise/1.0/schema";
3-
import * as healthcert from "./__generated__/sg/gov/moh/healthcert/1.0/schema";
43
import * as pdtHealthcert from "./__generated__/sg/gov/moh/pdt-healthcert/1.0/schema";
5-
import * as vaccinationHealthcert from "./__generated__/sg/gov/moh/healthcert/1.0/schema";
4+
import * as vaccinationHealthcert from "./__generated__/sg/gov/moh/vaccination-healthcert/1.0/schema";
65

7-
export { geekout, notarise, healthcert, pdtHealthcert, vaccinationHealthcert };
6+
export { geekout, notarise, pdtHealthcert, vaccinationHealthcert };

src/sg/gov/moh/fhir/4.0.1/covidcert.json

Lines changed: 0 additions & 75 deletions
This file was deleted.

src/sg/gov/moh/fhir/4.0.1/fhir-open-attestation-document.json

Lines changed: 0 additions & 254 deletions
This file was deleted.

src/sg/gov/moh/fhir/4.0.1/fhir-open-attestation-schema.json

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)