Skip to content

Commit

Permalink
Change Indices -> IndexName[] (#3016)
Browse files Browse the repository at this point in the history
  • Loading branch information
flobernd authored Oct 14, 2024
1 parent 2ff2de9 commit 17b22c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions specification/security/_types/Privileges.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import { Dictionary } from '@spec_utils/Dictionary'
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
import { Id, Indices, Names } from '@_types/common'
import { Id, IndexName, Names } from '@_types/common'
import { QueryContainer } from '@_types/query_dsl/abstractions'
import { ScriptLanguage } from '@_types/Scripting'
import { FieldSecurity } from './FieldSecurity'
Expand Down Expand Up @@ -204,7 +204,7 @@ export class IndicesPrivileges {
/**
* A list of indices (or index name patterns) to which the permissions in this entry apply.
*/
names: Indices
names: IndexName[]
/**
* The index level privileges that owners of the role have on the specified indices.
*/
Expand Down Expand Up @@ -235,7 +235,7 @@ export class RemoteIndicesPrivileges {
/**
* A list of indices (or index name patterns) to which the permissions in this entry apply.
*/
names: Indices
names: IndexName[]
/**
* The index level privileges that owners of the role have on the specified indices.
*/
Expand All @@ -261,7 +261,7 @@ export class UserIndicesPrivileges {
/**
* A list of indices (or index name patterns) to which the permissions in this entry apply.
*/
names: Indices
names: IndexName[]
/**
* The index level privileges that owners of the role have on the specified indices.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* under the License.
*/

import { Indices } from '@_types/common'
import { IndexName } from '@_types/common'

export class Response {
body: { cluster: string[]; index: Indices }
body: { cluster: string[]; index: IndexName[] }
}

0 comments on commit 17b22c4

Please sign in to comment.