@timardex/cluemart-server-shared 1.0.87 → 1.0.89

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.
@@ -8177,6 +8177,7 @@ var LICENCE_FIELDS_FRAGMENT = gql`
8177
8177
  expiryDate
8178
8178
  issuedDate
8179
8179
  licenceType
8180
+ prevLicenceType
8180
8181
  }
8181
8182
  `;
8182
8183
  var ASSOCIATES_FIELDS_FRAGMENT = gql`
@@ -9918,9 +9919,6 @@ var DELETE_PARTNER_MUTATION = gql`
9918
9919
  `;
9919
9920
  var POST_CONTENT_DATA_FIELDS_FRAGMENT = gql`
9920
9921
  fragment PostContentDataFields on PostContentData {
9921
- cover {
9922
- ...ResourceImageFields
9923
- }
9924
9922
  textarea {
9925
9923
  title
9926
9924
  data
@@ -9959,6 +9957,9 @@ var POST_FIELDS_FRAGMENT = gql`
9959
9957
  content {
9960
9958
  ...PostContentFields
9961
9959
  }
9960
+ cover {
9961
+ ...ResourceImageFields
9962
+ }
9962
9963
  createdAt
9963
9964
  deletedAt
9964
9965
  postType
@@ -9971,6 +9972,7 @@ var POST_FIELDS_FRAGMENT = gql`
9971
9972
  updatedAt
9972
9973
  }
9973
9974
  ${POST_CONTENT_FIELDS_FRAGMENT}
9975
+ ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
9974
9976
  `;
9975
9977
  var GET_POSTS = gql`
9976
9978
  query getPosts {
@@ -12079,7 +12081,15 @@ var schema13 = new MongooseSchema18(
12079
12081
  {
12080
12082
  active: { default: true, required: true, type: Boolean },
12081
12083
  caption: { required: true, type: String },
12082
- content: [contentSchema],
12084
+ content: {
12085
+ default: [],
12086
+ required: false,
12087
+ type: [contentSchema]
12088
+ },
12089
+ cover: {
12090
+ required: false,
12091
+ type: ResourceImageTypeSchema
12092
+ },
12083
12093
  deletedAt: { default: null, required: false, type: Date },
12084
12094
  postType: {
12085
12095
  enum: Object.values(EnumPostType),
@@ -12089,7 +12099,7 @@ var schema13 = new MongooseSchema18(
12089
12099
  resource: {
12090
12100
  required: false,
12091
12101
  type: {
12092
- resourceId: { required: true, type: Schema2.Types.ObjectId },
12102
+ resourceId: { required: true, type: String },
12093
12103
  resourceType: {
12094
12104
  enum: Object.values(EnumResourceType),
12095
12105
  required: true,
@@ -12189,4 +12199,4 @@ react/cjs/react.development.js:
12189
12199
  * LICENSE file in the root directory of this source tree.
12190
12200
  *)
12191
12201
  */
12192
- //# sourceMappingURL=chunk-OAZFO6PX.mjs.map
12202
+ //# sourceMappingURL=chunk-BZT5T34F.mjs.map