Skip to content

Commit

Permalink
More lint fixing shenanigans
Browse files Browse the repository at this point in the history
  • Loading branch information
brianc committed Feb 26, 2024
1 parent 889b728 commit 8432c13
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions packages/pg-protocol/src/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export class CopyDataMessage {
constructor(
public readonly length: number,
public readonly chunk: Buffer
) { }
) {}
}

export class CopyResponse {
Expand All @@ -149,7 +149,7 @@ export class Field {
public readonly dataTypeSize: number,
public readonly dataTypeModifier: number,
public readonly format: Mode
) { }
) {}
}

export class RowDescriptionMessage {
Expand Down Expand Up @@ -180,15 +180,15 @@ export class ParameterStatusMessage {
public readonly length: number,
public readonly parameterName: string,
public readonly parameterValue: string
) { }
) {}
}

export class AuthenticationMD5Password implements BackendMessage {
public readonly name: MessageName = 'authenticationMD5Password'
constructor(
public readonly length: number,
public readonly salt: Buffer
) { }
) {}
}

export class BackendKeyDataMessage {
Expand All @@ -197,7 +197,7 @@ export class BackendKeyDataMessage {
public readonly length: number,
public readonly processID: number,
public readonly secretKey: number
) { }
) {}
}

export class NotificationResponseMessage {
Expand All @@ -207,23 +207,23 @@ export class NotificationResponseMessage {
public readonly processId: number,
public readonly channel: string,
public readonly payload: string
) { }
) {}
}

export class ReadyForQueryMessage {
public readonly name: MessageName = 'readyForQuery'
constructor(
public readonly length: number,
public readonly status: string
) { }
) {}
}

export class CommandCompleteMessage {
public readonly name: MessageName = 'commandComplete'
constructor(
public readonly length: number,
public readonly text: string
) { }
) {}
}

export class DataRowMessage {
Expand All @@ -241,7 +241,7 @@ export class NoticeMessage implements BackendMessage, NoticeOrError {
constructor(
public readonly length: number,
public readonly message: string | undefined
) { }
) {}
public readonly name = 'notice'
public severity: string | undefined
public code: string | undefined
Expand Down

0 comments on commit 8432c13

Please sign in to comment.