feat(activities): attach compressed photos to activity notes
Photos on an activity are shrunk with the form-builder compressor and stored only when they fit under 200KB. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1819,6 +1819,14 @@ export interface DealSummaryDto {
|
||||
title: string;
|
||||
}
|
||||
|
||||
export interface ActivityImageDto {
|
||||
id: string;
|
||||
fileName: string;
|
||||
mimeType: string;
|
||||
sizeBytes: number;
|
||||
createdAt: string;
|
||||
}
|
||||
|
||||
export interface ActivityDto {
|
||||
id: string;
|
||||
type: ActivityType;
|
||||
@@ -1826,6 +1834,8 @@ export interface ActivityDto {
|
||||
priority: ActivityPriority;
|
||||
title: string;
|
||||
description: string | null;
|
||||
/** عکسهای یادداشت؛ فقط در جزئیات فعالیت پر میشود */
|
||||
images?: ActivityImageDto[];
|
||||
dueAt: string | null;
|
||||
durationMinutes: number | null;
|
||||
reminderAt: string | null;
|
||||
|
||||
Reference in New Issue
Block a user