Module Values_0.AllowedExtensionSource

Information about an allowed file extension.

Sourcetype nonrec t = {
  1. extension : FileExtension.t;
    (*

    The file extension. The extension must be between 1 and 10 characters and can contain only alphanumeric characters, hyphens, and underscores.

    *)
}
Sourceval context_ : string
Sourceval make : extension:FileExtension.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of FileExtension.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t