@timardex/cluemart-server-shared 1.0.78 → 1.0.79

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.
@@ -9097,6 +9097,7 @@ var CHAT_FIELDS_FRAGMENT = gql`
9097
9097
  participants {
9098
9098
  ...ChatParticipantFields
9099
9099
  }
9100
+ region
9100
9101
  updatedAt
9101
9102
  }
9102
9103
  ${CHAT_MESSAGE_FIELDS_FRAGMENT}
@@ -9118,6 +9119,14 @@ var USER_CHATS = gql`
9118
9119
  }
9119
9120
  ${CHAT_FIELDS_FRAGMENT}
9120
9121
  `;
9122
+ var GET_CHATS_BY_REGION = gql`
9123
+ query getChatsByRegion($region: String!) {
9124
+ chatsByRegion(region: $region) {
9125
+ ...ChatFields
9126
+ }
9127
+ }
9128
+ ${CHAT_FIELDS_FRAGMENT}
9129
+ `;
9121
9130
  var SEND_CHAT_MESSAGE_MUTATION = gql`
9122
9131
  mutation sendChatMessage($_id: ID!, $input: ChatMessageInputType!) {
9123
9132
  sendChatMessage(_id: $_id, input: $input) {
@@ -11324,7 +11333,8 @@ var ChatSchema = new MongooseSchema5(
11324
11333
  },
11325
11334
  deletedAt: { default: null, required: false, type: Date },
11326
11335
  messages: [MessageSchema],
11327
- participants: [ParticipantSchema]
11336
+ participants: [ParticipantSchema],
11337
+ region: { default: null, required: false, type: String }
11328
11338
  },
11329
11339
  {
11330
11340
  timestamps: true
@@ -12188,4 +12198,4 @@ react/cjs/react.development.js:
12188
12198
  * LICENSE file in the root directory of this source tree.
12189
12199
  *)
12190
12200
  */
12191
- //# sourceMappingURL=chunk-TPZF5OZA.mjs.map
12201
+ //# sourceMappingURL=chunk-SWHWX4E5.mjs.map