mirror of https://github.com/usememos/memos.git
Rebase with main and regenerate protobuf
This commit is contained in:
parent
2a2b1644d2
commit
1aa30ec777
|
|
@ -47,7 +47,6 @@ type Attachment struct {
|
||||||
// Format: memos/{memo}
|
// Format: memos/{memo}
|
||||||
Memo *string `protobuf:"bytes,8,opt,name=memo,proto3,oneof" json:"memo,omitempty"`
|
Memo *string `protobuf:"bytes,8,opt,name=memo,proto3,oneof" json:"memo,omitempty"`
|
||||||
// Optional. Output only. Whether to use thumbnails for this attachment when stored in S3.
|
// Optional. Output only. Whether to use thumbnails for this attachment when stored in S3.
|
||||||
// This is determined by the workspace setting at the time of attachment creation.
|
|
||||||
UseThumbnailForS3Image *bool `protobuf:"varint,9,opt,name=use_thumbnail_for_s3_image,json=useThumbnailForS3Image,proto3,oneof" json:"use_thumbnail_for_s3_image,omitempty"`
|
UseThumbnailForS3Image *bool `protobuf:"varint,9,opt,name=use_thumbnail_for_s3_image,json=useThumbnailForS3Image,proto3,oneof" json:"use_thumbnail_for_s3_image,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
|
|
|
||||||
|
|
@ -428,6 +428,7 @@ type GetUserRequest struct {
|
||||||
// Supports both numeric IDs and username strings:
|
// Supports both numeric IDs and username strings:
|
||||||
// - users/{id} (e.g., users/101)
|
// - users/{id} (e.g., users/101)
|
||||||
// - users/{username} (e.g., users/steven)
|
// - users/{username} (e.g., users/steven)
|
||||||
|
//
|
||||||
// Format: users/{id_or_username}
|
// Format: users/{id_or_username}
|
||||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||||
// Optional. The fields to return in the response.
|
// Optional. The fields to return in the response.
|
||||||
|
|
|
||||||
|
|
@ -40,10 +40,7 @@ export interface Attachment {
|
||||||
memo?:
|
memo?:
|
||||||
| string
|
| string
|
||||||
| undefined;
|
| undefined;
|
||||||
/**
|
/** Optional. Output only. Whether to use thumbnails for this attachment when stored in S3. */
|
||||||
* Optional. Output only. Whether to use thumbnails for this attachment when stored in S3.
|
|
||||||
* This is determined by the workspace setting at the time of attachment creation.
|
|
||||||
*/
|
|
||||||
useThumbnailForS3Image?: boolean | undefined;
|
useThumbnailForS3Image?: boolean | undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue