@@ -21,7 +21,7 @@ export interface GitProxyConfig {
21
21
* List of authentication sources for API endpoints. May be empty, in which case all
22
22
* endpoints are public.
23
23
*/
24
- apiAuthentication ?: Authentication [ ] ;
24
+ apiAuthentication ?: AuthenticationElement [ ] ;
25
25
/**
26
26
* Customisable questions to add to attestation form
27
27
*/
@@ -30,7 +30,7 @@ export interface GitProxyConfig {
30
30
* List of authentication sources. The first source in the configuration with enabled=true
31
31
* will be used.
32
32
*/
33
- authentication ?: Authentication [ ] ;
33
+ authentication ?: AuthenticationElement [ ] ;
34
34
/**
35
35
* List of repositories that are authorised to be pushed to through the proxy.
36
36
*/
@@ -145,7 +145,7 @@ export interface Ls {
145
145
/**
146
146
* Configuration for an authentication source
147
147
*/
148
- export interface Authentication {
148
+ export interface AuthenticationElement {
149
149
enabled : boolean ;
150
150
type : Type ;
151
151
/**
@@ -501,10 +501,14 @@ const typeMap: any = {
501
501
{
502
502
json : 'apiAuthentication' ,
503
503
js : 'apiAuthentication' ,
504
- typ : u ( undefined , a ( r ( 'Authentication ' ) ) ) ,
504
+ typ : u ( undefined , a ( r ( 'AuthenticationElement ' ) ) ) ,
505
505
} ,
506
506
{ json : 'attestationConfig' , js : 'attestationConfig' , typ : u ( undefined , m ( 'any' ) ) } ,
507
- { json : 'authentication' , js : 'authentication' , typ : u ( undefined , a ( r ( 'Authentication' ) ) ) } ,
507
+ {
508
+ json : 'authentication' ,
509
+ js : 'authentication' ,
510
+ typ : u ( undefined , a ( r ( 'AuthenticationElement' ) ) ) ,
511
+ } ,
508
512
{ json : 'authorisedList' , js : 'authorisedList' , typ : u ( undefined , a ( r ( 'AuthorisedRepo' ) ) ) } ,
509
513
{ json : 'commitConfig' , js : 'commitConfig' , typ : u ( undefined , m ( 'any' ) ) } ,
510
514
{ json : 'configurationSources' , js : 'configurationSources' , typ : u ( undefined , 'any' ) } ,
@@ -536,7 +540,7 @@ const typeMap: any = {
536
540
) ,
537
541
Github : o ( [ { json : 'baseUrl' , js : 'baseUrl' , typ : u ( undefined , '' ) } ] , 'any' ) ,
538
542
Ls : o ( [ { json : 'userInADGroup' , js : 'userInADGroup' , typ : u ( undefined , '' ) } ] , 'any' ) ,
539
- Authentication : o (
543
+ AuthenticationElement : o (
540
544
[
541
545
{ json : 'enabled' , js : 'enabled' , typ : true } ,
542
546
{ json : 'type' , js : 'type' , typ : r ( 'Type' ) } ,
0 commit comments