@timardex/cluemart-shared 1.3.53 → 1.3.55
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/{auth-DRTR-N6y.d.ts → auth-BD8pG4QE.d.ts} +1 -11
- package/dist/{auth-D2Xc44z-.d.mts → auth-Cp-vzzpW.d.mts} +1 -11
- package/dist/{chunk-T4ZRRNJA.mjs → chunk-IXPWY6CU.mjs} +2 -1
- package/dist/chunk-IXPWY6CU.mjs.map +1 -0
- package/dist/{chunk-6DQPQJ2R.mjs → chunk-O3WF2I56.mjs} +2 -2
- package/dist/enums/index.cjs +1 -0
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.mts +1 -0
- package/dist/enums/index.d.ts +1 -0
- package/dist/enums/index.mjs +1 -1
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +2 -2
- package/dist/graphql/index.cjs +62 -13
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +18 -4
- package/dist/graphql/index.d.ts +18 -4
- package/dist/graphql/index.mjs +59 -12
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.mjs +2 -2
- package/dist/index.cjs +63 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +19 -3
- package/dist/index.d.ts +19 -3
- package/dist/index.mjs +59 -11
- package/dist/index.mjs.map +1 -1
- package/dist/{post-D83V8snF.d.ts → post-Ccnm8wXU.d.ts} +12 -1
- package/dist/{post-CLTR6oRS.d.mts → post-DMNuE0Ba.d.mts} +12 -1
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-T4ZRRNJA.mjs.map +0 -1
- /package/dist/{chunk-6DQPQJ2R.mjs.map → chunk-O3WF2I56.mjs.map} +0 -0
package/dist/graphql/index.cjs
CHANGED
|
@@ -26,9 +26,9 @@ __export(graphql_exports, {
|
|
|
26
26
|
useAddUserInterestResource: () => useAddUserInterestResource,
|
|
27
27
|
useAddUserPresentResource: () => useAddUserPresentResource,
|
|
28
28
|
useAdminResendTesterVerificationEmail: () => useAdminResendTesterVerificationEmail,
|
|
29
|
+
useAdminResendUserVerificationEmail: () => useAdminResendUserVerificationEmail,
|
|
29
30
|
useAdminUpdateResourceType: () => useAdminUpdateResourceType,
|
|
30
31
|
useAdminUpdateTester: () => useAdminUpdateTester,
|
|
31
|
-
useAppVersionCheck: () => useAppVersionCheck,
|
|
32
32
|
useCancelSubscription: () => useCancelSubscription,
|
|
33
33
|
useContactUs: () => useContactUs,
|
|
34
34
|
useCreateAd: () => useCreateAd,
|
|
@@ -63,6 +63,7 @@ __export(graphql_exports, {
|
|
|
63
63
|
useGetAd: () => useGetAd,
|
|
64
64
|
useGetAds: () => useGetAds,
|
|
65
65
|
useGetAdsByRegion: () => useGetAdsByRegion,
|
|
66
|
+
useGetAppSettings: () => useGetAppSettings,
|
|
66
67
|
useGetChat: () => useGetChat,
|
|
67
68
|
useGetChatSubscription: () => useGetChatSubscription,
|
|
68
69
|
useGetEvent: () => useGetEvent,
|
|
@@ -120,6 +121,7 @@ __export(graphql_exports, {
|
|
|
120
121
|
useSelectPackage: () => useSelectPackage,
|
|
121
122
|
useSendChatMessage: () => useSendChatMessage,
|
|
122
123
|
useUpdateAd: () => useUpdateAd,
|
|
124
|
+
useUpdateAppSettings: () => useUpdateAppSettings,
|
|
123
125
|
useUpdateEvent: () => useUpdateEvent,
|
|
124
126
|
useUpdateEventInfo: () => useUpdateEventInfo,
|
|
125
127
|
useUpdatePartner: () => useUpdatePartner,
|
|
@@ -162,6 +164,11 @@ var ADMIN_RESEND_TESTER_VERIFICATION_EMAIL_MUTATION = import_client.gql`
|
|
|
162
164
|
adminResendTesterVerificationEmail(testerId: $testerId)
|
|
163
165
|
}
|
|
164
166
|
`;
|
|
167
|
+
var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = import_client.gql`
|
|
168
|
+
mutation adminResendUserVerificationEmail($userId: ID!) {
|
|
169
|
+
adminResendUserVerificationEmail(userId: $userId)
|
|
170
|
+
}
|
|
171
|
+
`;
|
|
165
172
|
|
|
166
173
|
// src/graphql/queries/event.ts
|
|
167
174
|
var import_client3 = require("@apollo/client");
|
|
@@ -925,6 +932,16 @@ var useAdminResendTesterVerificationEmail = () => {
|
|
|
925
932
|
loading
|
|
926
933
|
};
|
|
927
934
|
};
|
|
935
|
+
var useAdminResendUserVerificationEmail = () => {
|
|
936
|
+
const [adminResendUserVerificationEmail, { loading, error }] = (0, import_client6.useMutation)(
|
|
937
|
+
ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION
|
|
938
|
+
);
|
|
939
|
+
return {
|
|
940
|
+
adminResendUserVerificationEmail,
|
|
941
|
+
error,
|
|
942
|
+
loading
|
|
943
|
+
};
|
|
944
|
+
};
|
|
928
945
|
|
|
929
946
|
// src/graphql/hooks/auth.ts
|
|
930
947
|
var import_client8 = require("@apollo/client");
|
|
@@ -3370,26 +3387,56 @@ var useGetPostsByType = (postType) => {
|
|
|
3370
3387
|
};
|
|
3371
3388
|
|
|
3372
3389
|
// src/graphql/hooks/appSettings/hooksMutation.ts
|
|
3373
|
-
var
|
|
3390
|
+
var import_client65 = require("@apollo/client");
|
|
3374
3391
|
|
|
3375
3392
|
// src/graphql/mutations/appSettings.ts
|
|
3376
3393
|
var import_client63 = require("@apollo/client");
|
|
3377
|
-
var
|
|
3378
|
-
mutation
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3394
|
+
var UPDATE_APP_SETTINGS_MUTATION = import_client63.gql`
|
|
3395
|
+
mutation updateAppSettings($input: AppSettingsInputType!) {
|
|
3396
|
+
updateAppSettings(input: $input)
|
|
3397
|
+
}
|
|
3398
|
+
`;
|
|
3399
|
+
|
|
3400
|
+
// src/graphql/queries/appSettings.ts
|
|
3401
|
+
var import_client64 = require("@apollo/client");
|
|
3402
|
+
var APP_SETTINGS_FIELDS_FRAGMENT = import_client64.gql`
|
|
3403
|
+
fragment AppSettingsFields on AppSettingsType {
|
|
3404
|
+
_id
|
|
3405
|
+
appVersion
|
|
3406
|
+
createdAt
|
|
3407
|
+
key
|
|
3408
|
+
updatedAt
|
|
3409
|
+
}
|
|
3410
|
+
`;
|
|
3411
|
+
var GET_APP_SETTINGS = import_client64.gql`
|
|
3412
|
+
query getAppSettings {
|
|
3413
|
+
appSettings {
|
|
3414
|
+
...AppSettingsFields
|
|
3383
3415
|
}
|
|
3384
3416
|
}
|
|
3417
|
+
${APP_SETTINGS_FIELDS_FRAGMENT}
|
|
3385
3418
|
`;
|
|
3386
3419
|
|
|
3387
3420
|
// src/graphql/hooks/appSettings/hooksMutation.ts
|
|
3388
|
-
var
|
|
3389
|
-
const [
|
|
3390
|
-
|
|
3421
|
+
var useUpdateAppSettings = () => {
|
|
3422
|
+
const [updateAppSettings, { loading, error }] = (0, import_client65.useMutation)(
|
|
3423
|
+
UPDATE_APP_SETTINGS_MUTATION,
|
|
3424
|
+
{
|
|
3425
|
+
awaitRefetchQueries: true,
|
|
3426
|
+
refetchQueries: [{ query: GET_APP_SETTINGS }]
|
|
3427
|
+
}
|
|
3391
3428
|
);
|
|
3392
|
-
return {
|
|
3429
|
+
return { error, loading, updateAppSettings };
|
|
3430
|
+
};
|
|
3431
|
+
|
|
3432
|
+
// src/graphql/hooks/appSettings/hooksQuery.ts
|
|
3433
|
+
var import_client66 = require("@apollo/client");
|
|
3434
|
+
var useGetAppSettings = () => {
|
|
3435
|
+
const { loading, error, data, refetch } = (0, import_client66.useQuery)(GET_APP_SETTINGS, {
|
|
3436
|
+
fetchPolicy: "network-only"
|
|
3437
|
+
});
|
|
3438
|
+
const appSettings = data?.appSettings || null;
|
|
3439
|
+
return { appSettings, error, loading, refetch };
|
|
3393
3440
|
};
|
|
3394
3441
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3395
3442
|
0 && (module.exports = {
|
|
@@ -3399,9 +3446,9 @@ var useAppVersionCheck = () => {
|
|
|
3399
3446
|
useAddUserInterestResource,
|
|
3400
3447
|
useAddUserPresentResource,
|
|
3401
3448
|
useAdminResendTesterVerificationEmail,
|
|
3449
|
+
useAdminResendUserVerificationEmail,
|
|
3402
3450
|
useAdminUpdateResourceType,
|
|
3403
3451
|
useAdminUpdateTester,
|
|
3404
|
-
useAppVersionCheck,
|
|
3405
3452
|
useCancelSubscription,
|
|
3406
3453
|
useContactUs,
|
|
3407
3454
|
useCreateAd,
|
|
@@ -3436,6 +3483,7 @@ var useAppVersionCheck = () => {
|
|
|
3436
3483
|
useGetAd,
|
|
3437
3484
|
useGetAds,
|
|
3438
3485
|
useGetAdsByRegion,
|
|
3486
|
+
useGetAppSettings,
|
|
3439
3487
|
useGetChat,
|
|
3440
3488
|
useGetChatSubscription,
|
|
3441
3489
|
useGetEvent,
|
|
@@ -3493,6 +3541,7 @@ var useAppVersionCheck = () => {
|
|
|
3493
3541
|
useSelectPackage,
|
|
3494
3542
|
useSendChatMessage,
|
|
3495
3543
|
useUpdateAd,
|
|
3544
|
+
useUpdateAppSettings,
|
|
3496
3545
|
useUpdateEvent,
|
|
3497
3546
|
useUpdateEventInfo,
|
|
3498
3547
|
useUpdatePartner,
|