@timardex/cluemart-shared 1.5.709 → 1.5.710
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-26EBHXET.mjs → chunk-LOHIVWWT.mjs} +4 -1
- package/dist/{chunk-26EBHXET.mjs.map → chunk-LOHIVWWT.mjs.map} +1 -1
- package/dist/{chunk-N4JRX2AV.mjs → chunk-SB2DTD7X.mjs} +1 -1
- package/dist/{chunk-N4JRX2AV.mjs.map → chunk-SB2DTD7X.mjs.map} +1 -1
- package/dist/graphql/index.cjs +3 -0
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +1 -1
- package/dist/graphql/index.d.ts +1 -1
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +3 -0
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +3 -6
- package/dist/index.d.ts +3 -6
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/dist/{post-DnhHGiOF.d.mts → post-CmTZhjui.d.mts} +4 -7
- package/dist/{post-DUigpoId.d.ts → post-DWr3iUjN.d.ts} +4 -7
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1201,6 +1201,7 @@ type BaseGameMap = {
|
|
|
1201
1201
|
type BaseGameType = {
|
|
1202
1202
|
gameType: EnumGameType;
|
|
1203
1203
|
gameTypeId: string;
|
|
1204
|
+
gameTitle: string;
|
|
1204
1205
|
} & {
|
|
1205
1206
|
[K in keyof BaseGameMap]?: BaseGameMap[K] | null;
|
|
1206
1207
|
};
|
|
@@ -1210,12 +1211,10 @@ declare enum EnumGameStatus {
|
|
|
1210
1211
|
GAME_LEFT = "GAME_LEFT",
|
|
1211
1212
|
GAME_STARTED = "GAME_STARTED"
|
|
1212
1213
|
}
|
|
1213
|
-
type GameHistory = {
|
|
1214
|
+
type GameHistory = Pick<BaseGameType, "gameTitle" | "gameType" | "gameTypeId"> & {
|
|
1214
1215
|
createdAt: Date;
|
|
1215
1216
|
gameDate: GameDate;
|
|
1216
1217
|
gameStatus: EnumGameStatus;
|
|
1217
|
-
gameType: EnumGameType;
|
|
1218
|
-
gameTypeId: string;
|
|
1219
1218
|
pointsEarned: number;
|
|
1220
1219
|
};
|
|
1221
1220
|
type GameDataMap = {
|
|
@@ -1225,14 +1224,12 @@ type GameDataMap = {
|
|
|
1225
1224
|
type GameDataType = {
|
|
1226
1225
|
[K in keyof GameDataMap]?: GameDataMap[K] | null;
|
|
1227
1226
|
};
|
|
1228
|
-
type GameType = {
|
|
1227
|
+
type GameType = Pick<BaseGameType, "gameTitle" | "gameType" | "gameTypeId"> & {
|
|
1229
1228
|
_id: string;
|
|
1230
1229
|
active: boolean;
|
|
1231
1230
|
createdAt: Date;
|
|
1232
1231
|
gameData: GameDataType;
|
|
1233
1232
|
gameHistory: GameHistory[] | null;
|
|
1234
|
-
gameType: EnumGameType;
|
|
1235
|
-
gameTypeId: string;
|
|
1236
1233
|
updatedAt: Date | null;
|
|
1237
1234
|
};
|
|
1238
1235
|
type GameDocType = {
|
package/dist/index.d.ts
CHANGED
|
@@ -1201,6 +1201,7 @@ type BaseGameMap = {
|
|
|
1201
1201
|
type BaseGameType = {
|
|
1202
1202
|
gameType: EnumGameType;
|
|
1203
1203
|
gameTypeId: string;
|
|
1204
|
+
gameTitle: string;
|
|
1204
1205
|
} & {
|
|
1205
1206
|
[K in keyof BaseGameMap]?: BaseGameMap[K] | null;
|
|
1206
1207
|
};
|
|
@@ -1210,12 +1211,10 @@ declare enum EnumGameStatus {
|
|
|
1210
1211
|
GAME_LEFT = "GAME_LEFT",
|
|
1211
1212
|
GAME_STARTED = "GAME_STARTED"
|
|
1212
1213
|
}
|
|
1213
|
-
type GameHistory = {
|
|
1214
|
+
type GameHistory = Pick<BaseGameType, "gameTitle" | "gameType" | "gameTypeId"> & {
|
|
1214
1215
|
createdAt: Date;
|
|
1215
1216
|
gameDate: GameDate;
|
|
1216
1217
|
gameStatus: EnumGameStatus;
|
|
1217
|
-
gameType: EnumGameType;
|
|
1218
|
-
gameTypeId: string;
|
|
1219
1218
|
pointsEarned: number;
|
|
1220
1219
|
};
|
|
1221
1220
|
type GameDataMap = {
|
|
@@ -1225,14 +1224,12 @@ type GameDataMap = {
|
|
|
1225
1224
|
type GameDataType = {
|
|
1226
1225
|
[K in keyof GameDataMap]?: GameDataMap[K] | null;
|
|
1227
1226
|
};
|
|
1228
|
-
type GameType = {
|
|
1227
|
+
type GameType = Pick<BaseGameType, "gameTitle" | "gameType" | "gameTypeId"> & {
|
|
1229
1228
|
_id: string;
|
|
1230
1229
|
active: boolean;
|
|
1231
1230
|
createdAt: Date;
|
|
1232
1231
|
gameData: GameDataType;
|
|
1233
1232
|
gameHistory: GameHistory[] | null;
|
|
1234
|
-
gameType: EnumGameType;
|
|
1235
|
-
gameTypeId: string;
|
|
1236
1233
|
updatedAt: Date | null;
|
|
1237
1234
|
};
|
|
1238
1235
|
type GameDocType = {
|
package/dist/index.mjs
CHANGED
|
@@ -5831,6 +5831,7 @@ var GAME_HISTORY_FIELDS_FRAGMENT = gql29`
|
|
|
5831
5831
|
...GameDateFields
|
|
5832
5832
|
}
|
|
5833
5833
|
gameStatus
|
|
5834
|
+
gameTitle
|
|
5834
5835
|
gameType
|
|
5835
5836
|
gameTypeId
|
|
5836
5837
|
pointsEarned
|
|
@@ -5862,6 +5863,7 @@ var GAME_FIELDS_FRAGMENT = gql29`
|
|
|
5862
5863
|
}
|
|
5863
5864
|
gameType
|
|
5864
5865
|
gameTypeId
|
|
5866
|
+
gameTitle
|
|
5865
5867
|
updatedAt
|
|
5866
5868
|
}
|
|
5867
5869
|
${GAME_DATA_FIELDS_FRAGMENT}
|
|
@@ -5921,6 +5923,7 @@ var GET_GAME_LEADERBOARD = gql29`
|
|
|
5921
5923
|
var BASE_GAME_FIELDS_FRAGMENT = gql30`
|
|
5922
5924
|
fragment BaseGameFields on BaseGameType {
|
|
5923
5925
|
gameTypeId
|
|
5926
|
+
gameTitle
|
|
5924
5927
|
gameType
|
|
5925
5928
|
dailyClue {
|
|
5926
5929
|
...DailyClueBaseGameFields
|