@cool-digital-solutions/interferir-models 1.1.19 → 1.1.21
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.
|
@@ -233,7 +233,6 @@ const companySchema = new mongoose_1.Schema({
|
|
|
233
233
|
],
|
|
234
234
|
},
|
|
235
235
|
mergedCompanySlugs: [{ type: String, default: '' }],
|
|
236
|
-
isTagSync: { type: Boolean, default: false }, // TODO: erk bu sonra silinecek. eklenmesinin amacı, companyler çok fazla olduğu için tagların sync olanları ve olmayanlarını ayırabilmek.
|
|
237
236
|
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
238
237
|
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
239
238
|
updatedDate: { type: Number },
|
|
@@ -46,6 +46,7 @@ const userSchema = new mongoose_1.Schema({
|
|
|
46
46
|
isShowingNotification: { type: Boolean, default: true },
|
|
47
47
|
lastCheckedCompetitorDate: { type: Number, default: 0 },
|
|
48
48
|
lastCheckCompetitorGridDate: { type: Number, default: 0 },
|
|
49
|
+
isSendWelcomeEmailForStartup: { type: Boolean, default: false },
|
|
49
50
|
company: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Company', default: null },
|
|
50
51
|
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
51
52
|
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
@@ -279,7 +279,6 @@ export interface ICompany extends BaseSchema {
|
|
|
279
279
|
diversitySpotlights: string[];
|
|
280
280
|
investmentPortfolio: InvestmentPortfolio;
|
|
281
281
|
mergedCompanySlugs: string[];
|
|
282
|
-
isTagSync?: boolean;
|
|
283
282
|
}
|
|
284
283
|
export interface ICompanyModel extends BaseModel<ICompany> {
|
|
285
284
|
}
|
|
@@ -13,6 +13,7 @@ var Context;
|
|
|
13
13
|
Context["EMAIL"] = "email";
|
|
14
14
|
Context["TO_EMAIL"] = "to_email";
|
|
15
15
|
Context["SENDER_EMAIL"] = "sender_email";
|
|
16
|
+
Context["SENDER_EMAIL_STARTUP_WELCOME"] = "sender_email_startup_welcome";
|
|
16
17
|
Context["SPARK"] = "spark";
|
|
17
18
|
Context["INSTANT_RESEARCH"] = "instantResearch";
|
|
18
19
|
Context["AI_AGENT"] = "aiAgent";
|
|
@@ -69,6 +69,7 @@ export interface IUser extends BaseSchema {
|
|
|
69
69
|
lastCheckedCompetitorDate: number;
|
|
70
70
|
lastCheckCompetitorGridDate: number;
|
|
71
71
|
isShowingNotification: boolean;
|
|
72
|
+
isSendWelcomeEmailForStartup: boolean;
|
|
72
73
|
}
|
|
73
74
|
export interface IUserModel extends BaseModel<IUser> {
|
|
74
75
|
}
|