@umbraco-cms/backoffice

    Function umbScopeMapperForJsonPaths

    • Helper method to map paths matching a certain scope.

      Parameters

      • paths: string[]

        the JSON paths to map.

      • scopePath: string

        the JSON path to scope the mapping to.

      • scopedMapper: (scopedPaths: string[]) => Promise<string[]>

        Map function which receives the paths in the scope and returns the resolved paths.

      Returns Promise<string[]>

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