@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.
package/dist/index.cjs CHANGED
@@ -8251,6 +8251,7 @@ var LICENCE_FIELDS_FRAGMENT = gql`
8251
8251
  expiryDate
8252
8252
  issuedDate
8253
8253
  licenceType
8254
+ prevLicenceType
8254
8255
  }
8255
8256
  `;
8256
8257
  var ASSOCIATES_FIELDS_FRAGMENT = gql`
@@ -9992,9 +9993,6 @@ var DELETE_PARTNER_MUTATION = gql`
9992
9993
  `;
9993
9994
  var POST_CONTENT_DATA_FIELDS_FRAGMENT = gql`
9994
9995
  fragment PostContentDataFields on PostContentData {
9995
- cover {
9996
- ...ResourceImageFields
9997
- }
9998
9996
  textarea {
9999
9997
  title
10000
9998
  data
@@ -10033,6 +10031,9 @@ var POST_FIELDS_FRAGMENT = gql`
10033
10031
  content {
10034
10032
  ...PostContentFields
10035
10033
  }
10034
+ cover {
10035
+ ...ResourceImageFields
10036
+ }
10036
10037
  createdAt
10037
10038
  deletedAt
10038
10039
  postType
@@ -10045,6 +10046,7 @@ var POST_FIELDS_FRAGMENT = gql`
10045
10046
  updatedAt
10046
10047
  }
10047
10048
  ${POST_CONTENT_FIELDS_FRAGMENT}
10049
+ ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
10048
10050
  `;
10049
10051
  var GET_POSTS = gql`
10050
10052
  query getPosts {
@@ -12153,7 +12155,15 @@ var schema13 = new MongooseSchema18(
12153
12155
  {
12154
12156
  active: { default: true, required: true, type: Boolean },
12155
12157
  caption: { required: true, type: String },
12156
- content: [contentSchema],
12158
+ content: {
12159
+ default: [],
12160
+ required: false,
12161
+ type: [contentSchema]
12162
+ },
12163
+ cover: {
12164
+ required: false,
12165
+ type: ResourceImageTypeSchema
12166
+ },
12157
12167
  deletedAt: { default: null, required: false, type: Date },
12158
12168
  postType: {
12159
12169
  enum: Object.values(EnumPostType),
@@ -12163,7 +12173,7 @@ var schema13 = new MongooseSchema18(
12163
12173
  resource: {
12164
12174
  required: false,
12165
12175
  type: {
12166
- resourceId: { required: true, type: import_mongoose18.Schema.Types.ObjectId },
12176
+ resourceId: { required: true, type: String },
12167
12177
  resourceType: {
12168
12178
  enum: Object.values(EnumResourceType),
12169
12179
  required: true,