@timardex/cluemart-server-shared 1.1.29 → 1.1.31

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.
@@ -23,7 +23,7 @@ import {
23
23
  VendorModel,
24
24
  dateFormat,
25
25
  timeFormat
26
- } from "../chunk-HO5LGPTL.mjs";
26
+ } from "../chunk-IAFTMRVS.mjs";
27
27
  import "../chunk-6PNG5BI5.mjs";
28
28
 
29
29
  // src/service/promoCode/constants.ts
@@ -41,7 +41,7 @@ async function activeAffiliateCodeExists(affiliateCode) {
41
41
  return existing !== null;
42
42
  }
43
43
 
44
- // node_modules/@timardex/cluemart-shared/dist/chunk-SD42WIMV.mjs
44
+ // node_modules/@timardex/cluemart-shared/dist/chunk-2UNNIQIK.mjs
45
45
  import dayjs from "dayjs";
46
46
  import customParseFormat from "dayjs/plugin/customParseFormat.js";
47
47
  import isSameOrAfter from "dayjs/plugin/isSameOrAfter.js";
@@ -96,25 +96,20 @@ var SHARE_RESOURCE_LABEL = {
96
96
  school: "School"
97
97
  };
98
98
 
99
- // node_modules/@timardex/cluemart-shared/dist/chunk-WS47NSTO.mjs
99
+ // node_modules/@timardex/cluemart-shared/dist/chunk-CAI7BTMN.mjs
100
100
  var PROMO_CODE_PREFIX = "CM-";
101
101
  var OBJECT_ID_PATH_SEGMENT = "[a-f0-9]{24}";
102
102
  var OBJECT_ID_PATH_SEGMENT_END = `${OBJECT_ID_PATH_SEGMENT}$`;
103
103
  var gameScreenIdentifierList = [
104
- {
105
- clue: "Where your actions turn into a timeline.",
106
- id: "activities",
107
- match: "/profile/account/favourites"
108
- },
109
104
  {
110
105
  clue: "Where conversations happen without speaking.",
111
106
  id: "chat",
112
107
  match: "/chat"
113
108
  },
114
109
  {
115
- clue: "The place to redefine who you are.",
116
- id: "edit-profile",
117
- match: "/profile/account"
110
+ clue: "Where you can find your loyalties.",
111
+ id: "coupons",
112
+ match: "/coupons"
118
113
  },
119
114
  {
120
115
  clue: "A single moment worth showing up for.",
@@ -149,18 +144,13 @@ var gameScreenIdentifierList = [
149
144
  {
150
145
  clue: "Your starting point for everything.",
151
146
  id: "home",
152
- match: "/"
147
+ match: "/home"
153
148
  },
154
149
  {
155
150
  clue: "Where the app whispers what you shouldn\u2019t miss.",
156
151
  id: "notifications",
157
152
  match: "/notifications"
158
153
  },
159
- {
160
- clue: "Where you fine-tune your experience.",
161
- id: "options",
162
- match: "/options"
163
- },
164
154
  {
165
155
  clue: "An organisation or creator supporting the community.",
166
156
  id: "single-partner",
@@ -172,15 +162,30 @@ var gameScreenIdentifierList = [
172
162
  match: "/partners"
173
163
  },
174
164
  {
175
- clue: "A single published post in full view.",
176
- id: "single-visitor-post",
177
- match: new RegExp(`^/visitors/post/${OBJECT_ID_PATH_SEGMENT_END}`)
165
+ clue: "Where your actions turn into a timeline.",
166
+ id: "activities",
167
+ match: "/profile/account/favourites"
168
+ },
169
+ {
170
+ clue: "The place to redefine who you are.",
171
+ id: "edit-profile",
172
+ match: "/profile/account"
178
173
  },
179
174
  {
180
175
  clue: "Your identity, on display.",
181
176
  id: "profile",
182
177
  match: "/profile"
183
178
  },
179
+ {
180
+ clue: "Where you can redeem your rewards.",
181
+ id: "rewards",
182
+ match: "/profile/account/rewards"
183
+ },
184
+ {
185
+ clue: "A single published post in full view.",
186
+ id: "single-visitor-post",
187
+ match: new RegExp(`^/visitors/post/${OBJECT_ID_PATH_SEGMENT_END}`)
188
+ },
184
189
  {
185
190
  clue: "One stallholder offering something valuable.",
186
191
  id: "single-vendor",
@@ -195,10 +200,15 @@ var gameScreenIdentifierList = [
195
200
  clue: "Where you browse articles and posts from around the platform.",
196
201
  id: "visitors",
197
202
  match: "/visitors"
203
+ },
204
+ {
205
+ clue: "Where you fine-tune your experience.",
206
+ id: "options",
207
+ match: "/options"
198
208
  }
199
209
  ];
200
210
 
201
- // node_modules/@timardex/cluemart-shared/dist/chunk-G5T3Z6WT.mjs
211
+ // node_modules/@timardex/cluemart-shared/dist/chunk-HBJD6O7T.mjs
202
212
  import dayjs2 from "dayjs";
203
213
  var statusOptions = [
204
214
  ...Object.values(EnumInviteStatus2).map((status) => ({