@timardex/cluemart-shared 1.6.130 → 1.7.0

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.
Files changed (168) hide show
  1. package/dist/ad-CVkVX_z5.d.ts +296 -0
  2. package/dist/ad-DA9ECAhK.d.mts +296 -0
  3. package/dist/affiliate-1RtkLnLP.d.ts +35 -0
  4. package/dist/affiliate-Cos2Syz5.d.mts +35 -0
  5. package/dist/chunk-HZMP7GXC.mjs +5330 -0
  6. package/dist/chunk-HZMP7GXC.mjs.map +1 -0
  7. package/dist/chunk-KZTOISPA.mjs +272 -0
  8. package/dist/chunk-KZTOISPA.mjs.map +1 -0
  9. package/dist/chunk-MVQ3CFQR.mjs +230 -0
  10. package/dist/chunk-MVQ3CFQR.mjs.map +1 -0
  11. package/dist/chunk-NPFJ2CN2.mjs +109 -0
  12. package/dist/chunk-NPFJ2CN2.mjs.map +1 -0
  13. package/dist/chunk-RKIRWZCH.mjs +368 -0
  14. package/dist/chunk-RKIRWZCH.mjs.map +1 -0
  15. package/dist/{chunk-OHHJ3KJJ.mjs → chunk-TAECMXM4.mjs} +267 -304
  16. package/dist/chunk-TAECMXM4.mjs.map +1 -0
  17. package/dist/chunk-VA5YN2K3.mjs +48 -0
  18. package/dist/chunk-VA5YN2K3.mjs.map +1 -0
  19. package/dist/chunk-ZZJSCYJK.mjs +958 -0
  20. package/dist/chunk-ZZJSCYJK.mjs.map +1 -0
  21. package/dist/contactUs-DGrDzJaM.d.mts +11 -0
  22. package/dist/contactUs-H7799pWe.d.ts +11 -0
  23. package/dist/enums/index.cjs +223 -2
  24. package/dist/enums/index.cjs.map +1 -1
  25. package/dist/enums/index.d.mts +164 -5
  26. package/dist/enums/index.d.ts +164 -5
  27. package/dist/enums/index.mjs +41 -1
  28. package/dist/formFields/index.cjs +168 -403
  29. package/dist/formFields/index.cjs.map +1 -1
  30. package/dist/formFields/index.d.mts +3 -6
  31. package/dist/formFields/index.d.ts +3 -6
  32. package/dist/formFields/index.mjs +47 -921
  33. package/dist/formFields/index.mjs.map +1 -1
  34. package/dist/global-BUUfmCo7.d.mts +698 -0
  35. package/dist/global-fKbMmluy.d.ts +698 -0
  36. package/dist/graphql/index.cjs +3329 -3340
  37. package/dist/graphql/index.cjs.map +1 -1
  38. package/dist/graphql/index.d.mts +487 -690
  39. package/dist/graphql/index.d.ts +487 -690
  40. package/dist/graphql/index.mjs +153 -2552
  41. package/dist/graphql/index.mjs.map +1 -1
  42. package/dist/hooks/index.cjs +3478 -773
  43. package/dist/hooks/index.cjs.map +1 -1
  44. package/dist/hooks/index.d.mts +6 -13
  45. package/dist/hooks/index.d.ts +6 -13
  46. package/dist/hooks/index.mjs +99 -193
  47. package/dist/hooks/index.mjs.map +1 -1
  48. package/dist/images/apple-maps-icon.webp.d.ts +1 -8
  49. package/dist/images/banner-horizontal.webp.d.ts +1 -8
  50. package/dist/images/banner-vertical.webp.d.ts +1 -8
  51. package/dist/images/cluiTui.webp.d.ts +1 -8
  52. package/dist/images/corporate.webp.d.ts +1 -8
  53. package/dist/images/facebook.webp.d.ts +1 -8
  54. package/dist/images/gazebo-top.webp.d.ts +1 -8
  55. package/dist/images/google-maps-icon.webp.d.ts +1 -8
  56. package/dist/images/googleMaps-logo-dark.webp.d.ts +1 -8
  57. package/dist/images/googleMaps-logo-light.webp.d.ts +1 -8
  58. package/dist/images/index.mjs +21 -86
  59. package/dist/images/index.mjs.map +1 -1
  60. package/dist/images/instagram.webp.d.ts +1 -8
  61. package/dist/images/logo-atr.webp.d.ts +1 -8
  62. package/dist/images/logo-dark.webp.d.ts +1 -8
  63. package/dist/images/logo.webp.d.ts +1 -8
  64. package/dist/images/meet.webp.d.ts +1 -8
  65. package/dist/images/mini-market1.webp.d.ts +1 -8
  66. package/dist/images/mini-market2.webp.d.ts +1 -8
  67. package/dist/images/mini-market3.webp.d.ts +1 -8
  68. package/dist/images/mini-market4.webp.d.ts +1 -8
  69. package/dist/images/mini-market5.webp.d.ts +1 -8
  70. package/dist/images/poll.webp.d.ts +1 -8
  71. package/dist/images/poster1.webp.d.ts +1 -8
  72. package/dist/images/poster2.webp.d.ts +1 -8
  73. package/dist/images/poster3.webp.d.ts +1 -8
  74. package/dist/images/poster4.webp.d.ts +1 -8
  75. package/dist/images/private.webp.d.ts +1 -8
  76. package/dist/images/qr-code.webp.d.ts +1 -8
  77. package/dist/images/school.webp.d.ts +1 -8
  78. package/dist/images/sima.webp.d.ts +1 -8
  79. package/dist/images/store-android.webp.d.ts +1 -8
  80. package/dist/images/store-ios.webp.d.ts +1 -8
  81. package/dist/images/tablas.webp.d.ts +1 -8
  82. package/dist/images/telefonos.webp.d.ts +1 -8
  83. package/dist/images/tiktok.webp.d.ts +1 -8
  84. package/dist/images/tip.webp.d.ts +1 -8
  85. package/dist/images/ugralos.webp.d.ts +1 -8
  86. package/dist/images/waze-maps-icon.webp.d.ts +1 -8
  87. package/dist/images/website.webp.d.ts +1 -8
  88. package/dist/images/youtube.webp.d.ts +1 -8
  89. package/dist/index.cjs +5883 -7079
  90. package/dist/index.cjs.map +1 -1
  91. package/dist/index.d.mts +1692 -2966
  92. package/dist/index.d.ts +1692 -2966
  93. package/dist/index.mjs +5020 -6162
  94. package/dist/index.mjs.map +1 -1
  95. package/dist/map/index.cjs +9 -14
  96. package/dist/map/index.cjs.map +1 -1
  97. package/dist/map/index.d.mts +14 -18
  98. package/dist/map/index.d.ts +14 -18
  99. package/dist/map/index.mjs +9 -14
  100. package/dist/map/index.mjs.map +1 -1
  101. package/dist/resourceActivities-BL_12IAo.d.ts +125 -0
  102. package/dist/resourceActivities-zczOntNk.d.mts +125 -0
  103. package/dist/sharing/index.cjs +1272 -63
  104. package/dist/sharing/index.cjs.map +1 -1
  105. package/dist/sharing/index.d.mts +7 -32
  106. package/dist/sharing/index.d.ts +7 -32
  107. package/dist/sharing/index.mjs +30 -188
  108. package/dist/sharing/index.mjs.map +1 -1
  109. package/dist/theme/index.mjs +5 -41
  110. package/dist/theme/index.mjs.map +1 -1
  111. package/dist/types/index.cjs +110 -868
  112. package/dist/types/index.cjs.map +1 -1
  113. package/dist/types/index.d.mts +24 -230
  114. package/dist/types/index.d.ts +24 -230
  115. package/dist/types/index.mjs +27 -61
  116. package/dist/utils/index.cjs +214 -608
  117. package/dist/utils/index.cjs.map +1 -1
  118. package/dist/utils/index.d.mts +53 -107
  119. package/dist/utils/index.d.ts +53 -107
  120. package/dist/utils/index.mjs +15 -43
  121. package/package.json +12 -40
  122. package/dist/affiliate-Bqqlffw8.d.mts +0 -36
  123. package/dist/affiliate-Btlp5XUp.d.ts +0 -36
  124. package/dist/affiliateAdapters-BW3BY7c5.d.mts +0 -118
  125. package/dist/affiliateAdapters-C51ISmuA.d.ts +0 -118
  126. package/dist/apollo/index.cjs +0 -1383
  127. package/dist/apollo/index.cjs.map +0 -1
  128. package/dist/apollo/index.d.mts +0 -323
  129. package/dist/apollo/index.d.ts +0 -323
  130. package/dist/apollo/index.mjs +0 -1295
  131. package/dist/apollo/index.mjs.map +0 -1
  132. package/dist/auth/index.cjs +0 -3322
  133. package/dist/auth/index.cjs.map +0 -1
  134. package/dist/auth/index.d.mts +0 -164
  135. package/dist/auth/index.d.ts +0 -164
  136. package/dist/auth/index.mjs +0 -379
  137. package/dist/auth/index.mjs.map +0 -1
  138. package/dist/auth-BOmAO53v.d.ts +0 -169
  139. package/dist/auth-CsITA95p.d.mts +0 -169
  140. package/dist/chunk-DATBGC2K.mjs +0 -347
  141. package/dist/chunk-DATBGC2K.mjs.map +0 -1
  142. package/dist/chunk-DDHECBJR.mjs +0 -726
  143. package/dist/chunk-DDHECBJR.mjs.map +0 -1
  144. package/dist/chunk-INQCDU24.mjs +0 -139
  145. package/dist/chunk-INQCDU24.mjs.map +0 -1
  146. package/dist/chunk-NWWKI4PJ.mjs +0 -297
  147. package/dist/chunk-NWWKI4PJ.mjs.map +0 -1
  148. package/dist/chunk-OHHJ3KJJ.mjs.map +0 -1
  149. package/dist/chunk-RAYUJODN.mjs +0 -45
  150. package/dist/chunk-RAYUJODN.mjs.map +0 -1
  151. package/dist/chunk-TOEFAEF2.mjs +0 -69
  152. package/dist/chunk-TOEFAEF2.mjs.map +0 -1
  153. package/dist/chunk-UKW7NZEQ.mjs +0 -2813
  154. package/dist/chunk-UKW7NZEQ.mjs.map +0 -1
  155. package/dist/dailyClue-C6WXY73z.d.mts +0 -105
  156. package/dist/dailyClue-C6WXY73z.d.ts +0 -105
  157. package/dist/event-C9K7CSg4.d.ts +0 -53
  158. package/dist/event-W0NhL5Cd.d.mts +0 -53
  159. package/dist/global-BbSFfYdd.d.ts +0 -181
  160. package/dist/global-C6v9tRji.d.mts +0 -181
  161. package/dist/graphql-CDOfA79A.d.ts +0 -1253
  162. package/dist/graphql-CcvzTs9k.d.mts +0 -1253
  163. package/dist/resourceActivities-CS8YRIIL.d.mts +0 -89
  164. package/dist/resourceActivities-DOdNPkhW.d.ts +0 -89
  165. package/dist/subscription-Cj_qBA7u.d.mts +0 -20
  166. package/dist/subscription-OiJ50uJb.d.ts +0 -20
  167. package/dist/vendor-DmMi2qmx.d.mts +0 -73
  168. package/dist/vendor-M9hVZlni.d.ts +0 -73
@@ -1,89 +0,0 @@
1
- import { n as AdminUpdateResourceType$1, f as ResourceTypeEnum, D as DateTimeType, I as InviteEnumType, o as RelationTypeEnum, p as NotificationEnumType, N as NotificationResourceEnumType, q as ActivityEnumType, r as LocationGeoType, s as EventDateStatusEnumType, O as OsPlatformEnumType } from './graphql-CcvzTs9k.mjs';
2
- import { S as StallType } from './event-W0NhL5Cd.mjs';
3
-
4
- /**
5
- * Re-export of the GraphQL schema type under the existing public name.
6
- * @see src/generated/graphql.ts `AdminUpdateResourceType`
7
- */
8
- type AdminUpdateResourceType = AdminUpdateResourceType$1;
9
-
10
- type RelationDate = {
11
- dateTime: DateTimeType & {
12
- stallType: StallType | null;
13
- };
14
- lastUpdateBy: {
15
- resourceId: string;
16
- userEmail: string;
17
- };
18
- paymentReference?: string;
19
- status: InviteEnumType;
20
- };
21
- interface RelationType {
22
- _id?: string;
23
- active: boolean;
24
- chatId: string;
25
- createdAt?: Date;
26
- deletedAt?: Date | null;
27
- eventId: string;
28
- lastUpdateBy: ResourceTypeEnum;
29
- relationDates: RelationDate[];
30
- relationType: RelationTypeEnum;
31
- updatedAt?: Date;
32
- vendorId: string;
33
- }
34
- /** GraphQL RelationInputType — chatId is optional; server assigns it on create. */
35
- type RelationInputType = Omit<RelationType, "_id" | "chatId" | "createdAt" | "updatedAt" | "deletedAt"> & {
36
- chatId?: string;
37
- };
38
-
39
- interface NotificationDataType {
40
- resourceId: string;
41
- resourceName: string;
42
- resourceType: NotificationResourceEnumType;
43
- }
44
- type NotificationType = {
45
- _id: string;
46
- userId: string;
47
- title: string;
48
- message: string;
49
- isRead: boolean;
50
- type: NotificationEnumType;
51
- data: NotificationDataType | null;
52
- createdAt: Date;
53
- updatedAt: Date;
54
- };
55
- type NotificationCount = {
56
- total: number;
57
- unread: number;
58
- };
59
- type CreateBulkNotificationInput = {
60
- data: NotificationDataType | null;
61
- message: string;
62
- title: string;
63
- type: NotificationEnumType;
64
- userIds: string[];
65
- };
66
-
67
- type ResourceActivityEntry = {
68
- activityType: ActivityEnumType;
69
- location: LocationGeoType | null;
70
- dateStatus?: EventDateStatusEnumType | null;
71
- startDate?: string | null;
72
- startTime?: string | null;
73
- timestamp: Date;
74
- userAgent: OsPlatformEnumType;
75
- userId?: string | null;
76
- };
77
- type ResourceActivityType = {
78
- _id: string;
79
- resourceType: ResourceTypeEnum;
80
- resourceId: string;
81
- activity: ResourceActivityEntry[];
82
- };
83
- type ResourceActivityInputType = {
84
- resourceId: string;
85
- resourceType: ResourceTypeEnum;
86
- activity: Omit<ResourceActivityEntry, "timestamp">;
87
- };
88
-
89
- export type { AdminUpdateResourceType as A, CreateBulkNotificationInput as C, NotificationCount as N, RelationDate as R, NotificationDataType as a, NotificationType as b, RelationInputType as c, RelationType as d, ResourceActivityEntry as e, ResourceActivityInputType as f, ResourceActivityType as g };
@@ -1,89 +0,0 @@
1
- import { n as AdminUpdateResourceType$1, f as ResourceTypeEnum, D as DateTimeType, I as InviteEnumType, o as RelationTypeEnum, p as NotificationEnumType, N as NotificationResourceEnumType, q as ActivityEnumType, r as LocationGeoType, s as EventDateStatusEnumType, O as OsPlatformEnumType } from './graphql-CDOfA79A.js';
2
- import { S as StallType } from './event-C9K7CSg4.js';
3
-
4
- /**
5
- * Re-export of the GraphQL schema type under the existing public name.
6
- * @see src/generated/graphql.ts `AdminUpdateResourceType`
7
- */
8
- type AdminUpdateResourceType = AdminUpdateResourceType$1;
9
-
10
- type RelationDate = {
11
- dateTime: DateTimeType & {
12
- stallType: StallType | null;
13
- };
14
- lastUpdateBy: {
15
- resourceId: string;
16
- userEmail: string;
17
- };
18
- paymentReference?: string;
19
- status: InviteEnumType;
20
- };
21
- interface RelationType {
22
- _id?: string;
23
- active: boolean;
24
- chatId: string;
25
- createdAt?: Date;
26
- deletedAt?: Date | null;
27
- eventId: string;
28
- lastUpdateBy: ResourceTypeEnum;
29
- relationDates: RelationDate[];
30
- relationType: RelationTypeEnum;
31
- updatedAt?: Date;
32
- vendorId: string;
33
- }
34
- /** GraphQL RelationInputType — chatId is optional; server assigns it on create. */
35
- type RelationInputType = Omit<RelationType, "_id" | "chatId" | "createdAt" | "updatedAt" | "deletedAt"> & {
36
- chatId?: string;
37
- };
38
-
39
- interface NotificationDataType {
40
- resourceId: string;
41
- resourceName: string;
42
- resourceType: NotificationResourceEnumType;
43
- }
44
- type NotificationType = {
45
- _id: string;
46
- userId: string;
47
- title: string;
48
- message: string;
49
- isRead: boolean;
50
- type: NotificationEnumType;
51
- data: NotificationDataType | null;
52
- createdAt: Date;
53
- updatedAt: Date;
54
- };
55
- type NotificationCount = {
56
- total: number;
57
- unread: number;
58
- };
59
- type CreateBulkNotificationInput = {
60
- data: NotificationDataType | null;
61
- message: string;
62
- title: string;
63
- type: NotificationEnumType;
64
- userIds: string[];
65
- };
66
-
67
- type ResourceActivityEntry = {
68
- activityType: ActivityEnumType;
69
- location: LocationGeoType | null;
70
- dateStatus?: EventDateStatusEnumType | null;
71
- startDate?: string | null;
72
- startTime?: string | null;
73
- timestamp: Date;
74
- userAgent: OsPlatformEnumType;
75
- userId?: string | null;
76
- };
77
- type ResourceActivityType = {
78
- _id: string;
79
- resourceType: ResourceTypeEnum;
80
- resourceId: string;
81
- activity: ResourceActivityEntry[];
82
- };
83
- type ResourceActivityInputType = {
84
- resourceId: string;
85
- resourceType: ResourceTypeEnum;
86
- activity: Omit<ResourceActivityEntry, "timestamp">;
87
- };
88
-
89
- export type { AdminUpdateResourceType as A, CreateBulkNotificationInput as C, NotificationCount as N, RelationDate as R, NotificationDataType as a, NotificationType as b, RelationInputType as c, RelationType as d, ResourceActivityEntry as e, ResourceActivityInputType as f, ResourceActivityType as g };
@@ -1,20 +0,0 @@
1
- import { e as LicencesEnumType } from './graphql-CcvzTs9k.mjs';
2
-
3
- /**
4
- * Canonical permission IDs. Add new permissions here first, then map them in
5
- * ROLE_PERMISSIONS. Prefer resource.action names (e.g. users.read).
6
- */
7
- declare const PERMISSIONS: readonly ["*", "dashboard.admin", "dashboard.affiliate", "dashboard.customer", "dashboard.event", "dashboard.partner", "dashboard.school", "dashboard.vendor", "users.delete", "users.read", "users.update", "events.create", "events.delete", "events.read", "events.update", "vendors.create", "vendors.delete", "vendors.read", "vendors.update", "partners.create", "partners.delete", "partners.read", "partners.update", "schools.create", "schools.delete", "schools.read", "schools.update", "affiliates.create", "affiliates.delete", "affiliates.read", "affiliates.update", "ads.create", "ads.delete", "ads.read", "ads.update", "posts.create", "posts.delete", "posts.read", "posts.update", "settings.read", "settings.update", "affiliates.manage_own", "events.manage_own", "partners.manage_own", "schools.manage_own", "vendors.manage_own"];
8
- type Permission = (typeof PERMISSIONS)[number];
9
- declare const WILDCARD_PERMISSION: Permission;
10
-
11
- /** Tier keys in descending priority (highest first) for licence resolution. */
12
- declare const TIERS_BY_PRIORITY: readonly ["pro_plus", "pro", "standard"];
13
- /** Canonical subscription tier keys — matches Stripe/server tier identifiers. */
14
- type Tier = (typeof TIERS_BY_PRIORITY)[number];
15
- /** User-facing tier labels (decoupled from the Tier discriminant). */
16
- declare const TIER_DISPLAY_LABELS: Record<Tier, string>;
17
- /** Maps licence enums to their canonical tier key. */
18
- declare const TIER_FROM_LICENCE: Record<LicencesEnumType, Tier>;
19
-
20
- export { type Permission as P, type Tier as T, WILDCARD_PERMISSION as W, PERMISSIONS as a, TIERS_BY_PRIORITY as b, TIER_DISPLAY_LABELS as c, TIER_FROM_LICENCE as d };
@@ -1,20 +0,0 @@
1
- import { e as LicencesEnumType } from './graphql-CDOfA79A.js';
2
-
3
- /**
4
- * Canonical permission IDs. Add new permissions here first, then map them in
5
- * ROLE_PERMISSIONS. Prefer resource.action names (e.g. users.read).
6
- */
7
- declare const PERMISSIONS: readonly ["*", "dashboard.admin", "dashboard.affiliate", "dashboard.customer", "dashboard.event", "dashboard.partner", "dashboard.school", "dashboard.vendor", "users.delete", "users.read", "users.update", "events.create", "events.delete", "events.read", "events.update", "vendors.create", "vendors.delete", "vendors.read", "vendors.update", "partners.create", "partners.delete", "partners.read", "partners.update", "schools.create", "schools.delete", "schools.read", "schools.update", "affiliates.create", "affiliates.delete", "affiliates.read", "affiliates.update", "ads.create", "ads.delete", "ads.read", "ads.update", "posts.create", "posts.delete", "posts.read", "posts.update", "settings.read", "settings.update", "affiliates.manage_own", "events.manage_own", "partners.manage_own", "schools.manage_own", "vendors.manage_own"];
8
- type Permission = (typeof PERMISSIONS)[number];
9
- declare const WILDCARD_PERMISSION: Permission;
10
-
11
- /** Tier keys in descending priority (highest first) for licence resolution. */
12
- declare const TIERS_BY_PRIORITY: readonly ["pro_plus", "pro", "standard"];
13
- /** Canonical subscription tier keys — matches Stripe/server tier identifiers. */
14
- type Tier = (typeof TIERS_BY_PRIORITY)[number];
15
- /** User-facing tier labels (decoupled from the Tier discriminant). */
16
- declare const TIER_DISPLAY_LABELS: Record<Tier, string>;
17
- /** Maps licence enums to their canonical tier key. */
18
- declare const TIER_FROM_LICENCE: Record<LicencesEnumType, Tier>;
19
-
20
- export { type Permission as P, type Tier as T, WILDCARD_PERMISSION as W, PERMISSIONS as a, TIERS_BY_PRIORITY as b, TIER_DISPLAY_LABELS as c, TIER_FROM_LICENCE as d };
@@ -1,73 +0,0 @@
1
- import { D as DateTimeType, V as VendorProductListType, a as VendorEnumType, R as ResourceImageType, F as FoodFlavorEnumType } from './graphql-CcvzTs9k.mjs';
2
- import { B as BaseResourceTypeFormData, R as ResourceDetails, C as Category, a as CreateFormData } from './global-C6v9tRji.mjs';
3
-
4
- type VendorCalendarData = Omit<ResourceDetails, "dateTime" | "eventStatus"> & {
5
- dateTime: DateTimeType;
6
- };
7
- interface VendorFormData extends BaseResourceTypeFormData {
8
- availability?: {
9
- school: boolean;
10
- private: boolean;
11
- corporate: boolean;
12
- };
13
- claimed?: boolean;
14
- calendar?: {
15
- active?: boolean | null;
16
- calendarData?: VendorCalendarData[] | null;
17
- } | null;
18
- categories: Category[];
19
- foodTruck: boolean;
20
- products?: {
21
- active?: boolean | null;
22
- productsList?: VendorProductListType[] | null;
23
- } | null;
24
- unregisteredVendorId?: string | null;
25
- vendorType: VendorEnumType;
26
- }
27
- type CreateVendorFormData = CreateFormData<VendorFormData>;
28
- type VendorAttributes = {
29
- details?: string | null;
30
- isRequired: boolean;
31
- };
32
- type VendorInfoFormData = {
33
- _id?: string;
34
- compliance?: {
35
- liabilityInsurance: boolean;
36
- foodBeverageLicense: boolean;
37
- };
38
- documents?: ResourceImageType[] | null;
39
- documentsUpload?: ResourceImageType[] | null;
40
- product: {
41
- foodFlavors: FoodFlavorEnumType[];
42
- packaging: string[];
43
- priceRange: {
44
- max: string;
45
- min: string;
46
- };
47
- producedIn: string[];
48
- };
49
- requirements?: {
50
- electricity: VendorAttributes;
51
- gazebo: VendorAttributes;
52
- table: VendorAttributes;
53
- };
54
- stallInfo: {
55
- size: {
56
- depth: string;
57
- width: string;
58
- };
59
- };
60
- vendorId: string;
61
- };
62
- type CreateVendorInfoFormData = CreateFormData<VendorInfoFormData>;
63
- interface UnregisteredVendorFormData {
64
- categoryIds: string[];
65
- dateTime: DateTimeType[];
66
- email?: string | null;
67
- inviterId: string;
68
- name: string;
69
- region: string;
70
- }
71
- type CreateUnregisteredVendorFormData = CreateFormData<UnregisteredVendorFormData>;
72
-
73
- export type { CreateUnregisteredVendorFormData as C, UnregisteredVendorFormData as U, VendorCalendarData as V, VendorInfoFormData as a, VendorFormData as b, CreateVendorFormData as c, CreateVendorInfoFormData as d, VendorAttributes as e };
@@ -1,73 +0,0 @@
1
- import { D as DateTimeType, V as VendorProductListType, a as VendorEnumType, R as ResourceImageType, F as FoodFlavorEnumType } from './graphql-CDOfA79A.js';
2
- import { B as BaseResourceTypeFormData, R as ResourceDetails, C as Category, a as CreateFormData } from './global-BbSFfYdd.js';
3
-
4
- type VendorCalendarData = Omit<ResourceDetails, "dateTime" | "eventStatus"> & {
5
- dateTime: DateTimeType;
6
- };
7
- interface VendorFormData extends BaseResourceTypeFormData {
8
- availability?: {
9
- school: boolean;
10
- private: boolean;
11
- corporate: boolean;
12
- };
13
- claimed?: boolean;
14
- calendar?: {
15
- active?: boolean | null;
16
- calendarData?: VendorCalendarData[] | null;
17
- } | null;
18
- categories: Category[];
19
- foodTruck: boolean;
20
- products?: {
21
- active?: boolean | null;
22
- productsList?: VendorProductListType[] | null;
23
- } | null;
24
- unregisteredVendorId?: string | null;
25
- vendorType: VendorEnumType;
26
- }
27
- type CreateVendorFormData = CreateFormData<VendorFormData>;
28
- type VendorAttributes = {
29
- details?: string | null;
30
- isRequired: boolean;
31
- };
32
- type VendorInfoFormData = {
33
- _id?: string;
34
- compliance?: {
35
- liabilityInsurance: boolean;
36
- foodBeverageLicense: boolean;
37
- };
38
- documents?: ResourceImageType[] | null;
39
- documentsUpload?: ResourceImageType[] | null;
40
- product: {
41
- foodFlavors: FoodFlavorEnumType[];
42
- packaging: string[];
43
- priceRange: {
44
- max: string;
45
- min: string;
46
- };
47
- producedIn: string[];
48
- };
49
- requirements?: {
50
- electricity: VendorAttributes;
51
- gazebo: VendorAttributes;
52
- table: VendorAttributes;
53
- };
54
- stallInfo: {
55
- size: {
56
- depth: string;
57
- width: string;
58
- };
59
- };
60
- vendorId: string;
61
- };
62
- type CreateVendorInfoFormData = CreateFormData<VendorInfoFormData>;
63
- interface UnregisteredVendorFormData {
64
- categoryIds: string[];
65
- dateTime: DateTimeType[];
66
- email?: string | null;
67
- inviterId: string;
68
- name: string;
69
- region: string;
70
- }
71
- type CreateUnregisteredVendorFormData = CreateFormData<UnregisteredVendorFormData>;
72
-
73
- export type { CreateUnregisteredVendorFormData as C, UnregisteredVendorFormData as U, VendorCalendarData as V, VendorInfoFormData as a, VendorFormData as b, CreateVendorFormData as c, CreateVendorInfoFormData as d, VendorAttributes as e };