@timardex/cluemart-shared 1.0.85 → 1.0.87
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 +127 -108
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +19 -7
- package/dist/graphql/index.d.ts +19 -7
- package/dist/graphql/index.mjs +58 -40
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/index.cjs +127 -108
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +20 -11
- package/dist/index.d.ts +20 -11
- package/dist/index.mjs +58 -40
- package/dist/index.mjs.map +1 -1
- package/dist/{notification-DDVH6HnE.d.mts → notification-CmjfP3gD.d.mts} +3 -6
- package/dist/{notification-DDVH6HnE.d.ts → notification-CmjfP3gD.d.ts} +3 -6
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -46,16 +46,13 @@ type NotificationCount = {
|
|
|
46
46
|
total: number;
|
|
47
47
|
unread: number;
|
|
48
48
|
};
|
|
49
|
-
type
|
|
50
|
-
|
|
49
|
+
type CreateBulkNotificationInput = {
|
|
50
|
+
userIds: string[];
|
|
51
51
|
title: string;
|
|
52
52
|
message: string;
|
|
53
53
|
type?: EnumNotificationType;
|
|
54
54
|
data?: Record<string, unknown>;
|
|
55
55
|
};
|
|
56
|
-
type CreateBulkNotificationInput = Omit<CreateNotificationInput, "userId"> & {
|
|
57
|
-
userIds: string[];
|
|
58
|
-
};
|
|
59
56
|
type MarkNotificationReadInput = {
|
|
60
57
|
notificationIds: string[];
|
|
61
58
|
};
|
|
@@ -63,4 +60,4 @@ type MarkAllNotificationsReadInput = {
|
|
|
63
60
|
userId: string;
|
|
64
61
|
};
|
|
65
62
|
|
|
66
|
-
export { type ChatType as C, EnumNotificationType as E, type MarkNotificationReadInput as M, type NotificationType as N, type NotificationCount as a, type ChatInput as b, type ChatMessageInput as c, type ChatMessageType as d, type
|
|
63
|
+
export { type ChatType as C, EnumNotificationType as E, type MarkNotificationReadInput as M, type NotificationType as N, type NotificationCount as a, type ChatInput as b, type ChatMessageInput as c, type ChatMessageType as d, type CreateBulkNotificationInput as e, type MarkAllNotificationsReadInput as f };
|
|
@@ -46,16 +46,13 @@ type NotificationCount = {
|
|
|
46
46
|
total: number;
|
|
47
47
|
unread: number;
|
|
48
48
|
};
|
|
49
|
-
type
|
|
50
|
-
|
|
49
|
+
type CreateBulkNotificationInput = {
|
|
50
|
+
userIds: string[];
|
|
51
51
|
title: string;
|
|
52
52
|
message: string;
|
|
53
53
|
type?: EnumNotificationType;
|
|
54
54
|
data?: Record<string, unknown>;
|
|
55
55
|
};
|
|
56
|
-
type CreateBulkNotificationInput = Omit<CreateNotificationInput, "userId"> & {
|
|
57
|
-
userIds: string[];
|
|
58
|
-
};
|
|
59
56
|
type MarkNotificationReadInput = {
|
|
60
57
|
notificationIds: string[];
|
|
61
58
|
};
|
|
@@ -63,4 +60,4 @@ type MarkAllNotificationsReadInput = {
|
|
|
63
60
|
userId: string;
|
|
64
61
|
};
|
|
65
62
|
|
|
66
|
-
export { type ChatType as C, EnumNotificationType as E, type MarkNotificationReadInput as M, type NotificationType as N, type NotificationCount as a, type ChatInput as b, type ChatMessageInput as c, type ChatMessageType as d, type
|
|
63
|
+
export { type ChatType as C, EnumNotificationType as E, type MarkNotificationReadInput as M, type NotificationType as N, type NotificationCount as a, type ChatInput as b, type ChatMessageInput as c, type ChatMessageType as d, type CreateBulkNotificationInput as e, type MarkAllNotificationsReadInput as f };
|
package/dist/types/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/types/index.ts","../../src/types/notification.ts"],"sourcesContent":["export * from \"./admin\";\nexport * from \"./auth\";\nexport * from \"./chat\";\nexport * from \"./contactUs\";\nexport * from \"./global\";\nexport * from \"./market\";\nexport * from \"./notification\";\nexport * from \"./poster\";\nexport * from \"./relation\";\nexport * from \"./stallholder\";\nexport * from \"./testers\";\nexport * from \"./user\";\n","import { EnumResourceType } from \"src/enums\";\n\nexport enum EnumNotificationType {\n MARKET = EnumResourceType.MARKET,\n STALLHOLDER = EnumResourceType.STALLHOLDER,\n RELATION = \"relation\",\n CHAT = \"chat\",\n SYSTEM = \"system\",\n}\n\nexport type NotificationType = {\n _id: string;\n userId: string;\n title: string;\n message: string;\n type: EnumNotificationType;\n isRead: boolean;\n data?: Record<string, unknown>;\n createdAt: string;\n updatedAt: string;\n};\n\nexport type NotificationCount = {\n total: number;\n unread: number;\n};\n\nexport type
|
|
1
|
+
{"version":3,"sources":["../../src/types/index.ts","../../src/types/notification.ts"],"sourcesContent":["export * from \"./admin\";\nexport * from \"./auth\";\nexport * from \"./chat\";\nexport * from \"./contactUs\";\nexport * from \"./global\";\nexport * from \"./market\";\nexport * from \"./notification\";\nexport * from \"./poster\";\nexport * from \"./relation\";\nexport * from \"./stallholder\";\nexport * from \"./testers\";\nexport * from \"./user\";\n","import { EnumResourceType } from \"src/enums\";\n\nexport enum EnumNotificationType {\n MARKET = EnumResourceType.MARKET,\n STALLHOLDER = EnumResourceType.STALLHOLDER,\n RELATION = \"relation\",\n CHAT = \"chat\",\n SYSTEM = \"system\",\n}\n\nexport type NotificationType = {\n _id: string;\n userId: string;\n title: string;\n message: string;\n type: EnumNotificationType;\n isRead: boolean;\n data?: Record<string, unknown>;\n createdAt: string;\n updatedAt: string;\n};\n\nexport type NotificationCount = {\n total: number;\n unread: number;\n};\n\nexport type CreateBulkNotificationInput = {\n userIds: string[];\n title: string;\n message: string;\n type?: EnumNotificationType;\n data?: Record<string, unknown>;\n};\n\nexport type MarkNotificationReadInput = {\n notificationIds: string[];\n};\n\nexport type MarkAllNotificationsReadInput = {\n userId: string;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACEO,IAAK,wBAAL,CAAKA,0BAAL;AACL,EAAAA,4CAAA;AACA,EAAAA,4CAAA;AACA,EAAAA,sBAAA,cAAW;AACX,EAAAA,sBAAA,UAAO;AACP,EAAAA,sBAAA,YAAS;AALC,SAAAA;AAAA,GAAA;","names":["EnumNotificationType"]}
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
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 '../contactUs-CQ9xTjlE.mjs';
|
|
3
|
-
export { b as ChatInput, c as ChatMessageInput, d as ChatMessageType, C as ChatType,
|
|
3
|
+
export { b as ChatInput, c as ChatMessageInput, d as ChatMessageType, C as ChatType, e as CreateBulkNotificationInput, E as EnumNotificationType, f as MarkAllNotificationsReadInput, M as MarkNotificationReadInput, a as NotificationCount, N as NotificationType } from '../notification-CmjfP3gD.mjs';
|
|
4
4
|
export { s as BaseResourceType, B as BaseResourceTypeFormData, C as Category, l as CreateMarketFormData, n as CreateMarketInfoFormData, h as CreateStallholderFormData, j as CreateStallholderInfoFormData, p as CreateUserFormData, D as DateTimeType, x as DateTimeWithPriceType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, L as LocationType, u as MapMultiLocation, k as MarketFormData, m as MarketInfoFormData, b as MarketInfoType, M as MarketType, y as MarketWithConnectionDatesType, N as Nullable, O as OptionItem, P as PaymentInfoType, t as Region, z as RelationDate, c as RelationType, R as Requirement, d as ResourceConnectionsType, q as ResourceImageType, H as SatllholderWithConnectionDatesType, r as SocialMediaType, S as StallType, E as StallholderAttributes, g as StallholderFormData, i as StallholderInfoFormData, f as StallholderInfoType, A as StallholderLocation, e as StallholderType, w as Subcategory, v as SubcategoryItems, o as UserFormData, U as UserType } from '../global-Bieh1fh8.mjs';
|
|
5
5
|
export { C as CreateTestersFormData, T as TesterType, a as TestersFormData } from '../testers-74J9OA2P.mjs';
|
|
6
6
|
import 'react-hook-form';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
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 '../contactUs-CQ9xTjlE.js';
|
|
3
|
-
export { b as ChatInput, c as ChatMessageInput, d as ChatMessageType, C as ChatType,
|
|
3
|
+
export { b as ChatInput, c as ChatMessageInput, d as ChatMessageType, C as ChatType, e as CreateBulkNotificationInput, E as EnumNotificationType, f as MarkAllNotificationsReadInput, M as MarkNotificationReadInput, a as NotificationCount, N as NotificationType } from '../notification-CmjfP3gD.js';
|
|
4
4
|
export { s as BaseResourceType, B as BaseResourceTypeFormData, C as Category, l as CreateMarketFormData, n as CreateMarketInfoFormData, h as CreateStallholderFormData, j as CreateStallholderInfoFormData, p as CreateUserFormData, D as DateTimeType, x as DateTimeWithPriceType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, L as LocationType, u as MapMultiLocation, k as MarketFormData, m as MarketInfoFormData, b as MarketInfoType, M as MarketType, y as MarketWithConnectionDatesType, N as Nullable, O as OptionItem, P as PaymentInfoType, t as Region, z as RelationDate, c as RelationType, R as Requirement, d as ResourceConnectionsType, q as ResourceImageType, H as SatllholderWithConnectionDatesType, r as SocialMediaType, S as StallType, E as StallholderAttributes, g as StallholderFormData, i as StallholderInfoFormData, f as StallholderInfoType, A as StallholderLocation, e as StallholderType, w as Subcategory, v as SubcategoryItems, o as UserFormData, U as UserType } from '../global-By7aHQ1y.js';
|
|
5
5
|
export { C as CreateTestersFormData, T as TesterType, a as TestersFormData } from '../testers-CqYqJvlZ.js';
|
|
6
6
|
import 'react-hook-form';
|
package/dist/types/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/types/notification.ts"],"sourcesContent":["import { EnumResourceType } from \"src/enums\";\n\nexport enum EnumNotificationType {\n MARKET = EnumResourceType.MARKET,\n STALLHOLDER = EnumResourceType.STALLHOLDER,\n RELATION = \"relation\",\n CHAT = \"chat\",\n SYSTEM = \"system\",\n}\n\nexport type NotificationType = {\n _id: string;\n userId: string;\n title: string;\n message: string;\n type: EnumNotificationType;\n isRead: boolean;\n data?: Record<string, unknown>;\n createdAt: string;\n updatedAt: string;\n};\n\nexport type NotificationCount = {\n total: number;\n unread: number;\n};\n\nexport type
|
|
1
|
+
{"version":3,"sources":["../../src/types/notification.ts"],"sourcesContent":["import { EnumResourceType } from \"src/enums\";\n\nexport enum EnumNotificationType {\n MARKET = EnumResourceType.MARKET,\n STALLHOLDER = EnumResourceType.STALLHOLDER,\n RELATION = \"relation\",\n CHAT = \"chat\",\n SYSTEM = \"system\",\n}\n\nexport type NotificationType = {\n _id: string;\n userId: string;\n title: string;\n message: string;\n type: EnumNotificationType;\n isRead: boolean;\n data?: Record<string, unknown>;\n createdAt: string;\n updatedAt: string;\n};\n\nexport type NotificationCount = {\n total: number;\n unread: number;\n};\n\nexport type CreateBulkNotificationInput = {\n userIds: string[];\n title: string;\n message: string;\n type?: EnumNotificationType;\n data?: Record<string, unknown>;\n};\n\nexport type MarkNotificationReadInput = {\n notificationIds: string[];\n};\n\nexport type MarkAllNotificationsReadInput = {\n userId: string;\n};\n"],"mappings":";;;AAEO,IAAK,wBAAL,CAAKA,0BAAL;AACL,EAAAA,4CAAA;AACA,EAAAA,4CAAA;AACA,EAAAA,sBAAA,cAAW;AACX,EAAAA,sBAAA,UAAO;AACP,EAAAA,sBAAA,YAAS;AALC,SAAAA;AAAA,GAAA;","names":["EnumNotificationType"]}
|