@adobe/data - v0.10.30
    Preparing search index...

    Function conformStoreToSchemas

    • Bring store to the given target schemas, IN PLACE:

      • a component/resource whose stored schema already matches is skipped;
      • one that differs is auto-converted (add-field-from-default, widen/narrow, reorder, clamp, …) — resources convert the same way, being singletons;
      • one absent from the store is added (a component is declared; a resource is materialized as a singleton at its default, with its accessor).

      Used to stage a document store to an intermediate version before a major handler and to normalize it to the current schema. A change that is NOT auto-convertible throws — it must have been produced by a handler before this point, so reaching here un-handled is a developer error.

      Parameters

      Returns void