@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.
@@ -549,10 +549,11 @@ declare const PartnerModel: mongoose.Model<SchemaPartnerType, {}, {}, {}, mongoo
549
549
  }, any>;
550
550
 
551
551
  type SchemaPostType = PostType;
552
- declare const PostModel: mongoose.Model<PostType, {}, {}, {}, mongoose.Document<unknown, {}, PostType, {}, {}> & Omit<_timardex_cluemart_shared.PostFormData, "content" | "coverUpload"> & {
552
+ declare const PostModel: mongoose.Model<PostType, {}, {}, {}, mongoose.Document<unknown, {}, PostType, {}, {}> & Omit<_timardex_cluemart_shared.PostFormData, "resource" | "content" | "coverUpload"> & {
553
553
  _id: string;
554
554
  content: PostContentType[];
555
555
  slug: string;
556
+ resource?: _timardex_cluemart_shared.PostResource | null;
556
557
  createdAt: Date;
557
558
  deletedAt: Date | null;
558
559
  updatedAt: Date | null;
@@ -549,10 +549,11 @@ declare const PartnerModel: mongoose.Model<SchemaPartnerType, {}, {}, {}, mongoo
549
549
  }, any>;
550
550
 
551
551
  type SchemaPostType = PostType;
552
- declare const PostModel: mongoose.Model<PostType, {}, {}, {}, mongoose.Document<unknown, {}, PostType, {}, {}> & Omit<_timardex_cluemart_shared.PostFormData, "content" | "coverUpload"> & {
552
+ declare const PostModel: mongoose.Model<PostType, {}, {}, {}, mongoose.Document<unknown, {}, PostType, {}, {}> & Omit<_timardex_cluemart_shared.PostFormData, "resource" | "content" | "coverUpload"> & {
553
553
  _id: string;
554
554
  content: PostContentType[];
555
555
  slug: string;
556
+ resource?: _timardex_cluemart_shared.PostResource | null;
556
557
  createdAt: Date;
557
558
  deletedAt: Date | null;
558
559
  updatedAt: Date | null;
@@ -38,7 +38,7 @@ import {
38
38
  resourceRelationsSchema,
39
39
  termsAgreementSchema,
40
40
  userLicenseSchema
41
- } from "../chunk-6AGDMMIJ.mjs";
41
+ } from "../chunk-UWJ7JKP4.mjs";
42
42
  export {
43
43
  APP_SETTINGS_ID,
44
44
  AdModel,
@@ -5153,6 +5153,7 @@ var EVENT_LIST_ITEM = gql`
5153
5153
  var RELATED_POST_FIELDS_FRAGMENT = gql`
5154
5154
  fragment RelatedPostFields on RelatedPostType {
5155
5155
  postId
5156
+ postSlug
5156
5157
  postType
5157
5158
  }
5158
5159
  `;
@@ -5853,6 +5854,7 @@ var POST_FIELDS_FRAGMENT = gql`
5853
5854
  postType
5854
5855
  resource {
5855
5856
  resourceId
5857
+ resourceSlug
5856
5858
  resourceRegion
5857
5859
  resourceType
5858
5860
  }
@@ -6811,6 +6813,7 @@ var AD_FIELDS_FRAGMENT = gql`
6811
6813
  adTitle
6812
6814
  adType
6813
6815
  resourceId
6816
+ resourceSlug
6814
6817
  resourceName
6815
6818
  resourceRegion
6816
6819
  resourceType
@@ -7700,6 +7703,7 @@ var schemaAdresource = new MongooseSchema3({
7700
7703
  resourceId: { required: true, type: String },
7701
7704
  resourceName: { required: true, type: String },
7702
7705
  resourceRegion: { required: true, type: String },
7706
+ resourceSlug: { required: true, type: String },
7703
7707
  resourceType: {
7704
7708
  enum: Object.values(EnumResourceType),
7705
7709
  required: true,