@timardex/cluemart-shared 1.5.543 → 1.5.545

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.
Files changed (39) hide show
  1. package/dist/{chunk-PB3J52JN.mjs → chunk-L47NQHZ6.mjs} +2 -2
  2. package/dist/{chunk-RWA5G6NG.mjs → chunk-LOABFNIJ.mjs} +15 -18
  3. package/dist/chunk-LOABFNIJ.mjs.map +1 -0
  4. package/dist/{chunk-UNLHXGT4.mjs → chunk-Z3JWNX2U.mjs} +16 -22
  5. package/dist/chunk-Z3JWNX2U.mjs.map +1 -0
  6. package/dist/formFields/index.cjs +96 -0
  7. package/dist/formFields/index.cjs.map +1 -1
  8. package/dist/formFields/index.mjs +3 -3
  9. package/dist/{game-DAQTH29H.d.ts → game-1CSiEjlf.d.ts} +8 -12
  10. package/dist/{game-CKJKoqrR.d.mts → game-BPtE3yaQ.d.mts} +8 -12
  11. package/dist/graphql/index.d.mts +2 -2
  12. package/dist/graphql/index.d.ts +2 -2
  13. package/dist/hooks/index.cjs +96 -0
  14. package/dist/hooks/index.cjs.map +1 -1
  15. package/dist/hooks/index.d.mts +2 -2
  16. package/dist/hooks/index.d.ts +2 -2
  17. package/dist/hooks/index.mjs +3 -3
  18. package/dist/index.cjs +28 -37
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.mts +8 -12
  21. package/dist/index.d.ts +8 -12
  22. package/dist/index.mjs +28 -37
  23. package/dist/index.mjs.map +1 -1
  24. package/dist/{post-C22p1dDe.d.ts → post-C0CIWXwc.d.ts} +1 -1
  25. package/dist/{post-B65KQS6r.d.mts → post-DjuHzWo7.d.mts} +1 -1
  26. package/dist/types/index.cjs +14 -17
  27. package/dist/types/index.cjs.map +1 -1
  28. package/dist/types/index.d.mts +2 -2
  29. package/dist/types/index.d.ts +2 -2
  30. package/dist/types/index.mjs +1 -1
  31. package/dist/utils/index.cjs +28 -37
  32. package/dist/utils/index.cjs.map +1 -1
  33. package/dist/utils/index.d.mts +1 -1
  34. package/dist/utils/index.d.ts +1 -1
  35. package/dist/utils/index.mjs +2 -2
  36. package/package.json +1 -1
  37. package/dist/chunk-RWA5G6NG.mjs.map +0 -1
  38. package/dist/chunk-UNLHXGT4.mjs.map +0 -1
  39. /package/dist/{chunk-PB3J52JN.mjs.map → chunk-L47NQHZ6.mjs.map} +0 -0
@@ -43,10 +43,10 @@ import {
43
43
  vendorStallSize,
44
44
  vendorStartDateFields,
45
45
  vendorTable
46
- } from "../chunk-PB3J52JN.mjs";
47
- import "../chunk-UNLHXGT4.mjs";
46
+ } from "../chunk-L47NQHZ6.mjs";
47
+ import "../chunk-Z3JWNX2U.mjs";
48
48
  import "../chunk-ZR4TGWTS.mjs";
49
- import "../chunk-RWA5G6NG.mjs";
49
+ import "../chunk-LOABFNIJ.mjs";
50
50
  export {
51
51
  availableCategories,
52
52
  availableTagTypes,
@@ -25,13 +25,9 @@ declare const gameScreenIdentifierList: readonly [{
25
25
  readonly id: "events";
26
26
  readonly match: "/events";
27
27
  }, {
28
- readonly clue: "What’s happening in a wider area—not just nearby.";
28
+ readonly clue: "What’s happening in a wider area not just nearby.";
29
29
  readonly id: "events-region";
30
30
  readonly match: RegExp;
31
- }, {
32
- readonly clue: "Where you go to find something specific.";
33
- readonly id: "events-search";
34
- readonly match: "/events/search";
35
31
  }, {
36
32
  readonly clue: "Where fun becomes a challenge.";
37
33
  readonly id: "games";
@@ -41,7 +37,7 @@ declare const gameScreenIdentifierList: readonly [{
41
37
  readonly id: "home";
42
38
  readonly match: "/";
43
39
  }, {
44
- readonly clue: "Where the app taps you on the shoulder.";
40
+ readonly clue: "Where the app whispers what you shouldn’t miss.";
45
41
  readonly id: "notifications";
46
42
  readonly match: "/notifications";
47
43
  }, {
@@ -49,15 +45,15 @@ declare const gameScreenIdentifierList: readonly [{
49
45
  readonly id: "options";
50
46
  readonly match: "/options";
51
47
  }, {
52
- readonly clue: "A single collaborator in the ecosystem.";
48
+ readonly clue: "An organisation or creator supporting the community.";
53
49
  readonly id: "single-partner";
54
50
  readonly match: RegExp;
55
51
  }, {
56
- readonly clue: "The network behind the scenes.";
52
+ readonly clue: "Organisations and creators supporting the community.";
57
53
  readonly id: "partners";
58
54
  readonly match: "/partners";
59
55
  }, {
60
- readonly clue: "Where you share something with everyone.";
56
+ readonly clue: "A single published post in full view.";
61
57
  readonly id: "single-visitor-post";
62
58
  readonly match: RegExp;
63
59
  }, {
@@ -65,15 +61,15 @@ declare const gameScreenIdentifierList: readonly [{
65
61
  readonly id: "profile";
66
62
  readonly match: "/profile";
67
63
  }, {
68
- readonly clue: "One provider offering something valuable.";
64
+ readonly clue: "One stallholder offering something valuable.";
69
65
  readonly id: "single-vendor";
70
66
  readonly match: RegExp;
71
67
  }, {
72
- readonly clue: "A marketplace of providers.";
68
+ readonly clue: "Where every stallholder waits under the right category.";
73
69
  readonly id: "vendors";
74
70
  readonly match: "/vendors";
75
71
  }, {
76
- readonly clue: "People who stopped by to see you.";
72
+ readonly clue: "Where you browse articles and posts from around the platform.";
77
73
  readonly id: "visitors";
78
74
  readonly match: "/visitors";
79
75
  }];
@@ -25,13 +25,9 @@ declare const gameScreenIdentifierList: readonly [{
25
25
  readonly id: "events";
26
26
  readonly match: "/events";
27
27
  }, {
28
- readonly clue: "What’s happening in a wider area—not just nearby.";
28
+ readonly clue: "What’s happening in a wider area not just nearby.";
29
29
  readonly id: "events-region";
30
30
  readonly match: RegExp;
31
- }, {
32
- readonly clue: "Where you go to find something specific.";
33
- readonly id: "events-search";
34
- readonly match: "/events/search";
35
31
  }, {
36
32
  readonly clue: "Where fun becomes a challenge.";
37
33
  readonly id: "games";
@@ -41,7 +37,7 @@ declare const gameScreenIdentifierList: readonly [{
41
37
  readonly id: "home";
42
38
  readonly match: "/";
43
39
  }, {
44
- readonly clue: "Where the app taps you on the shoulder.";
40
+ readonly clue: "Where the app whispers what you shouldn’t miss.";
45
41
  readonly id: "notifications";
46
42
  readonly match: "/notifications";
47
43
  }, {
@@ -49,15 +45,15 @@ declare const gameScreenIdentifierList: readonly [{
49
45
  readonly id: "options";
50
46
  readonly match: "/options";
51
47
  }, {
52
- readonly clue: "A single collaborator in the ecosystem.";
48
+ readonly clue: "An organisation or creator supporting the community.";
53
49
  readonly id: "single-partner";
54
50
  readonly match: RegExp;
55
51
  }, {
56
- readonly clue: "The network behind the scenes.";
52
+ readonly clue: "Organisations and creators supporting the community.";
57
53
  readonly id: "partners";
58
54
  readonly match: "/partners";
59
55
  }, {
60
- readonly clue: "Where you share something with everyone.";
56
+ readonly clue: "A single published post in full view.";
61
57
  readonly id: "single-visitor-post";
62
58
  readonly match: RegExp;
63
59
  }, {
@@ -65,15 +61,15 @@ declare const gameScreenIdentifierList: readonly [{
65
61
  readonly id: "profile";
66
62
  readonly match: "/profile";
67
63
  }, {
68
- readonly clue: "One provider offering something valuable.";
64
+ readonly clue: "One stallholder offering something valuable.";
69
65
  readonly id: "single-vendor";
70
66
  readonly match: RegExp;
71
67
  }, {
72
- readonly clue: "A marketplace of providers.";
68
+ readonly clue: "Where every stallholder waits under the right category.";
73
69
  readonly id: "vendors";
74
70
  readonly match: "/vendors";
75
71
  }, {
76
- readonly clue: "People who stopped by to see you.";
72
+ readonly clue: "Where you browse articles and posts from around the platform.";
77
73
  readonly id: "visitors";
78
74
  readonly match: "/visitors";
79
75
  }];
@@ -2,8 +2,8 @@ import * as _apollo_client from '@apollo/client';
2
2
  import { EnumResourceType } from '../enums/index.mjs';
3
3
  import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-B8dshdq5.mjs';
4
4
  import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-ClbRuePq.mjs';
5
- import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, e as SchoolReturnType, f as SchoolType } from '../post-B65KQS6r.mjs';
6
- import { G as GameDocType, a as GameLeaderboard } from '../game-CKJKoqrR.mjs';
5
+ import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, e as SchoolReturnType, f as SchoolType } from '../post-DjuHzWo7.mjs';
6
+ import { G as GameDocType, a as GameLeaderboard } from '../game-BPtE3yaQ.mjs';
7
7
  import 'react-hook-form';
8
8
  import '../images/index.mjs';
9
9
 
@@ -2,8 +2,8 @@ import * as _apollo_client from '@apollo/client';
2
2
  import { EnumResourceType } from '../enums/index.js';
3
3
  import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-BXsZrzFC.js';
4
4
  import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-CDqmjLH1.js';
5
- import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, e as SchoolReturnType, f as SchoolType } from '../post-C22p1dDe.js';
6
- import { G as GameDocType, a as GameLeaderboard } from '../game-DAQTH29H.js';
5
+ import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, e as SchoolReturnType, f as SchoolType } from '../post-C0CIWXwc.js';
6
+ import { G as GameDocType, a as GameLeaderboard } from '../game-1CSiEjlf.js';
7
7
  import 'react-hook-form';
8
8
  import '../images/index.js';
9
9
 
@@ -278,6 +278,102 @@ var EnumEventDateStatus = /* @__PURE__ */ ((EnumEventDateStatus2) => {
278
278
  return EnumEventDateStatus2;
279
279
  })(EnumEventDateStatus || {});
280
280
 
281
+ // src/types/game.ts
282
+ var OBJECT_ID_PATH_SEGMENT = "[a-f0-9]{24}";
283
+ var OBJECT_ID_PATH_SEGMENT_END = `${OBJECT_ID_PATH_SEGMENT}$`;
284
+ var gameScreenIdentifierList = [
285
+ {
286
+ clue: "Where your actions turn into a timeline.",
287
+ id: "activities",
288
+ match: "/profile/activities"
289
+ },
290
+ {
291
+ clue: "Where conversations happen without speaking.",
292
+ id: "chat",
293
+ match: "/profile/chat"
294
+ },
295
+ {
296
+ clue: "The place to redefine who you are.",
297
+ id: "edit-profile",
298
+ match: "/profile/edit-profile"
299
+ },
300
+ {
301
+ clue: "A single moment worth showing up for.",
302
+ id: "single-event",
303
+ match: new RegExp(`^/events/${OBJECT_ID_PATH_SEGMENT_END}`)
304
+ },
305
+ {
306
+ clue: "What\u2019s happening around you, right now.",
307
+ id: "events-near-me",
308
+ match: "/events/events-near-me"
309
+ },
310
+ {
311
+ clue: "A collection of things worth attending.",
312
+ id: "events",
313
+ match: "/events"
314
+ },
315
+ {
316
+ clue: "What\u2019s happening in a wider area \u2014 not just nearby.",
317
+ id: "events-region",
318
+ match: /^\/events\/region\/[^/]+$/
319
+ },
320
+ {
321
+ clue: "Where fun becomes a challenge.",
322
+ id: "games",
323
+ match: "/games"
324
+ },
325
+ {
326
+ clue: "Your starting point for everything.",
327
+ id: "home",
328
+ match: "/"
329
+ },
330
+ {
331
+ clue: "Where the app whispers what you shouldn\u2019t miss.",
332
+ id: "notifications",
333
+ match: "/notifications"
334
+ },
335
+ {
336
+ clue: "Where you fine-tune your experience.",
337
+ id: "options",
338
+ match: "/options"
339
+ },
340
+ {
341
+ clue: "An organisation or creator supporting the community.",
342
+ id: "single-partner",
343
+ match: new RegExp(`^/partners/${OBJECT_ID_PATH_SEGMENT_END}`)
344
+ },
345
+ {
346
+ clue: "Organisations and creators supporting the community.",
347
+ id: "partners",
348
+ match: "/partners"
349
+ },
350
+ {
351
+ clue: "A single published post in full view.",
352
+ id: "single-visitor-post",
353
+ match: new RegExp(`^/visitors/post/${OBJECT_ID_PATH_SEGMENT_END}`)
354
+ },
355
+ {
356
+ clue: "Your identity, on display.",
357
+ id: "profile",
358
+ match: "/profile"
359
+ },
360
+ {
361
+ clue: "One stallholder offering something valuable.",
362
+ id: "single-vendor",
363
+ match: new RegExp(`^/vendors/${OBJECT_ID_PATH_SEGMENT_END}`)
364
+ },
365
+ {
366
+ clue: "Where every stallholder waits under the right category.",
367
+ id: "vendors",
368
+ match: "/vendors"
369
+ },
370
+ {
371
+ clue: "Where you browse articles and posts from around the platform.",
372
+ id: "visitors",
373
+ match: "/visitors"
374
+ }
375
+ ];
376
+
281
377
  // src/utils/date.ts
282
378
  var import_dayjs = __toESM(require("dayjs"));
283
379
  var import_customParseFormat = __toESM(require("dayjs/plugin/customParseFormat.js"));