Module Values.PackageOriginRestrictionsSource

Details about the origin restrictions set on the package. The package origin restrictions determine how new versions of a package can be added to a specific repository.

Sourcetype nonrec t = {
  1. publish : AllowPublish.t;
    (*

    The package origin configuration that determines if new versions of the package can be published directly to the repository.

    *)
  2. upstream : AllowUpstream.t;
    (*

    The package origin configuration that determines if new versions of the package can be added to the repository from an external connection or upstream source.

    *)
}
Sourceval context_ : string
Sourceval make : publish:AllowPublish.t -> upstream:AllowUpstream.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string ]) 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