jp-shared 1.0.5 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,11 +10,6 @@ const collegeSchema = new mongoose.Schema({
10
10
  type: String,
11
11
  required: true
12
12
  },
13
- // collegeType: {
14
- // type: String,
15
- // enum: ['Affiliated College', 'Constituent / University College', 'PG Center / Off-Campus Center', 'Recognized Center'],
16
- // required: true
17
- // },
18
13
  stateName: {
19
14
  type: String,
20
15
  required: true
@@ -1,5 +1,5 @@
1
1
  module.exports = {
2
- BoardModel: require("./board-model"),
2
+ StateBoardModel: require("./stateBoard-model"),
3
3
  CollegeModel: require("./college-model"),
4
4
  EducationModel: require("./education-model"),
5
5
  CourseModel: require("./course-model"),
@@ -17,6 +17,6 @@ const schema = new mongoose.Schema(
17
17
  const myDB = mongoose.connection.useDb(getDatabaseName());
18
18
 
19
19
  // Create the model
20
- const BoardModel = myDB.model("board", schema);
20
+ const StateBoardModel = myDB.model("state-board", schema);
21
21
 
22
- module.exports = BoardModel;
22
+ module.exports = StateBoardModel;
package/package.json CHANGED
@@ -1,28 +1,28 @@
1
- {
2
- "name": "jp-shared",
3
- "version": "1.0.5",
4
- "main": "index.js",
5
- "scripts": {
6
- "test": "echo \"Error: no test specified\" && exit 1"
7
- },
8
- "keywords": [],
9
- "author": "",
10
- "license": "ISC",
11
- "description": "",
12
- "peerDependencies": {
13
- "axios": "^1.8.1",
14
- "bcrypt": "^5.1.1",
15
- "dotenv": "^16.4.7",
16
- "express-validator": "^7.2.1",
17
- "firebase-admin": "^13.2.0",
18
- "jsonwebtoken": "^9.0.2",
19
- "moment": "^2.30.1",
20
- "mongoose": "^8.12.1",
21
- "nodemailer": "^6.10.0",
22
- "puppeteer": "^23.11.0",
23
- "puppeteer-core": "^10.4.0",
24
- "chrome-aws-lambda": "^10.1.0",
25
- "validator": "^13.12.0",
26
- "to-words": "^4.2.0"
27
- }
28
- }
1
+ {
2
+ "name": "jp-shared",
3
+ "version": "1.0.7",
4
+ "main": "index.js",
5
+ "scripts": {
6
+ "test": "echo \"Error: no test specified\" && exit 1"
7
+ },
8
+ "keywords": [],
9
+ "author": "",
10
+ "license": "ISC",
11
+ "description": "",
12
+ "peerDependencies": {
13
+ "axios": "^1.8.1",
14
+ "bcrypt": "^5.1.1",
15
+ "dotenv": "^16.4.7",
16
+ "express-validator": "^7.2.1",
17
+ "firebase-admin": "^13.2.0",
18
+ "jsonwebtoken": "^9.0.2",
19
+ "moment": "^2.30.1",
20
+ "mongoose": "^8.12.1",
21
+ "nodemailer": "^6.10.0",
22
+ "puppeteer": "^23.11.0",
23
+ "puppeteer-core": "^10.4.0",
24
+ "chrome-aws-lambda": "^10.1.0",
25
+ "validator": "^13.12.0",
26
+ "to-words": "^4.2.0"
27
+ }
28
+ }