@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/{chunk-DBGVZNUX.mjs → chunk-DJHOLZ3J.mjs} +9 -1
- package/dist/chunk-DJHOLZ3J.mjs.map +1 -0
- package/dist/index.cjs +11 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +11 -3
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +8 -0
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +11 -3
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.d.mts +2 -2
- package/dist/service/index.d.ts +2 -2
- package/dist/service/index.mjs +4 -4
- package/dist/service/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-DBGVZNUX.mjs.map +0 -1
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-
|
|
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
|
}
|