@crowdstrike/logscale-parser-edit 1.178.0--build-2867--sha-347a488824a180dc6bb84c43e7d33723b917f17b → 1.183.2--build-3425--sha-e63b8ca6ff6f0521939a40f99986f040ef0931b5
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 +8 -2
- package/index.js +500 -496
- package/index.js.map +2 -2
- package/package.json +1 -1
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
|
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.
|
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.
|