@timardex/cluemart-shared 1.5.761 → 1.5.764
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-CQxEEdeo.d.ts → ad-CJagQnlM.d.ts} +1 -1
- package/dist/{ad-DV937Sg8.d.mts → ad-DvMxLm4X.d.mts} +1 -1
- package/dist/{chunk-YJYBYCHX.mjs → chunk-LELKI44G.mjs} +9 -3
- package/dist/chunk-LELKI44G.mjs.map +1 -0
- package/dist/{chunk-W6LPCRZW.mjs → chunk-MVRRQ7CN.mjs} +2 -2
- package/dist/{chunk-SNNW6U7C.mjs → chunk-RGE5GVDJ.mjs} +1 -1
- package/dist/chunk-RGE5GVDJ.mjs.map +1 -0
- package/dist/{chunk-DB7KMGVK.mjs → chunk-V6XMJOAO.mjs} +2 -2
- package/dist/{chunk-4LVHHYB3.mjs → chunk-WN3TH5SG.mjs} +198 -163
- package/dist/chunk-WN3TH5SG.mjs.map +1 -0
- package/dist/{contactUs-DRPCxars.d.ts → contactUs-4VZQ638B.d.ts} +1 -1
- package/dist/{contactUs-B_3oZcDN.d.mts → contactUs-D7tniSAx.d.mts} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/formFields/index.mjs +3 -3
- package/dist/{global-P9qHgK58.d.mts → global-BpBsWczS.d.mts} +12 -8
- package/dist/{global-CYfPZjeH.d.ts → global-BqDLgGwU.d.ts} +12 -8
- package/dist/graphql/index.cjs +372 -333
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +9 -4
- package/dist/graphql/index.d.ts +9 -4
- package/dist/graphql/index.mjs +9 -1
- package/dist/hooks/index.cjs +227 -197
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/index.mjs +5 -6
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +379 -333
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +22 -8
- package/dist/index.d.ts +22 -8
- package/dist/index.mjs +203 -162
- package/dist/index.mjs.map +1 -1
- package/dist/map/index.d.mts +1 -1
- package/dist/map/index.d.ts +1 -1
- package/dist/{resourceActivities-DjE6hC9y.d.mts → resourceActivities-C_0LA9YJ.d.mts} +1 -1
- package/dist/{resourceActivities-CV-ruNFQ.d.ts → resourceActivities-D0w8LT8f.d.ts} +1 -1
- package/dist/sharing/index.cjs +7 -0
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.d.mts +7 -2
- package/dist/sharing/index.d.ts +7 -2
- package/dist/sharing/index.mjs +5 -3
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +5 -5
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.mjs +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-4LVHHYB3.mjs.map +0 -1
- package/dist/chunk-SNNW6U7C.mjs.map +0 -1
- package/dist/chunk-YJYBYCHX.mjs.map +0 -1
- /package/dist/{chunk-W6LPCRZW.mjs.map → chunk-MVRRQ7CN.mjs.map} +0 -0
- /package/dist/{chunk-DB7KMGVK.mjs.map → chunk-V6XMJOAO.mjs.map} +0 -0
|
@@ -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-BpBsWczS.mjs';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.mjs';
|
|
4
4
|
|
|
@@ -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-BqDLgGwU.js';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.js';
|
|
4
4
|
|
|
@@ -41,12 +41,12 @@ import {
|
|
|
41
41
|
vendorStallSize,
|
|
42
42
|
vendorStartDateFields,
|
|
43
43
|
vendorTable
|
|
44
|
-
} from "../chunk-
|
|
44
|
+
} from "../chunk-V6XMJOAO.mjs";
|
|
45
45
|
import {
|
|
46
46
|
availableCategories,
|
|
47
47
|
categoryColors
|
|
48
|
-
} from "../chunk-
|
|
49
|
-
import "../chunk-
|
|
48
|
+
} from "../chunk-MVRRQ7CN.mjs";
|
|
49
|
+
import "../chunk-RGE5GVDJ.mjs";
|
|
50
50
|
import "../chunk-4SNW63TJ.mjs";
|
|
51
51
|
export {
|
|
52
52
|
availableCategories,
|
|
@@ -347,6 +347,14 @@ type PostContentFormData = {
|
|
|
347
347
|
contentOrder?: number | null;
|
|
348
348
|
contentType?: EnumPostContentType | null;
|
|
349
349
|
};
|
|
350
|
+
type PostResourceInput = {
|
|
351
|
+
resourceId: string;
|
|
352
|
+
resourceType: EnumResourceType;
|
|
353
|
+
resourceRegion: string;
|
|
354
|
+
};
|
|
355
|
+
type PostResource = PostResourceInput & {
|
|
356
|
+
resourceSlug?: string | null;
|
|
357
|
+
};
|
|
350
358
|
interface PostFormData {
|
|
351
359
|
active: boolean;
|
|
352
360
|
caption: string;
|
|
@@ -354,12 +362,7 @@ interface PostFormData {
|
|
|
354
362
|
cover?: ResourceImageType | null;
|
|
355
363
|
coverUpload?: PostFileInput | null;
|
|
356
364
|
postType: EnumPostType;
|
|
357
|
-
resource?:
|
|
358
|
-
resourceId: string;
|
|
359
|
-
resourceType: EnumResourceType;
|
|
360
|
-
resourceRegion: string;
|
|
361
|
-
resourceSlug: string;
|
|
362
|
-
} | null;
|
|
365
|
+
resource?: PostResourceInput | null;
|
|
363
366
|
tags?: string[] | null;
|
|
364
367
|
title: string;
|
|
365
368
|
notifyUsers?: boolean | null;
|
|
@@ -368,10 +371,11 @@ type CreatePostFormData = CreateFormData<PostFormData>;
|
|
|
368
371
|
type PostContentType = Omit<PostContentFormData, "contentData"> & {
|
|
369
372
|
contentData: Omit<PostContentData, "imagesUpload">;
|
|
370
373
|
};
|
|
371
|
-
type PostType = Omit<PostFormData, "content" | "coverUpload"> & {
|
|
374
|
+
type PostType = Omit<PostFormData, "content" | "coverUpload" | "resource"> & {
|
|
372
375
|
_id: string;
|
|
373
376
|
content: PostContentType[];
|
|
374
377
|
slug: string;
|
|
378
|
+
resource?: PostResource | null;
|
|
375
379
|
createdAt: Date;
|
|
376
380
|
deletedAt: Date | null;
|
|
377
381
|
updatedAt: Date | null;
|
|
@@ -684,4 +688,4 @@ interface UseGetResourcesByRegionOptions {
|
|
|
684
688
|
offset?: number;
|
|
685
689
|
}
|
|
686
690
|
|
|
687
|
-
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
|
|
691
|
+
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 PostResourceInput as aj, type PosterUsageType as ak, type PromoCodeType as al, type PuzzleAnswer as am, type PuzzleAnsweredQuestion as an, type PuzzleBaseGame as ao, type PuzzleGameData as ap, type PuzzleQuestion as aq, type RelatedPostType as ar, type RelationDate as as, type RelationInputType as at, type ResourceContactDetailsType as au, type ResourceDetails as av, type ResourceImageType as aw, type SocialMediaType 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 };
|
|
@@ -347,6 +347,14 @@ type PostContentFormData = {
|
|
|
347
347
|
contentOrder?: number | null;
|
|
348
348
|
contentType?: EnumPostContentType | null;
|
|
349
349
|
};
|
|
350
|
+
type PostResourceInput = {
|
|
351
|
+
resourceId: string;
|
|
352
|
+
resourceType: EnumResourceType;
|
|
353
|
+
resourceRegion: string;
|
|
354
|
+
};
|
|
355
|
+
type PostResource = PostResourceInput & {
|
|
356
|
+
resourceSlug?: string | null;
|
|
357
|
+
};
|
|
350
358
|
interface PostFormData {
|
|
351
359
|
active: boolean;
|
|
352
360
|
caption: string;
|
|
@@ -354,12 +362,7 @@ interface PostFormData {
|
|
|
354
362
|
cover?: ResourceImageType | null;
|
|
355
363
|
coverUpload?: PostFileInput | null;
|
|
356
364
|
postType: EnumPostType;
|
|
357
|
-
resource?:
|
|
358
|
-
resourceId: string;
|
|
359
|
-
resourceType: EnumResourceType;
|
|
360
|
-
resourceRegion: string;
|
|
361
|
-
resourceSlug: string;
|
|
362
|
-
} | null;
|
|
365
|
+
resource?: PostResourceInput | null;
|
|
363
366
|
tags?: string[] | null;
|
|
364
367
|
title: string;
|
|
365
368
|
notifyUsers?: boolean | null;
|
|
@@ -368,10 +371,11 @@ type CreatePostFormData = CreateFormData<PostFormData>;
|
|
|
368
371
|
type PostContentType = Omit<PostContentFormData, "contentData"> & {
|
|
369
372
|
contentData: Omit<PostContentData, "imagesUpload">;
|
|
370
373
|
};
|
|
371
|
-
type PostType = Omit<PostFormData, "content" | "coverUpload"> & {
|
|
374
|
+
type PostType = Omit<PostFormData, "content" | "coverUpload" | "resource"> & {
|
|
372
375
|
_id: string;
|
|
373
376
|
content: PostContentType[];
|
|
374
377
|
slug: string;
|
|
378
|
+
resource?: PostResource | null;
|
|
375
379
|
createdAt: Date;
|
|
376
380
|
deletedAt: Date | null;
|
|
377
381
|
updatedAt: Date | null;
|
|
@@ -684,4 +688,4 @@ interface UseGetResourcesByRegionOptions {
|
|
|
684
688
|
offset?: number;
|
|
685
689
|
}
|
|
686
690
|
|
|
687
|
-
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
|
|
691
|
+
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 PostResourceInput as aj, type PosterUsageType as ak, type PromoCodeType as al, type PuzzleAnswer as am, type PuzzleAnsweredQuestion as an, type PuzzleBaseGame as ao, type PuzzleGameData as ap, type PuzzleQuestion as aq, type RelatedPostType as ar, type RelationDate as as, type RelationInputType as at, type ResourceContactDetailsType as au, type ResourceDetails as av, type ResourceImageType as aw, type SocialMediaType 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 };
|