tango-api-schema 2.0.71 → 2.0.72

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-api-schema",
3
- "version": "2.0.71",
3
+ "version": "2.0.72",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -371,7 +371,21 @@ const client = new mongoose.Schema(
371
371
  branch:{
372
372
  type:String
373
373
  }
374
- }
374
+ },
375
+ clientApi: {
376
+ apiKey: {
377
+ type: String,
378
+ default: null,
379
+ },
380
+ status: {
381
+ type: Boolean,
382
+ default: false,
383
+ },
384
+ allowedIps: {
385
+ type: Array,
386
+ default: [ '*' ],
387
+ },
388
+ },
375
389
  },
376
390
  {
377
391
  strict: true,