Skip to content

Commit c14e92c

Browse files
chore: further harmonisation with old code
1 parent c531a17 commit c14e92c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/common/connectionManager.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ export interface AtlasClusterConnectionInfo {
1717
expiryDate: Date;
1818
}
1919

20-
type ConnectionTag = "connected" | "connecting" | "disconnected" | "errored";
21-
export type OIDCConnectionAuthType = "oidc-auth-flow" | "oidc-device-flow";
22-
export type ConnectionStringAuthType = "scram" | "ldap" | "kerberos" | OIDCConnectionAuthType | "x.509";
23-
2420
export interface ConnectionState {
2521
tag: ConnectionTag;
2622
connectionStringAuthType?: ConnectionStringAuthType;
2723
connectedAtlasCluster?: AtlasClusterConnectionInfo;
2824
}
2925

26+
type ConnectionTag = "connected" | "connecting" | "disconnected" | "errored";
27+
type OIDCConnectionAuthType = "oidc-auth-flow" | "oidc-device-flow";
28+
export type ConnectionStringAuthType = "scram" | "ldap" | "kerberos" | OIDCConnectionAuthType | "x.509";
29+
3030
export interface ConnectionStateConnected extends ConnectionState {
3131
tag: "connected";
3232
serviceProvider: NodeDriverServiceProvider;

src/transports/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export abstract class TransportRunnerBase {
1919
public logger: LoggerBase;
2020
public deviceId: DeviceId;
2121

22-
constructor(
22+
protected constructor(
2323
protected readonly userConfig: UserConfig,
2424
private readonly createConnectionManager: CreateConnectionManagerFn,
2525
additionalLoggers: LoggerBase[]

0 commit comments

Comments
 (0)