videosphere
    Preparing search index...
    ValidateTranslationAiConfigResult:
        | { ok: true }
        | {
            ok: false;
            message: string;
            fields: (
                | "openRouterKey"
                | "groqKey"
                | "deepgramKey"
                | "assemblyaiKey"
                | "gladiaKey"
                | "speechmaticsKey"
                | "sonioxKey"
                | "modulateKey"
                | "elevenLabsKey"
                | "translateModel"
                | "gcpJson"
            )[];
        }

    Result of pre-save AI credential validation.

    Type Declaration

    • { ok: true }
    • {
          ok: false;
          message: string;
          fields: (
              | "openRouterKey"
              | "groqKey"
              | "deepgramKey"
              | "assemblyaiKey"
              | "gladiaKey"
              | "speechmaticsKey"
              | "sonioxKey"
              | "modulateKey"
              | "elevenLabsKey"
              | "translateModel"
              | "gcpJson"
          )[];
      }
      • ok: false
      • message: string
      • fields: (
            | "openRouterKey"
            | "groqKey"
            | "deepgramKey"
            | "assemblyaiKey"
            | "gladiaKey"
            | "speechmaticsKey"
            | "sonioxKey"
            | "modulateKey"
            | "elevenLabsKey"
            | "translateModel"
            | "gcpJson"
        )[]

        Form fields that should be highlighted for this error.