Function CreateUseBuiltinInvertForFeedbacksUpgradeScript

  • A helper script to automate the bulk of the process to upgrade feedbacks from having a module defined 'invert' field, to use the builtin one. The feedback definitions must be updated manually, this can only help update existing usages of the feedback.

    Type Parameters

    • TConfig = unknown

    Parameters

    • upgradeMap: Record<string, string>

      The feedbacks to upgrade and the id of the option to convert

    Returns CompanionStaticUpgradeScript<TConfig>