@crowdstrike/logscale-parser-edit 1.166.0--build-2302--sha-e0256f108bbf2b2f2498d2dea1715b22da337307 → 1.168.0--build-2354--sha-eab8d146258ac657acdba772904d4ccc443864bf
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +10 -0
- package/index.js +503 -517
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
@@ -100,6 +100,11 @@ export declare interface Options extends CommonOptions {
|
|
100
100
|
* Note that if the parser is built-in, then it will be read-only regardless of this value.
|
101
101
|
*/
|
102
102
|
readOnly?: boolean;
|
103
|
+
/** If true, tests will automatically be validated against the CPS schema and the user will not have an option
|
104
|
+
* for toggling usage. If set to false (default), the user will have to manually select whether they want to apply
|
105
|
+
* CPS validation.
|
106
|
+
*/
|
107
|
+
requireCpsValidation?: boolean;
|
103
108
|
}
|
104
109
|
|
105
110
|
/** LogScale Parser matching the schema https://schemas.humio.com/parser/v0.3.0
|
@@ -145,6 +150,11 @@ export declare class ParserEdit extends WebcomponentBase<Options> {
|
|
145
150
|
* @public
|
146
151
|
*/
|
147
152
|
setReadOnly(readOnly: boolean): void;
|
153
|
+
/** Changes the parser editor to always perform CPS validation (when given `true`) removing the `Use CPS` checkbox,
|
154
|
+
* or makes CPS validation toggleable if given `false`.
|
155
|
+
* @public
|
156
|
+
*/
|
157
|
+
setRequireCpsValidation(requireCpsValidation: boolean): void;
|
148
158
|
}
|
149
159
|
|
150
160
|
/** Base class for LogScale's webcomponents.
|