Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added backward compatility to old action types #3776

Merged
merged 7 commits into from
Aug 20, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -4,7 +4,6 @@ import { ActivatedRoute } from '@angular/router';
import { Store } from '@ngrx/store';
import { Observable, Subscription } from 'rxjs';
import { filter, map, tap } from 'rxjs/operators';
import { createEntityRelationPaginationKey } from '../../../../../store/src/helpers/entity-relations/entity-relations.types';
import { getPaginationObservables } from '../../../../../store/src/reducers/pagination-reducer/pagination-reducer.helper';
import { APIResource } from '../../../../../store/src/types/api.types';
import { IQuotaDefinition } from '../../../core/cf-api.types';
@@ -14,6 +13,7 @@ import { CFAppState } from '../../../../../cloud-foundry/src/cf-app-state';
import { endpointSchemaKey } from '../../../../../store/src/helpers/entity-factory';
import { GetQuotaDefinitions } from '../../../../../cloud-foundry/src/actions/quota-definitions.actions';
import { quotaDefinitionEntityType, cfEntityFactory } from '../../../../../cloud-foundry/src/cf-entity-factory';
import { createEntityRelationPaginationKey } from '../../../../../cloud-foundry/src/entity-relations/entity-relations.types';


@Component({
Original file line number Diff line number Diff line change
@@ -7,14 +7,14 @@ import { filter, map, tap } from 'rxjs/operators';

import { AppState } from '../../../../../store/src/app-state';
import { endpointSchemaKey, entityFactory } from '../../../../../store/src/helpers/entity-factory';
import { createEntityRelationPaginationKey } from '../../../../../store/src/helpers/entity-relations/entity-relations.types';
import { getPaginationObservables } from '../../../../../store/src/reducers/pagination-reducer/pagination-reducer.helper';
import { APIResource } from '../../../../../store/src/types/api.types';
import { IQuotaDefinition } from '../../../core/cf-api.types';
import { safeUnsubscribe } from '../../../core/utils.service';
import { PaginationMonitorFactory } from '../../../shared/monitors/pagination-monitor.factory';
import { GetOrganizationSpaceQuotaDefinitions } from '../../../../../cloud-foundry/src/actions/quota-definitions.actions';
import { spaceQuotaEntityType } from '../../../../../cloud-foundry/src/cf-entity-factory';
import { createEntityRelationPaginationKey } from '../../../../../cloud-foundry/src/entity-relations/entity-relations.types';


@Component({
Original file line number Diff line number Diff line change
@@ -5,9 +5,6 @@ import { distinctUntilChanged, map } from 'rxjs/operators';
import {
endpointSchemaKey,
} from '../../../../../../../store/src/helpers/entity-factory';
import {
createEntityRelationPaginationKey,
} from '../../../../../../../store/src/helpers/entity-relations/entity-relations.types';
import { APIResource } from '../../../../../../../store/src/types/api.types';
import { EntityMonitor } from '../../../../monitors/entity-monitor';
import { ListDataSource } from '../../data-sources-controllers/list-data-source';
@@ -17,6 +14,7 @@ import { GetQuotaDefinitions } from '../../../../../../../cloud-foundry/src/acti
import { getRowMetadata } from '../../../../../../../cloud-foundry/src/features/cloud-foundry/cf.helpers';
import { CFAppState } from '../../../../../../../cloud-foundry/src/cf-app-state';
import { quotaDefinitionEntityType, cfEntityFactory } from '../../../../../../../cloud-foundry/src/cf-entity-factory';
import { createEntityRelationPaginationKey } from '../../../../../../../cloud-foundry/src/entity-relations/entity-relations.types';

export class CfQuotasDataSourceService extends ListDataSource<APIResource> {

Original file line number Diff line number Diff line change
@@ -2,9 +2,6 @@ import { Store } from '@ngrx/store';
import { of } from 'rxjs';
import { distinctUntilChanged, map } from 'rxjs/operators';

import {
createEntityRelationPaginationKey,
} from '../../../../../../../store/src/helpers/entity-relations/entity-relations.types';
import { APIResource } from '../../../../../../../store/src/types/api.types';
import { EntityMonitor } from '../../../../monitors/entity-monitor';
import { ListDataSource } from '../../data-sources-controllers/list-data-source';
@@ -15,6 +12,7 @@ import { GetOrganizationSpaceQuotaDefinitions } from '../../../../../../../cloud
import { getRowMetadata } from '../../../../../../../cloud-foundry/src/features/cloud-foundry/cf.helpers';
import { CFAppState } from '../../../../../../../cloud-foundry/src/cf-app-state';
import { cfEntityFactory, spaceQuotaEntityType } from '../../../../../../../cloud-foundry/src/cf-entity-factory';
import { createEntityRelationPaginationKey } from '../../../../../../../cloud-foundry/src/entity-relations/entity-relations.types';

export class CfOrgSpaceQuotasDataSourceService extends ListDataSource<APIResource> {