@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
package/dist/index.d.mts
CHANGED
|
@@ -180,6 +180,31 @@ declare enum EnumSubscriptionStatus {
|
|
|
180
180
|
PAST_DUE = "past_due"
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
+
type RelationDate = {
|
|
184
|
+
dateTime: DateTimeType & {
|
|
185
|
+
stallType: StallType | null;
|
|
186
|
+
};
|
|
187
|
+
lastUpdateBy: {
|
|
188
|
+
resourceId: string;
|
|
189
|
+
userEmail: string;
|
|
190
|
+
};
|
|
191
|
+
paymentReference?: string;
|
|
192
|
+
status: EnumInviteStatus;
|
|
193
|
+
};
|
|
194
|
+
interface RelationType {
|
|
195
|
+
_id?: string;
|
|
196
|
+
active: boolean;
|
|
197
|
+
apiMessage?: string;
|
|
198
|
+
createdAt?: string;
|
|
199
|
+
deletedAt?: string | null;
|
|
200
|
+
lastUpdateBy: EnumResourceType;
|
|
201
|
+
eventId: string;
|
|
202
|
+
relationDates: RelationDate[];
|
|
203
|
+
relationType: EnumRelationResource;
|
|
204
|
+
vendorId: string;
|
|
205
|
+
updatedAt?: string;
|
|
206
|
+
}
|
|
207
|
+
|
|
183
208
|
type StallType = {
|
|
184
209
|
label: string;
|
|
185
210
|
price: number;
|
|
@@ -233,37 +258,15 @@ interface EventType extends BaseResourceType {
|
|
|
233
258
|
provider: string | null;
|
|
234
259
|
rainOrShine: boolean;
|
|
235
260
|
tags: string[];
|
|
261
|
+
relations: {
|
|
262
|
+
relationId: string | null;
|
|
263
|
+
relationDates: RelationDate[] | null;
|
|
264
|
+
}[] | null;
|
|
236
265
|
}
|
|
237
266
|
type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
238
267
|
_id: string;
|
|
239
268
|
};
|
|
240
269
|
|
|
241
|
-
type RelationDate = {
|
|
242
|
-
dateTime: DateTimeType & {
|
|
243
|
-
stallType: StallType | null;
|
|
244
|
-
};
|
|
245
|
-
lastUpdateBy: {
|
|
246
|
-
resourceId: string;
|
|
247
|
-
userEmail: string;
|
|
248
|
-
};
|
|
249
|
-
paymentReference?: string;
|
|
250
|
-
status: EnumInviteStatus;
|
|
251
|
-
};
|
|
252
|
-
interface RelationType {
|
|
253
|
-
_id?: string;
|
|
254
|
-
active: boolean;
|
|
255
|
-
apiMessage?: string;
|
|
256
|
-
chatId?: string;
|
|
257
|
-
createdAt?: string;
|
|
258
|
-
deletedAt?: string | null;
|
|
259
|
-
lastUpdateBy: EnumResourceType;
|
|
260
|
-
eventId: string;
|
|
261
|
-
relationDates: RelationDate[];
|
|
262
|
-
relationType: EnumRelationResource;
|
|
263
|
-
vendorId: string;
|
|
264
|
-
updatedAt?: string;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
270
|
type VendorLocation = {
|
|
268
271
|
dateTime: Nullable<DateTimeType> | null;
|
|
269
272
|
description?: string | null;
|
|
@@ -338,6 +341,10 @@ interface VendorType extends BaseResourceType {
|
|
|
338
341
|
products: VendorMenuType[] | null;
|
|
339
342
|
vendorInfoId: string;
|
|
340
343
|
vendorType: EnumVendorType;
|
|
344
|
+
relations: {
|
|
345
|
+
relationId: string | null;
|
|
346
|
+
relationDates: RelationDate[] | null;
|
|
347
|
+
}[] | null;
|
|
341
348
|
}
|
|
342
349
|
type VendorInfoType = Omit<VendorInfoFormData, "_id" | "documentsUpload"> & {
|
|
343
350
|
_id: string;
|
|
@@ -411,14 +418,11 @@ type PosterUsageType = {
|
|
|
411
418
|
type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload" | "owner"> & {
|
|
412
419
|
_id: string;
|
|
413
420
|
adIds?: string[] | null;
|
|
421
|
+
chatIds?: string[] | null;
|
|
414
422
|
createdAt: string;
|
|
415
423
|
deletedAt: string | null;
|
|
416
424
|
owner: OwnerType;
|
|
417
425
|
posterUsage?: PosterUsageType | null;
|
|
418
|
-
relations: {
|
|
419
|
-
relationId: string | null;
|
|
420
|
-
relationDates: RelationDate[] | null;
|
|
421
|
-
}[] | null;
|
|
422
426
|
updatedAt: string;
|
|
423
427
|
};
|
|
424
428
|
type LocationType = {
|
|
@@ -591,8 +595,9 @@ interface ChatType {
|
|
|
591
595
|
messages: ChatMessageType[];
|
|
592
596
|
participants: ParticipantType[];
|
|
593
597
|
resourceInfo: {
|
|
594
|
-
eventId: string;
|
|
595
|
-
|
|
598
|
+
eventId: string | null;
|
|
599
|
+
partnerId: string | null;
|
|
600
|
+
vendorId: string | null;
|
|
596
601
|
} | null;
|
|
597
602
|
updatedAt: string;
|
|
598
603
|
deletedAt: string | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -180,6 +180,31 @@ declare enum EnumSubscriptionStatus {
|
|
|
180
180
|
PAST_DUE = "past_due"
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
+
type RelationDate = {
|
|
184
|
+
dateTime: DateTimeType & {
|
|
185
|
+
stallType: StallType | null;
|
|
186
|
+
};
|
|
187
|
+
lastUpdateBy: {
|
|
188
|
+
resourceId: string;
|
|
189
|
+
userEmail: string;
|
|
190
|
+
};
|
|
191
|
+
paymentReference?: string;
|
|
192
|
+
status: EnumInviteStatus;
|
|
193
|
+
};
|
|
194
|
+
interface RelationType {
|
|
195
|
+
_id?: string;
|
|
196
|
+
active: boolean;
|
|
197
|
+
apiMessage?: string;
|
|
198
|
+
createdAt?: string;
|
|
199
|
+
deletedAt?: string | null;
|
|
200
|
+
lastUpdateBy: EnumResourceType;
|
|
201
|
+
eventId: string;
|
|
202
|
+
relationDates: RelationDate[];
|
|
203
|
+
relationType: EnumRelationResource;
|
|
204
|
+
vendorId: string;
|
|
205
|
+
updatedAt?: string;
|
|
206
|
+
}
|
|
207
|
+
|
|
183
208
|
type StallType = {
|
|
184
209
|
label: string;
|
|
185
210
|
price: number;
|
|
@@ -233,37 +258,15 @@ interface EventType extends BaseResourceType {
|
|
|
233
258
|
provider: string | null;
|
|
234
259
|
rainOrShine: boolean;
|
|
235
260
|
tags: string[];
|
|
261
|
+
relations: {
|
|
262
|
+
relationId: string | null;
|
|
263
|
+
relationDates: RelationDate[] | null;
|
|
264
|
+
}[] | null;
|
|
236
265
|
}
|
|
237
266
|
type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
238
267
|
_id: string;
|
|
239
268
|
};
|
|
240
269
|
|
|
241
|
-
type RelationDate = {
|
|
242
|
-
dateTime: DateTimeType & {
|
|
243
|
-
stallType: StallType | null;
|
|
244
|
-
};
|
|
245
|
-
lastUpdateBy: {
|
|
246
|
-
resourceId: string;
|
|
247
|
-
userEmail: string;
|
|
248
|
-
};
|
|
249
|
-
paymentReference?: string;
|
|
250
|
-
status: EnumInviteStatus;
|
|
251
|
-
};
|
|
252
|
-
interface RelationType {
|
|
253
|
-
_id?: string;
|
|
254
|
-
active: boolean;
|
|
255
|
-
apiMessage?: string;
|
|
256
|
-
chatId?: string;
|
|
257
|
-
createdAt?: string;
|
|
258
|
-
deletedAt?: string | null;
|
|
259
|
-
lastUpdateBy: EnumResourceType;
|
|
260
|
-
eventId: string;
|
|
261
|
-
relationDates: RelationDate[];
|
|
262
|
-
relationType: EnumRelationResource;
|
|
263
|
-
vendorId: string;
|
|
264
|
-
updatedAt?: string;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
270
|
type VendorLocation = {
|
|
268
271
|
dateTime: Nullable<DateTimeType> | null;
|
|
269
272
|
description?: string | null;
|
|
@@ -338,6 +341,10 @@ interface VendorType extends BaseResourceType {
|
|
|
338
341
|
products: VendorMenuType[] | null;
|
|
339
342
|
vendorInfoId: string;
|
|
340
343
|
vendorType: EnumVendorType;
|
|
344
|
+
relations: {
|
|
345
|
+
relationId: string | null;
|
|
346
|
+
relationDates: RelationDate[] | null;
|
|
347
|
+
}[] | null;
|
|
341
348
|
}
|
|
342
349
|
type VendorInfoType = Omit<VendorInfoFormData, "_id" | "documentsUpload"> & {
|
|
343
350
|
_id: string;
|
|
@@ -411,14 +418,11 @@ type PosterUsageType = {
|
|
|
411
418
|
type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload" | "owner"> & {
|
|
412
419
|
_id: string;
|
|
413
420
|
adIds?: string[] | null;
|
|
421
|
+
chatIds?: string[] | null;
|
|
414
422
|
createdAt: string;
|
|
415
423
|
deletedAt: string | null;
|
|
416
424
|
owner: OwnerType;
|
|
417
425
|
posterUsage?: PosterUsageType | null;
|
|
418
|
-
relations: {
|
|
419
|
-
relationId: string | null;
|
|
420
|
-
relationDates: RelationDate[] | null;
|
|
421
|
-
}[] | null;
|
|
422
426
|
updatedAt: string;
|
|
423
427
|
};
|
|
424
428
|
type LocationType = {
|
|
@@ -591,8 +595,9 @@ interface ChatType {
|
|
|
591
595
|
messages: ChatMessageType[];
|
|
592
596
|
participants: ParticipantType[];
|
|
593
597
|
resourceInfo: {
|
|
594
|
-
eventId: string;
|
|
595
|
-
|
|
598
|
+
eventId: string | null;
|
|
599
|
+
partnerId: string | null;
|
|
600
|
+
vendorId: string | null;
|
|
596
601
|
} | null;
|
|
597
602
|
updatedAt: string;
|
|
598
603
|
deletedAt: string | null;
|
package/dist/index.mjs
CHANGED
|
@@ -2273,6 +2273,7 @@ var EVENT = gql3`
|
|
|
2273
2273
|
contactDetails {
|
|
2274
2274
|
...ContactDetailsFields
|
|
2275
2275
|
}
|
|
2276
|
+
chatIds
|
|
2276
2277
|
dateTime {
|
|
2277
2278
|
...EventDateTimeFields
|
|
2278
2279
|
}
|
|
@@ -2430,6 +2431,7 @@ var VENDOR = gql4`
|
|
|
2430
2431
|
cover {
|
|
2431
2432
|
...ResourceImageFields
|
|
2432
2433
|
}
|
|
2434
|
+
chatIds
|
|
2433
2435
|
createdAt
|
|
2434
2436
|
description
|
|
2435
2437
|
deletedAt
|
|
@@ -2755,6 +2757,7 @@ var CHAT_FIELDS_FRAGMENT = gql6`
|
|
|
2755
2757
|
}
|
|
2756
2758
|
resourceInfo {
|
|
2757
2759
|
eventId
|
|
2760
|
+
partnerId
|
|
2758
2761
|
vendorId
|
|
2759
2762
|
}
|
|
2760
2763
|
updatedAt
|
|
@@ -2998,6 +3001,7 @@ var PARTNER = gql11`
|
|
|
2998
3001
|
contactDetails {
|
|
2999
3002
|
...ContactDetailsFields
|
|
3000
3003
|
}
|
|
3004
|
+
chatIds
|
|
3001
3005
|
description
|
|
3002
3006
|
deletedAt
|
|
3003
3007
|
images {
|
|
@@ -3549,7 +3553,6 @@ var RELATION_FIELDS_FRAGMENT = gql18`
|
|
|
3549
3553
|
_id
|
|
3550
3554
|
active
|
|
3551
3555
|
apiMessage
|
|
3552
|
-
chatId
|
|
3553
3556
|
createdAt
|
|
3554
3557
|
lastUpdateBy
|
|
3555
3558
|
eventId
|