@timardex/cluemart-shared 1.5.738 → 1.5.740
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/{post-DmsQS24-.d.ts → ad-CqfSmtG_.d.ts} +2 -168
- package/dist/{post-C3-IUdTA.d.mts → ad-sgD-lSbO.d.mts} +2 -168
- package/dist/{chunk-KINIHSDW.mjs → chunk-6OBMKN7F.mjs} +9 -9
- package/dist/chunk-6OBMKN7F.mjs.map +1 -0
- package/dist/{chunk-6IEQBYEB.mjs → chunk-6YISZ3OD.mjs} +2 -2
- package/dist/{chunk-5SCGH7UX.mjs → chunk-7VNXO63T.mjs} +108 -6
- package/dist/chunk-7VNXO63T.mjs.map +1 -0
- package/dist/{chunk-HGS6TJTA.mjs → chunk-XWFE6U3E.mjs} +8 -2
- package/dist/chunk-XWFE6U3E.mjs.map +1 -0
- package/dist/formFields/index.cjs +16 -0
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +3 -3
- package/dist/graphql/index.d.mts +2 -2
- package/dist/graphql/index.d.ts +2 -2
- package/dist/hooks/index.cjs +63 -60
- 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 +11 -12
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +115 -108
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +8 -7
- package/dist/index.d.ts +8 -7
- package/dist/index.mjs +114 -108
- package/dist/index.mjs.map +1 -1
- package/dist/post-CdLrXuH1.d.mts +279 -0
- package/dist/post-D6n4Vszs.d.ts +279 -0
- package/dist/sharing/index.cjs +23 -7
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.d.mts +3 -3
- package/dist/sharing/index.d.ts +3 -3
- package/dist/sharing/index.mjs +3 -3
- package/dist/types/index.cjs +3 -3
- 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 +2 -4
- package/dist/utils/index.cjs +18 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +3 -2
- package/dist/utils/index.d.ts +3 -2
- package/dist/utils/index.mjs +4 -2
- package/package.json +1 -1
- package/dist/chunk-5SCGH7UX.mjs.map +0 -1
- package/dist/chunk-HGS6TJTA.mjs.map +0 -1
- package/dist/chunk-HV5AID7P.mjs +0 -105
- package/dist/chunk-HV5AID7P.mjs.map +0 -1
- package/dist/chunk-KINIHSDW.mjs.map +0 -1
- package/dist/dailyClue-CvhLv9hJ.d.mts +0 -111
- package/dist/dailyClue-CvhLv9hJ.d.ts +0 -111
- /package/dist/{chunk-6IEQBYEB.mjs.map → chunk-6YISZ3OD.mjs.map} +0 -0
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
declare enum EnumGameType {
|
|
2
|
-
DAILY_CLUE = "dailyClue",
|
|
3
|
-
MINI_QUIZ = "miniQuiz",
|
|
4
|
-
ODD_ONE_OUT = "oddOneOut"
|
|
5
|
-
}
|
|
6
|
-
type GameDate = {
|
|
7
|
-
startDate: Date;
|
|
8
|
-
endDate: Date;
|
|
9
|
-
};
|
|
10
|
-
declare const gameTypeToDisplayName: Record<EnumGameType, string>;
|
|
11
|
-
type GlobalGameData = {
|
|
12
|
-
points: number;
|
|
13
|
-
streak: number;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
declare const gameScreenIdentifierList: readonly [{
|
|
17
|
-
readonly clue: "Where your actions turn into a timeline.";
|
|
18
|
-
readonly id: "activities";
|
|
19
|
-
readonly match: "/profile/activities";
|
|
20
|
-
}, {
|
|
21
|
-
readonly clue: "Where conversations happen without speaking.";
|
|
22
|
-
readonly id: "chat";
|
|
23
|
-
readonly match: "/profile/chat";
|
|
24
|
-
}, {
|
|
25
|
-
readonly clue: "The place to redefine who you are.";
|
|
26
|
-
readonly id: "edit-profile";
|
|
27
|
-
readonly match: "/profile/edit-profile";
|
|
28
|
-
}, {
|
|
29
|
-
readonly clue: "A single moment worth showing up for.";
|
|
30
|
-
readonly id: "single-event";
|
|
31
|
-
readonly match: RegExp;
|
|
32
|
-
}, {
|
|
33
|
-
readonly clue: "What’s happening around you, right now.";
|
|
34
|
-
readonly id: "events-near-me";
|
|
35
|
-
readonly match: "/events/events-near-me";
|
|
36
|
-
}, {
|
|
37
|
-
readonly clue: "Where events appear as pins on a map.";
|
|
38
|
-
readonly id: "events-map";
|
|
39
|
-
readonly match: "/events/events-map";
|
|
40
|
-
}, {
|
|
41
|
-
readonly clue: "A collection of events worth attending.";
|
|
42
|
-
readonly id: "events";
|
|
43
|
-
readonly match: "/events";
|
|
44
|
-
}, {
|
|
45
|
-
readonly clue: "What’s happening in a wider area — not just nearby.";
|
|
46
|
-
readonly id: "events-region";
|
|
47
|
-
readonly match: RegExp;
|
|
48
|
-
}, {
|
|
49
|
-
readonly clue: "Where fun becomes a challenge.";
|
|
50
|
-
readonly id: "games";
|
|
51
|
-
readonly match: "/games";
|
|
52
|
-
}, {
|
|
53
|
-
readonly clue: "Your starting point for everything.";
|
|
54
|
-
readonly id: "home";
|
|
55
|
-
readonly match: "/";
|
|
56
|
-
}, {
|
|
57
|
-
readonly clue: "Where the app whispers what you shouldn’t miss.";
|
|
58
|
-
readonly id: "notifications";
|
|
59
|
-
readonly match: "/notifications";
|
|
60
|
-
}, {
|
|
61
|
-
readonly clue: "Where you fine-tune your experience.";
|
|
62
|
-
readonly id: "options";
|
|
63
|
-
readonly match: "/options";
|
|
64
|
-
}, {
|
|
65
|
-
readonly clue: "An organisation or creator supporting the community.";
|
|
66
|
-
readonly id: "single-partner";
|
|
67
|
-
readonly match: RegExp;
|
|
68
|
-
}, {
|
|
69
|
-
readonly clue: "Organisations and creators supporting the community.";
|
|
70
|
-
readonly id: "partners";
|
|
71
|
-
readonly match: "/partners";
|
|
72
|
-
}, {
|
|
73
|
-
readonly clue: "A single published post in full view.";
|
|
74
|
-
readonly id: "single-visitor-post";
|
|
75
|
-
readonly match: RegExp;
|
|
76
|
-
}, {
|
|
77
|
-
readonly clue: "Your identity, on display.";
|
|
78
|
-
readonly id: "profile";
|
|
79
|
-
readonly match: "/profile";
|
|
80
|
-
}, {
|
|
81
|
-
readonly clue: "One stallholder offering something valuable.";
|
|
82
|
-
readonly id: "single-vendor";
|
|
83
|
-
readonly match: RegExp;
|
|
84
|
-
}, {
|
|
85
|
-
readonly clue: "Where every stallholder waits under the right category.";
|
|
86
|
-
readonly id: "vendors";
|
|
87
|
-
readonly match: "/vendors";
|
|
88
|
-
}, {
|
|
89
|
-
readonly clue: "Where you browse articles and posts from around the platform.";
|
|
90
|
-
readonly id: "visitors";
|
|
91
|
-
readonly match: "/visitors";
|
|
92
|
-
}];
|
|
93
|
-
type GamePlacement = (typeof gameScreenIdentifierList)[number]["id"];
|
|
94
|
-
type GamePlacementClue = (typeof gameScreenIdentifierList)[number]["clue"];
|
|
95
|
-
type DailyClueBaseGame = {
|
|
96
|
-
gameDate: GameDate;
|
|
97
|
-
gameSolution: string;
|
|
98
|
-
};
|
|
99
|
-
type DailyClueGameData = GlobalGameData & {
|
|
100
|
-
gameFields: DailyClueBaseGame;
|
|
101
|
-
lastFoundDate: Date | null;
|
|
102
|
-
letterInfo: {
|
|
103
|
-
collected: string[] | null;
|
|
104
|
-
solutionShuffled: string[];
|
|
105
|
-
todaysClue: GamePlacementClue | null;
|
|
106
|
-
todaysLetter: string | null;
|
|
107
|
-
todaysPlacement: GamePlacement | null;
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
export { type DailyClueBaseGame as D, EnumGameType as E, type GameDate as G, type DailyClueGameData as a, type GamePlacement as b, type GamePlacementClue as c, type GlobalGameData as d, gameTypeToDisplayName as e, gameScreenIdentifierList as g };
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
declare enum EnumGameType {
|
|
2
|
-
DAILY_CLUE = "dailyClue",
|
|
3
|
-
MINI_QUIZ = "miniQuiz",
|
|
4
|
-
ODD_ONE_OUT = "oddOneOut"
|
|
5
|
-
}
|
|
6
|
-
type GameDate = {
|
|
7
|
-
startDate: Date;
|
|
8
|
-
endDate: Date;
|
|
9
|
-
};
|
|
10
|
-
declare const gameTypeToDisplayName: Record<EnumGameType, string>;
|
|
11
|
-
type GlobalGameData = {
|
|
12
|
-
points: number;
|
|
13
|
-
streak: number;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
declare const gameScreenIdentifierList: readonly [{
|
|
17
|
-
readonly clue: "Where your actions turn into a timeline.";
|
|
18
|
-
readonly id: "activities";
|
|
19
|
-
readonly match: "/profile/activities";
|
|
20
|
-
}, {
|
|
21
|
-
readonly clue: "Where conversations happen without speaking.";
|
|
22
|
-
readonly id: "chat";
|
|
23
|
-
readonly match: "/profile/chat";
|
|
24
|
-
}, {
|
|
25
|
-
readonly clue: "The place to redefine who you are.";
|
|
26
|
-
readonly id: "edit-profile";
|
|
27
|
-
readonly match: "/profile/edit-profile";
|
|
28
|
-
}, {
|
|
29
|
-
readonly clue: "A single moment worth showing up for.";
|
|
30
|
-
readonly id: "single-event";
|
|
31
|
-
readonly match: RegExp;
|
|
32
|
-
}, {
|
|
33
|
-
readonly clue: "What’s happening around you, right now.";
|
|
34
|
-
readonly id: "events-near-me";
|
|
35
|
-
readonly match: "/events/events-near-me";
|
|
36
|
-
}, {
|
|
37
|
-
readonly clue: "Where events appear as pins on a map.";
|
|
38
|
-
readonly id: "events-map";
|
|
39
|
-
readonly match: "/events/events-map";
|
|
40
|
-
}, {
|
|
41
|
-
readonly clue: "A collection of events worth attending.";
|
|
42
|
-
readonly id: "events";
|
|
43
|
-
readonly match: "/events";
|
|
44
|
-
}, {
|
|
45
|
-
readonly clue: "What’s happening in a wider area — not just nearby.";
|
|
46
|
-
readonly id: "events-region";
|
|
47
|
-
readonly match: RegExp;
|
|
48
|
-
}, {
|
|
49
|
-
readonly clue: "Where fun becomes a challenge.";
|
|
50
|
-
readonly id: "games";
|
|
51
|
-
readonly match: "/games";
|
|
52
|
-
}, {
|
|
53
|
-
readonly clue: "Your starting point for everything.";
|
|
54
|
-
readonly id: "home";
|
|
55
|
-
readonly match: "/";
|
|
56
|
-
}, {
|
|
57
|
-
readonly clue: "Where the app whispers what you shouldn’t miss.";
|
|
58
|
-
readonly id: "notifications";
|
|
59
|
-
readonly match: "/notifications";
|
|
60
|
-
}, {
|
|
61
|
-
readonly clue: "Where you fine-tune your experience.";
|
|
62
|
-
readonly id: "options";
|
|
63
|
-
readonly match: "/options";
|
|
64
|
-
}, {
|
|
65
|
-
readonly clue: "An organisation or creator supporting the community.";
|
|
66
|
-
readonly id: "single-partner";
|
|
67
|
-
readonly match: RegExp;
|
|
68
|
-
}, {
|
|
69
|
-
readonly clue: "Organisations and creators supporting the community.";
|
|
70
|
-
readonly id: "partners";
|
|
71
|
-
readonly match: "/partners";
|
|
72
|
-
}, {
|
|
73
|
-
readonly clue: "A single published post in full view.";
|
|
74
|
-
readonly id: "single-visitor-post";
|
|
75
|
-
readonly match: RegExp;
|
|
76
|
-
}, {
|
|
77
|
-
readonly clue: "Your identity, on display.";
|
|
78
|
-
readonly id: "profile";
|
|
79
|
-
readonly match: "/profile";
|
|
80
|
-
}, {
|
|
81
|
-
readonly clue: "One stallholder offering something valuable.";
|
|
82
|
-
readonly id: "single-vendor";
|
|
83
|
-
readonly match: RegExp;
|
|
84
|
-
}, {
|
|
85
|
-
readonly clue: "Where every stallholder waits under the right category.";
|
|
86
|
-
readonly id: "vendors";
|
|
87
|
-
readonly match: "/vendors";
|
|
88
|
-
}, {
|
|
89
|
-
readonly clue: "Where you browse articles and posts from around the platform.";
|
|
90
|
-
readonly id: "visitors";
|
|
91
|
-
readonly match: "/visitors";
|
|
92
|
-
}];
|
|
93
|
-
type GamePlacement = (typeof gameScreenIdentifierList)[number]["id"];
|
|
94
|
-
type GamePlacementClue = (typeof gameScreenIdentifierList)[number]["clue"];
|
|
95
|
-
type DailyClueBaseGame = {
|
|
96
|
-
gameDate: GameDate;
|
|
97
|
-
gameSolution: string;
|
|
98
|
-
};
|
|
99
|
-
type DailyClueGameData = GlobalGameData & {
|
|
100
|
-
gameFields: DailyClueBaseGame;
|
|
101
|
-
lastFoundDate: Date | null;
|
|
102
|
-
letterInfo: {
|
|
103
|
-
collected: string[] | null;
|
|
104
|
-
solutionShuffled: string[];
|
|
105
|
-
todaysClue: GamePlacementClue | null;
|
|
106
|
-
todaysLetter: string | null;
|
|
107
|
-
todaysPlacement: GamePlacement | null;
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
export { type DailyClueBaseGame as D, EnumGameType as E, type GameDate as G, type DailyClueGameData as a, type GamePlacement as b, type GamePlacementClue as c, type GlobalGameData as d, gameTypeToDisplayName as e, gameScreenIdentifierList as g };
|
|
File without changes
|