microsoft / FluidFramework

Library for building distributed, real-time collaborative web applications
https://fluidframework.com
MIT License
4.73k stars 532 forks source link

tree: Move Json domain to test code, and port to simple-tree schema #22324

Closed CraigMacomber closed 2 months ago

CraigMacomber commented 2 months ago

Description

Move Json domain to test code, and port it to simple-tree schema. Replace Json schema in test/utils.ts with Json domain. Remove more schema aware typing logic. Make a few tests use more concise ways to build the needed test trees.

Reviewer Guidance

The review process is outlined on this wiki page.

msfluid-bot commented 2 months ago
@fluid-example/bundle-size-tests: -225 Bytes
Metric NameBaseline SizeCompare SizeSize Diff
aqueduct.js 459.99 KB 460.03 KB +35 Bytes
azureClient.js 558.03 KB 558.07 KB +49 Bytes
connectionState.js 680 Bytes 680 Bytes No change
containerRuntime.js 260.81 KB 260.82 KB +14 Bytes
fluidFramework.js 402.98 KB 402.77 KB -221 Bytes
loader.js 134.26 KB 134.28 KB +14 Bytes
map.js 42.3 KB 42.31 KB +7 Bytes
matrix.js 146.47 KB 146.48 KB +7 Bytes
odspClient.js 525.31 KB 525.36 KB +49 Bytes
odspDriver.js 97.72 KB 97.74 KB +21 Bytes
odspPrefetchSnapshot.js 42.78 KB 42.79 KB +14 Bytes
sharedString.js 163.18 KB 163.18 KB +7 Bytes
sharedTree.js 393.5 KB 393.27 KB -228 Bytes
Total Size 3.3 MB 3.3 MB -225 Bytes

Baseline commit: 961c9e8c65662467ce655d715f427039c2d6b780

Generated by :no_entry_sign: dangerJS against c95ded78124211a4dd371de9e18ee3c3e7512b21