shuttlepro-shared 1.3.20 → 1.3.22

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.
@@ -2,7 +2,7 @@ const { UserRole } = require("../../models/UserRole");
2
2
  const { getRedisData, setRedisData } = require("../../config/redis");
3
3
 
4
4
  const defaultSelect =
5
- "iconUrl thumbUrl name productsCount ordersCount contact email address websiteUrl facebookUrl twitterUrl instagramUrl members defaultModule";
5
+ "iconUrl thumbUrl name productsCount ordersCount contact email address websiteUrl facebookUrl twitterUrl instagramUrl members defaultModule allowedModules";
6
6
 
7
7
  // Cache keys
8
8
  const MEMBERS = "members";
@@ -280,6 +280,7 @@ const workspaceSchema = new mongoose.Schema(
280
280
  default: "everyone",
281
281
  },
282
282
  defaultShift: { type: String, default: "" },
283
+ allowedModules: [],
283
284
  },
284
285
  { timestamps: true, toJSON: { virtuals: true }, toObject: { virtuals: true } }
285
286
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shuttlepro-shared",
3
- "version": "1.3.20",
3
+ "version": "1.3.22",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {