@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnumOSPlatform, EnumResourceType, EnumUserLicence, EnumUserRole } from './enums/index.js';
|
|
2
|
-
import { C as Category, v as CreateFormData, n as ResourceImageType, P as PartnerType, o as SocialMediaType } from './global-
|
|
2
|
+
import { C as Category, v as CreateFormData, n as ResourceImageType, P as PartnerType, o as SocialMediaType } from './global-K1ennCrw.js';
|
|
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.mjs';
|
|
2
|
-
import { C as Category, v as CreateFormData, n as ResourceImageType, P as PartnerType, o as SocialMediaType } from './global-
|
|
2
|
+
import { C as Category, v as CreateFormData, n as ResourceImageType, P as PartnerType, o as SocialMediaType } from './global-CntHxpmg.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-CntHxpmg.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-K1ennCrw.js';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.js';
|
|
4
4
|
|
|
@@ -112,14 +112,18 @@ type VendorAttributes = {
|
|
|
112
112
|
};
|
|
113
113
|
type VendorInfoFormData = {
|
|
114
114
|
_id?: string;
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
electricity: VendorAttributes;
|
|
120
|
-
gazebo: VendorAttributes;
|
|
121
|
-
table: VendorAttributes;
|
|
115
|
+
availability?: {
|
|
116
|
+
school: boolean;
|
|
117
|
+
private: boolean;
|
|
118
|
+
corporate: boolean;
|
|
122
119
|
};
|
|
120
|
+
compliance?: {
|
|
121
|
+
liabilityInsurance: boolean;
|
|
122
|
+
foodBeverageLicense: boolean;
|
|
123
|
+
};
|
|
124
|
+
contactDetails?: ResourceContactDetailsType | null;
|
|
125
|
+
documents?: ResourceImageType[] | null;
|
|
126
|
+
documentsUpload?: ResourceImageType[] | null;
|
|
123
127
|
product: {
|
|
124
128
|
foodFlavors: EnumFoodFlavor[];
|
|
125
129
|
packaging: string[];
|
|
@@ -129,22 +133,18 @@ type VendorInfoFormData = {
|
|
|
129
133
|
};
|
|
130
134
|
producedIn: string[];
|
|
131
135
|
};
|
|
132
|
-
|
|
136
|
+
requirements?: {
|
|
137
|
+
electricity: VendorAttributes;
|
|
138
|
+
gazebo: VendorAttributes;
|
|
139
|
+
table: VendorAttributes;
|
|
140
|
+
};
|
|
133
141
|
stallInfo: {
|
|
134
142
|
size: {
|
|
135
143
|
depth: number;
|
|
136
144
|
width: number;
|
|
137
145
|
};
|
|
138
146
|
};
|
|
139
|
-
|
|
140
|
-
liabilityInsurance: boolean;
|
|
141
|
-
foodBeverageLicense: boolean;
|
|
142
|
-
};
|
|
143
|
-
availability?: {
|
|
144
|
-
school: boolean;
|
|
145
|
-
private: boolean;
|
|
146
|
-
corporate: boolean;
|
|
147
|
-
};
|
|
147
|
+
vendorId: string;
|
|
148
148
|
};
|
|
149
149
|
type CreateVendorInfoFormData = CreateFormData<VendorInfoFormData>;
|
|
150
150
|
interface VendorType extends BaseResourceType {
|
|
@@ -156,7 +156,7 @@ interface VendorType extends BaseResourceType {
|
|
|
156
156
|
vendorInfoId: string;
|
|
157
157
|
vendorType: EnumVendorType;
|
|
158
158
|
}
|
|
159
|
-
type VendorInfoType = Omit<VendorInfoFormData, "_id" | "
|
|
159
|
+
type VendorInfoType = Omit<VendorInfoFormData, "_id" | "documentsUpload"> & {
|
|
160
160
|
_id: string;
|
|
161
161
|
};
|
|
162
162
|
interface VendorWithConnectionDatesType extends VendorType {
|
|
@@ -112,14 +112,18 @@ type VendorAttributes = {
|
|
|
112
112
|
};
|
|
113
113
|
type VendorInfoFormData = {
|
|
114
114
|
_id?: string;
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
electricity: VendorAttributes;
|
|
120
|
-
gazebo: VendorAttributes;
|
|
121
|
-
table: VendorAttributes;
|
|
115
|
+
availability?: {
|
|
116
|
+
school: boolean;
|
|
117
|
+
private: boolean;
|
|
118
|
+
corporate: boolean;
|
|
122
119
|
};
|
|
120
|
+
compliance?: {
|
|
121
|
+
liabilityInsurance: boolean;
|
|
122
|
+
foodBeverageLicense: boolean;
|
|
123
|
+
};
|
|
124
|
+
contactDetails?: ResourceContactDetailsType | null;
|
|
125
|
+
documents?: ResourceImageType[] | null;
|
|
126
|
+
documentsUpload?: ResourceImageType[] | null;
|
|
123
127
|
product: {
|
|
124
128
|
foodFlavors: EnumFoodFlavor[];
|
|
125
129
|
packaging: string[];
|
|
@@ -129,22 +133,18 @@ type VendorInfoFormData = {
|
|
|
129
133
|
};
|
|
130
134
|
producedIn: string[];
|
|
131
135
|
};
|
|
132
|
-
|
|
136
|
+
requirements?: {
|
|
137
|
+
electricity: VendorAttributes;
|
|
138
|
+
gazebo: VendorAttributes;
|
|
139
|
+
table: VendorAttributes;
|
|
140
|
+
};
|
|
133
141
|
stallInfo: {
|
|
134
142
|
size: {
|
|
135
143
|
depth: number;
|
|
136
144
|
width: number;
|
|
137
145
|
};
|
|
138
146
|
};
|
|
139
|
-
|
|
140
|
-
liabilityInsurance: boolean;
|
|
141
|
-
foodBeverageLicense: boolean;
|
|
142
|
-
};
|
|
143
|
-
availability?: {
|
|
144
|
-
school: boolean;
|
|
145
|
-
private: boolean;
|
|
146
|
-
corporate: boolean;
|
|
147
|
-
};
|
|
147
|
+
vendorId: string;
|
|
148
148
|
};
|
|
149
149
|
type CreateVendorInfoFormData = CreateFormData<VendorInfoFormData>;
|
|
150
150
|
interface VendorType extends BaseResourceType {
|
|
@@ -156,7 +156,7 @@ interface VendorType extends BaseResourceType {
|
|
|
156
156
|
vendorInfoId: string;
|
|
157
157
|
vendorType: EnumVendorType;
|
|
158
158
|
}
|
|
159
|
-
type VendorInfoType = Omit<VendorInfoFormData, "_id" | "
|
|
159
|
+
type VendorInfoType = Omit<VendorInfoFormData, "_id" | "documentsUpload"> & {
|
|
160
160
|
_id: string;
|
|
161
161
|
};
|
|
162
162
|
interface VendorWithConnectionDatesType extends VendorType {
|