for (const prop of props) {
    if (!omitProps.includes(prop)) {
      action[prop] = input[prop]
    }
  }