mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Update snapshot files to remove unnecessary attributes and improve consistency in property handling
- Cleared out redundant attributes from various snapshot files, specifically removing `Rojo_Target_Value` and `Rojo_Target_PrimaryPart` where applicable. - Ensured that attributes are consistently represented as empty objects when not needed, enhancing clarity in the snapshot structure. - Adjusted related test cases to reflect these changes, ensuring alignment with the updated snapshot expectations.
This commit is contained in:
parent
cd05690d8a
commit
1af3a18bcd
26 changed files with 64 additions and 87 deletions
|
|
@ -36,9 +36,7 @@ instances:
|
|||
Parent: id-3
|
||||
Properties:
|
||||
Attributes:
|
||||
Attributes:
|
||||
Rojo_Target_Value:
|
||||
String: sword
|
||||
Attributes: {}
|
||||
Value:
|
||||
Ref: id-5
|
||||
id-5:
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ expression: model
|
|||
<Item class="ObjectValue" referent="4">
|
||||
<Properties>
|
||||
<string name="Name">ObjectValue</string>
|
||||
<BinaryString name="AttributesSerialize">AQAAABEAAABSb2pvX1RhcmdldF9WYWx1ZQIFAAAAc3dvcmQ=</BinaryString>
|
||||
<BinaryString name="AttributesSerialize"></BinaryString>
|
||||
<Ref name="Value">null</Ref>
|
||||
</Properties>
|
||||
</Item>
|
||||
|
|
|
|||
|
|
@ -13,9 +13,7 @@ instances:
|
|||
Parent: id-9
|
||||
Properties:
|
||||
Attributes:
|
||||
Attributes:
|
||||
Rojo_Target_Value:
|
||||
String: project target
|
||||
Attributes: {}
|
||||
Value:
|
||||
Ref: id-9
|
||||
id-11:
|
||||
|
|
@ -28,9 +26,7 @@ instances:
|
|||
Parent: id-7
|
||||
Properties:
|
||||
Attributes:
|
||||
Attributes:
|
||||
Rojo_Target_PrimaryPart:
|
||||
String: project target
|
||||
Attributes: {}
|
||||
NeedsPivotMigration:
|
||||
Bool: false
|
||||
PrimaryPart:
|
||||
|
|
@ -70,9 +66,7 @@ instances:
|
|||
Parent: id-3
|
||||
Properties:
|
||||
Attributes:
|
||||
Attributes:
|
||||
Rojo_Target_Value:
|
||||
String: folder target
|
||||
Attributes: {}
|
||||
Value:
|
||||
Ref: id-5
|
||||
id-5:
|
||||
|
|
@ -95,9 +89,7 @@ instances:
|
|||
Parent: id-5
|
||||
Properties:
|
||||
Attributes:
|
||||
Attributes:
|
||||
Rojo_Target_Value:
|
||||
String: folder target
|
||||
Attributes: {}
|
||||
Value:
|
||||
Ref: id-5
|
||||
id-7:
|
||||
|
|
@ -112,9 +104,7 @@ instances:
|
|||
Parent: id-3
|
||||
Properties:
|
||||
Attributes:
|
||||
Attributes:
|
||||
Rojo_Id:
|
||||
String: model target 2
|
||||
Attributes: {}
|
||||
id-8:
|
||||
Children: []
|
||||
ClassName: Model
|
||||
|
|
@ -125,9 +115,7 @@ instances:
|
|||
Parent: id-7
|
||||
Properties:
|
||||
Attributes:
|
||||
Attributes:
|
||||
Rojo_Target_PrimaryPart:
|
||||
String: model target 2
|
||||
Attributes: {}
|
||||
NeedsPivotMigration:
|
||||
Bool: false
|
||||
PrimaryPart:
|
||||
|
|
|
|||
|
|
@ -13,9 +13,7 @@ instances:
|
|||
Parent: id-9
|
||||
Properties:
|
||||
Attributes:
|
||||
Attributes:
|
||||
Rojo_Target_Value:
|
||||
String: project target
|
||||
Attributes: {}
|
||||
Value:
|
||||
Ref: id-9
|
||||
id-2:
|
||||
|
|
@ -53,9 +51,7 @@ instances:
|
|||
Parent: id-3
|
||||
Properties:
|
||||
Attributes:
|
||||
Attributes:
|
||||
Rojo_Target_Value:
|
||||
String: folder target
|
||||
Attributes: {}
|
||||
Value:
|
||||
Ref: id-5
|
||||
id-5:
|
||||
|
|
@ -78,9 +74,7 @@ instances:
|
|||
Parent: id-5
|
||||
Properties:
|
||||
Attributes:
|
||||
Attributes:
|
||||
Rojo_Target_Value:
|
||||
String: folder target
|
||||
Attributes: {}
|
||||
Value:
|
||||
Ref: id-5
|
||||
id-7:
|
||||
|
|
@ -103,9 +97,7 @@ instances:
|
|||
Parent: id-7
|
||||
Properties:
|
||||
Attributes:
|
||||
Attributes:
|
||||
Rojo_Target_PrimaryPart:
|
||||
String: model target
|
||||
Attributes: {}
|
||||
NeedsPivotMigration:
|
||||
Bool: false
|
||||
PrimaryPart:
|
||||
|
|
|
|||
|
|
@ -13,9 +13,7 @@ instances:
|
|||
Parent: id-9
|
||||
Properties:
|
||||
Attributes:
|
||||
Attributes:
|
||||
Rojo_Target_Value:
|
||||
String: project target
|
||||
Attributes: {}
|
||||
Value:
|
||||
Ref: id-9
|
||||
id-2:
|
||||
|
|
@ -53,9 +51,7 @@ instances:
|
|||
Parent: id-3
|
||||
Properties:
|
||||
Attributes:
|
||||
Attributes:
|
||||
Rojo_Target_Value:
|
||||
String: folder target
|
||||
Attributes: {}
|
||||
Value:
|
||||
Ref: id-5
|
||||
id-5:
|
||||
|
|
@ -78,9 +74,7 @@ instances:
|
|||
Parent: id-5
|
||||
Properties:
|
||||
Attributes:
|
||||
Attributes:
|
||||
Rojo_Target_Value:
|
||||
String: folder target
|
||||
Attributes: {}
|
||||
Value:
|
||||
Ref: id-5
|
||||
id-7:
|
||||
|
|
@ -103,9 +97,7 @@ instances:
|
|||
Parent: id-7
|
||||
Properties:
|
||||
Attributes:
|
||||
Attributes:
|
||||
Rojo_Target_PrimaryPart:
|
||||
String: model target
|
||||
Attributes: {}
|
||||
NeedsPivotMigration:
|
||||
Bool: false
|
||||
PrimaryPart:
|
||||
|
|
|
|||
|
|
@ -13,9 +13,7 @@ instances:
|
|||
Parent: id-9
|
||||
Properties:
|
||||
Attributes:
|
||||
Attributes:
|
||||
Rojo_Target_Value:
|
||||
String: project target
|
||||
Attributes: {}
|
||||
Value:
|
||||
Ref: id-9
|
||||
id-2:
|
||||
|
|
@ -53,9 +51,7 @@ instances:
|
|||
Parent: id-3
|
||||
Properties:
|
||||
Attributes:
|
||||
Attributes:
|
||||
Rojo_Target_Value:
|
||||
String: folder target
|
||||
Attributes: {}
|
||||
Value:
|
||||
Ref: id-5
|
||||
id-5:
|
||||
|
|
@ -78,9 +74,7 @@ instances:
|
|||
Parent: id-5
|
||||
Properties:
|
||||
Attributes:
|
||||
Attributes:
|
||||
Rojo_Target_Value:
|
||||
String: folder target
|
||||
Attributes: {}
|
||||
Value:
|
||||
Ref: id-5
|
||||
id-7:
|
||||
|
|
@ -103,9 +97,7 @@ instances:
|
|||
Parent: id-7
|
||||
Properties:
|
||||
Attributes:
|
||||
Attributes:
|
||||
Rojo_Target_PrimaryPart:
|
||||
String: model target
|
||||
Attributes: {}
|
||||
NeedsPivotMigration:
|
||||
Bool: false
|
||||
PrimaryPart:
|
||||
|
|
|
|||
|
|
@ -12,6 +12,10 @@ body:
|
|||
changedMetadata: ~
|
||||
changedName: ~
|
||||
changedProperties:
|
||||
Attributes:
|
||||
Attributes:
|
||||
Rojo_Target_PrimaryPart:
|
||||
String: model target
|
||||
Scale:
|
||||
Float32: 1
|
||||
id: id-8
|
||||
|
|
|
|||
|
|
@ -23,11 +23,8 @@ instances:
|
|||
Parent: id-2
|
||||
Properties:
|
||||
Attributes:
|
||||
Attributes:
|
||||
Rojo_Target_Value:
|
||||
String: test pointer
|
||||
Attributes: {}
|
||||
Value:
|
||||
Ref: id-4
|
||||
messageCursor: 1
|
||||
sessionId: id-1
|
||||
|
||||
|
|
|
|||
|
|
@ -24,9 +24,7 @@ instances:
|
|||
Parent: id-2
|
||||
Properties:
|
||||
Attributes:
|
||||
Attributes:
|
||||
Rojo_Target_Value:
|
||||
String: test pointer
|
||||
Attributes: {}
|
||||
Value:
|
||||
Ref: id-4
|
||||
id-4:
|
||||
|
|
@ -39,9 +37,6 @@ instances:
|
|||
Parent: id-2
|
||||
Properties:
|
||||
Attributes:
|
||||
Attributes:
|
||||
Rojo_Id:
|
||||
String: test pointer
|
||||
Attributes: {}
|
||||
messageCursor: 0
|
||||
sessionId: id-1
|
||||
|
||||
|
|
|
|||
|
|
@ -16,9 +16,7 @@ body:
|
|||
Parent: id-7
|
||||
Properties:
|
||||
Attributes:
|
||||
Attributes:
|
||||
Rojo_Target_PrimaryPart:
|
||||
String: project target
|
||||
Attributes: {}
|
||||
NeedsPivotMigration:
|
||||
Bool: false
|
||||
PrimaryPart:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue