@timardex/cluemart-shared 1.5.556 → 1.5.558
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-OUSN5KYV.mjs → chunk-EQZIARZY.mjs} +40 -7
- package/dist/{chunk-OUSN5KYV.mjs.map → chunk-EQZIARZY.mjs.map} +1 -1
- package/dist/graphql/index.cjs +40 -6
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +11 -2
- package/dist/graphql/index.d.ts +11 -2
- package/dist/graphql/index.mjs +3 -1
- package/dist/hooks/index.cjs +21 -6
- 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 +1 -1
- package/dist/index.cjs +40 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +21 -6
- package/dist/index.d.ts +21 -6
- package/dist/index.mjs +39 -6
- package/dist/index.mjs.map +1 -1
- package/dist/{post-CqvcCbu7.d.mts → post-B6WEACv2.d.mts} +13 -7
- package/dist/{post-i-tGGk7S.d.ts → post-gCzzuzeR.d.ts} +13 -7
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EnumOSPlatform, EnumUserRole, EnumSubscriptionStatus, EnumUserLicence, EnumResourceType, EnumPartnerType } from './enums/index.mjs';
|
|
2
2
|
import { A as AssociateType, W as ResourceImageType, h as UserLicenceType, J as PromoCodeType, _ as TermsAgreement, D as DateTimeType, s as CreateFormData, r as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, y as OwnerType, Q as ResourceContactDetailsType, X as SocialMediaType } from './global-ClbRuePq.mjs';
|
|
3
3
|
import { PosterAssetId } from './images/index.mjs';
|
|
4
|
-
import { d as GlobalGameData,
|
|
4
|
+
import { d as GlobalGameData, E as EnumGameType, a as DailyClueGameData, G as GameDate, D as DailyClueBaseGame } from './dailyClue-BnlktK68.mjs';
|
|
5
5
|
|
|
6
6
|
type UserFormData = {
|
|
7
7
|
_id?: string;
|
|
@@ -140,19 +140,25 @@ type AppSettingsType = AppSettingsFormData & {
|
|
|
140
140
|
updatedAt: Date | null;
|
|
141
141
|
};
|
|
142
142
|
|
|
143
|
+
type MiniQuizAnswer = {
|
|
144
|
+
_id: string;
|
|
145
|
+
answer: string;
|
|
146
|
+
correct: boolean;
|
|
147
|
+
};
|
|
143
148
|
type MiniQuizQuestion = {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
correct: boolean;
|
|
147
|
-
}[];
|
|
149
|
+
_id: string;
|
|
150
|
+
answers: MiniQuizAnswer[];
|
|
148
151
|
question: string;
|
|
149
152
|
};
|
|
150
153
|
type MiniQuizBaseGame = {
|
|
151
|
-
gameDate: GameDate;
|
|
152
154
|
questions: MiniQuizQuestion[];
|
|
153
155
|
};
|
|
154
156
|
type MiniQuizGameData = GlobalGameData & {
|
|
155
157
|
gameFields: MiniQuizBaseGame;
|
|
158
|
+
/**
|
|
159
|
+
* Stores user answers only.
|
|
160
|
+
* Never store correctness from client.
|
|
161
|
+
*/
|
|
156
162
|
quizInfo: MiniQuizQuestion[];
|
|
157
163
|
};
|
|
158
164
|
|
|
@@ -373,4 +379,4 @@ type PostType = Omit<PostFormData, "content" | "coverUpload"> & {
|
|
|
373
379
|
updatedAt: Date | null;
|
|
374
380
|
};
|
|
375
381
|
|
|
376
|
-
export { type
|
|
382
|
+
export { type SubscriptionPlanData as $, type AdType as A, type BaseGameMap as B, type CreateUserFormData as C, type GameType as D, EnumAdStatus as E, type MiniQuizAnswer as F, type GameDocType as G, type MiniQuizBaseGame as H, type MiniQuizGameData as I, type MiniQuizQuestion as J, type PostContentData as K, type PostContentFormData as L, type MarketingMaterialRequestInputType as M, type PostContentGame as N, type PostContentImage as O, type PartnerType as P, type PostContentList as Q, type ResourceByUser as R, type SubscriptionPlansResponse as S, type PostContentTextarea as T, type UserType as U, type PostContentType as V, type PostContentVideo as W, type PostFileInput as X, type PosterInputType as Y, type SchoolRegisteredUserType as Z, type StripeSubscription as _, type SubscriptionStatusData as a, type SubscriptionPricingData as a0, type UserActivity as a1, type UserActivityEvent as a2, type PostType as b, EnumPostType as c, type AppSettingsType as d, type GameLeaderboard as e, type SchoolReturnType as f, type SchoolType as g, type UserFormData as h, type PartnerFormData as i, type AdFormData as j, type CreateAdFormData as k, type CreatePartnerFormData as l, type PostFormData as m, type CreatePostFormData as n, type AppSettingsFormData as o, type CreateAppSettingsFormData as p, type SchoolFormData as q, type CreateSchoolFormData as r, type AdResource as s, type BaseGameType as t, EnumAdShowOn as u, EnumAdStyle as v, EnumAdType as w, EnumGameStatus as x, EnumPostContentType as y, type GameHistory as z };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EnumOSPlatform, EnumUserRole, EnumSubscriptionStatus, EnumUserLicence, EnumResourceType, EnumPartnerType } from './enums/index.js';
|
|
2
2
|
import { A as AssociateType, W as ResourceImageType, h as UserLicenceType, J as PromoCodeType, _ as TermsAgreement, D as DateTimeType, s as CreateFormData, r as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, y as OwnerType, Q as ResourceContactDetailsType, X as SocialMediaType } from './global-CDqmjLH1.js';
|
|
3
3
|
import { PosterAssetId } from './images/index.js';
|
|
4
|
-
import { d as GlobalGameData,
|
|
4
|
+
import { d as GlobalGameData, E as EnumGameType, a as DailyClueGameData, G as GameDate, D as DailyClueBaseGame } from './dailyClue-BnlktK68.js';
|
|
5
5
|
|
|
6
6
|
type UserFormData = {
|
|
7
7
|
_id?: string;
|
|
@@ -140,19 +140,25 @@ type AppSettingsType = AppSettingsFormData & {
|
|
|
140
140
|
updatedAt: Date | null;
|
|
141
141
|
};
|
|
142
142
|
|
|
143
|
+
type MiniQuizAnswer = {
|
|
144
|
+
_id: string;
|
|
145
|
+
answer: string;
|
|
146
|
+
correct: boolean;
|
|
147
|
+
};
|
|
143
148
|
type MiniQuizQuestion = {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
correct: boolean;
|
|
147
|
-
}[];
|
|
149
|
+
_id: string;
|
|
150
|
+
answers: MiniQuizAnswer[];
|
|
148
151
|
question: string;
|
|
149
152
|
};
|
|
150
153
|
type MiniQuizBaseGame = {
|
|
151
|
-
gameDate: GameDate;
|
|
152
154
|
questions: MiniQuizQuestion[];
|
|
153
155
|
};
|
|
154
156
|
type MiniQuizGameData = GlobalGameData & {
|
|
155
157
|
gameFields: MiniQuizBaseGame;
|
|
158
|
+
/**
|
|
159
|
+
* Stores user answers only.
|
|
160
|
+
* Never store correctness from client.
|
|
161
|
+
*/
|
|
156
162
|
quizInfo: MiniQuizQuestion[];
|
|
157
163
|
};
|
|
158
164
|
|
|
@@ -373,4 +379,4 @@ type PostType = Omit<PostFormData, "content" | "coverUpload"> & {
|
|
|
373
379
|
updatedAt: Date | null;
|
|
374
380
|
};
|
|
375
381
|
|
|
376
|
-
export { type
|
|
382
|
+
export { type SubscriptionPlanData as $, type AdType as A, type BaseGameMap as B, type CreateUserFormData as C, type GameType as D, EnumAdStatus as E, type MiniQuizAnswer as F, type GameDocType as G, type MiniQuizBaseGame as H, type MiniQuizGameData as I, type MiniQuizQuestion as J, type PostContentData as K, type PostContentFormData as L, type MarketingMaterialRequestInputType as M, type PostContentGame as N, type PostContentImage as O, type PartnerType as P, type PostContentList as Q, type ResourceByUser as R, type SubscriptionPlansResponse as S, type PostContentTextarea as T, type UserType as U, type PostContentType as V, type PostContentVideo as W, type PostFileInput as X, type PosterInputType as Y, type SchoolRegisteredUserType as Z, type StripeSubscription as _, type SubscriptionStatusData as a, type SubscriptionPricingData as a0, type UserActivity as a1, type UserActivityEvent as a2, type PostType as b, EnumPostType as c, type AppSettingsType as d, type GameLeaderboard as e, type SchoolReturnType as f, type SchoolType as g, type UserFormData as h, type PartnerFormData as i, type AdFormData as j, type CreateAdFormData as k, type CreatePartnerFormData as l, type PostFormData as m, type CreatePostFormData as n, type AppSettingsFormData as o, type CreateAppSettingsFormData as p, type SchoolFormData as q, type CreateSchoolFormData as r, type AdResource as s, type BaseGameType as t, EnumAdShowOn as u, EnumAdStyle as v, EnumAdType as w, EnumGameStatus as x, EnumPostContentType as y, type GameHistory as z };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ export { e as ContactUsFormData, f as CreateContactUsFormData, C as CreateLoginF
|
|
|
3
3
|
export { c as ChatMessageInput, d as ChatMessageReaction, e as ChatMessageReplyPreview, f as ChatMessageSeen, g as ChatMessageType, C as ChatType, h as CreateBulkNotificationInput, E as EnumActivity, N as NotificationCount, i as NotificationDataType, a as NotificationType, P as ParticipantType, R as ReportChatUser, j as ResourceActivityEntry, k as ResourceActivityInputType, b as ResourceActivityType } from '../resourceActivities-8Oq0lbxf.mjs';
|
|
4
4
|
import { c as EventListItemType } from '../global-ClbRuePq.mjs';
|
|
5
5
|
export { A as AssociateType, r as BaseResourceType, B as BaseResourceTypeFormData, C as Category, n as CreateEventFormData, p as CreateEventInfoFormData, s as CreateFormData, t as CreateUnregisteredVendorFormData, j as CreateVendorFormData, l as CreateVendorInfoFormData, D as DateTimeType, u as DateTimeWithPriceType, v as DeviceInfo, m as EventFormData, o as EventInfoFormData, d as EventInfoType, w as EventStatusType, E as EventType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, x as LocationGeoType, L as LocationType, N as Nullable, O as OptionItem, y as OwnerType, P as PROMO_CODE_PREFIX, z as PaymentInfoType, H as PosterUsageType, J as PromoCodeType, R as RefundPolicy, K as Region, M as RelationDate, e as RelationType, b as Requirement, f as ResourceConnectionsType, Q as ResourceContactDetailsType, T as ResourceDetails, W as ResourceImageType, X as SocialMediaType, S as StallType, Y as Subcategory, Z as SubcategoryItems, _ as TermsAgreement, q as UnregisteredVendorFormData, $ as UnregisteredVendorInvitationType, U as UnregisteredVendorType, h as UserLicenceType, a0 as VendorAttributes, a1 as VendorCalendarData, i as VendorFormData, k as VendorInfoFormData, g as VendorInfoType, a2 as VendorProductList, V as VendorType } from '../global-ClbRuePq.mjs';
|
|
6
|
-
export { j as AdFormData, s as AdResource, A as AdType, o as AppSettingsFormData, d as AppSettingsType, B as BaseGameMap, t as BaseGameType, k as CreateAdFormData, p as CreateAppSettingsFormData, l as CreatePartnerFormData, n as CreatePostFormData, r as CreateSchoolFormData, C as CreateUserFormData, u as EnumAdShowOn, E as EnumAdStatus, v as EnumAdStyle, w as EnumAdType, x as EnumGameStatus, y as EnumPostContentType, c as EnumPostType, G as GameDocType, z as GameHistory, e as GameLeaderboard, D as GameType, M as MarketingMaterialRequestInputType, F as
|
|
6
|
+
export { j as AdFormData, s as AdResource, A as AdType, o as AppSettingsFormData, d as AppSettingsType, B as BaseGameMap, t as BaseGameType, k as CreateAdFormData, p as CreateAppSettingsFormData, l as CreatePartnerFormData, n as CreatePostFormData, r as CreateSchoolFormData, C as CreateUserFormData, u as EnumAdShowOn, E as EnumAdStatus, v as EnumAdStyle, w as EnumAdType, x as EnumGameStatus, y as EnumPostContentType, c as EnumPostType, G as GameDocType, z as GameHistory, e as GameLeaderboard, D as GameType, M as MarketingMaterialRequestInputType, F as MiniQuizAnswer, H as MiniQuizBaseGame, I as MiniQuizGameData, J as MiniQuizQuestion, i as PartnerFormData, P as PartnerType, K as PostContentData, L as PostContentFormData, N as PostContentGame, O as PostContentImage, Q as PostContentList, T as PostContentTextarea, V as PostContentType, W as PostContentVideo, X as PostFileInput, m as PostFormData, b as PostType, Y as PosterInputType, R as ResourceByUser, q as SchoolFormData, Z as SchoolRegisteredUserType, f as SchoolReturnType, g as SchoolType, _ as StripeSubscription, $ as SubscriptionPlanData, S as SubscriptionPlansResponse, a0 as SubscriptionPricingData, a as SubscriptionStatusData, a1 as UserActivity, a2 as UserActivityEvent, h as UserFormData, U as UserType } from '../post-B6WEACv2.mjs';
|
|
7
7
|
export { D as DailyClueBaseGame, a as DailyClueGameData, E as EnumGameType, G as GameDate, b as GamePlacement, c as GamePlacementClue, d as GlobalGameData, g as gameScreenIdentifierList, e as gameTypeToDisplayName } from '../dailyClue-BnlktK68.mjs';
|
|
8
8
|
import 'react-hook-form';
|
|
9
9
|
import '../images/index.mjs';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { e as ContactUsFormData, f as CreateContactUsFormData, C as CreateLoginF
|
|
|
3
3
|
export { c as ChatMessageInput, d as ChatMessageReaction, e as ChatMessageReplyPreview, f as ChatMessageSeen, g as ChatMessageType, C as ChatType, h as CreateBulkNotificationInput, E as EnumActivity, N as NotificationCount, i as NotificationDataType, a as NotificationType, P as ParticipantType, R as ReportChatUser, j as ResourceActivityEntry, k as ResourceActivityInputType, b as ResourceActivityType } from '../resourceActivities-DBd_Xxzh.js';
|
|
4
4
|
import { c as EventListItemType } from '../global-CDqmjLH1.js';
|
|
5
5
|
export { A as AssociateType, r as BaseResourceType, B as BaseResourceTypeFormData, C as Category, n as CreateEventFormData, p as CreateEventInfoFormData, s as CreateFormData, t as CreateUnregisteredVendorFormData, j as CreateVendorFormData, l as CreateVendorInfoFormData, D as DateTimeType, u as DateTimeWithPriceType, v as DeviceInfo, m as EventFormData, o as EventInfoFormData, d as EventInfoType, w as EventStatusType, E as EventType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, x as LocationGeoType, L as LocationType, N as Nullable, O as OptionItem, y as OwnerType, P as PROMO_CODE_PREFIX, z as PaymentInfoType, H as PosterUsageType, J as PromoCodeType, R as RefundPolicy, K as Region, M as RelationDate, e as RelationType, b as Requirement, f as ResourceConnectionsType, Q as ResourceContactDetailsType, T as ResourceDetails, W as ResourceImageType, X as SocialMediaType, S as StallType, Y as Subcategory, Z as SubcategoryItems, _ as TermsAgreement, q as UnregisteredVendorFormData, $ as UnregisteredVendorInvitationType, U as UnregisteredVendorType, h as UserLicenceType, a0 as VendorAttributes, a1 as VendorCalendarData, i as VendorFormData, k as VendorInfoFormData, g as VendorInfoType, a2 as VendorProductList, V as VendorType } from '../global-CDqmjLH1.js';
|
|
6
|
-
export { j as AdFormData, s as AdResource, A as AdType, o as AppSettingsFormData, d as AppSettingsType, B as BaseGameMap, t as BaseGameType, k as CreateAdFormData, p as CreateAppSettingsFormData, l as CreatePartnerFormData, n as CreatePostFormData, r as CreateSchoolFormData, C as CreateUserFormData, u as EnumAdShowOn, E as EnumAdStatus, v as EnumAdStyle, w as EnumAdType, x as EnumGameStatus, y as EnumPostContentType, c as EnumPostType, G as GameDocType, z as GameHistory, e as GameLeaderboard, D as GameType, M as MarketingMaterialRequestInputType, F as
|
|
6
|
+
export { j as AdFormData, s as AdResource, A as AdType, o as AppSettingsFormData, d as AppSettingsType, B as BaseGameMap, t as BaseGameType, k as CreateAdFormData, p as CreateAppSettingsFormData, l as CreatePartnerFormData, n as CreatePostFormData, r as CreateSchoolFormData, C as CreateUserFormData, u as EnumAdShowOn, E as EnumAdStatus, v as EnumAdStyle, w as EnumAdType, x as EnumGameStatus, y as EnumPostContentType, c as EnumPostType, G as GameDocType, z as GameHistory, e as GameLeaderboard, D as GameType, M as MarketingMaterialRequestInputType, F as MiniQuizAnswer, H as MiniQuizBaseGame, I as MiniQuizGameData, J as MiniQuizQuestion, i as PartnerFormData, P as PartnerType, K as PostContentData, L as PostContentFormData, N as PostContentGame, O as PostContentImage, Q as PostContentList, T as PostContentTextarea, V as PostContentType, W as PostContentVideo, X as PostFileInput, m as PostFormData, b as PostType, Y as PosterInputType, R as ResourceByUser, q as SchoolFormData, Z as SchoolRegisteredUserType, f as SchoolReturnType, g as SchoolType, _ as StripeSubscription, $ as SubscriptionPlanData, S as SubscriptionPlansResponse, a0 as SubscriptionPricingData, a as SubscriptionStatusData, a1 as UserActivity, a2 as UserActivityEvent, h as UserFormData, U as UserType } from '../post-gCzzuzeR.js';
|
|
7
7
|
export { D as DailyClueBaseGame, a as DailyClueGameData, E as EnumGameType, G as GameDate, b as GamePlacement, c as GamePlacementClue, d as GlobalGameData, g as gameScreenIdentifierList, e as gameTypeToDisplayName } from '../dailyClue-BnlktK68.js';
|
|
8
8
|
import 'react-hook-form';
|
|
9
9
|
import '../images/index.js';
|