@dhyasama/totem-models 12.22.0 → 12.24.0
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/lib/Account.js +8 -0
- package/package.json +1 -1
package/lib/Account.js
CHANGED
|
@@ -77,6 +77,14 @@ module.exports = function(mongoose, config) {
|
|
|
77
77
|
sendSystemEmails: { type: Boolean, default: false },
|
|
78
78
|
},
|
|
79
79
|
|
|
80
|
+
// Granola native REST API integration. Keys are per-user, so they live on
|
|
81
|
+
// the account: when active, webhooks polls this user's Granola notes using
|
|
82
|
+
// apiKey (see webhooks/src/granola). Opt-in — only synced when a key is set.
|
|
83
|
+
granola: {
|
|
84
|
+
active: { type: Boolean, default: false },
|
|
85
|
+
apiKey: { type: String, trim: true, default: '' }
|
|
86
|
+
},
|
|
87
|
+
|
|
80
88
|
summary: {
|
|
81
89
|
active: { type: Boolean, default: false }
|
|
82
90
|
}
|