@timardex/cluemart-shared 1.2.11 → 1.2.13
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-DIIPz6Cg.d.mts → ad-D6PyfsyB.d.mts} +1 -1
- package/dist/{ad-iOu_E7DP.d.ts → ad-vOHYPnqC.d.ts} +1 -1
- package/dist/{auth-b59uXZAI.d.ts → auth-CS7JARU5.d.ts} +1 -1
- package/dist/{auth-zj4ldAg5.d.mts → auth-DETM5FhC.d.mts} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-CAQkxPc3.d.mts → global-BpCkzdeB.d.mts} +29 -35
- package/dist/{global-B0ogdRmU.d.ts → global-DfRb-Tdc.d.ts} +29 -35
- package/dist/graphql/index.cjs +226 -210
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +2 -2
- package/dist/graphql/index.d.ts +2 -2
- package/dist/graphql/index.mjs +226 -210
- 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 +226 -210
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +28 -34
- package/dist/index.d.ts +28 -34
- package/dist/index.mjs +226 -210
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.d.ts +3 -3
- 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 } 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-BpCkzdeB.mjs';
|
|
3
3
|
|
|
4
4
|
interface TestersFormData {
|
|
5
5
|
categories?: Category[] | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnumOSPlatform, EnumResourceType, EnumUserLicence, EnumUserRole } 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-DfRb-Tdc.js';
|
|
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-BpCkzdeB.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-DfRb-Tdc.js';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.js';
|
|
4
4
|
|
|
@@ -1,31 +1,5 @@
|
|
|
1
1
|
import { FieldValues, Control, FieldErrors, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
type RelationDate = {
|
|
5
|
-
lastUpdateBy: {
|
|
6
|
-
resourceId: string;
|
|
7
|
-
userEmail: string;
|
|
8
|
-
};
|
|
9
|
-
paymentReference?: string;
|
|
10
|
-
stallType: StallType | null;
|
|
11
|
-
startDate: string;
|
|
12
|
-
startTime: string;
|
|
13
|
-
status: EnumInviteStatus;
|
|
14
|
-
};
|
|
15
|
-
interface RelationType {
|
|
16
|
-
_id?: string;
|
|
17
|
-
active: boolean;
|
|
18
|
-
apiMessage?: string;
|
|
19
|
-
chatId?: string;
|
|
20
|
-
createdAt?: string;
|
|
21
|
-
deletedAt?: string | null;
|
|
22
|
-
lastUpdateBy: EnumResourceType;
|
|
23
|
-
eventId: string;
|
|
24
|
-
relationDates: RelationDate[];
|
|
25
|
-
relationType: EnumRelationResource;
|
|
26
|
-
vendorId: string;
|
|
27
|
-
updatedAt?: string;
|
|
28
|
-
}
|
|
2
|
+
import { EnumEventType, EnumPaymentMethod, EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumSocialMedia } from './enums/index.mjs';
|
|
29
3
|
|
|
30
4
|
type StallType = {
|
|
31
5
|
label: string;
|
|
@@ -84,8 +58,31 @@ interface EventType extends BaseResourceType {
|
|
|
84
58
|
type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
85
59
|
_id: string;
|
|
86
60
|
};
|
|
87
|
-
|
|
88
|
-
|
|
61
|
+
|
|
62
|
+
type RelationDate = {
|
|
63
|
+
lastUpdateBy: {
|
|
64
|
+
resourceId: string;
|
|
65
|
+
userEmail: string;
|
|
66
|
+
};
|
|
67
|
+
paymentReference?: string;
|
|
68
|
+
stallType: StallType | null;
|
|
69
|
+
startDate: string;
|
|
70
|
+
startTime: 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;
|
|
89
86
|
}
|
|
90
87
|
|
|
91
88
|
type VendorLocation = {
|
|
@@ -166,9 +163,6 @@ interface VendorType extends BaseResourceType {
|
|
|
166
163
|
type VendorInfoType = Omit<VendorInfoFormData, "_id" | "documentsUpload"> & {
|
|
167
164
|
_id: string;
|
|
168
165
|
};
|
|
169
|
-
interface VendorWithConnectionDatesType extends VendorType {
|
|
170
|
-
relationDates: RelationDate[] | undefined;
|
|
171
|
-
}
|
|
172
166
|
|
|
173
167
|
type Nullable<T> = {
|
|
174
168
|
[K in keyof T]: T[K] | null | undefined;
|
|
@@ -318,8 +312,8 @@ type ImageObjectType = {
|
|
|
318
312
|
name: string;
|
|
319
313
|
};
|
|
320
314
|
interface ResourceConnectionsType {
|
|
321
|
-
events:
|
|
322
|
-
vendors:
|
|
315
|
+
events: EventType[] | null;
|
|
316
|
+
vendors: VendorType[] | null;
|
|
323
317
|
}
|
|
324
318
|
interface CreateFormData<T extends FieldValues> {
|
|
325
319
|
control: Control<T, any>;
|
|
@@ -333,4 +327,4 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
333
327
|
watch: UseFormWatch<T>;
|
|
334
328
|
}
|
|
335
329
|
|
|
336
|
-
export type {
|
|
330
|
+
export type { RelationDate as A, BaseResourceTypeFormData as B, Category as C, DeviceInfo as D, EventType as E, FormField as F, GeocodeLocation as G, VendorLocation as H, ImageObjectType as I, VendorMenuType as J, VendorAttributes as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PartnerType as P, Requirement as R, StallType as S, TermsAgreement as T, VendorType as V, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, VendorFormData as f, CreateVendorFormData as g, VendorInfoFormData as h, CreateVendorInfoFormData as i, EventFormData as j, CreateEventFormData as k, EventInfoFormData as l, CreateEventInfoFormData as m, ResourceContactDetailsType as n, ResourceImageType as o, SocialMediaType as p, OwnerType as q, PosterUsageType as r, BaseResourceType as s, DateTimeType as t, Region as u, SubcategoryItems as v, Subcategory as w, CreateFormData as x, DateTimeWithPriceType as y, PaymentInfoType as z };
|
|
@@ -1,31 +1,5 @@
|
|
|
1
1
|
import { FieldValues, Control, FieldErrors, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
type RelationDate = {
|
|
5
|
-
lastUpdateBy: {
|
|
6
|
-
resourceId: string;
|
|
7
|
-
userEmail: string;
|
|
8
|
-
};
|
|
9
|
-
paymentReference?: string;
|
|
10
|
-
stallType: StallType | null;
|
|
11
|
-
startDate: string;
|
|
12
|
-
startTime: string;
|
|
13
|
-
status: EnumInviteStatus;
|
|
14
|
-
};
|
|
15
|
-
interface RelationType {
|
|
16
|
-
_id?: string;
|
|
17
|
-
active: boolean;
|
|
18
|
-
apiMessage?: string;
|
|
19
|
-
chatId?: string;
|
|
20
|
-
createdAt?: string;
|
|
21
|
-
deletedAt?: string | null;
|
|
22
|
-
lastUpdateBy: EnumResourceType;
|
|
23
|
-
eventId: string;
|
|
24
|
-
relationDates: RelationDate[];
|
|
25
|
-
relationType: EnumRelationResource;
|
|
26
|
-
vendorId: string;
|
|
27
|
-
updatedAt?: string;
|
|
28
|
-
}
|
|
2
|
+
import { EnumEventType, EnumPaymentMethod, EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumSocialMedia } from './enums/index.js';
|
|
29
3
|
|
|
30
4
|
type StallType = {
|
|
31
5
|
label: string;
|
|
@@ -84,8 +58,31 @@ interface EventType extends BaseResourceType {
|
|
|
84
58
|
type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
85
59
|
_id: string;
|
|
86
60
|
};
|
|
87
|
-
|
|
88
|
-
|
|
61
|
+
|
|
62
|
+
type RelationDate = {
|
|
63
|
+
lastUpdateBy: {
|
|
64
|
+
resourceId: string;
|
|
65
|
+
userEmail: string;
|
|
66
|
+
};
|
|
67
|
+
paymentReference?: string;
|
|
68
|
+
stallType: StallType | null;
|
|
69
|
+
startDate: string;
|
|
70
|
+
startTime: 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;
|
|
89
86
|
}
|
|
90
87
|
|
|
91
88
|
type VendorLocation = {
|
|
@@ -166,9 +163,6 @@ interface VendorType extends BaseResourceType {
|
|
|
166
163
|
type VendorInfoType = Omit<VendorInfoFormData, "_id" | "documentsUpload"> & {
|
|
167
164
|
_id: string;
|
|
168
165
|
};
|
|
169
|
-
interface VendorWithConnectionDatesType extends VendorType {
|
|
170
|
-
relationDates: RelationDate[] | undefined;
|
|
171
|
-
}
|
|
172
166
|
|
|
173
167
|
type Nullable<T> = {
|
|
174
168
|
[K in keyof T]: T[K] | null | undefined;
|
|
@@ -318,8 +312,8 @@ type ImageObjectType = {
|
|
|
318
312
|
name: string;
|
|
319
313
|
};
|
|
320
314
|
interface ResourceConnectionsType {
|
|
321
|
-
events:
|
|
322
|
-
vendors:
|
|
315
|
+
events: EventType[] | null;
|
|
316
|
+
vendors: VendorType[] | null;
|
|
323
317
|
}
|
|
324
318
|
interface CreateFormData<T extends FieldValues> {
|
|
325
319
|
control: Control<T, any>;
|
|
@@ -333,4 +327,4 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
333
327
|
watch: UseFormWatch<T>;
|
|
334
328
|
}
|
|
335
329
|
|
|
336
|
-
export type {
|
|
330
|
+
export type { RelationDate as A, BaseResourceTypeFormData as B, Category as C, DeviceInfo as D, EventType as E, FormField as F, GeocodeLocation as G, VendorLocation as H, ImageObjectType as I, VendorMenuType as J, VendorAttributes as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PartnerType as P, Requirement as R, StallType as S, TermsAgreement as T, VendorType as V, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, VendorFormData as f, CreateVendorFormData as g, VendorInfoFormData as h, CreateVendorInfoFormData as i, EventFormData as j, CreateEventFormData as k, EventInfoFormData as l, CreateEventInfoFormData as m, ResourceContactDetailsType as n, ResourceImageType as o, SocialMediaType as p, OwnerType as q, PosterUsageType as r, BaseResourceType as s, DateTimeType as t, Region as u, SubcategoryItems as v, Subcategory as w, CreateFormData as x, DateTimeWithPriceType as y, PaymentInfoType as z };
|