@timardex/cluemart-server-shared 1.0.256 → 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-ZKPPP7DX.mjs → chunk-LG23YZU7.mjs} +15 -10
- package/dist/chunk-LG23YZU7.mjs.map +1 -0
- package/dist/index.cjs +14 -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 +14 -9
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +14 -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 +14 -9
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-ZKPPP7DX.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _timardex_cluemart_shared from '@timardex/cluemart-shared';
|
|
2
|
-
import { AdType, ReportChatUser, RelatedPostType, OwnerType, SocialMediaType, ResourceImageType, Category, UserLicenceType, AssociateType, ResourceContactDetailsType, TermsAgreement, RelationDate, DateTimeType, LocationGeoType, LocationType, PosterUsageType, GoogleImportedMarket, PushTokenType, ResourceActivityType, UserActivityEvent, UserType, VendorType, VendorInfoType, UnregisteredVendorInvitationType, UnregisteredVendorType, EventType, StallType, RefundPolicy, EventInfoType, PartnerType, PostType, PostContentType, AppSettingsType, GameType, GameDocType, SchoolType } from '@timardex/cluemart-shared';
|
|
2
|
+
import { AdType, ReportChatUser, RelatedPostType, OwnerType, SocialMediaType, ResourceImageType, Category, UserLicenceType, AssociateType, ResourceContactDetailsType, TermsAgreement, RelationDate, DateTimeType, LocationGeoType, LocationType, PosterUsageType, GoogleImportedMarket, PushTokenType, ResourceActivityType, UserActivityEvent, UserType, VendorType, VendorInfoType, UnregisteredVendorInvitationType, UnregisteredVendorType, EventType, StallType, RefundPolicy, EventInfoType, PartnerType, PostType, PostContentType, PostResource, AppSettingsType, GameType, GameDocType, SchoolType } from '@timardex/cluemart-shared';
|
|
3
3
|
import mongoose from 'mongoose';
|
|
4
4
|
import { O as ObjectId } from '../Chat-DYkhie3G.mjs';
|
|
5
5
|
export { C as ChatModel, N as NotificationModel, a as SchemaChatMessageReactionType, S as SchemaChatMessageReplyPreviewType, b as SchemaChatMessageSeenType, c as SchemaChatMessageType, e as SchemaChatType, f as SchemaCreateBulkNotificationInput, g as SchemaNotificationType, d as SchemaParticipantType } from '../Chat-DYkhie3G.mjs';
|
|
@@ -553,7 +553,7 @@ declare const PostModel: mongoose.Model<PostType, {}, {}, {}, mongoose.Document<
|
|
|
553
553
|
_id: string;
|
|
554
554
|
content: PostContentType[];
|
|
555
555
|
slug: string;
|
|
556
|
-
resource?:
|
|
556
|
+
resource?: PostResource | null;
|
|
557
557
|
createdAt: Date;
|
|
558
558
|
deletedAt: Date | null;
|
|
559
559
|
updatedAt: Date | null;
|
package/dist/mongoose/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _timardex_cluemart_shared from '@timardex/cluemart-shared';
|
|
2
|
-
import { AdType, ReportChatUser, RelatedPostType, OwnerType, SocialMediaType, ResourceImageType, Category, UserLicenceType, AssociateType, ResourceContactDetailsType, TermsAgreement, RelationDate, DateTimeType, LocationGeoType, LocationType, PosterUsageType, GoogleImportedMarket, PushTokenType, ResourceActivityType, UserActivityEvent, UserType, VendorType, VendorInfoType, UnregisteredVendorInvitationType, UnregisteredVendorType, EventType, StallType, RefundPolicy, EventInfoType, PartnerType, PostType, PostContentType, AppSettingsType, GameType, GameDocType, SchoolType } from '@timardex/cluemart-shared';
|
|
2
|
+
import { AdType, ReportChatUser, RelatedPostType, OwnerType, SocialMediaType, ResourceImageType, Category, UserLicenceType, AssociateType, ResourceContactDetailsType, TermsAgreement, RelationDate, DateTimeType, LocationGeoType, LocationType, PosterUsageType, GoogleImportedMarket, PushTokenType, ResourceActivityType, UserActivityEvent, UserType, VendorType, VendorInfoType, UnregisteredVendorInvitationType, UnregisteredVendorType, EventType, StallType, RefundPolicy, EventInfoType, PartnerType, PostType, PostContentType, PostResource, AppSettingsType, GameType, GameDocType, SchoolType } from '@timardex/cluemart-shared';
|
|
3
3
|
import mongoose from 'mongoose';
|
|
4
4
|
import { O as ObjectId } from '../Chat-DYkhie3G.js';
|
|
5
5
|
export { C as ChatModel, N as NotificationModel, a as SchemaChatMessageReactionType, S as SchemaChatMessageReplyPreviewType, b as SchemaChatMessageSeenType, c as SchemaChatMessageType, e as SchemaChatType, f as SchemaCreateBulkNotificationInput, g as SchemaNotificationType, d as SchemaParticipantType } from '../Chat-DYkhie3G.js';
|
|
@@ -553,7 +553,7 @@ declare const PostModel: mongoose.Model<PostType, {}, {}, {}, mongoose.Document<
|
|
|
553
553
|
_id: string;
|
|
554
554
|
content: PostContentType[];
|
|
555
555
|
slug: string;
|
|
556
|
-
resource?:
|
|
556
|
+
resource?: PostResource | null;
|
|
557
557
|
createdAt: Date;
|
|
558
558
|
deletedAt: Date | null;
|
|
559
559
|
updatedAt: Date | null;
|
package/dist/mongoose/index.mjs
CHANGED
package/dist/service/index.cjs
CHANGED
|
@@ -8921,6 +8921,19 @@ var contentSchema = new MongooseSchema18(
|
|
|
8921
8921
|
},
|
|
8922
8922
|
{ _id: false }
|
|
8923
8923
|
);
|
|
8924
|
+
var resourceSchema = new MongooseSchema18(
|
|
8925
|
+
{
|
|
8926
|
+
resourceId: { required: true, type: String },
|
|
8927
|
+
resourceRegion: { required: true, type: String },
|
|
8928
|
+
resourceSlug: { required: true, type: String },
|
|
8929
|
+
resourceType: {
|
|
8930
|
+
enum: Object.values(EnumResourceType),
|
|
8931
|
+
required: true,
|
|
8932
|
+
type: String
|
|
8933
|
+
}
|
|
8934
|
+
},
|
|
8935
|
+
{ _id: false }
|
|
8936
|
+
);
|
|
8924
8937
|
var schema14 = new MongooseSchema18(
|
|
8925
8938
|
{
|
|
8926
8939
|
active: { default: false, required: true, type: Boolean },
|
|
@@ -8942,15 +8955,7 @@ var schema14 = new MongooseSchema18(
|
|
|
8942
8955
|
},
|
|
8943
8956
|
resource: {
|
|
8944
8957
|
required: false,
|
|
8945
|
-
type:
|
|
8946
|
-
resourceId: { required: true, type: String },
|
|
8947
|
-
resourceRegion: { required: true, type: String },
|
|
8948
|
-
resourceType: {
|
|
8949
|
-
enum: Object.values(EnumResourceType),
|
|
8950
|
-
required: true,
|
|
8951
|
-
type: String
|
|
8952
|
-
}
|
|
8953
|
-
}
|
|
8958
|
+
type: resourceSchema
|
|
8954
8959
|
},
|
|
8955
8960
|
slug: { required: true, type: String },
|
|
8956
8961
|
tags: { default: [], required: false, type: [String] },
|