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