Rename files/classes to their exported name

This commit is contained in:
Daniel Kluge
2023-11-23 13:27:13 +01:00
parent 376312aae6
commit 63c6ad2b49
4 changed files with 11 additions and 11 deletions
+7 -7
View File
@@ -1,7 +1,7 @@
import { types } from "@aas-core-works/aas-core3.0-typescript";
import type AASInterfaceServer from "./server";
import type AbstractInterfaceServer from "./abstractInterfaceServer";
import type { Request } from "./types/requests";
import type InterfaceConnectionObject from "interfaceConnectionObject";
import type AbstractConnectionObject from "./abstractConnectionObject";
import AIMCMapper from "./AIMCMapper";
import AIDParser from "./parser/AIDParser";
import { EndpointMetadata } from "types/aidConf";
@@ -12,18 +12,18 @@ type AASRegistration = {
}
type AASRegistrationPrepared = AASRegistration & {
serverInstances: AASInterfaceServer<any>[];
connectorInterfaces: InterfaceConnectionObject<any>[];
serverInstances: AbstractInterfaceServer<any>[];
connectorInterfaces: AbstractConnectionObject<any>[];
mappingConfiguration: AIMCMapper;
}
type ServerInterfaceEntry<ConfigInterface> = {
serverInterface: typeof AASInterfaceServer<ConfigInterface>,
serverInterface: typeof AbstractInterfaceServer<ConfigInterface>,
config: ConfigInterface
}
type InterfaceConnectionEntry<ConfigInterface> = {
interfaceConnection: typeof InterfaceConnectionObject<ConfigInterface>,
interfaceConnection: typeof AbstractConnectionObject<ConfigInterface>,
config: ConfigInterface
}
@@ -99,7 +99,7 @@ export default class MultiMessageBroker {
/**
* Prepare the broker.
* @remarks
* This will create instances of the {@link AASInterfaceServer} and {@link InterfaceConnectionObject} classes.
* This will create instances of the {@link AbstractInterfaceServer} and {@link AbstractConnectionObject} classes.
*/
public prepare(): void {
for (const registration of this.aasRegistrations) {