@eide/foir-cli 0.4.10 → 0.4.11
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/dist/cli.js +7 -6
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -4821,18 +4821,19 @@ async function reconcileOperations(client, configId, operations, operationBaseUr
|
|
|
4821
4821
|
const ex = existingByKey.get(op.key);
|
|
4822
4822
|
const endpoint = resolveEndpoint(op.endpoint, operationBaseUrl);
|
|
4823
4823
|
if (ex) {
|
|
4824
|
+
const empty = {};
|
|
4824
4825
|
await client.operations.updateOperation({
|
|
4825
4826
|
id: ex.id,
|
|
4826
4827
|
name: op.name,
|
|
4827
4828
|
description: op.description,
|
|
4828
4829
|
endpoint,
|
|
4829
4830
|
timeoutMs: op.timeoutMs,
|
|
4830
|
-
inputSchema: op.inputSchema,
|
|
4831
|
-
outputSchema: op.outputSchema,
|
|
4832
|
-
streamConfig: op.streamConfig,
|
|
4833
|
-
quotas: op.quotas,
|
|
4834
|
-
retryPolicy: op.retryPolicy,
|
|
4835
|
-
precondition: op.precondition,
|
|
4831
|
+
inputSchema: op.inputSchema ?? empty,
|
|
4832
|
+
outputSchema: op.outputSchema ?? empty,
|
|
4833
|
+
streamConfig: op.streamConfig ?? empty,
|
|
4834
|
+
quotas: op.quotas ?? empty,
|
|
4835
|
+
retryPolicy: op.retryPolicy ?? empty,
|
|
4836
|
+
precondition: op.precondition ?? empty,
|
|
4836
4837
|
isActive: op.isActive
|
|
4837
4838
|
});
|
|
4838
4839
|
summary.operations.updated++;
|