@timardex/cluemart-shared 1.2.45 → 1.2.47
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-DImOqRKc.d.mts → ad-BWRIcE3i.d.mts} +2 -2
- package/dist/{ad-BpsSYGOd.d.ts → ad-WPUxx9MQ.d.ts} +2 -2
- package/dist/{auth-ASeQbrMo.d.mts → auth-CQPRj4DB.d.mts} +1 -1
- package/dist/{auth-DFjTVwMp.d.ts → auth-OLWCR6Zr.d.ts} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-DNG_KXig.d.ts → global-Be5v6emI.d.ts} +5 -6
- package/dist/{global-4G0uUe2Y.d.mts → global-qg1lwtYo.d.mts} +5 -6
- package/dist/graphql/index.cjs +12 -9
- 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 +12 -9
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +15 -0
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/index.mjs +2 -0
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +13 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +7 -9
- package/dist/index.d.ts +7 -9
- package/dist/index.mjs +13 -9
- package/dist/index.mjs.map +1 -1
- package/dist/{resourceActivities-D4wHT387.d.mts → resourceActivities-BUFJqkMf.d.mts} +2 -3
- package/dist/{resourceActivities-DNZ3blut.d.ts → resourceActivities-BjvoQkGD.d.ts} +2 -3
- package/dist/types/index.d.mts +4 -4
- package/dist/types/index.d.ts +4 -4
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnumOSPlatform, EnumResourceType, EnumUserLicence, EnumUserRole, EnumEventDateStatus } from './enums/index.mjs';
|
|
2
|
-
import { C as Category, x as CreateFormData, o as ResourceImageType, P as PartnerType, T as TermsAgreement, p as SocialMediaType } from './global-
|
|
2
|
+
import { C as Category, x as CreateFormData, o as ResourceImageType, P as PartnerType, T as TermsAgreement, p as SocialMediaType } from './global-qg1lwtYo.mjs';
|
|
3
3
|
|
|
4
4
|
interface TestersFormData {
|
|
5
5
|
categories?: Category[] | null;
|
|
@@ -36,7 +36,7 @@ type UserFormData = {
|
|
|
36
36
|
};
|
|
37
37
|
type CreateUserFormData = CreateFormData<UserFormData>;
|
|
38
38
|
type UserActivityEvent = {
|
|
39
|
-
dateStatus
|
|
39
|
+
dateStatus: EnumEventDateStatus;
|
|
40
40
|
resourceId: string;
|
|
41
41
|
startDate: string;
|
|
42
42
|
startTime: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnumOSPlatform, EnumResourceType, EnumUserLicence, EnumUserRole, EnumEventDateStatus } from './enums/index.js';
|
|
2
|
-
import { C as Category, x as CreateFormData, o as ResourceImageType, P as PartnerType, T as TermsAgreement, p as SocialMediaType } from './global-
|
|
2
|
+
import { C as Category, x as CreateFormData, o as ResourceImageType, P as PartnerType, T as TermsAgreement, p as SocialMediaType } from './global-Be5v6emI.js';
|
|
3
3
|
|
|
4
4
|
interface TestersFormData {
|
|
5
5
|
categories?: Category[] | null;
|
|
@@ -36,7 +36,7 @@ type UserFormData = {
|
|
|
36
36
|
};
|
|
37
37
|
type CreateUserFormData = CreateFormData<UserFormData>;
|
|
38
38
|
type UserActivityEvent = {
|
|
39
|
-
dateStatus
|
|
39
|
+
dateStatus: EnumEventDateStatus;
|
|
40
40
|
resourceId: string;
|
|
41
41
|
startDate: string;
|
|
42
42
|
startTime: string;
|
|
@@ -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-qg1lwtYo.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-Be5v6emI.js';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.js';
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldValues, Control, FieldErrors, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
|
|
2
|
-
import { EnumEventType, EnumPaymentMethod,
|
|
2
|
+
import { EnumEventType, EnumPaymentMethod, EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumSocialMedia, EnumEventDateStatus } from './enums/index.js';
|
|
3
3
|
|
|
4
4
|
type StallType = {
|
|
5
5
|
label: string;
|
|
@@ -60,15 +60,14 @@ type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
type RelationDate = {
|
|
63
|
+
dateTime: DateTimeType & {
|
|
64
|
+
stallType: StallType | null;
|
|
65
|
+
};
|
|
63
66
|
lastUpdateBy: {
|
|
64
67
|
resourceId: string;
|
|
65
68
|
userEmail: string;
|
|
66
69
|
};
|
|
67
|
-
dateStatus?: EnumEventDateStatus | null;
|
|
68
70
|
paymentReference?: string;
|
|
69
|
-
stallType: StallType | null;
|
|
70
|
-
startDate: string;
|
|
71
|
-
startTime: string;
|
|
72
71
|
status: EnumInviteStatus;
|
|
73
72
|
};
|
|
74
73
|
interface RelationType {
|
|
@@ -254,7 +253,7 @@ type LocationType = {
|
|
|
254
253
|
type: "Point";
|
|
255
254
|
};
|
|
256
255
|
type DateTimeType = {
|
|
257
|
-
dateStatus
|
|
256
|
+
dateStatus: EnumEventDateStatus;
|
|
258
257
|
endDate: string;
|
|
259
258
|
endTime: string;
|
|
260
259
|
startDate: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldValues, Control, FieldErrors, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
|
|
2
|
-
import { EnumEventType, EnumPaymentMethod,
|
|
2
|
+
import { EnumEventType, EnumPaymentMethod, EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumSocialMedia, EnumEventDateStatus } from './enums/index.mjs';
|
|
3
3
|
|
|
4
4
|
type StallType = {
|
|
5
5
|
label: string;
|
|
@@ -60,15 +60,14 @@ type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
type RelationDate = {
|
|
63
|
+
dateTime: DateTimeType & {
|
|
64
|
+
stallType: StallType | null;
|
|
65
|
+
};
|
|
63
66
|
lastUpdateBy: {
|
|
64
67
|
resourceId: string;
|
|
65
68
|
userEmail: string;
|
|
66
69
|
};
|
|
67
|
-
dateStatus?: EnumEventDateStatus | null;
|
|
68
70
|
paymentReference?: string;
|
|
69
|
-
stallType: StallType | null;
|
|
70
|
-
startDate: string;
|
|
71
|
-
startTime: string;
|
|
72
71
|
status: EnumInviteStatus;
|
|
73
72
|
};
|
|
74
73
|
interface RelationType {
|
|
@@ -254,7 +253,7 @@ type LocationType = {
|
|
|
254
253
|
type: "Point";
|
|
255
254
|
};
|
|
256
255
|
type DateTimeType = {
|
|
257
|
-
dateStatus
|
|
256
|
+
dateStatus: EnumEventDateStatus;
|
|
258
257
|
endDate: string;
|
|
259
258
|
endTime: string;
|
|
260
259
|
startDate: string;
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -272,17 +272,21 @@ var STALL_TYPE_FIELDS_FRAGMENT = import_client2.gql`
|
|
|
272
272
|
`;
|
|
273
273
|
var RELATION_DATES_FRAGMENT = import_client2.gql`
|
|
274
274
|
fragment RelationDates on RelationDateType {
|
|
275
|
+
dateTime {
|
|
276
|
+
dateStatus
|
|
277
|
+
endDate
|
|
278
|
+
endTime
|
|
279
|
+
startDate
|
|
280
|
+
startTime
|
|
281
|
+
stallType {
|
|
282
|
+
...StallTypeFields
|
|
283
|
+
}
|
|
284
|
+
}
|
|
275
285
|
lastUpdateBy {
|
|
276
286
|
resourceId
|
|
277
287
|
userEmail
|
|
278
288
|
}
|
|
279
289
|
paymentReference
|
|
280
|
-
stallType {
|
|
281
|
-
...StallTypeFields
|
|
282
|
-
}
|
|
283
|
-
dateStatus
|
|
284
|
-
startDate
|
|
285
|
-
startTime
|
|
286
290
|
status
|
|
287
291
|
}
|
|
288
292
|
${STALL_TYPE_FIELDS_FRAGMENT}
|
|
@@ -816,16 +820,15 @@ var CHAT_MESSAGE_FIELDS_FRAGMENT = import_client8.gql`
|
|
|
816
820
|
_id
|
|
817
821
|
content
|
|
818
822
|
createdAt
|
|
819
|
-
senderAvatar
|
|
820
823
|
senderId
|
|
821
|
-
senderName
|
|
822
824
|
updatedAt
|
|
823
825
|
}
|
|
824
826
|
`;
|
|
825
827
|
var CHAT_PARTICIPANT = import_client8.gql`
|
|
826
828
|
fragment ChatParticipantFields on ChatParticipantType {
|
|
827
829
|
active
|
|
828
|
-
|
|
830
|
+
userAvatar
|
|
831
|
+
userEmail
|
|
829
832
|
userId
|
|
830
833
|
userName
|
|
831
834
|
}
|