@grepr/cli 1.4.8-4a11a52 → 1.6.0-a4784d5
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/README.md +51 -19
- package/build/dist/commands/job-apply-command.d.ts +18 -0
- package/build/dist/commands/job-apply-command.d.ts.map +1 -0
- package/build/dist/commands/job-apply-command.js +103 -0
- package/build/dist/commands/job-apply-command.js.map +1 -0
- package/build/dist/commands/job-command.js +1 -1
- package/build/dist/commands/job-draft-command.d.ts +12 -0
- package/build/dist/commands/job-draft-command.d.ts.map +1 -0
- package/build/dist/commands/job-draft-command.js +205 -0
- package/build/dist/commands/job-draft-command.js.map +1 -0
- package/build/dist/commands/job-plan-command.d.ts +12 -0
- package/build/dist/commands/job-plan-command.d.ts.map +1 -0
- package/build/dist/commands/job-plan-command.js +51 -0
- package/build/dist/commands/job-plan-command.js.map +1 -0
- package/build/dist/grepr.js +7 -0
- package/build/dist/grepr.js.map +1 -1
- package/build/dist/lib/grepr-api-client.d.ts +14 -1
- package/build/dist/lib/grepr-api-client.d.ts.map +1 -1
- package/build/dist/lib/grepr-api-client.js +42 -4
- package/build/dist/lib/grepr-api-client.js.map +1 -1
- package/build/dist/lib/job-graph-log-pipeline-constants.d.ts +12 -0
- package/build/dist/lib/job-graph-log-pipeline-constants.d.ts.map +1 -0
- package/build/dist/lib/job-graph-log-pipeline-constants.js +16 -0
- package/build/dist/lib/job-graph-log-pipeline-constants.js.map +1 -0
- package/build/dist/lib/job-graph-transformer.d.ts +30 -0
- package/build/dist/lib/job-graph-transformer.d.ts.map +1 -1
- package/build/dist/lib/job-graph-transformer.js +271 -5
- package/build/dist/lib/job-graph-transformer.js.map +1 -1
- package/build/dist/lib/job-patch.d.ts +157 -0
- package/build/dist/lib/job-patch.d.ts.map +1 -0
- package/build/dist/lib/job-patch.js +1071 -0
- package/build/dist/lib/job-patch.js.map +1 -0
- package/build/dist/lib/job-plan.d.ts +40 -0
- package/build/dist/lib/job-plan.d.ts.map +1 -0
- package/build/dist/lib/job-plan.js +451 -0
- package/build/dist/lib/job-plan.js.map +1 -0
- package/build/dist/lib/option-parsers.d.ts +5 -0
- package/build/dist/lib/option-parsers.d.ts.map +1 -1
- package/build/dist/lib/option-parsers.js +7 -0
- package/build/dist/lib/option-parsers.js.map +1 -1
- package/build/dist/openapi/openApiTypes.d.ts +10 -0
- package/build/dist/openapi/openApiTypes.d.ts.map +1 -1
- package/build/dist/openapi/openApiTypes.js.map +1 -1
- package/build/dist/types.d.ts +34 -0
- package/build/dist/types.d.ts.map +1 -1
- package/build/dist/types.js.map +1 -1
- package/package.json +1 -1
|
@@ -10,4 +10,11 @@
|
|
|
10
10
|
export function parseIntArg(value) {
|
|
11
11
|
return parseInt(value, 10);
|
|
12
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* Float counterpart to {@link parseIntArg} for numeric options that accept a
|
|
15
|
+
* fractional value (e.g. a sub-1 messages-per-second sampler rate).
|
|
16
|
+
*/
|
|
17
|
+
export function parseFloatArg(value) {
|
|
18
|
+
return parseFloat(value);
|
|
19
|
+
}
|
|
13
20
|
//# sourceMappingURL=option-parsers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"option-parsers.js","sourceRoot":"","sources":["../../../src/main/typescript/lib/option-parsers.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;GAKG;AACH,MAAM,UAAU,WAAW,CAAC,KAAa;IACvC,OAAO,QAAQ,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;AAC7B,CAAC"}
|
|
1
|
+
{"version":3,"file":"option-parsers.js","sourceRoot":"","sources":["../../../src/main/typescript/lib/option-parsers.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;GAKG;AACH,MAAM,UAAU,WAAW,CAAC,KAAa;IACvC,OAAO,QAAQ,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;AAC7B,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,aAAa,CAAC,KAAa;IACzC,OAAO,UAAU,CAAC,KAAK,CAAC,CAAC;AAC3B,CAAC"}
|
|
@@ -3024,6 +3024,13 @@ export interface components {
|
|
|
3024
3024
|
Condition: {
|
|
3025
3025
|
actionRules: components["schemas"]["ActionRule"][];
|
|
3026
3026
|
};
|
|
3027
|
+
/** @description One conditional branch in the raw log if-else routing ladder. */
|
|
3028
|
+
ConditionalDataLakeConfig: {
|
|
3029
|
+
/** @description Target dataset ID for logs matching this branch's filter. */
|
|
3030
|
+
datasetId: string;
|
|
3031
|
+
filter: components["schemas"]["LogsFilter"];
|
|
3032
|
+
rawSinkConfig?: components["schemas"]["RawLogsSinkConfig"];
|
|
3033
|
+
};
|
|
3027
3034
|
ConsoleSetupInfo: {
|
|
3028
3035
|
/** @description The AWS account ID */
|
|
3029
3036
|
awsAccountId: string;
|
|
@@ -5023,6 +5030,8 @@ export interface components {
|
|
|
5023
5030
|
* @description Schema for the log reducer job graph.
|
|
5024
5031
|
*/
|
|
5025
5032
|
LogReducerTemplateInput: {
|
|
5033
|
+
/** @description Conditional routing of raw logs to datasets. Logs will match the filters in order, and once a log matches a filter, it will not attempt to match other filters in the list. If a log matches none of the filters, it is written to the default dataset. A default dataset must be set when conditional routing is configured. */
|
|
5034
|
+
conditionalDatasets?: components["schemas"]["ConditionalDataLakeConfig"][];
|
|
5026
5035
|
/** @description The unique identifier for the dataset. When absent, no raw logs will be stored. At least one of `datasetId` or `sinks` must be provided for non-draft pipelines. */
|
|
5027
5036
|
datasetId?: string;
|
|
5028
5037
|
/** @description A list of template-specific exceptions to apply in log reducer. */
|
|
@@ -9425,6 +9434,7 @@ export type SchemaCohortsConfig = components["schemas"]["CohortsConfig"];
|
|
|
9425
9434
|
export type SchemaCompleteSpan = components["schemas"]["CompleteSpan"];
|
|
9426
9435
|
export type SchemaCompositeAttributesMergeStrategy = components["schemas"]["CompositeAttributesMergeStrategy"];
|
|
9427
9436
|
export type SchemaCondition = components["schemas"]["Condition"];
|
|
9437
|
+
export type SchemaConditionalDataLakeConfig = components["schemas"]["ConditionalDataLakeConfig"];
|
|
9428
9438
|
export type SchemaConsoleSetupInfo = components["schemas"]["ConsoleSetupInfo"];
|
|
9429
9439
|
export type SchemaConstantSampling = components["schemas"]["ConstantSampling"];
|
|
9430
9440
|
export type SchemaCreateJob = components["schemas"]["CreateJob"];
|