@timardex/cluemart-server-shared 1.0.252 → 1.0.254
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-6AGDMMIJ.mjs → chunk-UWJ7JKP4.mjs} +5 -1
- package/dist/chunk-UWJ7JKP4.mjs.map +1 -0
- package/dist/index.cjs +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +4 -0
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.d.mts +2 -1
- package/dist/mongoose/index.d.ts +2 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +4 -0
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-6AGDMMIJ.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -669,10 +669,11 @@ declare const PartnerModel: mongoose.Model<SchemaPartnerType, {}, {}, {}, mongoo
|
|
|
669
669
|
}, any>;
|
|
670
670
|
|
|
671
671
|
type SchemaPostType = PostType;
|
|
672
|
-
declare const PostModel: mongoose.Model<PostType, {}, {}, {}, mongoose.Document<unknown, {}, PostType, {}, {}> & Omit<_timardex_cluemart_shared.PostFormData, "content" | "coverUpload"> & {
|
|
672
|
+
declare const PostModel: mongoose.Model<PostType, {}, {}, {}, mongoose.Document<unknown, {}, PostType, {}, {}> & Omit<_timardex_cluemart_shared.PostFormData, "resource" | "content" | "coverUpload"> & {
|
|
673
673
|
_id: string;
|
|
674
674
|
content: PostContentType[];
|
|
675
675
|
slug: string;
|
|
676
|
+
resource?: _timardex_cluemart_shared.PostResource | null;
|
|
676
677
|
createdAt: Date;
|
|
677
678
|
deletedAt: Date | null;
|
|
678
679
|
updatedAt: Date | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -669,10 +669,11 @@ declare const PartnerModel: mongoose.Model<SchemaPartnerType, {}, {}, {}, mongoo
|
|
|
669
669
|
}, any>;
|
|
670
670
|
|
|
671
671
|
type SchemaPostType = PostType;
|
|
672
|
-
declare const PostModel: mongoose.Model<PostType, {}, {}, {}, mongoose.Document<unknown, {}, PostType, {}, {}> & Omit<_timardex_cluemart_shared.PostFormData, "content" | "coverUpload"> & {
|
|
672
|
+
declare const PostModel: mongoose.Model<PostType, {}, {}, {}, mongoose.Document<unknown, {}, PostType, {}, {}> & Omit<_timardex_cluemart_shared.PostFormData, "resource" | "content" | "coverUpload"> & {
|
|
673
673
|
_id: string;
|
|
674
674
|
content: PostContentType[];
|
|
675
675
|
slug: string;
|
|
676
|
+
resource?: _timardex_cluemart_shared.PostResource | null;
|
|
676
677
|
createdAt: Date;
|
|
677
678
|
deletedAt: Date | null;
|
|
678
679
|
updatedAt: Date | null;
|
package/dist/index.mjs
CHANGED
|
@@ -5082,6 +5082,7 @@ var EVENT_LIST_ITEM = gql`
|
|
|
5082
5082
|
var RELATED_POST_FIELDS_FRAGMENT = gql`
|
|
5083
5083
|
fragment RelatedPostFields on RelatedPostType {
|
|
5084
5084
|
postId
|
|
5085
|
+
postSlug
|
|
5085
5086
|
postType
|
|
5086
5087
|
}
|
|
5087
5088
|
`;
|
|
@@ -5782,6 +5783,7 @@ var POST_FIELDS_FRAGMENT = gql`
|
|
|
5782
5783
|
postType
|
|
5783
5784
|
resource {
|
|
5784
5785
|
resourceId
|
|
5786
|
+
resourceSlug
|
|
5785
5787
|
resourceRegion
|
|
5786
5788
|
resourceType
|
|
5787
5789
|
}
|
|
@@ -6740,6 +6742,7 @@ var AD_FIELDS_FRAGMENT = gql`
|
|
|
6740
6742
|
adTitle
|
|
6741
6743
|
adType
|
|
6742
6744
|
resourceId
|
|
6745
|
+
resourceSlug
|
|
6743
6746
|
resourceName
|
|
6744
6747
|
resourceRegion
|
|
6745
6748
|
resourceType
|
|
@@ -7430,6 +7433,7 @@ var schemaAdresource = new MongooseSchema({
|
|
|
7430
7433
|
resourceId: { required: true, type: String },
|
|
7431
7434
|
resourceName: { required: true, type: String },
|
|
7432
7435
|
resourceRegion: { required: true, type: String },
|
|
7436
|
+
resourceSlug: { required: true, type: String },
|
|
7433
7437
|
resourceType: {
|
|
7434
7438
|
enum: Object.values(EnumResourceType),
|
|
7435
7439
|
required: true,
|