@crowdstrike/logscale-parser-edit 1.178.0--build-2867--sha-347a488824a180dc6bb84c43e7d33723b917f17b → 1.185.0--build-3180--sha-cc1dd9c143676c18cc3430e4dc1450d683e16cfb

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
@@ -92,9 +92,15 @@ export declare interface Options extends CommonOptions {
92
92
  languageVersion?: string;
93
93
  /** Name of the repository containing the parser to be edited. */
94
94
  repoName: string;
95
- /** ID of the parser to be edited. Overrides the `script` field if it is provided. */
95
+ /** ID of an existing parser to edit.
96
+ * If provided, this takes precedence over `yamlTemplate`.
97
+ * At least one of `parserId` or `yamlTemplate` must be included in the options.
98
+ */
96
99
  parserId?: string;
97
- /** Makes the editor display a parser described by a YAML template. This field is ignored if `parserId` is provided. */
100
+ /** Makes the editor display a parser described by a YAML template.
101
+ * Only used if `parserId` is not provided.
102
+ * At least one of `parserId` or `yamlTemplate` must be included in the options.
103
+ */
98
104
  yamlTemplate?: string;
99
105
  /** Whether the parser should be read-only or editable. Defaults to false (meaning it's editable).
100
106
  * Note that if the parser is built-in, then it will be read-only regardless of this value.