@@ -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 */
@@ -165,7 +165,7 @@ export interface Ls {
165165/**
166166 * Configuration for an authentication source
167167 */
168- export interface Authentication {
168+ export interface AuthenticationElement {
169169 enabled : boolean ;
170170 type : Type ;
171171 /**
@@ -521,10 +521,14 @@ const typeMap: any = {
521521 {
522522 json : 'apiAuthentication' ,
523523 js : 'apiAuthentication' ,
524- typ : u ( undefined , a ( r ( 'Authentication ' ) ) ) ,
524+ typ : u ( undefined , a ( r ( 'AuthenticationElement ' ) ) ) ,
525525 } ,
526526 { json : 'attestationConfig' , js : 'attestationConfig' , typ : u ( undefined , m ( 'any' ) ) } ,
527- { json : 'authentication' , js : 'authentication' , typ : u ( undefined , a ( r ( 'Authentication' ) ) ) } ,
527+ {
528+ json : 'authentication' ,
529+ js : 'authentication' ,
530+ typ : u ( undefined , a ( r ( 'AuthenticationElement' ) ) ) ,
531+ } ,
528532 { json : 'authorisedList' , js : 'authorisedList' , typ : u ( undefined , a ( r ( 'AuthorisedRepo' ) ) ) } ,
529533 { json : 'commitConfig' , js : 'commitConfig' , typ : u ( undefined , m ( 'any' ) ) } ,
530534 { json : 'configurationSources' , js : 'configurationSources' , typ : u ( undefined , 'any' ) } ,
@@ -566,7 +570,7 @@ const typeMap: any = {
566570 'any' ,
567571 ) ,
568572 Ls : o ( [ { json : 'userInADGroup' , js : 'userInADGroup' , typ : u ( undefined , '' ) } ] , false ) ,
569- Authentication : o (
573+ AuthenticationElement : o (
570574 [
571575 { json : 'enabled' , js : 'enabled' , typ : true } ,
572576 { json : 'type' , js : 'type' , typ : r ( 'Type' ) } ,
0 commit comments