@timardex/cluemart-shared 1.2.27 → 1.2.29
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/ad-Crq-z5Wt.d.mts +69 -0
- package/dist/ad-DHetF-th.d.ts +69 -0
- package/dist/{auth-BVGs-5Vm.d.mts → auth-Ci6Uskch.d.mts} +1 -1
- package/dist/{auth-BhUIvvZ2.d.ts → auth-CzEdRDf1.d.ts} +1 -1
- package/dist/chunk-BO3HICLR.mjs +24 -0
- package/dist/chunk-BO3HICLR.mjs.map +1 -0
- package/dist/chunk-CQ7TCXMI.mjs +68 -0
- package/dist/chunk-CQ7TCXMI.mjs.map +1 -0
- package/dist/formFields/index.d.mts +2 -1
- package/dist/formFields/index.d.ts +2 -1
- package/dist/{global-BA84KF8J.d.ts → global-2Jk7sRkL.d.ts} +128 -2
- package/dist/{global-BEqzo5Z2.d.mts → global-DWuTxnJ8.d.mts} +128 -2
- package/dist/graphql/index.d.mts +5 -3
- package/dist/graphql/index.d.ts +5 -3
- package/dist/hooks/index.d.mts +5 -3
- package/dist/hooks/index.d.ts +5 -3
- package/dist/hooks/index.mjs +5 -5
- package/dist/index.cjs +1132 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +695 -300
- package/dist/index.d.ts +695 -300
- package/dist/index.mjs +1117 -17
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +1068 -0
- package/dist/mongoose/index.cjs.map +1 -0
- package/dist/mongoose/index.d.mts +318 -0
- package/dist/mongoose/index.d.ts +318 -0
- package/dist/mongoose/index.mjs +855 -0
- package/dist/mongoose/index.mjs.map +1 -0
- package/dist/resourceActivities-B4roVKtQ.d.ts +34 -0
- package/dist/resourceActivities-BIjtlOGp.d.mts +34 -0
- package/dist/service/index.cjs +336 -0
- package/dist/service/index.cjs.map +1 -0
- package/dist/service/index.d.mts +27 -0
- package/dist/service/index.d.ts +27 -0
- package/dist/service/index.mjs +214 -0
- package/dist/service/index.mjs.map +1 -0
- package/dist/types/index.cjs +13 -2
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +6 -4
- package/dist/types/index.d.ts +6 -4
- package/dist/types/index.mjs +6 -11
- package/dist/types/index.mjs.map +1 -1
- package/dist/user-DbEEY7fv.d.ts +64 -0
- package/dist/user-OPY5EOqR.d.mts +64 -0
- package/dist/utils/index.d.mts +2 -1
- package/dist/utils/index.d.ts +2 -1
- package/package.json +13 -1
- package/dist/ad-Bv5fLkN0.d.mts +0 -129
- package/dist/ad-DDPNpx02.d.ts +0 -129
- package/dist/resourceActivities-DWC-Btmf.d.ts +0 -96
- package/dist/resourceActivities-DoLx4lPo.d.mts +0 -96
package/dist/ad-Bv5fLkN0.d.mts
DELETED
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { EnumOSPlatform, EnumResourceType, EnumUserLicence, EnumUserRole } from './enums/index.mjs';
|
|
2
|
-
import { C as Category, x as CreateFormData, o as ResourceImageType, P as PartnerType, T as TermsAgreement, p as SocialMediaType } from './global-BEqzo5Z2.mjs';
|
|
3
|
-
|
|
4
|
-
interface TestersFormData {
|
|
5
|
-
categories?: Category[] | null;
|
|
6
|
-
companyName: string;
|
|
7
|
-
email: string;
|
|
8
|
-
firstName: string;
|
|
9
|
-
lastName: string;
|
|
10
|
-
osType: EnumOSPlatform;
|
|
11
|
-
region: string;
|
|
12
|
-
resourceType: EnumResourceType;
|
|
13
|
-
}
|
|
14
|
-
type CreateTestersFormData = CreateFormData<TestersFormData>;
|
|
15
|
-
interface TesterType extends TestersFormData {
|
|
16
|
-
_id: string;
|
|
17
|
-
active: boolean;
|
|
18
|
-
createdAt: string;
|
|
19
|
-
updatedAt: string;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
type UserFormData = {
|
|
23
|
-
_id?: string;
|
|
24
|
-
active: boolean;
|
|
25
|
-
avatar?: ResourceImageType | null;
|
|
26
|
-
avatarUpload?: ResourceImageType | null;
|
|
27
|
-
confirmPassword: string;
|
|
28
|
-
email: string;
|
|
29
|
-
firstName: string;
|
|
30
|
-
lastName: string;
|
|
31
|
-
password: string;
|
|
32
|
-
platform?: EnumOSPlatform;
|
|
33
|
-
preferredRegion: string;
|
|
34
|
-
role: EnumUserRole;
|
|
35
|
-
termsAgreement?: TermsAgreement | null;
|
|
36
|
-
};
|
|
37
|
-
type CreateUserFormData = CreateFormData<UserFormData>;
|
|
38
|
-
type UserActivityEvent = {
|
|
39
|
-
resourceId: string;
|
|
40
|
-
startDate: string;
|
|
41
|
-
startTime: string;
|
|
42
|
-
};
|
|
43
|
-
type UserActivity = {
|
|
44
|
-
favourites: {
|
|
45
|
-
events: string[];
|
|
46
|
-
vendors: string[];
|
|
47
|
-
};
|
|
48
|
-
going: {
|
|
49
|
-
events: UserActivityEvent[];
|
|
50
|
-
};
|
|
51
|
-
interested: {
|
|
52
|
-
events: UserActivityEvent[];
|
|
53
|
-
};
|
|
54
|
-
present: {
|
|
55
|
-
events: UserActivityEvent[];
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
interface UserType {
|
|
59
|
-
_id: string;
|
|
60
|
-
active: boolean;
|
|
61
|
-
avatar: ResourceImageType | null;
|
|
62
|
-
createdAt: string;
|
|
63
|
-
deletedAt: string | null;
|
|
64
|
-
email: string;
|
|
65
|
-
events: string[] | null;
|
|
66
|
-
firstName: string;
|
|
67
|
-
isTester: boolean;
|
|
68
|
-
lastName: string;
|
|
69
|
-
licences: EnumUserLicence[] | null;
|
|
70
|
-
partners?: PartnerType[] | null;
|
|
71
|
-
password: string;
|
|
72
|
-
platform: EnumOSPlatform | null;
|
|
73
|
-
preferredRegion: string;
|
|
74
|
-
refreshToken: string | null;
|
|
75
|
-
role: EnumUserRole;
|
|
76
|
-
termsAgreement?: TermsAgreement | null;
|
|
77
|
-
updatedAt: string;
|
|
78
|
-
userActivity: UserActivity | null;
|
|
79
|
-
vendor: string | null;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
declare enum EnumAdShowOn {
|
|
83
|
-
FRONT_PAGE = "Front_page",
|
|
84
|
-
EVENTS_PAGE = "Events_page",
|
|
85
|
-
VENDORS_PAGE = "Vendors_page"
|
|
86
|
-
}
|
|
87
|
-
declare enum EnumAdStatus {
|
|
88
|
-
ACTIVE = "Active",
|
|
89
|
-
PAUSED = "Paused",
|
|
90
|
-
EXPIRED = "Expired"
|
|
91
|
-
}
|
|
92
|
-
declare enum EnumAdType {
|
|
93
|
-
SPONSORED = "Sponsored",
|
|
94
|
-
FREE = "Free"
|
|
95
|
-
}
|
|
96
|
-
declare enum EnumAdStyle {
|
|
97
|
-
BLOOM = "Bloom",
|
|
98
|
-
RISE = "Rise"
|
|
99
|
-
}
|
|
100
|
-
interface AdFormData {
|
|
101
|
-
active: boolean;
|
|
102
|
-
adStyle: EnumAdStyle;
|
|
103
|
-
adType: EnumAdType;
|
|
104
|
-
clui?: string | null;
|
|
105
|
-
end: Date;
|
|
106
|
-
resourceCover: string;
|
|
107
|
-
resourceDescription: string;
|
|
108
|
-
resourceId: string;
|
|
109
|
-
resourceLogo?: string | null;
|
|
110
|
-
resourceName: string;
|
|
111
|
-
resourceRegion: string;
|
|
112
|
-
resourceType: EnumResourceType;
|
|
113
|
-
showOn: EnumAdShowOn;
|
|
114
|
-
socialMedia?: SocialMediaType[] | null;
|
|
115
|
-
start?: Date;
|
|
116
|
-
status: EnumAdStatus;
|
|
117
|
-
targetRegion?: string | null;
|
|
118
|
-
}
|
|
119
|
-
type CreateAdFormData = CreateFormData<AdFormData>;
|
|
120
|
-
interface AdType extends AdFormData {
|
|
121
|
-
_id: string;
|
|
122
|
-
clicks?: number;
|
|
123
|
-
createdAt: Date;
|
|
124
|
-
impressions?: number;
|
|
125
|
-
start: Date;
|
|
126
|
-
updatedAt: Date;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
export { type AdType as A, type CreateUserFormData as C, EnumAdStatus as E, type TesterType as T, type UserType as U, type UserFormData as a, type TestersFormData as b, type CreateTestersFormData as c, type AdFormData as d, type CreateAdFormData as e, type UserActivityEvent as f, type UserActivity as g, EnumAdShowOn as h, EnumAdType as i, EnumAdStyle as j };
|
package/dist/ad-DDPNpx02.d.ts
DELETED
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { EnumOSPlatform, EnumResourceType, EnumUserLicence, EnumUserRole } from './enums/index.js';
|
|
2
|
-
import { C as Category, x as CreateFormData, o as ResourceImageType, P as PartnerType, T as TermsAgreement, p as SocialMediaType } from './global-BA84KF8J.js';
|
|
3
|
-
|
|
4
|
-
interface TestersFormData {
|
|
5
|
-
categories?: Category[] | null;
|
|
6
|
-
companyName: string;
|
|
7
|
-
email: string;
|
|
8
|
-
firstName: string;
|
|
9
|
-
lastName: string;
|
|
10
|
-
osType: EnumOSPlatform;
|
|
11
|
-
region: string;
|
|
12
|
-
resourceType: EnumResourceType;
|
|
13
|
-
}
|
|
14
|
-
type CreateTestersFormData = CreateFormData<TestersFormData>;
|
|
15
|
-
interface TesterType extends TestersFormData {
|
|
16
|
-
_id: string;
|
|
17
|
-
active: boolean;
|
|
18
|
-
createdAt: string;
|
|
19
|
-
updatedAt: string;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
type UserFormData = {
|
|
23
|
-
_id?: string;
|
|
24
|
-
active: boolean;
|
|
25
|
-
avatar?: ResourceImageType | null;
|
|
26
|
-
avatarUpload?: ResourceImageType | null;
|
|
27
|
-
confirmPassword: string;
|
|
28
|
-
email: string;
|
|
29
|
-
firstName: string;
|
|
30
|
-
lastName: string;
|
|
31
|
-
password: string;
|
|
32
|
-
platform?: EnumOSPlatform;
|
|
33
|
-
preferredRegion: string;
|
|
34
|
-
role: EnumUserRole;
|
|
35
|
-
termsAgreement?: TermsAgreement | null;
|
|
36
|
-
};
|
|
37
|
-
type CreateUserFormData = CreateFormData<UserFormData>;
|
|
38
|
-
type UserActivityEvent = {
|
|
39
|
-
resourceId: string;
|
|
40
|
-
startDate: string;
|
|
41
|
-
startTime: string;
|
|
42
|
-
};
|
|
43
|
-
type UserActivity = {
|
|
44
|
-
favourites: {
|
|
45
|
-
events: string[];
|
|
46
|
-
vendors: string[];
|
|
47
|
-
};
|
|
48
|
-
going: {
|
|
49
|
-
events: UserActivityEvent[];
|
|
50
|
-
};
|
|
51
|
-
interested: {
|
|
52
|
-
events: UserActivityEvent[];
|
|
53
|
-
};
|
|
54
|
-
present: {
|
|
55
|
-
events: UserActivityEvent[];
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
interface UserType {
|
|
59
|
-
_id: string;
|
|
60
|
-
active: boolean;
|
|
61
|
-
avatar: ResourceImageType | null;
|
|
62
|
-
createdAt: string;
|
|
63
|
-
deletedAt: string | null;
|
|
64
|
-
email: string;
|
|
65
|
-
events: string[] | null;
|
|
66
|
-
firstName: string;
|
|
67
|
-
isTester: boolean;
|
|
68
|
-
lastName: string;
|
|
69
|
-
licences: EnumUserLicence[] | null;
|
|
70
|
-
partners?: PartnerType[] | null;
|
|
71
|
-
password: string;
|
|
72
|
-
platform: EnumOSPlatform | null;
|
|
73
|
-
preferredRegion: string;
|
|
74
|
-
refreshToken: string | null;
|
|
75
|
-
role: EnumUserRole;
|
|
76
|
-
termsAgreement?: TermsAgreement | null;
|
|
77
|
-
updatedAt: string;
|
|
78
|
-
userActivity: UserActivity | null;
|
|
79
|
-
vendor: string | null;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
declare enum EnumAdShowOn {
|
|
83
|
-
FRONT_PAGE = "Front_page",
|
|
84
|
-
EVENTS_PAGE = "Events_page",
|
|
85
|
-
VENDORS_PAGE = "Vendors_page"
|
|
86
|
-
}
|
|
87
|
-
declare enum EnumAdStatus {
|
|
88
|
-
ACTIVE = "Active",
|
|
89
|
-
PAUSED = "Paused",
|
|
90
|
-
EXPIRED = "Expired"
|
|
91
|
-
}
|
|
92
|
-
declare enum EnumAdType {
|
|
93
|
-
SPONSORED = "Sponsored",
|
|
94
|
-
FREE = "Free"
|
|
95
|
-
}
|
|
96
|
-
declare enum EnumAdStyle {
|
|
97
|
-
BLOOM = "Bloom",
|
|
98
|
-
RISE = "Rise"
|
|
99
|
-
}
|
|
100
|
-
interface AdFormData {
|
|
101
|
-
active: boolean;
|
|
102
|
-
adStyle: EnumAdStyle;
|
|
103
|
-
adType: EnumAdType;
|
|
104
|
-
clui?: string | null;
|
|
105
|
-
end: Date;
|
|
106
|
-
resourceCover: string;
|
|
107
|
-
resourceDescription: string;
|
|
108
|
-
resourceId: string;
|
|
109
|
-
resourceLogo?: string | null;
|
|
110
|
-
resourceName: string;
|
|
111
|
-
resourceRegion: string;
|
|
112
|
-
resourceType: EnumResourceType;
|
|
113
|
-
showOn: EnumAdShowOn;
|
|
114
|
-
socialMedia?: SocialMediaType[] | null;
|
|
115
|
-
start?: Date;
|
|
116
|
-
status: EnumAdStatus;
|
|
117
|
-
targetRegion?: string | null;
|
|
118
|
-
}
|
|
119
|
-
type CreateAdFormData = CreateFormData<AdFormData>;
|
|
120
|
-
interface AdType extends AdFormData {
|
|
121
|
-
_id: string;
|
|
122
|
-
clicks?: number;
|
|
123
|
-
createdAt: Date;
|
|
124
|
-
impressions?: number;
|
|
125
|
-
start: Date;
|
|
126
|
-
updatedAt: Date;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
export { type AdType as A, type CreateUserFormData as C, EnumAdStatus as E, type TesterType as T, type UserType as U, type UserFormData as a, type TestersFormData as b, type CreateTestersFormData as c, type AdFormData as d, type CreateAdFormData as e, type UserActivityEvent as f, type UserActivity as g, EnumAdShowOn as h, EnumAdType as i, EnumAdStyle as j };
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { EnumChatType, EnumNotificationType, EnumNotificationResourceType, EnumResourceType, EnumOSPlatform } from './enums/index.js';
|
|
2
|
-
|
|
3
|
-
type ParticipantType = {
|
|
4
|
-
active: boolean;
|
|
5
|
-
email: string;
|
|
6
|
-
userId: string;
|
|
7
|
-
};
|
|
8
|
-
interface ChatMessageInput {
|
|
9
|
-
content: string;
|
|
10
|
-
senderId: string;
|
|
11
|
-
}
|
|
12
|
-
interface ChatMessageType {
|
|
13
|
-
_id?: string;
|
|
14
|
-
content: string;
|
|
15
|
-
createdAt?: string;
|
|
16
|
-
senderAvatar: string | null;
|
|
17
|
-
senderId: string;
|
|
18
|
-
senderName: string;
|
|
19
|
-
updatedAt?: string;
|
|
20
|
-
}
|
|
21
|
-
interface ChatType {
|
|
22
|
-
_id: string;
|
|
23
|
-
active: boolean;
|
|
24
|
-
chatType: EnumChatType;
|
|
25
|
-
chatName: string;
|
|
26
|
-
createdAt: string;
|
|
27
|
-
messages: ChatMessageType[];
|
|
28
|
-
participants: ParticipantType[];
|
|
29
|
-
resourceInfo: {
|
|
30
|
-
eventId: string;
|
|
31
|
-
vendorId: string;
|
|
32
|
-
} | null;
|
|
33
|
-
updatedAt: string;
|
|
34
|
-
deletedAt: string | null;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
interface NotificationDataType {
|
|
38
|
-
resourceId: string;
|
|
39
|
-
resourceName: string;
|
|
40
|
-
resourceType: EnumNotificationResourceType;
|
|
41
|
-
}
|
|
42
|
-
type NotificationType = {
|
|
43
|
-
_id: string;
|
|
44
|
-
userId: string;
|
|
45
|
-
title: string;
|
|
46
|
-
message: string;
|
|
47
|
-
isRead: boolean;
|
|
48
|
-
type: EnumNotificationType;
|
|
49
|
-
data: NotificationDataType | null;
|
|
50
|
-
createdAt: string;
|
|
51
|
-
updatedAt: string;
|
|
52
|
-
};
|
|
53
|
-
type NotificationCount = {
|
|
54
|
-
total: number;
|
|
55
|
-
unread: number;
|
|
56
|
-
};
|
|
57
|
-
type CreateBulkNotificationInput = {
|
|
58
|
-
userIds: string[];
|
|
59
|
-
title: string;
|
|
60
|
-
message: string;
|
|
61
|
-
type: EnumNotificationType;
|
|
62
|
-
data: NotificationDataType | null;
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
declare enum EnumActivity {
|
|
66
|
-
FAVORITE = "FAVORITE",
|
|
67
|
-
GOING = "GOING",
|
|
68
|
-
INTERESTED = "INTERESTED",
|
|
69
|
-
PRESENT = "PRESENT",
|
|
70
|
-
VIEW = "VIEW"
|
|
71
|
-
}
|
|
72
|
-
type ResourceActivityEntry = {
|
|
73
|
-
activityType: EnumActivity;
|
|
74
|
-
location: {
|
|
75
|
-
type: "Point";
|
|
76
|
-
coordinates: number[];
|
|
77
|
-
} | null;
|
|
78
|
-
startDate?: string | null;
|
|
79
|
-
startTime?: string | null;
|
|
80
|
-
timestamp: Date;
|
|
81
|
-
userAgent: EnumOSPlatform;
|
|
82
|
-
userId?: string | null;
|
|
83
|
-
};
|
|
84
|
-
type ResourceActivityType = {
|
|
85
|
-
_id: string;
|
|
86
|
-
resourceType: EnumResourceType;
|
|
87
|
-
resourceId: string;
|
|
88
|
-
activity: ResourceActivityEntry[];
|
|
89
|
-
};
|
|
90
|
-
type ResourceActivityInputType = {
|
|
91
|
-
resourceId: string;
|
|
92
|
-
resourceType: string;
|
|
93
|
-
activity: Omit<ResourceActivityEntry, "timestamp">;
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
export { type ChatType as C, EnumActivity as E, type NotificationType as N, type ParticipantType as P, type ResourceActivityType as R, type NotificationCount as a, type ChatMessageInput as b, type ChatMessageType as c, type NotificationDataType as d, type CreateBulkNotificationInput as e, type ResourceActivityEntry as f, type ResourceActivityInputType as g };
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { EnumChatType, EnumNotificationType, EnumNotificationResourceType, EnumResourceType, EnumOSPlatform } from './enums/index.mjs';
|
|
2
|
-
|
|
3
|
-
type ParticipantType = {
|
|
4
|
-
active: boolean;
|
|
5
|
-
email: string;
|
|
6
|
-
userId: string;
|
|
7
|
-
};
|
|
8
|
-
interface ChatMessageInput {
|
|
9
|
-
content: string;
|
|
10
|
-
senderId: string;
|
|
11
|
-
}
|
|
12
|
-
interface ChatMessageType {
|
|
13
|
-
_id?: string;
|
|
14
|
-
content: string;
|
|
15
|
-
createdAt?: string;
|
|
16
|
-
senderAvatar: string | null;
|
|
17
|
-
senderId: string;
|
|
18
|
-
senderName: string;
|
|
19
|
-
updatedAt?: string;
|
|
20
|
-
}
|
|
21
|
-
interface ChatType {
|
|
22
|
-
_id: string;
|
|
23
|
-
active: boolean;
|
|
24
|
-
chatType: EnumChatType;
|
|
25
|
-
chatName: string;
|
|
26
|
-
createdAt: string;
|
|
27
|
-
messages: ChatMessageType[];
|
|
28
|
-
participants: ParticipantType[];
|
|
29
|
-
resourceInfo: {
|
|
30
|
-
eventId: string;
|
|
31
|
-
vendorId: string;
|
|
32
|
-
} | null;
|
|
33
|
-
updatedAt: string;
|
|
34
|
-
deletedAt: string | null;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
interface NotificationDataType {
|
|
38
|
-
resourceId: string;
|
|
39
|
-
resourceName: string;
|
|
40
|
-
resourceType: EnumNotificationResourceType;
|
|
41
|
-
}
|
|
42
|
-
type NotificationType = {
|
|
43
|
-
_id: string;
|
|
44
|
-
userId: string;
|
|
45
|
-
title: string;
|
|
46
|
-
message: string;
|
|
47
|
-
isRead: boolean;
|
|
48
|
-
type: EnumNotificationType;
|
|
49
|
-
data: NotificationDataType | null;
|
|
50
|
-
createdAt: string;
|
|
51
|
-
updatedAt: string;
|
|
52
|
-
};
|
|
53
|
-
type NotificationCount = {
|
|
54
|
-
total: number;
|
|
55
|
-
unread: number;
|
|
56
|
-
};
|
|
57
|
-
type CreateBulkNotificationInput = {
|
|
58
|
-
userIds: string[];
|
|
59
|
-
title: string;
|
|
60
|
-
message: string;
|
|
61
|
-
type: EnumNotificationType;
|
|
62
|
-
data: NotificationDataType | null;
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
declare enum EnumActivity {
|
|
66
|
-
FAVORITE = "FAVORITE",
|
|
67
|
-
GOING = "GOING",
|
|
68
|
-
INTERESTED = "INTERESTED",
|
|
69
|
-
PRESENT = "PRESENT",
|
|
70
|
-
VIEW = "VIEW"
|
|
71
|
-
}
|
|
72
|
-
type ResourceActivityEntry = {
|
|
73
|
-
activityType: EnumActivity;
|
|
74
|
-
location: {
|
|
75
|
-
type: "Point";
|
|
76
|
-
coordinates: number[];
|
|
77
|
-
} | null;
|
|
78
|
-
startDate?: string | null;
|
|
79
|
-
startTime?: string | null;
|
|
80
|
-
timestamp: Date;
|
|
81
|
-
userAgent: EnumOSPlatform;
|
|
82
|
-
userId?: string | null;
|
|
83
|
-
};
|
|
84
|
-
type ResourceActivityType = {
|
|
85
|
-
_id: string;
|
|
86
|
-
resourceType: EnumResourceType;
|
|
87
|
-
resourceId: string;
|
|
88
|
-
activity: ResourceActivityEntry[];
|
|
89
|
-
};
|
|
90
|
-
type ResourceActivityInputType = {
|
|
91
|
-
resourceId: string;
|
|
92
|
-
resourceType: string;
|
|
93
|
-
activity: Omit<ResourceActivityEntry, "timestamp">;
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
export { type ChatType as C, EnumActivity as E, type NotificationType as N, type ParticipantType as P, type ResourceActivityType as R, type NotificationCount as a, type ChatMessageInput as b, type ChatMessageType as c, type NotificationDataType as d, type CreateBulkNotificationInput as e, type ResourceActivityEntry as f, type ResourceActivityInputType as g };
|