Skip to content

Commit

Permalink
fix: missing MovableList in all container type (#343)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leeeon233 authored May 2, 2024
1 parent 8bf1808 commit cd8b9a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/loro-common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,12 @@ pub enum ContainerType {
}

impl ContainerType {
pub const ALL_TYPES: [ContainerType; 4] = [
pub const ALL_TYPES: [ContainerType; 5] = [
ContainerType::Map,
ContainerType::List,
ContainerType::Text,
ContainerType::Tree,
ContainerType::MovableList,
];

pub fn default_value(&self) -> LoroValue {
Expand Down

0 comments on commit cd8b9a3

Please sign in to comment.