forked from microsoft/FluidFramework
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tree: Const schema type parameters, more tests tree and misc cleanups (…
…microsoft#22927) ## Description A collection of minor improvements split out from microsoft#22566 for simplified and more targeted review.
- Loading branch information
1 parent
2f1175f
commit 4a730a0
Showing
19 changed files
with
248 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
packages/dds/tree/src/test/snapshots/chunked-forest-schema-compressed/hasAmbiguousField.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"version": 1, | ||
"identifiers": [], | ||
"shapes": [ | ||
{ | ||
"c": { | ||
"type": "test.hasAmbiguousField", | ||
"value": false, | ||
"fields": [ | ||
[ | ||
"field", | ||
2 | ||
] | ||
] | ||
} | ||
}, | ||
{ | ||
"c": { | ||
"type": "test.minimal", | ||
"value": false | ||
} | ||
}, | ||
{ | ||
"d": 0 | ||
} | ||
], | ||
"data": [ | ||
[ | ||
0, | ||
1 | ||
] | ||
] | ||
} |
29 changes: 29 additions & 0 deletions
29
packages/dds/tree/src/test/snapshots/chunked-forest-schema-compressed/hasRenamedField.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"version": 1, | ||
"identifiers": [], | ||
"shapes": [ | ||
{ | ||
"c": { | ||
"type": "test.hasRenamedField", | ||
"value": false, | ||
"fields": [ | ||
[ | ||
"stored-name", | ||
1 | ||
] | ||
] | ||
} | ||
}, | ||
{ | ||
"c": { | ||
"type": "test.minimal", | ||
"value": false | ||
} | ||
} | ||
], | ||
"data": [ | ||
[ | ||
0 | ||
] | ||
] | ||
} |
28 changes: 28 additions & 0 deletions
28
packages/dds/tree/src/test/snapshots/schema-files/hasAmbiguousField.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"version": 1, | ||
"nodes": { | ||
"test.hasAmbiguousField": { | ||
"object": { | ||
"field": { | ||
"kind": "Value", | ||
"types": [ | ||
"test.minimal", | ||
"test.minimal2" | ||
] | ||
} | ||
} | ||
}, | ||
"test.minimal": { | ||
"object": {} | ||
}, | ||
"test.minimal2": { | ||
"object": {} | ||
} | ||
}, | ||
"root": { | ||
"kind": "Value", | ||
"types": [ | ||
"test.hasAmbiguousField" | ||
] | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
packages/dds/tree/src/test/snapshots/schema-files/hasRenamedField.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"version": 1, | ||
"nodes": { | ||
"test.hasRenamedField": { | ||
"object": { | ||
"stored-name": { | ||
"kind": "Value", | ||
"types": [ | ||
"test.minimal" | ||
] | ||
} | ||
} | ||
}, | ||
"test.minimal": { | ||
"object": {} | ||
} | ||
}, | ||
"root": { | ||
"kind": "Value", | ||
"types": [ | ||
"test.hasRenamedField" | ||
] | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
packages/dds/tree/src/test/snapshots/simple-tree-storedSchema/hasAmbiguousField.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"version": 1, | ||
"nodes": { | ||
"test.hasAmbiguousField": { | ||
"object": { | ||
"field": { | ||
"kind": "Value", | ||
"types": [ | ||
"test.minimal", | ||
"test.minimal2" | ||
] | ||
} | ||
} | ||
}, | ||
"test.minimal": { | ||
"object": {} | ||
}, | ||
"test.minimal2": { | ||
"object": {} | ||
} | ||
}, | ||
"root": { | ||
"kind": "Value", | ||
"types": [ | ||
"test.hasAmbiguousField" | ||
] | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
packages/dds/tree/src/test/snapshots/simple-tree-storedSchema/hasRenamedField.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"version": 1, | ||
"nodes": { | ||
"test.hasRenamedField": { | ||
"object": { | ||
"stored-name": { | ||
"kind": "Value", | ||
"types": [ | ||
"test.minimal" | ||
] | ||
} | ||
} | ||
}, | ||
"test.minimal": { | ||
"object": {} | ||
} | ||
}, | ||
"root": { | ||
"kind": "Value", | ||
"types": [ | ||
"test.hasRenamedField" | ||
] | ||
} | ||
} |
Oops, something went wrong.