@timardex/cluemart-shared 1.0.87 → 1.0.88
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 +19 -28
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +5 -5
- package/dist/graphql/index.d.ts +5 -5
- package/dist/graphql/index.mjs +19 -28
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/index.cjs +19 -28
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +5 -11
- package/dist/index.d.ts +5 -11
- package/dist/index.mjs +19 -28
- package/dist/index.mjs.map +1 -1
- package/dist/{notification-CmjfP3gD.d.mts → notification-Xc4qk09g.d.mts} +1 -7
- package/dist/{notification-CmjfP3gD.d.ts → notification-Xc4qk09g.d.ts} +1 -7
- 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
|
@@ -53,11 +53,5 @@ type CreateBulkNotificationInput = {
|
|
|
53
53
|
type?: EnumNotificationType;
|
|
54
54
|
data?: Record<string, unknown>;
|
|
55
55
|
};
|
|
56
|
-
type MarkNotificationReadInput = {
|
|
57
|
-
notificationIds: string[];
|
|
58
|
-
};
|
|
59
|
-
type MarkAllNotificationsReadInput = {
|
|
60
|
-
userId: string;
|
|
61
|
-
};
|
|
62
56
|
|
|
63
|
-
export { type ChatType as C, EnumNotificationType as E, type
|
|
57
|
+
export { type ChatType as C, EnumNotificationType as E, type NotificationType as N, type NotificationCount as a, type ChatInput as b, type ChatMessageInput as c, type ChatMessageType as d, type CreateBulkNotificationInput as e };
|
|
@@ -53,11 +53,5 @@ type CreateBulkNotificationInput = {
|
|
|
53
53
|
type?: EnumNotificationType;
|
|
54
54
|
data?: Record<string, unknown>;
|
|
55
55
|
};
|
|
56
|
-
type MarkNotificationReadInput = {
|
|
57
|
-
notificationIds: string[];
|
|
58
|
-
};
|
|
59
|
-
type MarkAllNotificationsReadInput = {
|
|
60
|
-
userId: string;
|
|
61
|
-
};
|
|
62
56
|
|
|
63
|
-
export { type ChatType as C, EnumNotificationType as E, type
|
|
57
|
+
export { type ChatType as C, EnumNotificationType as E, type NotificationType as N, type NotificationCount as a, type ChatInput as b, type ChatMessageInput as c, type ChatMessageType as d, type CreateBulkNotificationInput as e };
|
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 CreateBulkNotificationInput = {\n userIds: string[];\n title: string;\n message: string;\n type?: EnumNotificationType;\n data?: Record<string, unknown>;\n};\n
|
|
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"],"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, e as CreateBulkNotificationInput, E as EnumNotificationType,
|
|
3
|
+
export { b as ChatInput, c as ChatMessageInput, d as ChatMessageType, C as ChatType, e as CreateBulkNotificationInput, E as EnumNotificationType, a as NotificationCount, N as NotificationType } from '../notification-Xc4qk09g.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, e as CreateBulkNotificationInput, E as EnumNotificationType,
|
|
3
|
+
export { b as ChatInput, c as ChatMessageInput, d as ChatMessageType, C as ChatType, e as CreateBulkNotificationInput, E as EnumNotificationType, a as NotificationCount, N as NotificationType } from '../notification-Xc4qk09g.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 CreateBulkNotificationInput = {\n userIds: string[];\n title: string;\n message: string;\n type?: EnumNotificationType;\n data?: Record<string, unknown>;\n};\n
|
|
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"],"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"]}
|