@timardex/cluemart-server-shared 1.1.37 → 1.1.38

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
@@ -2559,6 +2559,14 @@ var GET_EVENT = gql`
2559
2559
  }
2560
2560
  ${EVENT}
2561
2561
  `;
2562
+ var GET_OWNED_EVENT = gql`
2563
+ query getOwnedEvent($_id: ID!) {
2564
+ ownedEvent(_id: $_id) {
2565
+ ...EventFields
2566
+ }
2567
+ }
2568
+ ${EVENT}
2569
+ `;
2562
2570
  var GET_EVENT_BY_PLACE_ID = gql`
2563
2571
  query getEventByPlaceId($googlePlaceId: String!) {
2564
2572
  eventByPlaceId(googlePlaceId: $googlePlaceId) {
@@ -7354,7 +7362,7 @@ var gameScreenIdentifierList2 = [
7354
7362
  }
7355
7363
  ];
7356
7364
 
7357
- // node_modules/@timardex/cluemart-shared/dist/chunk-5RXL62LO.mjs
7365
+ // node_modules/@timardex/cluemart-shared/dist/chunk-RCARDOVS.mjs
7358
7366
  var import_dayjs4 = __toESM(require("dayjs"), 1);
7359
7367
  var statusOptions2 = [
7360
7368
  ...Object.values(EnumInviteStatus2).map((status) => ({
@@ -9068,8 +9076,8 @@ async function findEventOrImportedMarketById(resourceId) {
9068
9076
  }
9069
9077
  const normalizedId = convertObjectIdsToStrings(resourceId);
9070
9078
  const [eventDoc, googleImportedDoc] = await Promise.all([
9071
- EventModel.findById(normalizedId).select("_id name").lean().exec(),
9072
- GoogleImportedMarketModel.findById(normalizedId).select("_id name").lean().exec()
9079
+ EventModel.findById(normalizedId).select("_id name dateTime").lean().exec(),
9080
+ GoogleImportedMarketModel.findById(normalizedId).select("_id name dateTime").lean().exec()
9073
9081
  ]);
9074
9082
  return eventDoc ?? googleImportedDoc;
9075
9083
  }