Added Congress + changed schema codes + bumped ajv ajv-formats version

npm:ajv@8.17.1
npm:ajv-formats@3.0.1
This commit is contained in:
niclaz 2024-08-23 23:16:19 +02:00 committed by GitHub
parent 85c25d6c5e
commit ec42293300
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,5 @@
import Ajv from "npm:ajv@8.8.2"; import Ajv from "npm:ajv@8.17.1";
import addFormats from "npm:ajv-formats@2.1.1"; import addFormats from "npm:ajv-formats@3.O.1";
import { Engine } from "./engine.js"; import { Engine } from "./engine.js";
@ -29,9 +29,11 @@ const eventTypes = {
summit: { code: "s" }, summit: { code: "s" },
meetup: { code: "m" }, meetup: { code: "m" },
hackathon: { code: "h" }, hackathon: { code: "h" },
"privacy-corner": { code: "c" }, congress: { code: "c" },
"privacy-corner": { code: "pc" },
"online-summit": { code: "os" }, "online-summit": { code: "os" },
'meta-hackathon': { code: "q" }, "meta-hackathon": { code: "mh" },
}; };
const usedIds = []; const usedIds = [];
for (const event of engine.rendered.events) { for (const event of engine.rendered.events) {