Module Values.GraphQLRenderConfigSource

Describes the GraphQL configuration for an API for a code generation job.

Sourcetype nonrec t = {
  1. typesFilePath : String_.t;
    (*

    The path to the GraphQL types file, relative to the component output directory.

    *)
  2. queriesFilePath : String_.t;
    (*

    The path to the GraphQL queries file, relative to the component output directory.

    *)
  3. mutationsFilePath : String_.t;
    (*

    The path to the GraphQL mutations file, relative to the component output directory.

    *)
  4. subscriptionsFilePath : String_.t;
    (*

    The path to the GraphQL subscriptions file, relative to the component output directory.

    *)
  5. fragmentsFilePath : String_.t;
    (*

    The path to the GraphQL fragments file, relative to the component output directory.

    *)
}
Sourceval context_ : string
Sourceval make : typesFilePath:String_.t -> queriesFilePath:String_.t -> mutationsFilePath:String_.t -> subscriptionsFilePath:String_.t -> fragmentsFilePath:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.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