mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: Merge branch 'main' into feat_grid_ui
This commit is contained in:
@ -147,12 +147,6 @@ pub enum FolderEvent {
|
||||
|
||||
#[event()]
|
||||
DeleteAllTrash = 304,
|
||||
|
||||
#[event(input = "BlockDelta", output = "BlockDelta")]
|
||||
ApplyDocDelta = 400,
|
||||
|
||||
#[event(input = "ExportPayload", output = "ExportData")]
|
||||
ExportDocument = 500,
|
||||
}
|
||||
|
||||
pub trait FolderCouldServiceV1: Send + Sync {
|
||||
|
@ -48,8 +48,6 @@ pub enum FolderEvent {
|
||||
DeleteTrash = 302,
|
||||
RestoreAllTrash = 303,
|
||||
DeleteAllTrash = 304,
|
||||
ApplyDocDelta = 400,
|
||||
ExportDocument = 500,
|
||||
}
|
||||
|
||||
impl ::protobuf::ProtobufEnum for FolderEvent {
|
||||
@ -82,8 +80,6 @@ impl ::protobuf::ProtobufEnum for FolderEvent {
|
||||
302 => ::std::option::Option::Some(FolderEvent::DeleteTrash),
|
||||
303 => ::std::option::Option::Some(FolderEvent::RestoreAllTrash),
|
||||
304 => ::std::option::Option::Some(FolderEvent::DeleteAllTrash),
|
||||
400 => ::std::option::Option::Some(FolderEvent::ApplyDocDelta),
|
||||
500 => ::std::option::Option::Some(FolderEvent::ExportDocument),
|
||||
_ => ::std::option::Option::None
|
||||
}
|
||||
}
|
||||
@ -113,8 +109,6 @@ impl ::protobuf::ProtobufEnum for FolderEvent {
|
||||
FolderEvent::DeleteTrash,
|
||||
FolderEvent::RestoreAllTrash,
|
||||
FolderEvent::DeleteAllTrash,
|
||||
FolderEvent::ApplyDocDelta,
|
||||
FolderEvent::ExportDocument,
|
||||
];
|
||||
values
|
||||
}
|
||||
@ -143,7 +137,7 @@ impl ::protobuf::reflect::ProtobufValue for FolderEvent {
|
||||
}
|
||||
|
||||
static file_descriptor_proto_data: &'static [u8] = b"\
|
||||
\n\x0fevent_map.proto*\xd7\x03\n\x0bFolderEvent\x12\x13\n\x0fCreateWorks\
|
||||
\n\x0fevent_map.proto*\xae\x03\n\x0bFolderEvent\x12\x13\n\x0fCreateWorks\
|
||||
pace\x10\0\x12\x14\n\x10ReadCurWorkspace\x10\x01\x12\x12\n\x0eReadWorksp\
|
||||
aces\x10\x02\x12\x13\n\x0fDeleteWorkspace\x10\x03\x12\x11\n\rOpenWorkspa\
|
||||
ce\x10\x04\x12\x15\n\x11ReadWorkspaceApps\x10\x05\x12\r\n\tCreateApp\x10\
|
||||
@ -154,8 +148,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\
|
||||
\x12\n\rSetLatestView\x10\xcf\x01\x12\x0e\n\tCloseView\x10\xd0\x01\x12\
|
||||
\x0e\n\tReadTrash\x10\xac\x02\x12\x11\n\x0cPutbackTrash\x10\xad\x02\x12\
|
||||
\x10\n\x0bDeleteTrash\x10\xae\x02\x12\x14\n\x0fRestoreAllTrash\x10\xaf\
|
||||
\x02\x12\x13\n\x0eDeleteAllTrash\x10\xb0\x02\x12\x12\n\rApplyDocDelta\
|
||||
\x10\x90\x03\x12\x13\n\x0eExportDocument\x10\xf4\x03b\x06proto3\
|
||||
\x02\x12\x13\n\x0eDeleteAllTrash\x10\xb0\x02b\x06proto3\
|
||||
";
|
||||
|
||||
static file_descriptor_proto_lazy: ::protobuf::rt::LazyV2<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::rt::LazyV2::INIT;
|
||||
|
@ -24,6 +24,4 @@ enum FolderEvent {
|
||||
DeleteTrash = 302;
|
||||
RestoreAllTrash = 303;
|
||||
DeleteAllTrash = 304;
|
||||
ApplyDocDelta = 400;
|
||||
ExportDocument = 500;
|
||||
}
|
||||
|
Reference in New Issue
Block a user