Rename files/classes to their exported name
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user