@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.
@@ -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-Vh0AxyOm.js';
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-C7-PePOU.mjs';
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 { v as CreateFormData } from './global-C7-PePOU.mjs';
1
+ import { v as CreateFormData } from './global-CntHxpmg.mjs';
2
2
  import { EnumOSPlatform } from './enums/index.mjs';
3
3
 
4
4
  type ContactUsFormData = {
@@ -1,4 +1,4 @@
1
- import { v as CreateFormData } from './global-Vh0AxyOm.js';
1
+ import { v as CreateFormData } from './global-K1ennCrw.js';
2
2
  import { EnumOSPlatform } from './enums/index.js';
3
3
 
4
4
  type ContactUsFormData = {
@@ -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-C7-PePOU.mjs';
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-Vh0AxyOm.js';
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
- contactDetails?: ResourceContactDetailsType | null;
116
- foodSafetyGradeFiles?: ResourceImageType[] | null;
117
- foodSafetyGradeFilesUpload?: ResourceImageType[] | null;
118
- requirements?: {
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
- vendorId: string;
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
- compliance?: {
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" | "foodSafetyGradeFilesUpload"> & {
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
- contactDetails?: ResourceContactDetailsType | null;
116
- foodSafetyGradeFiles?: ResourceImageType[] | null;
117
- foodSafetyGradeFilesUpload?: ResourceImageType[] | null;
118
- requirements?: {
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
- vendorId: string;
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
- compliance?: {
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" | "foodSafetyGradeFilesUpload"> & {
159
+ type VendorInfoType = Omit<VendorInfoFormData, "_id" | "documentsUpload"> & {
160
160
  _id: string;
161
161
  };
162
162
  interface VendorWithConnectionDatesType extends VendorType {
@@ -479,7 +479,7 @@ var VENDOR_INFO = import_client4.gql`
479
479
  landlinePhone
480
480
  mobilePhone
481
481
  }
482
- foodSafetyGradeFiles
482
+ documents
483
483
  requirements {
484
484
  electricity {
485
485
  ...VendorAttributesFields