aswi2021codebakers-gitlab/src/app/shared/api/endpoints/api-configuration.ts @ f86d42a9
1 | f8b9a3a2 | hlavja | /* tslint:disable */
|
---|---|---|---|
2 | /* eslint-disable */
|
||
3 | import { Injectable } from '@angular/core'; |
||
4 | |||
5 | /**
|
||
6 | * Global configuration
|
||
7 | */
|
||
8 | @Injectable({ |
||
9 | providedIn: 'root', |
||
10 | })
|
||
11 | export class ApiConfiguration { |
||
12 | f86d42a9 | hlavja | rootUrl: string = ''; |
13 | f8b9a3a2 | hlavja | }
|
14 | |||
15 | /**
|
||
16 | * Parameters for `ApiModule.forRoot()`
|
||
17 | */
|
||
18 | export interface ApiConfigurationParams { |
||
19 | rootUrl?: string; |
||
20 | }
|