Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include Sihl_core.Container.Service.Sig
val lifecycle : Sihl_core.Container.Lifecycle.t
val get : id:string -> Sihl_type.Email_template.t option Lwt.t
val get_by_name : name:string -> Sihl_type.Email_template.t option Lwt.t
val create :
name:string ->
html:string ->
text:string ->
Sihl_type.Email_template.t Lwt.t
val update :
template:Sihl_type.Email_template.t ->
Sihl_type.Email_template.t Lwt.t
val render : Sihl_type.Email.t -> Sihl_type.Email.t Lwt.t
val register : unit -> Sihl_core.Container.Service.t