@timardex/cluemart-shared 1.2.55 → 1.2.56
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-CBsFDjHz.d.ts → ad-CZPQz-Bx.d.ts} +1 -1
- package/dist/{ad-Bo9PwPRD.d.mts → ad-DSADn76s.d.mts} +1 -1
- package/dist/{auth-D636FFnJ.d.mts → auth-Cea2ytrt.d.mts} +1 -1
- package/dist/{auth-D6Rg-cEc.d.ts → auth-CvLyedZM.d.ts} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-dQyePynY.d.ts → global-Fgweq_ct.d.ts} +35 -31
- package/dist/{global-Czf4z7aN.d.mts → global-RAEmLq2G.d.mts} +35 -31
- package/dist/graphql/index.cjs +4 -1
- 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 +4 -1
- 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 +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +37 -32
- package/dist/index.d.ts +37 -32
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/dist/{resourceActivities-BjvoQkGD.d.ts → resourceActivities-BkGGnxjl.d.ts} +3 -2
- package/dist/{resourceActivities-BUFJqkMf.d.mts → resourceActivities-DO97TmNs.d.mts} +3 -2
- 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, EnumSubscriptionStatus, EnumEventDateStatus, EnumPartnerType } from './enums/index.js';
|
|
2
|
-
import { C as Category, w as CreateFormData, A as AssociateType, o as ResourceImageType, T as TermsAgreement, r as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, p as SocialMediaType } from './global-
|
|
2
|
+
import { C as Category, w as CreateFormData, A as AssociateType, o as ResourceImageType, T as TermsAgreement, r as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, p as SocialMediaType } from './global-Fgweq_ct.js';
|
|
3
3
|
|
|
4
4
|
interface TestersFormData {
|
|
5
5
|
categories?: Category[] | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnumOSPlatform, EnumResourceType, EnumUserLicence, EnumUserRole, EnumSubscriptionStatus, EnumEventDateStatus, EnumPartnerType } from './enums/index.mjs';
|
|
2
|
-
import { C as Category, w as CreateFormData, A as AssociateType, o as ResourceImageType, T as TermsAgreement, r as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, p as SocialMediaType } from './global-
|
|
2
|
+
import { C as Category, w as CreateFormData, A as AssociateType, o as ResourceImageType, T as TermsAgreement, r as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, p as SocialMediaType } from './global-RAEmLq2G.mjs';
|
|
3
3
|
|
|
4
4
|
interface TestersFormData {
|
|
5
5
|
categories?: Category[] | null;
|
|
@@ -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-RAEmLq2G.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-Fgweq_ct.js';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.js';
|
|
4
4
|
|
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
import { FieldValues, Control, FieldErrors, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
|
|
2
|
-
import {
|
|
2
|
+
import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumSocialMedia, EnumEventDateStatus } from './enums/index.js';
|
|
3
|
+
|
|
4
|
+
type RelationDate = {
|
|
5
|
+
dateTime: DateTimeType & {
|
|
6
|
+
stallType: StallType | null;
|
|
7
|
+
};
|
|
8
|
+
lastUpdateBy: {
|
|
9
|
+
resourceId: string;
|
|
10
|
+
userEmail: string;
|
|
11
|
+
};
|
|
12
|
+
paymentReference?: string;
|
|
13
|
+
status: EnumInviteStatus;
|
|
14
|
+
};
|
|
15
|
+
interface RelationType {
|
|
16
|
+
_id?: string;
|
|
17
|
+
active: boolean;
|
|
18
|
+
apiMessage?: string;
|
|
19
|
+
createdAt?: string;
|
|
20
|
+
deletedAt?: string | null;
|
|
21
|
+
lastUpdateBy: EnumResourceType;
|
|
22
|
+
eventId: string;
|
|
23
|
+
relationDates: RelationDate[];
|
|
24
|
+
relationType: EnumRelationResource;
|
|
25
|
+
vendorId: string;
|
|
26
|
+
updatedAt?: string;
|
|
27
|
+
}
|
|
3
28
|
|
|
4
29
|
type StallType = {
|
|
5
30
|
label: string;
|
|
@@ -54,37 +79,15 @@ interface EventType extends BaseResourceType {
|
|
|
54
79
|
provider: string | null;
|
|
55
80
|
rainOrShine: boolean;
|
|
56
81
|
tags: string[];
|
|
82
|
+
relations: {
|
|
83
|
+
relationId: string | null;
|
|
84
|
+
relationDates: RelationDate[] | null;
|
|
85
|
+
}[] | null;
|
|
57
86
|
}
|
|
58
87
|
type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
59
88
|
_id: string;
|
|
60
89
|
};
|
|
61
90
|
|
|
62
|
-
type RelationDate = {
|
|
63
|
-
dateTime: DateTimeType & {
|
|
64
|
-
stallType: StallType | null;
|
|
65
|
-
};
|
|
66
|
-
lastUpdateBy: {
|
|
67
|
-
resourceId: string;
|
|
68
|
-
userEmail: string;
|
|
69
|
-
};
|
|
70
|
-
paymentReference?: string;
|
|
71
|
-
status: EnumInviteStatus;
|
|
72
|
-
};
|
|
73
|
-
interface RelationType {
|
|
74
|
-
_id?: string;
|
|
75
|
-
active: boolean;
|
|
76
|
-
apiMessage?: string;
|
|
77
|
-
chatId?: string;
|
|
78
|
-
createdAt?: string;
|
|
79
|
-
deletedAt?: string | null;
|
|
80
|
-
lastUpdateBy: EnumResourceType;
|
|
81
|
-
eventId: string;
|
|
82
|
-
relationDates: RelationDate[];
|
|
83
|
-
relationType: EnumRelationResource;
|
|
84
|
-
vendorId: string;
|
|
85
|
-
updatedAt?: string;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
91
|
type VendorLocation = {
|
|
89
92
|
dateTime: Nullable<DateTimeType> | null;
|
|
90
93
|
description?: string | null;
|
|
@@ -159,6 +162,10 @@ interface VendorType extends BaseResourceType {
|
|
|
159
162
|
products: VendorMenuType[] | null;
|
|
160
163
|
vendorInfoId: string;
|
|
161
164
|
vendorType: EnumVendorType;
|
|
165
|
+
relations: {
|
|
166
|
+
relationId: string | null;
|
|
167
|
+
relationDates: RelationDate[] | null;
|
|
168
|
+
}[] | null;
|
|
162
169
|
}
|
|
163
170
|
type VendorInfoType = Omit<VendorInfoFormData, "_id" | "documentsUpload"> & {
|
|
164
171
|
_id: string;
|
|
@@ -232,14 +239,11 @@ type PosterUsageType = {
|
|
|
232
239
|
type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload" | "owner"> & {
|
|
233
240
|
_id: string;
|
|
234
241
|
adIds?: string[] | null;
|
|
242
|
+
chatIds?: string[] | null;
|
|
235
243
|
createdAt: string;
|
|
236
244
|
deletedAt: string | null;
|
|
237
245
|
owner: OwnerType;
|
|
238
246
|
posterUsage?: PosterUsageType | null;
|
|
239
|
-
relations: {
|
|
240
|
-
relationId: string | null;
|
|
241
|
-
relationDates: RelationDate[] | null;
|
|
242
|
-
}[] | null;
|
|
243
247
|
updatedAt: string;
|
|
244
248
|
};
|
|
245
249
|
type LocationType = {
|
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
import { FieldValues, Control, FieldErrors, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
|
|
2
|
-
import {
|
|
2
|
+
import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumSocialMedia, EnumEventDateStatus } from './enums/index.mjs';
|
|
3
|
+
|
|
4
|
+
type RelationDate = {
|
|
5
|
+
dateTime: DateTimeType & {
|
|
6
|
+
stallType: StallType | null;
|
|
7
|
+
};
|
|
8
|
+
lastUpdateBy: {
|
|
9
|
+
resourceId: string;
|
|
10
|
+
userEmail: string;
|
|
11
|
+
};
|
|
12
|
+
paymentReference?: string;
|
|
13
|
+
status: EnumInviteStatus;
|
|
14
|
+
};
|
|
15
|
+
interface RelationType {
|
|
16
|
+
_id?: string;
|
|
17
|
+
active: boolean;
|
|
18
|
+
apiMessage?: string;
|
|
19
|
+
createdAt?: string;
|
|
20
|
+
deletedAt?: string | null;
|
|
21
|
+
lastUpdateBy: EnumResourceType;
|
|
22
|
+
eventId: string;
|
|
23
|
+
relationDates: RelationDate[];
|
|
24
|
+
relationType: EnumRelationResource;
|
|
25
|
+
vendorId: string;
|
|
26
|
+
updatedAt?: string;
|
|
27
|
+
}
|
|
3
28
|
|
|
4
29
|
type StallType = {
|
|
5
30
|
label: string;
|
|
@@ -54,37 +79,15 @@ interface EventType extends BaseResourceType {
|
|
|
54
79
|
provider: string | null;
|
|
55
80
|
rainOrShine: boolean;
|
|
56
81
|
tags: string[];
|
|
82
|
+
relations: {
|
|
83
|
+
relationId: string | null;
|
|
84
|
+
relationDates: RelationDate[] | null;
|
|
85
|
+
}[] | null;
|
|
57
86
|
}
|
|
58
87
|
type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
59
88
|
_id: string;
|
|
60
89
|
};
|
|
61
90
|
|
|
62
|
-
type RelationDate = {
|
|
63
|
-
dateTime: DateTimeType & {
|
|
64
|
-
stallType: StallType | null;
|
|
65
|
-
};
|
|
66
|
-
lastUpdateBy: {
|
|
67
|
-
resourceId: string;
|
|
68
|
-
userEmail: string;
|
|
69
|
-
};
|
|
70
|
-
paymentReference?: string;
|
|
71
|
-
status: EnumInviteStatus;
|
|
72
|
-
};
|
|
73
|
-
interface RelationType {
|
|
74
|
-
_id?: string;
|
|
75
|
-
active: boolean;
|
|
76
|
-
apiMessage?: string;
|
|
77
|
-
chatId?: string;
|
|
78
|
-
createdAt?: string;
|
|
79
|
-
deletedAt?: string | null;
|
|
80
|
-
lastUpdateBy: EnumResourceType;
|
|
81
|
-
eventId: string;
|
|
82
|
-
relationDates: RelationDate[];
|
|
83
|
-
relationType: EnumRelationResource;
|
|
84
|
-
vendorId: string;
|
|
85
|
-
updatedAt?: string;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
91
|
type VendorLocation = {
|
|
89
92
|
dateTime: Nullable<DateTimeType> | null;
|
|
90
93
|
description?: string | null;
|
|
@@ -159,6 +162,10 @@ interface VendorType extends BaseResourceType {
|
|
|
159
162
|
products: VendorMenuType[] | null;
|
|
160
163
|
vendorInfoId: string;
|
|
161
164
|
vendorType: EnumVendorType;
|
|
165
|
+
relations: {
|
|
166
|
+
relationId: string | null;
|
|
167
|
+
relationDates: RelationDate[] | null;
|
|
168
|
+
}[] | null;
|
|
162
169
|
}
|
|
163
170
|
type VendorInfoType = Omit<VendorInfoFormData, "_id" | "documentsUpload"> & {
|
|
164
171
|
_id: string;
|
|
@@ -232,14 +239,11 @@ type PosterUsageType = {
|
|
|
232
239
|
type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload" | "owner"> & {
|
|
233
240
|
_id: string;
|
|
234
241
|
adIds?: string[] | null;
|
|
242
|
+
chatIds?: string[] | null;
|
|
235
243
|
createdAt: string;
|
|
236
244
|
deletedAt: string | null;
|
|
237
245
|
owner: OwnerType;
|
|
238
246
|
posterUsage?: PosterUsageType | null;
|
|
239
|
-
relations: {
|
|
240
|
-
relationId: string | null;
|
|
241
|
-
relationDates: RelationDate[] | null;
|
|
242
|
-
}[] | null;
|
|
243
247
|
updatedAt: string;
|
|
244
248
|
};
|
|
245
249
|
type LocationType = {
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -378,6 +378,7 @@ var EVENT = import_client3.gql`
|
|
|
378
378
|
contactDetails {
|
|
379
379
|
...ContactDetailsFields
|
|
380
380
|
}
|
|
381
|
+
chatIds
|
|
381
382
|
dateTime {
|
|
382
383
|
...EventDateTimeFields
|
|
383
384
|
}
|
|
@@ -535,6 +536,7 @@ var VENDOR = import_client4.gql`
|
|
|
535
536
|
cover {
|
|
536
537
|
...ResourceImageFields
|
|
537
538
|
}
|
|
539
|
+
chatIds
|
|
538
540
|
createdAt
|
|
539
541
|
description
|
|
540
542
|
deletedAt
|
|
@@ -860,6 +862,7 @@ var CHAT_FIELDS_FRAGMENT = import_client8.gql`
|
|
|
860
862
|
}
|
|
861
863
|
resourceInfo {
|
|
862
864
|
eventId
|
|
865
|
+
partnerId
|
|
863
866
|
vendorId
|
|
864
867
|
}
|
|
865
868
|
updatedAt
|
|
@@ -1103,6 +1106,7 @@ var PARTNER = import_client16.gql`
|
|
|
1103
1106
|
contactDetails {
|
|
1104
1107
|
...ContactDetailsFields
|
|
1105
1108
|
}
|
|
1109
|
+
chatIds
|
|
1106
1110
|
description
|
|
1107
1111
|
deletedAt
|
|
1108
1112
|
images {
|
|
@@ -1654,7 +1658,6 @@ var RELATION_FIELDS_FRAGMENT = import_client30.gql`
|
|
|
1654
1658
|
_id
|
|
1655
1659
|
active
|
|
1656
1660
|
apiMessage
|
|
1657
|
-
chatId
|
|
1658
1661
|
createdAt
|
|
1659
1662
|
lastUpdateBy
|
|
1660
1663
|
eventId
|