Add Smart Notes AI analysis and Mento Memory with user approval.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-01 14:29:34 +03:30
co-authored by Cursor
parent 4d9f3c04cd
commit d152d1c19f
20 changed files with 1577 additions and 9 deletions
+45
View File
@@ -0,0 +1,45 @@
import { Type } from 'class-transformer';
import {
IsInt,
IsOptional,
IsString,
MaxLength,
Min,
MinLength,
} from 'class-validator';
export class ListMemoryQueryDto {
@IsString()
@MinLength(1)
personId!: string;
@IsOptional()
@Type(() => Number)
@IsInt()
@Min(1)
page?: number;
@IsOptional()
@Type(() => Number)
@IsInt()
@Min(1)
limit?: number;
}
export class CreateMemoryItemDto {
@IsString()
@MinLength(1)
personId!: string;
@IsString()
@MinLength(2)
@MaxLength(500)
content!: string;
}
export class UpdateMemoryItemDto {
@IsString()
@MinLength(2)
@MaxLength(500)
content!: string;
}