View Source Lightning.Services.ProjectHook (Lightning v2.10.4)
Allows handling project creation atomically without relying on async events.
Summary
Functions
Callback implementation for Lightning.Extensions.ProjectHooking.handle_create_project/1
.
Callback implementation for Lightning.Extensions.ProjectHooking.handle_delete_project/1
.
Callback implementation for Lightning.Extensions.ProjectHooking.handle_project_validation/1
.
Functions
@spec handle_create_project(map()) :: {:ok, Lightning.Projects.Project.t()} | {:error, Ecto.Changeset.t()}
Callback implementation for Lightning.Extensions.ProjectHooking.handle_create_project/1
.
@spec handle_delete_project(Lightning.Projects.Project.t()) :: {:ok, Lightning.Projects.Project.t()} | {:error, Ecto.Changeset.t()}
Callback implementation for Lightning.Extensions.ProjectHooking.handle_delete_project/1
.
@spec handle_project_validation(Ecto.Changeset.t(Lightning.Projects.Project.t())) :: Ecto.Changeset.t(Lightning.Projects.Project.t())
Callback implementation for Lightning.Extensions.ProjectHooking.handle_project_validation/1
.