@timardex/cluemart-shared 1.0.99 → 1.1.0
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/{chunk-ORGSRTC4.mjs → chunk-MNT626FO.mjs} +2 -2
- package/dist/{chunk-JIL6JFWC.mjs → chunk-THXIIQ2K.mjs} +13 -7
- package/dist/chunk-THXIIQ2K.mjs.map +1 -0
- package/dist/enums/index.cjs +14 -7
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.mts +8 -4
- package/dist/enums/index.d.ts +8 -4
- package/dist/enums/index.mjs +5 -3
- 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-BKSOBGXQ.d.ts → global-BBjHo_Lg.d.ts} +0 -2
- package/dist/{global-BliF-Fia.d.mts → global-DcpQzfP1.d.mts} +0 -2
- package/dist/graphql/index.cjs +2 -5
- 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 +3 -6
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +6 -6
- 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 +4 -4
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +17 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +12 -9
- package/dist/index.d.ts +12 -9
- package/dist/index.mjs +15 -12
- package/dist/index.mjs.map +1 -1
- package/dist/{notification-C8o4coJt.d.ts → notification-BBO1auKM.d.mts} +4 -2
- package/dist/{notification-C717ZvTP.d.mts → notification-CAZUXK48.d.ts} +4 -2
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.mjs +1 -1
- package/dist/{user-BxMCacsk.d.mts → user-CV-BmRBv.d.mts} +4 -4
- package/dist/{user-9NMUOjRI.d.ts → user-fRxENVMF.d.ts} +4 -4
- package/dist/utils/index.cjs.map +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-JIL6JFWC.mjs.map +0 -1
- /package/dist/{chunk-ORGSRTC4.mjs.map → chunk-MNT626FO.mjs.map} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -10,6 +10,10 @@ declare enum EnumInviteStatus {
|
|
|
10
10
|
REJECTED = "Rejected",
|
|
11
11
|
WAITING = "Waiting"
|
|
12
12
|
}
|
|
13
|
+
declare enum EnumChatType {
|
|
14
|
+
GROUP = "group",
|
|
15
|
+
PRIVATE = "private"
|
|
16
|
+
}
|
|
13
17
|
declare enum EnumPaymentMethod {
|
|
14
18
|
CASH = "cash",
|
|
15
19
|
EFTPOS = "eftpos",
|
|
@@ -21,9 +25,9 @@ declare enum EnumResourceType {
|
|
|
21
25
|
MARKET = "market",
|
|
22
26
|
STALLHOLDER = "stallholder"
|
|
23
27
|
}
|
|
24
|
-
declare enum
|
|
25
|
-
ANDROID = "
|
|
26
|
-
IOS = "
|
|
28
|
+
declare enum EnumOSPlatform {
|
|
29
|
+
ANDROID = "android",
|
|
30
|
+
IOS = "ios"
|
|
27
31
|
}
|
|
28
32
|
declare enum EnumRelationResource {
|
|
29
33
|
MARKET_INVITE_STALLHOLDER = "market_invite_stallholder",
|
|
@@ -274,10 +278,8 @@ interface BaseResourceTypeFormData {
|
|
|
274
278
|
socialMedia?: SocialMediaType[] | null;
|
|
275
279
|
}
|
|
276
280
|
type OwnerType = {
|
|
277
|
-
avatar: string | null;
|
|
278
281
|
email: string;
|
|
279
282
|
licences: string[];
|
|
280
|
-
name: string;
|
|
281
283
|
userId: string;
|
|
282
284
|
};
|
|
283
285
|
type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload"> & {
|
|
@@ -473,9 +475,10 @@ interface ChatMessageType {
|
|
|
473
475
|
}
|
|
474
476
|
interface ChatType {
|
|
475
477
|
_id: string;
|
|
478
|
+
chatName: string;
|
|
479
|
+
chatType: EnumChatType;
|
|
476
480
|
createdAt: string;
|
|
477
481
|
messages: ChatMessageType[];
|
|
478
|
-
name: string;
|
|
479
482
|
participants: ParticipantType[];
|
|
480
483
|
updatedAt: string;
|
|
481
484
|
}
|
|
@@ -537,7 +540,7 @@ type TestersFormData = {
|
|
|
537
540
|
email: string;
|
|
538
541
|
firstName: string;
|
|
539
542
|
lastName: string;
|
|
540
|
-
osType:
|
|
543
|
+
osType: EnumOSPlatform;
|
|
541
544
|
resourceType: EnumResourceType;
|
|
542
545
|
};
|
|
543
546
|
interface CreateTestersFormData {
|
|
@@ -558,7 +561,7 @@ type TesterType = {
|
|
|
558
561
|
email: string;
|
|
559
562
|
firstName: string;
|
|
560
563
|
lastName: string;
|
|
561
|
-
osType:
|
|
564
|
+
osType: EnumOSPlatform;
|
|
562
565
|
resourceType: EnumResourceType;
|
|
563
566
|
updatedAt: string;
|
|
564
567
|
};
|
|
@@ -1264,4 +1267,4 @@ declare const availableRegionOptions: OptionItem[];
|
|
|
1264
1267
|
declare const paymentMethodOptions: OptionItem[];
|
|
1265
1268
|
declare function normalizeUrl(url: string): string;
|
|
1266
1269
|
|
|
1267
|
-
export { type AdminUpdateResourceType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateLoginFormData, type CreateMarketFormData, type CreateMarketInfoFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateStallholderFormData, type CreateStallholderInfoFormData, type CreateTestersFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type DateTimeType, type DateTimeWithPriceType, EnumInviteStatus, EnumNotification, EnumNotificationType,
|
|
1270
|
+
export { type AdminUpdateResourceType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateLoginFormData, type CreateMarketFormData, type CreateMarketInfoFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateStallholderFormData, type CreateStallholderInfoFormData, type CreateTestersFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type DateTimeType, type DateTimeWithPriceType, EnumChatType, EnumInviteStatus, EnumNotification, EnumNotificationType, EnumOSPlatform, EnumPaymentMethod, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumUserLicence, EnumUserRole, type FormDateField, type FormField, type GeocodeLocation, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type MarketFormData, type MarketInfoFormData, type MarketInfoType, type MarketType, type MarketWithConnectionDatesType, type NotificationCount, type NotificationType, type Nullable, type OptionItem, type OwnerType, type ParticipantType, type PaymentInfoType, type PlacePrediction, type PosterInputType, type Region, type RegisterFormData, type RelationDate, type RelationType, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceConnectionsType, type ResourceImageType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SatllholderWithConnectionDatesType, type SocialMediaType, type StallType, type StallholderAttributes, type StallholderFormData, type StallholderInfoFormData, type StallholderInfoType, type StallholderLocation, type StallholderType, type Subcategory, type SubcategoryItems, type TesterType, type TestersFormData, USER_STORAGE_KEY, type UserFormData, type UserType, type ValidateVerificationTokenFormData, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, contactUsFields, darkColors, dateFormat, defaultMarketFormValues, defaultMarketInfoFormValues, defaultRegion, defaultStallholderFormValues, defaultStallholderInfoFormValues, fonts, formatDate, formatTimestamp, getCurrentAndFutureDates, globalDefaultValues, isFutureDatesBeforeThreshold, lightColors, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, marketBasicInfoFields, marketEndDateFields, marketInfo, marketInfoPaymentInfo, marketStartDateFields, normalizeUrl, packagingOptions, paymentMethodOptions, producedIngOptions, profileFields, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, stallholderBasicInfoFields, stallholderElectricity, stallholderEndDateFields, stallholderFullAddress, stallholderGazebo, stallholderLocationDescription, stallholderMultiLocation, stallholderPackaging, stallholderPaymentMethod, stallholderPriceRange, stallholderProducedIn, stallholderStallSize, stallholderStartDateFields, stallholderTable, statusOptions, tagOptions, testersFields, timeFormat, truncateText, useAddParticipantToChat, useAddUserFavouriteResource, useAdminUpdateResourceType, useContactUs, useContactUsForm, useCreateBulkNotifications, useCreateMarket, useCreateMarketInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateStallholder, useCreateStallholderInfo, useCreateTester, useCreateUser, useDeleteChat, useDeleteMarket, useDeleteNotification, useDeleteRelation, useDeleteStallholder, useDeleteTester, useDeleteUser, useGetChat, useGetChatSubscription, useGetMarket, useGetMarketInfo, useGetMarketRelations, useGetMarkets, useGetMarketsByRegion, useGetMarketsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetRelation, useGetRelationByMarketAndStallholder, useGetResourceConnections, useGetStallholder, useGetStallholderInfo, useGetStallholderRelations, useGetStallholders, useGetStallholdersByRegion, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserFavourites, useGetUserMarkets, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserStallholder, useGetUsers, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useMarketForm, useMarketInfoForm, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchMarkets, useSearchStallholders, useSendChatMessage, useStallholderForm, useStallholderInfoForm, useTestersForm, useUpdateMarket, useUpdateMarketInfo, useUpdateRelation, useUpdateStallholder, useUpdateStallholderInfo, useUpdateTester, useUpdateUser, useUserForm, useValidateVerificationToken, useValidateVerificationTokenForm, validateVerificationTokenFields };
|
package/dist/index.d.ts
CHANGED
|
@@ -10,6 +10,10 @@ declare enum EnumInviteStatus {
|
|
|
10
10
|
REJECTED = "Rejected",
|
|
11
11
|
WAITING = "Waiting"
|
|
12
12
|
}
|
|
13
|
+
declare enum EnumChatType {
|
|
14
|
+
GROUP = "group",
|
|
15
|
+
PRIVATE = "private"
|
|
16
|
+
}
|
|
13
17
|
declare enum EnumPaymentMethod {
|
|
14
18
|
CASH = "cash",
|
|
15
19
|
EFTPOS = "eftpos",
|
|
@@ -21,9 +25,9 @@ declare enum EnumResourceType {
|
|
|
21
25
|
MARKET = "market",
|
|
22
26
|
STALLHOLDER = "stallholder"
|
|
23
27
|
}
|
|
24
|
-
declare enum
|
|
25
|
-
ANDROID = "
|
|
26
|
-
IOS = "
|
|
28
|
+
declare enum EnumOSPlatform {
|
|
29
|
+
ANDROID = "android",
|
|
30
|
+
IOS = "ios"
|
|
27
31
|
}
|
|
28
32
|
declare enum EnumRelationResource {
|
|
29
33
|
MARKET_INVITE_STALLHOLDER = "market_invite_stallholder",
|
|
@@ -274,10 +278,8 @@ interface BaseResourceTypeFormData {
|
|
|
274
278
|
socialMedia?: SocialMediaType[] | null;
|
|
275
279
|
}
|
|
276
280
|
type OwnerType = {
|
|
277
|
-
avatar: string | null;
|
|
278
281
|
email: string;
|
|
279
282
|
licences: string[];
|
|
280
|
-
name: string;
|
|
281
283
|
userId: string;
|
|
282
284
|
};
|
|
283
285
|
type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload"> & {
|
|
@@ -473,9 +475,10 @@ interface ChatMessageType {
|
|
|
473
475
|
}
|
|
474
476
|
interface ChatType {
|
|
475
477
|
_id: string;
|
|
478
|
+
chatName: string;
|
|
479
|
+
chatType: EnumChatType;
|
|
476
480
|
createdAt: string;
|
|
477
481
|
messages: ChatMessageType[];
|
|
478
|
-
name: string;
|
|
479
482
|
participants: ParticipantType[];
|
|
480
483
|
updatedAt: string;
|
|
481
484
|
}
|
|
@@ -537,7 +540,7 @@ type TestersFormData = {
|
|
|
537
540
|
email: string;
|
|
538
541
|
firstName: string;
|
|
539
542
|
lastName: string;
|
|
540
|
-
osType:
|
|
543
|
+
osType: EnumOSPlatform;
|
|
541
544
|
resourceType: EnumResourceType;
|
|
542
545
|
};
|
|
543
546
|
interface CreateTestersFormData {
|
|
@@ -558,7 +561,7 @@ type TesterType = {
|
|
|
558
561
|
email: string;
|
|
559
562
|
firstName: string;
|
|
560
563
|
lastName: string;
|
|
561
|
-
osType:
|
|
564
|
+
osType: EnumOSPlatform;
|
|
562
565
|
resourceType: EnumResourceType;
|
|
563
566
|
updatedAt: string;
|
|
564
567
|
};
|
|
@@ -1264,4 +1267,4 @@ declare const availableRegionOptions: OptionItem[];
|
|
|
1264
1267
|
declare const paymentMethodOptions: OptionItem[];
|
|
1265
1268
|
declare function normalizeUrl(url: string): string;
|
|
1266
1269
|
|
|
1267
|
-
export { type AdminUpdateResourceType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateLoginFormData, type CreateMarketFormData, type CreateMarketInfoFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateStallholderFormData, type CreateStallholderInfoFormData, type CreateTestersFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type DateTimeType, type DateTimeWithPriceType, EnumInviteStatus, EnumNotification, EnumNotificationType,
|
|
1270
|
+
export { type AdminUpdateResourceType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateLoginFormData, type CreateMarketFormData, type CreateMarketInfoFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateStallholderFormData, type CreateStallholderInfoFormData, type CreateTestersFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type DateTimeType, type DateTimeWithPriceType, EnumChatType, EnumInviteStatus, EnumNotification, EnumNotificationType, EnumOSPlatform, EnumPaymentMethod, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumUserLicence, EnumUserRole, type FormDateField, type FormField, type GeocodeLocation, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type MarketFormData, type MarketInfoFormData, type MarketInfoType, type MarketType, type MarketWithConnectionDatesType, type NotificationCount, type NotificationType, type Nullable, type OptionItem, type OwnerType, type ParticipantType, type PaymentInfoType, type PlacePrediction, type PosterInputType, type Region, type RegisterFormData, type RelationDate, type RelationType, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceConnectionsType, type ResourceImageType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SatllholderWithConnectionDatesType, type SocialMediaType, type StallType, type StallholderAttributes, type StallholderFormData, type StallholderInfoFormData, type StallholderInfoType, type StallholderLocation, type StallholderType, type Subcategory, type SubcategoryItems, type TesterType, type TestersFormData, USER_STORAGE_KEY, type UserFormData, type UserType, type ValidateVerificationTokenFormData, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, contactUsFields, darkColors, dateFormat, defaultMarketFormValues, defaultMarketInfoFormValues, defaultRegion, defaultStallholderFormValues, defaultStallholderInfoFormValues, fonts, formatDate, formatTimestamp, getCurrentAndFutureDates, globalDefaultValues, isFutureDatesBeforeThreshold, lightColors, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, marketBasicInfoFields, marketEndDateFields, marketInfo, marketInfoPaymentInfo, marketStartDateFields, normalizeUrl, packagingOptions, paymentMethodOptions, producedIngOptions, profileFields, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, stallholderBasicInfoFields, stallholderElectricity, stallholderEndDateFields, stallholderFullAddress, stallholderGazebo, stallholderLocationDescription, stallholderMultiLocation, stallholderPackaging, stallholderPaymentMethod, stallholderPriceRange, stallholderProducedIn, stallholderStallSize, stallholderStartDateFields, stallholderTable, statusOptions, tagOptions, testersFields, timeFormat, truncateText, useAddParticipantToChat, useAddUserFavouriteResource, useAdminUpdateResourceType, useContactUs, useContactUsForm, useCreateBulkNotifications, useCreateMarket, useCreateMarketInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateStallholder, useCreateStallholderInfo, useCreateTester, useCreateUser, useDeleteChat, useDeleteMarket, useDeleteNotification, useDeleteRelation, useDeleteStallholder, useDeleteTester, useDeleteUser, useGetChat, useGetChatSubscription, useGetMarket, useGetMarketInfo, useGetMarketRelations, useGetMarkets, useGetMarketsByRegion, useGetMarketsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetRelation, useGetRelationByMarketAndStallholder, useGetResourceConnections, useGetStallholder, useGetStallholderInfo, useGetStallholderRelations, useGetStallholders, useGetStallholdersByRegion, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserFavourites, useGetUserMarkets, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserStallholder, useGetUsers, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useMarketForm, useMarketInfoForm, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchMarkets, useSearchStallholders, useSendChatMessage, useStallholderForm, useStallholderInfoForm, useTestersForm, useUpdateMarket, useUpdateMarketInfo, useUpdateRelation, useUpdateStallholder, useUpdateStallholderInfo, useUpdateTester, useUpdateUser, useUserForm, useValidateVerificationToken, useValidateVerificationTokenForm, validateVerificationTokenFields };
|
package/dist/index.mjs
CHANGED
|
@@ -9,6 +9,11 @@ var EnumInviteStatus = /* @__PURE__ */ ((EnumInviteStatus2) => {
|
|
|
9
9
|
EnumInviteStatus2["WAITING"] = "Waiting";
|
|
10
10
|
return EnumInviteStatus2;
|
|
11
11
|
})(EnumInviteStatus || {});
|
|
12
|
+
var EnumChatType = /* @__PURE__ */ ((EnumChatType2) => {
|
|
13
|
+
EnumChatType2["GROUP"] = "group";
|
|
14
|
+
EnumChatType2["PRIVATE"] = "private";
|
|
15
|
+
return EnumChatType2;
|
|
16
|
+
})(EnumChatType || {});
|
|
12
17
|
var EnumPaymentMethod = /* @__PURE__ */ ((EnumPaymentMethod2) => {
|
|
13
18
|
EnumPaymentMethod2["CASH"] = "cash";
|
|
14
19
|
EnumPaymentMethod2["EFTPOS"] = "eftpos";
|
|
@@ -22,11 +27,11 @@ var EnumResourceType = /* @__PURE__ */ ((EnumResourceType2) => {
|
|
|
22
27
|
EnumResourceType2["STALLHOLDER"] = "stallholder";
|
|
23
28
|
return EnumResourceType2;
|
|
24
29
|
})(EnumResourceType || {});
|
|
25
|
-
var
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
return
|
|
29
|
-
})(
|
|
30
|
+
var EnumOSPlatform = /* @__PURE__ */ ((EnumOSPlatform2) => {
|
|
31
|
+
EnumOSPlatform2["ANDROID"] = "android";
|
|
32
|
+
EnumOSPlatform2["IOS"] = "ios";
|
|
33
|
+
return EnumOSPlatform2;
|
|
34
|
+
})(EnumOSPlatform || {});
|
|
30
35
|
var EnumRelationResource = /* @__PURE__ */ ((EnumRelationResource2) => {
|
|
31
36
|
EnumRelationResource2["MARKET_INVITE_STALLHOLDER"] = "market_invite_stallholder";
|
|
32
37
|
EnumRelationResource2["STALLHOLDER_APPLICATION_TO_MARKET"] = "stallholder_application_to_market";
|
|
@@ -1827,10 +1832,8 @@ var RESOURCE_IMAGE_FIELDS_FRAGMENT = gql2`
|
|
|
1827
1832
|
`;
|
|
1828
1833
|
var OWNER_FIELDS_FRAGMENT = gql2`
|
|
1829
1834
|
fragment OwnerFields on OwnerType {
|
|
1830
|
-
avatar
|
|
1831
1835
|
email
|
|
1832
1836
|
licences
|
|
1833
|
-
name
|
|
1834
1837
|
userId
|
|
1835
1838
|
}
|
|
1836
1839
|
`;
|
|
@@ -2317,15 +2320,14 @@ var CHAT_MESSAGE_FIELDS_FRAGMENT = gql6`
|
|
|
2317
2320
|
var CHAT_FIELDS_FRAGMENT = gql6`
|
|
2318
2321
|
fragment ChatFields on ChatType {
|
|
2319
2322
|
_id
|
|
2323
|
+
chatName
|
|
2324
|
+
chatType
|
|
2320
2325
|
createdAt
|
|
2321
2326
|
messages {
|
|
2322
2327
|
...ChatMessageFields
|
|
2323
2328
|
}
|
|
2324
|
-
name
|
|
2325
2329
|
participants {
|
|
2326
|
-
avatar
|
|
2327
2330
|
email
|
|
2328
|
-
name
|
|
2329
2331
|
userId
|
|
2330
2332
|
}
|
|
2331
2333
|
updatedAt
|
|
@@ -4168,7 +4170,7 @@ var testersSchema = yup6.object().shape({
|
|
|
4168
4170
|
email: emailSchema,
|
|
4169
4171
|
firstName: yup6.string().required("First name is required"),
|
|
4170
4172
|
lastName: yup6.string().required("Last name is required"),
|
|
4171
|
-
osType: yup6.mixed().oneOf(Object.values(
|
|
4173
|
+
osType: yup6.mixed().oneOf(Object.values(EnumOSPlatform), "Please select Android or iOS device").required("OS Type is required"),
|
|
4172
4174
|
resourceType: yup6.mixed().oneOf(
|
|
4173
4175
|
Object.values(EnumResourceType),
|
|
4174
4176
|
"Please select Market or Stallholder"
|
|
@@ -5023,10 +5025,11 @@ var EnumNotificationType = ((EnumNotificationType2) => {
|
|
|
5023
5025
|
return EnumNotificationType2;
|
|
5024
5026
|
})(EnumNotificationType || {});
|
|
5025
5027
|
export {
|
|
5028
|
+
EnumChatType,
|
|
5026
5029
|
EnumInviteStatus,
|
|
5027
5030
|
EnumNotification,
|
|
5028
5031
|
EnumNotificationType,
|
|
5029
|
-
|
|
5032
|
+
EnumOSPlatform,
|
|
5030
5033
|
EnumPaymentMethod,
|
|
5031
5034
|
EnumRegions,
|
|
5032
5035
|
EnumRelationResource,
|