@@ -53,10 +53,6 @@ export interface GitProxyConfig {
5353 * Provide domains to use alternative to the defaults
5454 */
5555 domains ?: { [ key : string ] : any } ;
56- /**
57- * Limits for git operations such as maximum pack size
58- */
59- limits ?: Limits ;
6056 /**
6157 * List of plugins to integrate on GitProxy's push or pull actions. Each value is either a
6258 * file path or a module name.
@@ -152,17 +148,6 @@ export interface Gitleaks {
152148 [ property : string ] : any ;
153149}
154150
155- /**
156- * Limits for git operations
157- */
158- export interface Limits {
159- /**
160- * Maximum allowed size of git packfiles in bytes
161- */
162- maxPackSizeBytes ?: number ;
163- [ property : string ] : any ;
164- }
165-
166151/**
167152 * Configuration used in conjunction with ActiveDirectory auth, which relates to a REST API
168153 * used to check user group membership, as opposed to direct querying via LDAP.<br />If this
@@ -330,10 +315,6 @@ export interface SSH {
330315 * Port for SSH proxy server to listen on
331316 */
332317 port ?: number ;
333- /**
334- * Credentials used when cloning repositories for SSH-originated pushes
335- */
336- clone ?: SSHClone ;
337318 [ property : string ] : any ;
338319}
339320
@@ -352,23 +333,6 @@ export interface HostKey {
352333 [ property : string ] : any ;
353334}
354335
355- /**
356- * Configuration for cloning repositories during SSH pushes
357- */
358- export interface SSHClone {
359- serviceToken ?: ServiceToken ;
360- [ property : string ] : any ;
361- }
362-
363- /**
364- * Basic authentication credentials used for cloning operations
365- */
366- export interface ServiceToken {
367- username ?: string ;
368- password ?: string ;
369- [ property : string ] : any ;
370- }
371-
372336/**
373337 * Toggle the generation of temporary password for git-proxy admin user
374338 */
@@ -610,7 +574,6 @@ const typeMap: any = {
610574 { json : 'cookieSecret' , js : 'cookieSecret' , typ : u ( undefined , '' ) } ,
611575 { json : 'csrfProtection' , js : 'csrfProtection' , typ : u ( undefined , true ) } ,
612576 { json : 'domains' , js : 'domains' , typ : u ( undefined , m ( 'any' ) ) } ,
613- { json : 'limits' , js : 'limits' , typ : u ( undefined , r ( 'Limits' ) ) } ,
614577 { json : 'plugins' , js : 'plugins' , typ : u ( undefined , a ( '' ) ) } ,
615578 { json : 'privateOrganizations' , js : 'privateOrganizations' , typ : u ( undefined , a ( 'any' ) ) } ,
616579 { json : 'proxyUrl' , js : 'proxyUrl' , typ : u ( undefined , '' ) } ,
@@ -645,7 +608,6 @@ const typeMap: any = {
645608 ] ,
646609 'any' ,
647610 ) ,
648- Limits : o ( [ { json : 'maxPackSizeBytes' , js : 'maxPackSizeBytes' , typ : u ( undefined , 3.14 ) } ] , 'any' ) ,
649611 Ls : o ( [ { json : 'userInADGroup' , js : 'userInADGroup' , typ : u ( undefined , '' ) } ] , false ) ,
650612 AuthenticationElement : o (
651613 [
@@ -718,7 +680,6 @@ const typeMap: any = {
718680 { json : 'enabled' , js : 'enabled' , typ : true } ,
719681 { json : 'hostKey' , js : 'hostKey' , typ : u ( undefined , r ( 'HostKey' ) ) } ,
720682 { json : 'port' , js : 'port' , typ : u ( undefined , 3.14 ) } ,
721- { json : 'clone' , js : 'clone' , typ : u ( undefined , r ( 'SSHClone' ) ) } ,
722683 ] ,
723684 'any' ,
724685 ) ,
@@ -729,17 +690,6 @@ const typeMap: any = {
729690 ] ,
730691 'any' ,
731692 ) ,
732- SSHClone : o (
733- [ { json : 'serviceToken' , js : 'serviceToken' , typ : u ( undefined , r ( 'ServiceToken' ) ) } ] ,
734- 'any' ,
735- ) ,
736- ServiceToken : o (
737- [
738- { json : 'username' , js : 'username' , typ : u ( undefined , '' ) } ,
739- { json : 'password' , js : 'password' , typ : u ( undefined , '' ) } ,
740- ] ,
741- 'any' ,
742- ) ,
743693 TempPassword : o (
744694 [
745695 { json : 'emailConfig' , js : 'emailConfig' , typ : u ( undefined , m ( 'any' ) ) } ,
0 commit comments