Skip to content

Commit

Permalink
Rename QueryInterfaceInformation to QueryInterfaceTemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
gartens committed Jul 29, 2024
1 parent baaeb5e commit 66bbc78
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/app/services/crud.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import {
import {ForeignKey, Uml} from '../views/uml/uml.model';
import {Validators} from '@angular/forms';
import {AdapterModel} from '../views/adapters/adapter.model';
import {QueryInterface, QueryInterfaceInformation} from '../views/query-interfaces/query-interfaces.model';
import {QueryInterface, QueryInterfaceTemplate} from '../views/query-interfaces/query-interfaces.model';
import {AlgNodeModel, Node} from '../views/querying/algebra/algebra.model';
import {WebSocket} from './webSocket';
import {Observable} from 'rxjs';
Expand Down Expand Up @@ -559,7 +559,7 @@ export class CrudService {
}

getAvailableQueryInterfaces() {
return this._http.get<QueryInterfaceInformation[]>(`${this.httpUrl}/getAvailableQueryInterfaces`);
return this._http.get<QueryInterfaceTemplate[]>(`${this.httpUrl}/getAvailableQueryInterfaces`);
}

createQueryInterface(request: any) {
Expand Down
8 changes: 4 additions & 4 deletions src/app/views/query-interfaces/query-interfaces.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {ToasterService} from '../../components/toast-exposer/toaster.service';
import {RelationalResult} from '../../components/data-view/models/result-set.model';
import {
QueryInterface,
QueryInterfaceInformation,
QueryInterfaceTemplate,
QueryInterfaceCreateRequest,
QueryInterfaceSetting
} from './query-interfaces.model';
Expand All @@ -28,7 +28,7 @@ export class QueryInterfacesComponent implements OnInit, OnDestroy {
private readonly _sidebar = inject(LeftSidebarService);

queryInterfaces: QueryInterface[];
availableQueryInterfaces: QueryInterfaceInformation[];
availableQueryInterfaces: QueryInterfaceTemplate[];
route: String;
routeListener;
private subscriptions = new Subscription();
Expand All @@ -37,7 +37,7 @@ export class QueryInterfacesComponent implements OnInit, OnDestroy {
editingQIForm: UntypedFormGroup;
deletingQI;

editingAvailableQI: QueryInterfaceInformation;
editingAvailableQI: QueryInterfaceTemplate;
editingAvailableQIForm: UntypedFormGroup;
availableQIUniqueNameForm: UntypedFormGroup;

Expand Down Expand Up @@ -143,7 +143,7 @@ export class QueryInterfacesComponent implements OnInit, OnDestroy {
});
}

initAvailableQISettings(availableQI: QueryInterfaceInformation) {
initAvailableQISettings(availableQI: QueryInterfaceTemplate) {
this.editingAvailableQI = availableQI;
const fc = {};
for (const [k, v] of Object.entries(this.editingAvailableQI.availableSettings)) {
Expand Down
2 changes: 1 addition & 1 deletion src/app/views/query-interfaces/query-interfaces.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export interface QueryInterface {
currentSettings: Map<string, string>;
}

export interface QueryInterfaceInformation {
export interface QueryInterfaceTemplate {
interfaceType: string;
description: string;
availableSettings: QueryInterfaceSetting[];
Expand Down

0 comments on commit 66bbc78

Please sign in to comment.