@@ -57,6 +57,8 @@ import { SCMService } from "@gitpod/public-api/lib/gitpod/v1/scm_connect";
57
57
import { SSHService } from "@gitpod/public-api/lib/gitpod/v1/ssh_connect" ;
58
58
import { PrebuildServiceAPI } from "./prebuild-service-api" ;
59
59
import { PrebuildService } from "@gitpod/public-api/lib/gitpod/v1/prebuild_connect" ;
60
+ import { VerificationServiceAPI } from "./verification-service-api" ;
61
+ import { VerificationService } from "@gitpod/public-api/lib/gitpod/v1/verification_connect" ;
60
62
61
63
decorate ( injectable ( ) , PublicAPIConverter ) ;
62
64
@@ -84,6 +86,7 @@ export class API {
84
86
@inject ( UserService ) private readonly userService : UserService ;
85
87
@inject ( BearerAuth ) private readonly bearerAuthenticator : BearerAuth ;
86
88
@inject ( PrebuildServiceAPI ) private readonly prebuildServiceApi : PrebuildServiceAPI ;
89
+ @inject ( VerificationServiceAPI ) private readonly verificationServiceApi : VerificationServiceAPI ;
87
90
88
91
listenPrivate ( ) : http . Server {
89
92
const app = express ( ) ;
@@ -133,6 +136,7 @@ export class API {
133
136
service ( SCMService , this . scmServiceAPI ) ,
134
137
service ( SSHService , this . sshServiceApi ) ,
135
138
service ( PrebuildService , this . prebuildServiceApi ) ,
139
+ service ( VerificationService , this . verificationServiceApi ) ,
136
140
] ) {
137
141
router . service ( type , new Proxy ( impl , this . interceptService ( type ) ) ) ;
138
142
}
@@ -387,6 +391,7 @@ export class API {
387
391
bind ( SSHServiceAPI ) . toSelf ( ) . inSingletonScope ( ) ;
388
392
bind ( StatsServiceAPI ) . toSelf ( ) . inSingletonScope ( ) ;
389
393
bind ( PrebuildServiceAPI ) . toSelf ( ) . inSingletonScope ( ) ;
394
+ bind ( VerificationServiceAPI ) . toSelf ( ) . inSingletonScope ( ) ;
390
395
bind ( API ) . toSelf ( ) . inSingletonScope ( ) ;
391
396
}
392
397
}
0 commit comments