Skip to content

Commit a4528ad

Browse files
committed
Add comment about IndexName | IndexName[]
1 parent d6867a2 commit a4528ad

File tree

4 files changed

+24
-22
lines changed

4 files changed

+24
-22
lines changed

compiler/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"scripts": {
77
"lint": "ts-standard src",
88
"lint:fix": "ts-standard --fix src",
9-
"format:check": "prettier --config .prettierrc.json --check ../specification/",
10-
"format:fix": "prettier --config .prettierrc.json --write ../specification/",
9+
"format:check": "prettier --config .prettierrc.json --loglevel warn --check ../specification/",
10+
"format:fix": "prettier --config .prettierrc.json --loglevel warn --write ../specification/",
1111
"generate-schema": "ts-node src/index.ts",
1212
"transform-expand-generics": "ts-node src/transform/expand-generics.ts",
1313
"transform-to-openapi": "ts-node src/transform/schema-to-openapi.ts",

output/schema/schema-serverless.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/security/_types/Privileges.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ export class IndicesPrivileges {
220220
* @doc_id field-and-document-access-control
221221
*/
222222
field_security?: FieldSecurity
223+
// We're using IndexName | IndexName[] instead of Indices in this file on purpose:
224+
// https://github.com/elastic/elasticsearch-specification/pull/3127
223225
/**
224226
* A list of indices (or index name patterns) to which the permissions in this entry apply.
225227
*/

0 commit comments

Comments
 (0)