github.com/argoproj/argo-cd@v1.8.7/ui/src/app/shared/services/index.ts (about)

     1  import {AccountsService} from './accounts-service';
     2  import {ApplicationsService} from './applications-service';
     3  import {AuthService} from './auth-service';
     4  import {CertificatesService} from './cert-service';
     5  import {ClustersService} from './clusters-service';
     6  import {GnuPGPublicKeyService} from './gpgkey-service';
     7  import {ProjectsService} from './projects-service';
     8  import {RepositoriesService} from './repo-service';
     9  import {RepoCredsService} from './repocreds-service';
    10  import {UserService} from './user-service';
    11  import {VersionService} from './version-service';
    12  import {ViewPreferencesService} from './view-preferences-service';
    13  
    14  export interface Services {
    15      applications: ApplicationsService;
    16      users: UserService;
    17      authService: AuthService;
    18      certs: CertificatesService;
    19      repocreds: RepoCredsService;
    20      repos: RepositoriesService;
    21      clusters: ClustersService;
    22      projects: ProjectsService;
    23      viewPreferences: ViewPreferencesService;
    24      version: VersionService;
    25      accounts: AccountsService;
    26      gpgkeys: GnuPGPublicKeyService;
    27  }
    28  
    29  export const services: Services = {
    30      applications: new ApplicationsService(),
    31      authService: new AuthService(),
    32      clusters: new ClustersService(),
    33      users: new UserService(),
    34      certs: new CertificatesService(),
    35      repos: new RepositoriesService(),
    36      repocreds: new RepoCredsService(),
    37      projects: new ProjectsService(),
    38      viewPreferences: new ViewPreferencesService(),
    39      version: new VersionService(),
    40      accounts: new AccountsService(),
    41      gpgkeys: new GnuPGPublicKeyService()
    42  };
    43  
    44  export {ProjectRoleParams, CreateJWTTokenParams, DeleteJWTTokenParams, JWTTokenResponse} from './projects-service';
    45  export * from './view-preferences-service';