Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions proto/api/v1/workspace_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,16 @@ message WorkspaceSetting {
}
// The S3 config.
S3Config s3_config = 4;
// The maximum size in pixels for the largest dimension of thumbnail images.
int32 thumbnail_max_size = 5;
// The JPEG quality (0-100) used when downscaling uploaded images.
int32 jpeg_quality = 6;
// The JPEG quality (0-100) used when generating thumbnails.
int32 thumbnail_jpeg_quality = 7;
// The maximum size in pixels for the largest dimension when storing images.
// Images larger than this will be downscaled before storage.
// Set to 0 to disable downscaling.
int32 image_max_size = 8;
}

// Memo-related workspace settings and policies.
Expand Down
1 change: 0 additions & 1 deletion proto/gen/api/v1/user_service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 46 additions & 4 deletions proto/gen/api/v1/workspace_service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading