@timardex/cluemart-shared 1.5.498 → 1.5.499
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-O5IIN45V.mjs → chunk-6WV7CECU.mjs} +2 -2
- package/dist/{chunk-AUTKJ6QP.mjs → chunk-EJSVR77W.mjs} +2 -2
- package/dist/{chunk-O4ILKWFI.mjs → chunk-RO2IWCW2.mjs} +30 -20
- package/dist/chunk-RO2IWCW2.mjs.map +1 -0
- package/dist/formFields/index.cjs +92 -0
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +3 -3
- package/dist/{game-C6zLvmHU.d.mts → game-BR9xpQkt.d.mts} +19 -19
- package/dist/{game-B-YC4Am7.d.ts → game-Dn5SH8_0.d.ts} +19 -19
- package/dist/graphql/index.d.mts +2 -2
- package/dist/graphql/index.d.ts +2 -2
- package/dist/hooks/index.cjs +92 -0
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.mjs +3 -3
- package/dist/index.cjs +29 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +19 -19
- package/dist/index.d.ts +19 -19
- package/dist/index.mjs +29 -19
- package/dist/index.mjs.map +1 -1
- package/dist/{post-DFTmI0uz.d.mts → post-BBYcN5xv.d.mts} +1 -1
- package/dist/{post-CNm_rxZm.d.ts → post-CWZFxlP7.d.ts} +1 -1
- package/dist/types/index.cjs +29 -19
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.mjs +1 -1
- package/dist/utils/index.cjs +29 -19
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-O4ILKWFI.mjs.map +0 -1
- /package/dist/{chunk-O5IIN45V.mjs.map → chunk-6WV7CECU.mjs.map} +0 -0
- /package/dist/{chunk-AUTKJ6QP.mjs.map → chunk-EJSVR77W.mjs.map} +0 -0
|
@@ -43,10 +43,10 @@ import {
|
|
|
43
43
|
vendorStallSize,
|
|
44
44
|
vendorStartDateFields,
|
|
45
45
|
vendorTable
|
|
46
|
-
} from "../chunk-
|
|
47
|
-
import "../chunk-
|
|
46
|
+
} from "../chunk-6WV7CECU.mjs";
|
|
47
|
+
import "../chunk-EJSVR77W.mjs";
|
|
48
48
|
import "../chunk-534WN2SR.mjs";
|
|
49
|
-
import "../chunk-
|
|
49
|
+
import "../chunk-RO2IWCW2.mjs";
|
|
50
50
|
export {
|
|
51
51
|
availableCategories,
|
|
52
52
|
availableTagTypes,
|
|
@@ -2,61 +2,61 @@ import { y as OwnerType } from './global-MMBYi34A.mjs';
|
|
|
2
2
|
|
|
3
3
|
declare const gameScreenIdentifierList: readonly [{
|
|
4
4
|
readonly clue: "Where your actions turn into a timeline.";
|
|
5
|
-
readonly id: "activities";
|
|
5
|
+
readonly id: "/profile/activities";
|
|
6
6
|
}, {
|
|
7
7
|
readonly clue: "Where conversations happen without speaking.";
|
|
8
|
-
readonly id: "chat";
|
|
8
|
+
readonly id: "/profile/chat";
|
|
9
9
|
}, {
|
|
10
10
|
readonly clue: "The place to redefine who you are.";
|
|
11
|
-
readonly id: "edit-profile";
|
|
11
|
+
readonly id: "/profile/edit-profile";
|
|
12
12
|
}, {
|
|
13
13
|
readonly clue: "A single moment worth showing up for.";
|
|
14
|
-
readonly id:
|
|
14
|
+
readonly id: RegExp;
|
|
15
15
|
}, {
|
|
16
16
|
readonly clue: "What’s happening around you, right now.";
|
|
17
|
-
readonly id: "events-near-me";
|
|
17
|
+
readonly id: "/events/events-near-me";
|
|
18
18
|
}, {
|
|
19
19
|
readonly clue: "A collection of things worth attending.";
|
|
20
|
-
readonly id: "events";
|
|
20
|
+
readonly id: "/events";
|
|
21
21
|
}, {
|
|
22
22
|
readonly clue: "What’s happening in a wider area—not just nearby.";
|
|
23
|
-
readonly id:
|
|
23
|
+
readonly id: RegExp;
|
|
24
24
|
}, {
|
|
25
25
|
readonly clue: "Where you go to find something specific.";
|
|
26
|
-
readonly id: "events/search";
|
|
26
|
+
readonly id: "/events/search";
|
|
27
27
|
}, {
|
|
28
28
|
readonly clue: "Where fun becomes a challenge.";
|
|
29
|
-
readonly id: "games";
|
|
29
|
+
readonly id: "/games";
|
|
30
30
|
}, {
|
|
31
31
|
readonly clue: "Your starting point for everything.";
|
|
32
|
-
readonly id: "
|
|
32
|
+
readonly id: "/";
|
|
33
33
|
}, {
|
|
34
34
|
readonly clue: "Where the app taps you on the shoulder.";
|
|
35
|
-
readonly id: "notifications";
|
|
35
|
+
readonly id: "/notifications";
|
|
36
36
|
}, {
|
|
37
37
|
readonly clue: "Where you fine-tune your experience.";
|
|
38
|
-
readonly id: "options";
|
|
38
|
+
readonly id: "/options";
|
|
39
39
|
}, {
|
|
40
40
|
readonly clue: "A single collaborator in the ecosystem.";
|
|
41
|
-
readonly id:
|
|
41
|
+
readonly id: RegExp;
|
|
42
42
|
}, {
|
|
43
43
|
readonly clue: "The network behind the scenes.";
|
|
44
|
-
readonly id: "partners";
|
|
44
|
+
readonly id: "/partners";
|
|
45
45
|
}, {
|
|
46
46
|
readonly clue: "Where you share something with everyone.";
|
|
47
|
-
readonly id:
|
|
47
|
+
readonly id: RegExp;
|
|
48
48
|
}, {
|
|
49
49
|
readonly clue: "Your identity, on display.";
|
|
50
|
-
readonly id: "profile";
|
|
50
|
+
readonly id: "/profile";
|
|
51
51
|
}, {
|
|
52
52
|
readonly clue: "One provider offering something valuable.";
|
|
53
|
-
readonly id:
|
|
53
|
+
readonly id: RegExp;
|
|
54
54
|
}, {
|
|
55
55
|
readonly clue: "A marketplace of providers.";
|
|
56
|
-
readonly id: "vendors";
|
|
56
|
+
readonly id: "/vendors";
|
|
57
57
|
}, {
|
|
58
58
|
readonly clue: "People who stopped by to see you.";
|
|
59
|
-
readonly id: "visitors";
|
|
59
|
+
readonly id: "/visitors";
|
|
60
60
|
}];
|
|
61
61
|
type GamePlacement = (typeof gameScreenIdentifierList)[number]["id"];
|
|
62
62
|
type GamePlacementClue = (typeof gameScreenIdentifierList)[number]["clue"];
|
|
@@ -2,61 +2,61 @@ import { y as OwnerType } from './global-B0WdAD-8.js';
|
|
|
2
2
|
|
|
3
3
|
declare const gameScreenIdentifierList: readonly [{
|
|
4
4
|
readonly clue: "Where your actions turn into a timeline.";
|
|
5
|
-
readonly id: "activities";
|
|
5
|
+
readonly id: "/profile/activities";
|
|
6
6
|
}, {
|
|
7
7
|
readonly clue: "Where conversations happen without speaking.";
|
|
8
|
-
readonly id: "chat";
|
|
8
|
+
readonly id: "/profile/chat";
|
|
9
9
|
}, {
|
|
10
10
|
readonly clue: "The place to redefine who you are.";
|
|
11
|
-
readonly id: "edit-profile";
|
|
11
|
+
readonly id: "/profile/edit-profile";
|
|
12
12
|
}, {
|
|
13
13
|
readonly clue: "A single moment worth showing up for.";
|
|
14
|
-
readonly id:
|
|
14
|
+
readonly id: RegExp;
|
|
15
15
|
}, {
|
|
16
16
|
readonly clue: "What’s happening around you, right now.";
|
|
17
|
-
readonly id: "events-near-me";
|
|
17
|
+
readonly id: "/events/events-near-me";
|
|
18
18
|
}, {
|
|
19
19
|
readonly clue: "A collection of things worth attending.";
|
|
20
|
-
readonly id: "events";
|
|
20
|
+
readonly id: "/events";
|
|
21
21
|
}, {
|
|
22
22
|
readonly clue: "What’s happening in a wider area—not just nearby.";
|
|
23
|
-
readonly id:
|
|
23
|
+
readonly id: RegExp;
|
|
24
24
|
}, {
|
|
25
25
|
readonly clue: "Where you go to find something specific.";
|
|
26
|
-
readonly id: "events/search";
|
|
26
|
+
readonly id: "/events/search";
|
|
27
27
|
}, {
|
|
28
28
|
readonly clue: "Where fun becomes a challenge.";
|
|
29
|
-
readonly id: "games";
|
|
29
|
+
readonly id: "/games";
|
|
30
30
|
}, {
|
|
31
31
|
readonly clue: "Your starting point for everything.";
|
|
32
|
-
readonly id: "
|
|
32
|
+
readonly id: "/";
|
|
33
33
|
}, {
|
|
34
34
|
readonly clue: "Where the app taps you on the shoulder.";
|
|
35
|
-
readonly id: "notifications";
|
|
35
|
+
readonly id: "/notifications";
|
|
36
36
|
}, {
|
|
37
37
|
readonly clue: "Where you fine-tune your experience.";
|
|
38
|
-
readonly id: "options";
|
|
38
|
+
readonly id: "/options";
|
|
39
39
|
}, {
|
|
40
40
|
readonly clue: "A single collaborator in the ecosystem.";
|
|
41
|
-
readonly id:
|
|
41
|
+
readonly id: RegExp;
|
|
42
42
|
}, {
|
|
43
43
|
readonly clue: "The network behind the scenes.";
|
|
44
|
-
readonly id: "partners";
|
|
44
|
+
readonly id: "/partners";
|
|
45
45
|
}, {
|
|
46
46
|
readonly clue: "Where you share something with everyone.";
|
|
47
|
-
readonly id:
|
|
47
|
+
readonly id: RegExp;
|
|
48
48
|
}, {
|
|
49
49
|
readonly clue: "Your identity, on display.";
|
|
50
|
-
readonly id: "profile";
|
|
50
|
+
readonly id: "/profile";
|
|
51
51
|
}, {
|
|
52
52
|
readonly clue: "One provider offering something valuable.";
|
|
53
|
-
readonly id:
|
|
53
|
+
readonly id: RegExp;
|
|
54
54
|
}, {
|
|
55
55
|
readonly clue: "A marketplace of providers.";
|
|
56
|
-
readonly id: "vendors";
|
|
56
|
+
readonly id: "/vendors";
|
|
57
57
|
}, {
|
|
58
58
|
readonly clue: "People who stopped by to see you.";
|
|
59
|
-
readonly id: "visitors";
|
|
59
|
+
readonly id: "/visitors";
|
|
60
60
|
}];
|
|
61
61
|
type GamePlacement = (typeof gameScreenIdentifierList)[number]["id"];
|
|
62
62
|
type GamePlacementClue = (typeof gameScreenIdentifierList)[number]["clue"];
|
package/dist/graphql/index.d.mts
CHANGED
|
@@ -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-CqrscA5x.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-MMBYi34A.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 } from '../post-
|
|
6
|
-
import { G as GameType, a as GameLeaderboard } from '../game-
|
|
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 } from '../post-BBYcN5xv.mjs';
|
|
6
|
+
import { G as GameType, a as GameLeaderboard } from '../game-BR9xpQkt.mjs';
|
|
7
7
|
import 'react-hook-form';
|
|
8
8
|
|
|
9
9
|
declare const useAdminUpdateResourceType: () => {
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -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-2FaGRW-i.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-B0WdAD-8.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 } from '../post-
|
|
6
|
-
import { G as GameType, a as GameLeaderboard } from '../game-
|
|
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 } from '../post-CWZFxlP7.js';
|
|
6
|
+
import { G as GameType, a as GameLeaderboard } from '../game-Dn5SH8_0.js';
|
|
7
7
|
import 'react-hook-form';
|
|
8
8
|
|
|
9
9
|
declare const useAdminUpdateResourceType: () => {
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -279,6 +279,98 @@ var EnumEventDateStatus = /* @__PURE__ */ ((EnumEventDateStatus2) => {
|
|
|
279
279
|
// src/utils/dailyClueGame.ts
|
|
280
280
|
var import_dayjs = __toESM(require("dayjs"));
|
|
281
281
|
var import_utc = __toESM(require("dayjs/plugin/utc"));
|
|
282
|
+
|
|
283
|
+
// src/types/game.ts
|
|
284
|
+
var createRouteMatcher = (base, type) => {
|
|
285
|
+
switch (type) {
|
|
286
|
+
case "mongoId":
|
|
287
|
+
return new RegExp(`^\\/${base}\\/([a-f0-9]{24})$`);
|
|
288
|
+
case "slug":
|
|
289
|
+
return new RegExp(`^\\/${base}\\/[^/]+$`);
|
|
290
|
+
default:
|
|
291
|
+
return new RegExp(`^\\/${base}$`);
|
|
292
|
+
}
|
|
293
|
+
};
|
|
294
|
+
var gameScreenIdentifierList = [
|
|
295
|
+
{
|
|
296
|
+
clue: "Where your actions turn into a timeline.",
|
|
297
|
+
id: "/profile/activities"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
clue: "Where conversations happen without speaking.",
|
|
301
|
+
id: "/profile/chat"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
clue: "The place to redefine who you are.",
|
|
305
|
+
id: "/profile/edit-profile"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
clue: "A single moment worth showing up for.",
|
|
309
|
+
id: createRouteMatcher("events", "mongoId")
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
clue: "What\u2019s happening around you, right now.",
|
|
313
|
+
id: "/events/events-near-me"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
clue: "A collection of things worth attending.",
|
|
317
|
+
id: "/events"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
clue: "What\u2019s happening in a wider area\u2014not just nearby.",
|
|
321
|
+
id: createRouteMatcher("events/region", "slug")
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
clue: "Where you go to find something specific.",
|
|
325
|
+
id: "/events/search"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
clue: "Where fun becomes a challenge.",
|
|
329
|
+
id: "/games"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
clue: "Your starting point for everything.",
|
|
333
|
+
id: "/"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
clue: "Where the app taps you on the shoulder.",
|
|
337
|
+
id: "/notifications"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
clue: "Where you fine-tune your experience.",
|
|
341
|
+
id: "/options"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
clue: "A single collaborator in the ecosystem.",
|
|
345
|
+
id: createRouteMatcher("partners", "mongoId")
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
clue: "The network behind the scenes.",
|
|
349
|
+
id: "/partners"
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
clue: "Where you share something with everyone.",
|
|
353
|
+
id: createRouteMatcher("visitors/posts", "mongoId")
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
clue: "Your identity, on display.",
|
|
357
|
+
id: "/profile"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
clue: "One provider offering something valuable.",
|
|
361
|
+
id: createRouteMatcher("vendors", "mongoId")
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
clue: "A marketplace of providers.",
|
|
365
|
+
id: "/vendors"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
clue: "People who stopped by to see you.",
|
|
369
|
+
id: "/visitors"
|
|
370
|
+
}
|
|
371
|
+
];
|
|
372
|
+
|
|
373
|
+
// src/utils/dailyClueGame.ts
|
|
282
374
|
import_dayjs.default.extend(import_utc.default);
|
|
283
375
|
|
|
284
376
|
// src/utils/index.ts
|