cloudfoundry/stratos

View on GitHub
src/frontend/packages/store/src/entity-catalog/entity-catalog-entity/entity-catalog-entity-store-helpers.ts

Summary

Maintainability
A
0 mins
Test Coverage

Function createCoreStore has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

  static createCoreStore<Y, ABC extends OrchestratedActionBuilders>(
    actionOrchestrator: ActionOrchestrator<ABC>,
    entityKey: string,
    getSchema: (schema: string) => EntitySchema
  ): CoreEntityCatalogEntityStore<Y, ABC> {

    Function getPaginationStore has 35 lines of code (exceeds 25 allowed). Consider refactoring.
    Wontfix

      static getPaginationStore<Y, ABC extends OrchestratedActionBuilders = OrchestratedActionBuilders>(
        builders: KnownActionBuilders<ABC>,
        entityKey: string,
        getSchema: (schema: string) => EntitySchema
      ): CustomEntityCatalogEntityStore<Y, ABC> {

      Function getActionDispatcher has 26 lines of code (exceeds 25 allowed). Consider refactoring.
      Wontfix

        private static getActionDispatcher<Y, ABC extends OrchestratedActionBuilders, K extends keyof ABC>(
          es: CoreEntityCatalogEntityStore<Y, ABC>,
          builder: OrchestratedActionBuilder,
          actionKey: string,
        ): ActionDispatcher<K, ABC> {

        There are no issues that match your filters.

        Category
        Status