Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 5 additions & 25 deletions output/openapi/elasticsearch-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions output/openapi/elasticsearch-serverless-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 4 additions & 7 deletions output/schema/schema-serverless.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

55 changes: 20 additions & 35 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 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, IndexName, Names } from '@_types/common'
import { Id, Indices, 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: IndexName[]
names: Indices
/**
* 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: IndexName[]
names: Indices
/**
* 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: IndexName[]
names: Indices
/**
* The index level privileges that owners of the role have on the specified indices.
*/
Expand Down Expand Up @@ -381,7 +381,7 @@ export class ReplicationAccess {
/**
* A list of indices (or index name patterns) to which the permissions in this entry apply.
*/
names: IndexName[]
names: Indices
}

export class SearchAccess {
Expand All @@ -393,7 +393,7 @@ export class SearchAccess {
/**
* A list of indices (or index name patterns) to which the permissions in this entry apply.
*/
names: IndexName[]
names: Indices
/**
* A search query that defines the documents the owners of the role have access to. A document within the specified indices must match this query for it to be accessible by the owners of the role.
*/
Expand Down