@timardex/cluemart-shared 1.5.511 → 1.5.512
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-LJJCZVW4.mjs → chunk-TZBKOYFM.mjs} +1 -1
- package/dist/{chunk-LJJCZVW4.mjs.map → chunk-TZBKOYFM.mjs.map} +1 -1
- package/dist/{chunk-FTEZFZZW.mjs → chunk-U3RFZUPB.mjs} +2 -2
- package/dist/{chunk-2GSMGPKT.mjs → chunk-YHE6M5DD.mjs} +24 -18
- package/dist/{chunk-2GSMGPKT.mjs.map → chunk-YHE6M5DD.mjs.map} +1 -1
- package/dist/{chunk-OMXMDHJ3.mjs → chunk-Z6YIR3MO.mjs} +2 -2
- package/dist/formFields/index.mjs +3 -3
- package/dist/{game-PMt_jT_7.d.ts → game-BkJDVMMI.d.ts} +6 -6
- package/dist/{game-65XFYqKi.d.mts → game-BunlgBR3.d.mts} +6 -6
- package/dist/graphql/index.cjs +23 -17
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +10 -10
- package/dist/graphql/index.d.ts +10 -10
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +23 -17
- 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 +23 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +14 -14
- package/dist/index.d.ts +14 -14
- package/dist/index.mjs +23 -17
- package/dist/index.mjs.map +1 -1
- package/dist/{post-fnGzMU9c.d.ts → post-CdBp2FwH.d.ts} +1 -1
- package/dist/{post-BJHPePwy.d.mts → post-DHlHtpG9.d.mts} +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-FTEZFZZW.mjs.map → chunk-U3RFZUPB.mjs.map} +0 -0
- /package/dist/{chunk-OMXMDHJ3.mjs.map → chunk-Z6YIR3MO.mjs.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mapArrayToOptions
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-U3RFZUPB.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-Z6YIR3MO.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-Z6YIR3MO.mjs";
|
|
47
|
+
import "../chunk-U3RFZUPB.mjs";
|
|
48
48
|
import "../chunk-534WN2SR.mjs";
|
|
49
|
-
import "../chunk-
|
|
49
|
+
import "../chunk-TZBKOYFM.mjs";
|
|
50
50
|
export {
|
|
51
51
|
availableCategories,
|
|
52
52
|
availableTagTypes,
|
|
@@ -120,23 +120,23 @@ type GameHistory = {
|
|
|
120
120
|
type GameDataMap = {
|
|
121
121
|
[EnumGameType.DAILY_CLUE]: DailyClueGameData;
|
|
122
122
|
};
|
|
123
|
-
type
|
|
123
|
+
type GameDataType = {
|
|
124
124
|
[K in keyof GameDataMap]?: GameDataMap[K] | null;
|
|
125
125
|
};
|
|
126
|
-
type
|
|
126
|
+
type GameType = {
|
|
127
127
|
active: boolean;
|
|
128
128
|
createdAt: Date;
|
|
129
|
-
gameData:
|
|
129
|
+
gameData: GameDataType;
|
|
130
130
|
gameHistory: GameHistory[] | null;
|
|
131
131
|
gameType: EnumGameType;
|
|
132
132
|
updatedAt: Date | null;
|
|
133
133
|
};
|
|
134
|
-
type
|
|
134
|
+
type GameDocType = {
|
|
135
135
|
_id: string;
|
|
136
136
|
active: boolean;
|
|
137
137
|
createdAt: Date;
|
|
138
138
|
deletedAt: Date | null;
|
|
139
|
-
|
|
139
|
+
games: GameType[] | null;
|
|
140
140
|
owner: OwnerType;
|
|
141
141
|
points: number;
|
|
142
142
|
updatedAt: Date | null;
|
|
@@ -147,4 +147,4 @@ type GameLeaderboard = {
|
|
|
147
147
|
owner: OwnerType;
|
|
148
148
|
};
|
|
149
149
|
|
|
150
|
-
export { type BaseGame as B, type DailyClueGameData as D, EnumGameStatus as E, type
|
|
150
|
+
export { type BaseGame as B, type DailyClueGameData as D, EnumGameStatus as E, type GameDocType as G, type GameLeaderboard as a, EnumGameType as b, type GameDate as c, type GameHistory as d, type GamePlacement as e, type GamePlacementClue as f, type GameType as g, gameScreenIdentifierList as h, gameTypeToDisplayName as i };
|
|
@@ -120,23 +120,23 @@ type GameHistory = {
|
|
|
120
120
|
type GameDataMap = {
|
|
121
121
|
[EnumGameType.DAILY_CLUE]: DailyClueGameData;
|
|
122
122
|
};
|
|
123
|
-
type
|
|
123
|
+
type GameDataType = {
|
|
124
124
|
[K in keyof GameDataMap]?: GameDataMap[K] | null;
|
|
125
125
|
};
|
|
126
|
-
type
|
|
126
|
+
type GameType = {
|
|
127
127
|
active: boolean;
|
|
128
128
|
createdAt: Date;
|
|
129
|
-
gameData:
|
|
129
|
+
gameData: GameDataType;
|
|
130
130
|
gameHistory: GameHistory[] | null;
|
|
131
131
|
gameType: EnumGameType;
|
|
132
132
|
updatedAt: Date | null;
|
|
133
133
|
};
|
|
134
|
-
type
|
|
134
|
+
type GameDocType = {
|
|
135
135
|
_id: string;
|
|
136
136
|
active: boolean;
|
|
137
137
|
createdAt: Date;
|
|
138
138
|
deletedAt: Date | null;
|
|
139
|
-
|
|
139
|
+
games: GameType[] | null;
|
|
140
140
|
owner: OwnerType;
|
|
141
141
|
points: number;
|
|
142
142
|
updatedAt: Date | null;
|
|
@@ -147,4 +147,4 @@ type GameLeaderboard = {
|
|
|
147
147
|
owner: OwnerType;
|
|
148
148
|
};
|
|
149
149
|
|
|
150
|
-
export { type BaseGame as B, type DailyClueGameData as D, EnumGameStatus as E, type
|
|
150
|
+
export { type BaseGame as B, type DailyClueGameData as D, EnumGameStatus as E, type GameDocType as G, type GameLeaderboard as a, EnumGameType as b, type GameDate as c, type GameHistory as d, type GamePlacement as e, type GamePlacementClue as f, type GameType as g, gameScreenIdentifierList as h, gameTypeToDisplayName as i };
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -3393,12 +3393,18 @@ var GAME_HISTORY_FIELDS_FRAGMENT = import_client55.gql`
|
|
|
3393
3393
|
`;
|
|
3394
3394
|
var GAME_DATA_FIELDS_FRAGMENT = import_client55.gql`
|
|
3395
3395
|
fragment GameDataFields on GameDataType {
|
|
3396
|
+
dailyClue {
|
|
3397
|
+
...DailyClueGameDataFields
|
|
3398
|
+
}
|
|
3399
|
+
}
|
|
3400
|
+
${DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT}
|
|
3401
|
+
`;
|
|
3402
|
+
var GAME_FIELDS_FRAGMENT = import_client55.gql`
|
|
3403
|
+
fragment GameFields on GameType {
|
|
3396
3404
|
active
|
|
3397
3405
|
createdAt
|
|
3398
3406
|
gameData {
|
|
3399
|
-
|
|
3400
|
-
...DailyClueGameDataFields
|
|
3401
|
-
}
|
|
3407
|
+
...GameDataFields
|
|
3402
3408
|
}
|
|
3403
3409
|
gameHistory {
|
|
3404
3410
|
...GameHistoryFields
|
|
@@ -3406,17 +3412,17 @@ var GAME_DATA_FIELDS_FRAGMENT = import_client55.gql`
|
|
|
3406
3412
|
gameType
|
|
3407
3413
|
updatedAt
|
|
3408
3414
|
}
|
|
3409
|
-
${
|
|
3415
|
+
${GAME_DATA_FIELDS_FRAGMENT}
|
|
3410
3416
|
${GAME_HISTORY_FIELDS_FRAGMENT}
|
|
3411
3417
|
`;
|
|
3412
|
-
var
|
|
3413
|
-
fragment
|
|
3418
|
+
var GAME_DOC_FIELDS_FRAGMENT = import_client55.gql`
|
|
3419
|
+
fragment GameDocFields on GameDocType {
|
|
3414
3420
|
_id
|
|
3415
3421
|
active
|
|
3416
3422
|
createdAt
|
|
3417
3423
|
deletedAt
|
|
3418
|
-
|
|
3419
|
-
...
|
|
3424
|
+
games {
|
|
3425
|
+
...GameFields
|
|
3420
3426
|
}
|
|
3421
3427
|
owner {
|
|
3422
3428
|
...OwnerFields
|
|
@@ -3425,23 +3431,23 @@ var GAME_FIELDS_FRAGMENT = import_client55.gql`
|
|
|
3425
3431
|
updatedAt
|
|
3426
3432
|
}
|
|
3427
3433
|
${OWNER_FIELDS_FRAGMENT}
|
|
3428
|
-
${
|
|
3434
|
+
${GAME_FIELDS_FRAGMENT}
|
|
3429
3435
|
`;
|
|
3430
3436
|
var GET_GAMES = import_client55.gql`
|
|
3431
3437
|
query getGames {
|
|
3432
3438
|
games {
|
|
3433
|
-
...
|
|
3439
|
+
...GameDocFields
|
|
3434
3440
|
}
|
|
3435
3441
|
}
|
|
3436
|
-
${
|
|
3442
|
+
${GAME_DOC_FIELDS_FRAGMENT}
|
|
3437
3443
|
`;
|
|
3438
3444
|
var GET_GAME = import_client55.gql`
|
|
3439
3445
|
query getGame($_id: ID!) {
|
|
3440
3446
|
game(_id: $_id) {
|
|
3441
|
-
...
|
|
3447
|
+
...GameDocFields
|
|
3442
3448
|
}
|
|
3443
3449
|
}
|
|
3444
|
-
${
|
|
3450
|
+
${GAME_DOC_FIELDS_FRAGMENT}
|
|
3445
3451
|
`;
|
|
3446
3452
|
var GET_GAME_LEADERBOARD = import_client55.gql`
|
|
3447
3453
|
query getGameLeaderboard {
|
|
@@ -3701,10 +3707,10 @@ var import_client64 = require("@apollo/client");
|
|
|
3701
3707
|
var START_GAME_MUTATION = import_client64.gql`
|
|
3702
3708
|
mutation startGame($input: BaseGameInputType!) {
|
|
3703
3709
|
startGame(input: $input) {
|
|
3704
|
-
...
|
|
3710
|
+
...GameDocFields
|
|
3705
3711
|
}
|
|
3706
3712
|
}
|
|
3707
|
-
${
|
|
3713
|
+
${GAME_DOC_FIELDS_FRAGMENT}
|
|
3708
3714
|
`;
|
|
3709
3715
|
var LEAVE_GAME_MUTATION = import_client64.gql`
|
|
3710
3716
|
mutation leaveGame($_id: ID!, $gameType: GameTypeEnumType!) {
|
|
@@ -3714,10 +3720,10 @@ var LEAVE_GAME_MUTATION = import_client64.gql`
|
|
|
3714
3720
|
var UPDATE_DAILY_CLUE_MUTATION = import_client64.gql`
|
|
3715
3721
|
mutation updateDailyClueGame($_id: ID!, $foundLetter: String!) {
|
|
3716
3722
|
updateDailyClueGame(_id: $_id, foundLetter: $foundLetter) {
|
|
3717
|
-
...
|
|
3723
|
+
...GameDocFields
|
|
3718
3724
|
}
|
|
3719
3725
|
}
|
|
3720
|
-
${
|
|
3726
|
+
${GAME_DOC_FIELDS_FRAGMENT}
|
|
3721
3727
|
`;
|
|
3722
3728
|
|
|
3723
3729
|
// src/graphql/hooks/game/hooksMutation.ts
|