Module Sihl__.Gen_core

type gen_type =
| Float
| Int
| Bool
| String
| Datetime
val gen_type_to_example : gen_type -> string
val ocaml_type_of_gen_type : gen_type -> string
val caqti_type_of_gen_type : gen_type -> string
val conformist_type_of_gen_type : gen_type -> string
val gen_type_of_string : string -> (gen_type, string) Stdlib.result
type schema = (string * gen_type) list
val schema_of_string : string list -> (schema, string) Stdlib.result
type file = {
name : string;
template : string;
params : (string * string) list;
}
val render : file -> string
val write_file : file -> string -> unit
val write_files_and_create_dir : string -> file list -> unit
val write_in_domain : string -> file list -> unit
val write_in_test : string -> file list -> unit
val write_in_database : file -> unit
val write_in_view : string -> file list -> unit
type database =
| MariaDb
| PostgreSql
val database_of_string : string -> database