Abdul Rehman
commited on
Commit
·
ca4fcfa
1
Parent(s):
e1a5ce8
redeploy
Browse files
src/modules/activity/activity.schema.ts
CHANGED
@@ -7,7 +7,7 @@ export interface IUserActivityDocument extends Document {
|
|
7 |
// userId: IUserDocument;
|
8 |
propertyId: IPropertyDocument;
|
9 |
action: string; // E.g., 'click', 'view', 'time_spent'
|
10 |
-
sessionId: string;
|
11 |
timestamp: Date;
|
12 |
duration?: number; // Store time spent in seconds for 'time_spent' action
|
13 |
searchQuery?: string;
|
|
|
7 |
// userId: IUserDocument;
|
8 |
propertyId: IPropertyDocument;
|
9 |
action: string; // E.g., 'click', 'view', 'time_spent'
|
10 |
+
sessionId: string;
|
11 |
timestamp: Date;
|
12 |
duration?: number; // Store time spent in seconds for 'time_spent' action
|
13 |
searchQuery?: string;
|