mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-25 23:26:19 +00:00
Removed InstanceSnapshot snapshot_id's redudant Ref. (#730)
Ref now is an optional inside, so it's redundant to have an option wrapping an option. The only snapshots that were changed were any that had a Ref within (from none to zeroed). Some also had some newlines added in the end.
This commit is contained in:
@@ -17,9 +17,8 @@ use super::InstanceMetadata;
|
|||||||
// - Replace use of Variant with a sum of Variant + borrowed value
|
// - Replace use of Variant with a sum of Variant + borrowed value
|
||||||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
|
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
|
||||||
pub struct InstanceSnapshot {
|
pub struct InstanceSnapshot {
|
||||||
// FIXME: Don't use Option<Ref> anymore!
|
|
||||||
/// A temporary ID applied to the snapshot that's used for Ref properties.
|
/// A temporary ID applied to the snapshot that's used for Ref properties.
|
||||||
pub snapshot_id: Option<Ref>,
|
pub snapshot_id: Ref,
|
||||||
|
|
||||||
/// Rojo-specific metadata associated with the instance.
|
/// Rojo-specific metadata associated with the instance.
|
||||||
pub metadata: InstanceMetadata,
|
pub metadata: InstanceMetadata,
|
||||||
@@ -42,7 +41,7 @@ pub struct InstanceSnapshot {
|
|||||||
impl InstanceSnapshot {
|
impl InstanceSnapshot {
|
||||||
pub fn new() -> Self {
|
pub fn new() -> Self {
|
||||||
Self {
|
Self {
|
||||||
snapshot_id: None,
|
snapshot_id: Ref::none(),
|
||||||
metadata: InstanceMetadata::default(),
|
metadata: InstanceMetadata::default(),
|
||||||
name: Cow::Borrowed("DEFAULT"),
|
name: Cow::Borrowed("DEFAULT"),
|
||||||
class_name: Cow::Borrowed("DEFAULT"),
|
class_name: Cow::Borrowed("DEFAULT"),
|
||||||
@@ -88,7 +87,7 @@ impl InstanceSnapshot {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn snapshot_id(self, snapshot_id: Option<Ref>) -> Self {
|
pub fn snapshot_id(self, snapshot_id: Ref) -> Self {
|
||||||
Self {
|
Self {
|
||||||
snapshot_id,
|
snapshot_id,
|
||||||
..self
|
..self
|
||||||
@@ -120,7 +119,7 @@ impl InstanceSnapshot {
|
|||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
Self {
|
Self {
|
||||||
snapshot_id: Some(id),
|
snapshot_id: id,
|
||||||
metadata: InstanceMetadata::default(),
|
metadata: InstanceMetadata::default(),
|
||||||
name: Cow::Owned(instance.name),
|
name: Cow::Owned(instance.name),
|
||||||
class_name: Cow::Owned(instance.class),
|
class_name: Cow::Owned(instance.class),
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ fn apply_add_child(
|
|||||||
context.has_refs_to_rewrite.insert(id);
|
context.has_refs_to_rewrite.insert(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Some(snapshot_id) = snapshot_id {
|
if snapshot_id.is_some() {
|
||||||
context.snapshot_id_to_instance_id.insert(snapshot_id, id);
|
context.snapshot_id_to_instance_id.insert(snapshot_id, id);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -231,7 +231,7 @@ mod test {
|
|||||||
let root_id = tree.get_root_id();
|
let root_id = tree.get_root_id();
|
||||||
|
|
||||||
let snapshot = InstanceSnapshot {
|
let snapshot = InstanceSnapshot {
|
||||||
snapshot_id: None,
|
snapshot_id: Ref::none(),
|
||||||
metadata: Default::default(),
|
metadata: Default::default(),
|
||||||
name: Cow::Borrowed("Foo"),
|
name: Cow::Borrowed("Foo"),
|
||||||
class_name: Cow::Borrowed("Bar"),
|
class_name: Cow::Borrowed("Bar"),
|
||||||
|
|||||||
@@ -77,8 +77,10 @@ fn compute_patch_set_internal(
|
|||||||
id: Ref,
|
id: Ref,
|
||||||
patch_set: &mut PatchSet,
|
patch_set: &mut PatchSet,
|
||||||
) {
|
) {
|
||||||
if let Some(snapshot_id) = snapshot.snapshot_id {
|
if snapshot.snapshot_id.is_some() {
|
||||||
context.snapshot_id_to_instance_id.insert(snapshot_id, id);
|
context
|
||||||
|
.snapshot_id_to_instance_id
|
||||||
|
.insert(snapshot.snapshot_id, id);
|
||||||
}
|
}
|
||||||
|
|
||||||
let instance = tree
|
let instance = tree
|
||||||
@@ -244,7 +246,7 @@ mod test {
|
|||||||
// addition of a prop named Self, which is a self-referential Ref.
|
// addition of a prop named Self, which is a self-referential Ref.
|
||||||
let snapshot_id = Ref::new();
|
let snapshot_id = Ref::new();
|
||||||
let snapshot = InstanceSnapshot {
|
let snapshot = InstanceSnapshot {
|
||||||
snapshot_id: Some(snapshot_id),
|
snapshot_id: snapshot_id,
|
||||||
properties: hashmap! {
|
properties: hashmap! {
|
||||||
"Self".to_owned() => Variant::Ref(snapshot_id),
|
"Self".to_owned() => Variant::Ref(snapshot_id),
|
||||||
},
|
},
|
||||||
@@ -286,13 +288,13 @@ mod test {
|
|||||||
// This patch describes the existing instance with a new child added.
|
// This patch describes the existing instance with a new child added.
|
||||||
let snapshot_id = Ref::new();
|
let snapshot_id = Ref::new();
|
||||||
let snapshot = InstanceSnapshot {
|
let snapshot = InstanceSnapshot {
|
||||||
snapshot_id: Some(snapshot_id),
|
snapshot_id: snapshot_id,
|
||||||
children: vec![InstanceSnapshot {
|
children: vec![InstanceSnapshot {
|
||||||
properties: hashmap! {
|
properties: hashmap! {
|
||||||
"Self".to_owned() => Variant::Ref(snapshot_id),
|
"Self".to_owned() => Variant::Ref(snapshot_id),
|
||||||
},
|
},
|
||||||
|
|
||||||
snapshot_id: None,
|
snapshot_id: Ref::none(),
|
||||||
metadata: Default::default(),
|
metadata: Default::default(),
|
||||||
name: Cow::Borrowed("child"),
|
name: Cow::Borrowed("child"),
|
||||||
class_name: Cow::Borrowed("child"),
|
class_name: Cow::Borrowed("child"),
|
||||||
@@ -311,7 +313,7 @@ mod test {
|
|||||||
added_instances: vec![PatchAdd {
|
added_instances: vec![PatchAdd {
|
||||||
parent_id: root_id,
|
parent_id: root_id,
|
||||||
instance: InstanceSnapshot {
|
instance: InstanceSnapshot {
|
||||||
snapshot_id: None,
|
snapshot_id: Ref::none(),
|
||||||
metadata: Default::default(),
|
metadata: Default::default(),
|
||||||
properties: hashmap! {
|
properties: hashmap! {
|
||||||
"Self".to_owned() => Variant::Ref(root_id),
|
"Self".to_owned() => Variant::Ref(root_id),
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ use std::borrow::Cow;
|
|||||||
use insta::assert_yaml_snapshot;
|
use insta::assert_yaml_snapshot;
|
||||||
use maplit::hashmap;
|
use maplit::hashmap;
|
||||||
|
|
||||||
|
use rbx_dom_weak::types::Ref;
|
||||||
use rojo_insta_ext::RedactionMap;
|
use rojo_insta_ext::RedactionMap;
|
||||||
|
|
||||||
use crate::snapshot::{compute_patch_set, InstanceSnapshot, RojoTree};
|
use crate::snapshot::{compute_patch_set, InstanceSnapshot, RojoTree};
|
||||||
@@ -15,7 +16,7 @@ fn set_name_and_class_name() {
|
|||||||
redactions.intern(tree.get_root_id());
|
redactions.intern(tree.get_root_id());
|
||||||
|
|
||||||
let snapshot = InstanceSnapshot {
|
let snapshot = InstanceSnapshot {
|
||||||
snapshot_id: None,
|
snapshot_id: Ref::none(),
|
||||||
metadata: Default::default(),
|
metadata: Default::default(),
|
||||||
name: Cow::Borrowed("Some Folder"),
|
name: Cow::Borrowed("Some Folder"),
|
||||||
class_name: Cow::Borrowed("Folder"),
|
class_name: Cow::Borrowed("Folder"),
|
||||||
@@ -37,7 +38,7 @@ fn set_property() {
|
|||||||
redactions.intern(tree.get_root_id());
|
redactions.intern(tree.get_root_id());
|
||||||
|
|
||||||
let snapshot = InstanceSnapshot {
|
let snapshot = InstanceSnapshot {
|
||||||
snapshot_id: None,
|
snapshot_id: Ref::none(),
|
||||||
metadata: Default::default(),
|
metadata: Default::default(),
|
||||||
name: Cow::Borrowed("ROOT"),
|
name: Cow::Borrowed("ROOT"),
|
||||||
class_name: Cow::Borrowed("ROOT"),
|
class_name: Cow::Borrowed("ROOT"),
|
||||||
@@ -70,7 +71,7 @@ fn remove_property() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let snapshot = InstanceSnapshot {
|
let snapshot = InstanceSnapshot {
|
||||||
snapshot_id: None,
|
snapshot_id: Ref::none(),
|
||||||
metadata: Default::default(),
|
metadata: Default::default(),
|
||||||
name: Cow::Borrowed("ROOT"),
|
name: Cow::Borrowed("ROOT"),
|
||||||
class_name: Cow::Borrowed("ROOT"),
|
class_name: Cow::Borrowed("ROOT"),
|
||||||
@@ -92,13 +93,13 @@ fn add_child() {
|
|||||||
redactions.intern(tree.get_root_id());
|
redactions.intern(tree.get_root_id());
|
||||||
|
|
||||||
let snapshot = InstanceSnapshot {
|
let snapshot = InstanceSnapshot {
|
||||||
snapshot_id: None,
|
snapshot_id: Ref::none(),
|
||||||
metadata: Default::default(),
|
metadata: Default::default(),
|
||||||
name: Cow::Borrowed("ROOT"),
|
name: Cow::Borrowed("ROOT"),
|
||||||
class_name: Cow::Borrowed("ROOT"),
|
class_name: Cow::Borrowed("ROOT"),
|
||||||
properties: Default::default(),
|
properties: Default::default(),
|
||||||
children: vec![InstanceSnapshot {
|
children: vec![InstanceSnapshot {
|
||||||
snapshot_id: None,
|
snapshot_id: Ref::none(),
|
||||||
metadata: Default::default(),
|
metadata: Default::default(),
|
||||||
name: Cow::Borrowed("New"),
|
name: Cow::Borrowed("New"),
|
||||||
class_name: Cow::Borrowed("Folder"),
|
class_name: Cow::Borrowed("Folder"),
|
||||||
@@ -131,7 +132,7 @@ fn remove_child() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let snapshot = InstanceSnapshot {
|
let snapshot = InstanceSnapshot {
|
||||||
snapshot_id: None,
|
snapshot_id: Ref::none(),
|
||||||
metadata: Default::default(),
|
metadata: Default::default(),
|
||||||
name: Cow::Borrowed("ROOT"),
|
name: Cow::Borrowed("ROOT"),
|
||||||
class_name: Cow::Borrowed("ROOT"),
|
class_name: Cow::Borrowed("ROOT"),
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ removed_instances: []
|
|||||||
added_instances:
|
added_instances:
|
||||||
- parent_id: id-1
|
- parent_id: id-1
|
||||||
instance:
|
instance:
|
||||||
snapshot_id: ~
|
snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: false
|
ignore_unknown_instances: false
|
||||||
relevant_paths: []
|
relevant_paths: []
|
||||||
@@ -16,3 +16,4 @@ added_instances:
|
|||||||
properties: {}
|
properties: {}
|
||||||
children: []
|
children: []
|
||||||
updated_instances: []
|
updated_instances: []
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ use std::{borrow::Cow, collections::HashMap, path::Path, str};
|
|||||||
|
|
||||||
use anyhow::Context;
|
use anyhow::Context;
|
||||||
use memofs::Vfs;
|
use memofs::Vfs;
|
||||||
use rbx_dom_weak::types::Attributes;
|
use rbx_dom_weak::types::{Attributes, Ref};
|
||||||
use serde::Deserialize;
|
use serde::Deserialize;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
@@ -112,7 +112,7 @@ impl JsonModel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Ok(InstanceSnapshot {
|
Ok(InstanceSnapshot {
|
||||||
snapshot_id: None,
|
snapshot_id: Ref::none(),
|
||||||
metadata: Default::default(),
|
metadata: Default::default(),
|
||||||
name: Cow::Owned(name),
|
name: Cow::Owned(name),
|
||||||
class_name: Cow::Owned(class_name),
|
class_name: Cow::Owned(class_name),
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ use std::{borrow::Cow, collections::HashMap, path::Path};
|
|||||||
|
|
||||||
use anyhow::{bail, Context};
|
use anyhow::{bail, Context};
|
||||||
use memofs::Vfs;
|
use memofs::Vfs;
|
||||||
use rbx_dom_weak::types::Attributes;
|
use rbx_dom_weak::types::{Attributes, Ref};
|
||||||
use rbx_reflection::ClassTag;
|
use rbx_reflection::ClassTag;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
@@ -271,7 +271,7 @@ pub fn snapshot_project_node(
|
|||||||
));
|
));
|
||||||
|
|
||||||
Ok(Some(InstanceSnapshot {
|
Ok(Some(InstanceSnapshot {
|
||||||
snapshot_id: None,
|
snapshot_id: Ref::none(),
|
||||||
name,
|
name,
|
||||||
class_name,
|
class_name,
|
||||||
properties,
|
properties,
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
---
|
---
|
||||||
source: src/snapshot_middleware/csv.rs
|
source: src/snapshot_middleware/csv.rs
|
||||||
expression: instance_snapshot
|
expression: instance_snapshot
|
||||||
|
|
||||||
---
|
---
|
||||||
snapshot_id: ~
|
snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: false
|
ignore_unknown_instances: false
|
||||||
instigating_source:
|
instigating_source:
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
---
|
---
|
||||||
source: src/snapshot_middleware/csv.rs
|
source: src/snapshot_middleware/csv.rs
|
||||||
expression: instance_snapshot
|
expression: instance_snapshot
|
||||||
|
|
||||||
---
|
---
|
||||||
snapshot_id: ~
|
snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: true
|
ignore_unknown_instances: true
|
||||||
instigating_source:
|
instigating_source:
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
---
|
---
|
||||||
source: src/snapshot_middleware/dir.rs
|
source: src/snapshot_middleware/dir.rs
|
||||||
assertion_line: 127
|
|
||||||
expression: instance_snapshot
|
expression: instance_snapshot
|
||||||
---
|
---
|
||||||
snapshot_id: ~
|
snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: false
|
ignore_unknown_instances: false
|
||||||
instigating_source:
|
instigating_source:
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
---
|
---
|
||||||
source: src/snapshot_middleware/dir.rs
|
source: src/snapshot_middleware/dir.rs
|
||||||
assertion_line: 148
|
|
||||||
expression: instance_snapshot
|
expression: instance_snapshot
|
||||||
---
|
---
|
||||||
snapshot_id: ~
|
snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: false
|
ignore_unknown_instances: false
|
||||||
instigating_source:
|
instigating_source:
|
||||||
@@ -23,7 +22,7 @@ name: foo
|
|||||||
class_name: Folder
|
class_name: Folder
|
||||||
properties: {}
|
properties: {}
|
||||||
children:
|
children:
|
||||||
- snapshot_id: ~
|
- snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: false
|
ignore_unknown_instances: false
|
||||||
instigating_source:
|
instigating_source:
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
---
|
---
|
||||||
source: src/snapshot_middleware/json.rs
|
source: src/snapshot_middleware/json.rs
|
||||||
expression: instance_snapshot
|
expression: instance_snapshot
|
||||||
|
|
||||||
---
|
---
|
||||||
snapshot_id: ~
|
snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: false
|
ignore_unknown_instances: false
|
||||||
instigating_source:
|
instigating_source:
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
---
|
---
|
||||||
source: src/snapshot_middleware/json_model.rs
|
source: src/snapshot_middleware/json_model.rs
|
||||||
expression: instance_snapshot
|
expression: instance_snapshot
|
||||||
|
|
||||||
---
|
---
|
||||||
snapshot_id: ~
|
snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: false
|
ignore_unknown_instances: false
|
||||||
instigating_source:
|
instigating_source:
|
||||||
@@ -17,7 +16,7 @@ properties:
|
|||||||
Value:
|
Value:
|
||||||
Int64: 5
|
Int64: 5
|
||||||
children:
|
children:
|
||||||
- snapshot_id: ~
|
- snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: false
|
ignore_unknown_instances: false
|
||||||
relevant_paths: []
|
relevant_paths: []
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
---
|
---
|
||||||
source: src/snapshot_middleware/json_model.rs
|
source: src/snapshot_middleware/json_model.rs
|
||||||
assertion_line: 186
|
|
||||||
expression: instance_snapshot
|
expression: instance_snapshot
|
||||||
---
|
---
|
||||||
snapshot_id: ~
|
snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: false
|
ignore_unknown_instances: false
|
||||||
instigating_source:
|
instigating_source:
|
||||||
@@ -17,7 +16,7 @@ properties:
|
|||||||
Value:
|
Value:
|
||||||
Int64: 5
|
Int64: 5
|
||||||
children:
|
children:
|
||||||
- snapshot_id: ~
|
- snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: false
|
ignore_unknown_instances: false
|
||||||
relevant_paths: []
|
relevant_paths: []
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
---
|
---
|
||||||
source: src/snapshot_middleware/lua.rs
|
source: src/snapshot_middleware/lua.rs
|
||||||
expression: instance_snapshot
|
expression: instance_snapshot
|
||||||
|
|
||||||
---
|
---
|
||||||
snapshot_id: ~
|
snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: false
|
ignore_unknown_instances: false
|
||||||
instigating_source:
|
instigating_source:
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
---
|
---
|
||||||
source: src/snapshot_middleware/lua.rs
|
source: src/snapshot_middleware/lua.rs
|
||||||
expression: instance_snapshot
|
expression: instance_snapshot
|
||||||
|
|
||||||
---
|
---
|
||||||
snapshot_id: ~
|
snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: false
|
ignore_unknown_instances: false
|
||||||
instigating_source:
|
instigating_source:
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
---
|
---
|
||||||
source: src/snapshot_middleware/lua.rs
|
source: src/snapshot_middleware/lua.rs
|
||||||
expression: instance_snapshot
|
expression: instance_snapshot
|
||||||
|
|
||||||
---
|
---
|
||||||
snapshot_id: ~
|
snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: true
|
ignore_unknown_instances: true
|
||||||
instigating_source:
|
instigating_source:
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
---
|
---
|
||||||
source: src/snapshot_middleware/lua.rs
|
source: src/snapshot_middleware/lua.rs
|
||||||
expression: instance_snapshot
|
expression: instance_snapshot
|
||||||
|
|
||||||
---
|
---
|
||||||
snapshot_id: ~
|
snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: false
|
ignore_unknown_instances: false
|
||||||
instigating_source:
|
instigating_source:
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
---
|
---
|
||||||
source: src/snapshot_middleware/lua.rs
|
source: src/snapshot_middleware/lua.rs
|
||||||
expression: instance_snapshot
|
expression: instance_snapshot
|
||||||
|
|
||||||
---
|
---
|
||||||
snapshot_id: ~
|
snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: true
|
ignore_unknown_instances: true
|
||||||
instigating_source:
|
instigating_source:
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
---
|
---
|
||||||
source: src/snapshot_middleware/lua.rs
|
source: src/snapshot_middleware/lua.rs
|
||||||
expression: instance_snapshot
|
expression: instance_snapshot
|
||||||
|
|
||||||
---
|
---
|
||||||
snapshot_id: ~
|
snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: false
|
ignore_unknown_instances: false
|
||||||
instigating_source:
|
instigating_source:
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
source: src/snapshot_middleware/project.rs
|
source: src/snapshot_middleware/project.rs
|
||||||
expression: instance_snapshot
|
expression: instance_snapshot
|
||||||
---
|
---
|
||||||
snapshot_id: ~
|
snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: true
|
ignore_unknown_instances: true
|
||||||
instigating_source:
|
instigating_source:
|
||||||
@@ -14,3 +14,4 @@ name: direct-project
|
|||||||
class_name: Model
|
class_name: Model
|
||||||
properties: {}
|
properties: {}
|
||||||
children: []
|
children: []
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
---
|
---
|
||||||
source: src/snapshot_middleware/project.rs
|
source: src/snapshot_middleware/project.rs
|
||||||
expression: instance_snapshot
|
expression: instance_snapshot
|
||||||
|
|
||||||
---
|
---
|
||||||
snapshot_id: ~
|
snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: true
|
ignore_unknown_instances: true
|
||||||
instigating_source:
|
instigating_source:
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
source: src/snapshot_middleware/project.rs
|
source: src/snapshot_middleware/project.rs
|
||||||
expression: instance_snapshot
|
expression: instance_snapshot
|
||||||
---
|
---
|
||||||
snapshot_id: ~
|
snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: true
|
ignore_unknown_instances: true
|
||||||
instigating_source:
|
instigating_source:
|
||||||
@@ -14,7 +14,7 @@ name: children
|
|||||||
class_name: Folder
|
class_name: Folder
|
||||||
properties: {}
|
properties: {}
|
||||||
children:
|
children:
|
||||||
- snapshot_id: ~
|
- snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: true
|
ignore_unknown_instances: true
|
||||||
instigating_source:
|
instigating_source:
|
||||||
@@ -29,3 +29,4 @@ children:
|
|||||||
class_name: Model
|
class_name: Model
|
||||||
properties: {}
|
properties: {}
|
||||||
children: []
|
children: []
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
source: src/snapshot_middleware/project.rs
|
source: src/snapshot_middleware/project.rs
|
||||||
expression: instance_snapshot
|
expression: instance_snapshot
|
||||||
---
|
---
|
||||||
snapshot_id: ~
|
snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: true
|
ignore_unknown_instances: true
|
||||||
instigating_source:
|
instigating_source:
|
||||||
@@ -15,3 +15,4 @@ name: path-project
|
|||||||
class_name: Model
|
class_name: Model
|
||||||
properties: {}
|
properties: {}
|
||||||
children: []
|
children: []
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
source: src/snapshot_middleware/project.rs
|
source: src/snapshot_middleware/project.rs
|
||||||
expression: instance_snapshot
|
expression: instance_snapshot
|
||||||
---
|
---
|
||||||
snapshot_id: ~
|
snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: true
|
ignore_unknown_instances: true
|
||||||
instigating_source:
|
instigating_source:
|
||||||
@@ -15,7 +15,7 @@ name: path-child-project
|
|||||||
class_name: Folder
|
class_name: Folder
|
||||||
properties: {}
|
properties: {}
|
||||||
children:
|
children:
|
||||||
- snapshot_id: ~
|
- snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: true
|
ignore_unknown_instances: true
|
||||||
instigating_source:
|
instigating_source:
|
||||||
@@ -30,3 +30,4 @@ children:
|
|||||||
class_name: Model
|
class_name: Model
|
||||||
properties: {}
|
properties: {}
|
||||||
children: []
|
children: []
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
---
|
---
|
||||||
source: src/snapshot_middleware/project.rs
|
source: src/snapshot_middleware/project.rs
|
||||||
expression: instance_snapshot
|
expression: instance_snapshot
|
||||||
|
|
||||||
---
|
---
|
||||||
snapshot_id: ~
|
snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: false
|
ignore_unknown_instances: false
|
||||||
instigating_source:
|
instigating_source:
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
---
|
---
|
||||||
source: src/snapshot_middleware/project.rs
|
source: src/snapshot_middleware/project.rs
|
||||||
expression: instance_snapshot
|
expression: instance_snapshot
|
||||||
|
|
||||||
---
|
---
|
||||||
snapshot_id: ~
|
snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: true
|
ignore_unknown_instances: true
|
||||||
instigating_source:
|
instigating_source:
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
---
|
---
|
||||||
source: src/snapshot_middleware/project.rs
|
source: src/snapshot_middleware/project.rs
|
||||||
expression: instance_snapshot
|
expression: instance_snapshot
|
||||||
|
|
||||||
---
|
---
|
||||||
snapshot_id: ~
|
snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: true
|
ignore_unknown_instances: true
|
||||||
instigating_source:
|
instigating_source:
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
---
|
---
|
||||||
source: src/snapshot_middleware/txt.rs
|
source: src/snapshot_middleware/txt.rs
|
||||||
expression: instance_snapshot
|
expression: instance_snapshot
|
||||||
|
|
||||||
---
|
---
|
||||||
snapshot_id: ~
|
snapshot_id: "00000000000000000000000000000000"
|
||||||
metadata:
|
metadata:
|
||||||
ignore_unknown_instances: false
|
ignore_unknown_instances: false
|
||||||
instigating_source:
|
instigating_source:
|
||||||
|
|||||||
Reference in New Issue
Block a user