mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: provider default for FlowyConfig propertis
This commit is contained in:
parent
16e1387a8e
commit
ed138abcc3
@ -1,4 +1,2 @@
|
||||
# Check out the FlowyConfig (located in flowy_toml.rs) for more details.
|
||||
proto_input = ["src/model"]
|
||||
#proto_output = "resources/proto"
|
||||
#protobuf_crate_path = "src/protobuf"
|
||||
event_files = []
|
@ -1,5 +1,2 @@
|
||||
|
||||
# Check out the FlowyConfig (located in flowy_toml.rs) for more details.
|
||||
proto_input = ["src/entities"]
|
||||
proto_output = "resources/proto"
|
||||
protobuf_crate_path = "src/protobuf"
|
||||
event_files = []
|
@ -1,5 +1,3 @@
|
||||
|
||||
# Check out the FlowyConfig (located in flowy_toml.rs) for more details.
|
||||
proto_input = ["src/errors.rs",]
|
||||
proto_output = "resources/proto"
|
||||
protobuf_crate_path = "src/protobuf"
|
||||
event_files = []
|
@ -1,5 +1,3 @@
|
||||
|
||||
# Check out the FlowyConfig (located in flowy_toml.rs) for more details.
|
||||
proto_input = ["src/entities", "src/event_map.rs", "src/dart_notification.rs"]
|
||||
proto_output = "resources/proto"
|
||||
protobuf_crate_path = "src/protobuf"
|
||||
event_files = ["src/event_map.rs"]
|
@ -1,9 +1,8 @@
|
||||
# Check out the FlowyConfig (located in flowy_toml.rs) for more details.
|
||||
proto_input = [
|
||||
"src/event_map.rs",
|
||||
"src/services/field/type_options",
|
||||
"src/entities",
|
||||
"src/dart_notification.rs"
|
||||
]
|
||||
proto_output = "resources/proto"
|
||||
protobuf_crate_path = "src/protobuf"
|
||||
event_files = ["src/event_map.rs"]
|
@ -1,4 +1,3 @@
|
||||
# Check out the FlowyConfig (located in flowy_toml.rs) for more details.
|
||||
proto_input = ["src/event_map.rs", "src/entities"]
|
||||
proto_output = "resources/proto"
|
||||
protobuf_crate_path = "src/protobuf"
|
||||
event_files = ["src/event_map.rs"]
|
@ -1,5 +1,3 @@
|
||||
|
||||
# Check out the FlowyConfig (located in flowy_toml.rs) for more details.
|
||||
proto_input = ["src/event_map.rs", "src/entities.rs"]
|
||||
proto_output = "resources/proto"
|
||||
protobuf_crate_path = "src/protobuf"
|
||||
event_files = ["src/event_map.rs"]
|
@ -1,5 +1,3 @@
|
||||
|
||||
# Check out the FlowyConfig (located in flowy_toml.rs) for more details.
|
||||
proto_input = ["src/event_map.rs", "src/dart_notification.rs"]
|
||||
proto_output = "resources/proto"
|
||||
protobuf_crate_path = "src/protobuf"
|
||||
event_files = ["src/event_map.rs"]
|
@ -1,5 +1,2 @@
|
||||
|
||||
# Check out the FlowyConfig (located in flowy_toml.rs) for more details.
|
||||
proto_input = ["src/code.rs"]
|
||||
proto_output = "resources/proto"
|
||||
protobuf_crate_path = "src/protobuf"
|
||||
event_files = []
|
@ -1,5 +1,2 @@
|
||||
|
||||
# Check out the FlowyConfig (located in flowy_toml.rs) for more details.
|
||||
proto_input = ["src/entities",]
|
||||
proto_output = "resources/proto"
|
||||
protobuf_crate_path = "src/protobuf"
|
||||
event_files = []
|
@ -1,5 +1,2 @@
|
||||
|
||||
# Check out the FlowyConfig (located in flowy_toml.rs) for more details.
|
||||
proto_input = ["src/entities/",]
|
||||
proto_output = "resources/proto"
|
||||
protobuf_crate_path = "src/protobuf"
|
||||
event_files = []
|
@ -1,5 +1,2 @@
|
||||
|
||||
# Check out the FlowyConfig (located in flowy_toml.rs) for more details.
|
||||
proto_input = ["src/entities"]
|
||||
proto_output = "resources/proto"
|
||||
protobuf_crate_path = "src/protobuf"
|
||||
event_files = []
|
@ -1,5 +1,2 @@
|
||||
|
||||
# Check out the FlowyConfig (located in flowy_toml.rs) for more details.
|
||||
proto_input = ["src/entities", "src/errors.rs"]
|
||||
proto_output = "resources/proto"
|
||||
protobuf_crate_path = "src/protobuf"
|
||||
event_files = []
|
@ -3,8 +3,11 @@ use std::path::{Path, PathBuf};
|
||||
|
||||
#[derive(serde::Deserialize, Clone, Debug)]
|
||||
pub struct FlowyConfig {
|
||||
#[serde(default)]
|
||||
pub event_files: Vec<String>,
|
||||
|
||||
// Collect AST from the file or directory specified by proto_input to generate the proto files.
|
||||
#[serde(default)]
|
||||
pub proto_input: Vec<String>,
|
||||
|
||||
// Output path for the generated proto files. The default value is default_proto_output()
|
||||
|
@ -1,4 +1,2 @@
|
||||
# Check out the FlowyConfig (located in flowy_toml.rs) for more details.
|
||||
proto_input = ["src/errors.rs", "src/msg.rs"]
|
||||
proto_output = "resources/proto"
|
||||
protobuf_crate_path = "src/protobuf"
|
||||
event_files = []
|
Loading…
Reference in New Issue
Block a user