@timardex/cluemart-shared 1.5.708 → 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-7HXABNH6.mjs → chunk-LOHIVWWT.mjs} +5 -1
- package/dist/{chunk-7HXABNH6.mjs.map → chunk-LOHIVWWT.mjs.map} +1 -1
- package/dist/{chunk-HITGTNK3.mjs → chunk-SB2DTD7X.mjs} +1 -1
- package/dist/{chunk-HITGTNK3.mjs.map → chunk-SB2DTD7X.mjs.map} +1 -1
- package/dist/graphql/index.cjs +4 -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 +4 -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 +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +3 -5
- package/dist/index.d.ts +3 -5
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +1 -1
- package/dist/{post-CswgI5jI.d.mts → post-CmTZhjui.d.mts} +4 -6
- package/dist/{post-NK1XwGmZ.d.ts → post-DWr3iUjN.d.ts} +4 -6
- 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,11 +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
1218
|
pointsEarned: number;
|
|
1219
1219
|
};
|
|
1220
1220
|
type GameDataMap = {
|
|
@@ -1224,14 +1224,12 @@ type GameDataMap = {
|
|
|
1224
1224
|
type GameDataType = {
|
|
1225
1225
|
[K in keyof GameDataMap]?: GameDataMap[K] | null;
|
|
1226
1226
|
};
|
|
1227
|
-
type GameType = {
|
|
1227
|
+
type GameType = Pick<BaseGameType, "gameTitle" | "gameType" | "gameTypeId"> & {
|
|
1228
1228
|
_id: string;
|
|
1229
1229
|
active: boolean;
|
|
1230
1230
|
createdAt: Date;
|
|
1231
1231
|
gameData: GameDataType;
|
|
1232
1232
|
gameHistory: GameHistory[] | null;
|
|
1233
|
-
gameType: EnumGameType;
|
|
1234
|
-
gameTypeId: string;
|
|
1235
1233
|
updatedAt: Date | null;
|
|
1236
1234
|
};
|
|
1237
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,11 +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
1218
|
pointsEarned: number;
|
|
1219
1219
|
};
|
|
1220
1220
|
type GameDataMap = {
|
|
@@ -1224,14 +1224,12 @@ type GameDataMap = {
|
|
|
1224
1224
|
type GameDataType = {
|
|
1225
1225
|
[K in keyof GameDataMap]?: GameDataMap[K] | null;
|
|
1226
1226
|
};
|
|
1227
|
-
type GameType = {
|
|
1227
|
+
type GameType = Pick<BaseGameType, "gameTitle" | "gameType" | "gameTypeId"> & {
|
|
1228
1228
|
_id: string;
|
|
1229
1229
|
active: boolean;
|
|
1230
1230
|
createdAt: Date;
|
|
1231
1231
|
gameData: GameDataType;
|
|
1232
1232
|
gameHistory: GameHistory[] | null;
|
|
1233
|
-
gameType: EnumGameType;
|
|
1234
|
-
gameTypeId: string;
|
|
1235
1233
|
updatedAt: Date | null;
|
|
1236
1234
|
};
|
|
1237
1235
|
type GameDocType = {
|
package/dist/index.mjs
CHANGED
|
@@ -5831,7 +5831,9 @@ var GAME_HISTORY_FIELDS_FRAGMENT = gql29`
|
|
|
5831
5831
|
...GameDateFields
|
|
5832
5832
|
}
|
|
5833
5833
|
gameStatus
|
|
5834
|
+
gameTitle
|
|
5834
5835
|
gameType
|
|
5836
|
+
gameTypeId
|
|
5835
5837
|
pointsEarned
|
|
5836
5838
|
}
|
|
5837
5839
|
${GAME_DATE_FIELDS_FRAGMENT}
|
|
@@ -5861,6 +5863,7 @@ var GAME_FIELDS_FRAGMENT = gql29`
|
|
|
5861
5863
|
}
|
|
5862
5864
|
gameType
|
|
5863
5865
|
gameTypeId
|
|
5866
|
+
gameTitle
|
|
5864
5867
|
updatedAt
|
|
5865
5868
|
}
|
|
5866
5869
|
${GAME_DATA_FIELDS_FRAGMENT}
|
|
@@ -5920,6 +5923,7 @@ var GET_GAME_LEADERBOARD = gql29`
|
|
|
5920
5923
|
var BASE_GAME_FIELDS_FRAGMENT = gql30`
|
|
5921
5924
|
fragment BaseGameFields on BaseGameType {
|
|
5922
5925
|
gameTypeId
|
|
5926
|
+
gameTitle
|
|
5923
5927
|
gameType
|
|
5924
5928
|
dailyClue {
|
|
5925
5929
|
...DailyClueBaseGameFields
|