@timardex/cluemart-shared 1.4.11 → 1.4.12
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-CgzvvFjw.d.ts → auth-4POOgdmv.d.mts} +3 -4
- package/dist/{auth-BNhymOFs.d.mts → auth-sm3mg_Sb.d.ts} +3 -4
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-D5dNxa5e.d.mts → global-DdNUoIKL.d.ts} +7 -2
- package/dist/{global-x5DE08tD.d.ts → global-DhBPsOLv.d.mts} +7 -2
- package/dist/graphql/index.cjs +22 -13
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +3 -3
- package/dist/graphql/index.d.ts +3 -3
- package/dist/graphql/index.mjs +22 -13
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/index.cjs +22 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +25 -15
- package/dist/index.d.ts +25 -15
- package/dist/index.mjs +22 -13
- package/dist/index.mjs.map +1 -1
- package/dist/{post-DDDWdbHZ.d.ts → post-BrPnb6Kq.d.ts} +20 -15
- package/dist/{post-BnXA5t_U.d.mts → post-CwX4M6ze.d.mts} +20 -15
- package/dist/{resourceActivities-C9XUSb9n.d.ts → resourceActivities-BaEic0VS.d.ts} +1 -1
- package/dist/{resourceActivities-CtfWc2rd.d.mts → resourceActivities-D2pZ8AdX.d.mts} +1 -1
- 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.map +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { K as CreateFormData, T as TermsAgreement } from './global-
|
|
2
|
-
import { EnumOSPlatform } from './enums/index.js';
|
|
1
|
+
import { K as CreateFormData, Q as AppMetaDataType, T as TermsAgreement } from './global-DhBPsOLv.mjs';
|
|
3
2
|
|
|
4
3
|
type ContactUsFormData = {
|
|
5
4
|
email: string;
|
|
@@ -18,7 +17,7 @@ type LoginFormData = {
|
|
|
18
17
|
email: string;
|
|
19
18
|
isAdminPage?: boolean;
|
|
20
19
|
password: string;
|
|
21
|
-
|
|
20
|
+
appMetadata?: AppMetaDataType | null;
|
|
22
21
|
};
|
|
23
22
|
type CreateLoginFormData = CreateFormData<LoginFormData>;
|
|
24
23
|
type RegisterFormData = {
|
|
@@ -26,7 +25,7 @@ type RegisterFormData = {
|
|
|
26
25
|
firstName: string;
|
|
27
26
|
lastName: string;
|
|
28
27
|
password: string;
|
|
29
|
-
|
|
28
|
+
appMetadata?: AppMetaDataType | null;
|
|
30
29
|
preferredRegion: string;
|
|
31
30
|
termsAgreement?: TermsAgreement | null;
|
|
32
31
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { K as CreateFormData, T as TermsAgreement } from './global-
|
|
2
|
-
import { EnumOSPlatform } from './enums/index.mjs';
|
|
1
|
+
import { K as CreateFormData, Q as AppMetaDataType, T as TermsAgreement } from './global-DdNUoIKL.js';
|
|
3
2
|
|
|
4
3
|
type ContactUsFormData = {
|
|
5
4
|
email: string;
|
|
@@ -18,7 +17,7 @@ type LoginFormData = {
|
|
|
18
17
|
email: string;
|
|
19
18
|
isAdminPage?: boolean;
|
|
20
19
|
password: string;
|
|
21
|
-
|
|
20
|
+
appMetadata?: AppMetaDataType | null;
|
|
22
21
|
};
|
|
23
22
|
type CreateLoginFormData = CreateFormData<LoginFormData>;
|
|
24
23
|
type RegisterFormData = {
|
|
@@ -26,7 +25,7 @@ type RegisterFormData = {
|
|
|
26
25
|
firstName: string;
|
|
27
26
|
lastName: string;
|
|
28
27
|
password: string;
|
|
29
|
-
|
|
28
|
+
appMetadata?: AppMetaDataType | null;
|
|
30
29
|
preferredRegion: string;
|
|
31
30
|
termsAgreement?: TermsAgreement | null;
|
|
32
31
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-
|
|
1
|
+
import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-DhBPsOLv.mjs';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.mjs';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-
|
|
1
|
+
import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-DdNUoIKL.js';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.js';
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldValues, Control, FormState, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
|
|
2
|
-
import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumEventDateStatus, EnumUserLicence, EnumSocialMedia } from './enums/index.
|
|
2
|
+
import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumEventDateStatus, EnumUserLicence, EnumSocialMedia, EnumOSPlatform } from './enums/index.js';
|
|
3
3
|
|
|
4
4
|
type RelationDate = {
|
|
5
5
|
dateTime: DateTimeType & {
|
|
@@ -394,5 +394,10 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
394
394
|
setValue: UseFormSetValue<T>;
|
|
395
395
|
watch: UseFormWatch<T>;
|
|
396
396
|
}
|
|
397
|
+
type AppMetaDataType = {
|
|
398
|
+
appVersion: string | null;
|
|
399
|
+
platform: EnumOSPlatform | null;
|
|
400
|
+
buildNumber: string | null;
|
|
401
|
+
};
|
|
397
402
|
|
|
398
|
-
export type {
|
|
403
|
+
export type { UnregisteredVendorInvitationType as $, AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventListItemType as E, FormField as F, GeocodeLocation as G, SubcategoryItems as H, Subcategory as I, ImageObjectType as J, CreateFormData as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PosterUsageType as P, AppMetaDataType as Q, Requirement as R, StallType as S, TermsAgreement as T, UnregisteredVendorType as U, VendorType as V, DateTimeWithPriceType as W, PaymentInfoType as X, VendorLocation as Y, VendorMenuType as Z, VendorAttributes as _, FormDateField as a, CreateUnregisteredVendorFormData as a0, EventType as b, EventInfoType as c, RelationType as d, ResourceConnectionsType as e, VendorInfoType as f, UserLicenceType as g, VendorFormData as h, CreateVendorFormData as i, VendorInfoFormData as j, CreateVendorInfoFormData as k, EventFormData as l, CreateEventFormData as m, EventInfoFormData as n, CreateEventInfoFormData as o, UnregisteredVendorFormData as p, ResourceImageType as q, RelationDate as r, DeviceInfo as s, ResourceContactDetailsType as t, SocialMediaType as u, OwnerType as v, BaseResourceType as w, LocationGeoType as x, Region as y, EventStatusType as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldValues, Control, FormState, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
|
|
2
|
-
import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumEventDateStatus, EnumUserLicence, EnumSocialMedia } from './enums/index.
|
|
2
|
+
import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumEventDateStatus, EnumUserLicence, EnumSocialMedia, EnumOSPlatform } from './enums/index.mjs';
|
|
3
3
|
|
|
4
4
|
type RelationDate = {
|
|
5
5
|
dateTime: DateTimeType & {
|
|
@@ -394,5 +394,10 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
394
394
|
setValue: UseFormSetValue<T>;
|
|
395
395
|
watch: UseFormWatch<T>;
|
|
396
396
|
}
|
|
397
|
+
type AppMetaDataType = {
|
|
398
|
+
appVersion: string | null;
|
|
399
|
+
platform: EnumOSPlatform | null;
|
|
400
|
+
buildNumber: string | null;
|
|
401
|
+
};
|
|
397
402
|
|
|
398
|
-
export type {
|
|
403
|
+
export type { UnregisteredVendorInvitationType as $, AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventListItemType as E, FormField as F, GeocodeLocation as G, SubcategoryItems as H, Subcategory as I, ImageObjectType as J, CreateFormData as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PosterUsageType as P, AppMetaDataType as Q, Requirement as R, StallType as S, TermsAgreement as T, UnregisteredVendorType as U, VendorType as V, DateTimeWithPriceType as W, PaymentInfoType as X, VendorLocation as Y, VendorMenuType as Z, VendorAttributes as _, FormDateField as a, CreateUnregisteredVendorFormData as a0, EventType as b, EventInfoType as c, RelationType as d, ResourceConnectionsType as e, VendorInfoType as f, UserLicenceType as g, VendorFormData as h, CreateVendorFormData as i, VendorInfoFormData as j, CreateVendorInfoFormData as k, EventFormData as l, CreateEventFormData as m, EventInfoFormData as n, CreateEventInfoFormData as o, UnregisteredVendorFormData as p, ResourceImageType as q, RelationDate as r, DeviceInfo as s, ResourceContactDetailsType as t, SocialMediaType as u, OwnerType as v, BaseResourceType as w, LocationGeoType as x, Region as y, EventStatusType as z };
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -300,35 +300,44 @@ var USER_FIELDS_FRAGMENT = import_client2.gql`
|
|
|
300
300
|
fragment UserFields on UserType {
|
|
301
301
|
_id
|
|
302
302
|
active
|
|
303
|
+
appMetadata {
|
|
304
|
+
appVersion
|
|
305
|
+
platform
|
|
306
|
+
buildNumber
|
|
307
|
+
}
|
|
303
308
|
associates {
|
|
304
309
|
...AssociatesFields
|
|
305
310
|
}
|
|
306
|
-
avatar {
|
|
307
|
-
...ResourceImageFields
|
|
308
|
-
}
|
|
309
311
|
createdAt
|
|
310
312
|
deletedAt
|
|
311
|
-
email
|
|
312
|
-
events
|
|
313
|
-
firstName
|
|
314
313
|
isTester
|
|
315
|
-
lastName
|
|
316
314
|
licences {
|
|
317
315
|
...LicenceFields
|
|
318
316
|
}
|
|
319
|
-
partner
|
|
320
|
-
platform
|
|
321
|
-
preferredRegion
|
|
322
317
|
refreshToken
|
|
323
|
-
|
|
318
|
+
resources {
|
|
319
|
+
events
|
|
320
|
+
partner
|
|
321
|
+
vendor
|
|
322
|
+
}
|
|
324
323
|
termsAgreement {
|
|
325
324
|
...TermsAgreementFields
|
|
326
325
|
}
|
|
326
|
+
updatedAt
|
|
327
327
|
userActivity {
|
|
328
328
|
...UserActivityFields
|
|
329
329
|
}
|
|
330
|
-
|
|
331
|
-
|
|
330
|
+
userDetails {
|
|
331
|
+
avatar {
|
|
332
|
+
...ResourceImageFields
|
|
333
|
+
}
|
|
334
|
+
email
|
|
335
|
+
firstName
|
|
336
|
+
lastName
|
|
337
|
+
password
|
|
338
|
+
preferredRegion
|
|
339
|
+
role
|
|
340
|
+
}
|
|
332
341
|
}
|
|
333
342
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
334
343
|
${ASSOCIATES_FIELDS_FRAGMENT}
|