mirror of
https://github.com/valitydev/control-center.git
synced 2024-11-06 02:25:17 +00:00
Bump codegen with error handling (#190)
This commit is contained in:
parent
0c17dbaaf3
commit
0e2f237238
42
package-lock.json
generated
42
package-lock.json
generated
@ -28,13 +28,13 @@
|
||||
"@s-libs/micro-dash": "15.0.0",
|
||||
"@s-libs/ng-core": "15.0.0",
|
||||
"@s-libs/rxjs-core": "15.0.0",
|
||||
"@vality/deanonimus-proto": "2.0.1-03a2143.0",
|
||||
"@vality/deanonimus-proto": "2.0.1-2a3d5ad.0",
|
||||
"@vality/domain-proto": "2.0.1-7218614.0",
|
||||
"@vality/dominant-cache-proto": "2.0.1-9001474.0",
|
||||
"@vality/dominant-cache-proto": "2.0.1-99f38c9.0",
|
||||
"@vality/fistful-proto": "2.0.1-c214aba.0",
|
||||
"@vality/magista-proto": "2.0.1-cf0eff8.0",
|
||||
"@vality/payout-manager-proto": "2.0.1-b079679.0",
|
||||
"@vality/repairer-proto": "2.0.1-7df4489.0",
|
||||
"@vality/repairer-proto": "2.0.1-8f7973d.0",
|
||||
"@vality/thrift-ts": "2.4.1-8ad5123.0",
|
||||
"@vality/woody": "0.1.1",
|
||||
"angular2-prettyjson": "3.0.1",
|
||||
@ -5149,9 +5149,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@vality/deanonimus-proto": {
|
||||
"version": "2.0.1-03a2143.0",
|
||||
"resolved": "https://registry.npmjs.org/@vality/deanonimus-proto/-/deanonimus-proto-2.0.1-03a2143.0.tgz",
|
||||
"integrity": "sha512-OxpgOL1mJxjx4AMCs1332GVKaHhgZ2o+0uY/twLXBhZiB8h4DVpb/R4cgynN3AxUi1t4kE9k93BYbx3t7r1DVQ=="
|
||||
"version": "2.0.1-2a3d5ad.0",
|
||||
"resolved": "https://registry.npmjs.org/@vality/deanonimus-proto/-/deanonimus-proto-2.0.1-2a3d5ad.0.tgz",
|
||||
"integrity": "sha512-p/kR6o1mTWatvzpltDbSzJjRiA75ph8N5CZm5FTa+5ZgGer9pSN4sZhRGJj/iIfZkXZuVNZp9kisS+4+QKx13A=="
|
||||
},
|
||||
"node_modules/@vality/domain-proto": {
|
||||
"version": "2.0.1-7218614.0",
|
||||
@ -5159,9 +5159,9 @@
|
||||
"integrity": "sha512-N3NBlzW7ooTElkKfd/xJuChXxiA50ad4hQzOXi+kT46OxV4dhco/Jc9Rzf0OZPj9tE36vCzwqvAeaCENORBUgw=="
|
||||
},
|
||||
"node_modules/@vality/dominant-cache-proto": {
|
||||
"version": "2.0.1-9001474.0",
|
||||
"resolved": "https://registry.npmjs.org/@vality/dominant-cache-proto/-/dominant-cache-proto-2.0.1-9001474.0.tgz",
|
||||
"integrity": "sha512-QBRGI45jciKII9sEefzoULyAWXmTnLIetdaLu1s1B5UK2DVd3ju5TSqYCwTVxInt+jZ7Q8ACTb3pYHDuDI5uig=="
|
||||
"version": "2.0.1-99f38c9.0",
|
||||
"resolved": "https://registry.npmjs.org/@vality/dominant-cache-proto/-/dominant-cache-proto-2.0.1-99f38c9.0.tgz",
|
||||
"integrity": "sha512-8cVI0giJwXxj4KBG4sAvZ6TrnwlWNKCRQVghufsJOoW1B+z1QbyfoAKZe2WTtrod2jRxbhOWQ9ebv0wxRx4Pog=="
|
||||
},
|
||||
"node_modules/@vality/fistful-proto": {
|
||||
"version": "2.0.1-c214aba.0",
|
||||
@ -5179,9 +5179,9 @@
|
||||
"integrity": "sha512-KcojE7liP3rhPounDpmzWAcKwGyqTNaYWg8Bn3NB1bERTxVbzelvcBVt49PvueJsDQRXhGg/6jBoYMD+9iES+g=="
|
||||
},
|
||||
"node_modules/@vality/repairer-proto": {
|
||||
"version": "2.0.1-7df4489.0",
|
||||
"resolved": "https://registry.npmjs.org/@vality/repairer-proto/-/repairer-proto-2.0.1-7df4489.0.tgz",
|
||||
"integrity": "sha512-foKQSvP8LjIaPxevcHT5/rI9HimbpJiHjURAxo7gDGQ8lC7HamLhAvLqgvNz6dpIX+pPmQDf8HJRgstaqH0WHA=="
|
||||
"version": "2.0.1-8f7973d.0",
|
||||
"resolved": "https://registry.npmjs.org/@vality/repairer-proto/-/repairer-proto-2.0.1-8f7973d.0.tgz",
|
||||
"integrity": "sha512-9/xlI6Q3yP0UUtcP5RGmy9H1lMzC/kNOlJCpoW7vNVtPbnHIwRLSOIL63+aGaNCCqlzeZPky7o57c1D3El05kQ=="
|
||||
},
|
||||
"node_modules/@vality/thrift-ts": {
|
||||
"version": "2.4.1-8ad5123.0",
|
||||
@ -22847,9 +22847,9 @@
|
||||
}
|
||||
},
|
||||
"@vality/deanonimus-proto": {
|
||||
"version": "2.0.1-03a2143.0",
|
||||
"resolved": "https://registry.npmjs.org/@vality/deanonimus-proto/-/deanonimus-proto-2.0.1-03a2143.0.tgz",
|
||||
"integrity": "sha512-OxpgOL1mJxjx4AMCs1332GVKaHhgZ2o+0uY/twLXBhZiB8h4DVpb/R4cgynN3AxUi1t4kE9k93BYbx3t7r1DVQ=="
|
||||
"version": "2.0.1-2a3d5ad.0",
|
||||
"resolved": "https://registry.npmjs.org/@vality/deanonimus-proto/-/deanonimus-proto-2.0.1-2a3d5ad.0.tgz",
|
||||
"integrity": "sha512-p/kR6o1mTWatvzpltDbSzJjRiA75ph8N5CZm5FTa+5ZgGer9pSN4sZhRGJj/iIfZkXZuVNZp9kisS+4+QKx13A=="
|
||||
},
|
||||
"@vality/domain-proto": {
|
||||
"version": "2.0.1-7218614.0",
|
||||
@ -22857,9 +22857,9 @@
|
||||
"integrity": "sha512-N3NBlzW7ooTElkKfd/xJuChXxiA50ad4hQzOXi+kT46OxV4dhco/Jc9Rzf0OZPj9tE36vCzwqvAeaCENORBUgw=="
|
||||
},
|
||||
"@vality/dominant-cache-proto": {
|
||||
"version": "2.0.1-9001474.0",
|
||||
"resolved": "https://registry.npmjs.org/@vality/dominant-cache-proto/-/dominant-cache-proto-2.0.1-9001474.0.tgz",
|
||||
"integrity": "sha512-QBRGI45jciKII9sEefzoULyAWXmTnLIetdaLu1s1B5UK2DVd3ju5TSqYCwTVxInt+jZ7Q8ACTb3pYHDuDI5uig=="
|
||||
"version": "2.0.1-99f38c9.0",
|
||||
"resolved": "https://registry.npmjs.org/@vality/dominant-cache-proto/-/dominant-cache-proto-2.0.1-99f38c9.0.tgz",
|
||||
"integrity": "sha512-8cVI0giJwXxj4KBG4sAvZ6TrnwlWNKCRQVghufsJOoW1B+z1QbyfoAKZe2WTtrod2jRxbhOWQ9ebv0wxRx4Pog=="
|
||||
},
|
||||
"@vality/fistful-proto": {
|
||||
"version": "2.0.1-c214aba.0",
|
||||
@ -22877,9 +22877,9 @@
|
||||
"integrity": "sha512-KcojE7liP3rhPounDpmzWAcKwGyqTNaYWg8Bn3NB1bERTxVbzelvcBVt49PvueJsDQRXhGg/6jBoYMD+9iES+g=="
|
||||
},
|
||||
"@vality/repairer-proto": {
|
||||
"version": "2.0.1-7df4489.0",
|
||||
"resolved": "https://registry.npmjs.org/@vality/repairer-proto/-/repairer-proto-2.0.1-7df4489.0.tgz",
|
||||
"integrity": "sha512-foKQSvP8LjIaPxevcHT5/rI9HimbpJiHjURAxo7gDGQ8lC7HamLhAvLqgvNz6dpIX+pPmQDf8HJRgstaqH0WHA=="
|
||||
"version": "2.0.1-8f7973d.0",
|
||||
"resolved": "https://registry.npmjs.org/@vality/repairer-proto/-/repairer-proto-2.0.1-8f7973d.0.tgz",
|
||||
"integrity": "sha512-9/xlI6Q3yP0UUtcP5RGmy9H1lMzC/kNOlJCpoW7vNVtPbnHIwRLSOIL63+aGaNCCqlzeZPky7o57c1D3El05kQ=="
|
||||
},
|
||||
"@vality/thrift-ts": {
|
||||
"version": "2.4.1-8ad5123.0",
|
||||
|
@ -42,13 +42,13 @@
|
||||
"@s-libs/micro-dash": "15.0.0",
|
||||
"@s-libs/ng-core": "15.0.0",
|
||||
"@s-libs/rxjs-core": "15.0.0",
|
||||
"@vality/deanonimus-proto": "2.0.1-03a2143.0",
|
||||
"@vality/deanonimus-proto": "2.0.1-2a3d5ad.0",
|
||||
"@vality/domain-proto": "2.0.1-7218614.0",
|
||||
"@vality/dominant-cache-proto": "2.0.1-9001474.0",
|
||||
"@vality/dominant-cache-proto": "2.0.1-99f38c9.0",
|
||||
"@vality/fistful-proto": "2.0.1-c214aba.0",
|
||||
"@vality/magista-proto": "2.0.1-cf0eff8.0",
|
||||
"@vality/payout-manager-proto": "2.0.1-b079679.0",
|
||||
"@vality/repairer-proto": "2.0.1-7df4489.0",
|
||||
"@vality/repairer-proto": "2.0.1-8f7973d.0",
|
||||
"@vality/thrift-ts": "2.4.1-8ad5123.0",
|
||||
"@vality/woody": "0.1.1",
|
||||
"angular2-prettyjson": "3.0.1",
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import {
|
||||
DeanonimusServiceCodegenClient,
|
||||
deanonimus_DeanonimusCodegenClient,
|
||||
ThriftAstMetadata,
|
||||
DeanonimusService as DeanonimusServiceCodegen,
|
||||
deanonimus_Deanonimus,
|
||||
} from '@vality/deanonimus-proto';
|
||||
import { SearchHit } from '@vality/deanonimus-proto/deanonimus';
|
||||
import { combineLatest, from, map, Observable, switchMap } from 'rxjs';
|
||||
@ -12,7 +12,7 @@ import { environment } from '@cc/environments/environment';
|
||||
|
||||
@Injectable({ providedIn: 'root' })
|
||||
export class DeanonimusService {
|
||||
private client$: Observable<DeanonimusServiceCodegenClient>;
|
||||
private client$: Observable<deanonimus_DeanonimusCodegenClient>;
|
||||
|
||||
constructor(private keycloakTokenInfoService: KeycloakTokenInfoService) {
|
||||
const headers$ = this.keycloakTokenInfoService.decoded$.pipe(
|
||||
@ -25,7 +25,7 @@ export class DeanonimusService {
|
||||
);
|
||||
this.client$ = combineLatest([metadata$, headers$]).pipe(
|
||||
switchMap(([metadata, headers]) =>
|
||||
DeanonimusServiceCodegen({
|
||||
deanonimus_Deanonimus({
|
||||
metadata,
|
||||
headers,
|
||||
logging: environment.logging.requests,
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import {
|
||||
ThriftAstMetadata,
|
||||
DominantCacheCodegenClient,
|
||||
DominantCache,
|
||||
dominant_cache_DominantCacheCodegenClient,
|
||||
dominant_cache_DominantCache,
|
||||
} from '@vality/dominant-cache-proto';
|
||||
import { Category, ContractTemplate } from '@vality/dominant-cache-proto/dominant_cache';
|
||||
import { combineLatest, from, map, Observable, switchMap } from 'rxjs';
|
||||
@ -12,7 +12,7 @@ import { environment } from '@cc/environments/environment';
|
||||
|
||||
@Injectable({ providedIn: 'root' })
|
||||
export class DominantCacheService {
|
||||
private client$: Observable<DominantCacheCodegenClient>;
|
||||
private client$: Observable<dominant_cache_DominantCacheCodegenClient>;
|
||||
|
||||
constructor(private keycloakTokenInfoService: KeycloakTokenInfoService) {
|
||||
const headers$ = this.keycloakTokenInfoService.decoded$.pipe(
|
||||
@ -25,7 +25,7 @@ export class DominantCacheService {
|
||||
);
|
||||
this.client$ = combineLatest([metadata$, headers$]).pipe(
|
||||
switchMap(([metadata, headers]) =>
|
||||
DominantCache({
|
||||
dominant_cache_DominantCache({
|
||||
metadata,
|
||||
headers,
|
||||
logging: environment.logging.requests,
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import {
|
||||
RepairManagement,
|
||||
repairer_RepairManagementCodegenClient,
|
||||
ThriftAstMetadata,
|
||||
RepairManagementCodegenClient,
|
||||
repairer_RepairManagement,
|
||||
} from '@vality/repairer-proto';
|
||||
import {
|
||||
SearchRequest,
|
||||
@ -18,7 +18,7 @@ import { environment } from '@cc/environments/environment';
|
||||
|
||||
@Injectable({ providedIn: 'root' })
|
||||
export class RepairManagementService {
|
||||
private client$: Observable<RepairManagementCodegenClient>;
|
||||
private client$: Observable<repairer_RepairManagementCodegenClient>;
|
||||
|
||||
constructor(private keycloakTokenInfoService: KeycloakTokenInfoService) {
|
||||
const headers$ = this.keycloakTokenInfoService.decoded$.pipe(
|
||||
@ -31,10 +31,11 @@ export class RepairManagementService {
|
||||
);
|
||||
this.client$ = combineLatest([metadata$, headers$]).pipe(
|
||||
switchMap(([metadata, headers]) =>
|
||||
RepairManagement({
|
||||
repairer_RepairManagement({
|
||||
metadata,
|
||||
headers,
|
||||
logging: environment.logging.requests,
|
||||
path: '/wachter',
|
||||
})
|
||||
)
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user