package sihl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

A template service to manage email templates.

val get : Core.Ctx.t -> id:string -> Sihl_email_core__.Model.Template.t option Lwt.t
val get_by_name : Core.Ctx.t -> name:string -> Sihl_email_core__.Model.Template.t option Lwt.t
val create : Core.Ctx.t -> name:string -> html:string -> text:string -> Sihl_email_core__.Model.Template.t Lwt.t
val update : Core.Ctx.t -> template:Sihl_email_core__.Model.Template.t -> Sihl_email_core__.Model.Template.t Lwt.t
val render : Core.Ctx.t -> Sihl_email_core__.Model.t -> Sihl_email_core__.Model.t Lwt.t
val register : unit -> Core.Container.Service.t
OCaml

Innovation. Community. Security.