@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.
@@ -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-4G0uUe2Y.mjs';
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?: EnumEventDateStatus | null;
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-DNG_KXig.js';
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?: EnumEventDateStatus | null;
39
+ dateStatus: EnumEventDateStatus;
40
40
  resourceId: string;
41
41
  startDate: string;
42
42
  startTime: string;
@@ -1,4 +1,4 @@
1
- import { x as CreateFormData, T as TermsAgreement } from './global-4G0uUe2Y.mjs';
1
+ import { x as CreateFormData, T as TermsAgreement } from './global-qg1lwtYo.mjs';
2
2
  import { EnumOSPlatform } from './enums/index.mjs';
3
3
 
4
4
  type ContactUsFormData = {
@@ -1,4 +1,4 @@
1
- import { x as CreateFormData, T as TermsAgreement } from './global-DNG_KXig.js';
1
+ import { x as CreateFormData, T as TermsAgreement } from './global-Be5v6emI.js';
2
2
  import { EnumOSPlatform } from './enums/index.js';
3
3
 
4
4
  type ContactUsFormData = {
@@ -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-4G0uUe2Y.mjs';
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-DNG_KXig.js';
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, EnumEventDateStatus, EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumSocialMedia } from './enums/index.js';
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?: EnumEventDateStatus | null;
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, EnumEventDateStatus, EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumSocialMedia } from './enums/index.mjs';
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?: EnumEventDateStatus | null;
256
+ dateStatus: EnumEventDateStatus;
258
257
  endDate: string;
259
258
  endTime: string;
260
259
  startDate: string;
@@ -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
- email
830
+ userAvatar
831
+ userEmail
829
832
  userId
830
833
  userName
831
834
  }