@cool-digital-solutions/interferir-models 1.0.16 → 1.0.18
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/dist/index.d.ts +19 -2
- package/dist/index.js +21 -1
- package/dist/schemas/ai-conversation.schema.d.ts +2 -4
- package/dist/schemas/backend-error.schema.d.ts +2 -4
- package/dist/schemas/badge.schema.d.ts +2 -4
- package/dist/schemas/batch-history.schema.d.ts +2 -6
- package/dist/schemas/bookmark.schema.d.ts +28 -0
- package/dist/schemas/bookmark.schema.js +43 -0
- package/dist/schemas/company-cluster.schema.d.ts +28 -0
- package/dist/schemas/company-cluster.schema.js +46 -0
- package/dist/schemas/company-funding-round.schema.d.ts +2 -4
- package/dist/schemas/company-marketing.schema.d.ts +28 -0
- package/dist/schemas/company-marketing.schema.js +40 -0
- package/dist/schemas/company.schema.d.ts +2 -4
- package/dist/schemas/competitor.schema.d.ts +2 -4
- package/dist/schemas/competitor.schema.js +11 -2
- package/dist/schemas/contact-message.schema.d.ts +2 -4
- package/dist/schemas/contact-startup.schema.d.ts +1 -3
- package/dist/schemas/content.schema.d.ts +2 -4
- package/dist/schemas/draft-version.schema.d.ts +2 -4
- package/dist/schemas/evidence-layout.schema.d.ts +2 -4
- package/dist/schemas/evidence.schema.d.ts +2 -4
- package/dist/schemas/faq.schema.d.ts +2 -4
- package/dist/schemas/follow-content.schema.d.ts +2 -4
- package/dist/schemas/general-config-sub.schema.d.ts +1 -3
- package/dist/schemas/general-config.schema.d.ts +1 -3
- package/dist/schemas/image.schema.d.ts +2 -4
- package/dist/schemas/index.d.ts +12 -1
- package/dist/schemas/index.js +23 -1
- package/dist/schemas/industry.schema.d.ts +2 -4
- package/dist/schemas/instant-research.schema.d.ts +2 -4
- package/dist/schemas/instant-research.schema.js +6 -0
- package/dist/schemas/investor.schema.d.ts +2 -4
- package/dist/schemas/like.schema.d.ts +2 -4
- package/dist/schemas/news.schema.d.ts +2 -4
- package/dist/schemas/notification.schema.d.ts +1 -3
- package/dist/schemas/otp.schema.d.ts +1 -3
- package/dist/schemas/portia-article.schema.d.ts +2 -4
- package/dist/schemas/portia-article.schema.js +1 -0
- package/dist/schemas/problem.schema.d.ts +2 -4
- package/dist/schemas/related-theme.schema.d.ts +28 -0
- package/dist/schemas/related-theme.schema.js +32 -0
- package/dist/schemas/search-history.schema.d.ts +2 -4
- package/dist/schemas/search-history.schema.js +3 -3
- package/dist/schemas/sf-category.schema.d.ts +2 -4
- package/dist/schemas/sf-sub-category.schema.d.ts +2 -4
- package/dist/schemas/sf-tag.schema.d.ts +2 -4
- package/dist/schemas/site-map-cache.schema.d.ts +1 -3
- package/dist/schemas/spark-use-case.schema.d.ts +2 -4
- package/dist/schemas/spark-use-case.schema.js +1 -0
- package/dist/schemas/spark.schema.d.ts +2 -4
- package/dist/schemas/startup-vector-any-entity.schema.d.ts +28 -0
- package/dist/schemas/startup-vector-any-entity.schema.js +39 -0
- package/dist/schemas/suggest.schema.d.ts +2 -4
- package/dist/schemas/technology.schema.d.ts +2 -4
- package/dist/schemas/theme.schema.d.ts +2 -4
- package/dist/schemas/token.schema.d.ts +1 -3
- package/dist/schemas/update-job.schema.d.ts +2 -4
- package/dist/schemas/use-case-discovery-problem.schema.d.ts +28 -0
- package/dist/schemas/use-case-discovery-problem.schema.js +32 -0
- package/dist/schemas/use-case-discovery.schema.d.ts +28 -0
- package/dist/schemas/use-case-discovery.schema.js +48 -0
- package/dist/schemas/use-case.schema.d.ts +2 -4
- package/dist/schemas/user-token.schema.d.ts +2 -4
- package/dist/schemas/user-visit.schema.d.ts +2 -4
- package/dist/schemas/user.schema.d.ts +2 -4
- package/dist/schemas/user.schema.js +1 -0
- package/dist/types/bookmark.type.d.ts +47 -0
- package/dist/types/bookmark.type.js +17 -0
- package/dist/types/company-cluster.type.d.ts +49 -0
- package/dist/types/company-cluster.type.js +10 -0
- package/dist/types/company-marketing.type.d.ts +61 -0
- package/dist/types/company-marketing.type.js +10 -0
- package/dist/types/competitor.type.d.ts +8 -1
- package/dist/types/competitor.type.js +7 -0
- package/dist/types/general-config.type.d.ts +8 -3
- package/dist/types/general-config.type.js +5 -0
- package/dist/types/index.d.ts +8 -1
- package/dist/types/instant-research.type.d.ts +4 -0
- package/dist/types/problem.type.d.ts +1 -0
- package/dist/types/related-theme.type.d.ts +33 -0
- package/dist/types/related-theme.type.js +2 -0
- package/dist/types/search-history.type.d.ts +4 -4
- package/dist/types/spark-use-case.type.d.ts +1 -0
- package/dist/types/spark.type.d.ts +1 -0
- package/dist/types/startup-vector-any-entity.type.d.ts +48 -0
- package/dist/types/startup-vector-any-entity.type.js +15 -0
- package/dist/types/use-case-discovery-problem.type.d.ts +33 -0
- package/dist/types/use-case-discovery-problem.type.js +2 -0
- package/dist/types/use-case-discovery.type.d.ts +50 -0
- package/dist/types/use-case-discovery.type.js +10 -0
- package/dist/types/user.type.d.ts +1 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -2,8 +2,11 @@ import { IAiConversation, IAiConversationModel } from './types/ai-conversation.t
|
|
|
2
2
|
import { IBackendError, IBackendErrorModel } from './types/backend-error.type';
|
|
3
3
|
import { IBadge, IBadgeModel } from './types/badge.type';
|
|
4
4
|
import { IBatchHistory } from './types/batch-history.type';
|
|
5
|
+
import { IBookmark, IBookmarkModel } from './types/bookmark.type';
|
|
5
6
|
import { ICompany, ICompanyModel } from './types/company.type';
|
|
7
|
+
import { ICompanyCluster, ICompanyClusterModel } from './types/company-cluster.type';
|
|
6
8
|
import { ICompanyFundingRound, ICompanyFundingRoundModel } from './types/company-funding-round.type';
|
|
9
|
+
import { ICompanyMarketing, ICompanyMarketingModel } from './types/company-marketing.type';
|
|
7
10
|
import { ICompetitor, ICompetitorModel } from './types/competitor.type';
|
|
8
11
|
import { IContactMessage, IContactMessageModel } from './types/contact-message.type';
|
|
9
12
|
import { IContactStartup, IContactStartupModel } from './types/contact-startup.type';
|
|
@@ -25,6 +28,7 @@ import { INotification, INotificationModel } from './types/notification.type';
|
|
|
25
28
|
import { IOtp, IOtpModel } from './types/otp.type';
|
|
26
29
|
import { IPortiaArticle, IPortiaArticleModel } from './types/portia-article.type';
|
|
27
30
|
import { IProblem, IProblemModel } from './types/problem.type';
|
|
31
|
+
import { IRelatedTheme, IRelatedThemeModel } from './types/related-theme.type';
|
|
28
32
|
import { ISearchHistory, ISearchHistoryModel } from './types/search-history.type';
|
|
29
33
|
import { ISFCategory, ISFCategoryModel } from './types/sf-category.type';
|
|
30
34
|
import { ISFSubCategory, ISFSubCategoryModel } from './types/sf-sub-category.type';
|
|
@@ -32,12 +36,15 @@ import { ISFTag, ISFTagModel } from './types/sf-tag.type';
|
|
|
32
36
|
import { ISiteMapCache, ISiteMapCacheModel } from './types/site-map-cache.type';
|
|
33
37
|
import { ISparkUseCase, ISparkUseCaseModel } from './types/spark-use-case.type';
|
|
34
38
|
import { ISpark, ISparkModel } from './types/spark.type';
|
|
39
|
+
import { IStartupVectorAnyEntity, IStartupVectorAnyEntityModel } from './types/startup-vector-any-entity.type';
|
|
35
40
|
import { ISuggest, ISuggestModel } from './types/suggest.type';
|
|
36
41
|
import { ITechnology, ITechnologyModel } from './types/technology.type';
|
|
37
42
|
import { ITheme, IThemeModel } from './types/theme.type';
|
|
38
43
|
import { IToken, ITokenModel } from './types/token.type';
|
|
39
44
|
import { IUpdateJob, IUpdateJobModel } from './types/update-job.type';
|
|
40
45
|
import { IUseCase, IUseCaseModel } from './types/use-case.type';
|
|
46
|
+
import { IUseCaseDiscovery, IUseCaseDiscoveryModel } from './types/use-case-discovery.type';
|
|
47
|
+
import { IUseCaseDiscoveryProblem, IUseCaseDiscoveryProblemModel } from './types/use-case-discovery-problem.type';
|
|
41
48
|
import { IUserToken, IUserTokenModel } from './types/user-token.type';
|
|
42
49
|
import { IUserVisit, IUserVisitModel } from './types/user-visit.type';
|
|
43
50
|
import { IUser, IUserModel } from './types/user.type';
|
|
@@ -80,5 +87,15 @@ import SuggestSchema from './schemas/suggest.schema';
|
|
|
80
87
|
import UserVisitSchema from './schemas/user-visit.schema';
|
|
81
88
|
import CompetitorSchema from './schemas/competitor.schema';
|
|
82
89
|
import CompanyFundingRoundSchema from './schemas/company-funding-round.schema';
|
|
83
|
-
|
|
84
|
-
|
|
90
|
+
import BookmarkSchema from './schemas/bookmark.schema';
|
|
91
|
+
import AiConversationSchema from './schemas/ai-conversation.schema';
|
|
92
|
+
import CompanyClusterSchema from './schemas/company-cluster.schema';
|
|
93
|
+
import CompanyMarketingSchema from './schemas/company-marketing.schema';
|
|
94
|
+
import InvestorSchema from './schemas/investor.schema';
|
|
95
|
+
import RelatedThemeSchema from './schemas/related-theme.schema';
|
|
96
|
+
import StartupVectorAnyEntitySchema from './schemas/startup-vector-any-entity.schema';
|
|
97
|
+
import UpdateJobSchema from './schemas/update-job.schema';
|
|
98
|
+
import UseCaseDiscoverySchema from './schemas/use-case-discovery.schema';
|
|
99
|
+
import UseCaseDiscoveryProblemSchema from './schemas/use-case-discovery-problem.schema';
|
|
100
|
+
export { IAiConversation, IAiConversationModel, IBackendError, IBackendErrorModel, IBadge, IBadgeModel, IBatchHistory, IBookmark, IBookmarkModel, ICompany, ICompanyModel, ICompanyCluster, ICompanyClusterModel, ICompanyMarketing, ICompanyMarketingModel, ICompanyFundingRound, ICompanyFundingRoundModel, ICompetitor, ICompetitorModel, IContactMessage, IContactMessageModel, IContactStartup, IContactStartupModel, IContent, IContentModel, IDraftVersion, IDraftVersionModel, IEvidenceLayout, IEvidenceLayoutModel, IEvidence, IEvidenceModel, IFaq, IFaqModel, IFollowContent, IFollowContentModel, IGeneralConfigSub, IGeneralConfigSubModel, IGeneralConfig, IGeneralConfigModel, IImage, IImageModel, IIndustry, IIndustryModel, IInstantResearch, IInstantResearchModel, IInvestor, IInvestorModel, ILike, ILikeModel, INews, INewsModel, INotification, INotificationModel, IOtp, IOtpModel, IPortiaArticle, IPortiaArticleModel, IProblem, IProblemModel, IRelatedTheme, IRelatedThemeModel, ISearchHistory, ISearchHistoryModel, ISFCategory, ISFCategoryModel, ISFSubCategory, ISFSubCategoryModel, ISFTag, ISFTagModel, ISiteMapCache, ISiteMapCacheModel, ISparkUseCase, ISparkUseCaseModel, ISpark, ISparkModel, IStartupVectorAnyEntity, IStartupVectorAnyEntityModel, ISuggest, ISuggestModel, ITechnology, ITechnologyModel, ITheme, IThemeModel, IToken, ITokenModel, IUpdateJob, IUpdateJobModel, IUseCase, IUseCaseModel, IUseCaseDiscovery, IUseCaseDiscoveryModel, IUseCaseDiscoveryProblem, IUseCaseDiscoveryProblemModel, IUserToken, IUserTokenModel, IUserVisit, IUserVisitModel, IUser, IUserModel, };
|
|
101
|
+
export { ThemeSchema, ProblemSchema, SFTagSchema, SFCategorySchema, SFSubCategorySchema, TechnologySchema, IndustrySchema, BackendErrorSchema, EvidenceSchema, EvidenceLayoutSchema, ImageSchema, SearchHistorySchema, TokenSchema, UserTokenSchema, UserSchema, CompanySchema, PortiaArticleSchema, InstantResearchSchema, ContactMessageSchema, ContactStartupSchema, BadgeSchema, ContentSchema, FaqSchema, UseCaseSchema, NewsSchema, LikeSchema, SparkSchema, SparkUseCaseSchema, FollowContentSchema, SiteMapCacheSchema, GeneralConfigSchema, GeneralConfigSubSchema, DraftVersionSchema, NotificationSchema, OtpSchema, SuggestSchema, UserVisitSchema, CompetitorSchema, CompanyFundingRoundSchema, BookmarkSchema, AiConversationSchema, CompanyClusterSchema, CompanyMarketingSchema, InvestorSchema, RelatedThemeSchema, StartupVectorAnyEntitySchema, UpdateJobSchema, UseCaseDiscoverySchema, UseCaseDiscoveryProblemSchema, };
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.CompanyFundingRoundSchema = exports.CompetitorSchema = exports.UserVisitSchema = exports.SuggestSchema = exports.OtpSchema = exports.NotificationSchema = exports.DraftVersionSchema = exports.GeneralConfigSubSchema = exports.GeneralConfigSchema = exports.SiteMapCacheSchema = exports.FollowContentSchema = exports.SparkUseCaseSchema = exports.SparkSchema = exports.LikeSchema = exports.NewsSchema = exports.UseCaseSchema = exports.FaqSchema = exports.ContentSchema = exports.BadgeSchema = exports.ContactStartupSchema = exports.ContactMessageSchema = exports.InstantResearchSchema = exports.PortiaArticleSchema = exports.CompanySchema = exports.UserSchema = exports.UserTokenSchema = exports.TokenSchema = exports.SearchHistorySchema = exports.ImageSchema = exports.EvidenceLayoutSchema = exports.EvidenceSchema = exports.BackendErrorSchema = exports.IndustrySchema = exports.TechnologySchema = exports.SFSubCategorySchema = exports.SFCategorySchema = exports.SFTagSchema = exports.ProblemSchema = exports.ThemeSchema = void 0;
|
|
6
|
+
exports.UseCaseDiscoveryProblemSchema = exports.UseCaseDiscoverySchema = exports.UpdateJobSchema = exports.StartupVectorAnyEntitySchema = exports.RelatedThemeSchema = exports.InvestorSchema = exports.CompanyMarketingSchema = exports.CompanyClusterSchema = exports.AiConversationSchema = exports.BookmarkSchema = exports.CompanyFundingRoundSchema = exports.CompetitorSchema = exports.UserVisitSchema = exports.SuggestSchema = exports.OtpSchema = exports.NotificationSchema = exports.DraftVersionSchema = exports.GeneralConfigSubSchema = exports.GeneralConfigSchema = exports.SiteMapCacheSchema = exports.FollowContentSchema = exports.SparkUseCaseSchema = exports.SparkSchema = exports.LikeSchema = exports.NewsSchema = exports.UseCaseSchema = exports.FaqSchema = exports.ContentSchema = exports.BadgeSchema = exports.ContactStartupSchema = exports.ContactMessageSchema = exports.InstantResearchSchema = exports.PortiaArticleSchema = exports.CompanySchema = exports.UserSchema = exports.UserTokenSchema = exports.TokenSchema = exports.SearchHistorySchema = exports.ImageSchema = exports.EvidenceLayoutSchema = exports.EvidenceSchema = exports.BackendErrorSchema = exports.IndustrySchema = exports.TechnologySchema = exports.SFSubCategorySchema = exports.SFCategorySchema = exports.SFTagSchema = exports.ProblemSchema = exports.ThemeSchema = void 0;
|
|
7
7
|
const theme_schema_1 = __importDefault(require("./schemas/theme.schema"));
|
|
8
8
|
exports.ThemeSchema = theme_schema_1.default;
|
|
9
9
|
const problem_schema_1 = __importDefault(require("./schemas/problem.schema"));
|
|
@@ -82,3 +82,23 @@ const competitor_schema_1 = __importDefault(require("./schemas/competitor.schema
|
|
|
82
82
|
exports.CompetitorSchema = competitor_schema_1.default;
|
|
83
83
|
const company_funding_round_schema_1 = __importDefault(require("./schemas/company-funding-round.schema"));
|
|
84
84
|
exports.CompanyFundingRoundSchema = company_funding_round_schema_1.default;
|
|
85
|
+
const bookmark_schema_1 = __importDefault(require("./schemas/bookmark.schema"));
|
|
86
|
+
exports.BookmarkSchema = bookmark_schema_1.default;
|
|
87
|
+
const ai_conversation_schema_1 = __importDefault(require("./schemas/ai-conversation.schema"));
|
|
88
|
+
exports.AiConversationSchema = ai_conversation_schema_1.default;
|
|
89
|
+
const company_cluster_schema_1 = __importDefault(require("./schemas/company-cluster.schema"));
|
|
90
|
+
exports.CompanyClusterSchema = company_cluster_schema_1.default;
|
|
91
|
+
const company_marketing_schema_1 = __importDefault(require("./schemas/company-marketing.schema"));
|
|
92
|
+
exports.CompanyMarketingSchema = company_marketing_schema_1.default;
|
|
93
|
+
const investor_schema_1 = __importDefault(require("./schemas/investor.schema"));
|
|
94
|
+
exports.InvestorSchema = investor_schema_1.default;
|
|
95
|
+
const related_theme_schema_1 = __importDefault(require("./schemas/related-theme.schema"));
|
|
96
|
+
exports.RelatedThemeSchema = related_theme_schema_1.default;
|
|
97
|
+
const startup_vector_any_entity_schema_1 = __importDefault(require("./schemas/startup-vector-any-entity.schema"));
|
|
98
|
+
exports.StartupVectorAnyEntitySchema = startup_vector_any_entity_schema_1.default;
|
|
99
|
+
const update_job_schema_1 = __importDefault(require("./schemas/update-job.schema"));
|
|
100
|
+
exports.UpdateJobSchema = update_job_schema_1.default;
|
|
101
|
+
const use_case_discovery_schema_1 = __importDefault(require("./schemas/use-case-discovery.schema"));
|
|
102
|
+
exports.UseCaseDiscoverySchema = use_case_discovery_schema_1.default;
|
|
103
|
+
const use_case_discovery_problem_schema_1 = __importDefault(require("./schemas/use-case-discovery-problem.schema"));
|
|
104
|
+
exports.UseCaseDiscoveryProblemSchema = use_case_discovery_problem_schema_1.default;
|
|
@@ -22,9 +22,7 @@
|
|
|
22
22
|
/// <reference types="mongoose/types/validation" />
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
-
import { Schema
|
|
25
|
+
import { Schema } from 'mongoose';
|
|
26
26
|
import type { IAiConversation, IAiConversationModel } from '../types';
|
|
27
|
-
declare const aiConversationSchema: Schema<IAiConversation, IAiConversationModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IAiConversation
|
|
28
|
-
_id: Types.ObjectId;
|
|
29
|
-
}>>;
|
|
27
|
+
declare const aiConversationSchema: Schema<IAiConversation, IAiConversationModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IAiConversation>;
|
|
30
28
|
export default aiConversationSchema;
|
|
@@ -22,9 +22,7 @@
|
|
|
22
22
|
/// <reference types="mongoose/types/validation" />
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
-
import { Schema
|
|
25
|
+
import { Schema } from 'mongoose';
|
|
26
26
|
import type { IBackendError, IBackendErrorModel } from '../types';
|
|
27
|
-
declare const backendErrorSchema: Schema<IBackendError, IBackendErrorModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IBackendError
|
|
28
|
-
_id: Types.ObjectId;
|
|
29
|
-
}>>;
|
|
27
|
+
declare const backendErrorSchema: Schema<IBackendError, IBackendErrorModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IBackendError>;
|
|
30
28
|
export default backendErrorSchema;
|
|
@@ -22,9 +22,7 @@
|
|
|
22
22
|
/// <reference types="mongoose/types/validation" />
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
-
import { Schema
|
|
25
|
+
import { Schema } from 'mongoose';
|
|
26
26
|
import type { IBadge, IBadgeModel } from '../types';
|
|
27
|
-
declare const badgeSchema: Schema<IBadge, IBadgeModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IBadge
|
|
28
|
-
_id: Types.ObjectId;
|
|
29
|
-
}>>;
|
|
27
|
+
declare const badgeSchema: Schema<IBadge, IBadgeModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IBadge>;
|
|
30
28
|
export default badgeSchema;
|
|
@@ -22,11 +22,7 @@
|
|
|
22
22
|
/// <reference types="mongoose/types/validation" />
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
-
import { Schema
|
|
25
|
+
import { Schema } from 'mongoose';
|
|
26
26
|
import type { IBatchHistory } from '../types';
|
|
27
|
-
declare const batchHistorySchema: Schema<IBatchHistory, import("mongoose").Model<IBatchHistory, any, any, any, import("mongoose").
|
|
28
|
-
_id: Types.ObjectId;
|
|
29
|
-
}>, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IBatchHistory, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<IBatchHistory>> & import("mongoose").FlatRecord<IBatchHistory> & Required<{
|
|
30
|
-
_id: Types.ObjectId;
|
|
31
|
-
}>>;
|
|
27
|
+
declare const batchHistorySchema: Schema<IBatchHistory, import("mongoose").Model<IBatchHistory, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IBatchHistory>;
|
|
32
28
|
export default batchHistorySchema;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="mongoose/types/callback" />
|
|
3
|
+
/// <reference types="mongoose/types/collection" />
|
|
4
|
+
/// <reference types="mongoose/types/connection" />
|
|
5
|
+
/// <reference types="mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="mongoose/types/document" />
|
|
7
|
+
/// <reference types="mongoose/types/error" />
|
|
8
|
+
/// <reference types="mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="mongoose/types/models" />
|
|
13
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="mongoose/types/populate" />
|
|
16
|
+
/// <reference types="mongoose/types/query" />
|
|
17
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="mongoose/types/session" />
|
|
20
|
+
/// <reference types="mongoose/types/types" />
|
|
21
|
+
/// <reference types="mongoose/types/utility" />
|
|
22
|
+
/// <reference types="mongoose/types/validation" />
|
|
23
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
+
import { Schema } from 'mongoose';
|
|
26
|
+
import { IBookmark, IBookmarkModel } from '../types/bookmark.type';
|
|
27
|
+
declare const bookmarkSchema: Schema<IBookmark, IBookmarkModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IBookmark>;
|
|
28
|
+
export default bookmarkSchema;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const mongoose_1 = require("mongoose");
|
|
7
|
+
const express_http_context_1 = __importDefault(require("express-http-context"));
|
|
8
|
+
const _config_1 = require("../config");
|
|
9
|
+
const bookmark_type_1 = require("../types/bookmark.type");
|
|
10
|
+
const bookmarkSchema = new mongoose_1.Schema({
|
|
11
|
+
user: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
12
|
+
type: {
|
|
13
|
+
type: String,
|
|
14
|
+
enum: Object.values(bookmark_type_1.BookmarkType),
|
|
15
|
+
required: [true, 'type is required'],
|
|
16
|
+
},
|
|
17
|
+
refModel: {
|
|
18
|
+
type: String,
|
|
19
|
+
enum: Object.values(bookmark_type_1.BookmarkRefModel),
|
|
20
|
+
required: [true, 'type is required'],
|
|
21
|
+
},
|
|
22
|
+
doc: { type: mongoose_1.Schema.Types.ObjectId, refPath: 'refType', default: null },
|
|
23
|
+
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
24
|
+
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
25
|
+
updatedDate: Number,
|
|
26
|
+
createdDate: Number,
|
|
27
|
+
}, _config_1.schemaOptions);
|
|
28
|
+
bookmarkSchema.pre('save', function (next) {
|
|
29
|
+
const user = express_http_context_1.default.get('user');
|
|
30
|
+
if (user) {
|
|
31
|
+
if (!this.createdBy)
|
|
32
|
+
this.createdBy = user._id;
|
|
33
|
+
this.updatedBy = user._id;
|
|
34
|
+
}
|
|
35
|
+
next();
|
|
36
|
+
});
|
|
37
|
+
bookmarkSchema.pre('findOneAndUpdate', function (next) {
|
|
38
|
+
const user = express_http_context_1.default.get('user');
|
|
39
|
+
if (user)
|
|
40
|
+
this._update.updatedBy = user._id;
|
|
41
|
+
next();
|
|
42
|
+
});
|
|
43
|
+
exports.default = bookmarkSchema;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="mongoose/types/callback" />
|
|
3
|
+
/// <reference types="mongoose/types/collection" />
|
|
4
|
+
/// <reference types="mongoose/types/connection" />
|
|
5
|
+
/// <reference types="mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="mongoose/types/document" />
|
|
7
|
+
/// <reference types="mongoose/types/error" />
|
|
8
|
+
/// <reference types="mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="mongoose/types/models" />
|
|
13
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="mongoose/types/populate" />
|
|
16
|
+
/// <reference types="mongoose/types/query" />
|
|
17
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="mongoose/types/session" />
|
|
20
|
+
/// <reference types="mongoose/types/types" />
|
|
21
|
+
/// <reference types="mongoose/types/utility" />
|
|
22
|
+
/// <reference types="mongoose/types/validation" />
|
|
23
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
+
import { Schema } from 'mongoose';
|
|
26
|
+
import { ICompanyCluster, ICompanyClusterModel } from '../types/company-cluster.type';
|
|
27
|
+
declare const companyClusterSchema: Schema<ICompanyCluster, ICompanyClusterModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ICompanyCluster>;
|
|
28
|
+
export default companyClusterSchema;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const mongoose_1 = require("mongoose");
|
|
7
|
+
const express_http_context_1 = __importDefault(require("express-http-context"));
|
|
8
|
+
const _config_1 = require("../config");
|
|
9
|
+
const company_cluster_type_1 = require("../types/company-cluster.type");
|
|
10
|
+
const companyClusterSchema = new mongoose_1.Schema({
|
|
11
|
+
company: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Company', required: true },
|
|
12
|
+
status: { type: String, enum: Object.values(company_cluster_type_1.companyClusterStatus), required: [true, 'status is required!'] },
|
|
13
|
+
entramindId: { type: String, default: '' },
|
|
14
|
+
response: [
|
|
15
|
+
{
|
|
16
|
+
message: { type: String, default: '' },
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
clusters: [
|
|
20
|
+
{
|
|
21
|
+
clusterTitle: { type: String, default: '' },
|
|
22
|
+
usecaseIds: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'UseCase' }],
|
|
23
|
+
providersIds: [{ type: mongoose_1.Schema.Types.ObjectId, ref: 'Company' }],
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
27
|
+
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
28
|
+
updatedDate: Number,
|
|
29
|
+
createdDate: Number,
|
|
30
|
+
}, _config_1.schemaOptions);
|
|
31
|
+
companyClusterSchema.pre('save', function (next) {
|
|
32
|
+
const user = express_http_context_1.default.get('user');
|
|
33
|
+
if (user) {
|
|
34
|
+
if (!this.createdBy)
|
|
35
|
+
this.createdBy = user._id;
|
|
36
|
+
this.updatedBy = user._id;
|
|
37
|
+
}
|
|
38
|
+
next();
|
|
39
|
+
});
|
|
40
|
+
companyClusterSchema.pre('findOneAndUpdate', function (next) {
|
|
41
|
+
const user = express_http_context_1.default.get('user');
|
|
42
|
+
if (user)
|
|
43
|
+
this._update.updatedBy = user._id;
|
|
44
|
+
next();
|
|
45
|
+
});
|
|
46
|
+
exports.default = companyClusterSchema;
|
|
@@ -22,9 +22,7 @@
|
|
|
22
22
|
/// <reference types="mongoose/types/validation" />
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
-
import { Schema
|
|
25
|
+
import { Schema } from 'mongoose';
|
|
26
26
|
import { ICompanyFundingRound, ICompanyFundingRoundModel } from '../types';
|
|
27
|
-
declare const companyFundingRound: Schema<ICompanyFundingRound, ICompanyFundingRoundModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ICompanyFundingRound
|
|
28
|
-
_id: Types.ObjectId;
|
|
29
|
-
}>>;
|
|
27
|
+
declare const companyFundingRound: Schema<ICompanyFundingRound, ICompanyFundingRoundModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ICompanyFundingRound>;
|
|
30
28
|
export default companyFundingRound;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="mongoose/types/callback" />
|
|
3
|
+
/// <reference types="mongoose/types/collection" />
|
|
4
|
+
/// <reference types="mongoose/types/connection" />
|
|
5
|
+
/// <reference types="mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="mongoose/types/document" />
|
|
7
|
+
/// <reference types="mongoose/types/error" />
|
|
8
|
+
/// <reference types="mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="mongoose/types/models" />
|
|
13
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="mongoose/types/populate" />
|
|
16
|
+
/// <reference types="mongoose/types/query" />
|
|
17
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="mongoose/types/session" />
|
|
20
|
+
/// <reference types="mongoose/types/types" />
|
|
21
|
+
/// <reference types="mongoose/types/utility" />
|
|
22
|
+
/// <reference types="mongoose/types/validation" />
|
|
23
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
+
import { Schema } from 'mongoose';
|
|
26
|
+
import { ICompanyMarketing, ICompanyMarketingModel } from '../types/company-marketing.type';
|
|
27
|
+
declare const companyMarketingSchema: Schema<ICompanyMarketing, ICompanyMarketingModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ICompanyMarketing>;
|
|
28
|
+
export default companyMarketingSchema;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const mongoose_1 = require("mongoose");
|
|
7
|
+
const express_http_context_1 = __importDefault(require("express-http-context"));
|
|
8
|
+
const _config_1 = require("../config");
|
|
9
|
+
const company_marketing_type_1 = require("../types/company-marketing.type");
|
|
10
|
+
const companyMarketingSchema = new mongoose_1.Schema({
|
|
11
|
+
company: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Company', required: true },
|
|
12
|
+
status: { type: String, enum: Object.values(company_marketing_type_1.CompanyMarketingMapStatus), required: [true, 'status is required!'] },
|
|
13
|
+
entramindId: { type: String, default: '' },
|
|
14
|
+
response: [
|
|
15
|
+
{
|
|
16
|
+
message: { type: String, default: '' },
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
marketingMap: { type: Object, default: {} },
|
|
20
|
+
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
21
|
+
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
22
|
+
updatedDate: Number,
|
|
23
|
+
createdDate: Number,
|
|
24
|
+
}, _config_1.schemaOptions);
|
|
25
|
+
companyMarketingSchema.pre('save', function (next) {
|
|
26
|
+
const user = express_http_context_1.default.get('user');
|
|
27
|
+
if (user) {
|
|
28
|
+
if (!this.createdBy)
|
|
29
|
+
this.createdBy = user._id;
|
|
30
|
+
this.updatedBy = user._id;
|
|
31
|
+
}
|
|
32
|
+
next();
|
|
33
|
+
});
|
|
34
|
+
companyMarketingSchema.pre('findOneAndUpdate', function (next) {
|
|
35
|
+
const user = express_http_context_1.default.get('user');
|
|
36
|
+
if (user)
|
|
37
|
+
this._update.updatedBy = user._id;
|
|
38
|
+
next();
|
|
39
|
+
});
|
|
40
|
+
exports.default = companyMarketingSchema;
|
|
@@ -22,9 +22,7 @@
|
|
|
22
22
|
/// <reference types="mongoose/types/validation" />
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
-
import { Schema
|
|
25
|
+
import { Schema } from 'mongoose';
|
|
26
26
|
import type { ICompany, ICompanyModel } from '../types';
|
|
27
|
-
declare const companySchema: Schema<ICompany, ICompanyModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ICompany
|
|
28
|
-
_id: Types.ObjectId;
|
|
29
|
-
}>>;
|
|
27
|
+
declare const companySchema: Schema<ICompany, ICompanyModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ICompany>;
|
|
30
28
|
export default companySchema;
|
|
@@ -22,9 +22,7 @@
|
|
|
22
22
|
/// <reference types="mongoose/types/validation" />
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
-
import { Schema
|
|
25
|
+
import { Schema } from 'mongoose';
|
|
26
26
|
import type { ICompetitor, ICompetitorModel } from '../types';
|
|
27
|
-
declare const competitorSchema: Schema<ICompetitor, ICompetitorModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ICompetitor
|
|
28
|
-
_id: Types.ObjectId;
|
|
29
|
-
}>>;
|
|
27
|
+
declare const competitorSchema: Schema<ICompetitor, ICompetitorModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ICompetitor>;
|
|
30
28
|
export default competitorSchema;
|
|
@@ -6,14 +6,23 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
const mongoose_1 = require("mongoose");
|
|
7
7
|
const express_http_context_1 = __importDefault(require("express-http-context"));
|
|
8
8
|
const _config_1 = require("../config");
|
|
9
|
+
const competitor_type_1 = require("../types/competitor.type");
|
|
9
10
|
const competitorSchema = new mongoose_1.Schema({
|
|
10
|
-
company: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Company', default: null
|
|
11
|
-
|
|
11
|
+
company: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Company', default: null },
|
|
12
|
+
competitor: { type: mongoose_1.Schema.Types.ObjectId, ref: 'Company', default: null },
|
|
13
|
+
isPeerWatch: { type: Boolean, default: false },
|
|
14
|
+
type: {
|
|
15
|
+
type: String,
|
|
16
|
+
enum: Object.values(competitor_type_1.CompetitorType),
|
|
17
|
+
default: competitor_type_1.CompetitorType.DEFAULT,
|
|
18
|
+
},
|
|
12
19
|
createdBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
13
20
|
updatedBy: { type: mongoose_1.Schema.Types.ObjectId, ref: 'User', default: null },
|
|
14
21
|
updatedDate: { type: Number, index: -1 },
|
|
15
22
|
createdDate: { type: Number, index: -1 },
|
|
16
23
|
}, _config_1.schemaOptions);
|
|
24
|
+
// Unique by company&competitor
|
|
25
|
+
competitorSchema.index({ company: 1, competitor: 1 }, { unique: true });
|
|
17
26
|
competitorSchema.pre('save', function (next) {
|
|
18
27
|
const user = express_http_context_1.default.get('user');
|
|
19
28
|
if (user) {
|
|
@@ -22,9 +22,7 @@
|
|
|
22
22
|
/// <reference types="mongoose/types/validation" />
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
-
import { Schema
|
|
25
|
+
import { Schema } from 'mongoose';
|
|
26
26
|
import type { IContactMessage, IContactMessageModel } from '../types';
|
|
27
|
-
declare const contactMessageSchema: Schema<IContactMessage, IContactMessageModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IContactMessage
|
|
28
|
-
_id: Types.ObjectId;
|
|
29
|
-
}>>;
|
|
27
|
+
declare const contactMessageSchema: Schema<IContactMessage, IContactMessageModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IContactMessage>;
|
|
30
28
|
export default contactMessageSchema;
|
|
@@ -24,7 +24,5 @@
|
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
import { Schema } from 'mongoose';
|
|
26
26
|
import type { IContactStartup, IContactStartupModel } from '../types';
|
|
27
|
-
declare const contactStartupSchema: Schema<IContactStartup, IContactStartupModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IContactStartup
|
|
28
|
-
_id: import("mongoose").Types.ObjectId;
|
|
29
|
-
}>>;
|
|
27
|
+
declare const contactStartupSchema: Schema<IContactStartup, IContactStartupModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IContactStartup>;
|
|
30
28
|
export default contactStartupSchema;
|
|
@@ -22,9 +22,7 @@
|
|
|
22
22
|
/// <reference types="mongoose/types/validation" />
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
-
import { Schema
|
|
25
|
+
import { Schema } from 'mongoose';
|
|
26
26
|
import type { IContent, IContentModel } from '../types';
|
|
27
|
-
declare const contentSchema: Schema<IContent, IContentModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IContent
|
|
28
|
-
_id: Types.ObjectId;
|
|
29
|
-
}>>;
|
|
27
|
+
declare const contentSchema: Schema<IContent, IContentModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IContent>;
|
|
30
28
|
export default contentSchema;
|
|
@@ -22,9 +22,7 @@
|
|
|
22
22
|
/// <reference types="mongoose/types/validation" />
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
-
import { Schema
|
|
25
|
+
import { Schema } from 'mongoose';
|
|
26
26
|
import type { IDraftVersion, IDraftVersionModel } from '../types';
|
|
27
|
-
declare const draftVersionSchema: Schema<IDraftVersion, IDraftVersionModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IDraftVersion
|
|
28
|
-
_id: Types.ObjectId;
|
|
29
|
-
}>>;
|
|
27
|
+
declare const draftVersionSchema: Schema<IDraftVersion, IDraftVersionModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IDraftVersion>;
|
|
30
28
|
export default draftVersionSchema;
|
|
@@ -22,9 +22,7 @@
|
|
|
22
22
|
/// <reference types="mongoose/types/validation" />
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
-
import { Schema
|
|
25
|
+
import { Schema } from 'mongoose';
|
|
26
26
|
import type { IEvidenceLayout, IEvidenceLayoutModel } from '../types';
|
|
27
|
-
declare const evidenceLayoutSchema: Schema<IEvidenceLayout, IEvidenceLayoutModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IEvidenceLayout
|
|
28
|
-
_id: Types.ObjectId;
|
|
29
|
-
}>>;
|
|
27
|
+
declare const evidenceLayoutSchema: Schema<IEvidenceLayout, IEvidenceLayoutModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IEvidenceLayout>;
|
|
30
28
|
export default evidenceLayoutSchema;
|
|
@@ -22,9 +22,7 @@
|
|
|
22
22
|
/// <reference types="mongoose/types/validation" />
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
-
import { Schema
|
|
25
|
+
import { Schema } from 'mongoose';
|
|
26
26
|
import type { IEvidence, IEvidenceModel } from '../types';
|
|
27
|
-
declare const evidenceSchema: Schema<IEvidence, IEvidenceModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IEvidence
|
|
28
|
-
_id: Types.ObjectId;
|
|
29
|
-
}>>;
|
|
27
|
+
declare const evidenceSchema: Schema<IEvidence, IEvidenceModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IEvidence>;
|
|
30
28
|
export default evidenceSchema;
|
|
@@ -22,9 +22,7 @@
|
|
|
22
22
|
/// <reference types="mongoose/types/validation" />
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
-
import { Schema
|
|
25
|
+
import { Schema } from 'mongoose';
|
|
26
26
|
import type { IFaq, IFaqModel } from '../types';
|
|
27
|
-
declare const faqSchema: Schema<IFaq, IFaqModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IFaq
|
|
28
|
-
_id: Types.ObjectId;
|
|
29
|
-
}>>;
|
|
27
|
+
declare const faqSchema: Schema<IFaq, IFaqModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IFaq>;
|
|
30
28
|
export default faqSchema;
|
|
@@ -22,9 +22,7 @@
|
|
|
22
22
|
/// <reference types="mongoose/types/validation" />
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
-
import { Schema
|
|
25
|
+
import { Schema } from 'mongoose';
|
|
26
26
|
import type { IFollowContent, IFollowContentModel } from '../types';
|
|
27
|
-
declare const followContentSchema: Schema<IFollowContent, IFollowContentModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IFollowContent
|
|
28
|
-
_id: Types.ObjectId;
|
|
29
|
-
}>>;
|
|
27
|
+
declare const followContentSchema: Schema<IFollowContent, IFollowContentModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IFollowContent>;
|
|
30
28
|
export default followContentSchema;
|
|
@@ -24,7 +24,5 @@
|
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
import { Schema } from 'mongoose';
|
|
26
26
|
import type { IGeneralConfigSub, IGeneralConfigSubModel } from '../types';
|
|
27
|
-
declare const generalConfigSubSchema: Schema<IGeneralConfigSub, IGeneralConfigSubModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IGeneralConfigSub
|
|
28
|
-
_id: import("mongoose").Types.ObjectId;
|
|
29
|
-
}>>;
|
|
27
|
+
declare const generalConfigSubSchema: Schema<IGeneralConfigSub, IGeneralConfigSubModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IGeneralConfigSub>;
|
|
30
28
|
export default generalConfigSubSchema;
|
|
@@ -24,7 +24,5 @@
|
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
import { Schema } from 'mongoose';
|
|
26
26
|
import type { IGeneralConfig, IGeneralConfigModel } from '../types';
|
|
27
|
-
declare const generalConfigSchema: Schema<IGeneralConfig, IGeneralConfigModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IGeneralConfig
|
|
28
|
-
_id: import("mongoose").Types.ObjectId;
|
|
29
|
-
}>>;
|
|
27
|
+
declare const generalConfigSchema: Schema<IGeneralConfig, IGeneralConfigModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IGeneralConfig>;
|
|
30
28
|
export default generalConfigSchema;
|
|
@@ -22,9 +22,7 @@
|
|
|
22
22
|
/// <reference types="mongoose/types/validation" />
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
-
import { Schema
|
|
25
|
+
import { Schema } from 'mongoose';
|
|
26
26
|
import type { IImage, IImageModel } from '../types';
|
|
27
|
-
declare const imageSchema: Schema<IImage, IImageModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IImage
|
|
28
|
-
_id: Types.ObjectId;
|
|
29
|
-
}>>;
|
|
27
|
+
declare const imageSchema: Schema<IImage, IImageModel, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, IImage>;
|
|
30
28
|
export default imageSchema;
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -37,4 +37,15 @@ import SuggestSchema from './suggest.schema';
|
|
|
37
37
|
import UserVisitSchema from './user-visit.schema';
|
|
38
38
|
import CompetitorSchema from './competitor.schema';
|
|
39
39
|
import CompanyFundingRoundSchema from './company-funding-round.schema';
|
|
40
|
-
|
|
40
|
+
import BookmarkSchema from './bookmark.schema';
|
|
41
|
+
import AiConversationSchema from './ai-conversation.schema';
|
|
42
|
+
import BatchHistorySchema from './batch-history.schema';
|
|
43
|
+
import CompanyClusterSchema from './company-cluster.schema';
|
|
44
|
+
import CompanyMarketingSchema from './company-marketing.schema';
|
|
45
|
+
import InvestorSchema from './investor.schema';
|
|
46
|
+
import RelatedThemeSchema from './related-theme.schema';
|
|
47
|
+
import StartupVectorAnyEntitySchema from './startup-vector-any-entity.schema';
|
|
48
|
+
import UpdateJobSchema from './update-job.schema';
|
|
49
|
+
import UseCaseDiscoverySchema from './use-case-discovery.schema';
|
|
50
|
+
import UseCaseDiscoveryProblemSchema from './use-case-discovery-problem.schema';
|
|
51
|
+
export { ThemeSchema, ProblemSchema, SFTagSchema, SFCategorySchema, SFSubCategorySchema, TechnologySchema, IndustrySchema, BackendErrorSchema, EvidenceSchema, EvidenceLayoutSchema, ImageSchema, SearchHistorySchema, TokenSchema, UserTokenSchema, UserSchema, CompanySchema, PortiaArticleSchema, InstantResearchSchema, ContactMessageSchema, ContactStartupSchema, BadgeSchema, ContentSchema, FaqSchema, UseCaseSchema, NewsSchema, LikeSchema, SparkSchema, SparkUseCaseSchema, FollowContentSchema, SiteMapCacheSchema, GeneralConfigSchema, GeneralConfigSubSchema, DraftVersionSchema, NotificationSchema, OtpSchema, SuggestSchema, UserVisitSchema, CompetitorSchema, CompanyFundingRoundSchema, BookmarkSchema, AiConversationSchema, BatchHistorySchema, CompanyClusterSchema, CompanyMarketingSchema, InvestorSchema, RelatedThemeSchema, StartupVectorAnyEntitySchema, UpdateJobSchema, UseCaseDiscoverySchema, UseCaseDiscoveryProblemSchema, };
|