@timardex/cluemart-shared 2.0.13 → 2.0.14
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-DtHc-l0P.d.ts → ad-C6QfVk6L.d.ts} +6 -1
- package/dist/{ad-uqMx-9wk.d.mts → ad-Dm8ht5tc.d.mts} +6 -1
- package/dist/{chunk-DS2Y6BNU.mjs → chunk-BO7IQ33V.mjs} +10 -3
- package/dist/{chunk-DS2Y6BNU.mjs.map → chunk-BO7IQ33V.mjs.map} +1 -1
- package/dist/{chunk-AUWZYZK5.mjs → chunk-ZUXHEXJU.mjs} +2 -2
- package/dist/{chunk-AUWZYZK5.mjs.map → chunk-ZUXHEXJU.mjs.map} +1 -1
- package/dist/formFields/index.cjs +1 -1
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +1 -1
- package/dist/graphql/index.cjs +9 -2
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +4 -2
- package/dist/graphql/index.d.ts +4 -2
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +23 -1
- 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 +21 -3
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +10 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +9 -2
- package/dist/index.d.ts +9 -2
- package/dist/index.mjs +10 -3
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -15,7 +15,12 @@ interface PartnerType extends BaseResourceType {
|
|
|
15
15
|
partnerType: EnumPartnerType;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
type AdSettingsFormData = {
|
|
19
|
+
mobileDisplayEnabled: boolean;
|
|
20
|
+
webDisplayEnabled: boolean;
|
|
21
|
+
};
|
|
18
22
|
interface AppSettingsFormData {
|
|
23
|
+
adSettings: AdSettingsFormData;
|
|
19
24
|
appVersion: string;
|
|
20
25
|
isOfflineMode: boolean;
|
|
21
26
|
minimumRedeemableAffiliatePoints: number;
|
|
@@ -247,4 +252,4 @@ type AdSettingsType = {
|
|
|
247
252
|
rotationSeconds: number;
|
|
248
253
|
};
|
|
249
254
|
|
|
250
|
-
export { type AuthMutationResponse as A,
|
|
255
|
+
export { type AuthMutationResponse as A, EnumAdBookingSlotKind as B, type CreateLoginFormData as C, EnumAdBookingState as D, EnumAdStatus as E, EnumAdEntitlementSource as F, EnumAdPaymentStatus as G, EnumAdShowOn as H, EnumAdStyle as I, EnumAdType as J, EnumVerificationType as K, type LoginFormData as L, type MarketingMaterialRequestInputType as M, type PosterInputType as N, type RefreshTokenPayloadType as O, type PartnerType as P, type RegisterFormData as Q, type RefreshTokenMutationResponse as R, type SchoolType as S, type RequestPasswordResetFormData as T, type ResetPasswordFormData as U, type SchoolCampaignType as V, type SchoolRegisteredUserType as W, type ValidateVerificationTokenFormData as X, type AdType as a, type AppSettingsType as b, type SchoolReturnType as c, type CreateRegisterFormData as d, type CreateRequestPasswordResetFormData as e, type CreateValidateVerificationTokenFormData as f, type CreateResetPasswordFormData as g, type PartnerFormData as h, type AdFormData as i, type CreateAdFormState as j, type CreatePartnerFormData as k, type AppSettingsFormData as l, type CreateAppSettingsFormData as m, type SchoolFormData as n, type CreateSchoolFormData as o, type AdBookingType as p, type AdDailyPriceKey as q, type AdDailyPriceType as r, type AdFormState as s, type AdPlacement as t, type AdResource as u, type AdSettingsFormData as v, type AdSettingsType as w, type AuthPayloadType as x, type CreateAdFormData as y, EnumAdApprovalStatus as z };
|
|
@@ -15,7 +15,12 @@ interface PartnerType extends BaseResourceType {
|
|
|
15
15
|
partnerType: EnumPartnerType;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
type AdSettingsFormData = {
|
|
19
|
+
mobileDisplayEnabled: boolean;
|
|
20
|
+
webDisplayEnabled: boolean;
|
|
21
|
+
};
|
|
18
22
|
interface AppSettingsFormData {
|
|
23
|
+
adSettings: AdSettingsFormData;
|
|
19
24
|
appVersion: string;
|
|
20
25
|
isOfflineMode: boolean;
|
|
21
26
|
minimumRedeemableAffiliatePoints: number;
|
|
@@ -247,4 +252,4 @@ type AdSettingsType = {
|
|
|
247
252
|
rotationSeconds: number;
|
|
248
253
|
};
|
|
249
254
|
|
|
250
|
-
export { type AuthMutationResponse as A,
|
|
255
|
+
export { type AuthMutationResponse as A, EnumAdBookingSlotKind as B, type CreateLoginFormData as C, EnumAdBookingState as D, EnumAdStatus as E, EnumAdEntitlementSource as F, EnumAdPaymentStatus as G, EnumAdShowOn as H, EnumAdStyle as I, EnumAdType as J, EnumVerificationType as K, type LoginFormData as L, type MarketingMaterialRequestInputType as M, type PosterInputType as N, type RefreshTokenPayloadType as O, type PartnerType as P, type RegisterFormData as Q, type RefreshTokenMutationResponse as R, type SchoolType as S, type RequestPasswordResetFormData as T, type ResetPasswordFormData as U, type SchoolCampaignType as V, type SchoolRegisteredUserType as W, type ValidateVerificationTokenFormData as X, type AdType as a, type AppSettingsType as b, type SchoolReturnType as c, type CreateRegisterFormData as d, type CreateRequestPasswordResetFormData as e, type CreateValidateVerificationTokenFormData as f, type CreateResetPasswordFormData as g, type PartnerFormData as h, type AdFormData as i, type CreateAdFormState as j, type CreatePartnerFormData as k, type AppSettingsFormData as l, type CreateAppSettingsFormData as m, type SchoolFormData as n, type CreateSchoolFormData as o, type AdBookingType as p, type AdDailyPriceKey as q, type AdDailyPriceType as r, type AdFormState as s, type AdPlacement as t, type AdResource as u, type AdSettingsFormData as v, type AdSettingsType as w, type AuthPayloadType as x, type CreateAdFormData as y, EnumAdApprovalStatus as z };
|
|
@@ -2923,6 +2923,10 @@ import { gql as gql31 } from "@apollo/client";
|
|
|
2923
2923
|
var APP_SETTINGS_FIELDS_FRAGMENT = gql31`
|
|
2924
2924
|
fragment AppSettingsFields on AppSettingsType {
|
|
2925
2925
|
_id
|
|
2926
|
+
adSettings {
|
|
2927
|
+
mobileDisplayEnabled
|
|
2928
|
+
webDisplayEnabled
|
|
2929
|
+
}
|
|
2926
2930
|
appVersion
|
|
2927
2931
|
createdAt
|
|
2928
2932
|
isOfflineMode
|
|
@@ -2959,9 +2963,12 @@ var useUpdateGoogleImportedMarkets = () => {
|
|
|
2959
2963
|
|
|
2960
2964
|
// src/graphql/hooks/appSettings/hooksQuery.ts
|
|
2961
2965
|
import { useQuery as useQuery11 } from "@apollo/client";
|
|
2962
|
-
var useGetAppSettings = (
|
|
2966
|
+
var useGetAppSettings = ({
|
|
2967
|
+
skip = false
|
|
2968
|
+
} = {}) => {
|
|
2963
2969
|
const { loading, error, data, refetch } = useQuery11(GET_APP_SETTINGS, {
|
|
2964
|
-
fetchPolicy: "network-only"
|
|
2970
|
+
fetchPolicy: "network-only",
|
|
2971
|
+
skip
|
|
2965
2972
|
});
|
|
2966
2973
|
const appSettings = data?.appSettings || null;
|
|
2967
2974
|
return { appSettings, error, loading, refetch };
|
|
@@ -4351,4 +4358,4 @@ export {
|
|
|
4351
4358
|
useGetCoupon,
|
|
4352
4359
|
usePaginatedList
|
|
4353
4360
|
};
|
|
4354
|
-
//# sourceMappingURL=chunk-
|
|
4361
|
+
//# sourceMappingURL=chunk-BO7IQ33V.mjs.map
|