feat: simple tests passing
This commit is contained in:
1 parent
23603aaaf5
commit
4a31b29703
27 files changed
+1565
-372
No files matched your search
@@ -17,6 +17,11 @@ pub enum Mutation<'a> {
|
||||
index: usize,
|
||||
},
|
||||
|
||||
SaveTemplate {
|
||||
name: &'static str,
|
||||
m: usize,
|
||||
},
|
||||
|
||||
HydrateText {
|
||||
path: &'static [u8],
|
||||
value: &'a str,
|
||||
@@ -30,7 +35,7 @@ pub enum Mutation<'a> {
|
||||
|
||||
ReplacePlaceholder {
|
||||
path: &'static [u8],
|
||||
id: ElementId,
|
||||
m: usize,
|
||||
},
|
||||
|
||||
AssignId {
|
||||
@@ -42,4 +47,20 @@ pub enum Mutation<'a> {
|
||||
Replace {
|
||||
id: ElementId,
|
||||
},
|
||||
|
||||
CreateElement {
|
||||
name: &'a str,
|
||||
namespace: Option<&'a str>,
|
||||
id: ElementId,
|
||||
},
|
||||
|
||||
CreateText {
|
||||
value: &'a str,
|
||||
},
|
||||
|
||||
CreatePlaceholder,
|
||||
|
||||
AppendChildren {
|
||||
m: usize,
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user