@pintahub/database-schemas 3.0.5 → 3.0.6

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": "@pintahub/database-schemas",
3
- "version": "3.0.5",
3
+ "version": "3.0.6",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -5,6 +5,7 @@ const SocialsObject = require('./types/SocialsObject')
5
5
  const MerchizeSettings = require('./types/MerchizeSettings')
6
6
  const GoogleAnalytics = require('./types/GoogleAnalytics')
7
7
  const KlaviyoObject = require('./types/KlaviyoObject')
8
+ const FacebookObject = require('./types/FacebookObject')
8
9
 
9
10
 
10
11
  const StoreSetting = new Schema({
@@ -48,6 +49,10 @@ const StoreSetting = new Schema({
48
49
  type: KlaviyoObject,
49
50
  },
50
51
 
52
+ facebook: {
53
+ type: FacebookObject,
54
+ },
55
+
51
56
  disable_atc: {
52
57
  type: Boolean,
53
58
  default: false,
@@ -0,0 +1,13 @@
1
+ const {Schema} = require('mongoose')
2
+
3
+
4
+ const FacebookObject = new Schema({
5
+ _id: false,
6
+
7
+ pixel_id: {
8
+ type: String,
9
+ trim: true,
10
+ },
11
+ })
12
+
13
+ module.exports = FacebookObject