@crowdstrike/logscale-parser-edit 1.167.0--build-2329--sha-8d74c3cdbfe862a0ace3618e793bc85532a81a1c → 1.169.0--build-2404--sha-c1313df61b55674b4d263e00305e27069a8eab74

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 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.