Skip to content

Commit 17b22c4

Browse files
authored
Change Indices -> IndexName[] (#3016)
1 parent 2ff2de9 commit 17b22c4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

specification/security/_types/Privileges.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
import { Dictionary } from '@spec_utils/Dictionary'
2121
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
22-
import { Id, Indices, Names } from '@_types/common'
22+
import { Id, IndexName, Names } from '@_types/common'
2323
import { QueryContainer } from '@_types/query_dsl/abstractions'
2424
import { ScriptLanguage } from '@_types/Scripting'
2525
import { FieldSecurity } from './FieldSecurity'
@@ -204,7 +204,7 @@ export class IndicesPrivileges {
204204
/**
205205
* A list of indices (or index name patterns) to which the permissions in this entry apply.
206206
*/
207-
names: Indices
207+
names: IndexName[]
208208
/**
209209
* The index level privileges that owners of the role have on the specified indices.
210210
*/
@@ -235,7 +235,7 @@ export class RemoteIndicesPrivileges {
235235
/**
236236
* A list of indices (or index name patterns) to which the permissions in this entry apply.
237237
*/
238-
names: Indices
238+
names: IndexName[]
239239
/**
240240
* The index level privileges that owners of the role have on the specified indices.
241241
*/
@@ -261,7 +261,7 @@ export class UserIndicesPrivileges {
261261
/**
262262
* A list of indices (or index name patterns) to which the permissions in this entry apply.
263263
*/
264-
names: Indices
264+
names: IndexName[]
265265
/**
266266
* The index level privileges that owners of the role have on the specified indices.
267267
*/

specification/security/get_builtin_privileges/SecurityGetBuiltinPrivilegesResponse.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
* under the License.
1818
*/
1919

20-
import { Indices } from '@_types/common'
20+
import { IndexName } from '@_types/common'
2121

2222
export class Response {
23-
body: { cluster: string[]; index: Indices }
23+
body: { cluster: string[]; index: IndexName[] }
2424
}

0 commit comments

Comments
 (0)