package sihl

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

Parameters

module Repo : sig ... end

Signature

val lifecycle : Sihl__.Core_container.Lifecycle.t
val get : Core.Ctx.t -> id:string -> (Sihl__.Email_core.Template.t option, string) Result.t Lwt.t
val get_by_name : Core.Ctx.t -> name:string -> (Sihl__.Email_core.Template.t option, string) Result.t Lwt.t
val create : Core.Ctx.t -> name:string -> html:string -> text:string -> (Sihl__.Email_core.Template.t, string) Result.t Lwt.t
val update : Core.Ctx.t -> template:Sihl__.Email_core.Template.t -> (Sihl__.Email_core.Template.t, string) Result.t Lwt.t
val render : Core.Ctx.t -> Sihl__.Email_core.t -> (Sihl__.Email_core.t, string) Result.t Lwt.t
OCaml

Innovation. Community. Security.