@timardex/cluemart-shared 1.4.67 → 1.4.68
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/{auth-DP4rp8kt.d.mts → auth-B-Z1YMPB.d.mts} +1 -1
- package/dist/{auth-x87uDA8A.d.ts → auth-dvNAGKWv.d.ts} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-Cdcu76UE.d.ts → global-D7zAQcn2.d.ts} +2 -26
- package/dist/{global-GMlnFp7I.d.mts → global-FOUmnU7B.d.mts} +2 -26
- package/dist/graphql/index.d.mts +3 -3
- package/dist/graphql/index.d.ts +3 -3
- package/dist/hooks/index.cjs +1 -1
- 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 +1 -1
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +3 -59
- package/dist/index.d.ts +3 -59
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/{post-Bs27AkGC.d.mts → post-D5luLIWV.d.mts} +1 -1
- package/dist/{post-CdeU5KyV.d.ts → post-Dpp6_lCR.d.ts} +1 -1
- package/dist/{resourceActivities-sdIDFwub.d.mts → resourceActivities-C4-l6iF9.d.mts} +1 -1
- package/dist/{resourceActivities-Qpi5PTJD.d.ts → resourceActivities-DoZpH1Fu.d.ts} +1 -1
- package/dist/types/index.d.mts +9 -41
- package/dist/types/index.d.ts +9 -41
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-
|
|
1
|
+
import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-FOUmnU7B.mjs';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.mjs';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-
|
|
1
|
+
import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-D7zAQcn2.js';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.js';
|
|
4
4
|
|
|
@@ -95,31 +95,7 @@ interface EventType extends BaseResourceType {
|
|
|
95
95
|
relationDates: RelationDate[] | null;
|
|
96
96
|
}[] | null;
|
|
97
97
|
}
|
|
98
|
-
|
|
99
|
-
_id: string;
|
|
100
|
-
active: boolean;
|
|
101
|
-
claimed: boolean;
|
|
102
|
-
cover?: ResourceImageType | null;
|
|
103
|
-
createdAt: Date;
|
|
104
|
-
dateTime: DateTimeType[];
|
|
105
|
-
deletedAt: Date | null;
|
|
106
|
-
description: string | null;
|
|
107
|
-
eventType: EnumEventType;
|
|
108
|
-
googlePlaceId?: string | null;
|
|
109
|
-
images?: ResourceImageType[] | null;
|
|
110
|
-
location: LocationType;
|
|
111
|
-
logo?: ResourceImageType | null;
|
|
112
|
-
name: string;
|
|
113
|
-
rainOrShine: boolean;
|
|
114
|
-
rating?: number | null;
|
|
115
|
-
region: string;
|
|
116
|
-
relations: {
|
|
117
|
-
relationId: string | null;
|
|
118
|
-
relationDates: RelationDate[] | null;
|
|
119
|
-
}[] | null;
|
|
120
|
-
reviewCount?: number | null;
|
|
121
|
-
updatedAt: Date | null;
|
|
122
|
-
}
|
|
98
|
+
type EventListItemType = Pick<EventType, "_id" | "active" | "claimed" | "cover" | "createdAt" | "dateTime" | "deletedAt" | "description" | "eventType" | "googlePlaceId" | "images" | "location" | "logo" | "name" | "rainOrShine" | "rating" | "region" | "relations" | "reviewCount" | "updatedAt">;
|
|
123
99
|
type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
124
100
|
_id: string;
|
|
125
101
|
};
|
|
@@ -408,4 +384,4 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
408
384
|
watch: UseFormWatch<T>;
|
|
409
385
|
}
|
|
410
386
|
|
|
411
|
-
export type { VendorCalendarData as $, AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventType as E, FormField as F, GeocodeLocation as G,
|
|
387
|
+
export type { VendorCalendarData as $, AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventType as E, FormField as F, GeocodeLocation as G, Region as H, ImageObjectType as I, RelationDate as J, ResourceContactDetailsType as K, LocationType as L, ResourceDetails as M, Nullable as N, OptionItem as O, PaymentInfoType as P, ResourceImageType as Q, RefundPolicy as R, StallType as S, SocialMediaType as T, UnregisteredVendorType as U, VendorType as V, Subcategory as W, SubcategoryItems as X, TermsAgreement as Y, UnregisteredVendorInvitationType as Z, VendorAttributes as _, FormDateField as a, VendorProductList as a0, Requirement as b, EventListItemType as c, EventInfoType as d, RelationType as e, ResourceConnectionsType as f, VendorInfoType as g, UserLicenceType as h, VendorFormData as i, CreateVendorFormData as j, VendorInfoFormData as k, CreateVendorInfoFormData as l, EventFormData as m, CreateEventFormData as n, EventInfoFormData as o, CreateEventInfoFormData as p, UnregisteredVendorFormData as q, BaseResourceType as r, CreateFormData as s, CreateUnregisteredVendorFormData as t, DateTimeWithPriceType as u, DeviceInfo as v, EventStatusType as w, LocationGeoType as x, OwnerType as y, PosterUsageType as z };
|
|
@@ -95,31 +95,7 @@ interface EventType extends BaseResourceType {
|
|
|
95
95
|
relationDates: RelationDate[] | null;
|
|
96
96
|
}[] | null;
|
|
97
97
|
}
|
|
98
|
-
|
|
99
|
-
_id: string;
|
|
100
|
-
active: boolean;
|
|
101
|
-
claimed: boolean;
|
|
102
|
-
cover?: ResourceImageType | null;
|
|
103
|
-
createdAt: Date;
|
|
104
|
-
dateTime: DateTimeType[];
|
|
105
|
-
deletedAt: Date | null;
|
|
106
|
-
description: string | null;
|
|
107
|
-
eventType: EnumEventType;
|
|
108
|
-
googlePlaceId?: string | null;
|
|
109
|
-
images?: ResourceImageType[] | null;
|
|
110
|
-
location: LocationType;
|
|
111
|
-
logo?: ResourceImageType | null;
|
|
112
|
-
name: string;
|
|
113
|
-
rainOrShine: boolean;
|
|
114
|
-
rating?: number | null;
|
|
115
|
-
region: string;
|
|
116
|
-
relations: {
|
|
117
|
-
relationId: string | null;
|
|
118
|
-
relationDates: RelationDate[] | null;
|
|
119
|
-
}[] | null;
|
|
120
|
-
reviewCount?: number | null;
|
|
121
|
-
updatedAt: Date | null;
|
|
122
|
-
}
|
|
98
|
+
type EventListItemType = Pick<EventType, "_id" | "active" | "claimed" | "cover" | "createdAt" | "dateTime" | "deletedAt" | "description" | "eventType" | "googlePlaceId" | "images" | "location" | "logo" | "name" | "rainOrShine" | "rating" | "region" | "relations" | "reviewCount" | "updatedAt">;
|
|
123
99
|
type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
124
100
|
_id: string;
|
|
125
101
|
};
|
|
@@ -408,4 +384,4 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
408
384
|
watch: UseFormWatch<T>;
|
|
409
385
|
}
|
|
410
386
|
|
|
411
|
-
export type { VendorCalendarData as $, AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventType as E, FormField as F, GeocodeLocation as G,
|
|
387
|
+
export type { VendorCalendarData as $, AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventType as E, FormField as F, GeocodeLocation as G, Region as H, ImageObjectType as I, RelationDate as J, ResourceContactDetailsType as K, LocationType as L, ResourceDetails as M, Nullable as N, OptionItem as O, PaymentInfoType as P, ResourceImageType as Q, RefundPolicy as R, StallType as S, SocialMediaType as T, UnregisteredVendorType as U, VendorType as V, Subcategory as W, SubcategoryItems as X, TermsAgreement as Y, UnregisteredVendorInvitationType as Z, VendorAttributes as _, FormDateField as a, VendorProductList as a0, Requirement as b, EventListItemType as c, EventInfoType as d, RelationType as e, ResourceConnectionsType as f, VendorInfoType as g, UserLicenceType as h, VendorFormData as i, CreateVendorFormData as j, VendorInfoFormData as k, CreateVendorInfoFormData as l, EventFormData as m, CreateEventFormData as n, EventInfoFormData as o, CreateEventInfoFormData as p, UnregisteredVendorFormData as q, BaseResourceType as r, CreateFormData as s, CreateUnregisteredVendorFormData as t, DateTimeWithPriceType as u, DeviceInfo as v, EventStatusType as w, LocationGeoType as x, OwnerType as y, PosterUsageType as z };
|
package/dist/graphql/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { EnumResourceType } from '../enums/index.mjs';
|
|
3
|
-
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-
|
|
4
|
-
import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-
|
|
5
|
-
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-
|
|
3
|
+
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-C4-l6iF9.mjs';
|
|
4
|
+
import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-FOUmnU7B.mjs';
|
|
5
|
+
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-D5luLIWV.mjs';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
|
|
8
8
|
declare const useAdminUpdateResourceType: () => {
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { EnumResourceType } from '../enums/index.js';
|
|
3
|
-
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-
|
|
4
|
-
import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-
|
|
5
|
-
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-
|
|
3
|
+
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-DoZpH1Fu.js';
|
|
4
|
+
import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-D7zAQcn2.js';
|
|
5
|
+
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-Dpp6_lCR.js';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
|
|
8
8
|
declare const useAdminUpdateResourceType: () => {
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -826,7 +826,7 @@ var adResourceSchema = yup6.object({
|
|
|
826
826
|
adDescription: yup6.string().nullable().trim().required("Ad description is required").max(100, "Ad description must be at most 100 characters"),
|
|
827
827
|
adImage: yup6.string().nullable().required("Ad image is required"),
|
|
828
828
|
adStyle: yup6.mixed().nullable().oneOf(Object.values(EnumAdStyle), "Please select a valid ad style").required("Ad style is required"),
|
|
829
|
-
adTitle: yup6.string().nullable().trim().required("Ad title is required").max(
|
|
829
|
+
adTitle: yup6.string().nullable().trim().required("Ad title is required").max(25, "Ad title must be at most 25 characters"),
|
|
830
830
|
adType: yup6.mixed().nullable().oneOf(Object.values(EnumAdType), "Please select a valid ad type").required("Ad type is required"),
|
|
831
831
|
resourceId: yup6.string().nullable().required("Resource ID is required"),
|
|
832
832
|
resourceName: yup6.string().nullable().required("Resource name is required"),
|