@dhyasama/totem-models 6.11.12 → 6.13.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/.npmignore +14 -0
- package/lib/Organization.js +4 -3
- package/lib/Person.js +2 -1
- package/package-lock.json +1829 -0
- package/package.json +1 -1
package/.npmignore
ADDED
package/lib/Organization.js
CHANGED
|
@@ -136,7 +136,8 @@ module.exports = function(mongoose, config) {
|
|
|
136
136
|
}],
|
|
137
137
|
|
|
138
138
|
clearbit: {
|
|
139
|
-
uuid: { type: String, unique: true, partialFilterExpression : { type : "string" }, trim: true }
|
|
139
|
+
uuid: { type: String, unique: true, partialFilterExpression : { type : "string" }, trim: true },
|
|
140
|
+
lastEnrichmentRequestedOn: { type: Date, default: null }
|
|
140
141
|
},
|
|
141
142
|
|
|
142
143
|
crunchbase: {
|
|
@@ -591,7 +592,7 @@ module.exports = function(mongoose, config) {
|
|
|
591
592
|
|
|
592
593
|
if (standardFields.sourcePerson.showOnList) {
|
|
593
594
|
result.push({
|
|
594
|
-
name: 'Source
|
|
595
|
+
name: 'Source',
|
|
595
596
|
type: 'Reference',
|
|
596
597
|
key: 'source.person',
|
|
597
598
|
isStandard: true,
|
|
@@ -615,7 +616,7 @@ module.exports = function(mongoose, config) {
|
|
|
615
616
|
|
|
616
617
|
if (standardFields.referrerPerson.showOnList) {
|
|
617
618
|
result.push({
|
|
618
|
-
name: 'Referrer
|
|
619
|
+
name: 'Referrer',
|
|
619
620
|
type: 'Reference',
|
|
620
621
|
key: 'referrer.person',
|
|
621
622
|
isStandard: true,
|
package/lib/Person.js
CHANGED
|
@@ -71,7 +71,8 @@ module.exports = function(mongoose, config) {
|
|
|
71
71
|
website: { type: String, default: null, required: false, trim: true, lowercase: true },
|
|
72
72
|
|
|
73
73
|
clearbit: {
|
|
74
|
-
uuid: { type: String, unique: true, partialFilterExpression : { type : "string" }, trim: true }
|
|
74
|
+
uuid: { type: String, unique: true, partialFilterExpression : { type : "string" }, trim: true },
|
|
75
|
+
lastEnrichmentRequestedOn: { type: Date, default: null }
|
|
75
76
|
},
|
|
76
77
|
|
|
77
78
|
crunchbase: {
|