mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
feat: config view lens
This commit is contained in:
@ -177,20 +177,20 @@ macro_rules! impl_rev_state_map {
|
||||
}
|
||||
}
|
||||
|
||||
impl std::convert::From<$target> for RevisionState {
|
||||
impl std::convert::From<$target> for crate::disk::RevisionState {
|
||||
fn from(s: $target) -> Self {
|
||||
match s {
|
||||
$target::Sync => RevisionState::Sync,
|
||||
$target::Ack => RevisionState::Ack,
|
||||
$target::Sync => crate::disk::RevisionState::Sync,
|
||||
$target::Ack => crate::disk::RevisionState::Ack,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl std::convert::From<RevisionState> for $target {
|
||||
fn from(s: RevisionState) -> Self {
|
||||
impl std::convert::From<crate::disk::RevisionState> for $target {
|
||||
fn from(s: crate::disk::RevisionState) -> Self {
|
||||
match s {
|
||||
RevisionState::Sync => $target::Sync,
|
||||
RevisionState::Ack => $target::Ack,
|
||||
crate::disk::RevisionState::Sync => $target::Sync,
|
||||
crate::disk::RevisionState::Ack => $target::Ack,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ table! {
|
||||
}
|
||||
|
||||
table! {
|
||||
grid_view_table (id) {
|
||||
grid_view_rev_table (id) {
|
||||
id -> Integer,
|
||||
object_id -> Text,
|
||||
base_rev_id -> BigInt,
|
||||
@ -136,7 +136,7 @@ allow_tables_to_appear_in_same_query!(
|
||||
grid_block_index_table,
|
||||
grid_meta_rev_table,
|
||||
grid_rev_table,
|
||||
grid_view_table,
|
||||
grid_view_rev_table,
|
||||
kv_table,
|
||||
rev_snapshot,
|
||||
rev_table,
|
||||
|
Reference in New Issue
Block a user