@timardex/cluemart-server-shared 1.0.43 → 1.0.44

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.
@@ -9764,6 +9764,7 @@ var POST_CONTENT_FIELDS_FRAGMENT = gql`
9764
9764
  var POST_FIELDS_FRAGMENT = gql`
9765
9765
  fragment PostFields on PostType {
9766
9766
  _id
9767
+ active
9767
9768
  content {
9768
9769
  ...PostContentFields
9769
9770
  }
@@ -10435,9 +10436,10 @@ var postContentSchema = create$3().shape({
10435
10436
  contentType: create$8().oneOf(Object.values(EnumPostContentType)).required()
10436
10437
  });
10437
10438
  var postSchema = create$3().shape({
10439
+ active: create$7().required(),
10438
10440
  content: create$2().of(postContentSchema).required(),
10439
10441
  postType: create$8().oneOf(Object.values(EnumPostType)).required(),
10440
- tags: create$2().of(create$6()).nullable().optional(),
10442
+ tags: create$2().of(create$6().required()).nullable().optional(),
10441
10443
  title: create$6().required()
10442
10444
  });
10443
10445
  var defaultLocation = {
@@ -11621,6 +11623,7 @@ var contentSchema = new MongooseSchema16(
11621
11623
  );
11622
11624
  var schema12 = new MongooseSchema16(
11623
11625
  {
11626
+ active: { default: true, required: true, type: Boolean },
11624
11627
  content: { required: true, type: contentSchema },
11625
11628
  postType: {
11626
11629
  enum: Object.values(EnumPostType),
@@ -11692,4 +11695,4 @@ react/cjs/react.development.js:
11692
11695
  * LICENSE file in the root directory of this source tree.
11693
11696
  *)
11694
11697
  */
11695
- //# sourceMappingURL=chunk-QA4UVYI6.mjs.map
11698
+ //# sourceMappingURL=chunk-BSNEEDIT.mjs.map