@umbraco-cms/backoffice

    Function umbQueryMapperForJsonPaths

    • Helper method to replace paths index with queries and additionally map the paths.

      Type Parameters

      • T

      Parameters

      • scopePaths: string[]
      • scopeData: T[]
      • queryConstructor: (entry: T) => string
      • Optionalmapper: (scopedPaths: string[], propertyData: undefined | T) => Promise<string[]>

      Returns Promise<string[]>

      • the paths, including the once mapped by the scoped mapper. Notice the order is kept.
    MMNEPVFCICPMFPCPTTAAATR