@timardex/cluemart-shared 1.6.112 → 1.7.0
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/ad-CVkVX_z5.d.ts +296 -0
- package/dist/ad-DA9ECAhK.d.mts +296 -0
- package/dist/affiliate-1RtkLnLP.d.ts +35 -0
- package/dist/affiliate-Cos2Syz5.d.mts +35 -0
- package/dist/{chunk-R6PCFOYO.mjs → chunk-HZMP7GXC.mjs} +2628 -948
- package/dist/chunk-HZMP7GXC.mjs.map +1 -0
- package/dist/{chunk-X3OLM35T.mjs → chunk-KZTOISPA.mjs} +8 -14
- package/dist/chunk-KZTOISPA.mjs.map +1 -0
- package/dist/{chunk-ILILH7E2.mjs → chunk-MVQ3CFQR.mjs} +23 -12
- package/dist/chunk-MVQ3CFQR.mjs.map +1 -0
- package/dist/{chunk-AYO3E4DM.mjs → chunk-RKIRWZCH.mjs} +183 -39
- package/dist/chunk-RKIRWZCH.mjs.map +1 -0
- package/dist/{chunk-LBEJECG3.mjs → chunk-TAECMXM4.mjs} +219 -249
- package/dist/{chunk-LBEJECG3.mjs.map → chunk-TAECMXM4.mjs.map} +1 -1
- package/dist/{chunk-BIJ5NDXW.mjs → chunk-ZZJSCYJK.mjs} +42 -46
- package/dist/chunk-ZZJSCYJK.mjs.map +1 -0
- package/dist/{contactUs-CBWzefUS.d.mts → contactUs-DGrDzJaM.d.mts} +1 -1
- package/dist/{contactUs--NoohZBu.d.ts → contactUs-H7799pWe.d.ts} +1 -1
- package/dist/enums/index.cjs +7 -13
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.mts +9 -15
- package/dist/enums/index.d.ts +9 -15
- package/dist/enums/index.mjs +1 -1
- package/dist/formFields/index.cjs +73 -136
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +2 -3
- package/dist/formFields/index.d.ts +2 -3
- package/dist/formFields/index.mjs +4 -9
- package/dist/{global-DePDtOFt.d.mts → global-BUUfmCo7.d.mts} +11 -12
- package/dist/{global-CUYYxpy2.d.ts → global-fKbMmluy.d.ts} +11 -12
- package/dist/graphql/index.cjs +1251 -694
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +173 -423
- package/dist/graphql/index.d.ts +173 -423
- package/dist/graphql/index.mjs +21 -33
- package/dist/hooks/index.cjs +306 -936
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +4 -10
- package/dist/hooks/index.d.ts +4 -10
- package/dist/hooks/index.mjs +58 -170
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/images/apple-maps-icon.webp.d.ts +1 -8
- package/dist/images/banner-horizontal.webp.d.ts +1 -8
- package/dist/images/banner-vertical.webp.d.ts +1 -8
- package/dist/images/cluiTui.webp.d.ts +1 -8
- package/dist/images/corporate.webp.d.ts +1 -8
- package/dist/images/facebook.webp.d.ts +1 -8
- package/dist/images/gazebo-top.webp.d.ts +1 -8
- package/dist/images/google-maps-icon.webp.d.ts +1 -8
- package/dist/images/googleMaps-logo-dark.webp.d.ts +1 -8
- package/dist/images/googleMaps-logo-light.webp.d.ts +1 -8
- package/dist/images/instagram.webp.d.ts +1 -8
- package/dist/images/logo-atr.webp.d.ts +1 -8
- package/dist/images/logo-dark.webp.d.ts +1 -8
- package/dist/images/logo.webp.d.ts +1 -8
- package/dist/images/meet.webp.d.ts +1 -8
- package/dist/images/mini-market1.webp.d.ts +1 -8
- package/dist/images/mini-market2.webp.d.ts +1 -8
- package/dist/images/mini-market3.webp.d.ts +1 -8
- package/dist/images/mini-market4.webp.d.ts +1 -8
- package/dist/images/mini-market5.webp.d.ts +1 -8
- package/dist/images/poll.webp.d.ts +1 -8
- package/dist/images/poster1.webp.d.ts +1 -8
- package/dist/images/poster2.webp.d.ts +1 -8
- package/dist/images/poster3.webp.d.ts +1 -8
- package/dist/images/poster4.webp.d.ts +1 -8
- package/dist/images/private.webp.d.ts +1 -8
- package/dist/images/qr-code.webp.d.ts +1 -8
- package/dist/images/school.webp.d.ts +1 -8
- package/dist/images/sima.webp.d.ts +1 -8
- package/dist/images/store-android.webp.d.ts +1 -8
- package/dist/images/store-ios.webp.d.ts +1 -8
- package/dist/images/tablas.webp.d.ts +1 -8
- package/dist/images/telefonos.webp.d.ts +1 -8
- package/dist/images/tiktok.webp.d.ts +1 -8
- package/dist/images/tip.webp.d.ts +1 -8
- package/dist/images/ugralos.webp.d.ts +1 -8
- package/dist/images/waze-maps-icon.webp.d.ts +1 -8
- package/dist/images/website.webp.d.ts +1 -8
- package/dist/images/youtube.webp.d.ts +1 -8
- package/dist/index.cjs +1673 -1623
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +240 -654
- package/dist/index.d.ts +240 -654
- package/dist/index.mjs +1672 -1585
- package/dist/index.mjs.map +1 -1
- package/dist/map/index.cjs +9 -14
- package/dist/map/index.cjs.map +1 -1
- package/dist/map/index.d.mts +13 -16
- package/dist/map/index.d.ts +13 -16
- package/dist/map/index.mjs +9 -14
- package/dist/map/index.mjs.map +1 -1
- package/dist/{resourceActivities-CMUcn2P7.d.ts → resourceActivities-BL_12IAo.d.ts} +4 -9
- package/dist/{resourceActivities-CwbJFGIp.d.mts → resourceActivities-zczOntNk.d.mts} +4 -9
- package/dist/sharing/index.cjs +1252 -39
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.d.mts +5 -17
- package/dist/sharing/index.d.ts +5 -17
- package/dist/sharing/index.mjs +30 -34
- package/dist/types/index.cjs +2 -15
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +23 -10
- package/dist/types/index.d.ts +23 -10
- package/dist/types/index.mjs +5 -9
- package/dist/utils/index.cjs +136 -355
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +35 -87
- package/dist/utils/index.d.ts +35 -87
- package/dist/utils/index.mjs +15 -42
- package/package.json +10 -31
- package/dist/ad-BUYzE6zx.d.ts +0 -181
- package/dist/ad-BhLoEul3.d.mts +0 -181
- package/dist/affiliate-BbtjeUP4.d.mts +0 -73
- package/dist/affiliate-C51nzKsw.d.ts +0 -73
- package/dist/apollo/index.cjs +0 -1383
- package/dist/apollo/index.cjs.map +0 -1
- package/dist/apollo/index.d.mts +0 -323
- package/dist/apollo/index.d.ts +0 -323
- package/dist/apollo/index.mjs +0 -1295
- package/dist/apollo/index.mjs.map +0 -1
- package/dist/auth/index.cjs +0 -1727
- package/dist/auth/index.cjs.map +0 -1
- package/dist/auth/index.d.mts +0 -166
- package/dist/auth/index.d.ts +0 -166
- package/dist/auth/index.mjs +0 -380
- package/dist/auth/index.mjs.map +0 -1
- package/dist/chunk-32MKHJTX.mjs +0 -1207
- package/dist/chunk-32MKHJTX.mjs.map +0 -1
- package/dist/chunk-AYO3E4DM.mjs.map +0 -1
- package/dist/chunk-BIJ5NDXW.mjs.map +0 -1
- package/dist/chunk-DQ7ZHIXW.mjs +0 -26
- package/dist/chunk-DQ7ZHIXW.mjs.map +0 -1
- package/dist/chunk-ILILH7E2.mjs.map +0 -1
- package/dist/chunk-R6PCFOYO.mjs.map +0 -1
- package/dist/chunk-RAYUJODN.mjs +0 -45
- package/dist/chunk-RAYUJODN.mjs.map +0 -1
- package/dist/chunk-SD42WIMV.mjs +0 -297
- package/dist/chunk-SD42WIMV.mjs.map +0 -1
- package/dist/chunk-VPANTTZI.mjs +0 -262
- package/dist/chunk-VPANTTZI.mjs.map +0 -1
- package/dist/chunk-X3OLM35T.mjs.map +0 -1
- package/dist/subscription-BU8GvH2K.d.ts +0 -12
- package/dist/subscription-bmAdrnfi.d.mts +0 -12
- package/dist/user-D47MLFyH.d.ts +0 -134
- package/dist/user-DE8edl3u.d.mts +0 -134
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-
|
|
1
|
+
import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-BUUfmCo7.mjs';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.mjs';
|
|
4
4
|
|
|
@@ -78,8 +78,7 @@ declare const contactUsFields: FormField[];
|
|
|
78
78
|
|
|
79
79
|
declare const emailField: FormField;
|
|
80
80
|
declare const companyContactFields: FormField[];
|
|
81
|
-
declare const bankAccountDetailsFields: FormField[];
|
|
82
81
|
|
|
83
82
|
declare const partnerBasicInfoFields: FormField[];
|
|
84
83
|
|
|
85
|
-
export { availableCategories, availableTagTypes,
|
|
84
|
+
export { availableCategories, availableTagTypes, categoryColors, companyContactFields, contactUsFields, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, foodFlavourOptions, loginFields, packagingOptions, partnerBasicInfoFields, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, stallTypeOptions, tagOptions, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-
|
|
1
|
+
import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-fKbMmluy.js';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.js';
|
|
4
4
|
|
|
@@ -78,8 +78,7 @@ declare const contactUsFields: FormField[];
|
|
|
78
78
|
|
|
79
79
|
declare const emailField: FormField;
|
|
80
80
|
declare const companyContactFields: FormField[];
|
|
81
|
-
declare const bankAccountDetailsFields: FormField[];
|
|
82
81
|
|
|
83
82
|
declare const partnerBasicInfoFields: FormField[];
|
|
84
83
|
|
|
85
|
-
export { availableCategories, availableTagTypes,
|
|
84
|
+
export { availableCategories, availableTagTypes, categoryColors, companyContactFields, contactUsFields, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, foodFlavourOptions, loginFields, packagingOptions, partnerBasicInfoFields, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, stallTypeOptions, tagOptions, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
2
|
availableTagTypes,
|
|
3
|
-
bankAccountDetailsFields,
|
|
4
3
|
companyContactFields,
|
|
5
4
|
contactUsFields,
|
|
6
5
|
emailField,
|
|
@@ -42,20 +41,16 @@ import {
|
|
|
42
41
|
vendorStallSize,
|
|
43
42
|
vendorStartDateFields,
|
|
44
43
|
vendorTable
|
|
45
|
-
} from "../chunk-
|
|
44
|
+
} from "../chunk-ZZJSCYJK.mjs";
|
|
46
45
|
import {
|
|
47
46
|
availableCategories,
|
|
48
47
|
categoryColors
|
|
49
|
-
} from "../chunk-
|
|
50
|
-
import "../chunk-
|
|
51
|
-
import "../chunk-
|
|
52
|
-
import "../chunk-RAYUJODN.mjs";
|
|
53
|
-
import "../chunk-DQ7ZHIXW.mjs";
|
|
54
|
-
import "../chunk-X3OLM35T.mjs";
|
|
48
|
+
} from "../chunk-TAECMXM4.mjs";
|
|
49
|
+
import "../chunk-MVQ3CFQR.mjs";
|
|
50
|
+
import "../chunk-KZTOISPA.mjs";
|
|
55
51
|
export {
|
|
56
52
|
availableCategories,
|
|
57
53
|
availableTagTypes,
|
|
58
|
-
bankAccountDetailsFields,
|
|
59
54
|
categoryColors,
|
|
60
55
|
companyContactFields,
|
|
61
56
|
contactUsFields,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldValues, Control, FormState, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch, UseFormGetValues } from 'react-hook-form';
|
|
2
|
-
import {
|
|
2
|
+
import { EnumResourceType, EnumInviteStatus, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumEventDateStatus, EnumUserLicence, EnumSocialMedia } from './enums/index.mjs';
|
|
3
3
|
|
|
4
4
|
type RelationDate = {
|
|
5
5
|
dateTime: DateTimeType & {
|
|
@@ -96,7 +96,7 @@ interface EventType extends BaseResourceType {
|
|
|
96
96
|
sharePublic?: SocialShareResourceType | null;
|
|
97
97
|
shareRelation?: SocialShareResourceType | null;
|
|
98
98
|
}
|
|
99
|
-
type EventListItemType = Omit<EventType, "adIds" | "contactDetails" | "eventInfoId" | "nzbn" | "owner" | "posterUsage" | "promoCodes" | "provider" | "relatedPost" | "socialMedia" | "socialShare" | "tags" | "termsAgreement">;
|
|
99
|
+
type EventListItemType = Omit<EventType, "adIds" | "associates" | "contactDetails" | "eventInfoId" | "nzbn" | "owner" | "posterUsage" | "promoCodes" | "provider" | "relatedPost" | "socialMedia" | "socialShare" | "tags" | "termsAgreement">;
|
|
100
100
|
type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
101
101
|
_id: string;
|
|
102
102
|
active?: boolean;
|
|
@@ -373,7 +373,6 @@ type PostContentType = Omit<PostContentFormData, "contentData"> & {
|
|
|
373
373
|
};
|
|
374
374
|
type PostType = Omit<PostFormData, "content" | "coverUpload" | "resource"> & {
|
|
375
375
|
_id: string;
|
|
376
|
-
approvedAt?: Date | null;
|
|
377
376
|
content: PostContentType[];
|
|
378
377
|
createdAt: Date;
|
|
379
378
|
deletedAt: Date | null;
|
|
@@ -501,11 +500,6 @@ type PromoCodeType = `${typeof PROMO_CODE_PREFIX}${string}`;
|
|
|
501
500
|
type Nullable<T> = {
|
|
502
501
|
[K in keyof T]: T[K] | null | undefined;
|
|
503
502
|
};
|
|
504
|
-
/** Uniform mutation response envelope used across GraphQL mutations. */
|
|
505
|
-
type MutationResponse<T> = {
|
|
506
|
-
data: T | null;
|
|
507
|
-
message: string | null;
|
|
508
|
-
};
|
|
509
503
|
type DeviceInfo = {
|
|
510
504
|
appBuildNumber: string;
|
|
511
505
|
appId: string;
|
|
@@ -542,6 +536,12 @@ type UserLicenceType = {
|
|
|
542
536
|
licenceType: EnumUserLicence;
|
|
543
537
|
prevLicenceType?: EnumUserLicence | null;
|
|
544
538
|
};
|
|
539
|
+
type AssociateType = {
|
|
540
|
+
email: string;
|
|
541
|
+
resourceId: string;
|
|
542
|
+
resourceType: EnumResourceType;
|
|
543
|
+
licence: UserLicenceType;
|
|
544
|
+
};
|
|
545
545
|
type OwnerType = {
|
|
546
546
|
email: string;
|
|
547
547
|
userId: string;
|
|
@@ -549,6 +549,7 @@ type OwnerType = {
|
|
|
549
549
|
interface BaseResourceTypeFormData {
|
|
550
550
|
_id?: string;
|
|
551
551
|
active: boolean;
|
|
552
|
+
associates: AssociateType[] | null;
|
|
552
553
|
contactDetails: ResourceContactDetailsType | null;
|
|
553
554
|
cover: ResourceImageType;
|
|
554
555
|
coverUpload?: ResourceImageType | null;
|
|
@@ -558,6 +559,7 @@ interface BaseResourceTypeFormData {
|
|
|
558
559
|
logo?: ResourceImageType | null;
|
|
559
560
|
logoUpload?: ResourceImageType | null;
|
|
560
561
|
name: string;
|
|
562
|
+
owner?: OwnerType | null;
|
|
561
563
|
promoCodes?: PromoCodeType[] | null;
|
|
562
564
|
region: string;
|
|
563
565
|
socialMedia: SocialMediaType[] | null;
|
|
@@ -568,7 +570,6 @@ type PosterUsageType = {
|
|
|
568
570
|
count: number;
|
|
569
571
|
};
|
|
570
572
|
type RelatedPostType = {
|
|
571
|
-
postActive: boolean;
|
|
572
573
|
postId: string;
|
|
573
574
|
postSlug: string;
|
|
574
575
|
postType: EnumPostType;
|
|
@@ -580,10 +581,8 @@ type SocialShareResourceType = {
|
|
|
580
581
|
type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload"> & {
|
|
581
582
|
_id: string;
|
|
582
583
|
adIds?: string[] | null;
|
|
583
|
-
approvedAt?: Date | null;
|
|
584
584
|
createdAt: Date;
|
|
585
585
|
deletedAt: Date | null;
|
|
586
|
-
owner: OwnerType;
|
|
587
586
|
posterUsage?: PosterUsageType | null;
|
|
588
587
|
rating?: number | null;
|
|
589
588
|
relatedPost?: RelatedPostType | null;
|
|
@@ -696,4 +695,4 @@ interface UseGetResourcesByRegionOptions {
|
|
|
696
695
|
offset?: number;
|
|
697
696
|
}
|
|
698
697
|
|
|
699
|
-
export { type
|
|
698
|
+
export { type GamePlacementClue as $, type AssociateType as A, type BaseResourceTypeFormData as B, type Category as C, type BaseResourceType as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateFormData as H, type DailyClueBaseGame as I, type DailyClueGameData as J, type DateTimeType as K, type LocationType as L, type DateTimeWithPriceType as M, type DeviceInfo as N, type OptionItem as O, type PostType as P, EnumGameStatus as Q, type RefundPolicy as R, type StallType as S, EnumGameType as T, type UseGetResourcesByRegionOptions as U, type VendorType as V, EnumPostContentType as W, type EventStatusType as X, type GameDate as Y, type GameHistory as Z, type GamePlacement as _, type FormDateField as a, type GameType as a0, type GeocodeLocation as a1, type GlobalGameData as a2, type ImageObjectType as a3, type LocationGeoType as a4, type Nullable as a5, type OwnerType as a6, PROMO_CODE_PREFIX as a7, type PaymentInfoType as a8, type PostContentData as a9, type TermsAgreement as aA, type UnregisteredVendorInvitationType as aB, type VendorAttributes as aC, type VendorCalendarData as aD, type VendorProductList as aE, gameScreenIdentifierList as aF, gameTypeToDisplayName as aG, type PostContentFormData as aa, type PostContentGame as ab, type PostContentImage as ac, type PostContentList as ad, type PostContentTextarea as ae, type PostContentType as af, type PostContentVideo as ag, type PostFileInput as ah, type PostResource as ai, type PosterUsageType as aj, type PromoCodeType as ak, type PuzzleAnswer as al, type PuzzleAnsweredQuestion as am, type PuzzleBaseGame as an, type PuzzleGameData as ao, type PuzzleQuestion as ap, type RelatedPostType as aq, type RelationDate as ar, type RelationInputType as as, type ResourceContactDetailsType as at, type ResourceDetails as au, type ResourceImageType as av, type SocialMediaType as aw, type SocialShareResourceType as ax, type Subcategory as ay, type SubcategoryItems as az, type Requirement as b, type EventListItemType as c, type EventInfoType as d, type RelationType as e, type ResourceConnectionsType as f, type UnregisteredVendorType as g, type VendorInfoType as h, type UserLicenceType as i, EnumPostType as j, type GameLeaderboard as k, type VendorFormData as l, type CreateVendorFormData as m, type VendorInfoFormData as n, type CreateVendorInfoFormData as o, type UnregisteredVendorFormData as p, type CreateUnregisteredVendorFormData as q, type EventFormData as r, type CreateEventFormData as s, type EventInfoFormData as t, type CreateEventInfoFormData as u, type PostFormData as v, type CreatePostFormData as w, type Region as x, type BaseGameMap as y, type BaseGameType as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldValues, Control, FormState, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch, UseFormGetValues } from 'react-hook-form';
|
|
2
|
-
import {
|
|
2
|
+
import { EnumResourceType, EnumInviteStatus, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumEventDateStatus, EnumUserLicence, EnumSocialMedia } from './enums/index.js';
|
|
3
3
|
|
|
4
4
|
type RelationDate = {
|
|
5
5
|
dateTime: DateTimeType & {
|
|
@@ -96,7 +96,7 @@ interface EventType extends BaseResourceType {
|
|
|
96
96
|
sharePublic?: SocialShareResourceType | null;
|
|
97
97
|
shareRelation?: SocialShareResourceType | null;
|
|
98
98
|
}
|
|
99
|
-
type EventListItemType = Omit<EventType, "adIds" | "contactDetails" | "eventInfoId" | "nzbn" | "owner" | "posterUsage" | "promoCodes" | "provider" | "relatedPost" | "socialMedia" | "socialShare" | "tags" | "termsAgreement">;
|
|
99
|
+
type EventListItemType = Omit<EventType, "adIds" | "associates" | "contactDetails" | "eventInfoId" | "nzbn" | "owner" | "posterUsage" | "promoCodes" | "provider" | "relatedPost" | "socialMedia" | "socialShare" | "tags" | "termsAgreement">;
|
|
100
100
|
type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
101
101
|
_id: string;
|
|
102
102
|
active?: boolean;
|
|
@@ -373,7 +373,6 @@ type PostContentType = Omit<PostContentFormData, "contentData"> & {
|
|
|
373
373
|
};
|
|
374
374
|
type PostType = Omit<PostFormData, "content" | "coverUpload" | "resource"> & {
|
|
375
375
|
_id: string;
|
|
376
|
-
approvedAt?: Date | null;
|
|
377
376
|
content: PostContentType[];
|
|
378
377
|
createdAt: Date;
|
|
379
378
|
deletedAt: Date | null;
|
|
@@ -501,11 +500,6 @@ type PromoCodeType = `${typeof PROMO_CODE_PREFIX}${string}`;
|
|
|
501
500
|
type Nullable<T> = {
|
|
502
501
|
[K in keyof T]: T[K] | null | undefined;
|
|
503
502
|
};
|
|
504
|
-
/** Uniform mutation response envelope used across GraphQL mutations. */
|
|
505
|
-
type MutationResponse<T> = {
|
|
506
|
-
data: T | null;
|
|
507
|
-
message: string | null;
|
|
508
|
-
};
|
|
509
503
|
type DeviceInfo = {
|
|
510
504
|
appBuildNumber: string;
|
|
511
505
|
appId: string;
|
|
@@ -542,6 +536,12 @@ type UserLicenceType = {
|
|
|
542
536
|
licenceType: EnumUserLicence;
|
|
543
537
|
prevLicenceType?: EnumUserLicence | null;
|
|
544
538
|
};
|
|
539
|
+
type AssociateType = {
|
|
540
|
+
email: string;
|
|
541
|
+
resourceId: string;
|
|
542
|
+
resourceType: EnumResourceType;
|
|
543
|
+
licence: UserLicenceType;
|
|
544
|
+
};
|
|
545
545
|
type OwnerType = {
|
|
546
546
|
email: string;
|
|
547
547
|
userId: string;
|
|
@@ -549,6 +549,7 @@ type OwnerType = {
|
|
|
549
549
|
interface BaseResourceTypeFormData {
|
|
550
550
|
_id?: string;
|
|
551
551
|
active: boolean;
|
|
552
|
+
associates: AssociateType[] | null;
|
|
552
553
|
contactDetails: ResourceContactDetailsType | null;
|
|
553
554
|
cover: ResourceImageType;
|
|
554
555
|
coverUpload?: ResourceImageType | null;
|
|
@@ -558,6 +559,7 @@ interface BaseResourceTypeFormData {
|
|
|
558
559
|
logo?: ResourceImageType | null;
|
|
559
560
|
logoUpload?: ResourceImageType | null;
|
|
560
561
|
name: string;
|
|
562
|
+
owner?: OwnerType | null;
|
|
561
563
|
promoCodes?: PromoCodeType[] | null;
|
|
562
564
|
region: string;
|
|
563
565
|
socialMedia: SocialMediaType[] | null;
|
|
@@ -568,7 +570,6 @@ type PosterUsageType = {
|
|
|
568
570
|
count: number;
|
|
569
571
|
};
|
|
570
572
|
type RelatedPostType = {
|
|
571
|
-
postActive: boolean;
|
|
572
573
|
postId: string;
|
|
573
574
|
postSlug: string;
|
|
574
575
|
postType: EnumPostType;
|
|
@@ -580,10 +581,8 @@ type SocialShareResourceType = {
|
|
|
580
581
|
type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload"> & {
|
|
581
582
|
_id: string;
|
|
582
583
|
adIds?: string[] | null;
|
|
583
|
-
approvedAt?: Date | null;
|
|
584
584
|
createdAt: Date;
|
|
585
585
|
deletedAt: Date | null;
|
|
586
|
-
owner: OwnerType;
|
|
587
586
|
posterUsage?: PosterUsageType | null;
|
|
588
587
|
rating?: number | null;
|
|
589
588
|
relatedPost?: RelatedPostType | null;
|
|
@@ -696,4 +695,4 @@ interface UseGetResourcesByRegionOptions {
|
|
|
696
695
|
offset?: number;
|
|
697
696
|
}
|
|
698
697
|
|
|
699
|
-
export { type
|
|
698
|
+
export { type GamePlacementClue as $, type AssociateType as A, type BaseResourceTypeFormData as B, type Category as C, type BaseResourceType as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateFormData as H, type DailyClueBaseGame as I, type DailyClueGameData as J, type DateTimeType as K, type LocationType as L, type DateTimeWithPriceType as M, type DeviceInfo as N, type OptionItem as O, type PostType as P, EnumGameStatus as Q, type RefundPolicy as R, type StallType as S, EnumGameType as T, type UseGetResourcesByRegionOptions as U, type VendorType as V, EnumPostContentType as W, type EventStatusType as X, type GameDate as Y, type GameHistory as Z, type GamePlacement as _, type FormDateField as a, type GameType as a0, type GeocodeLocation as a1, type GlobalGameData as a2, type ImageObjectType as a3, type LocationGeoType as a4, type Nullable as a5, type OwnerType as a6, PROMO_CODE_PREFIX as a7, type PaymentInfoType as a8, type PostContentData as a9, type TermsAgreement as aA, type UnregisteredVendorInvitationType as aB, type VendorAttributes as aC, type VendorCalendarData as aD, type VendorProductList as aE, gameScreenIdentifierList as aF, gameTypeToDisplayName as aG, type PostContentFormData as aa, type PostContentGame as ab, type PostContentImage as ac, type PostContentList as ad, type PostContentTextarea as ae, type PostContentType as af, type PostContentVideo as ag, type PostFileInput as ah, type PostResource as ai, type PosterUsageType as aj, type PromoCodeType as ak, type PuzzleAnswer as al, type PuzzleAnsweredQuestion as am, type PuzzleBaseGame as an, type PuzzleGameData as ao, type PuzzleQuestion as ap, type RelatedPostType as aq, type RelationDate as ar, type RelationInputType as as, type ResourceContactDetailsType as at, type ResourceDetails as au, type ResourceImageType as av, type SocialMediaType as aw, type SocialShareResourceType as ax, type Subcategory as ay, type SubcategoryItems as az, type Requirement as b, type EventListItemType as c, type EventInfoType as d, type RelationType as e, type ResourceConnectionsType as f, type UnregisteredVendorType as g, type VendorInfoType as h, type UserLicenceType as i, EnumPostType as j, type GameLeaderboard as k, type VendorFormData as l, type CreateVendorFormData as m, type VendorInfoFormData as n, type CreateVendorInfoFormData as o, type UnregisteredVendorFormData as p, type CreateUnregisteredVendorFormData as q, type EventFormData as r, type CreateEventFormData as s, type EventInfoFormData as t, type CreateEventInfoFormData as u, type PostFormData as v, type CreatePostFormData as w, type Region as x, type BaseGameMap as y, type BaseGameType as z };
|