Skip to content

Commit

Permalink
Fix acl type declarations to match implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Curtis Eppel committed Nov 3, 2020
1 parent 81d04bc commit 8b4c287
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ export interface AclResource {
export type AclEntry = Acl & AclResource

export type DescribeAclResource = AclResource & {
acls: Acl[]
acl: Acl[]
}

export interface DescribeAclResponse {
Expand Down Expand Up @@ -454,7 +454,7 @@ export type Admin = {
describeGroups(groupIds: string[]): Promise<GroupDescriptions>
describeAcls(options: AclFilter): Promise<DescribeAclResponse>
deleteAcls(options: { filters: AclFilter[] }): Promise<DeleteAclResponse>
createAcls(options: { acls: AclEntry[] }): Promise<boolean>
createAcls(options: { acl: AclEntry[] }): Promise<boolean>
deleteTopicRecords(options: { topic: string; partitions: SeekEntry[] }): Promise<void>
logger(): Logger
on(
Expand Down

0 comments on commit 8b4c287

Please sign in to comment.