@little-samo/samo-ai-sdk 0.6.6 → 0.6.7
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/dto/entities/agents/agent.requests.d.ts +34 -34
- package/dist/dto/entities/users/index.d.ts +2 -0
- package/dist/dto/entities/users/index.js +2 -0
- package/dist/dto/entities/users/index.js.map +1 -1
- package/dist/dto/entities/users/user.d.ts +20 -2
- package/dist/dto/entities/users/user.js.map +1 -1
- package/dist/dto/entities/users/user.notice.d.ts +8 -0
- package/dist/dto/entities/users/user.notice.js +3 -0
- package/dist/dto/entities/users/user.notice.js.map +1 -0
- package/dist/dto/entities/users/user.notification.d.ts +15 -0
- package/dist/dto/entities/users/user.notification.js +3 -0
- package/dist/dto/entities/users/user.notification.js.map +1 -0
- package/dist/dto/entities/users/user.requests.d.ts +246 -16
- package/dist/dto/entities/users/user.requests.js +62 -1
- package/dist/dto/entities/users/user.requests.js.map +1 -1
- package/dist/dto/locations/location.requests.d.ts +157 -154
- package/dist/dto/locations/location.requests.js +1 -0
- package/dist/dto/locations/location.requests.js.map +1 -1
- package/package.json +1 -1
|
@@ -7,11 +7,11 @@ export declare const AgentsPaginationQuerySchema: z.ZodObject<{
|
|
|
7
7
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
8
8
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
limit: number;
|
|
11
10
|
page: number;
|
|
11
|
+
limit: number;
|
|
12
12
|
}, {
|
|
13
|
-
limit?: number | undefined;
|
|
14
13
|
page?: number | undefined;
|
|
14
|
+
limit?: number | undefined;
|
|
15
15
|
}>;
|
|
16
16
|
export type AgentsPaginationQueryDto = z.infer<typeof AgentsPaginationQuerySchema>;
|
|
17
17
|
export interface AgentsPaginatedResponseDto {
|
|
@@ -152,15 +152,14 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
152
152
|
}>>;
|
|
153
153
|
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
154
154
|
}, "strict", z.ZodTypeAny, {
|
|
155
|
-
name?: string | undefined;
|
|
156
|
-
role?: string | undefined;
|
|
157
155
|
avatar?: string | undefined;
|
|
158
156
|
referenceAvatar?: string | undefined;
|
|
159
157
|
appearance?: string | undefined;
|
|
158
|
+
name?: string | undefined;
|
|
159
|
+
role?: string | undefined;
|
|
160
160
|
core?: {
|
|
161
161
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
162
162
|
} | undefined;
|
|
163
|
-
rules?: string[] | undefined;
|
|
164
163
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
165
164
|
languages?: string[] | undefined;
|
|
166
165
|
timeZone?: string | undefined;
|
|
@@ -187,16 +186,16 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
187
186
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
188
187
|
} | undefined;
|
|
189
188
|
} | undefined;
|
|
189
|
+
rules?: string[] | undefined;
|
|
190
190
|
}, {
|
|
191
|
-
name?: string | undefined;
|
|
192
|
-
role?: string | undefined;
|
|
193
191
|
avatar?: string | undefined;
|
|
194
192
|
referenceAvatar?: string | undefined;
|
|
195
193
|
appearance?: string | undefined;
|
|
194
|
+
name?: string | undefined;
|
|
195
|
+
role?: string | undefined;
|
|
196
196
|
core?: {
|
|
197
197
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
198
198
|
} | undefined;
|
|
199
|
-
rules?: string[] | undefined;
|
|
200
199
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
201
200
|
languages?: string[] | undefined;
|
|
202
201
|
timeZone?: string | undefined;
|
|
@@ -223,18 +222,19 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
223
222
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
224
223
|
} | undefined;
|
|
225
224
|
} | undefined;
|
|
225
|
+
rules?: string[] | undefined;
|
|
226
226
|
}>;
|
|
227
227
|
}, "strip", z.ZodTypeAny, {
|
|
228
|
+
agentId: bigint;
|
|
228
229
|
config: {
|
|
229
|
-
name?: string | undefined;
|
|
230
|
-
role?: string | undefined;
|
|
231
230
|
avatar?: string | undefined;
|
|
232
231
|
referenceAvatar?: string | undefined;
|
|
233
232
|
appearance?: string | undefined;
|
|
233
|
+
name?: string | undefined;
|
|
234
|
+
role?: string | undefined;
|
|
234
235
|
core?: {
|
|
235
236
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
236
237
|
} | undefined;
|
|
237
|
-
rules?: string[] | undefined;
|
|
238
238
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
239
239
|
languages?: string[] | undefined;
|
|
240
240
|
timeZone?: string | undefined;
|
|
@@ -261,19 +261,19 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
261
261
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
262
262
|
} | undefined;
|
|
263
263
|
} | undefined;
|
|
264
|
+
rules?: string[] | undefined;
|
|
264
265
|
};
|
|
265
|
-
agentId: bigint;
|
|
266
266
|
}, {
|
|
267
|
+
agentId: bigint;
|
|
267
268
|
config: {
|
|
268
|
-
name?: string | undefined;
|
|
269
|
-
role?: string | undefined;
|
|
270
269
|
avatar?: string | undefined;
|
|
271
270
|
referenceAvatar?: string | undefined;
|
|
272
271
|
appearance?: string | undefined;
|
|
272
|
+
name?: string | undefined;
|
|
273
|
+
role?: string | undefined;
|
|
273
274
|
core?: {
|
|
274
275
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
275
276
|
} | undefined;
|
|
276
|
-
rules?: string[] | undefined;
|
|
277
277
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
278
278
|
languages?: string[] | undefined;
|
|
279
279
|
timeZone?: string | undefined;
|
|
@@ -300,8 +300,8 @@ export declare const AgentUpdateConfigSchema: z.ZodObject<{
|
|
|
300
300
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
301
301
|
} | undefined;
|
|
302
302
|
} | undefined;
|
|
303
|
+
rules?: string[] | undefined;
|
|
303
304
|
};
|
|
304
|
-
agentId: bigint;
|
|
305
305
|
}>;
|
|
306
306
|
export type AgentUpdateConfigDto = z.infer<typeof AgentUpdateConfigSchema>;
|
|
307
307
|
export type AgentUpdateConfigResponseDto = Partial<AgentConfig>;
|
|
@@ -327,6 +327,7 @@ export declare const AgentUpdateCredentialSchema: z.ZodObject<{
|
|
|
327
327
|
token: string;
|
|
328
328
|
}>]>;
|
|
329
329
|
}, "strip", z.ZodTypeAny, {
|
|
330
|
+
agentId: bigint;
|
|
330
331
|
credential: {
|
|
331
332
|
type: "notion";
|
|
332
333
|
token: string;
|
|
@@ -334,8 +335,8 @@ export declare const AgentUpdateCredentialSchema: z.ZodObject<{
|
|
|
334
335
|
type: "notion";
|
|
335
336
|
token: string;
|
|
336
337
|
};
|
|
337
|
-
agentId: bigint;
|
|
338
338
|
}, {
|
|
339
|
+
agentId: bigint;
|
|
339
340
|
credential: {
|
|
340
341
|
type: "notion";
|
|
341
342
|
token: string;
|
|
@@ -343,7 +344,6 @@ export declare const AgentUpdateCredentialSchema: z.ZodObject<{
|
|
|
343
344
|
type: "notion";
|
|
344
345
|
token: string;
|
|
345
346
|
};
|
|
346
|
-
agentId: bigint;
|
|
347
347
|
}>;
|
|
348
348
|
export type AgentUpdateCredentialDto = z.infer<typeof AgentUpdateCredentialSchema>;
|
|
349
349
|
export interface AgentUpdateCredentialResponseDto {
|
|
@@ -354,11 +354,11 @@ export declare const AgentDeleteCredentialSchema: z.ZodObject<{
|
|
|
354
354
|
agentId: z.ZodBigInt;
|
|
355
355
|
credentialType: z.ZodString;
|
|
356
356
|
}, "strip", z.ZodTypeAny, {
|
|
357
|
-
credentialType: string;
|
|
358
357
|
agentId: bigint;
|
|
359
|
-
}, {
|
|
360
358
|
credentialType: string;
|
|
359
|
+
}, {
|
|
361
360
|
agentId: bigint;
|
|
361
|
+
credentialType: string;
|
|
362
362
|
}>;
|
|
363
363
|
export type AgentDeleteCredentialDto = z.infer<typeof AgentDeleteCredentialSchema>;
|
|
364
364
|
export interface AgentDeleteCredentialResponseDto {
|
|
@@ -369,11 +369,11 @@ export declare const AgentPresetsPaginationQuerySchema: z.ZodObject<{
|
|
|
369
369
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
370
370
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
371
371
|
}, "strip", z.ZodTypeAny, {
|
|
372
|
-
limit: number;
|
|
373
372
|
page: number;
|
|
373
|
+
limit: number;
|
|
374
374
|
}, {
|
|
375
|
-
limit?: number | undefined;
|
|
376
375
|
page?: number | undefined;
|
|
376
|
+
limit?: number | undefined;
|
|
377
377
|
}>;
|
|
378
378
|
export type AgentPresetsPaginationQueryDto = z.infer<typeof AgentPresetsPaginationQuerySchema>;
|
|
379
379
|
export interface AgentPresetsPaginatedResponseDto {
|
|
@@ -499,15 +499,14 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
499
499
|
}>>;
|
|
500
500
|
rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
501
501
|
}, "strict", z.ZodTypeAny, {
|
|
502
|
-
name?: string | undefined;
|
|
503
|
-
role?: string | undefined;
|
|
504
502
|
avatar?: string | undefined;
|
|
505
503
|
referenceAvatar?: string | undefined;
|
|
506
504
|
appearance?: string | undefined;
|
|
505
|
+
name?: string | undefined;
|
|
506
|
+
role?: string | undefined;
|
|
507
507
|
core?: {
|
|
508
508
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
509
509
|
} | undefined;
|
|
510
|
-
rules?: string[] | undefined;
|
|
511
510
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
512
511
|
languages?: string[] | undefined;
|
|
513
512
|
timeZone?: string | undefined;
|
|
@@ -534,16 +533,16 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
534
533
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
535
534
|
} | undefined;
|
|
536
535
|
} | undefined;
|
|
536
|
+
rules?: string[] | undefined;
|
|
537
537
|
}, {
|
|
538
|
-
name?: string | undefined;
|
|
539
|
-
role?: string | undefined;
|
|
540
538
|
avatar?: string | undefined;
|
|
541
539
|
referenceAvatar?: string | undefined;
|
|
542
540
|
appearance?: string | undefined;
|
|
541
|
+
name?: string | undefined;
|
|
542
|
+
role?: string | undefined;
|
|
543
543
|
core?: {
|
|
544
544
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
545
545
|
} | undefined;
|
|
546
|
-
rules?: string[] | undefined;
|
|
547
546
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
548
547
|
languages?: string[] | undefined;
|
|
549
548
|
timeZone?: string | undefined;
|
|
@@ -570,18 +569,18 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
570
569
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
571
570
|
} | undefined;
|
|
572
571
|
} | undefined;
|
|
572
|
+
rules?: string[] | undefined;
|
|
573
573
|
}>;
|
|
574
574
|
}, "strip", z.ZodTypeAny, {
|
|
575
575
|
config: {
|
|
576
|
-
name?: string | undefined;
|
|
577
|
-
role?: string | undefined;
|
|
578
576
|
avatar?: string | undefined;
|
|
579
577
|
referenceAvatar?: string | undefined;
|
|
580
578
|
appearance?: string | undefined;
|
|
579
|
+
name?: string | undefined;
|
|
580
|
+
role?: string | undefined;
|
|
581
581
|
core?: {
|
|
582
582
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
583
583
|
} | undefined;
|
|
584
|
-
rules?: string[] | undefined;
|
|
585
584
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
586
585
|
languages?: string[] | undefined;
|
|
587
586
|
timeZone?: string | undefined;
|
|
@@ -608,18 +607,18 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
608
607
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
609
608
|
} | undefined;
|
|
610
609
|
} | undefined;
|
|
610
|
+
rules?: string[] | undefined;
|
|
611
611
|
};
|
|
612
612
|
}, {
|
|
613
613
|
config: {
|
|
614
|
-
name?: string | undefined;
|
|
615
|
-
role?: string | undefined;
|
|
616
614
|
avatar?: string | undefined;
|
|
617
615
|
referenceAvatar?: string | undefined;
|
|
618
616
|
appearance?: string | undefined;
|
|
617
|
+
name?: string | undefined;
|
|
618
|
+
role?: string | undefined;
|
|
619
619
|
core?: {
|
|
620
620
|
name: "evaluate_and_actions" | "execute_actions" | "response_every_message" | "no_action";
|
|
621
621
|
} | undefined;
|
|
622
|
-
rules?: string[] | undefined;
|
|
623
622
|
llmPreset?: "free" | "gemini-low" | "gemini-medium" | "gemini-high" | "openai-low" | "openai-medium" | "xai-low" | "xai-medium" | undefined;
|
|
624
623
|
languages?: string[] | undefined;
|
|
625
624
|
timeZone?: string | undefined;
|
|
@@ -646,6 +645,7 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
646
645
|
zodiac?: "Aries" | "Taurus" | "Gemini" | "Cancer" | "Leo" | "Virgo" | "Libra" | "Scorpio" | "Sagittarius" | "Capricorn" | "Aquarius" | "Pisces" | undefined;
|
|
647
646
|
} | undefined;
|
|
648
647
|
} | undefined;
|
|
648
|
+
rules?: string[] | undefined;
|
|
649
649
|
};
|
|
650
650
|
}>;
|
|
651
651
|
export type CreateAgentDto = z.infer<typeof CreateAgentSchema>;
|
|
@@ -15,6 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./user.events"), exports);
|
|
18
|
+
__exportStar(require("./user.notice"), exports);
|
|
19
|
+
__exportStar(require("./user.notification"), exports);
|
|
18
20
|
__exportStar(require("./user.requests"), exports);
|
|
19
21
|
__exportStar(require("./user"), exports);
|
|
20
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/dto/entities/users/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,kDAAgC;AAChC,yCAAuB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/dto/entities/users/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,gDAA8B;AAC9B,sDAAoC;AACpC,kDAAgC;AAChC,yCAAuB"}
|
|
@@ -13,6 +13,8 @@ export interface UserPublicDto {
|
|
|
13
13
|
referenceAvatar: string | null;
|
|
14
14
|
appearance: string | null;
|
|
15
15
|
level: number;
|
|
16
|
+
ownedPresetLocationCount: number | null;
|
|
17
|
+
ownedPresetMessageCount: number | null;
|
|
16
18
|
}
|
|
17
19
|
export interface UserPrivateDto extends UserPublicDto {
|
|
18
20
|
locale: string;
|
|
@@ -30,6 +32,7 @@ export interface UserPrivateDto extends UserPublicDto {
|
|
|
30
32
|
nextExp: number;
|
|
31
33
|
missionObjectiveBonusExp: number;
|
|
32
34
|
missionBonusExp: number;
|
|
35
|
+
createdAt: Date;
|
|
33
36
|
}
|
|
34
37
|
export declare const UserAvatarSchema: z.ZodObject<{
|
|
35
38
|
name: z.ZodString;
|
|
@@ -38,16 +41,31 @@ export declare const UserAvatarSchema: z.ZodObject<{
|
|
|
38
41
|
referenceAvatar: z.ZodString;
|
|
39
42
|
appearance: z.ZodString;
|
|
40
43
|
}, "strip", z.ZodTypeAny, {
|
|
41
|
-
name: string;
|
|
42
44
|
avatar: string;
|
|
43
45
|
referenceAvatar: string;
|
|
44
46
|
appearance: string;
|
|
47
|
+
name: string;
|
|
45
48
|
role?: string | undefined;
|
|
46
49
|
}, {
|
|
47
|
-
name: string;
|
|
48
50
|
avatar: string;
|
|
49
51
|
referenceAvatar: string;
|
|
50
52
|
appearance: string;
|
|
53
|
+
name: string;
|
|
51
54
|
role?: string | undefined;
|
|
52
55
|
}>;
|
|
53
56
|
export type UserAvatarDto = z.infer<typeof UserAvatarSchema>;
|
|
57
|
+
export interface UserCommentDto {
|
|
58
|
+
id: bigint;
|
|
59
|
+
authorUserId: UserId;
|
|
60
|
+
targetUserId: UserId;
|
|
61
|
+
parentCommentId: bigint | null;
|
|
62
|
+
content: string;
|
|
63
|
+
contentImageUrl: string | null;
|
|
64
|
+
likeCount: number;
|
|
65
|
+
replyCount: number;
|
|
66
|
+
userReaction: 'LIKE' | 'DISLIKE' | null;
|
|
67
|
+
hasReported: boolean;
|
|
68
|
+
isSecret: boolean;
|
|
69
|
+
createdAt: Date;
|
|
70
|
+
updatedAt: Date;
|
|
71
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../src/dto/entities/users/user.ts"],"names":[],"mappings":";;;;;;AACA,8CAAoB;
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../src/dto/entities/users/user.ts"],"names":[],"mappings":";;;;;;AACA,8CAAoB;AA4CP,QAAA,gBAAgB,GAAG,aAAC,CAAC,MAAM,CAAC;IACvC,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC;IACxB,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IACpC,MAAM,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;IAC5B,eAAe,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;IACrC,UAAU,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC;CAChC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.notice.js","sourceRoot":"","sources":["../../../../src/dto/entities/users/user.notice.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { UserId } from '@little-samo/samo-ai';
|
|
2
|
+
export type UserNotificationType = 'ADMIN_MESSAGE' | 'ADMIN_REWARD' | 'SYSTEM_REWARD_ATTENDANCE' | 'SYSTEM_REWARD_LEVEL_UP' | 'COMMENT_USER' | 'COMMENT_LOCATION_PRESET' | 'LIKE_USER' | 'LIKE_LOCATION_PRESET';
|
|
3
|
+
export interface UserNotificationDto {
|
|
4
|
+
id: bigint;
|
|
5
|
+
type: UserNotificationType;
|
|
6
|
+
actorUserId: UserId | null;
|
|
7
|
+
userCommentId: bigint | null;
|
|
8
|
+
locationPresetId: bigint | null;
|
|
9
|
+
locationPresetCommentId: bigint | null;
|
|
10
|
+
content: string | null;
|
|
11
|
+
count: number | null;
|
|
12
|
+
isAcknowledged: boolean;
|
|
13
|
+
isRead: boolean;
|
|
14
|
+
createdAt: Date;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.notification.js","sourceRoot":"","sources":["../../../../src/dto/entities/users/user.notification.ts"],"names":[],"mappings":""}
|