@timardex/cluemart-server-shared 1.0.255 → 1.0.257
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/{chunk-4GBXNDD6.mjs → chunk-LG23YZU7.mjs} +16 -10
- package/dist/chunk-LG23YZU7.mjs.map +1 -0
- package/dist/index.cjs +15 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +15 -9
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +15 -9
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.d.mts +2 -2
- package/dist/mongoose/index.d.ts +2 -2
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +15 -9
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-4GBXNDD6.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _timardex_cluemart_shared from '@timardex/cluemart-shared';
|
|
2
|
-
import { AdType, CreateBulkNotificationInput, NotificationType, EnumUserRole, ChatMessageType, ParticipantType, ChatType, ReportChatUser, RelatedPostType, OwnerType, SocialMediaType, ResourceImageType, Category, UserLicenceType, AssociateType, ResourceContactDetailsType, TermsAgreement, RelationDate, DateTimeType, LocationGeoType, LocationType, PosterUsageType, GoogleImportedMarket, PushTokenType, RelationType, ResourceActivityType, UserActivityEvent, UserType, VendorType, VendorInfoType, UnregisteredVendorInvitationType, UnregisteredVendorType, EventType, StallType, RefundPolicy, EventInfoType, PartnerType, PostType, PostContentType, AppSettingsType, GameType, GameDocType, SchoolType, EnumUserLicence, EventListItemType, DateTimeWithPriceType } from '@timardex/cluemart-shared';
|
|
2
|
+
import { AdType, CreateBulkNotificationInput, NotificationType, EnumUserRole, ChatMessageType, ParticipantType, ChatType, ReportChatUser, RelatedPostType, OwnerType, SocialMediaType, ResourceImageType, Category, UserLicenceType, AssociateType, ResourceContactDetailsType, TermsAgreement, RelationDate, DateTimeType, LocationGeoType, LocationType, PosterUsageType, GoogleImportedMarket, PushTokenType, RelationType, ResourceActivityType, UserActivityEvent, UserType, VendorType, VendorInfoType, UnregisteredVendorInvitationType, UnregisteredVendorType, EventType, StallType, RefundPolicy, EventInfoType, PartnerType, PostType, PostContentType, PostResource, AppSettingsType, GameType, GameDocType, SchoolType, EnumUserLicence, EventListItemType, DateTimeWithPriceType } from '@timardex/cluemart-shared';
|
|
3
3
|
import mongoose from 'mongoose';
|
|
4
4
|
export { default as mongoose } from 'mongoose';
|
|
5
5
|
import { NotificationCount, DateTimeType as DateTimeType$1 } from '@timardex/cluemart-shared/types';
|
|
@@ -673,7 +673,7 @@ declare const PostModel: mongoose.Model<PostType, {}, {}, {}, mongoose.Document<
|
|
|
673
673
|
_id: string;
|
|
674
674
|
content: PostContentType[];
|
|
675
675
|
slug: string;
|
|
676
|
-
resource?:
|
|
676
|
+
resource?: PostResource | null;
|
|
677
677
|
createdAt: Date;
|
|
678
678
|
deletedAt: Date | null;
|
|
679
679
|
updatedAt: Date | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _timardex_cluemart_shared from '@timardex/cluemart-shared';
|
|
2
|
-
import { AdType, CreateBulkNotificationInput, NotificationType, EnumUserRole, ChatMessageType, ParticipantType, ChatType, ReportChatUser, RelatedPostType, OwnerType, SocialMediaType, ResourceImageType, Category, UserLicenceType, AssociateType, ResourceContactDetailsType, TermsAgreement, RelationDate, DateTimeType, LocationGeoType, LocationType, PosterUsageType, GoogleImportedMarket, PushTokenType, RelationType, ResourceActivityType, UserActivityEvent, UserType, VendorType, VendorInfoType, UnregisteredVendorInvitationType, UnregisteredVendorType, EventType, StallType, RefundPolicy, EventInfoType, PartnerType, PostType, PostContentType, AppSettingsType, GameType, GameDocType, SchoolType, EnumUserLicence, EventListItemType, DateTimeWithPriceType } from '@timardex/cluemart-shared';
|
|
2
|
+
import { AdType, CreateBulkNotificationInput, NotificationType, EnumUserRole, ChatMessageType, ParticipantType, ChatType, ReportChatUser, RelatedPostType, OwnerType, SocialMediaType, ResourceImageType, Category, UserLicenceType, AssociateType, ResourceContactDetailsType, TermsAgreement, RelationDate, DateTimeType, LocationGeoType, LocationType, PosterUsageType, GoogleImportedMarket, PushTokenType, RelationType, ResourceActivityType, UserActivityEvent, UserType, VendorType, VendorInfoType, UnregisteredVendorInvitationType, UnregisteredVendorType, EventType, StallType, RefundPolicy, EventInfoType, PartnerType, PostType, PostContentType, PostResource, AppSettingsType, GameType, GameDocType, SchoolType, EnumUserLicence, EventListItemType, DateTimeWithPriceType } from '@timardex/cluemart-shared';
|
|
3
3
|
import mongoose from 'mongoose';
|
|
4
4
|
export { default as mongoose } from 'mongoose';
|
|
5
5
|
import { NotificationCount, DateTimeType as DateTimeType$1 } from '@timardex/cluemart-shared/types';
|
|
@@ -673,7 +673,7 @@ declare const PostModel: mongoose.Model<PostType, {}, {}, {}, mongoose.Document<
|
|
|
673
673
|
_id: string;
|
|
674
674
|
content: PostContentType[];
|
|
675
675
|
slug: string;
|
|
676
|
-
resource?:
|
|
676
|
+
resource?: PostResource | null;
|
|
677
677
|
createdAt: Date;
|
|
678
678
|
deletedAt: Date | null;
|
|
679
679
|
updatedAt: Date | null;
|
package/dist/index.mjs
CHANGED
|
@@ -7996,6 +7996,7 @@ var relatedPostSchema = new MongooseSchema6(
|
|
|
7996
7996
|
required: true,
|
|
7997
7997
|
type: mongoose6.Schema.Types.ObjectId
|
|
7998
7998
|
},
|
|
7999
|
+
postSlug: { required: true, type: String },
|
|
7999
8000
|
postType: {
|
|
8000
8001
|
enum: Object.values(EnumPostType),
|
|
8001
8002
|
required: true,
|
|
@@ -8714,6 +8715,19 @@ var contentSchema = new MongooseSchema18(
|
|
|
8714
8715
|
},
|
|
8715
8716
|
{ _id: false }
|
|
8716
8717
|
);
|
|
8718
|
+
var resourceSchema = new MongooseSchema18(
|
|
8719
|
+
{
|
|
8720
|
+
resourceId: { required: true, type: String },
|
|
8721
|
+
resourceRegion: { required: true, type: String },
|
|
8722
|
+
resourceSlug: { required: true, type: String },
|
|
8723
|
+
resourceType: {
|
|
8724
|
+
enum: Object.values(EnumResourceType),
|
|
8725
|
+
required: true,
|
|
8726
|
+
type: String
|
|
8727
|
+
}
|
|
8728
|
+
},
|
|
8729
|
+
{ _id: false }
|
|
8730
|
+
);
|
|
8717
8731
|
var schema14 = new MongooseSchema18(
|
|
8718
8732
|
{
|
|
8719
8733
|
active: { default: false, required: true, type: Boolean },
|
|
@@ -8735,15 +8749,7 @@ var schema14 = new MongooseSchema18(
|
|
|
8735
8749
|
},
|
|
8736
8750
|
resource: {
|
|
8737
8751
|
required: false,
|
|
8738
|
-
type:
|
|
8739
|
-
resourceId: { required: true, type: String },
|
|
8740
|
-
resourceRegion: { required: true, type: String },
|
|
8741
|
-
resourceType: {
|
|
8742
|
-
enum: Object.values(EnumResourceType),
|
|
8743
|
-
required: true,
|
|
8744
|
-
type: String
|
|
8745
|
-
}
|
|
8746
|
-
}
|
|
8752
|
+
type: resourceSchema
|
|
8747
8753
|
},
|
|
8748
8754
|
slug: { required: true, type: String },
|
|
8749
8755
|
tags: { default: [], required: false, type: [String] },
|