Module Values.FileUploadCardInputSource

Represents a file upload card. It can optionally receive a filename and fileId to set a default file. If not received, the user must provide the file when the Q App runs.

Sourcetype nonrec t = {
  1. title : Title.t;
    (*

    The title or label of the file upload card.

    *)
  2. id : UUID.t;
    (*

    The unique identifier of the file upload card.

    *)
  3. type_ : CardType.t;
    (*

    The type of the card.

    *)
  4. filename : Filename.t option;
    (*

    The default filename to use for the file upload card.

    *)
  5. fileId : UUID.t option;
    (*

    The identifier of a pre-uploaded file associated with the card.

    *)
  6. allowOverride : Boolean.t option;
    (*

    A flag indicating if the user can override the default file for the upload card.

    *)
}
Sourceval context_ : string
Sourceval make : ?filename:??? -> ?fileId:??? -> ?allowOverride:??? -> title:Title.t -> id:UUID.t -> type_:CardType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of Title.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