package transom

  1. Overview
  2. Docs
OCaml sidecar glue for Tauri-style desktop apps

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1.0.tar.gz
md5=a6aa17a9cab249e390f574553bc22620
sha512=56ac775c6b61fc45488795f2658fcfcbf380427f9477e94d6d69770a6df288851f266fb026d27696ba579caa37386404e4059fa2d2218b23e8b1e5c59cd9994b

doc/transom.codegen/Transom_codegen/Manifest/index.html

Module Transom_codegen.ManifestSource

Sourcetype command = {
  1. name : string;
  2. request : string;
  3. response : string;
  4. event : string option;
  5. ts_request : string;
  6. ts_response : string;
  7. ts_event : string option;
}
Sourcetype t = {
  1. service_module : string;
  2. types_module : string;
  3. json_module : string;
  4. typescript_types_module : string;
  5. commands : command list;
}
Sourceval error : 'a -> ('b, 'a) result
Sourceval assoc : string -> [> `Assoc of 'a ] -> ('a, string) result
Sourceval field : string -> string -> (string * 'a) list -> ('a, string) result
Sourceval non_empty_string : string -> [> `String of string ] -> (string, string) result
Sourceval string_field : string -> string -> (string * [> `String of string ]) list -> (string, string) result
Sourceval optional_string_field : string -> string -> (string * [> `String of string ]) list -> (string option, string) result
Sourceval command_of_yojson : int -> [> `Assoc of (string * [> `String of string ]) list ] -> (command, string) result
Sourcemodule Names : sig ... end
Sourceval check_unique_names : command list -> (unit, string) result
Sourceval commands_of_yojson : [> `List of [> `Assoc of (string * [> `String of string ]) list ] list ] -> (command list, string) result
Sourceval of_yojson : [> `Assoc of (string * [> `List of [> `Assoc of (string * [> `String of string ]) list ] list | `String of string ]) list ] -> (t, string) result
Sourceval read_file : string -> string
Sourceval load_file : string -> (t, string) result