@grepr/cli 1.6.5-3542068 → 1.6.7-6789611
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/build/dist/lib/job-patch.d.ts +71 -0
- package/build/dist/lib/job-patch.d.ts.map +1 -1
- package/build/dist/lib/job-patch.js +459 -20
- package/build/dist/lib/job-patch.js.map +1 -1
- package/build/dist/openapi/openApiTypes.d.ts +96 -1
- package/build/dist/openapi/openApiTypes.d.ts.map +1 -1
- package/build/dist/openapi/openApiTypes.js +1 -0
- package/build/dist/openapi/openApiTypes.js.map +1 -1
- package/package.json +1 -1
|
@@ -108,6 +108,77 @@ export type JobPatchOp = {
|
|
|
108
108
|
op: 'set-raw-dataset';
|
|
109
109
|
/** New raw-logs dataset ID. Template: `input.datasetId` (and `rawSinkConfig.datasetId` when that override is set). Raw job-graph: `datasetId` on the raw data-lake `logs-iceberg-table-sink` (matched by name prefix). */
|
|
110
110
|
datasetId: string;
|
|
111
|
+
} | {
|
|
112
|
+
op: 'remove-message-attribute';
|
|
113
|
+
/** Dot-notation path to drop from the remapper's `messageReservedAttributes` (single-part) or `messageReservedAttributePaths` (multi-part). */
|
|
114
|
+
attributePath: string;
|
|
115
|
+
} | {
|
|
116
|
+
op: 'remove-group-by';
|
|
117
|
+
/** Dot-notation path to drop from the reducer's `partitionByAttributes` (single-part) or `partitionByAttributePaths` (multi-part). */
|
|
118
|
+
attributePath: string;
|
|
119
|
+
} | {
|
|
120
|
+
op: 'remove-aggregation-strategy';
|
|
121
|
+
/** Dot-notation path whose merge-strategy entries are dropped from `attributeMergeStrategyEntries`. */
|
|
122
|
+
attributePath: string;
|
|
123
|
+
/** Limits removal to these strategies; omit to drop every strategy entry for the path. */
|
|
124
|
+
strategies?: AggregationStrategy[];
|
|
125
|
+
} | {
|
|
126
|
+
op: 'remove-reducer-exception';
|
|
127
|
+
/** Predicate identifying the exception to drop (matched by serialized equality). Template: removed from `input.exceptions`; job-graph: removed from the reducer's `logReducerExceptions`. */
|
|
128
|
+
predicate: SchemaEventPredicate;
|
|
129
|
+
} | {
|
|
130
|
+
op: 'remove-grok-rule';
|
|
131
|
+
/** Grok rule string to drop from the targeted parser's `grokParsingRules`. */
|
|
132
|
+
pattern: string;
|
|
133
|
+
/** Name of an existing grok-parser. If omitted, exactly one grok-parser must exist. */
|
|
134
|
+
parserName?: string;
|
|
135
|
+
} | {
|
|
136
|
+
op: 'update-source';
|
|
137
|
+
/** Replacement source; the existing source with the same `name` is replaced in place. */
|
|
138
|
+
source: SchemaOperation;
|
|
139
|
+
} | {
|
|
140
|
+
op: 'update-parser';
|
|
141
|
+
/** Replacement parser; the existing parser with the same `name` is replaced in place. */
|
|
142
|
+
parser: SchemaOperation;
|
|
143
|
+
} | {
|
|
144
|
+
op: 'update-sink';
|
|
145
|
+
/** Replaces a vendor sink's config in place, located by `sink.name`. */
|
|
146
|
+
target: 'vendor';
|
|
147
|
+
sink: SchemaOperation;
|
|
148
|
+
/**
|
|
149
|
+
* When provided, replaces an existing template entry filter or generated
|
|
150
|
+
* `<sink.name>_filter` vertex. Omit to preserve current gating.
|
|
151
|
+
*/
|
|
152
|
+
filter?: SchemaLogsFilter;
|
|
153
|
+
} | {
|
|
154
|
+
op: 'update-sink';
|
|
155
|
+
/** Replaces the singular reduced-logs iceberg sink's config in place. */
|
|
156
|
+
target: 'processed-logs';
|
|
157
|
+
sink: SchemaOperation;
|
|
158
|
+
} | {
|
|
159
|
+
op: 'update-message-attribute';
|
|
160
|
+
/** Existing message-attribute path to replace. */
|
|
161
|
+
from: string;
|
|
162
|
+
/** Replacement path. Must share `from`'s arity (both single- or both multi-part); cross-list moves need remove + add. */
|
|
163
|
+
to: string;
|
|
164
|
+
} | {
|
|
165
|
+
op: 'update-group-by';
|
|
166
|
+
/** Existing group-by path to replace. */
|
|
167
|
+
from: string;
|
|
168
|
+
/** Replacement path. Must share `from`'s arity (both single- or both multi-part); cross-list moves need remove + add. */
|
|
169
|
+
to: string;
|
|
170
|
+
} | {
|
|
171
|
+
op: 'update-aggregation-strategy';
|
|
172
|
+
/** Dot-notation path whose merge-strategy set is replaced. Errors if the path has no existing entries. */
|
|
173
|
+
attributePath: string;
|
|
174
|
+
/** New strategy set for the path; replaces all existing entries for it, anchored at the first one's position. */
|
|
175
|
+
strategies: AggregationStrategy[];
|
|
176
|
+
} | {
|
|
177
|
+
op: 'update-reducer-exception';
|
|
178
|
+
/** Predicate identifying the existing exception (matched by serialized equality). */
|
|
179
|
+
from: SchemaEventPredicate;
|
|
180
|
+
/** Replacement predicate, written at the matched exception's position. */
|
|
181
|
+
to: SchemaEventPredicate;
|
|
111
182
|
};
|
|
112
183
|
export interface JobPatch {
|
|
113
184
|
operations: JobPatchOp[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"job-patch.d.ts","sourceRoot":"","sources":["../../../src/main/typescript/lib/job-patch.ts"],"names":[],"mappings":"AAAA,8JAA8J;AAC9J,OAAO,EACL,aAAa,EACb,eAAe,EACf,eAAe,EAGf,oBAAoB,EAEpB,uBAAuB,EACvB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"job-patch.d.ts","sourceRoot":"","sources":["../../../src/main/typescript/lib/job-patch.ts"],"names":[],"mappings":"AAAA,8JAA8J;AAC9J,OAAO,EACL,aAAa,EACb,eAAe,EACf,eAAe,EAGf,oBAAoB,EAEpB,uBAAuB,EACvB,gBAAgB,EAoBhB,8BAA8B,EAC9B,8BAA8B,EAC9B,8BAA8B,EAC9B,kCAAkC,EAEnC,MAAM,wBAAwB,CAAC;AAchC,MAAM,MAAM,mBAAmB,GAC3B,GAAG,8BAA8B,EAAE,GACnC,GAAG,8BAA8B,EAAE,GACnC,GAAG,8BAA8B,EAAE,GACnC,GAAG,kCAAkC,EAAE,CAAC;AAC5C,MAAM,MAAM,WAAW,GAAG,MAAM,uBAAuB,CAAC;AAExD,0CAA0C;AAC1C,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,gBAAgB,CAAC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