Builds a flake from a shape and a retrieval model, keeping only the properties the model addresses, each branch carrying the drain requested for it.
Property branches form only for a @metreeca/qest/template!Template model on a resource root; any other Model form, or a non-resource root, yields a degenerate leaf flake.
An immutable Flake restricted to the model-addressed properties
Builds a Flake from a Shape and an optional Model or Query.