@timardex/cluemart-shared 1.2.80 → 1.2.82

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, EnumPartnerType } from './enums/index.mjs';
2
- import { C as Category, H as CreateFormData, v as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, t as SocialMediaType } from './global-B5H2ZG1e.mjs';
2
+ import { C as Category, H as CreateFormData, v as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, t as SocialMediaType } from './global-CLsysATK.mjs';
3
3
 
4
4
  interface TesterFormData {
5
5
  approved: boolean;
@@ -1,5 +1,5 @@
1
1
  import { EnumOSPlatform, EnumResourceType, EnumPartnerType } from './enums/index.js';
2
- import { C as Category, H as CreateFormData, v as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, t as SocialMediaType } from './global-DMEHvs8T.js';
2
+ import { C as Category, H as CreateFormData, v as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, t as SocialMediaType } from './global-BYQMdxtO.js';
3
3
 
4
4
  interface TesterFormData {
5
5
  approved: boolean;
@@ -1,4 +1,4 @@
1
- import { H as CreateFormData, T as TermsAgreement } from './global-DMEHvs8T.js';
1
+ import { H as CreateFormData, T as TermsAgreement } from './global-BYQMdxtO.js';
2
2
  import { EnumOSPlatform } from './enums/index.js';
3
3
 
4
4
  type ContactUsFormData = {
@@ -1,4 +1,4 @@
1
- import { H as CreateFormData, T as TermsAgreement } from './global-B5H2ZG1e.mjs';
1
+ import { H as CreateFormData, T as TermsAgreement } from './global-CLsysATK.mjs';
2
2
  import { EnumOSPlatform } from './enums/index.mjs';
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-B5H2ZG1e.mjs';
1
+ import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-CLsysATK.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-DMEHvs8T.js';
1
+ import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-BYQMdxtO.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 { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumUserLicence, EnumOSPlatform, EnumUserRole, EnumSubscriptionStatus, EnumEventDateStatus, EnumVendorType, EnumFoodFlavor, EnumSocialMedia } from './enums/index.js';
2
+ import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumUserLicence, EnumOSPlatform, EnumUserRole, EnumSubscriptionStatus, EnumVendorType, EnumFoodFlavor, EnumSocialMedia, EnumEventDateStatus } from './enums/index.js';
3
3
 
4
4
  type RelationDate = {
5
5
  dateTime: DateTimeType & {
@@ -107,10 +107,8 @@ type UserFormData = {
107
107
  };
108
108
  type CreateUserFormData = CreateFormData<UserFormData>;
109
109
  type UserActivityEvent = {
110
- dateStatus: EnumEventDateStatus;
111
110
  resourceId: string;
112
- startDate: string;
113
- startTime: string;
111
+ dateTime: DateTimeType;
114
112
  };
115
113
  type StripeSubscription = {
116
114
  customerId?: string;
@@ -1,5 +1,5 @@
1
1
  import { FieldValues, Control, FieldErrors, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
2
- import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumUserLicence, EnumOSPlatform, EnumUserRole, EnumSubscriptionStatus, EnumEventDateStatus, EnumVendorType, EnumFoodFlavor, EnumSocialMedia } from './enums/index.mjs';
2
+ import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumUserLicence, EnumOSPlatform, EnumUserRole, EnumSubscriptionStatus, EnumVendorType, EnumFoodFlavor, EnumSocialMedia, EnumEventDateStatus } from './enums/index.mjs';
3
3
 
4
4
  type RelationDate = {
5
5
  dateTime: DateTimeType & {
@@ -107,10 +107,8 @@ type UserFormData = {
107
107
  };
108
108
  type CreateUserFormData = CreateFormData<UserFormData>;
109
109
  type UserActivityEvent = {
110
- dateStatus: EnumEventDateStatus;
111
110
  resourceId: string;
112
- startDate: string;
113
- startTime: string;
111
+ dateTime: DateTimeType;
114
112
  };
115
113
  type StripeSubscription = {
116
114
  customerId?: string;
@@ -209,6 +209,15 @@ var LICENCE_FIELDS_FRAGMENT = import_client2.gql`
209
209
  licenceType
210
210
  }
211
211
  `;
212
+ var EVENT_DATETIME_FIELDS_FRAGMENT = import_client2.gql`
213
+ fragment EventDateTimeFields on EventDateTimeType {
214
+ dateStatus
215
+ endDate
216
+ endTime
217
+ startDate
218
+ startTime
219
+ }
220
+ `;
212
221
  var USER_ACTIVITY_FIELDS_FRAGMENT = import_client2.gql`
213
222
  fragment UserActivityFields on UserActivityType {
214
223
  favourites {
@@ -217,29 +226,30 @@ var USER_ACTIVITY_FIELDS_FRAGMENT = import_client2.gql`
217
226
  }
218
227
  going {
219
228
  events {
220
- dateStatus
221
229
  resourceId
222
- startDate
223
- startTime
230
+ dateTime {
231
+ ...EventDateTimeFields
232
+ }
224
233
  }
225
234
  }
226
235
  interested {
227
236
  events {
228
- dateStatus
229
237
  resourceId
230
- startDate
231
- startTime
238
+ dateTime {
239
+ ...EventDateTimeFields
240
+ }
232
241
  }
233
242
  }
234
243
  present {
235
244
  events {
236
- dateStatus
237
245
  resourceId
238
- startDate
239
- startTime
246
+ dateTime {
247
+ ...EventDateTimeFields
248
+ }
240
249
  }
241
250
  }
242
251
  }
252
+ ${EVENT_DATETIME_FIELDS_FRAGMENT}
243
253
  `;
244
254
  var USER_FIELDS_FRAGMENT = import_client2.gql`
245
255
  fragment UserFields on UserType {
@@ -333,15 +343,6 @@ var LOCATION_FIELDS_FRAGMENT = import_client2.gql`
333
343
  `;
334
344
 
335
345
  // src/graphql/queries/event.ts
336
- var EVENT_DATETIME_FIELDS_FRAGMENT = import_client3.gql`
337
- fragment EventDateTimeFields on EventDateTimeType {
338
- dateStatus
339
- endDate
340
- endTime
341
- startDate
342
- startTime
343
- }
344
- `;
345
346
  var EVENT_INFO = import_client3.gql`
346
347
  fragment EventInfoFields on EventInfoType {
347
348
  _id