Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions frontend/app/common/interfaces/xplane_diagnostics.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/**
* Interface for XPlane warnings.
*/
export interface XPlaneDiagnostic {
name: string;
severity: string;
text: string;
}
5 changes: 5 additions & 0 deletions frontend/app/services/data_service_v2/data_service_v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,11 @@ export class DataServiceV2 implements DataServiceV2Interface {
return of({info: [], warnings: [], errors: []});
}

getXPlaneDiagnostics(sessionId: string): Observable<Diagnostics> {
// Not implemented for 3P.
return of({info: [], warnings: [], errors: []});
}

getSearchParams(): URLSearchParams {
return new URLSearchParams(
window.sessionStorage.getItem('searchParams') || '',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ export interface DataServiceV2Interface {
sessionId: string,
host?: string,
): Observable<Diagnostics>;

getXPlaneDiagnostics(sessionId: string): Observable<Diagnostics>;

getOpProfileSummary(data: OpProfileData): OpProfileSummary[];
// TODO(b/429042977): Do not include Custom Call text for provenance nodes.
getCustomCallTextLink(
Expand Down