From 8c39239c8f743a37137781bc50f827126bcaa76d Mon Sep 17 00:00:00 2001 From: Eli Perelman Date: Thu, 12 Dec 2019 17:37:30 -0600 Subject: [PATCH] Revise docs --- .../core/server/kibana-plugin-server.cspconfig.header.md | 2 +- .../core/server/kibana-plugin-server.cspconfig.rules.md | 2 +- .../core/server/kibana-plugin-server.cspconfig.strict.md | 2 +- .../kibana-plugin-server.cspconfig.warnlegacybrowsers.md | 2 +- src/core/server/server.api.md | 8 ++++---- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/development/core/server/kibana-plugin-server.cspconfig.header.md b/docs/development/core/server/kibana-plugin-server.cspconfig.header.md index 034bab4e707829b..4b188490d3bb065 100644 --- a/docs/development/core/server/kibana-plugin-server.cspconfig.header.md +++ b/docs/development/core/server/kibana-plugin-server.cspconfig.header.md @@ -9,5 +9,5 @@ The CSP rules in a formatted directives string for use in a `Content-Security-Po Signature: ```typescript -header: string; +readonly header: string; ``` diff --git a/docs/development/core/server/kibana-plugin-server.cspconfig.rules.md b/docs/development/core/server/kibana-plugin-server.cspconfig.rules.md index e1c10e56db3e71b..02190c943b602ee 100644 --- a/docs/development/core/server/kibana-plugin-server.cspconfig.rules.md +++ b/docs/development/core/server/kibana-plugin-server.cspconfig.rules.md @@ -9,5 +9,5 @@ The CSP rules used for Kibana. Signature: ```typescript -rules: string[]; +readonly rules: string[]; ``` diff --git a/docs/development/core/server/kibana-plugin-server.cspconfig.strict.md b/docs/development/core/server/kibana-plugin-server.cspconfig.strict.md index 5334e53ba07ff04..5592ccfe8386cfe 100644 --- a/docs/development/core/server/kibana-plugin-server.cspconfig.strict.md +++ b/docs/development/core/server/kibana-plugin-server.cspconfig.strict.md @@ -9,5 +9,5 @@ Specify whether browsers that do not support CSP should be able to use Kibana. U Signature: ```typescript -strict: boolean; +readonly strict: boolean; ``` diff --git a/docs/development/core/server/kibana-plugin-server.cspconfig.warnlegacybrowsers.md b/docs/development/core/server/kibana-plugin-server.cspconfig.warnlegacybrowsers.md index 67247a3697feaf1..8b29f6258f4dffc 100644 --- a/docs/development/core/server/kibana-plugin-server.cspconfig.warnlegacybrowsers.md +++ b/docs/development/core/server/kibana-plugin-server.cspconfig.warnlegacybrowsers.md @@ -9,5 +9,5 @@ Specify whether users with legacy browsers should be warned about their lack of Signature: ```typescript -warnLegacyBrowsers: boolean; +readonly warnLegacyBrowsers: boolean; ``` diff --git a/src/core/server/server.api.md b/src/core/server/server.api.md index d8afaf43f5e44c8..8be49dff6429c88 100644 --- a/src/core/server/server.api.md +++ b/src/core/server/server.api.md @@ -558,10 +558,10 @@ export interface CoreStart { export class CspConfig { // Warning: (ae-forgotten-export) The symbol "CspConfigType" needs to be exported by the entry point index.d.ts constructor(rawCspConfig?: Partial); - header: string; - rules: string[]; - strict: boolean; - warnLegacyBrowsers: boolean; + readonly header: string; + readonly rules: string[]; + readonly strict: boolean; + readonly warnLegacyBrowsers: boolean; } // @public