@timardex/cluemart-shared 1.1.73 → 1.1.75
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/graphql/index.cjs +68 -0
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +15 -2
- package/dist/graphql/index.d.ts +15 -2
- package/dist/graphql/index.mjs +66 -0
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/index.cjs +68 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +23 -1
- package/dist/index.d.ts +23 -1
- package/dist/index.mjs +66 -0
- package/dist/index.mjs.map +1 -1
- package/dist/{notification-BJF24Obz.d.ts → resourceViews-C2CYUMC0.d.ts} +26 -2
- package/dist/{notification-BgjtSkI7.d.mts → resourceViews-ja9Qif1X.d.mts} +26 -2
- package/dist/types/index.d.mts +3 -18
- package/dist/types/index.d.ts +3 -18
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EnumChatType, EnumNotificationType, EnumNotificationResourceType } from './enums/index.js';
|
|
1
|
+
import { EnumChatType, EnumNotificationType, EnumNotificationResourceType, EnumResourceType, EnumOSPlatform } from './enums/index.js';
|
|
2
2
|
import { q as OwnerType } from './global-BsANkXhj.js';
|
|
3
3
|
|
|
4
4
|
type ParticipantType = Omit<OwnerType, "licences"> & {
|
|
@@ -61,4 +61,28 @@ type CreateBulkNotificationInput = {
|
|
|
61
61
|
data: NotificationDataType | null;
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
type ResourceViewEntry = {
|
|
65
|
+
location: {
|
|
66
|
+
type: "Point";
|
|
67
|
+
coordinates: number[];
|
|
68
|
+
} | null;
|
|
69
|
+
userAgent: EnumOSPlatform;
|
|
70
|
+
viewedAt: Date;
|
|
71
|
+
};
|
|
72
|
+
type ResourceViewsType = {
|
|
73
|
+
_id: string;
|
|
74
|
+
resourceType: EnumResourceType;
|
|
75
|
+
resourceId: string;
|
|
76
|
+
views: ResourceViewEntry[];
|
|
77
|
+
};
|
|
78
|
+
type ResourceViewInputType = {
|
|
79
|
+
resourceId: string;
|
|
80
|
+
resourceType: string;
|
|
81
|
+
views: Omit<ResourceViewEntry, "viewedAt" | "location"> & {
|
|
82
|
+
location: {
|
|
83
|
+
coordinates: number[];
|
|
84
|
+
} | null;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
export type { ChatType as C, NotificationType as N, ParticipantType as P, ResourceViewsType as R, NotificationCount as a, ChatMessageInput as b, ChatMessageType as c, NotificationDataType as d, CreateBulkNotificationInput as e, ResourceViewEntry as f, ResourceViewInputType as g };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EnumChatType, EnumNotificationType, EnumNotificationResourceType } from './enums/index.mjs';
|
|
1
|
+
import { EnumChatType, EnumNotificationType, EnumNotificationResourceType, EnumResourceType, EnumOSPlatform } from './enums/index.mjs';
|
|
2
2
|
import { q as OwnerType } from './global-Dt-vAIF9.mjs';
|
|
3
3
|
|
|
4
4
|
type ParticipantType = Omit<OwnerType, "licences"> & {
|
|
@@ -61,4 +61,28 @@ type CreateBulkNotificationInput = {
|
|
|
61
61
|
data: NotificationDataType | null;
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
type ResourceViewEntry = {
|
|
65
|
+
location: {
|
|
66
|
+
type: "Point";
|
|
67
|
+
coordinates: number[];
|
|
68
|
+
} | null;
|
|
69
|
+
userAgent: EnumOSPlatform;
|
|
70
|
+
viewedAt: Date;
|
|
71
|
+
};
|
|
72
|
+
type ResourceViewsType = {
|
|
73
|
+
_id: string;
|
|
74
|
+
resourceType: EnumResourceType;
|
|
75
|
+
resourceId: string;
|
|
76
|
+
views: ResourceViewEntry[];
|
|
77
|
+
};
|
|
78
|
+
type ResourceViewInputType = {
|
|
79
|
+
resourceId: string;
|
|
80
|
+
resourceType: string;
|
|
81
|
+
views: Omit<ResourceViewEntry, "viewedAt" | "location"> & {
|
|
82
|
+
location: {
|
|
83
|
+
coordinates: number[];
|
|
84
|
+
} | null;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
export type { ChatType as C, NotificationType as N, ParticipantType as P, ResourceViewsType as R, NotificationCount as a, ChatMessageInput as b, ChatMessageType as c, NotificationDataType as d, CreateBulkNotificationInput as e, ResourceViewEntry as f, ResourceViewInputType as g };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EnumResourceType
|
|
1
|
+
import { EnumResourceType } from '../enums/index.mjs';
|
|
2
2
|
export { e as ContactUsFormData, f as CreateContactUsFormData, C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, d as CreateResetPasswordFormData, c as CreateValidateVerificationTokenFormData, L as LoginFormData, R as RegisterFormData, g as RequestPasswordResetFormData, h as ResetPasswordFormData, V as ValidateVerificationTokenFormData } from '../auth-CsMldwsP.mjs';
|
|
3
|
-
export { b as ChatMessageInput, c as ChatMessageType, C as ChatType, e as CreateBulkNotificationInput, a as NotificationCount, d as NotificationDataType, N as NotificationType, P as ParticipantType } from '../
|
|
3
|
+
export { b as ChatMessageInput, c as ChatMessageType, C as ChatType, e as CreateBulkNotificationInput, a as NotificationCount, d as NotificationDataType, N as NotificationType, P as ParticipantType, f as ResourceViewEntry, g as ResourceViewInputType, R as ResourceViewsType } from '../resourceViews-ja9Qif1X.mjs';
|
|
4
4
|
export { r as BaseResourceType, B as BaseResourceTypeFormData, C as Category, w as CreateFormData, l as CreateMarketFormData, n as CreateMarketInfoFormData, h as CreateStallholderFormData, j as CreateStallholderInfoFormData, D as DateTimeType, y as DateTimeWithPriceType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, L as LocationType, t as MapMultiLocation, k as MarketFormData, m as MarketInfoFormData, b as MarketInfoType, M as MarketType, A as MarketWithConnectionDatesType, N as Nullable, O as OptionItem, q as OwnerType, z as PaymentInfoType, P as PosterUsageType, s as Region, E as RelationDate, c as RelationType, R as Requirement, d as ResourceConnectionsType, x as ResourceContactDetailsType, o as ResourceImageType, K as SatllholderWithConnectionDatesType, p as SocialMediaType, S as StallType, J as StallholderAttributes, g as StallholderFormData, i as StallholderInfoFormData, f as StallholderInfoType, H as StallholderLocation, e as StallholderType, v as Subcategory, u as SubcategoryItems } from '../global-Dt-vAIF9.mjs';
|
|
5
5
|
export { d as AdFormData, A as AdType, e as CreateAdFormData, c as CreateTestersFormData, C as CreateUserFormData, f as EnumAdShowOn, E as EnumAdStatus, h as EnumAdStyle, g as EnumAdType, T as TesterType, b as TestersFormData, a as UserFormData, U as UserType } from '../ad-BoyPTKzO.mjs';
|
|
6
6
|
import 'react-hook-form';
|
|
@@ -18,19 +18,4 @@ interface PosterInputType {
|
|
|
18
18
|
resourceType: EnumResourceType;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
type
|
|
22
|
-
location: {
|
|
23
|
-
type: "Point";
|
|
24
|
-
coordinates: number[];
|
|
25
|
-
} | null;
|
|
26
|
-
userAgent: EnumOSPlatform;
|
|
27
|
-
viewedAt: Date;
|
|
28
|
-
};
|
|
29
|
-
type ResourceViewsType = {
|
|
30
|
-
_id: string;
|
|
31
|
-
resourceType: EnumResourceType;
|
|
32
|
-
resourceId: string;
|
|
33
|
-
views: ResourceViewEntry[];
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
export type { AdminUpdateResourceType, PosterInputType, ResourceViewEntry, ResourceViewsType };
|
|
21
|
+
export type { AdminUpdateResourceType, PosterInputType };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EnumResourceType
|
|
1
|
+
import { EnumResourceType } from '../enums/index.js';
|
|
2
2
|
export { e as ContactUsFormData, f as CreateContactUsFormData, C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, d as CreateResetPasswordFormData, c as CreateValidateVerificationTokenFormData, L as LoginFormData, R as RegisterFormData, g as RequestPasswordResetFormData, h as ResetPasswordFormData, V as ValidateVerificationTokenFormData } from '../auth-CatvNkT_.js';
|
|
3
|
-
export { b as ChatMessageInput, c as ChatMessageType, C as ChatType, e as CreateBulkNotificationInput, a as NotificationCount, d as NotificationDataType, N as NotificationType, P as ParticipantType } from '../
|
|
3
|
+
export { b as ChatMessageInput, c as ChatMessageType, C as ChatType, e as CreateBulkNotificationInput, a as NotificationCount, d as NotificationDataType, N as NotificationType, P as ParticipantType, f as ResourceViewEntry, g as ResourceViewInputType, R as ResourceViewsType } from '../resourceViews-C2CYUMC0.js';
|
|
4
4
|
export { r as BaseResourceType, B as BaseResourceTypeFormData, C as Category, w as CreateFormData, l as CreateMarketFormData, n as CreateMarketInfoFormData, h as CreateStallholderFormData, j as CreateStallholderInfoFormData, D as DateTimeType, y as DateTimeWithPriceType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, L as LocationType, t as MapMultiLocation, k as MarketFormData, m as MarketInfoFormData, b as MarketInfoType, M as MarketType, A as MarketWithConnectionDatesType, N as Nullable, O as OptionItem, q as OwnerType, z as PaymentInfoType, P as PosterUsageType, s as Region, E as RelationDate, c as RelationType, R as Requirement, d as ResourceConnectionsType, x as ResourceContactDetailsType, o as ResourceImageType, K as SatllholderWithConnectionDatesType, p as SocialMediaType, S as StallType, J as StallholderAttributes, g as StallholderFormData, i as StallholderInfoFormData, f as StallholderInfoType, H as StallholderLocation, e as StallholderType, v as Subcategory, u as SubcategoryItems } from '../global-BsANkXhj.js';
|
|
5
5
|
export { d as AdFormData, A as AdType, e as CreateAdFormData, c as CreateTestersFormData, C as CreateUserFormData, f as EnumAdShowOn, E as EnumAdStatus, h as EnumAdStyle, g as EnumAdType, T as TesterType, b as TestersFormData, a as UserFormData, U as UserType } from '../ad-ByaFgKCJ.js';
|
|
6
6
|
import 'react-hook-form';
|
|
@@ -18,19 +18,4 @@ interface PosterInputType {
|
|
|
18
18
|
resourceType: EnumResourceType;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
type
|
|
22
|
-
location: {
|
|
23
|
-
type: "Point";
|
|
24
|
-
coordinates: number[];
|
|
25
|
-
} | null;
|
|
26
|
-
userAgent: EnumOSPlatform;
|
|
27
|
-
viewedAt: Date;
|
|
28
|
-
};
|
|
29
|
-
type ResourceViewsType = {
|
|
30
|
-
_id: string;
|
|
31
|
-
resourceType: EnumResourceType;
|
|
32
|
-
resourceId: string;
|
|
33
|
-
views: ResourceViewEntry[];
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
export type { AdminUpdateResourceType, PosterInputType, ResourceViewEntry, ResourceViewsType };
|
|
21
|
+
export type { AdminUpdateResourceType, PosterInputType };
|