- /// Returns the settings for the given layout. If it's not exists then will return the
- /// default settings for the given layout.
- /// Each [database view](https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/architecture/frontend/database-view) has its own settings.
-/// [DatabaseEvent] defines events that are used to interact with the Grid. You could check [this](https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/architecture/backend/protobuf)
-/// out, it includes how to use these annotations: input, output, etc.
- /// Switch the field with id to a new field type.
- ///
- /// If the field type is not exist before, the default type-option data will be created.
- /// Each field type has its corresponding data, aka, the type-option data. Check out [this](https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/architecture/frontend/grid#fieldtype)
- /// for more information
- ///
- /// # Arguments
- ///
- /// * `field_id`: the id of the field
- /// * `new_field_type`: the new field type of the field