getActionConfigFields = async (action, table, extra = {}) =>
  typeof action.configFields === "function"
    ? await action.configFields({
        table,
        ...extra,
        ...(extra?.req ? { __: extra.req.__ } : {}),
      })
    : action.configFields || []
Get Action configuration fields
@param {object} action
@param {object} table
@returns {Promise<object[]>}