@timardex/cluemart-shared 2.0.12 → 2.0.13
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-C0Bj_eGN.d.ts → ad-DtHc-l0P.d.ts} +2 -2
- package/dist/{ad-CeDLxQL8.d.mts → ad-uqMx-9wk.d.mts} +2 -2
- package/dist/{affiliate-uYPfJgBo.d.mts → affiliate-6NsbC06m.d.mts} +2 -2
- package/dist/{affiliate-DLK84S2l.d.ts → affiliate-CYnVduRf.d.ts} +2 -2
- package/dist/auth/index.cjs +6 -5
- package/dist/auth/index.cjs.map +1 -1
- package/dist/auth/index.d.mts +3 -3
- package/dist/auth/index.d.ts +3 -3
- package/dist/auth/index.mjs +1 -1
- package/dist/{chunk-73BS32W3.mjs → chunk-DS2Y6BNU.mjs} +4 -4
- package/dist/chunk-DS2Y6BNU.mjs.map +1 -0
- package/dist/{chunk-ZTSH4DLC.mjs → chunk-VHYU2BPC.mjs} +2 -2
- package/dist/{chunk-Q2WXGSIP.mjs → chunk-XU65BXAM.mjs} +1 -1
- package/dist/chunk-XU65BXAM.mjs.map +1 -0
- package/dist/{chunk-LLH3ONZD.mjs → chunk-ZSSVU6GY.mjs} +7 -6
- package/dist/chunk-ZSSVU6GY.mjs.map +1 -0
- package/dist/{contactUs-BcNiRkKi.d.ts → contactUs-DYgB9q7k.d.ts} +1 -1
- package/dist/{contactUs-B5pS4Ujk.d.mts → contactUs-DcSnfzb5.d.mts} +1 -1
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/formFields/index.mjs +2 -2
- package/dist/{global-C2HkzCU8.d.ts → global-DwPcHR4_.d.mts} +25 -2
- package/dist/{global-Ck3IWQnZ.d.mts → global-s3frnbGC.d.ts} +25 -2
- package/dist/graphql/index.cjs +8 -7
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +5 -5
- package/dist/graphql/index.d.ts +5 -5
- package/dist/graphql/index.mjs +2 -2
- package/dist/hooks/index.cjs +8 -7
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +5 -5
- package/dist/hooks/index.d.ts +5 -5
- package/dist/hooks/index.mjs +4 -4
- package/dist/index.cjs +8 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +24 -1
- package/dist/index.d.ts +24 -1
- package/dist/index.mjs +8 -7
- 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-CY2_3DQd.d.ts → resourceActivities-CJ2ivv01.d.ts} +1 -1
- package/dist/{resourceActivities-BVBLKeKm.d.mts → resourceActivities-D9-mYXe8.d.mts} +1 -1
- package/dist/sharing/index.d.mts +1 -1
- package/dist/sharing/index.d.ts +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +7 -7
- package/dist/types/index.d.ts +7 -7
- package/dist/types/index.mjs +1 -1
- package/dist/{user-B8cTGROe.d.ts → user-CteW0WdG.d.ts} +1 -1
- package/dist/{user-CjV_JvEs.d.mts → user-Ml-C8k8S.d.mts} +1 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +3 -3
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-73BS32W3.mjs.map +0 -1
- package/dist/chunk-LLH3ONZD.mjs.map +0 -1
- package/dist/chunk-Q2WXGSIP.mjs.map +0 -1
- /package/dist/{chunk-ZTSH4DLC.mjs.map → chunk-VHYU2BPC.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-DwPcHR4_.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-s3frnbGC.js';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.js';
|
|
4
4
|
|
|
@@ -46,9 +46,9 @@ import {
|
|
|
46
46
|
import {
|
|
47
47
|
availableCategories,
|
|
48
48
|
categoryColors
|
|
49
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-VHYU2BPC.mjs";
|
|
50
50
|
import "../chunk-UH6POK3Y.mjs";
|
|
51
|
-
import "../chunk-
|
|
51
|
+
import "../chunk-XU65BXAM.mjs";
|
|
52
52
|
import "../chunk-RAYUJODN.mjs";
|
|
53
53
|
import "../chunk-DQ7ZHIXW.mjs";
|
|
54
54
|
import "../chunk-7DQBUZXY.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldValues, Control, FormState, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch, UseFormGetValues } from 'react-hook-form';
|
|
2
|
-
import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumEventDateStatus, EnumSocialMedia, EnumUserRole } from './enums/index.
|
|
2
|
+
import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumEventDateStatus, EnumSocialMedia, EnumPartnerType, EnumUserRole } from './enums/index.mjs';
|
|
3
3
|
|
|
4
4
|
type RelationDate = {
|
|
5
5
|
dateTime: DateTimeType & {
|
|
@@ -839,9 +839,32 @@ interface UserListFilter {
|
|
|
839
839
|
role?: EnumUserRole | null;
|
|
840
840
|
search?: string | null;
|
|
841
841
|
}
|
|
842
|
+
/** Server-side filter input for the admin partners list query. */
|
|
843
|
+
interface PartnerListFilter {
|
|
844
|
+
active?: boolean | null;
|
|
845
|
+
partnerType?: EnumPartnerType | null;
|
|
846
|
+
search?: string | null;
|
|
847
|
+
}
|
|
848
|
+
/** Server-side filter input for the admin vendors list query. */
|
|
849
|
+
interface VendorListFilter {
|
|
850
|
+
active?: boolean | null;
|
|
851
|
+
search?: string | null;
|
|
852
|
+
}
|
|
853
|
+
/** Server-side filter input for the admin events list query. */
|
|
854
|
+
interface EventListFilter {
|
|
855
|
+
active?: boolean | null;
|
|
856
|
+
claimed?: boolean | null;
|
|
857
|
+
search?: string | null;
|
|
858
|
+
}
|
|
859
|
+
/** Server-side filter input for the admin posts list query. */
|
|
860
|
+
interface PostListFilter {
|
|
861
|
+
active?: boolean | null;
|
|
862
|
+
postType?: EnumPostType | null;
|
|
863
|
+
search?: string | null;
|
|
864
|
+
}
|
|
842
865
|
interface UseGetResourcesByRegionOptions extends PaginationOptions {
|
|
843
866
|
onlyClaimed?: boolean;
|
|
844
867
|
skip?: boolean;
|
|
845
868
|
}
|
|
846
869
|
|
|
847
|
-
export { type CouponPurchaseOption as $, type CreatePostFormData as A, type BaseResourceTypeFormData as B, type Category as C, type CouponDefaultsFormData as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateCouponFormData as H, type Region as I, type BaseGameMap as J, type BaseGameType as K, type LocationType as L, type MutationResponse as M, type BaseResourceType as N, type OptionItem as O, type PosterUsageType as P, type CouponCodeType as Q, type RefundPolicy as R, type StallType as S, type CouponDataProductsType as T, type UseGetResourcesByRegionOptions as U, type VendorClaimTokenValidation as V, type CouponDataType as W, type CouponMarketPassportOption as X, type CouponMarketVisitOption as Y, type CouponOption as Z, type CouponParticipantUserType as _, type FormDateField as a,
|
|
870
|
+
export { type CouponPurchaseOption as $, type CreatePostFormData as A, type BaseResourceTypeFormData as B, type Category as C, type CouponDefaultsFormData as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateCouponFormData as H, type Region as I, type BaseGameMap as J, type BaseGameType as K, type LocationType as L, type MutationResponse as M, type BaseResourceType as N, type OptionItem as O, type PosterUsageType as P, type CouponCodeType as Q, type RefundPolicy as R, type StallType as S, type CouponDataProductsType as T, type UseGetResourcesByRegionOptions as U, type VendorClaimTokenValidation as V, type CouponDataType as W, type CouponMarketPassportOption as X, type CouponMarketVisitOption as Y, type CouponOption as Z, type CouponParticipantUserType as _, type FormDateField as a, type VendorCalendarData as a$, type CouponVendorProduct as a0, type CreateFormData as a1, type DailyClueBaseGame as a2, type DailyClueGameData as a3, type DateTimeType as a4, type DateTimeWithPriceType as a5, type DeviceInfo as a6, EnumCouponListType as a7, EnumCouponQualificationType as a8, EnumGameStatus as a9, type PostContentType as aA, type PostContentVideo as aB, type PostFileInput as aC, type PostListFilter as aD, type PostResource as aE, type ProductCoupon as aF, type PromoCodeType as aG, type PuzzleAnswer as aH, type PuzzleAnsweredQuestion as aI, type PuzzleBaseGame as aJ, type PuzzleGameData as aK, type PuzzleQuestion as aL, type RelatedPostType as aM, type RelationDate as aN, type RelationInputType as aO, type ResourceContactDetailsType as aP, type ResourceDetails as aQ, type ResourceImageType as aR, type SocialMediaType as aS, type SocialShareResourceType as aT, type Subcategory as aU, type SubcategoryItems as aV, type TermsAgreement as aW, type UnregisteredVendorInvitationType as aX, type UserListFilter as aY, type VendorAttributes as aZ, type VendorAvailability as a_, EnumGameType as aa, EnumPostContentType as ab, EnumPostType as ac, type EventListFilter as ad, type EventStatusType as ae, type GameDate as af, type GameHistory as ag, type GamePlacement as ah, type GamePlacementClue as ai, type GameType as aj, type GeocodeLocation as ak, type GlobalGameData as al, type ImageObjectType as am, type LocationGeoType as an, type Nullable as ao, type OwnerType as ap, PROMO_CODE_PREFIX as aq, type PaginationOptions as ar, type PartnerListFilter as as, type PaymentInfoType as at, type PostContentData as au, type PostContentFormData as av, type PostContentGame as aw, type PostContentImage as ax, type PostContentList as ay, type PostContentTextarea as az, type Requirement as b, type VendorDowngradeSnapshot as b0, type VendorListFilter as b1, type VendorProductList as b2, gameScreenIdentifierList as b3, gameTypeToDisplayName as b4, type EventListItemType as c, type EventInfoType as d, type RelationType as e, type ResourceConnectionsType as f, type UnregisteredVendorType as g, type VendorType as h, type VendorInfoType as i, type MyPendingVendorClaim as j, type UserLicenceType as k, type PostType as l, type GameLeaderboard as m, type CouponType as n, type CouponTypeList as o, type VendorFormData as p, type CreateVendorFormData as q, type VendorInfoFormData as r, type CreateVendorInfoFormData as s, type UnregisteredVendorFormData as t, type CreateUnregisteredVendorFormData as u, type EventFormData as v, type CreateEventFormData as w, type EventInfoFormData as x, type CreateEventInfoFormData as y, type PostFormData as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldValues, Control, FormState, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch, UseFormGetValues } from 'react-hook-form';
|
|
2
|
-
import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumEventDateStatus, EnumSocialMedia, EnumUserRole } from './enums/index.
|
|
2
|
+
import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumEventDateStatus, EnumSocialMedia, EnumPartnerType, EnumUserRole } from './enums/index.js';
|
|
3
3
|
|
|
4
4
|
type RelationDate = {
|
|
5
5
|
dateTime: DateTimeType & {
|
|
@@ -839,9 +839,32 @@ interface UserListFilter {
|
|
|
839
839
|
role?: EnumUserRole | null;
|
|
840
840
|
search?: string | null;
|
|
841
841
|
}
|
|
842
|
+
/** Server-side filter input for the admin partners list query. */
|
|
843
|
+
interface PartnerListFilter {
|
|
844
|
+
active?: boolean | null;
|
|
845
|
+
partnerType?: EnumPartnerType | null;
|
|
846
|
+
search?: string | null;
|
|
847
|
+
}
|
|
848
|
+
/** Server-side filter input for the admin vendors list query. */
|
|
849
|
+
interface VendorListFilter {
|
|
850
|
+
active?: boolean | null;
|
|
851
|
+
search?: string | null;
|
|
852
|
+
}
|
|
853
|
+
/** Server-side filter input for the admin events list query. */
|
|
854
|
+
interface EventListFilter {
|
|
855
|
+
active?: boolean | null;
|
|
856
|
+
claimed?: boolean | null;
|
|
857
|
+
search?: string | null;
|
|
858
|
+
}
|
|
859
|
+
/** Server-side filter input for the admin posts list query. */
|
|
860
|
+
interface PostListFilter {
|
|
861
|
+
active?: boolean | null;
|
|
862
|
+
postType?: EnumPostType | null;
|
|
863
|
+
search?: string | null;
|
|
864
|
+
}
|
|
842
865
|
interface UseGetResourcesByRegionOptions extends PaginationOptions {
|
|
843
866
|
onlyClaimed?: boolean;
|
|
844
867
|
skip?: boolean;
|
|
845
868
|
}
|
|
846
869
|
|
|
847
|
-
export { type CouponPurchaseOption as $, type CreatePostFormData as A, type BaseResourceTypeFormData as B, type Category as C, type CouponDefaultsFormData as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateCouponFormData as H, type Region as I, type BaseGameMap as J, type BaseGameType as K, type LocationType as L, type MutationResponse as M, type BaseResourceType as N, type OptionItem as O, type PosterUsageType as P, type CouponCodeType as Q, type RefundPolicy as R, type StallType as S, type CouponDataProductsType as T, type UseGetResourcesByRegionOptions as U, type VendorClaimTokenValidation as V, type CouponDataType as W, type CouponMarketPassportOption as X, type CouponMarketVisitOption as Y, type CouponOption as Z, type CouponParticipantUserType as _, type FormDateField as a,
|
|
870
|
+
export { type CouponPurchaseOption as $, type CreatePostFormData as A, type BaseResourceTypeFormData as B, type Category as C, type CouponDefaultsFormData as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateCouponFormData as H, type Region as I, type BaseGameMap as J, type BaseGameType as K, type LocationType as L, type MutationResponse as M, type BaseResourceType as N, type OptionItem as O, type PosterUsageType as P, type CouponCodeType as Q, type RefundPolicy as R, type StallType as S, type CouponDataProductsType as T, type UseGetResourcesByRegionOptions as U, type VendorClaimTokenValidation as V, type CouponDataType as W, type CouponMarketPassportOption as X, type CouponMarketVisitOption as Y, type CouponOption as Z, type CouponParticipantUserType as _, type FormDateField as a, type VendorCalendarData as a$, type CouponVendorProduct as a0, type CreateFormData as a1, type DailyClueBaseGame as a2, type DailyClueGameData as a3, type DateTimeType as a4, type DateTimeWithPriceType as a5, type DeviceInfo as a6, EnumCouponListType as a7, EnumCouponQualificationType as a8, EnumGameStatus as a9, type PostContentType as aA, type PostContentVideo as aB, type PostFileInput as aC, type PostListFilter as aD, type PostResource as aE, type ProductCoupon as aF, type PromoCodeType as aG, type PuzzleAnswer as aH, type PuzzleAnsweredQuestion as aI, type PuzzleBaseGame as aJ, type PuzzleGameData as aK, type PuzzleQuestion as aL, type RelatedPostType as aM, type RelationDate as aN, type RelationInputType as aO, type ResourceContactDetailsType as aP, type ResourceDetails as aQ, type ResourceImageType as aR, type SocialMediaType as aS, type SocialShareResourceType as aT, type Subcategory as aU, type SubcategoryItems as aV, type TermsAgreement as aW, type UnregisteredVendorInvitationType as aX, type UserListFilter as aY, type VendorAttributes as aZ, type VendorAvailability as a_, EnumGameType as aa, EnumPostContentType as ab, EnumPostType as ac, type EventListFilter as ad, type EventStatusType as ae, type GameDate as af, type GameHistory as ag, type GamePlacement as ah, type GamePlacementClue as ai, type GameType as aj, type GeocodeLocation as ak, type GlobalGameData as al, type ImageObjectType as am, type LocationGeoType as an, type Nullable as ao, type OwnerType as ap, PROMO_CODE_PREFIX as aq, type PaginationOptions as ar, type PartnerListFilter as as, type PaymentInfoType as at, type PostContentData as au, type PostContentFormData as av, type PostContentGame as aw, type PostContentImage as ax, type PostContentList as ay, type PostContentTextarea as az, type Requirement as b, type VendorDowngradeSnapshot as b0, type VendorListFilter as b1, type VendorProductList as b2, gameScreenIdentifierList as b3, gameTypeToDisplayName as b4, type EventListItemType as c, type EventInfoType as d, type RelationType as e, type ResourceConnectionsType as f, type UnregisteredVendorType as g, type VendorType as h, type VendorInfoType as i, type MyPendingVendorClaim as j, type UserLicenceType as k, type PostType as l, type GameLeaderboard as m, type CouponType as n, type CouponTypeList as o, type VendorFormData as p, type CreateVendorFormData as q, type VendorInfoFormData as r, type CreateVendorInfoFormData as s, type UnregisteredVendorFormData as t, type CreateUnregisteredVendorFormData as u, type EventFormData as v, type CreateEventFormData as w, type EventInfoFormData as x, type CreateEventInfoFormData as y, type PostFormData as z };
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -654,8 +654,9 @@ var GET_EVENTS = import_client2.gql`
|
|
|
654
654
|
query getEvents(
|
|
655
655
|
$dateStatus: EventDateStatusEnumType
|
|
656
656
|
$options: PaginationOptions
|
|
657
|
+
$filter: EventListFilter
|
|
657
658
|
) {
|
|
658
|
-
events(dateStatus: $dateStatus, options: $options) {
|
|
659
|
+
events(dateStatus: $dateStatus, options: $options, filter: $filter) {
|
|
659
660
|
...EventListItemFields
|
|
660
661
|
}
|
|
661
662
|
}
|
|
@@ -960,8 +961,8 @@ var UNREGISTERED_VENDOR = import_client3.gql`
|
|
|
960
961
|
${UNREGISTERED_VENDOR_INVITATION_FRAGMENT}
|
|
961
962
|
`;
|
|
962
963
|
var GET_VENDORS = import_client3.gql`
|
|
963
|
-
query getVendors($options: PaginationOptions) {
|
|
964
|
-
vendors(options: $options) {
|
|
964
|
+
query getVendors($options: PaginationOptions, $filter: VendorListFilter) {
|
|
965
|
+
vendors(options: $options, filter: $filter) {
|
|
965
966
|
...VendorFields
|
|
966
967
|
}
|
|
967
968
|
}
|
|
@@ -1204,8 +1205,8 @@ var PARTNER = import_client5.gql`
|
|
|
1204
1205
|
${SOCIAL_SHARE_RESOURCE_FIELDS_FRAGMENT}
|
|
1205
1206
|
`;
|
|
1206
1207
|
var GET_PARTNERS = import_client5.gql`
|
|
1207
|
-
query getPartners($options: PaginationOptions) {
|
|
1208
|
-
partners(options: $options) {
|
|
1208
|
+
query getPartners($options: PaginationOptions, $filter: PartnerListFilter) {
|
|
1209
|
+
partners(options: $options, filter: $filter) {
|
|
1209
1210
|
...PartnerFields
|
|
1210
1211
|
}
|
|
1211
1212
|
}
|
|
@@ -1421,8 +1422,8 @@ var POST_FIELDS_FRAGMENT = import_client8.gql`
|
|
|
1421
1422
|
${SOCIAL_SHARE_RESOURCE_FIELDS_FRAGMENT}
|
|
1422
1423
|
`;
|
|
1423
1424
|
var GET_POSTS = import_client8.gql`
|
|
1424
|
-
query getPosts($options: PaginationOptions) {
|
|
1425
|
-
posts(options: $options) {
|
|
1425
|
+
query getPosts($options: PaginationOptions, $filter: PostListFilter) {
|
|
1426
|
+
posts(options: $options, filter: $filter) {
|
|
1426
1427
|
...PostFields
|
|
1427
1428
|
}
|
|
1428
1429
|
}
|