@@ -21,7 +21,7 @@ export interface GitProxyConfig {
2121 * List of authentication sources for API endpoints. May be empty, in which case all
2222 * endpoints are public.
2323 */
24- apiAuthentication ?: Authentication [ ] ;
24+ apiAuthentication ?: AuthenticationElement [ ] ;
2525 /**
2626 * Customisable questions to add to attestation form
2727 */
@@ -30,7 +30,7 @@ export interface GitProxyConfig {
3030 * List of authentication sources. The first source in the configuration with enabled=true
3131 * will be used.
3232 */
33- authentication ?: Authentication [ ] ;
33+ authentication ?: AuthenticationElement [ ] ;
3434 /**
3535 * List of repositories that are authorised to be pushed to through the proxy.
3636 */
@@ -145,7 +145,7 @@ export interface Ls {
145145/**
146146 * Configuration for an authentication source
147147 */
148- export interface Authentication {
148+ export interface AuthenticationElement {
149149 enabled : boolean ;
150150 type : Type ;
151151 /**
@@ -501,10 +501,14 @@ const typeMap: any = {
501501 {
502502 json : 'apiAuthentication' ,
503503 js : 'apiAuthentication' ,
504- typ : u ( undefined , a ( r ( 'Authentication ' ) ) ) ,
504+ typ : u ( undefined , a ( r ( 'AuthenticationElement ' ) ) ) ,
505505 } ,
506506 { 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+ } ,
508512 { json : 'authorisedList' , js : 'authorisedList' , typ : u ( undefined , a ( r ( 'AuthorisedRepo' ) ) ) } ,
509513 { json : 'commitConfig' , js : 'commitConfig' , typ : u ( undefined , m ( 'any' ) ) } ,
510514 { json : 'configurationSources' , js : 'configurationSources' , typ : u ( undefined , 'any' ) } ,
@@ -536,7 +540,7 @@ const typeMap: any = {
536540 ) ,
537541 Github : o ( [ { json : 'baseUrl' , js : 'baseUrl' , typ : u ( undefined , '' ) } ] , 'any' ) ,
538542 Ls : o ( [ { json : 'userInADGroup' , js : 'userInADGroup' , typ : u ( undefined , '' ) } ] , 'any' ) ,
539- Authentication : o (
543+ AuthenticationElement : o (
540544 [
541545 { json : 'enabled' , js : 'enabled' , typ : true } ,
542546 { json : 'type' , js : 'type' , typ : r ( 'Type' ) } ,
0 commit comments