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 :
Sihl_core.Ctx.t ->
id:string ->
Sihl_email_core__.Model.Template.t option Lwt.t
val get_by_name :
Sihl_core.Ctx.t ->
name:string ->
Sihl_email_core__.Model.Template.t option Lwt.t
val create :
Sihl_core.Ctx.t ->
name:string ->
html:string ->
text:string ->
Sihl_email_core__.Model.Template.t Lwt.t
val update :
Sihl_core.Ctx.t ->
template:Sihl_email_core__.Model.Template.t ->
Sihl_email_core__.Model.Template.t Lwt.t
val render :
Sihl_core.Ctx.t ->
Sihl_email_core__.Model.t ->
Sihl_email_core__.Model.t Lwt.t
val configure : Sihl_core.Configuration.data -> Sihl_core.Container.Service.t