@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.
Files changed (2) hide show
  1. package/dist/cli.js +7 -6
  2. 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++;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eide/foir-cli",
3
- "version": "0.4.10",
3
+ "version": "0.4.11",
4
4
  "description": "Universal platform CLI for Foir platform",
5
5
  "type": "module",
6
6
  "publishConfig": {