@timardex/cluemart-shared 1.5.510 → 1.5.511
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-RQDZX76B.mjs → chunk-2GSMGPKT.mjs} +19 -8
- package/dist/{chunk-RQDZX76B.mjs.map → chunk-2GSMGPKT.mjs.map} +1 -1
- package/dist/{chunk-RY7AILFK.mjs → chunk-FTEZFZZW.mjs} +2 -2
- package/dist/{chunk-WYYQSPAX.mjs → chunk-LJJCZVW4.mjs} +1 -1
- package/dist/{chunk-WYYQSPAX.mjs.map → chunk-LJJCZVW4.mjs.map} +1 -1
- package/dist/{chunk-3SFKWCTZ.mjs → chunk-OMXMDHJ3.mjs} +2 -2
- package/dist/formFields/index.mjs +3 -3
- package/dist/{game-DuJpk6t2.d.mts → game-65XFYqKi.d.mts} +16 -9
- package/dist/{game-MJqjbMLC.d.ts → game-PMt_jT_7.d.ts} +16 -9
- package/dist/graphql/index.cjs +18 -7
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +2 -2
- package/dist/graphql/index.d.ts +2 -2
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +18 -7
- 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 +4 -4
- package/dist/index.cjs +18 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +16 -9
- package/dist/index.d.ts +16 -9
- package/dist/index.mjs +18 -7
- package/dist/index.mjs.map +1 -1
- package/dist/{post-D3uHp75N.d.mts → post-BJHPePwy.d.mts} +1 -1
- package/dist/{post-CZ1sHnKx.d.ts → post-fnGzMU9c.d.ts} +1 -1
- 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.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-RY7AILFK.mjs.map → chunk-FTEZFZZW.mjs.map} +0 -0
- /package/dist/{chunk-3SFKWCTZ.mjs.map → chunk-OMXMDHJ3.mjs.map} +0 -0
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-534WN2SR.mjs";
|
|
6
6
|
import {
|
|
7
7
|
gameScreenIdentifierList
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LJJCZVW4.mjs";
|
|
9
9
|
|
|
10
10
|
// src/utils/date.ts
|
|
11
11
|
import dayjs from "dayjs";
|
|
@@ -269,4 +269,4 @@ export {
|
|
|
269
269
|
IOS_URL,
|
|
270
270
|
ANDROID_URL
|
|
271
271
|
};
|
|
272
|
-
//# sourceMappingURL=chunk-
|
|
272
|
+
//# sourceMappingURL=chunk-FTEZFZZW.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/types/game.ts"],"sourcesContent":["import { OwnerType } from \"./global\";\n\nexport const gameScreenIdentifierList = [\n {\n clue: \"Where your actions turn into a timeline.\",\n id: \"activities\",\n match: \"/profile/activities\",\n },\n {\n clue: \"Where conversations happen without speaking.\",\n id: \"chat\",\n match: \"/profile/chat\",\n },\n {\n clue: \"The place to redefine who you are.\",\n id: \"edit-profile\",\n match: \"/profile/edit-profile\",\n },\n {\n clue: \"A single moment worth showing up for.\",\n id: \"single-event\",\n match: /^\\/events\\/[a-f0-9]{24}$/,\n },\n {\n clue: \"What’s happening around you, right now.\",\n id: \"events-near-me\",\n match: \"/events/events-near-me\",\n },\n {\n clue: \"A collection of things worth attending.\",\n id: \"events\",\n match: \"/events\",\n },\n {\n clue: \"What’s happening in a wider area—not just nearby.\",\n id: \"events-region\",\n match: /^\\/events\\/region\\/[^/]+$/,\n },\n {\n clue: \"Where you go to find something specific.\",\n id: \"events-search\",\n match: \"/events/search\",\n },\n {\n clue: \"Where fun becomes a challenge.\",\n id: \"games\",\n match: \"/games\",\n },\n {\n clue: \"Your starting point for everything.\",\n id: \"home\",\n match: \"/\",\n },\n {\n clue: \"Where the app taps you on the shoulder.\",\n id: \"notifications\",\n match: \"/notifications\",\n },\n {\n clue: \"Where you fine-tune your experience.\",\n id: \"options\",\n match: \"/options\",\n },\n {\n clue: \"A single collaborator in the ecosystem.\",\n id: \"single-partner\",\n match: /^\\/partners\\/[a-f0-9]{24}$/,\n },\n {\n clue: \"The network behind the scenes.\",\n id: \"partners\",\n match: \"/partners\",\n },\n {\n clue: \"Where you share something with everyone.\",\n id: \"single-visitor-post\",\n match: /^\\/visitors\\/posts\\/[a-f0-9]{24}$/,\n },\n {\n clue: \"Your identity, on display.\",\n id: \"profile\",\n match: \"/profile\",\n },\n {\n clue: \"One provider offering something valuable.\",\n id: \"single-vendor\",\n match: /^\\/vendors\\/[a-f0-9]{24}$/,\n },\n {\n clue: \"A marketplace of providers.\",\n id: \"vendors\",\n match: \"/vendors\",\n },\n {\n clue: \"People who stopped by to see you.\",\n id: \"visitors\",\n match: \"/visitors\",\n },\n] as const;\n\nexport type GamePlacement = (typeof gameScreenIdentifierList)[number][\"id\"];\nexport type GamePlacementClue =\n (typeof gameScreenIdentifierList)[number][\"clue\"];\n\nexport enum EnumGameType {\n DAILY_CLUE = \"dailyClue\",\n}\n\nexport const gameTypeToDisplayName: Record<EnumGameType, string> = {\n [EnumGameType.DAILY_CLUE]: \"Daily Clue\",\n};\n\nexport type GameDate = {\n startDate: Date;\n endDate: Date;\n};\n\nexport type BaseGame = {\n gameDate: GameDate;\n gameSolution: string;\n gameType: EnumGameType;\n};\n\nexport type DailyClueGameData = {\n gameFields: BaseGame;\n lastFoundDate: Date | null;\n points: number;\n letterInfo: {\n collected: string[] | null; // The letters the user has found, e.g. [\"C\", \"L\", \"U\"]\n shuffled: string[]; // The letters of the solution, but shuffled, e.g. [\"L\", \"C\", \"U\"]\n todaysLetter: string | null; // The letter the user has to find today, e.g. \"C\"\n todaysClue: GamePlacementClue | null; // The clue for user to find the letter, e.g. related to {todaysPlacement}\n todaysPlacement: GamePlacement | null; // The screen where the user has to find the clue, e.g. \"HomeScreen\"\n };\n // User has found the clue 3 days in a row, this is incrementing if the user finds the clue and decrements if user misses a day\n streak: number;\n};\n\
|
|
1
|
+
{"version":3,"sources":["../src/types/game.ts"],"sourcesContent":["import { OwnerType } from \"./global\";\n\nexport const gameScreenIdentifierList = [\n {\n clue: \"Where your actions turn into a timeline.\",\n id: \"activities\",\n match: \"/profile/activities\",\n },\n {\n clue: \"Where conversations happen without speaking.\",\n id: \"chat\",\n match: \"/profile/chat\",\n },\n {\n clue: \"The place to redefine who you are.\",\n id: \"edit-profile\",\n match: \"/profile/edit-profile\",\n },\n {\n clue: \"A single moment worth showing up for.\",\n id: \"single-event\",\n match: /^\\/events\\/[a-f0-9]{24}$/,\n },\n {\n clue: \"What’s happening around you, right now.\",\n id: \"events-near-me\",\n match: \"/events/events-near-me\",\n },\n {\n clue: \"A collection of things worth attending.\",\n id: \"events\",\n match: \"/events\",\n },\n {\n clue: \"What’s happening in a wider area—not just nearby.\",\n id: \"events-region\",\n match: /^\\/events\\/region\\/[^/]+$/,\n },\n {\n clue: \"Where you go to find something specific.\",\n id: \"events-search\",\n match: \"/events/search\",\n },\n {\n clue: \"Where fun becomes a challenge.\",\n id: \"games\",\n match: \"/games\",\n },\n {\n clue: \"Your starting point for everything.\",\n id: \"home\",\n match: \"/\",\n },\n {\n clue: \"Where the app taps you on the shoulder.\",\n id: \"notifications\",\n match: \"/notifications\",\n },\n {\n clue: \"Where you fine-tune your experience.\",\n id: \"options\",\n match: \"/options\",\n },\n {\n clue: \"A single collaborator in the ecosystem.\",\n id: \"single-partner\",\n match: /^\\/partners\\/[a-f0-9]{24}$/,\n },\n {\n clue: \"The network behind the scenes.\",\n id: \"partners\",\n match: \"/partners\",\n },\n {\n clue: \"Where you share something with everyone.\",\n id: \"single-visitor-post\",\n match: /^\\/visitors\\/posts\\/[a-f0-9]{24}$/,\n },\n {\n clue: \"Your identity, on display.\",\n id: \"profile\",\n match: \"/profile\",\n },\n {\n clue: \"One provider offering something valuable.\",\n id: \"single-vendor\",\n match: /^\\/vendors\\/[a-f0-9]{24}$/,\n },\n {\n clue: \"A marketplace of providers.\",\n id: \"vendors\",\n match: \"/vendors\",\n },\n {\n clue: \"People who stopped by to see you.\",\n id: \"visitors\",\n match: \"/visitors\",\n },\n] as const;\n\nexport type GamePlacement = (typeof gameScreenIdentifierList)[number][\"id\"];\nexport type GamePlacementClue =\n (typeof gameScreenIdentifierList)[number][\"clue\"];\n\nexport enum EnumGameType {\n DAILY_CLUE = \"dailyClue\",\n}\n\nexport const gameTypeToDisplayName: Record<EnumGameType, string> = {\n [EnumGameType.DAILY_CLUE]: \"Daily Clue\",\n};\n\nexport type GameDate = {\n startDate: Date;\n endDate: Date;\n};\n\nexport type BaseGame = {\n gameDate: GameDate;\n gameSolution: string;\n gameType: EnumGameType;\n};\n\nexport type DailyClueGameData = {\n gameFields: BaseGame;\n lastFoundDate: Date | null;\n points: number;\n letterInfo: {\n collected: string[] | null; // The letters the user has found, e.g. [\"C\", \"L\", \"U\"]\n shuffled: string[]; // The letters of the solution, but shuffled, e.g. [\"L\", \"C\", \"U\"]\n todaysLetter: string | null; // The letter the user has to find today, e.g. \"C\"\n todaysClue: GamePlacementClue | null; // The clue for user to find the letter, e.g. related to {todaysPlacement}\n todaysPlacement: GamePlacement | null; // The screen where the user has to find the clue, e.g. \"HomeScreen\"\n };\n // User has found the clue 3 days in a row, this is incrementing if the user finds the clue and decrements if user misses a day\n streak: number;\n};\n\nexport enum EnumGameStatus {\n GAME_COMPLETED = \"GAME_COMPLETED\",\n GAME_IN_PROGRESS = \"GAME_IN_PROGRESS\",\n GAME_LEFT = \"GAME_LEFT\",\n GAME_STARTED = \"GAME_STARTED\",\n}\n\nexport type GameHistory = {\n gameDate: GameDate;\n gameStatus: EnumGameStatus;\n gameType: EnumGameType;\n pointsEarned: number;\n};\n\ntype GameDataMap = {\n [EnumGameType.DAILY_CLUE]: DailyClueGameData;\n};\ntype GameDataMapType = {\n [K in keyof GameDataMap]?: GameDataMap[K] | null;\n};\n\nexport type GameDataType = {\n active: boolean;\n createdAt: Date;\n gameData: GameDataMapType;\n gameHistory: GameHistory[] | null;\n gameType: EnumGameType;\n updatedAt: Date | null;\n};\n\nexport type GameType = {\n _id: string;\n active: boolean;\n createdAt: Date;\n deletedAt: Date | null;\n game: GameDataType[] | null;\n owner: OwnerType;\n points: number;\n updatedAt: Date | null;\n};\n\nexport type GameLeaderboard = {\n gameHistory: GameHistory[] | null;\n overallPoints: number;\n owner: OwnerType;\n};\n"],"mappings":";AAEO,IAAM,2BAA2B;AAAA,EACtC;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,OAAO;AAAA,EACT;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,OAAO;AAAA,EACT;AACF;AAMO,IAAK,eAAL,kBAAKA,kBAAL;AACL,EAAAA,cAAA,gBAAa;AADH,SAAAA;AAAA,GAAA;AAIL,IAAM,wBAAsD;AAAA,EACjE,CAAC,4BAAuB,GAAG;AAC7B;AA4BO,IAAK,iBAAL,kBAAKC,oBAAL;AACL,EAAAA,gBAAA,oBAAiB;AACjB,EAAAA,gBAAA,sBAAmB;AACnB,EAAAA,gBAAA,eAAY;AACZ,EAAAA,gBAAA,kBAAe;AAJL,SAAAA;AAAA,GAAA;","names":["EnumGameType","EnumGameStatus"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mapArrayToOptions
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FTEZFZZW.mjs";
|
|
4
4
|
import {
|
|
5
5
|
EnumFoodFlavor
|
|
6
6
|
} from "./chunk-534WN2SR.mjs";
|
|
@@ -1952,4 +1952,4 @@ export {
|
|
|
1952
1952
|
contactUsFields,
|
|
1953
1953
|
partnerBasicInfoFields
|
|
1954
1954
|
};
|
|
1955
|
-
//# sourceMappingURL=chunk-
|
|
1955
|
+
//# sourceMappingURL=chunk-OMXMDHJ3.mjs.map
|
|
@@ -43,10 +43,10 @@ import {
|
|
|
43
43
|
vendorStallSize,
|
|
44
44
|
vendorStartDateFields,
|
|
45
45
|
vendorTable
|
|
46
|
-
} from "../chunk-
|
|
47
|
-
import "../chunk-
|
|
46
|
+
} from "../chunk-OMXMDHJ3.mjs";
|
|
47
|
+
import "../chunk-FTEZFZZW.mjs";
|
|
48
48
|
import "../chunk-534WN2SR.mjs";
|
|
49
|
-
import "../chunk-
|
|
49
|
+
import "../chunk-LJJCZVW4.mjs";
|
|
50
50
|
export {
|
|
51
51
|
availableCategories,
|
|
52
52
|
availableTagTypes,
|
|
@@ -105,12 +105,6 @@ type DailyClueGameData = {
|
|
|
105
105
|
};
|
|
106
106
|
streak: number;
|
|
107
107
|
};
|
|
108
|
-
type GameDataMap = {
|
|
109
|
-
[EnumGameType.DAILY_CLUE]: DailyClueGameData;
|
|
110
|
-
};
|
|
111
|
-
type GameData = {
|
|
112
|
-
[K in keyof GameDataMap]?: GameDataMap[K] | null;
|
|
113
|
-
};
|
|
114
108
|
declare enum EnumGameStatus {
|
|
115
109
|
GAME_COMPLETED = "GAME_COMPLETED",
|
|
116
110
|
GAME_IN_PROGRESS = "GAME_IN_PROGRESS",
|
|
@@ -123,13 +117,26 @@ type GameHistory = {
|
|
|
123
117
|
gameType: EnumGameType;
|
|
124
118
|
pointsEarned: number;
|
|
125
119
|
};
|
|
120
|
+
type GameDataMap = {
|
|
121
|
+
[EnumGameType.DAILY_CLUE]: DailyClueGameData;
|
|
122
|
+
};
|
|
123
|
+
type GameDataMapType = {
|
|
124
|
+
[K in keyof GameDataMap]?: GameDataMap[K] | null;
|
|
125
|
+
};
|
|
126
|
+
type GameDataType = {
|
|
127
|
+
active: boolean;
|
|
128
|
+
createdAt: Date;
|
|
129
|
+
gameData: GameDataMapType;
|
|
130
|
+
gameHistory: GameHistory[] | null;
|
|
131
|
+
gameType: EnumGameType;
|
|
132
|
+
updatedAt: Date | null;
|
|
133
|
+
};
|
|
126
134
|
type GameType = {
|
|
127
135
|
_id: string;
|
|
128
136
|
active: boolean;
|
|
129
137
|
createdAt: Date;
|
|
130
138
|
deletedAt: Date | null;
|
|
131
|
-
|
|
132
|
-
gameHistory: GameHistory[] | null;
|
|
139
|
+
game: GameDataType[] | null;
|
|
133
140
|
owner: OwnerType;
|
|
134
141
|
points: number;
|
|
135
142
|
updatedAt: Date | null;
|
|
@@ -140,4 +147,4 @@ type GameLeaderboard = {
|
|
|
140
147
|
owner: OwnerType;
|
|
141
148
|
};
|
|
142
149
|
|
|
143
|
-
export { type BaseGame as B, type DailyClueGameData as D, EnumGameStatus as E, type GameType as G, type GameLeaderboard as a, EnumGameType as b, type
|
|
150
|
+
export { type BaseGame as B, type DailyClueGameData as D, EnumGameStatus as E, type GameType as G, type GameLeaderboard as a, EnumGameType as b, type GameDataType as c, type GameDate as d, type GameHistory as e, type GamePlacement as f, type GamePlacementClue as g, gameScreenIdentifierList as h, gameTypeToDisplayName as i };
|
|
@@ -105,12 +105,6 @@ type DailyClueGameData = {
|
|
|
105
105
|
};
|
|
106
106
|
streak: number;
|
|
107
107
|
};
|
|
108
|
-
type GameDataMap = {
|
|
109
|
-
[EnumGameType.DAILY_CLUE]: DailyClueGameData;
|
|
110
|
-
};
|
|
111
|
-
type GameData = {
|
|
112
|
-
[K in keyof GameDataMap]?: GameDataMap[K] | null;
|
|
113
|
-
};
|
|
114
108
|
declare enum EnumGameStatus {
|
|
115
109
|
GAME_COMPLETED = "GAME_COMPLETED",
|
|
116
110
|
GAME_IN_PROGRESS = "GAME_IN_PROGRESS",
|
|
@@ -123,13 +117,26 @@ type GameHistory = {
|
|
|
123
117
|
gameType: EnumGameType;
|
|
124
118
|
pointsEarned: number;
|
|
125
119
|
};
|
|
120
|
+
type GameDataMap = {
|
|
121
|
+
[EnumGameType.DAILY_CLUE]: DailyClueGameData;
|
|
122
|
+
};
|
|
123
|
+
type GameDataMapType = {
|
|
124
|
+
[K in keyof GameDataMap]?: GameDataMap[K] | null;
|
|
125
|
+
};
|
|
126
|
+
type GameDataType = {
|
|
127
|
+
active: boolean;
|
|
128
|
+
createdAt: Date;
|
|
129
|
+
gameData: GameDataMapType;
|
|
130
|
+
gameHistory: GameHistory[] | null;
|
|
131
|
+
gameType: EnumGameType;
|
|
132
|
+
updatedAt: Date | null;
|
|
133
|
+
};
|
|
126
134
|
type GameType = {
|
|
127
135
|
_id: string;
|
|
128
136
|
active: boolean;
|
|
129
137
|
createdAt: Date;
|
|
130
138
|
deletedAt: Date | null;
|
|
131
|
-
|
|
132
|
-
gameHistory: GameHistory[] | null;
|
|
139
|
+
game: GameDataType[] | null;
|
|
133
140
|
owner: OwnerType;
|
|
134
141
|
points: number;
|
|
135
142
|
updatedAt: Date | null;
|
|
@@ -140,4 +147,4 @@ type GameLeaderboard = {
|
|
|
140
147
|
owner: OwnerType;
|
|
141
148
|
};
|
|
142
149
|
|
|
143
|
-
export { type BaseGame as B, type DailyClueGameData as D, EnumGameStatus as E, type GameType as G, type GameLeaderboard as a, EnumGameType as b, type
|
|
150
|
+
export { type BaseGame as B, type DailyClueGameData as D, EnumGameStatus as E, type GameType as G, type GameLeaderboard as a, EnumGameType as b, type GameDataType as c, type GameDate as d, type GameHistory as e, type GamePlacement as f, type GamePlacementClue as g, gameScreenIdentifierList as h, gameTypeToDisplayName as i };
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -3391,12 +3391,10 @@ var GAME_HISTORY_FIELDS_FRAGMENT = import_client55.gql`
|
|
|
3391
3391
|
}
|
|
3392
3392
|
${GAME_DATE_FIELDS_FRAGMENT}
|
|
3393
3393
|
`;
|
|
3394
|
-
var
|
|
3395
|
-
fragment
|
|
3396
|
-
_id
|
|
3394
|
+
var GAME_DATA_FIELDS_FRAGMENT = import_client55.gql`
|
|
3395
|
+
fragment GameDataFields on GameDataType {
|
|
3397
3396
|
active
|
|
3398
3397
|
createdAt
|
|
3399
|
-
deletedAt
|
|
3400
3398
|
gameData {
|
|
3401
3399
|
dailyClue {
|
|
3402
3400
|
...DailyClueGameDataFields
|
|
@@ -3405,16 +3403,29 @@ var GAME_FIELDS_FRAGMENT = import_client55.gql`
|
|
|
3405
3403
|
gameHistory {
|
|
3406
3404
|
...GameHistoryFields
|
|
3407
3405
|
}
|
|
3406
|
+
gameType
|
|
3408
3407
|
updatedAt
|
|
3408
|
+
}
|
|
3409
|
+
${DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT}
|
|
3410
|
+
${GAME_HISTORY_FIELDS_FRAGMENT}
|
|
3411
|
+
`;
|
|
3412
|
+
var GAME_FIELDS_FRAGMENT = import_client55.gql`
|
|
3413
|
+
fragment GameFields on GameType {
|
|
3414
|
+
_id
|
|
3415
|
+
active
|
|
3416
|
+
createdAt
|
|
3417
|
+
deletedAt
|
|
3418
|
+
game {
|
|
3419
|
+
...GameDataFields
|
|
3420
|
+
}
|
|
3409
3421
|
owner {
|
|
3410
3422
|
...OwnerFields
|
|
3411
3423
|
}
|
|
3412
3424
|
points
|
|
3425
|
+
updatedAt
|
|
3413
3426
|
}
|
|
3414
|
-
${DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT}
|
|
3415
3427
|
${OWNER_FIELDS_FRAGMENT}
|
|
3416
|
-
${
|
|
3417
|
-
${GAME_HISTORY_FIELDS_FRAGMENT}
|
|
3428
|
+
${GAME_DATA_FIELDS_FRAGMENT}
|
|
3418
3429
|
`;
|
|
3419
3430
|
var GET_GAMES = import_client55.gql`
|
|
3420
3431
|
query getGames {
|