@pintahub/database-schemas 3.0.4 → 3.0.5
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
package/schemas/StoreSetting.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
const {Schema} = require('mongoose')
|
|
2
2
|
const ImageObject = require('./ImageObject')
|
|
3
|
-
const TrustpilotObject= require('./types/TrustpilotObject')
|
|
4
|
-
const SocialsObject= require('./types/SocialsObject')
|
|
5
|
-
const MerchizeSettings= require('./types/MerchizeSettings')
|
|
6
|
-
const GoogleAnalytics= require('./types/GoogleAnalytics')
|
|
3
|
+
const TrustpilotObject = require('./types/TrustpilotObject')
|
|
4
|
+
const SocialsObject = require('./types/SocialsObject')
|
|
5
|
+
const MerchizeSettings = require('./types/MerchizeSettings')
|
|
6
|
+
const GoogleAnalytics = require('./types/GoogleAnalytics')
|
|
7
|
+
const KlaviyoObject = require('./types/KlaviyoObject')
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
const StoreSetting = new Schema({
|
|
@@ -43,6 +44,10 @@ const StoreSetting = new Schema({
|
|
|
43
44
|
type: GoogleAnalytics,
|
|
44
45
|
},
|
|
45
46
|
|
|
47
|
+
klaviyo: {
|
|
48
|
+
type: KlaviyoObject,
|
|
49
|
+
},
|
|
50
|
+
|
|
46
51
|
disable_atc: {
|
|
47
52
|
type: Boolean,
|
|
48
53
|
default: false,
|