@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.
@@ -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
- export type { ChatType as C, NotificationType as N, ParticipantType as P, NotificationCount as a, ChatMessageInput as b, ChatMessageType as c, NotificationDataType as d, CreateBulkNotificationInput as e };
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
- export type { ChatType as C, NotificationType as N, ParticipantType as P, NotificationCount as a, ChatMessageInput as b, ChatMessageType as c, NotificationDataType as d, CreateBulkNotificationInput as e };
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,6 +1,6 @@
1
- import { EnumResourceType, EnumOSPlatform } from '../enums/index.mjs';
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 '../notification-BgjtSkI7.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, 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 ResourceViewEntry = {
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 };
@@ -1,6 +1,6 @@
1
- import { EnumResourceType, EnumOSPlatform } from '../enums/index.js';
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 '../notification-BJF24Obz.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, 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 ResourceViewEntry = {
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timardex/cluemart-shared",
3
- "version": "1.1.73",
3
+ "version": "1.1.75",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",