diff --git a/dist/models/User.js b/dist/models/User.js index bc80d35..e5b02fe 100644 --- a/dist/models/User.js +++ b/dist/models/User.js @@ -28,7 +28,7 @@ var SingGroup; SingGroup["ALTO"] = "A"; SingGroup["TENOR"] = "T"; SingGroup["BASS"] = "B"; -})(SingGroup = exports.SingGroup || (exports.SingGroup = {})); +})(SingGroup || (exports.SingGroup = SingGroup = {})); exports.singGroupNameMap = new Map(); exports.singGroupNameMap.set(SingGroup.SOPRANO, "Sopran"); exports.singGroupNameMap.set(SingGroup.ALTO, "Alt"); @@ -39,7 +39,7 @@ var MemberState; MemberState["MEMBER"] = "M"; MemberState["STUDENT"] = "S"; MemberState["GUEST"] = "G"; -})(MemberState = exports.MemberState || (exports.MemberState = {})); +})(MemberState || (exports.MemberState = MemberState = {})); const userSchema = new mongoose_1.Schema({ id: { // vv.nnnnnn z.B. mi.suedka; wird als Referenz zu anderen Objekten verwendet, damit diese sprechend ist diff --git a/package-lock.json b/package-lock.json index ecd7b86..d7bd515 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,7 +40,7 @@ "prettier": "^2.8.8", "pretty-quick": "^3.1.3", "ts-node": "^10.9.1", - "typescript": "^5.1.6" + "typescript": "^5.2.2" } }, "node_modules/@aws-crypto/crc32": { @@ -4213,9 +4213,9 @@ } }, "node_modules/typescript": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz", - "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==", + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", + "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", "dev": true, "bin": { "tsc": "bin/tsc", diff --git a/package.json b/package.json index 647f477..a5ad3cf 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "prettier": "^2.8.8", "pretty-quick": "^3.1.3", "ts-node": "^10.9.1", - "typescript": "^5.1.6" + "typescript": "^5.2.2" }, "scripts": { "start": "node dist/app.js",