LightningWeb.WorkflowLive.NewManualRun (Lightning v2.13.5)

View Source

This module helps with the rewrite of the Workflow editor. It implements the backend API for the React frontend.

Summary

Functions

get_dataclips_filters(query_string)

@spec get_dataclips_filters(String.t()) :: {:ok, map()} | {:error, Ecto.Changeset.t()}

search_selectable_dataclips(job_id, search_text, limit, offset)

@spec search_selectable_dataclips(
  job_id :: Ecto.UUID.t(),
  search_text :: String.t(),
  limit :: integer(),
  offset :: integer()
) ::
  {:ok,
   %{
     dataclips: [Lightning.Invocation.Dataclip.t()],
     next_cron_run_dataclip_id: Ecto.UUID.t() | nil
   }}
  | {:error, Ecto.Changeset.t()}