@timardex/cluemart-shared 1.1.98 → 1.1.99
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-B-dDiXPy.d.ts → ad-BTebYGa6.d.ts} +1 -1
- package/dist/{ad-DALyx8iX.d.mts → ad-utcwpkKv.d.mts} +1 -1
- package/dist/{auth-BdC1Bi0D.d.mts → auth-BH5KfDFw.d.mts} +1 -1
- package/dist/{auth-D0RV_hG-.d.ts → auth-DO7TRji8.d.ts} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-C7-PePOU.d.mts → global-CntHxpmg.d.mts} +18 -18
- package/dist/{global-Vh0AxyOm.d.ts → global-K1ennCrw.d.ts} +18 -18
- package/dist/graphql/index.cjs +1 -1
- 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 +1 -1
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +8 -8
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/index.mjs +8 -8
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +18 -18
- package/dist/index.d.ts +18 -18
- package/dist/index.mjs +9 -9
- 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
package/dist/index.d.mts
CHANGED
|
@@ -224,14 +224,18 @@ type VendorAttributes = {
|
|
|
224
224
|
};
|
|
225
225
|
type VendorInfoFormData = {
|
|
226
226
|
_id?: string;
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
electricity: VendorAttributes;
|
|
232
|
-
gazebo: VendorAttributes;
|
|
233
|
-
table: VendorAttributes;
|
|
227
|
+
availability?: {
|
|
228
|
+
school: boolean;
|
|
229
|
+
private: boolean;
|
|
230
|
+
corporate: boolean;
|
|
234
231
|
};
|
|
232
|
+
compliance?: {
|
|
233
|
+
liabilityInsurance: boolean;
|
|
234
|
+
foodBeverageLicense: boolean;
|
|
235
|
+
};
|
|
236
|
+
contactDetails?: ResourceContactDetailsType | null;
|
|
237
|
+
documents?: ResourceImageType[] | null;
|
|
238
|
+
documentsUpload?: ResourceImageType[] | null;
|
|
235
239
|
product: {
|
|
236
240
|
foodFlavors: EnumFoodFlavor[];
|
|
237
241
|
packaging: string[];
|
|
@@ -241,22 +245,18 @@ type VendorInfoFormData = {
|
|
|
241
245
|
};
|
|
242
246
|
producedIn: string[];
|
|
243
247
|
};
|
|
244
|
-
|
|
248
|
+
requirements?: {
|
|
249
|
+
electricity: VendorAttributes;
|
|
250
|
+
gazebo: VendorAttributes;
|
|
251
|
+
table: VendorAttributes;
|
|
252
|
+
};
|
|
245
253
|
stallInfo: {
|
|
246
254
|
size: {
|
|
247
255
|
depth: number;
|
|
248
256
|
width: number;
|
|
249
257
|
};
|
|
250
258
|
};
|
|
251
|
-
|
|
252
|
-
liabilityInsurance: boolean;
|
|
253
|
-
foodBeverageLicense: boolean;
|
|
254
|
-
};
|
|
255
|
-
availability?: {
|
|
256
|
-
school: boolean;
|
|
257
|
-
private: boolean;
|
|
258
|
-
corporate: boolean;
|
|
259
|
-
};
|
|
259
|
+
vendorId: string;
|
|
260
260
|
};
|
|
261
261
|
type CreateVendorInfoFormData = CreateFormData<VendorInfoFormData>;
|
|
262
262
|
interface VendorType extends BaseResourceType {
|
|
@@ -268,7 +268,7 @@ interface VendorType extends BaseResourceType {
|
|
|
268
268
|
vendorInfoId: string;
|
|
269
269
|
vendorType: EnumVendorType;
|
|
270
270
|
}
|
|
271
|
-
type VendorInfoType = Omit<VendorInfoFormData, "_id" | "
|
|
271
|
+
type VendorInfoType = Omit<VendorInfoFormData, "_id" | "documentsUpload"> & {
|
|
272
272
|
_id: string;
|
|
273
273
|
};
|
|
274
274
|
interface VendorWithConnectionDatesType extends VendorType {
|
package/dist/index.d.ts
CHANGED
|
@@ -224,14 +224,18 @@ type VendorAttributes = {
|
|
|
224
224
|
};
|
|
225
225
|
type VendorInfoFormData = {
|
|
226
226
|
_id?: string;
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
electricity: VendorAttributes;
|
|
232
|
-
gazebo: VendorAttributes;
|
|
233
|
-
table: VendorAttributes;
|
|
227
|
+
availability?: {
|
|
228
|
+
school: boolean;
|
|
229
|
+
private: boolean;
|
|
230
|
+
corporate: boolean;
|
|
234
231
|
};
|
|
232
|
+
compliance?: {
|
|
233
|
+
liabilityInsurance: boolean;
|
|
234
|
+
foodBeverageLicense: boolean;
|
|
235
|
+
};
|
|
236
|
+
contactDetails?: ResourceContactDetailsType | null;
|
|
237
|
+
documents?: ResourceImageType[] | null;
|
|
238
|
+
documentsUpload?: ResourceImageType[] | null;
|
|
235
239
|
product: {
|
|
236
240
|
foodFlavors: EnumFoodFlavor[];
|
|
237
241
|
packaging: string[];
|
|
@@ -241,22 +245,18 @@ type VendorInfoFormData = {
|
|
|
241
245
|
};
|
|
242
246
|
producedIn: string[];
|
|
243
247
|
};
|
|
244
|
-
|
|
248
|
+
requirements?: {
|
|
249
|
+
electricity: VendorAttributes;
|
|
250
|
+
gazebo: VendorAttributes;
|
|
251
|
+
table: VendorAttributes;
|
|
252
|
+
};
|
|
245
253
|
stallInfo: {
|
|
246
254
|
size: {
|
|
247
255
|
depth: number;
|
|
248
256
|
width: number;
|
|
249
257
|
};
|
|
250
258
|
};
|
|
251
|
-
|
|
252
|
-
liabilityInsurance: boolean;
|
|
253
|
-
foodBeverageLicense: boolean;
|
|
254
|
-
};
|
|
255
|
-
availability?: {
|
|
256
|
-
school: boolean;
|
|
257
|
-
private: boolean;
|
|
258
|
-
corporate: boolean;
|
|
259
|
-
};
|
|
259
|
+
vendorId: string;
|
|
260
260
|
};
|
|
261
261
|
type CreateVendorInfoFormData = CreateFormData<VendorInfoFormData>;
|
|
262
262
|
interface VendorType extends BaseResourceType {
|
|
@@ -268,7 +268,7 @@ interface VendorType extends BaseResourceType {
|
|
|
268
268
|
vendorInfoId: string;
|
|
269
269
|
vendorType: EnumVendorType;
|
|
270
270
|
}
|
|
271
|
-
type VendorInfoType = Omit<VendorInfoFormData, "_id" | "
|
|
271
|
+
type VendorInfoType = Omit<VendorInfoFormData, "_id" | "documentsUpload"> & {
|
|
272
272
|
_id: string;
|
|
273
273
|
};
|
|
274
274
|
interface VendorWithConnectionDatesType extends VendorType {
|
package/dist/index.mjs
CHANGED
|
@@ -2207,7 +2207,7 @@ var VENDOR_INFO = gql4`
|
|
|
2207
2207
|
landlinePhone
|
|
2208
2208
|
mobilePhone
|
|
2209
2209
|
}
|
|
2210
|
-
|
|
2210
|
+
documents
|
|
2211
2211
|
requirements {
|
|
2212
2212
|
electricity {
|
|
2213
2213
|
...VendorAttributesFields
|
|
@@ -4884,8 +4884,8 @@ var defaultVendorInfoFormValues = {
|
|
|
4884
4884
|
landlinePhone: null,
|
|
4885
4885
|
mobilePhone: null
|
|
4886
4886
|
},
|
|
4887
|
-
|
|
4888
|
-
|
|
4887
|
+
documents: null,
|
|
4888
|
+
documentsUpload: null,
|
|
4889
4889
|
product: {
|
|
4890
4890
|
foodFlavors: [],
|
|
4891
4891
|
packaging: [],
|
|
@@ -5031,8 +5031,8 @@ function useVendorInfoForm(data) {
|
|
|
5031
5031
|
availability: data.availability,
|
|
5032
5032
|
compliance: data.compliance,
|
|
5033
5033
|
contactDetails: data.contactDetails,
|
|
5034
|
-
|
|
5035
|
-
|
|
5034
|
+
documents: data.documents,
|
|
5035
|
+
documentsUpload: data.documentsUpload,
|
|
5036
5036
|
product: data.product,
|
|
5037
5037
|
requirements: data.requirements,
|
|
5038
5038
|
stallInfo: data.stallInfo,
|
|
@@ -5047,8 +5047,8 @@ function useVendorInfoForm(data) {
|
|
|
5047
5047
|
availability,
|
|
5048
5048
|
compliance,
|
|
5049
5049
|
contactDetails,
|
|
5050
|
-
|
|
5051
|
-
|
|
5050
|
+
documents,
|
|
5051
|
+
documentsUpload,
|
|
5052
5052
|
product,
|
|
5053
5053
|
requirements,
|
|
5054
5054
|
stallInfo,
|
|
@@ -5061,8 +5061,8 @@ function useVendorInfoForm(data) {
|
|
|
5061
5061
|
availability,
|
|
5062
5062
|
compliance,
|
|
5063
5063
|
contactDetails,
|
|
5064
|
-
|
|
5065
|
-
|
|
5064
|
+
documents,
|
|
5065
|
+
documentsUpload,
|
|
5066
5066
|
product,
|
|
5067
5067
|
requirements,
|
|
5068
5068
|
stallInfo,
|