Add config endpoint service

This commit is contained in:
Giuseppe Digilio
2017-10-26 15:04:03 +02:00
parent 311fef21f4
commit 01f26bd8c2
15 changed files with 364 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
import { Inject, Injectable } from '@angular/core';
import { ConfigService } from './config.service';
import { ResponseCacheService } from '../cache/response-cache.service';
import { RequestService } from '../data/request.service';
import { GLOBAL_CONFIG } from '../../../config';
import { GlobalConfig } from '../../../config/global-config.interface';
@Injectable()
export class SubmissionSectionsConfigService extends ConfigService {
protected linkName = 'submissionsections';
protected browseEndpoint = '';
constructor(
protected responseCache: ResponseCacheService,
protected requestService: RequestService,
@Inject(GLOBAL_CONFIG) protected EnvConfig: GlobalConfig) {
super();
}
}