@churchsoln/dbms 1.0.13 → 1.0.14

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.
@@ -227,6 +227,25 @@ module.exports = (sequelize, DataTypes) => {
227
227
  "membershipTypeId",
228
228
  "status",
229
229
  ];
230
+ user.showFields = [
231
+ ["showEmail", "email"],
232
+ ["showPhone", "phone"],
233
+ ["showFirstName", "firstName"],
234
+ ["showLastName", "lastName"],
235
+ ["showGender", "gender"],
236
+ ["showDob", "dob"],
237
+ ["showEducation", "education"],
238
+ ["showRelationship", "relationshipId"],
239
+ ["showMaritalStatus", "maritalStatusId"],
240
+ ["showDateJoined", "dateJoined"],
241
+ ["showEmergencyContact", "emergencyContact"],
242
+ ["showEmergencyContactName", "emergencyContactName"],
243
+ ["showEmergencyContactRelationship", "emergencyContactRelationshipId"],
244
+ ["showImage", "imageUrl"],
245
+ ["showAddress", "address"],
246
+ ["showCity", "cityId"],
247
+ ["showPostal", "postalCode"],
248
+ ]
230
249
  user.listFields = [
231
250
  "id",
232
251
  "username",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@churchsoln/dbms",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "prestart": "node db-setup.js",