From 8ed6e8122975f3de1d90d8a2d1adf1ef1eb148bb Mon Sep 17 00:00:00 2001 From: Schemas update bot Date: Sun, 20 Oct 2024 01:01:06 +0000 Subject: [PATCH] Re-generate the schema files --- main.ncl | 4 + out/ArchitectFX.ncl | 995 ++++ out/Argo Workflows.ncl | 6 +- out/Azure Pipelines.ncl | 2469 +++++---- out/BOSH Deploy Config.ncl | 952 ++++ out/Camel YAML DSL.ncl | 3 +- out/Containerlab.ncl | 19 + out/Datahub Ingestion Recipe.ncl | 21 +- ...Lab Agent for Kubernetes configuration.ncl | 4 + ...lerator on AWS - Customizations Config.ncl | 49 +- ...ne Accelerator on AWS - Network Config.ncl | 49 +- ...e Accelerator on AWS - Security Config.ncl | 4 + out/Lefthook.ncl | 15 +- out/Mergify Configuration.ncl | 66 +- out/October CMS columns.ncl | 1032 ++++ out/October CMS fields.ncl | 2818 ++++++++++ out/PDM.ncl | 5 +- out/Quali Torque Blueprint Spec 2.ncl | 2 +- out/Renovate.ncl | 244 +- out/Ruff.ncl | 81 +- out/Semantic Data Fabric (SDF) file.ncl | 459 +- out/Shopware 6 Configuration.ncl | 67 +- out/StackHawk Scanner Configuration.ncl | 291 +- out/Taskfile config.ncl | 23 +- out/UET BuildConfig.json.ncl | 12 + out/UI5 Manifest.ncl | 12 +- out/Updatecli Policy Manifest.ncl | 4579 +++++++++-------- out/beef-entity-v5-codegen.ncl | 8 + out/bunfig.toml.ncl | 14 + out/conda-forge.ncl | 34 +- out/dstack configuration.ncl | 3 + out/mirrord config.ncl | 19 +- out/openapi.json.ncl | 968 +--- out/prometheus.rules.json.ncl | 14 +- out/prometheus.rules.test.json.ncl | 9 +- out/release-plz.toml.ncl | 12 + out/snapcraft.ncl | 1 + out/zerops.io import file.ncl | 311 +- out/zerops.yml.ncl | 296 +- 39 files changed, 11054 insertions(+), 4916 deletions(-) create mode 100644 out/ArchitectFX.ncl create mode 100644 out/BOSH Deploy Config.ncl create mode 100644 out/October CMS columns.ncl create mode 100644 out/October CMS fields.ncl diff --git a/main.ncl b/main.ncl index 65f2f07..bd14db0 100644 --- a/main.ncl +++ b/main.ncl @@ -86,6 +86,7 @@ ".bootstraprc" = import "out/.bootstraprc.ncl", "bower.json" = import "out/bower.json.ncl", ".bowerrc" = import "out/.bowerrc.ncl", +"BOSH Deploy Config" = import "out/BOSH Deploy Config.ncl", "Boyka Framework" = import "out/Boyka Framework.ncl", "behat.yml" = import "out/behat.yml.ncl", "partial-black.json" = import "out/partial-black.json.ncl", @@ -485,6 +486,8 @@ "ntangle" = import "out/ntangle.ncl", "Ory Oathkeeper configuration" = import "out/Ory Oathkeeper configuration.ncl", "ocelot.json" = import "out/ocelot.json.ncl", +"October CMS columns" = import "out/October CMS columns.ncl", +"October CMS fields" = import "out/October CMS fields.ncl", "omnisharp.json" = import "out/omnisharp.json.ncl", "openapi.json" = import "out/openapi.json.ncl", "openrpc.json" = import "out/openrpc.json.ncl", @@ -943,6 +946,7 @@ "Preset list for a WinUtil" = import "out/Preset list for a WinUtil.ncl", "Tab list for a LinUtil" = import "out/Tab list for a LinUtil.ncl", "Tab data for a LinUtil" = import "out/Tab data for a LinUtil.ncl", +"ArchitectFX" = import "out/ArchitectFX.ncl", "Eidolon Resource" = import "out/Eidolon Resource.ncl", "Waku Config" = import "out/Waku Config.ncl", } diff --git a/out/ArchitectFX.ncl b/out/ArchitectFX.ncl new file mode 100644 index 0000000..5c5acfb --- /dev/null +++ b/out/ArchitectFX.ncl @@ -0,0 +1,995 @@ +# DO NOT EDIT +# This file was automatically generated using json-schema-to-nickel +let _js2n__-prdslib + = { + allOf + : Array (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `allOf preds` succeeds if all of the predicates in `preds` succeed + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.7.1] + "% + = fun + preds + x + => + std.array.fold_right + (fun pred acc => (match { 'Ok => acc, 'Err s => 'Err s, }) (pred x)) + 'Ok preds, + always : Dyn -> [| 'Ok, 'Err String |] = std.function.const 'Ok, + anyOf + : Array (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `anyOf preds` succeeds if at least one of the predicates in `preds` succeeds + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.7.2] + "% + = fun + preds + x + => + (match { + 'Ok => + 'Ok, + 'Errs + msgs => + 'Err + m%" + anyOf: none of the options matched + %{std.string.join + m%" + + + "% msgs} + "%, + }) + (std.array.fold_right + (fun + pred + acc + => + (match { + 'Ok => + 'Ok, + 'Errs + msgs => + (match { + 'Ok => + 'Ok, + 'Err + msg => + 'Errs ([ " - %{msg}" ] @ msgs), + }) (pred x), + }) acc) ('Errs [ ]) preds), + arrays = + { + additionalItems + : (Dyn -> [| 'Ok, 'Err String |]) + -> Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.2]" + = fun + pred + start + x + => + if !(std.is_array x) then + 'Ok + else + let x + | Array Dyn + = x + in + let value_length + = std.array.length x + in + if start >= value_length then + 'Ok + else + arrayOf pred + ((std.array.slice start value_length x) + | Dyn), + arrayOf + : (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + Apply a predicate to all elements of an array, succeeding if all + applications succeed. + "% + = fun + pred + x + => + if !(std.is_array x) then + 'Ok + else + let x + | Array Dyn + = x + in + std.array.fold_right + (fun + x + acc + => + (match { 'Ok => acc, 'Err msg => 'Err msg, }) (pred x)) + 'Ok x, + contains + : (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.6]" + = fun + pred + x + => + if !(std.is_array x) then + 'Ok + else + let x + | Array Dyn + = x + in + (match { + 'Ok => + 'Ok, + 'Errs + msgs => + 'Err + m%" + contains: no elements matched + %{std.string.join + m%" + + + "% msgs} + "%, + }) + (std.array.fold_right + (fun + x + acc + => + (match { + 'Ok => + 'Ok, + 'Errs + msgs => + (match { + 'Ok => + 'Ok, + 'Err + msg => + 'Errs ([ " - %{msg}" ] @ msgs), + }) (pred x), + }) acc) ('Errs [ ]) x), + items + : Array (Dyn -> [| 'Ok, 'Err String |]) + -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.1]" + = fun + preds + x + => + if !(std.is_array x) then + 'Ok + else + let x + | Array Dyn + = x + in + let length_to_check + = std.number.min (std.array.length preds) + (std.array.length x) + in + std.array.fold_right + (fun + i + acc + => + (match { 'Err msg => 'Err msg, 'Ok => acc, }) + (std.array.at i preds (std.array.at i x))) 'Ok + (std.array.range 0 length_to_check), + maxItems + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `maxItems n x` fails if `x` is an array of length strictly greater than `n` and succeeds otherwise. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.3] + "% + = fun + n + x + => + if !(std.is_array x) then + 'Ok + else + if (std.array.length (x | Array Dyn)) > n then + 'Err + "array is longer than %{std.string.from_number n} items" + else + 'Ok, + minItems + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `minItems n x` fails if `x` is an array of length strictly smaller than `n` and succeeds otherwise. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.4] + "% + = fun + n + x + => + if !(std.is_array x) then + 'Ok + else + if (std.array.length (x | Array Dyn)) < n then + 'Err + "array is shorter than %{std.string.from_number n} items" + else + 'Ok, + uniqueItems + : Dyn -> [| 'Ok, 'Err String |] + | doc m%" + Succeeds for any array if its elements are pairwise distinct. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.5] + "% + = let find_duplicate + : Array Dyn + -> { + has_duplicate : Bool, + duplicate : Dyn, + seen : { _ : Bool } + } + = std.array.fold_right + (fun + elt + acc + => + if acc.has_duplicate then + acc + else + let index + = std.serialize 'Json elt + in + if std.record.has_field index acc.seen then + { + duplicate = elt, + has_duplicate = true, + seen = acc.seen, + } + else + { + duplicate = null, + has_duplicate = false, + seen = std.record.insert index true acc.seen, + }) + { duplicate = null, has_duplicate = false, seen = {}, } + in + fun + x + => + if !(std.is_array x) then + 'Ok + else + let { has_duplicate, duplicate, .. } + = find_duplicate (x | Array Dyn) + in + if has_duplicate then + 'Err "duplicate found: %{std.serialize 'Json duplicate}" + else + 'Ok, + }, + const + : Dyn -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `const value x` succeeds if and only if `x` is equal to `value` + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.1.3] + "% + = fun + value + x + => + if x == value then + 'Ok + else + 'Err "expected %{std.serialize 'Json value}", + contract_from_predicate + : (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> Dyn -> Dyn + = fun + predicate + label + value + => + (match { + 'Ok => + value, + 'Err + msg => + (std.contract.blame_with_message msg label) + | Dyn, + }) (predicate value), + enum + : Array Dyn -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `enum values x` succeeds if and only if `x` is equal to one of the elements of `values`. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.1.2] + "% + = let checkEqual + = fun + input + variant + => + (input == variant) + || ((std.is_enum input) + && (((std.string.from_enum input) == variant) + | Bool)) + in + fun + values + x + => + std.array.fold_right + (fun value acc => if checkEqual x value then 'Ok else acc) + ('Err "expected one of %{std.serialize 'Json (values | Dyn)}") + values, + from_simple_predicate + : String -> (Dyn -> Bool) -> Dyn -> [| 'Ok, 'Err String |] + | doc "Convert a simple boolean predicate into a predicate supporting error messages" + = fun error' pred x => if pred x then 'Ok else 'Err error', + ifThenElse + : (Dyn -> [| 'Ok, 'Err String |]) + -> (Dyn -> [| 'Ok, 'Err String |]) + -> (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `ifThenElse i t e` first checks if the predicate `i` succeeds. If it does, it's equivalent to `t`, otherwise it's equivalent to `e`. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.6] + "% + = fun i t e x => (match { 'Ok => t x, 'Err msg => e x, }) (i x), + isType + : [| '"Array", '"Bool", 'Integer, 'Null, '"Number", 'Record, '"String" |] + -> Dyn -> [| 'Ok, 'Err String |] + = fun + t + => + (match { + 'Null => + from_simple_predicate "expected `null`" (fun x => x == null), + 'Integer => + from_simple_predicate "expected an integer" + (fun + x + => + (std.is_number x) && (std.number.is_integer (x | Number))), + _ => + from_simple_predicate + "value is not of type %{std.string.from_enum t}" + (fun x => (std.typeof x) == t), + }) t, + never : Dyn -> [| 'Ok, 'Err String |] = std.function.const ('Err "never"), + not + : (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `not pred` succeeds if and only if `pred` fails + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.7.4] + "% + = fun + pred + x + => + (match { + 'Ok => + 'Err "Inverted predicate succeeded unexpectedly", + 'Err + msg => + 'Ok, + }) (pred x), + numbers = + { + exclusiveMaximum + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.2.3]" + = fun + limit + x + => + if !(std.is_number x) then + 'Ok + else + if (x | Number) < limit then + 'Ok + else + 'Err + "expected an exclusive maximum of %{std.string.from_number + limit}", + exclusiveMinimum + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.2.5]" + = fun + limit + x + => + if !(std.is_number x) then + 'Ok + else + if (x | Number) > limit then + 'Ok + else + 'Err + "expected an exclusive minimum of %{std.string.from_number + limit}", + maximum + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.2.2]" + = fun + limit + x + => + if !(std.is_number x) then + 'Ok + else + if (x | Number) <= limit then + 'Ok + else + 'Err + "expected a maximum of %{std.string.from_number limit}", + minimum + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.2.4]" + = fun + limit + x + => + if !(std.is_number x) then + 'Ok + else + if (x | Number) >= limit then + 'Ok + else + 'Err + "expected a minimum of %{std.string.from_number limit}", + multipleOf + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.2.1]" + = fun + mult + x + => + if !(std.is_number x) then + 'Ok + else + if std.number.is_integer ((x | Number) / mult) then + 'Ok + else + 'Err + "expected a multiple of %{std.string.from_number mult}", + }, + oneOf + : Array (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `oneOf preds` succeeds if precisely one of the predicates in `preds` succeeds + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.7.3] + "% + = fun + preds + x + => + let count_ok + : Array [| 'Ok, 'Err String |] -> Number + = fun + results + => + std.array.fold_left (fun n b => if b == 'Ok then n + 1 else n) 0 + results + in + let results + = std.array.map (fun pred => pred x) preds + in + let count + = count_ok results + in + if count == 0 then + let errors + = std.array.flat_map + (fun + result + => + (match { 'Ok => [ ], 'Err s => [ " - %{s}" ], }) + result) results + in + 'Err + m%" + oneOf: none of the options matched + %{std.string.join + m%" + + + "% errors} + "% + else + if count > 1 then + 'Err "oneOf: more than one of the options matched" + else + 'Ok, + records = + { + dependencies + : { _ : Dyn } -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5.7]" + = let mustHaveFields + : Array String -> { _ : Dyn } -> [| 'Ok, 'Err String |] + = fun + fields + x + => + std.array.fold_right + (fun + field + acc + => + if !(std.record.has_field field x) then + 'Err "expected field `%{field}`" + else + acc) 'Ok fields + in + fun + deps + x + => + if !(std.is_record x) then + 'Ok + else + let x + | { _ : Dyn } + = x + in + std.array.fold_right + (fun + { field, value, } + => + fun + acc + => + if !(std.record.has_field field x) then + acc + else + let result + = if std.is_array value then + mustHaveFields (value | Array String) x + else + let pred + | Dyn -> [| 'Ok, 'Err String |] + = value + in + pred (x | Dyn) + in + (match { + 'Err + msg => + 'Err + "dependency of `%{field}` failed: %{msg}", + 'Ok => + acc, + }) result) 'Ok (std.record.to_array deps), + maxProperties + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `maxProperties n x` fails if `x` is a record containing stricly more than `n` fields. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5.1] + "% + = fun + n + x + => + if !(std.is_record x) then + 'Ok + else + if (std.record.length (x | { _ : Dyn })) > n then + 'Err + "record contains more than %{std.string.from_number + n} fields" + else + 'Ok, + minProperties + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `minProperties n x` fails if `x` is a record containing stricly less than `n` fields. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5.1] + "% + = fun + n + x + => + if !(std.is_record x) then + 'Ok + else + if (std.record.length (x | { _ : Dyn })) < n then + 'Err + "record contains fewer than %{std.string.from_number + n} fields" + else + 'Ok, + propertyNames + : (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5.8]" + = fun + pred + x + => + if !(std.is_record x) then + 'Ok + else + std.array.fold_right + (fun + field + acc + => + (match { + 'Err + msg => + 'Err + "field `%{field}` did not validate against `propertyNames` schema", + 'Ok => + acc, + }) (pred (field | Dyn))) 'Ok + (std.record.fields (x | { _ : Dyn })), + record + : { _ : Dyn -> [| 'Ok, 'Err String |] } + -> { _ : Dyn -> [| 'Ok, 'Err String |] } + -> Bool + -> (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `record properties patternProperties additionalAllowed + additionalProperties x` is a combination of the `properties`, + `patternProperties` and `additionalProperties` validation keywords in + JSON schema. + + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5] + "% + = fun + properties + patternProperties + additionalAllowed + additionalProperties + x + => + if !(std.is_record x) then + 'Ok + else + let x + | { _ : Dyn } + = x + in + let check_properties + : { + result : [| 'Ok, 'Err String |], + checked : { _ : Bool } + } + = std.array.fold_right + (fun + { field, value, } + => + fun + acc + => + if !(std.record.has_field field x) then + acc + else + (match { + 'Err + msg => + { + checked : { _ : Bool } = {}, + result = + 'Err + "field `%{field}` didn't validate: %{msg}", + }, + 'Ok => + { + checked = + std.record.insert field true acc.checked, + result = acc.result, + }, + }) (value x."%{field}")) + { checked = {}, result = 'Ok, } + (std.record.to_array properties) + in + let matching_fields + : String -> { _ : Dyn } + = fun + pattern + => + let matcher + = std.string.is_match pattern + in + std.array.fold_left + (fun + acc + => + fun + { field, value, } + => + if matcher field then + std.record.insert field value acc + else + acc) {} (std.record.to_array x) + in + let check_pattern_properties + : { + result : [| 'Ok, 'Err String |], + checked : { _ : Bool } + } + = std.array.fold_right + (fun + { field = pattern, value = pred, } + => + fun + acc + => + (match { + r @ { result = 'Err msg, .. } => + r, + { result = 'Ok, checked = ch, } => + { + checked = + std.array.fold_left + (fun + r + field + => + if !(std.record.has_field field + r) then + std.record.insert field true r + else + r) acc.checked + (std.record.fields ch), + result = acc.result, + }, + }) + (std.array.fold_right + (fun + { field, value, } + => + fun + acc + => + (match { + 'Err + msg => + { + checked : { _ : Bool } = {}, + result = + 'Err + "field `%{field}` didn't validate: %{msg}", + }, + 'Ok => + { + checked = + std.record.insert field true + acc.checked, + result = acc.result, + }, + }) (pred value)) + { + checked : { _ : Bool } = {}, + result = 'Ok, + } + (std.record.to_array + (matching_fields pattern)))) + { checked : { _ : Bool } = {}, result = 'Ok, } + (std.record.to_array patternProperties) + in + let remaining_fields + = std.array.fold_left + (fun + acc + field + => + if !(std.record.has_field field acc) then + acc + else + std.record.remove field acc) x + ((std.record.fields check_properties.checked) + @ (std.record.fields + check_pattern_properties.checked)) + in + let check_additional_properties + : [| 'Ok, 'Err String |] + = if (!additionalAllowed) + && (!(std.record.is_empty remaining_fields)) then + 'Err + "extra fields %{std.serialize 'Json + ((std.record.fields remaining_fields) + | Dyn)}" + else + std.array.fold_right + (fun + { field, value, } + => + fun + acc + => + (match { + 'Err + msg => + 'Err + "field `%{field}` didn't validate: %{msg}", + 'Ok => + acc, + }) (additionalProperties value)) 'Ok + (std.record.to_array remaining_fields) + in + (match { + 'Err + msg => + check_properties.result, + 'Ok => + (match { + 'Err + msg => + check_pattern_properties.result, + 'Ok => + check_additional_properties, + }) check_pattern_properties.result, + }) check_properties.result, + required + : Array String -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5.3]" + = fun + fields + x + => + if !(std.is_record x) then + 'Ok + else + std.array.fold_right + (fun + field + acc + => + if !(std.record.has_field field (x | { _ : Dyn })) then + 'Err "missing required field %{field}" + else + acc) 'Ok fields, + }, + strings = + { + maxLength + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.3.1]" + = fun + limit + x + => + if !(std.is_string x) then + 'Ok + else + if (std.string.length (x | String)) <= limit then + 'Ok + else + 'Err + "expected a string of length no larger than %{std.string.from_number + limit}", + minLength + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.3.2]" + = fun + limit + x + => + if !(std.is_string x) then + 'Ok + else + if (std.string.length (x | String)) >= limit then + 'Ok + else + 'Err + "expected a string of length no smaller than %{std.string.from_number + limit}", + pattern + : String -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.3.3]" + = fun + pattern + x + => + if !(std.is_string x) then + 'Ok + else + if std.string.is_match pattern (x | String) then + 'Ok + else + 'Err "expected a string matching the pattern `%{pattern}`", + }, + } + in +let rec _js2n__-refsenv + = { + "_js2n__-:definitions/config!predicate" = + _js2n__-prdslib.oneOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required [ ".field", ".value" ], + _js2n__-prdslib.records.record + { + ".field" = _js2n__-prdslib.isType '"String", + ".value" = _js2n__-prdslib.always, + } {} false _js2n__-prdslib.never + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required [ ".method" ], + _js2n__-prdslib.records.record + { + ".args" = _js2n__-prdslib.isType '"Array", + ".method" = _js2n__-prdslib.isType '"String", + ".transform" = _js2n__-prdslib.isType '"Bool", + ".varargs" = _js2n__-prdslib.isType '"Array", + } {} false _js2n__-prdslib.never + ] + ], + "_js2n__-:definitions/entity!predicate" + | doc "Entity or tree node" + = _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + ".args" = _js2n__-prdslib.isType '"Array", + ".config" = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + _js2n__-refsenv."_js2n__-:definitions/config!predicate" + ], + ".factory" = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + _js2n__-refsenv."_js2n__-:definitions/config!predicate" + ], + ".varargs" = _js2n__-prdslib.isType '"Array", + children = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + _js2n__-refsenv."_js2n__-:definitions/entity!predicate" + ], + } {} true _js2n__-prdslib.always + ], + } + in + _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + ".config" = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + _js2n__-refsenv."_js2n__-:definitions/config!predicate" + ], + ".controller" = _js2n__-prdslib.isType '"String", + ".deps" = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType '"String"), + _js2n__-prdslib.arrays.uniqueItems + ], + ".imports" = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType '"String"), + _js2n__-prdslib.arrays.uniqueItems + ], + } + { + "^[A-Za-z_][A-Za-z0-9_]*$" = + _js2n__-refsenv."_js2n__-:definitions/entity!predicate", + } true _js2n__-prdslib.always + ]) \ No newline at end of file diff --git a/out/Argo Workflows.ncl b/out/Argo Workflows.ncl index 3a06dc9..058bb26 100644 --- a/out/Argo Workflows.ncl +++ b/out/Argo Workflows.ncl @@ -2661,13 +2661,13 @@ let rec _js2n__-refsenv } {} true _js2n__-prdslib.always ], "_js2n__-:definitions/io.argoproj.workflow.v1alpha1.StopStrategy!predicate" - | doc "v3.6 and after: StopStrategy defines if the CronWorkflow should stop scheduling based on a condition" + | doc "StopStrategy defines if the CronWorkflow should stop scheduling based on an expression. v3.6 and after" = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required [ "condition" ], + _js2n__-prdslib.records.required [ "expression" ], _js2n__-prdslib.records.record - { condition = _js2n__-prdslib.isType '"String", } {} true + { expression = _js2n__-prdslib.isType '"String", } {} true _js2n__-prdslib.always ], "_js2n__-:definitions/io.argoproj.workflow.v1alpha1.Submit!predicate" = diff --git a/out/Azure Pipelines.ncl b/out/Azure Pipelines.ncl index 6eb5c0f..d5b0f15 100644 --- a/out/Azure Pipelines.ncl +++ b/out/Azure Pipelines.ncl @@ -2438,6 +2438,8 @@ let rec _js2n__-refsenv _js2n__-refsenv."_js2n__-:definitions/jobDependsOn!predicate", displayName = _js2n__-refsenv."_js2n__-:definitions/string!predicate", + isSkippable = + _js2n__-refsenv."_js2n__-:definitions/boolean!predicate", jobs = _js2n__-refsenv."_js2n__-:definitions/jobs!predicate", lockBehavior = @@ -2448,6 +2450,8 @@ let rec _js2n__-refsenv _js2n__-refsenv."_js2n__-:definitions/string!predicate", templateContext = _js2n__-refsenv."_js2n__-:definitions/templateContext!predicate", + trigger = + _js2n__-refsenv."_js2n__-:definitions/stageTrigger!predicate", variables = _js2n__-refsenv."_js2n__-:definitions/variables!predicate", } {} false _js2n__-prdslib.never @@ -2464,6 +2468,20 @@ let rec _js2n__-refsenv } {} false _js2n__-prdslib.never ] ], + "_js2n__-:definitions/stageTrigger!predicate" = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.strings.pattern "^manual$" + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.strings.pattern "^automatic$" + ] + ], "_js2n__-:definitions/stages!predicate" = _js2n__-prdslib.allOf [ @@ -2640,6 +2658,8 @@ let rec _js2n__-refsenv _js2n__-refsenv."_js2n__-:definitions/mappingOfStringString!predicate", fetchDepth = _js2n__-refsenv."_js2n__-:definitions/string!predicate", + fetchFilter = + _js2n__-refsenv."_js2n__-:definitions/string!predicate", fetchTags = _js2n__-refsenv."_js2n__-:definitions/string!predicate", lfs = @@ -2658,6 +2678,12 @@ let rec _js2n__-refsenv _js2n__-refsenv."_js2n__-:definitions/stepTarget!predicate", timeoutInMinutes = _js2n__-refsenv."_js2n__-:definitions/nonEmptyString!predicate", + workspaceRepo = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.enum [ "true", "false" ], + _js2n__-refsenv."_js2n__-:definitions/string!predicate" + ], } {} false _js2n__-prdslib.never ], _js2n__-prdslib.allOf @@ -2993,56 +3019,6 @@ let rec _js2n__-refsenv _js2n__-prdslib.strings.pattern "^PowerShell@1$", } {} true _js2n__-prdslib.always ], - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.records.required [ "inputs", "task" ], - _js2n__-prdslib.records.record - { - inputs = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.records.required - [ "azureSubscription" ], - _js2n__-prdslib.records.record - { - FailOnStandardError = - _js2n__-prdslib.isType '"Bool", - Inline = _js2n__-prdslib.isType '"String", - RestrictContextToCurrentTask = - _js2n__-prdslib.isType '"Bool", - ScriptArguments = - _js2n__-prdslib.isType '"String", - ScriptPath = - _js2n__-prdslib.isType '"String", - ScriptType = - _js2n__-prdslib.enum - [ "FilePath", "InlineScript" ], - azurePowerShellVersion = - _js2n__-prdslib.enum - [ "LatestVersion", "OtherVersion" ], - azureSubscription = - _js2n__-prdslib.isType '"String", - errorActionPreference = - _js2n__-prdslib.enum - [ - "stop", - "continue", - "silentlyContinue" - ], - preferredAzurePowerShellVersion = - _js2n__-prdslib.isType '"String", - pwsh = _js2n__-prdslib.isType '"Bool", - validateScriptSignature = - _js2n__-prdslib.isType '"Bool", - workingDirectory = - _js2n__-prdslib.isType '"String", - } {} false _js2n__-prdslib.never - ], - task = - _js2n__-prdslib.strings.pattern - "^AzurePowerShell@4$", - } {} true _js2n__-prdslib.always - ], _js2n__-prdslib.allOf [ _js2n__-prdslib.records.required [ "task" ], @@ -3128,33 +3104,52 @@ let rec _js2n__-refsenv ], _js2n__-prdslib.allOf [ - _js2n__-prdslib.records.required [ "task" ], + _js2n__-prdslib.records.required [ "inputs", "task" ], _js2n__-prdslib.records.record { inputs = - _js2n__-prdslib.records.record - { - ConnectedServiceName = - _js2n__-prdslib.isType '"String", - ConnectedServiceNameARM = - _js2n__-prdslib.isType '"String", - ConnectedServiceNameSelector = - _js2n__-prdslib.enum - [ - "ConnectedServiceName", - "ConnectedServiceNameARM" - ], - Inline = _js2n__-prdslib.isType '"String", - ScriptArguments = - _js2n__-prdslib.isType '"String", - ScriptPath = _js2n__-prdslib.isType '"String", - ScriptType = - _js2n__-prdslib.enum - [ "FilePath", "InlineScript" ], - } {} false _js2n__-prdslib.never, + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required + [ "azureSubscription" ], + _js2n__-prdslib.records.record + { + FailOnStandardError = + _js2n__-prdslib.isType '"Bool", + Inline = _js2n__-prdslib.isType '"String", + RestrictContextToCurrentTask = + _js2n__-prdslib.isType '"Bool", + ScriptArguments = + _js2n__-prdslib.isType '"String", + ScriptPath = + _js2n__-prdslib.isType '"String", + ScriptType = + _js2n__-prdslib.enum + [ "FilePath", "InlineScript" ], + azurePowerShellVersion = + _js2n__-prdslib.enum + [ "LatestVersion", "OtherVersion" ], + azureSubscription = + _js2n__-prdslib.isType '"String", + errorActionPreference = + _js2n__-prdslib.enum + [ + "stop", + "continue", + "silentlyContinue" + ], + preferredAzurePowerShellVersion = + _js2n__-prdslib.isType '"String", + pwsh = _js2n__-prdslib.isType '"Bool", + validateScriptSignature = + _js2n__-prdslib.isType '"Bool", + workingDirectory = + _js2n__-prdslib.isType '"String", + } {} false _js2n__-prdslib.never + ], task = _js2n__-prdslib.strings.pattern - "^AzurePowerShell@1$", + "^AzurePowerShell@4$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -3205,6 +3200,37 @@ let rec _js2n__-refsenv "^AzurePowerShell@5$", } {} true _js2n__-prdslib.always ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required [ "task" ], + _js2n__-prdslib.records.record + { + inputs = + _js2n__-prdslib.records.record + { + ConnectedServiceName = + _js2n__-prdslib.isType '"String", + ConnectedServiceNameARM = + _js2n__-prdslib.isType '"String", + ConnectedServiceNameSelector = + _js2n__-prdslib.enum + [ + "ConnectedServiceName", + "ConnectedServiceNameARM" + ], + Inline = _js2n__-prdslib.isType '"String", + ScriptArguments = + _js2n__-prdslib.isType '"String", + ScriptPath = _js2n__-prdslib.isType '"String", + ScriptType = + _js2n__-prdslib.enum + [ "FilePath", "InlineScript" ], + } {} false _js2n__-prdslib.never, + task = + _js2n__-prdslib.strings.pattern + "^AzurePowerShell@1$", + } {} true _js2n__-prdslib.always + ], _js2n__-prdslib.allOf [ _js2n__-prdslib.records.required [ "inputs", "task" ], @@ -3269,6 +3295,9 @@ let rec _js2n__-refsenv { artifactFeeds = _js2n__-prdslib.isType '"String", + azureDevOpsServiceConnection = + _js2n__-prdslib.isType '"String", + feedUrl = _js2n__-prdslib.isType '"String", onlyAddExtraIndex = _js2n__-prdslib.isType '"Bool", pythonDownloadServiceConnections = @@ -3304,10 +3333,6 @@ let rec _js2n__-refsenv codeCoverageToolOption = _js2n__-prdslib.enum [ "None", "Cobertura", "JaCoCo" ], - effectivePomSkip = - _js2n__-prdslib.isType '"Bool", - failWhenBugsFound = - _js2n__-prdslib.isType '"Bool", findBugsRunAnalysis = _js2n__-prdslib.isType '"Bool", goals = _js2n__-prdslib.isType '"String", @@ -3351,13 +3376,6 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"Bool", sonarQubeRunAnalysis = _js2n__-prdslib.isType '"Bool", - spotBugsGoal = - _js2n__-prdslib.enum - [ "spotbugs", "check" ], - spotBugsRunAnalysis = - _js2n__-prdslib.isType '"Bool", - spotBugsVersion = - _js2n__-prdslib.isType '"String", sqMavenPluginVersionChoice = _js2n__-prdslib.enum [ "latest", "pom" ], testResultsFiles = @@ -3365,7 +3383,7 @@ let rec _js2n__-refsenv testRunTitle = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never, - task = _js2n__-prdslib.strings.pattern "^Maven@4$", + task = _js2n__-prdslib.strings.pattern "^Maven@2$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -3393,6 +3411,10 @@ let rec _js2n__-refsenv codeCoverageToolOption = _js2n__-prdslib.enum [ "None", "Cobertura", "JaCoCo" ], + effectivePomSkip = + _js2n__-prdslib.isType '"Bool", + failWhenBugsFound = + _js2n__-prdslib.isType '"Bool", findBugsRunAnalysis = _js2n__-prdslib.isType '"Bool", goals = _js2n__-prdslib.isType '"String", @@ -3436,6 +3458,13 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"Bool", sonarQubeRunAnalysis = _js2n__-prdslib.isType '"Bool", + spotBugsGoal = + _js2n__-prdslib.enum + [ "spotbugs", "check" ], + spotBugsRunAnalysis = + _js2n__-prdslib.isType '"Bool", + spotBugsVersion = + _js2n__-prdslib.isType '"String", sqMavenPluginVersionChoice = _js2n__-prdslib.enum [ "latest", "pom" ], testResultsFiles = @@ -3443,7 +3472,7 @@ let rec _js2n__-refsenv testRunTitle = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never, - task = _js2n__-prdslib.strings.pattern "^Maven@2$", + task = _js2n__-prdslib.strings.pattern "^Maven@3$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -3456,6 +3485,8 @@ let rec _js2n__-refsenv { allowBrokenSymlinks = _js2n__-prdslib.isType '"Bool", + azureSubscription = + _js2n__-prdslib.isType '"String", checkStyleRunAnalysis = _js2n__-prdslib.isType '"Bool", codeCoverageClassFilesDirectories = @@ -3532,7 +3563,7 @@ let rec _js2n__-refsenv testRunTitle = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never, - task = _js2n__-prdslib.strings.pattern "^Maven@3$", + task = _js2n__-prdslib.strings.pattern "^Maven@4$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -3631,6 +3662,8 @@ let rec _js2n__-refsenv _js2n__-prdslib.records.record { arguments = _js2n__-prdslib.isType '"String", + azureSubscription = + _js2n__-prdslib.isType '"String", buildProperties = _js2n__-prdslib.isType '"String", command = @@ -3818,163 +3851,7 @@ let rec _js2n__-refsenv ], _js2n__-prdslib.allOf [ - _js2n__-prdslib.records.required [ "task" ], - _js2n__-prdslib.records.record - { - inputs = - _js2n__-prdslib.records.record - { - AdditionalArguments = - _js2n__-prdslib.isType '"String", - AppSettings = - _js2n__-prdslib.isType '"String", - ConfigurationSettings = - _js2n__-prdslib.isType '"String", - ConnectionType = - _js2n__-prdslib.enum - [ "AzureRM", "PublishProfile" ], - DeploymentType = - _js2n__-prdslib.enum - [ - "webDeploy", - "zipDeploy", - "runFromZip" - ], - DockerImageTag = - _js2n__-prdslib.isType '"String", - DockerNamespace = - _js2n__-prdslib.isType '"String", - DockerRepository = - _js2n__-prdslib.isType '"String", - ExcludeFilesFromAppDataFlag = - _js2n__-prdslib.isType '"Bool", - InlineScript = - _js2n__-prdslib.isType '"String", - JSONFiles = _js2n__-prdslib.isType '"String", - PublishProfilePassword = - _js2n__-prdslib.isType '"String", - PublishProfilePath = - _js2n__-prdslib.isType '"String", - RemoveAdditionalFilesFlag = - _js2n__-prdslib.isType '"Bool", - RenameFilesFlag = - _js2n__-prdslib.isType '"Bool", - ResourceGroupName = - _js2n__-prdslib.isType '"String", - RuntimeStack = - _js2n__-prdslib.isType '"String", - RuntimeStackFunction = - _js2n__-prdslib.enum - [ - "DOTNET|2.2", - "DOTNET|3.1", - "JAVA|8", - "JAVA|11", - "NODE|8", - "NODE|10", - "NODE|12", - "NODE|14", - "PYTHON|3.6", - "PYTHON|3.7", - "PYTHON|3.8" - ], - ScriptPath = _js2n__-prdslib.isType '"String", - ScriptType = - _js2n__-prdslib.enum - [ "", "Inline Script", "File Path" ], - SetParametersFile = - _js2n__-prdslib.isType '"String", - SlotName = _js2n__-prdslib.isType '"String", - StartupCommand = - _js2n__-prdslib.isType '"String", - TakeAppOfflineFlag = - _js2n__-prdslib.isType '"Bool", - VirtualApplication = - _js2n__-prdslib.isType '"String", - WebAppName = _js2n__-prdslib.isType '"String", - WebConfigParameters = - _js2n__-prdslib.isType '"String", - appType = - _js2n__-prdslib.enum - [ - "webApp", - "webAppLinux", - "webAppContainer", - "webAppHyperVContainer", - "functionApp", - "functionAppLinux", - "functionAppContainer", - "apiApp", - "mobileApp" - ], - azureSubscription = - _js2n__-prdslib.isType '"String", - deployToSlotOrASE = - _js2n__-prdslib.isType '"Bool", - enableCustomDeployment = - _js2n__-prdslib.isType '"Bool", - enableXmlTransform = - _js2n__-prdslib.isType '"Bool", - enableXmlVariableSubstitution = - _js2n__-prdslib.isType '"Bool", - packageForLinux = - _js2n__-prdslib.isType '"String", - } {} false _js2n__-prdslib.never, - task = - _js2n__-prdslib.strings.pattern - "^AzureRmWebAppDeployment@4$", - } {} true _js2n__-prdslib.always - ], - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.records.required [ "inputs", "task" ], - _js2n__-prdslib.records.record - { - inputs = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.records.required - [ "ConnectedServiceName", "WebAppName" ], - _js2n__-prdslib.records.record - { - AdditionalArguments = - _js2n__-prdslib.isType '"String", - ConnectedServiceName = - _js2n__-prdslib.isType '"String", - DeployToSlotFlag = - _js2n__-prdslib.isType '"Bool", - ExcludeFilesFromAppDataFlag = - _js2n__-prdslib.isType '"Bool", - Package = - _js2n__-prdslib.isType '"String", - RemoveAdditionalFilesFlag = - _js2n__-prdslib.isType '"Bool", - ResourceGroupName = - _js2n__-prdslib.isType '"String", - SetParametersFile = - _js2n__-prdslib.isType '"String", - SlotName = - _js2n__-prdslib.isType '"String", - TakeAppOfflineFlag = - _js2n__-prdslib.isType '"Bool", - UseWebDeploy = - _js2n__-prdslib.isType '"Bool", - VirtualApplication = - _js2n__-prdslib.isType '"String", - WebAppName = - _js2n__-prdslib.isType '"String", - WebAppUri = - _js2n__-prdslib.isType '"String", - } {} false _js2n__-prdslib.never - ], - task = - _js2n__-prdslib.strings.pattern - "^AzureRmWebAppDeployment@2$", - } {} true _js2n__-prdslib.always - ], - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.records.required [ "inputs", "task" ], + _js2n__-prdslib.records.required [ "inputs", "task" ], _js2n__-prdslib.records.record { inputs = @@ -4084,7 +3961,212 @@ let rec _js2n__-refsenv ], task = _js2n__-prdslib.strings.pattern - "^AzureRmWebAppDeployment@3$", + "^AzureRmWebAppDeployment@3$", + } {} true _js2n__-prdslib.always + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required [ "inputs", "task" ], + _js2n__-prdslib.records.record + { + inputs = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required + [ "ConnectedServiceName", "WebAppName" ], + _js2n__-prdslib.records.record + { + AdditionalArguments = + _js2n__-prdslib.isType '"String", + ConnectedServiceName = + _js2n__-prdslib.isType '"String", + DeployToSlotFlag = + _js2n__-prdslib.isType '"Bool", + ExcludeFilesFromAppDataFlag = + _js2n__-prdslib.isType '"Bool", + Package = + _js2n__-prdslib.isType '"String", + RemoveAdditionalFilesFlag = + _js2n__-prdslib.isType '"Bool", + ResourceGroupName = + _js2n__-prdslib.isType '"String", + SetParametersFile = + _js2n__-prdslib.isType '"String", + SlotName = + _js2n__-prdslib.isType '"String", + TakeAppOfflineFlag = + _js2n__-prdslib.isType '"Bool", + UseWebDeploy = + _js2n__-prdslib.isType '"Bool", + VirtualApplication = + _js2n__-prdslib.isType '"String", + WebAppName = + _js2n__-prdslib.isType '"String", + WebAppUri = + _js2n__-prdslib.isType '"String", + } {} false _js2n__-prdslib.never + ], + task = + _js2n__-prdslib.strings.pattern + "^AzureRmWebAppDeployment@2$", + } {} true _js2n__-prdslib.always + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required [ "inputs", "task" ], + _js2n__-prdslib.records.record + { + inputs = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required + [ + "ConnectedServiceName", + "Package", + "WebAppName" + ], + _js2n__-prdslib.records.record + { + AdditionalArguments = + _js2n__-prdslib.isType '"String", + ConnectedServiceName = + _js2n__-prdslib.isType '"String", + DeployToSlotFlag = + _js2n__-prdslib.isType '"Bool", + ExcludeFilesFromAppDataFlag = + _js2n__-prdslib.isType '"Bool", + Package = + _js2n__-prdslib.isType '"String", + RemoveAdditionalFilesFlag = + _js2n__-prdslib.isType '"Bool", + ResourceGroupName = + _js2n__-prdslib.isType '"String", + SetParametersFile = + _js2n__-prdslib.isType '"String", + SlotName = + _js2n__-prdslib.isType '"String", + TakeAppOfflineFlag = + _js2n__-prdslib.isType '"Bool", + VirtualApplication = + _js2n__-prdslib.isType '"String", + WebAppName = + _js2n__-prdslib.isType '"String", + WebAppUri = + _js2n__-prdslib.isType '"String", + } {} false _js2n__-prdslib.never + ], + task = + _js2n__-prdslib.strings.pattern + "^AzureRMWebAppDeployment@1$", + } {} true _js2n__-prdslib.always + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required [ "task" ], + _js2n__-prdslib.records.record + { + inputs = + _js2n__-prdslib.records.record + { + AdditionalArguments = + _js2n__-prdslib.isType '"String", + AppSettings = + _js2n__-prdslib.isType '"String", + ConfigurationSettings = + _js2n__-prdslib.isType '"String", + ConnectionType = + _js2n__-prdslib.enum + [ "AzureRM", "PublishProfile" ], + DeploymentType = + _js2n__-prdslib.enum + [ + "webDeploy", + "zipDeploy", + "runFromZip" + ], + DockerImageTag = + _js2n__-prdslib.isType '"String", + DockerNamespace = + _js2n__-prdslib.isType '"String", + DockerRepository = + _js2n__-prdslib.isType '"String", + ExcludeFilesFromAppDataFlag = + _js2n__-prdslib.isType '"Bool", + InlineScript = + _js2n__-prdslib.isType '"String", + JSONFiles = _js2n__-prdslib.isType '"String", + PublishProfilePassword = + _js2n__-prdslib.isType '"String", + PublishProfilePath = + _js2n__-prdslib.isType '"String", + RemoveAdditionalFilesFlag = + _js2n__-prdslib.isType '"Bool", + RenameFilesFlag = + _js2n__-prdslib.isType '"Bool", + ResourceGroupName = + _js2n__-prdslib.isType '"String", + RuntimeStack = + _js2n__-prdslib.isType '"String", + RuntimeStackFunction = + _js2n__-prdslib.enum + [ + "DOTNET|2.2", + "DOTNET|3.1", + "JAVA|8", + "JAVA|11", + "NODE|8", + "NODE|10", + "NODE|12", + "NODE|14", + "PYTHON|3.6", + "PYTHON|3.7", + "PYTHON|3.8" + ], + ScriptPath = _js2n__-prdslib.isType '"String", + ScriptType = + _js2n__-prdslib.enum + [ "", "Inline Script", "File Path" ], + SetParametersFile = + _js2n__-prdslib.isType '"String", + SlotName = _js2n__-prdslib.isType '"String", + StartupCommand = + _js2n__-prdslib.isType '"String", + TakeAppOfflineFlag = + _js2n__-prdslib.isType '"Bool", + VirtualApplication = + _js2n__-prdslib.isType '"String", + WebAppName = _js2n__-prdslib.isType '"String", + WebConfigParameters = + _js2n__-prdslib.isType '"String", + appType = + _js2n__-prdslib.enum + [ + "webApp", + "webAppLinux", + "webAppContainer", + "webAppHyperVContainer", + "functionApp", + "functionAppLinux", + "functionAppContainer", + "apiApp", + "mobileApp" + ], + azureSubscription = + _js2n__-prdslib.isType '"String", + deployToSlotOrASE = + _js2n__-prdslib.isType '"Bool", + enableCustomDeployment = + _js2n__-prdslib.isType '"Bool", + enableXmlTransform = + _js2n__-prdslib.isType '"Bool", + enableXmlVariableSubstitution = + _js2n__-prdslib.isType '"Bool", + packageForLinux = + _js2n__-prdslib.isType '"String", + } {} false _js2n__-prdslib.never, + task = + _js2n__-prdslib.strings.pattern + "^AzureRmWebAppDeployment@4$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -4250,17 +4332,24 @@ let rec _js2n__-refsenv [ "summaryFileLocation" ], _js2n__-prdslib.records.record { + additionalCodeCoverageFiles = + _js2n__-prdslib.isType '"String", + codeCoverageTool = + _js2n__-prdslib.enum + [ "Cobertura", "JaCoCo" ], failIfCoverageEmpty = _js2n__-prdslib.isType '"Bool", pathToSources = _js2n__-prdslib.isType '"String", + reportDirectory = + _js2n__-prdslib.isType '"String", summaryFileLocation = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], task = _js2n__-prdslib.strings.pattern - "^PublishCodeCoverageResults@2$", + "^PublishCodeCoverageResults@1$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -4275,24 +4364,17 @@ let rec _js2n__-refsenv [ "summaryFileLocation" ], _js2n__-prdslib.records.record { - additionalCodeCoverageFiles = - _js2n__-prdslib.isType '"String", - codeCoverageTool = - _js2n__-prdslib.enum - [ "Cobertura", "JaCoCo" ], failIfCoverageEmpty = _js2n__-prdslib.isType '"Bool", pathToSources = _js2n__-prdslib.isType '"String", - reportDirectory = - _js2n__-prdslib.isType '"String", summaryFileLocation = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], task = _js2n__-prdslib.strings.pattern - "^PublishCodeCoverageResults@1$", + "^PublishCodeCoverageResults@2$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -4357,39 +4439,48 @@ let rec _js2n__-refsenv inputs = _js2n__-prdslib.records.record { - emailRecipients = + instructions = _js2n__-prdslib.isType '"String", + } {} false _js2n__-prdslib.never, + task = + _js2n__-prdslib.strings.pattern + "^ManualIntervention@6$", + } {} true _js2n__-prdslib.always + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required [ "task" ], + _js2n__-prdslib.records.record + { + inputs = + _js2n__-prdslib.records.record + { instructions = _js2n__-prdslib.isType '"String", - onTimeout = - _js2n__-prdslib.enum [ "reject", "resume" ], } {} false _js2n__-prdslib.never, task = _js2n__-prdslib.strings.pattern - "^ManualIntervention@8$", + "^ManualIntervention@7$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf [ - _js2n__-prdslib.records.required [ "inputs", "task" ], + _js2n__-prdslib.records.required [ "task" ], _js2n__-prdslib.records.record { inputs = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.records.required - [ "provProfileSecureFile" ], - _js2n__-prdslib.records.record - { - provProfileSecureFile = - _js2n__-prdslib.isType '"String", - removeProfile = - _js2n__-prdslib.isType '"Bool", - } {} false _js2n__-prdslib.never - ], + _js2n__-prdslib.records.record + { + emailRecipients = + _js2n__-prdslib.isType '"String", + instructions = + _js2n__-prdslib.isType '"String", + onTimeout = + _js2n__-prdslib.enum [ "reject", "resume" ], + } {} false _js2n__-prdslib.never, task = _js2n__-prdslib.strings.pattern - "^InstallAppleProvisioningProfile@0$", + "^ManualIntervention@8$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -4415,6 +4506,29 @@ let rec _js2n__-refsenv "^InstallAppleProvisioningProfile@1$", } {} true _js2n__-prdslib.always ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required [ "inputs", "task" ], + _js2n__-prdslib.records.record + { + inputs = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required + [ "provProfileSecureFile" ], + _js2n__-prdslib.records.record + { + provProfileSecureFile = + _js2n__-prdslib.isType '"String", + removeProfile = + _js2n__-prdslib.isType '"Bool", + } {} false _js2n__-prdslib.never + ], + task = + _js2n__-prdslib.strings.pattern + "^InstallAppleProvisioningProfile@0$", + } {} true _js2n__-prdslib.always + ], _js2n__-prdslib.allOf [ _js2n__-prdslib.records.required [ "task" ], @@ -4638,42 +4752,6 @@ let rec _js2n__-refsenv task = _js2n__-prdslib.strings.pattern "^Docker@0$", } {} true _js2n__-prdslib.always ], - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.records.required [ "task" ], - _js2n__-prdslib.records.record - { - inputs = - _js2n__-prdslib.records.record - { - Dockerfile = _js2n__-prdslib.isType '"String", - addBaseImageData = - _js2n__-prdslib.isType '"Bool", - addPipelineData = - _js2n__-prdslib.isType '"Bool", - arguments = _js2n__-prdslib.isType '"String", - buildContext = - _js2n__-prdslib.isType '"String", - command = - _js2n__-prdslib.enum - [ - "buildAndPush", - "build", - "push", - "login", - "logout", - "start", - "stop" - ], - container = _js2n__-prdslib.isType '"String", - containerRegistry = - _js2n__-prdslib.isType '"String", - repository = _js2n__-prdslib.isType '"String", - tags = _js2n__-prdslib.isType '"String", - } {} false _js2n__-prdslib.never, - task = _js2n__-prdslib.strings.pattern "^Docker@2$", - } {} true _js2n__-prdslib.always - ], _js2n__-prdslib.allOf [ _js2n__-prdslib.records.required [ "task" ], @@ -4764,6 +4842,42 @@ let rec _js2n__-refsenv task = _js2n__-prdslib.strings.pattern "^Docker@1$", } {} true _js2n__-prdslib.always ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required [ "task" ], + _js2n__-prdslib.records.record + { + inputs = + _js2n__-prdslib.records.record + { + Dockerfile = _js2n__-prdslib.isType '"String", + addBaseImageData = + _js2n__-prdslib.isType '"Bool", + addPipelineData = + _js2n__-prdslib.isType '"Bool", + arguments = _js2n__-prdslib.isType '"String", + buildContext = + _js2n__-prdslib.isType '"String", + command = + _js2n__-prdslib.enum + [ + "buildAndPush", + "build", + "push", + "login", + "logout", + "start", + "stop" + ], + container = _js2n__-prdslib.isType '"String", + containerRegistry = + _js2n__-prdslib.isType '"String", + repository = _js2n__-prdslib.isType '"String", + tags = _js2n__-prdslib.isType '"String", + } {} false _js2n__-prdslib.never, + task = _js2n__-prdslib.strings.pattern "^Docker@2$", + } {} true _js2n__-prdslib.always + ], _js2n__-prdslib.allOf [ _js2n__-prdslib.records.required [ "inputs", "task" ], @@ -4780,23 +4894,29 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"Bool", capturePipeline = _js2n__-prdslib.isType '"Bool", + delayBetweenRetries = + _js2n__-prdslib.isType '"String", + failOnUnstableResult = + _js2n__-prdslib.isType '"Bool", isMultibranchJob = _js2n__-prdslib.isType '"Bool", + isParameterizedJob = + _js2n__-prdslib.isType '"Bool", jobName = _js2n__-prdslib.isType '"String", jobParameters = _js2n__-prdslib.isType '"String", multibranchPipelineBranch = _js2n__-prdslib.isType '"String", - parameterizedJob = - _js2n__-prdslib.isType '"Bool", + retryCount = + _js2n__-prdslib.isType '"String", serverEndpoint = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], task = _js2n__-prdslib.strings.pattern - "^JenkinsQueueJob@1$", + "^JenkinsQueueJob@2$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -4815,29 +4935,23 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"Bool", capturePipeline = _js2n__-prdslib.isType '"Bool", - delayBetweenRetries = - _js2n__-prdslib.isType '"String", - failOnUnstableResult = - _js2n__-prdslib.isType '"Bool", isMultibranchJob = _js2n__-prdslib.isType '"Bool", - isParameterizedJob = - _js2n__-prdslib.isType '"Bool", jobName = _js2n__-prdslib.isType '"String", jobParameters = _js2n__-prdslib.isType '"String", multibranchPipelineBranch = _js2n__-prdslib.isType '"String", - retryCount = - _js2n__-prdslib.isType '"String", + parameterizedJob = + _js2n__-prdslib.isType '"Bool", serverEndpoint = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], task = _js2n__-prdslib.strings.pattern - "^JenkinsQueueJob@2$", + "^JenkinsQueueJob@1$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -5078,6 +5192,9 @@ let rec _js2n__-refsenv { artifactFeed = _js2n__-prdslib.isType '"String", + azureDevOpsServiceConnection = + _js2n__-prdslib.isType '"String", + feedUrl = _js2n__-prdslib.isType '"String", pythonUploadServiceConnection = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never, @@ -5198,7 +5315,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.records.record { nodeVersion = - _js2n__-prdslib.enum [ "6", "10" ], + _js2n__-prdslib.enum [ "6", "10", "16" ], } {} false _js2n__-prdslib.never, task = _js2n__-prdslib.strings.pattern @@ -5261,6 +5378,9 @@ let rec _js2n__-refsenv inputs = _js2n__-prdslib.records.record { + azureDevOpsServiceConnection = + _js2n__-prdslib.isType '"String", + feedUrl = _js2n__-prdslib.isType '"String", forceReinstallCredentialProvider = _js2n__-prdslib.isType '"Bool", nuGetServiceConnections = @@ -5310,12 +5430,54 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", mavenServiceConnections = _js2n__-prdslib.isType '"String", + workloadIdentityServiceConnection = + _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never, task = _js2n__-prdslib.strings.pattern "^MavenAuthenticate@0$", } {} true _js2n__-prdslib.always ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required [ "inputs", "task" ], + _js2n__-prdslib.records.record + { + inputs = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required + [ + "AppConfigurationEndpoint", + "azureSubscription" + ], + _js2n__-prdslib.records.record + { + AppConfigurationEndpoint = + _js2n__-prdslib.isType '"String", + KeyFilter = + _js2n__-prdslib.isType '"String", + Label = _js2n__-prdslib.isType '"String", + SelectionMode = + _js2n__-prdslib.enum + [ "Default", "Snapshot" ], + SnapshotName = + _js2n__-prdslib.isType '"String", + SuppressWarningForOverriddenKeys = + _js2n__-prdslib.isType '"Bool", + TreatKeyVaultErrorsAsWarning = + _js2n__-prdslib.isType '"Bool", + TrimKeyPrefix = + _js2n__-prdslib.isType '"String", + azureSubscription = + _js2n__-prdslib.isType '"String", + } {} false _js2n__-prdslib.never + ], + task = + _js2n__-prdslib.strings.pattern + "^AzureAppConfigurationExport@10$", + } {} true _js2n__-prdslib.always + ], _js2n__-prdslib.allOf [ _js2n__-prdslib.records.required [ "inputs", "task" ], @@ -5432,7 +5594,7 @@ let rec _js2n__-refsenv [ "appName", "appType", - "azureSubscription" + "connectedServiceNameARM" ], _js2n__-prdslib.records.record { @@ -5446,11 +5608,7 @@ let rec _js2n__-refsenv "functionApp", "functionAppLinux" ], - azureSubscription = - _js2n__-prdslib.isType '"String", - configurationStrings = - _js2n__-prdslib.isType '"String", - customWebConfig = + connectedServiceNameARM = _js2n__-prdslib.isType '"String", deployToSlotOrASE = _js2n__-prdslib.isType '"Bool", @@ -5461,6 +5619,8 @@ let rec _js2n__-refsenv "zipDeploy", "runFromPackage" ], + isFlexConsumption = + _js2n__-prdslib.isType '"Bool", package = _js2n__-prdslib.isType '"String", resourceGroupName = @@ -5468,30 +5628,30 @@ let rec _js2n__-refsenv runtimeStack = _js2n__-prdslib.enum [ - "DOTNET|2.2", - "DOTNET|3.1", "DOTNET|6.0", + "DOTNET-ISOLATED|6.0", + "DOTNET-ISOLATED|7.0", + "DOTNET-ISOLATED|8.0", "JAVA|8", "JAVA|11", - "NODE|8", - "NODE|10", - "NODE|12", + "JAVA|17", + "JAVA|21", "NODE|14", "NODE|16", - "PYTHON|3.6", - "PYTHON|3.7", + "NODE|18", + "NODE|20", "PYTHON|3.8", - "PYTHON|3.9" + "PYTHON|3.9", + "PYTHON|3.10", + "PYTHON|3.11" ], slotName = _js2n__-prdslib.isType '"String", - startUpCommand = - _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], task = _js2n__-prdslib.strings.pattern - "^AzureFunctionApp@1$", + "^AzureFunctionApp@2$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -5506,7 +5666,7 @@ let rec _js2n__-refsenv [ "appName", "appType", - "connectedServiceNameARM" + "azureSubscription" ], _js2n__-prdslib.records.record { @@ -5520,7 +5680,11 @@ let rec _js2n__-refsenv "functionApp", "functionAppLinux" ], - connectedServiceNameARM = + azureSubscription = + _js2n__-prdslib.isType '"String", + configurationStrings = + _js2n__-prdslib.isType '"String", + customWebConfig = _js2n__-prdslib.isType '"String", deployToSlotOrASE = _js2n__-prdslib.isType '"Bool", @@ -5538,31 +5702,32 @@ let rec _js2n__-refsenv runtimeStack = _js2n__-prdslib.enum [ - "DOTNET|2.2", - "DOTNET|3.1", "DOTNET|6.0", + "DOTNET-ISOLATED|6.0", "DOTNET-ISOLATED|7.0", + "DOTNET-ISOLATED|8.0", "JAVA|8", "JAVA|11", - "NODE|8", - "NODE|10", - "NODE|12", + "JAVA|17", + "JAVA|21", "NODE|14", "NODE|16", "NODE|18", - "PYTHON|3.6", - "PYTHON|3.7", + "NODE|20", "PYTHON|3.8", "PYTHON|3.9", - "PYTHON|3.10" + "PYTHON|3.10", + "PYTHON|3.11" ], slotName = _js2n__-prdslib.isType '"String", + startUpCommand = + _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], task = _js2n__-prdslib.strings.pattern - "^AzureFunctionApp@2$", + "^AzureFunctionApp@1$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -5577,8 +5742,12 @@ let rec _js2n__-refsenv [ "workingFile" ], _js2n__-prdslib.records.record { + azureDevOpsServiceConnection = + _js2n__-prdslib.isType '"String", customEndpoint = _js2n__-prdslib.isType '"String", + feedUrl = + _js2n__-prdslib.isType '"String", workingFile = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never @@ -5850,6 +6019,44 @@ let rec _js2n__-refsenv _js2n__-prdslib.strings.pattern "^NuGetPackager@0$", } {} true _js2n__-prdslib.always ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required [ "inputs", "task" ], + _js2n__-prdslib.records.record + { + inputs = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required + [ + "AppConfigurationEndpoint", + "Filters", + "SnapshotName", + "azureSubscription" + ], + _js2n__-prdslib.records.record + { + AppConfigurationEndpoint = + _js2n__-prdslib.isType '"String", + CompositionType = + _js2n__-prdslib.enum + [ "key", "key_label" ], + Filters = + _js2n__-prdslib.isType '"String", + RetentionPeriod = + _js2n__-prdslib.isType 'Integer, + SnapshotName = + _js2n__-prdslib.isType '"String", + Tags = _js2n__-prdslib.isType '"String", + azureSubscription = + _js2n__-prdslib.isType '"String", + } {} false _js2n__-prdslib.never + ], + task = + _js2n__-prdslib.strings.pattern + "^AzureAppConfigurationSnapshot@1$", + } {} true _js2n__-prdslib.always + ], _js2n__-prdslib.allOf [ _js2n__-prdslib.records.required [ "task" ], @@ -6072,6 +6279,10 @@ let rec _js2n__-refsenv selfSigned = _js2n__-prdslib.isType '"Bool", signatureFormat = _js2n__-prdslib.enum [ "cose", "jws" ], + timestampRootCert = + _js2n__-prdslib.isType '"String", + timestampURL = + _js2n__-prdslib.isType '"String", trustPolicy = _js2n__-prdslib.isType '"String", trustStore = _js2n__-prdslib.isType '"String", @@ -6263,6 +6474,94 @@ let rec _js2n__-refsenv _js2n__-prdslib.strings.pattern "^DockerCompose@0$", } {} true _js2n__-prdslib.always ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required [ "task" ], + _js2n__-prdslib.records.record + { + inputs = + _js2n__-prdslib.records.record + { + abortOnContainerExit = + _js2n__-prdslib.isType '"Bool", + action = + _js2n__-prdslib.enum + [ + "Build services", + "Push services", + "Run services", + "Run a specific service", + "Lock services", + "Write service image digests", + "Combine configuration", + "Run a Docker Compose command" + ], + additionalDockerComposeFiles = + _js2n__-prdslib.isType '"String", + additionalImageTags = + _js2n__-prdslib.isType '"String", + arguments = _js2n__-prdslib.isType '"String", + azureContainerRegistry = + _js2n__-prdslib.isType '"String", + azureSubscription = + _js2n__-prdslib.isType '"String", + baseResolveDirectory = + _js2n__-prdslib.isType '"String", + buildImages = _js2n__-prdslib.isType '"Bool", + containerCommand = + _js2n__-prdslib.isType '"String", + containerName = + _js2n__-prdslib.isType '"String", + containerregistrytype = + _js2n__-prdslib.enum + [ + "Azure Container Registry", + "Container Registry" + ], + currentWorkingDirectory = + _js2n__-prdslib.isType '"String", + detached = _js2n__-prdslib.isType '"Bool", + dockerComposeCommand = + _js2n__-prdslib.isType '"String", + dockerComposeFile = + _js2n__-prdslib.isType '"String", + dockerComposeFileArgs = + _js2n__-prdslib.isType '"String", + dockerComposePath = + _js2n__-prdslib.isType '"String", + dockerHostEndpoint = + _js2n__-prdslib.isType '"String", + dockerRegistryEndpoint = + _js2n__-prdslib.isType '"String", + entrypoint = _js2n__-prdslib.isType '"String", + imageDigestComposeFile = + _js2n__-prdslib.isType '"String", + includeLatestTag = + _js2n__-prdslib.isType '"Bool", + includeSourceTags = + _js2n__-prdslib.isType '"Bool", + nopIfNoDockerComposeFile = + _js2n__-prdslib.isType '"Bool", + outputDockerComposeFile = + _js2n__-prdslib.isType '"String", + ports = _js2n__-prdslib.isType '"String", + projectName = + _js2n__-prdslib.isType '"String", + qualifyImageNames = + _js2n__-prdslib.isType '"Bool", + removeBuildOptions = + _js2n__-prdslib.isType '"Bool", + requireAdditionalDockerComposeFiles = + _js2n__-prdslib.isType '"Bool", + serviceName = + _js2n__-prdslib.isType '"String", + workingDirectory = + _js2n__-prdslib.isType '"String", + } {} false _js2n__-prdslib.never, + task = + _js2n__-prdslib.strings.pattern "^DockerCompose@1$", + } {} true _js2n__-prdslib.always + ], _js2n__-prdslib.allOf [ _js2n__-prdslib.records.required [ "inputs", "task" ], @@ -6498,25 +6797,9 @@ let rec _js2n__-refsenv args = _js2n__-prdslib.isType '"String", configuration = _js2n__-prdslib.isType '"String", - destinationDevices = - _js2n__-prdslib.isType '"String", - destinationPlatform = - _js2n__-prdslib.isType '"String", - destinationPlatformOption = - _js2n__-prdslib.enum - [ - "default", - "iOS", - "tvOS", - "macOS", - "custom" - ], - destinationSimulators = + cwd = _js2n__-prdslib.isType '"String", + defaultKeychainPassword = _js2n__-prdslib.isType '"String", - destinationTypeOption = - _js2n__-prdslib.enum - [ "simulators", "devices" ], - exportArgs = _js2n__-prdslib.isType '"String", exportMethod = _js2n__-prdslib.isType '"String", exportOptions = @@ -6527,51 +6810,43 @@ let rec _js2n__-refsenv exportPath = _js2n__-prdslib.isType '"String", exportTeamId = _js2n__-prdslib.isType '"String", + iosSigningIdentity = + _js2n__-prdslib.isType '"String", + outputPattern = + _js2n__-prdslib.isType '"String", + p12 = _js2n__-prdslib.isType '"String", + p12pwd = _js2n__-prdslib.isType '"String", packageApp = _js2n__-prdslib.isType '"Bool", - provisioningProfileName = + packageTool = + _js2n__-prdslib.enum + [ "xcrun", "xcodebuild" ], + provProfile = _js2n__-prdslib.isType '"String", - provisioningProfileUuid = + provProfileUuid = _js2n__-prdslib.isType '"String", publishJUnitResults = _js2n__-prdslib.isType '"Bool", + removeProfile = + _js2n__-prdslib.isType '"Bool", scheme = _js2n__-prdslib.isType '"String", sdk = _js2n__-prdslib.isType '"String", - signingIdentity = - _js2n__-prdslib.isType '"String", - signingOption = - _js2n__-prdslib.enum - [ - "nosign", - "default", - "manual", - "auto" - ], + signMethod = + _js2n__-prdslib.enum [ "file", "id" ], teamId = _js2n__-prdslib.isType '"String", - testRunTitle = - _js2n__-prdslib.isType '"String", + unlockDefaultKeychain = + _js2n__-prdslib.isType '"Bool", useXcpretty = _js2n__-prdslib.isType '"Bool", - workingDirectory = - _js2n__-prdslib.isType '"String", + useXctool = _js2n__-prdslib.isType '"Bool", xcWorkspacePath = _js2n__-prdslib.isType '"String", + xcode8AutomaticSigning = + _js2n__-prdslib.isType '"Bool", xcodeDeveloperDir = _js2n__-prdslib.isType '"String", - xcodeVersion = - _js2n__-prdslib.enum - [ - "8", - "9", - "10", - "11", - "12", - "13", - "default", - "specifyPath" - ], - xcprettyArgs = + xctoolReporter = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never, - task = _js2n__-prdslib.strings.pattern "^Xcode@5$", + task = _js2n__-prdslib.strings.pattern "^Xcode@2$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -6726,9 +7001,25 @@ let rec _js2n__-refsenv args = _js2n__-prdslib.isType '"String", configuration = _js2n__-prdslib.isType '"String", - cwd = _js2n__-prdslib.isType '"String", - defaultKeychainPassword = + destinationDevices = + _js2n__-prdslib.isType '"String", + destinationPlatform = + _js2n__-prdslib.isType '"String", + destinationPlatformOption = + _js2n__-prdslib.enum + [ + "default", + "iOS", + "tvOS", + "macOS", + "custom" + ], + destinationSimulators = _js2n__-prdslib.isType '"String", + destinationTypeOption = + _js2n__-prdslib.enum + [ "simulators", "devices" ], + exportArgs = _js2n__-prdslib.isType '"String", exportMethod = _js2n__-prdslib.isType '"String", exportOptions = @@ -6739,43 +7030,51 @@ let rec _js2n__-refsenv exportPath = _js2n__-prdslib.isType '"String", exportTeamId = _js2n__-prdslib.isType '"String", - iosSigningIdentity = - _js2n__-prdslib.isType '"String", - outputPattern = - _js2n__-prdslib.isType '"String", - p12 = _js2n__-prdslib.isType '"String", - p12pwd = _js2n__-prdslib.isType '"String", packageApp = _js2n__-prdslib.isType '"Bool", - packageTool = - _js2n__-prdslib.enum - [ "xcrun", "xcodebuild" ], - provProfile = + provisioningProfileName = _js2n__-prdslib.isType '"String", - provProfileUuid = + provisioningProfileUuid = _js2n__-prdslib.isType '"String", publishJUnitResults = _js2n__-prdslib.isType '"Bool", - removeProfile = - _js2n__-prdslib.isType '"Bool", scheme = _js2n__-prdslib.isType '"String", sdk = _js2n__-prdslib.isType '"String", - signMethod = - _js2n__-prdslib.enum [ "file", "id" ], + signingIdentity = + _js2n__-prdslib.isType '"String", + signingOption = + _js2n__-prdslib.enum + [ + "nosign", + "default", + "manual", + "auto" + ], teamId = _js2n__-prdslib.isType '"String", - unlockDefaultKeychain = - _js2n__-prdslib.isType '"Bool", + testRunTitle = + _js2n__-prdslib.isType '"String", useXcpretty = _js2n__-prdslib.isType '"Bool", - useXctool = _js2n__-prdslib.isType '"Bool", + workingDirectory = + _js2n__-prdslib.isType '"String", xcWorkspacePath = _js2n__-prdslib.isType '"String", - xcode8AutomaticSigning = - _js2n__-prdslib.isType '"Bool", xcodeDeveloperDir = _js2n__-prdslib.isType '"String", - xctoolReporter = + xcodeVersion = + _js2n__-prdslib.enum + [ + "8", + "9", + "10", + "11", + "12", + "13", + "default", + "specifyPath" + ], + xcprettyArgs = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never, - task = _js2n__-prdslib.strings.pattern "^Xcode@2$", + task = _js2n__-prdslib.strings.pattern "^Xcode@5$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -6974,11 +7273,10 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", key = _js2n__-prdslib.isType '"String", path = _js2n__-prdslib.isType '"String", - restoreKeys = - _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], - task = _js2n__-prdslib.strings.pattern "^Cache@2$", + task = + _js2n__-prdslib.strings.pattern "^CacheBeta@0$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -6997,10 +7295,11 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", key = _js2n__-prdslib.isType '"String", path = _js2n__-prdslib.isType '"String", + restoreKeys = + _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], - task = - _js2n__-prdslib.strings.pattern "^CacheBeta@0$", + task = _js2n__-prdslib.strings.pattern "^Cache@2$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -7967,9 +8266,6 @@ let rec _js2n__-refsenv args = _js2n__-prdslib.isType '"String", buildForSimulator = _js2n__-prdslib.isType '"Bool", - buildToolOption = - _js2n__-prdslib.enum - [ "xbuild", "msbuild" ], clean = _js2n__-prdslib.isType '"Bool", configuration = _js2n__-prdslib.isType '"String", @@ -7977,31 +8273,17 @@ let rec _js2n__-refsenv packageApp = _js2n__-prdslib.isType '"Bool", runNugetRestore = _js2n__-prdslib.isType '"Bool", - signingDefaultKeychainPassword = - _js2n__-prdslib.isType '"String", signingIdentity = _js2n__-prdslib.isType '"String", - signingOption = - _js2n__-prdslib.enum [ "file", "id" ], - signingP12File = - _js2n__-prdslib.isType '"String", - signingP12Password = - _js2n__-prdslib.isType '"String", - signingProvisioningProfileFile = - _js2n__-prdslib.isType '"String", signingProvisioningProfileID = _js2n__-prdslib.isType '"String", - signingRemoveProfile = - _js2n__-prdslib.isType '"Bool", - signingUnlockDefaultKeychain = - _js2n__-prdslib.isType '"Bool", solutionFile = _js2n__-prdslib.isType '"String", workingDirectory = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never, task = - _js2n__-prdslib.strings.pattern "^XamariniOS@1$", + _js2n__-prdslib.strings.pattern "^XamariniOS@2$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -8015,6 +8297,9 @@ let rec _js2n__-refsenv args = _js2n__-prdslib.isType '"String", buildForSimulator = _js2n__-prdslib.isType '"Bool", + buildToolOption = + _js2n__-prdslib.enum + [ "xbuild", "msbuild" ], clean = _js2n__-prdslib.isType '"Bool", configuration = _js2n__-prdslib.isType '"String", @@ -8022,17 +8307,31 @@ let rec _js2n__-refsenv packageApp = _js2n__-prdslib.isType '"Bool", runNugetRestore = _js2n__-prdslib.isType '"Bool", + signingDefaultKeychainPassword = + _js2n__-prdslib.isType '"String", signingIdentity = _js2n__-prdslib.isType '"String", + signingOption = + _js2n__-prdslib.enum [ "file", "id" ], + signingP12File = + _js2n__-prdslib.isType '"String", + signingP12Password = + _js2n__-prdslib.isType '"String", + signingProvisioningProfileFile = + _js2n__-prdslib.isType '"String", signingProvisioningProfileID = _js2n__-prdslib.isType '"String", + signingRemoveProfile = + _js2n__-prdslib.isType '"Bool", + signingUnlockDefaultKeychain = + _js2n__-prdslib.isType '"Bool", solutionFile = _js2n__-prdslib.isType '"String", workingDirectory = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never, task = - _js2n__-prdslib.strings.pattern "^XamariniOS@2$", + _js2n__-prdslib.strings.pattern "^XamariniOS@1$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -8115,17 +8414,10 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.records.required - [ - "Destination", - "SourcePath", - "azureSubscription", - "storage" - ], + [ "Destination", "SourcePath" ], _js2n__-prdslib.records.record { - AdditionalArgumentsForBlobCopy = - _js2n__-prdslib.isType '"String", - AdditionalArgumentsForVMCopy = + AdditionalArguments = _js2n__-prdslib.isType '"String", BlobPrefix = _js2n__-prdslib.isType '"String", @@ -8147,13 +8439,27 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", TargetPath = _js2n__-prdslib.isType '"String", + azureClassicSubscription = + _js2n__-prdslib.isType '"String", + azureConnectionType = + _js2n__-prdslib.enum + [ + "ConnectedServiceName", + "ConnectedServiceNameARM" + ], azureSubscription = _js2n__-prdslib.isType '"String", + classicStorage = + _js2n__-prdslib.isType '"String", + cloudService = + _js2n__-prdslib.isType '"String", enableCopyPrerequisites = _js2n__-prdslib.isType '"Bool", - resourceGroup = + outputStorageContainerSasToken = _js2n__-prdslib.isType '"String", - sasTokenTimeOutInMinutes = + outputStorageUri = + _js2n__-prdslib.isType '"String", + resourceGroup = _js2n__-prdslib.isType '"String", skipCACheck = _js2n__-prdslib.isType '"Bool", @@ -8166,7 +8472,7 @@ let rec _js2n__-refsenv } {} false _js2n__-prdslib.never ], task = - _js2n__-prdslib.strings.pattern "^AzureFileCopy@5$", + _js2n__-prdslib.strings.pattern "^AzureFileCopy@1$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -8181,7 +8487,9 @@ let rec _js2n__-refsenv [ "Destination", "SourcePath" ], _js2n__-prdslib.records.record { - AdditionalArguments = + AdditionalArgumentsForBlobCopy = + _js2n__-prdslib.isType '"String", + AdditionalArgumentsForVMCopy = _js2n__-prdslib.isType '"String", BlobPrefix = _js2n__-prdslib.isType '"String", @@ -8236,7 +8544,7 @@ let rec _js2n__-refsenv } {} false _js2n__-prdslib.never ], task = - _js2n__-prdslib.strings.pattern "^AzureFileCopy@1$", + _js2n__-prdslib.strings.pattern "^AzureFileCopy@2$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -8248,7 +8556,12 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.records.required - [ "Destination", "SourcePath" ], + [ + "Destination", + "SourcePath", + "azureSubscription", + "storage" + ], _js2n__-prdslib.records.record { AdditionalArgumentsForBlobCopy = @@ -8275,20 +8588,8 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", TargetPath = _js2n__-prdslib.isType '"String", - azureClassicSubscription = - _js2n__-prdslib.isType '"String", - azureConnectionType = - _js2n__-prdslib.enum - [ - "ConnectedServiceName", - "ConnectedServiceNameARM" - ], azureSubscription = _js2n__-prdslib.isType '"String", - classicStorage = - _js2n__-prdslib.isType '"String", - cloudService = - _js2n__-prdslib.isType '"String", enableCopyPrerequisites = _js2n__-prdslib.isType '"Bool", outputStorageContainerSasToken = @@ -8297,6 +8598,8 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", resourceGroup = _js2n__-prdslib.isType '"String", + sasTokenTimeOutInMinutes = + _js2n__-prdslib.isType '"String", skipCACheck = _js2n__-prdslib.isType '"Bool", storage = @@ -8308,7 +8611,7 @@ let rec _js2n__-refsenv } {} false _js2n__-prdslib.never ], task = - _js2n__-prdslib.strings.pattern "^AzureFileCopy@2$", + _js2n__-prdslib.strings.pattern "^AzureFileCopy@3$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -8356,10 +8659,6 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", enableCopyPrerequisites = _js2n__-prdslib.isType '"Bool", - outputStorageContainerSasToken = - _js2n__-prdslib.isType '"String", - outputStorageUri = - _js2n__-prdslib.isType '"String", resourceGroup = _js2n__-prdslib.isType '"String", sasTokenTimeOutInMinutes = @@ -8375,7 +8674,7 @@ let rec _js2n__-refsenv } {} false _js2n__-prdslib.never ], task = - _js2n__-prdslib.strings.pattern "^AzureFileCopy@3$", + _js2n__-prdslib.strings.pattern "^AzureFileCopy@4$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -8438,7 +8737,68 @@ let rec _js2n__-refsenv } {} false _js2n__-prdslib.never ], task = - _js2n__-prdslib.strings.pattern "^AzureFileCopy@4$", + _js2n__-prdslib.strings.pattern "^AzureFileCopy@5$", + } {} true _js2n__-prdslib.always + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required [ "inputs", "task" ], + _js2n__-prdslib.records.record + { + inputs = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required + [ + "Destination", + "SourcePath", + "azureSubscription", + "storage" + ], + _js2n__-prdslib.records.record + { + AdditionalArgumentsForBlobCopy = + _js2n__-prdslib.isType '"String", + AdditionalArgumentsForVMCopy = + _js2n__-prdslib.isType '"String", + BlobPrefix = + _js2n__-prdslib.isType '"String", + CleanTargetBeforeCopy = + _js2n__-prdslib.isType '"Bool", + ContainerName = + _js2n__-prdslib.isType '"String", + CopyFilesInParallel = + _js2n__-prdslib.isType '"Bool", + Destination = + _js2n__-prdslib.enum + [ "AzureBlob", "AzureVMs" ], + MachineNames = + _js2n__-prdslib.isType '"String", + ResourceFilteringMethod = + _js2n__-prdslib.enum + [ "machineNames", "tags" ], + SourcePath = + _js2n__-prdslib.isType '"String", + TargetPath = + _js2n__-prdslib.isType '"String", + azureSubscription = + _js2n__-prdslib.isType '"String", + enableCopyPrerequisites = + _js2n__-prdslib.isType '"Bool", + resourceGroup = + _js2n__-prdslib.isType '"String", + skipCACheck = + _js2n__-prdslib.isType '"Bool", + storage = + _js2n__-prdslib.isType '"String", + vmsAdminPassword = + _js2n__-prdslib.isType '"String", + vmsAdminUserName = + _js2n__-prdslib.isType '"String", + } {} false _js2n__-prdslib.never + ], + task = + _js2n__-prdslib.strings.pattern "^AzureFileCopy@6$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -8451,6 +8811,8 @@ let rec _js2n__-refsenv { CompressSymbols = _js2n__-prdslib.isType '"Bool", + ConnectedServiceName = + _js2n__-prdslib.isType '"String", DetailedLog = _js2n__-prdslib.isType '"Bool", IndexSources = _js2n__-prdslib.isType '"Bool", IndexableFileFormats = @@ -8539,8 +8901,12 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"Bool", cleanTargetFolder = _js2n__-prdslib.isType '"Bool", + concurrentUploads = + _js2n__-prdslib.isType '"String", contents = _js2n__-prdslib.isType '"String", + delayBetweenUploads = + _js2n__-prdslib.isType '"String", failOnEmptySource = _js2n__-prdslib.isType '"Bool", flattenFolders = @@ -8580,6 +8946,8 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", codeCoverageFailIfEmpty = _js2n__-prdslib.isType '"Bool", + codeCoverageGradle5xOrHigher = + _js2n__-prdslib.isType '"Bool", codeCoverageToolOption = _js2n__-prdslib.enum [ "None", "Cobertura", "JaCoCo" ], @@ -8600,6 +8968,9 @@ let rec _js2n__-refsenv _js2n__-prdslib.enum [ "default", + "1.17", + "1.11", + "1.10", "1.9", "1.8", "1.7", @@ -8610,30 +8981,18 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"Bool", publishJUnitResults = _js2n__-prdslib.isType '"Bool", - sonarQubeDBPassword = - _js2n__-prdslib.isType '"String", - sonarQubeDBUrl = - _js2n__-prdslib.isType '"String", - sonarQubeDBUsername = - _js2n__-prdslib.isType '"String", - sonarQubeFailWhenQualityGateFails = - _js2n__-prdslib.isType '"Bool", sonarQubeGradlePluginVersion = _js2n__-prdslib.isType '"String", - sonarQubeIncludeFullReport = - _js2n__-prdslib.isType '"Bool", - sonarQubeProjectKey = - _js2n__-prdslib.isType '"String", - sonarQubeProjectName = - _js2n__-prdslib.isType '"String", - sonarQubeProjectVersion = - _js2n__-prdslib.isType '"String", sonarQubeRunAnalysis = _js2n__-prdslib.isType '"Bool", - sonarQubeServiceEndpoint = - _js2n__-prdslib.isType '"String", - sonarQubeSpecifyDB = + spotBugsAnalysis = _js2n__-prdslib.isType '"Bool", + spotBugsGradlePluginVersionChoice = + _js2n__-prdslib.enum [ "specify", "build" ], + spotbugsGradlePluginVersion = + _js2n__-prdslib.isType '"String", + sqGradlePluginVersionChoice = + _js2n__-prdslib.enum [ "specify", "build" ], tasks = _js2n__-prdslib.isType '"String", testResultsFiles = _js2n__-prdslib.isType '"String", @@ -8642,7 +9001,7 @@ let rec _js2n__-refsenv workingDirectory = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never, - task = _js2n__-prdslib.strings.pattern "^Gradle@1$", + task = _js2n__-prdslib.strings.pattern "^Gradle@2$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -8716,7 +9075,7 @@ let rec _js2n__-refsenv workingDirectory = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never, - task = _js2n__-prdslib.strings.pattern "^Gradle@2$", + task = _js2n__-prdslib.strings.pattern "^Gradle@3$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -8735,8 +9094,6 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", codeCoverageFailIfEmpty = _js2n__-prdslib.isType '"Bool", - codeCoverageGradle5xOrHigher = - _js2n__-prdslib.isType '"Bool", codeCoverageToolOption = _js2n__-prdslib.enum [ "None", "Cobertura", "JaCoCo" ], @@ -8757,9 +9114,6 @@ let rec _js2n__-refsenv _js2n__-prdslib.enum [ "default", - "1.17", - "1.11", - "1.10", "1.9", "1.8", "1.7", @@ -8770,18 +9124,30 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"Bool", publishJUnitResults = _js2n__-prdslib.isType '"Bool", - sonarQubeGradlePluginVersion = + sonarQubeDBPassword = _js2n__-prdslib.isType '"String", - sonarQubeRunAnalysis = + sonarQubeDBUrl = + _js2n__-prdslib.isType '"String", + sonarQubeDBUsername = + _js2n__-prdslib.isType '"String", + sonarQubeFailWhenQualityGateFails = _js2n__-prdslib.isType '"Bool", - spotBugsAnalysis = + sonarQubeGradlePluginVersion = + _js2n__-prdslib.isType '"String", + sonarQubeIncludeFullReport = _js2n__-prdslib.isType '"Bool", - spotBugsGradlePluginVersionChoice = - _js2n__-prdslib.enum [ "specify", "build" ], - spotbugsGradlePluginVersion = + sonarQubeProjectKey = + _js2n__-prdslib.isType '"String", + sonarQubeProjectName = + _js2n__-prdslib.isType '"String", + sonarQubeProjectVersion = + _js2n__-prdslib.isType '"String", + sonarQubeRunAnalysis = + _js2n__-prdslib.isType '"Bool", + sonarQubeServiceEndpoint = _js2n__-prdslib.isType '"String", - sqGradlePluginVersionChoice = - _js2n__-prdslib.enum [ "specify", "build" ], + sonarQubeSpecifyDB = + _js2n__-prdslib.isType '"Bool", tasks = _js2n__-prdslib.isType '"String", testResultsFiles = _js2n__-prdslib.isType '"String", @@ -8790,7 +9156,7 @@ let rec _js2n__-refsenv workingDirectory = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never, - task = _js2n__-prdslib.strings.pattern "^Gradle@3$", + task = _js2n__-prdslib.strings.pattern "^Gradle@1$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -8811,6 +9177,8 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", distributionGroupId = _js2n__-prdslib.isType '"String", + isMandatory = + _js2n__-prdslib.isType '"Bool", releaseNotesFile = _js2n__-prdslib.isType '"String", releaseNotesInput = @@ -8836,7 +9204,7 @@ let rec _js2n__-refsenv ], task = _js2n__-prdslib.strings.pattern - "^AppCenterDistribute@0$", + "^AppCenterDistribute@1$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -8884,7 +9252,7 @@ let rec _js2n__-refsenv ], task = _js2n__-prdslib.strings.pattern - "^AppCenterDistribute@1$", + "^AppCenterDistribute@2$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -8903,10 +9271,22 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", appSlug = _js2n__-prdslib.isType '"String", + appxsymPath = + _js2n__-prdslib.isType '"String", + buildVersion = + _js2n__-prdslib.isType '"String", + destinationStoreId = + _js2n__-prdslib.isType '"String", + destinationType = + _js2n__-prdslib.enum + [ "groups", "store" ], distributionGroupId = _js2n__-prdslib.isType '"String", isMandatory = _js2n__-prdslib.isType '"Bool", + isSilent = _js2n__-prdslib.isType '"Bool", + nativeLibrariesPath = + _js2n__-prdslib.isType '"String", releaseNotesFile = _js2n__-prdslib.isType '"String", releaseNotesInput = @@ -8923,16 +9303,15 @@ let rec _js2n__-refsenv symbolsMappingTxtFile = _js2n__-prdslib.isType '"String", symbolsOption = - _js2n__-prdslib.enum [ "Apple" ], + _js2n__-prdslib.enum + [ "Apple", "Android", "UWP" ], symbolsPath = _js2n__-prdslib.isType '"String", - symbolsPdbFiles = - _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], task = _js2n__-prdslib.strings.pattern - "^AppCenterDistribute@2$", + "^AppCenterDistribute@3$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -8951,22 +9330,8 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", appSlug = _js2n__-prdslib.isType '"String", - appxsymPath = - _js2n__-prdslib.isType '"String", - buildVersion = - _js2n__-prdslib.isType '"String", - destinationStoreId = - _js2n__-prdslib.isType '"String", - destinationType = - _js2n__-prdslib.enum - [ "groups", "store" ], distributionGroupId = _js2n__-prdslib.isType '"String", - isMandatory = - _js2n__-prdslib.isType '"Bool", - isSilent = _js2n__-prdslib.isType '"Bool", - nativeLibrariesPath = - _js2n__-prdslib.isType '"String", releaseNotesFile = _js2n__-prdslib.isType '"String", releaseNotesInput = @@ -8983,15 +9348,16 @@ let rec _js2n__-refsenv symbolsMappingTxtFile = _js2n__-prdslib.isType '"String", symbolsOption = - _js2n__-prdslib.enum - [ "Apple", "Android", "UWP" ], + _js2n__-prdslib.enum [ "Apple" ], symbolsPath = _js2n__-prdslib.isType '"String", + symbolsPdbFiles = + _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], task = _js2n__-prdslib.strings.pattern - "^AppCenterDistribute@3$", + "^AppCenterDistribute@0$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -9264,6 +9630,121 @@ let rec _js2n__-refsenv _js2n__-prdslib.strings.pattern "^HelmDeploy@0$", } {} true _js2n__-prdslib.always ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required [ "inputs", "task" ], + _js2n__-prdslib.records.record + { + inputs = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required + [ + "azureContainerRegistry", + "azureResourceGroupForACR", + "azureSubscriptionForACR" + ], + _js2n__-prdslib.records.record + { + arguments = + _js2n__-prdslib.isType '"String", + azureContainerRegistry = + _js2n__-prdslib.isType '"String", + azureResourceGroup = + _js2n__-prdslib.isType '"String", + azureResourceGroupForACR = + _js2n__-prdslib.isType '"String", + azureSubscription = + _js2n__-prdslib.isType '"String", + azureSubscriptionForACR = + _js2n__-prdslib.isType '"String", + caCert = _js2n__-prdslib.isType '"String", + canaryImage = + _js2n__-prdslib.isType '"Bool", + certificate = + _js2n__-prdslib.isType '"String", + chartName = + _js2n__-prdslib.isType '"String", + chartNameForACR = + _js2n__-prdslib.isType '"String", + chartPath = + _js2n__-prdslib.isType '"String", + chartPathForACR = + _js2n__-prdslib.isType '"String", + chartType = + _js2n__-prdslib.enum + [ "Name", "FilePath" ], + chartVersion = + _js2n__-prdslib.isType '"String", + command = + _js2n__-prdslib.enum + [ + "create", + "delete", + "expose", + "get", + "init", + "install", + "login", + "logout", + "ls", + "package", + "push", + "rollback", + "upgrade", + "uninstall" + ], + connectionType = + _js2n__-prdslib.enum + [ + "Azure Resource Manager", + "Kubernetes Service Connection", + "None" + ], + destination = + _js2n__-prdslib.isType '"String", + enableTls = + _js2n__-prdslib.isType '"Bool", + failOnStderr = + _js2n__-prdslib.isType '"Bool", + "force" = _js2n__-prdslib.isType '"Bool", + install = _js2n__-prdslib.isType '"Bool", + kubernetesCluster = + _js2n__-prdslib.isType '"String", + kubernetesServiceConnection = + _js2n__-prdslib.isType '"String", + namespace = + _js2n__-prdslib.isType '"String", + overrideValues = + _js2n__-prdslib.isType '"String", + privatekey = + _js2n__-prdslib.isType '"String", + publishPipelineMetadata = + _js2n__-prdslib.isType '"Bool", + recreate = _js2n__-prdslib.isType '"Bool", + releaseName = + _js2n__-prdslib.isType '"String", + resetValues = + _js2n__-prdslib.isType '"Bool", + save = _js2n__-prdslib.isType '"Bool", + tillerNamespace = + _js2n__-prdslib.isType '"String", + updateDependency = + _js2n__-prdslib.isType '"Bool", + upgradeTiller = + _js2n__-prdslib.isType '"Bool", + useClusterAdmin = + _js2n__-prdslib.isType '"Bool", + valueFile = + _js2n__-prdslib.isType '"String", + waitForExecution = + _js2n__-prdslib.isType '"Bool", + } {} false _js2n__-prdslib.never + ], + task = + _js2n__-prdslib.strings.pattern "^HelmDeploy@1$", + } {} true _js2n__-prdslib.always + ], _js2n__-prdslib.allOf [ _js2n__-prdslib.records.required [ "inputs", "task" ], @@ -9291,13 +9772,17 @@ let rec _js2n__-refsenv [ "default", "temp", "custom" ], keychainPassword = _js2n__-prdslib.isType '"String", + opensslPkcsArgs = + _js2n__-prdslib.isType '"String", + setUpPartitionIdACLForPrivateKey = + _js2n__-prdslib.isType '"Bool", signingIdentity = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], task = _js2n__-prdslib.strings.pattern - "^InstallAppleCertificate@1$", + "^InstallAppleCertificate@2$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -9333,7 +9818,7 @@ let rec _js2n__-refsenv ], task = _js2n__-prdslib.strings.pattern - "^InstallAppleCertificate@0$", + "^InstallAppleCertificate@1$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -9363,17 +9848,13 @@ let rec _js2n__-refsenv [ "default", "temp", "custom" ], keychainPassword = _js2n__-prdslib.isType '"String", - opensslPkcsArgs = - _js2n__-prdslib.isType '"String", - setUpPartitionIdACLForPrivateKey = - _js2n__-prdslib.isType '"Bool", signingIdentity = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], task = _js2n__-prdslib.strings.pattern - "^InstallAppleCertificate@2$", + "^InstallAppleCertificate@0$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -10062,6 +10543,31 @@ let rec _js2n__-refsenv "^AndroidSigning@3$", } {} true _js2n__-prdslib.always ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required [ "inputs", "task" ], + _js2n__-prdslib.records.record + { + inputs = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required + [ "targetPath" ], + _js2n__-prdslib.records.record + { + artifactName = + _js2n__-prdslib.isType '"String", + pipelineId = + _js2n__-prdslib.isType '"String", + targetPath = + _js2n__-prdslib.isType '"String", + } {} false _js2n__-prdslib.never + ], + task = + _js2n__-prdslib.strings.pattern + "^DownloadPipelineArtifact@0$", + } {} true _js2n__-prdslib.always + ], _js2n__-prdslib.allOf [ _js2n__-prdslib.records.required [ "task" ], @@ -10102,31 +10608,6 @@ let rec _js2n__-refsenv "^DownloadPipelineArtifact@2$", } {} true _js2n__-prdslib.always ], - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.records.required [ "inputs", "task" ], - _js2n__-prdslib.records.record - { - inputs = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.records.required - [ "targetPath" ], - _js2n__-prdslib.records.record - { - artifactName = - _js2n__-prdslib.isType '"String", - pipelineId = - _js2n__-prdslib.isType '"String", - targetPath = - _js2n__-prdslib.isType '"String", - } {} false _js2n__-prdslib.never - ], - task = - _js2n__-prdslib.strings.pattern - "^DownloadPipelineArtifact@0$", - } {} true _js2n__-prdslib.always - ], _js2n__-prdslib.allOf [ _js2n__-prdslib.records.required [ "task" ], @@ -10386,6 +10867,8 @@ let rec _js2n__-refsenv inputs = _js2n__-prdslib.records.record { + azureSubscription = + _js2n__-prdslib.isType '"String", batchingBasedOnAgentsOption = _js2n__-prdslib.enum [ "autoBatchSize", "customBatchSize" ], @@ -10519,7 +11002,35 @@ let rec _js2n__-refsenv ], task = _js2n__-prdslib.strings.pattern - "^ManualValidation@0$", + "^ManualValidation@0$", + } {} true _js2n__-prdslib.always + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required [ "inputs", "task" ], + _js2n__-prdslib.records.record + { + inputs = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required + [ "notifyUsers" ], + _js2n__-prdslib.records.record + { + approvers = + _js2n__-prdslib.isType '"String", + instructions = + _js2n__-prdslib.isType '"String", + notifyUsers = + _js2n__-prdslib.isType '"String", + onTimeout = + _js2n__-prdslib.enum + [ "reject", "resume" ], + } {} false _js2n__-prdslib.never + ], + task = + _js2n__-prdslib.strings.pattern + "^ManualValidation@1$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -10866,7 +11377,7 @@ let rec _js2n__-refsenv } {} false _js2n__-prdslib.never ], task = - _js2n__-prdslib.strings.pattern "^AzureKeyVault@2$", + _js2n__-prdslib.strings.pattern "^AzureKeyVault@1$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -10892,7 +11403,7 @@ let rec _js2n__-refsenv } {} false _js2n__-prdslib.never ], task = - _js2n__-prdslib.strings.pattern "^AzureKeyVault@1$", + _js2n__-prdslib.strings.pattern "^AzureKeyVault@2$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -10903,23 +11414,13 @@ let rec _js2n__-refsenv inputs = _js2n__-prdslib.records.record { - includePreviewVersions = - _js2n__-prdslib.isType '"Bool", - installationPath = - _js2n__-prdslib.isType '"String", packageType = _js2n__-prdslib.enum [ "runtime", "sdk" ], - performMultiLevelLookup = - _js2n__-prdslib.isType '"Bool", - useGlobalJson = - _js2n__-prdslib.isType '"Bool", version = _js2n__-prdslib.isType '"String", - vsVersion = _js2n__-prdslib.isType '"String", - workingDirectory = - _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never, task = - _js2n__-prdslib.strings.pattern "^UseDotNet@2$", + _js2n__-prdslib.strings.pattern + "^DotNetCoreInstaller@0$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -10953,13 +11454,90 @@ let rec _js2n__-refsenv inputs = _js2n__-prdslib.records.record { + includePreviewVersions = + _js2n__-prdslib.isType '"Bool", + installationPath = + _js2n__-prdslib.isType '"String", packageType = _js2n__-prdslib.enum [ "runtime", "sdk" ], + performMultiLevelLookup = + _js2n__-prdslib.isType '"Bool", + requestTimeout = + _js2n__-prdslib.isType 'Integer, + useGlobalJson = + _js2n__-prdslib.isType '"Bool", version = _js2n__-prdslib.isType '"String", + vsVersion = _js2n__-prdslib.isType '"String", + workingDirectory = + _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never, + task = + _js2n__-prdslib.strings.pattern "^UseDotNet@2$", + } {} true _js2n__-prdslib.always + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required [ "inputs", "task" ], + _js2n__-prdslib.records.record + { + inputs = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required + [ + "AppConfigurationEndpoint", + "ConfigurationFile", + "azureSubscription" + ], + _js2n__-prdslib.records.record + { + AppConfigurationEndpoint = + _js2n__-prdslib.isType '"String", + ConfigurationFile = + _js2n__-prdslib.isType '"String", + ContentType = + _js2n__-prdslib.isType '"String", + Depth = _js2n__-prdslib.isType '"String", + DryRun = _js2n__-prdslib.isType '"Bool", + ExcludeFeatureFlags = + _js2n__-prdslib.isType '"Bool", + FileContentProfile = + _js2n__-prdslib.enum + [ + "appconfig/default", + "appconfig/kvset" + ], + FileFormat = + _js2n__-prdslib.enum + [ "json", "yaml", "properties" ], + ImportMode = + _js2n__-prdslib.enum + [ "All", "Ignore-Match" ], + Label = _js2n__-prdslib.isType '"String", + Prefix = _js2n__-prdslib.isType '"String", + Separator = + _js2n__-prdslib.enum + [ + ".", + "/", + ":", + ";", + ",", + "-", + "_", + "__" + ], + Strict = _js2n__-prdslib.isType '"Bool", + Tags = _js2n__-prdslib.isType '"String", + UseFilePathExtension = + _js2n__-prdslib.isType '"Bool", + azureSubscription = + _js2n__-prdslib.isType '"String", + } {} false _js2n__-prdslib.never + ], task = _js2n__-prdslib.strings.pattern - "^DotNetCoreInstaller@0$", + "^AzureAppConfigurationImport@10$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -11285,94 +11863,6 @@ let rec _js2n__-refsenv "^DownloadPackage@1$", } {} true _js2n__-prdslib.always ], - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.records.required [ "task" ], - _js2n__-prdslib.records.record - { - inputs = - _js2n__-prdslib.records.record - { - ConnectedServiceName = - _js2n__-prdslib.isType '"String", - ConnectedServiceNameClassic = - _js2n__-prdslib.isType '"String", - ConnectedServiceNameSelector = - _js2n__-prdslib.enum - [ - "ConnectedServiceName", - "ConnectedServiceNameClassic" - ], - action = - _js2n__-prdslib.enum - [ - "Create Or Update Resource Group", - "Select Resource Group", - "Start", - "Stop", - "Restart", - "Delete", - "DeleteRG" - ], - actionClassic = - _js2n__-prdslib.enum - [ "Select Resource Group" ], - cloudService = - _js2n__-prdslib.isType '"String", - csmFile = _js2n__-prdslib.isType '"String", - csmParametersFile = - _js2n__-prdslib.isType '"String", - deploymentMode = - _js2n__-prdslib.enum - [ - "Validation", - "Incremental", - "Complete" - ], - enableDeploymentPrerequisitesForCreate = - _js2n__-prdslib.isType '"Bool", - enableDeploymentPrerequisitesForSelect = - _js2n__-prdslib.isType '"Bool", - location = - _js2n__-prdslib.enum - [ - "Australia East", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Central India", - "Central US", - "East Asia", - "East US", - "East US 2 ", - "Japan East", - "Japan West", - "North Central US", - "North Europe", - "South Central US", - "South India", - "Southeast Asia", - "UK South", - "UK West", - "West Central US", - "West Europe", - "West India", - "West US", - "West US 2" - ], - outputVariable = - _js2n__-prdslib.isType '"String", - overrideParameters = - _js2n__-prdslib.isType '"String", - resourceGroupName = - _js2n__-prdslib.isType '"String", - } {} false _js2n__-prdslib.never, - task = - _js2n__-prdslib.strings.pattern - "^AzureResourceGroupDeployment@1$", - } {} true _js2n__-prdslib.always - ], _js2n__-prdslib.allOf [ _js2n__-prdslib.records.required [ "inputs", "task" ], @@ -11382,19 +11872,30 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.records.required - [ "azureResourceManagerConnection" ], + [ + "azureSubscription", + "resourceGroupName" + ], _js2n__-prdslib.records.record { action = _js2n__-prdslib.enum [ "Create Or Update Resource Group", + "Select Resource Group", + "Start", + "Stop", + "StopWithDeallocate", + "Restart", + "Delete", "DeleteRG" ], addSpnToEnvironment = _js2n__-prdslib.isType '"Bool", - azureResourceManagerConnection = + azureSubscription = _js2n__-prdslib.isType '"String", + copyAzureVMTags = + _js2n__-prdslib.isType '"Bool", csmFile = _js2n__-prdslib.isType '"String", csmFileLink = @@ -11403,6 +11904,8 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", csmParametersFileLink = _js2n__-prdslib.isType '"String", + deploymentGroupName = + _js2n__-prdslib.isType '"String", deploymentMode = _js2n__-prdslib.enum [ @@ -11414,20 +11917,28 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", deploymentOutputs = _js2n__-prdslib.isType '"String", - deploymentScope = + enableDeploymentPrerequisites = _js2n__-prdslib.enum [ - "Management Group", - "Subscription", - "Resource Group" + "None", + "ConfigureVMwithWinRM", + "ConfigureVMWithDGAgent" ], location = _js2n__-prdslib.isType '"String", + outputVariable = + _js2n__-prdslib.isType '"String", overrideParameters = _js2n__-prdslib.isType '"String", + password = + _js2n__-prdslib.isType '"String", resourceGroupName = _js2n__-prdslib.isType '"String", - subscriptionId = + runAgentServiceAsUser = + _js2n__-prdslib.isType '"Bool", + teamProject = + _js2n__-prdslib.isType '"String", + teamServicesConnection = _js2n__-prdslib.isType '"String", templateLocation = _js2n__-prdslib.enum @@ -11437,11 +11948,13 @@ let rec _js2n__-refsenv ], useWithoutJSON = _js2n__-prdslib.isType '"Bool", + userName = + _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], task = _js2n__-prdslib.strings.pattern - "^AzureResourceManagerTemplateDeployment@3$", + "^AzureResourceGroupDeployment@2$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -11453,30 +11966,19 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.records.required - [ - "azureSubscription", - "resourceGroupName" - ], + [ "azureResourceManagerConnection" ], _js2n__-prdslib.records.record { action = _js2n__-prdslib.enum [ "Create Or Update Resource Group", - "Select Resource Group", - "Start", - "Stop", - "StopWithDeallocate", - "Restart", - "Delete", "DeleteRG" ], addSpnToEnvironment = _js2n__-prdslib.isType '"Bool", - azureSubscription = + azureResourceManagerConnection = _js2n__-prdslib.isType '"String", - copyAzureVMTags = - _js2n__-prdslib.isType '"Bool", csmFile = _js2n__-prdslib.isType '"String", csmFileLink = @@ -11485,8 +11987,6 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", csmParametersFileLink = _js2n__-prdslib.isType '"String", - deploymentGroupName = - _js2n__-prdslib.isType '"String", deploymentMode = _js2n__-prdslib.enum [ @@ -11498,28 +11998,20 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", deploymentOutputs = _js2n__-prdslib.isType '"String", - enableDeploymentPrerequisites = + deploymentScope = _js2n__-prdslib.enum [ - "None", - "ConfigureVMwithWinRM", - "ConfigureVMWithDGAgent" + "Management Group", + "Subscription", + "Resource Group" ], location = _js2n__-prdslib.isType '"String", - outputVariable = - _js2n__-prdslib.isType '"String", overrideParameters = _js2n__-prdslib.isType '"String", - password = - _js2n__-prdslib.isType '"String", resourceGroupName = _js2n__-prdslib.isType '"String", - runAgentServiceAsUser = - _js2n__-prdslib.isType '"Bool", - teamProject = - _js2n__-prdslib.isType '"String", - teamServicesConnection = + subscriptionId = _js2n__-prdslib.isType '"String", templateLocation = _js2n__-prdslib.enum @@ -11529,13 +12021,99 @@ let rec _js2n__-refsenv ], useWithoutJSON = _js2n__-prdslib.isType '"Bool", - userName = - _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], task = _js2n__-prdslib.strings.pattern - "^AzureResourceGroupDeployment@2$", + "^AzureResourceManagerTemplateDeployment@3$", + } {} true _js2n__-prdslib.always + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required [ "task" ], + _js2n__-prdslib.records.record + { + inputs = + _js2n__-prdslib.records.record + { + ConnectedServiceName = + _js2n__-prdslib.isType '"String", + ConnectedServiceNameClassic = + _js2n__-prdslib.isType '"String", + ConnectedServiceNameSelector = + _js2n__-prdslib.enum + [ + "ConnectedServiceName", + "ConnectedServiceNameClassic" + ], + action = + _js2n__-prdslib.enum + [ + "Create Or Update Resource Group", + "Select Resource Group", + "Start", + "Stop", + "Restart", + "Delete", + "DeleteRG" + ], + actionClassic = + _js2n__-prdslib.enum + [ "Select Resource Group" ], + cloudService = + _js2n__-prdslib.isType '"String", + csmFile = _js2n__-prdslib.isType '"String", + csmParametersFile = + _js2n__-prdslib.isType '"String", + deploymentMode = + _js2n__-prdslib.enum + [ + "Validation", + "Incremental", + "Complete" + ], + enableDeploymentPrerequisitesForCreate = + _js2n__-prdslib.isType '"Bool", + enableDeploymentPrerequisitesForSelect = + _js2n__-prdslib.isType '"Bool", + location = + _js2n__-prdslib.enum + [ + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Central India", + "Central US", + "East Asia", + "East US", + "East US 2 ", + "Japan East", + "Japan West", + "North Central US", + "North Europe", + "South Central US", + "South India", + "Southeast Asia", + "UK South", + "UK West", + "West Central US", + "West Europe", + "West India", + "West US", + "West US 2" + ], + outputVariable = + _js2n__-prdslib.isType '"String", + overrideParameters = + _js2n__-prdslib.isType '"String", + resourceGroupName = + _js2n__-prdslib.isType '"String", + } {} false _js2n__-prdslib.never, + task = + _js2n__-prdslib.strings.pattern + "^AzureResourceGroupDeployment@1$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -11634,18 +12212,31 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", archiveType = _js2n__-prdslib.enum - [ "default", "7z", "tar", "wim" ], + [ "zip", "7z", "tar", "wim" ], includeRootFolder = _js2n__-prdslib.isType '"Bool", + quiet = _js2n__-prdslib.isType '"Bool", replaceExistingArchive = _js2n__-prdslib.isType '"Bool", - rootFolder = _js2n__-prdslib.isType '"String", + rootFolderOrFile = + _js2n__-prdslib.isType '"String", + sevenZipCompression = + _js2n__-prdslib.enum + [ + "ultra", + "maximum", + "normal", + "fast", + "fastest", + "none" + ], tarCompression = _js2n__-prdslib.enum [ "gz", "bz2", "xz", "none" ], + verbose = _js2n__-prdslib.isType '"Bool", } {} false _js2n__-prdslib.never, task = - _js2n__-prdslib.strings.pattern "^ArchiveFiles@1$", + _js2n__-prdslib.strings.pattern "^ArchiveFiles@2$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -11660,31 +12251,18 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", archiveType = _js2n__-prdslib.enum - [ "zip", "7z", "tar", "wim" ], + [ "default", "7z", "tar", "wim" ], includeRootFolder = _js2n__-prdslib.isType '"Bool", - quiet = _js2n__-prdslib.isType '"Bool", replaceExistingArchive = _js2n__-prdslib.isType '"Bool", - rootFolderOrFile = - _js2n__-prdslib.isType '"String", - sevenZipCompression = - _js2n__-prdslib.enum - [ - "ultra", - "maximum", - "normal", - "fast", - "fastest", - "none" - ], + rootFolder = _js2n__-prdslib.isType '"String", tarCompression = _js2n__-prdslib.enum [ "gz", "bz2", "xz", "none" ], - verbose = _js2n__-prdslib.isType '"Bool", } {} false _js2n__-prdslib.never, task = - _js2n__-prdslib.strings.pattern "^ArchiveFiles@2$", + _js2n__-prdslib.strings.pattern "^ArchiveFiles@1$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -11734,12 +12312,20 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", TargetFolder = _js2n__-prdslib.isType '"String", + delayBetweenRetries = + _js2n__-prdslib.isType '"String", flattenFolders = _js2n__-prdslib.isType '"Bool", + ignoreMakeDirErrors = + _js2n__-prdslib.isType '"Bool", + preserveTimestamp = + _js2n__-prdslib.isType '"Bool", + retryCount = + _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], task = - _js2n__-prdslib.strings.pattern "^CopyFiles@1$", + _js2n__-prdslib.strings.pattern "^CopyFiles@2$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -11764,20 +12350,12 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", TargetFolder = _js2n__-prdslib.isType '"String", - delayBetweenRetries = - _js2n__-prdslib.isType '"String", flattenFolders = _js2n__-prdslib.isType '"Bool", - ignoreMakeDirErrors = - _js2n__-prdslib.isType '"Bool", - preserveTimestamp = - _js2n__-prdslib.isType '"Bool", - retryCount = - _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], task = - _js2n__-prdslib.strings.pattern "^CopyFiles@2$", + _js2n__-prdslib.strings.pattern "^CopyFiles@1$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -12107,6 +12685,49 @@ let rec _js2n__-refsenv "^PublishToAzureServiceBus@1$", } {} true _js2n__-prdslib.always ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required [ "inputs", "task" ], + _js2n__-prdslib.records.record + { + inputs = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required + [ + "azureSubscription", + "serviceBusNamespace", + "serviceBusQueueName" + ], + _js2n__-prdslib.records.record + { + azureSubscription = + _js2n__-prdslib.isType '"String", + certificateString = + _js2n__-prdslib.isType '"String", + messageBody = + _js2n__-prdslib.isType '"String", + serviceBusNamespace = + _js2n__-prdslib.isType '"String", + serviceBusQueueName = + _js2n__-prdslib.isType '"String", + sessionId = + _js2n__-prdslib.isType '"String", + signPayload = + _js2n__-prdslib.isType '"Bool", + signatureKey = + _js2n__-prdslib.isType '"String", + useDataContractSerializer = + _js2n__-prdslib.isType '"Bool", + waitForCompletion = + _js2n__-prdslib.isType '"Bool", + } {} false _js2n__-prdslib.never + ], + task = + _js2n__-prdslib.strings.pattern + "^PublishToAzureServiceBus@2$", + } {} true _js2n__-prdslib.always + ], _js2n__-prdslib.allOf [ _js2n__-prdslib.records.required [ "inputs", "task" ], @@ -12153,18 +12774,8 @@ let rec _js2n__-refsenv "reject" ], arguments = _js2n__-prdslib.isType '"String", - azureResourceGroup = - _js2n__-prdslib.isType '"String", - azureSubscriptionConnection = - _js2n__-prdslib.isType '"String", baselineAndCanaryReplicas = _js2n__-prdslib.isType '"String", - connectionType = - _js2n__-prdslib.enum - [ - "azureResourceManager", - "kubernetesServiceConnection" - ], containers = _js2n__-prdslib.isType '"String", dockerComposeFile = _js2n__-prdslib.isType '"String", @@ -12180,8 +12791,6 @@ let rec _js2n__-refsenv "replicaset", "statefulset" ], - kubernetesCluster = - _js2n__-prdslib.isType '"String", kubernetesServiceConnection = _js2n__-prdslib.isType '"String", kustomizationPath = @@ -12219,12 +12828,10 @@ let rec _js2n__-refsenv _js2n__-prdslib.enum [ "canary", "none" ], trafficSplitMethod = _js2n__-prdslib.enum [ "pod", "smi" ], - useClusterAdmin = - _js2n__-prdslib.isType '"Bool", } {} false _js2n__-prdslib.never, task = _js2n__-prdslib.strings.pattern - "^KubernetesManifest@1$", + "^KubernetesManifest@0$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -12248,8 +12855,18 @@ let rec _js2n__-refsenv "reject" ], arguments = _js2n__-prdslib.isType '"String", + azureResourceGroup = + _js2n__-prdslib.isType '"String", + azureSubscriptionConnection = + _js2n__-prdslib.isType '"String", baselineAndCanaryReplicas = _js2n__-prdslib.isType '"String", + connectionType = + _js2n__-prdslib.enum + [ + "azureResourceManager", + "kubernetesServiceConnection" + ], containers = _js2n__-prdslib.isType '"String", dockerComposeFile = _js2n__-prdslib.isType '"String", @@ -12265,6 +12882,8 @@ let rec _js2n__-refsenv "replicaset", "statefulset" ], + kubernetesCluster = + _js2n__-prdslib.isType '"String", kubernetesServiceConnection = _js2n__-prdslib.isType '"String", kustomizationPath = @@ -12302,10 +12921,12 @@ let rec _js2n__-refsenv _js2n__-prdslib.enum [ "canary", "none" ], trafficSplitMethod = _js2n__-prdslib.enum [ "pod", "smi" ], + useClusterAdmin = + _js2n__-prdslib.isType '"Bool", } {} false _js2n__-prdslib.never, task = _js2n__-prdslib.strings.pattern - "^KubernetesManifest@0$", + "^KubernetesManifest@1$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -12350,13 +12971,15 @@ let rec _js2n__-refsenv project = _js2n__-prdslib.isType '"String", retryDownloadCount = _js2n__-prdslib.isType '"String", + retryRedirectDownloadCount = + _js2n__-prdslib.isType '"String", specificBuildWithTriggering = _js2n__-prdslib.isType '"Bool", tags = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never, task = _js2n__-prdslib.strings.pattern - "^DownloadBuildArtifacts@1$", + "^DownloadBuildArtifacts@0$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -12401,15 +13024,13 @@ let rec _js2n__-refsenv project = _js2n__-prdslib.isType '"String", retryDownloadCount = _js2n__-prdslib.isType '"String", - retryRedirectDownloadCount = - _js2n__-prdslib.isType '"String", specificBuildWithTriggering = _js2n__-prdslib.isType '"Bool", tags = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never, task = _js2n__-prdslib.strings.pattern - "^DownloadBuildArtifacts@0$", + "^DownloadBuildArtifacts@1$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -12495,6 +13116,8 @@ let rec _js2n__-refsenv [ "Java_8", "Java_11", + "Java_17", + "Java_21", "NetCore_31" ], UseStagingDeployment = @@ -12546,56 +13169,24 @@ let rec _js2n__-refsenv deploymentMethod = _js2n__-prdslib.enum [ - "auto", - "zipDeploy", - "runFromPackage" - ], - package = - _js2n__-prdslib.isType '"String", - resourceGroupName = - _js2n__-prdslib.isType '"String", - runtimeStack = - _js2n__-prdslib.isType '"String", - slotName = - _js2n__-prdslib.isType '"String", - startUpCommand = - _js2n__-prdslib.isType '"String", - } {} false _js2n__-prdslib.never - ], - task = - _js2n__-prdslib.strings.pattern "^AzureWebApp@1$", - } {} true _js2n__-prdslib.always - ], - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.records.required [ "task" ], - _js2n__-prdslib.records.record - { - inputs = - _js2n__-prdslib.records.record - { - args = _js2n__-prdslib.isType '"String", - connectedServiceName = - _js2n__-prdslib.isType '"String", - connectedServiceNameARM = - _js2n__-prdslib.isType '"String", - connectedServiceNameSelector = - _js2n__-prdslib.enum - [ - "connectedServiceName", - "connectedServiceNameARM" - ], - cwd = _js2n__-prdslib.isType '"String", - failOnStandardError = - _js2n__-prdslib.isType '"Bool", - inlineScript = - _js2n__-prdslib.isType '"String", - scriptLocation = - _js2n__-prdslib.enum - [ "inlineScript", "scriptPath" ], - scriptPath = _js2n__-prdslib.isType '"String", - } {} false _js2n__-prdslib.never, - task = _js2n__-prdslib.strings.pattern "^AzureCLI@0$", + "auto", + "zipDeploy", + "runFromPackage" + ], + package = + _js2n__-prdslib.isType '"String", + resourceGroupName = + _js2n__-prdslib.isType '"String", + runtimeStack = + _js2n__-prdslib.isType '"String", + slotName = + _js2n__-prdslib.isType '"String", + startUpCommand = + _js2n__-prdslib.isType '"String", + } {} false _js2n__-prdslib.never + ], + task = + _js2n__-prdslib.strings.pattern "^AzureWebApp@1$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -12620,6 +13211,8 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"Bool", inlineScript = _js2n__-prdslib.isType '"String", + keepAzSessionActive = + _js2n__-prdslib.isType '"Bool", powerShellErrorActionPreference = _js2n__-prdslib.enum [ @@ -12639,6 +13232,8 @@ let rec _js2n__-refsenv [ "ps", "pscore", "batch", "bash" ], useGlobalConfig = _js2n__-prdslib.isType '"Bool", + visibleAzLogin = + _js2n__-prdslib.isType '"Bool", workingDirectory = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never @@ -12682,6 +13277,38 @@ let rec _js2n__-refsenv task = _js2n__-prdslib.strings.pattern "^AzureCLI@1$", } {} true _js2n__-prdslib.always ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required [ "task" ], + _js2n__-prdslib.records.record + { + inputs = + _js2n__-prdslib.records.record + { + args = _js2n__-prdslib.isType '"String", + connectedServiceName = + _js2n__-prdslib.isType '"String", + connectedServiceNameARM = + _js2n__-prdslib.isType '"String", + connectedServiceNameSelector = + _js2n__-prdslib.enum + [ + "connectedServiceName", + "connectedServiceNameARM" + ], + cwd = _js2n__-prdslib.isType '"String", + failOnStandardError = + _js2n__-prdslib.isType '"Bool", + inlineScript = + _js2n__-prdslib.isType '"String", + scriptLocation = + _js2n__-prdslib.enum + [ "inlineScript", "scriptPath" ], + scriptPath = _js2n__-prdslib.isType '"String", + } {} false _js2n__-prdslib.never, + task = _js2n__-prdslib.strings.pattern "^AzureCLI@0$", + } {} true _js2n__-prdslib.always + ], _js2n__-prdslib.allOf [ _js2n__-prdslib.records.required [ "inputs", "task" ], @@ -13151,6 +13778,30 @@ let rec _js2n__-refsenv task = _js2n__-prdslib.strings.pattern "^Bash@3$", } {} true _js2n__-prdslib.always ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required [ "inputs", "task" ], + _js2n__-prdslib.records.record + { + inputs = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required + [ "scriptPath" ], + _js2n__-prdslib.records.record + { + args = _js2n__-prdslib.isType '"String", + cwd = _js2n__-prdslib.isType '"String", + failOnStandardError = + _js2n__-prdslib.isType '"Bool", + scriptPath = + _js2n__-prdslib.isType '"String", + } {} false _js2n__-prdslib.never + ], + task = + _js2n__-prdslib.strings.pattern "^ShellScript@1$", + } {} true _js2n__-prdslib.always + ], _js2n__-prdslib.allOf [ _js2n__-prdslib.records.required [ "task" ], @@ -13264,6 +13915,55 @@ let rec _js2n__-refsenv "^AzureVmssDeployment@0$", } {} true _js2n__-prdslib.always ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required [ "inputs", "task" ], + _js2n__-prdslib.records.record + { + inputs = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required + [ + "azureSubscription", + "imageUrl", + "vmssName", + "vmssOsType" + ], + _js2n__-prdslib.records.record + { + action = + _js2n__-prdslib.enum + [ + "Update image", + "Configure application startup" + ], + azureSubscription = + _js2n__-prdslib.isType '"String", + customScript = + _js2n__-prdslib.isType '"String", + customScriptArguments = + _js2n__-prdslib.isType '"String", + customScriptsDirectory = + _js2n__-prdslib.isType '"String", + customScriptsStorageAccount = + _js2n__-prdslib.isType '"String", + imageUrl = + _js2n__-prdslib.isType '"String", + skipArchivingCustomScripts = + _js2n__-prdslib.isType '"Bool", + vmssName = + _js2n__-prdslib.isType '"String", + vmssOsType = + _js2n__-prdslib.enum + [ "Windows", "Linux" ], + } {} false _js2n__-prdslib.never + ], + task = + _js2n__-prdslib.strings.pattern + "^AzureVmssDeployment@1$", + } {} true _js2n__-prdslib.always + ], _js2n__-prdslib.allOf [ _js2n__-prdslib.records.required [ "inputs", "task" ], @@ -13307,8 +14007,11 @@ let rec _js2n__-refsenv _js2n__-prdslib.records.record { inputs = - _js2n__-prdslib.records.record {} {} false - _js2n__-prdslib.never, + _js2n__-prdslib.records.record + { + azureDevOpsServiceConnection = + _js2n__-prdslib.isType '"String", + } {} false _js2n__-prdslib.never, task = _js2n__-prdslib.strings.pattern "^CondaAuthenticate@0$", @@ -13324,14 +14027,11 @@ let rec _js2n__-refsenv [ _js2n__-prdslib.records.required [ - "ARMConnectedServiceName", - "ARMStorageAccount", "CsCfg", - "CsDef", "CsPkg", - "ResourceGroupName", "ServiceLocation", - "ServiceName" + "ServiceName", + "azureClassicSubscription" ], _js2n__-prdslib.records.record { @@ -13344,29 +14044,40 @@ let rec _js2n__-refsenv AppendDateTimeToLabel = _js2n__-prdslib.isType '"Bool", CsCfg = _js2n__-prdslib.isType '"String", - CsDef = _js2n__-prdslib.isType '"String", CsPkg = _js2n__-prdslib.isType '"String", DeploymentLabel = _js2n__-prdslib.isType '"String", DiagnosticStorageAccountKeys = _js2n__-prdslib.isType '"String", - KeyVault = + EnableAdvancedStorageOptions = + _js2n__-prdslib.isType '"Bool", + ForceUpgrade = + _js2n__-prdslib.isType '"Bool", + NewServiceAdditionalArguments = _js2n__-prdslib.isType '"String", - ResourceGroupName = + NewServiceAffinityGroup = + _js2n__-prdslib.isType '"String", + NewServiceCustomCertificates = _js2n__-prdslib.isType '"String", ServiceLocation = _js2n__-prdslib.isType '"String", ServiceName = _js2n__-prdslib.isType '"String", - UpgradeMode = + SimultaneousUpgrade = + _js2n__-prdslib.isType '"Bool", + StorageAccount = _js2n__-prdslib.isType '"String", VerifyRoleInstanceStatus = _js2n__-prdslib.isType '"Bool", + azureClassicSubscription = + _js2n__-prdslib.isType '"String", + slotName = + _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], task = _js2n__-prdslib.strings.pattern - "^AzureCloudPowerShellDeployment@2$", + "^AzureCloudPowerShellDeployment@1$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -13379,11 +14090,14 @@ let rec _js2n__-refsenv [ _js2n__-prdslib.records.required [ + "ARMConnectedServiceName", + "ARMStorageAccount", "CsCfg", + "CsDef", "CsPkg", + "ResourceGroupName", "ServiceLocation", - "ServiceName", - "azureClassicSubscription" + "ServiceName" ], _js2n__-prdslib.records.record { @@ -13396,40 +14110,29 @@ let rec _js2n__-refsenv AppendDateTimeToLabel = _js2n__-prdslib.isType '"Bool", CsCfg = _js2n__-prdslib.isType '"String", + CsDef = _js2n__-prdslib.isType '"String", CsPkg = _js2n__-prdslib.isType '"String", DeploymentLabel = _js2n__-prdslib.isType '"String", DiagnosticStorageAccountKeys = _js2n__-prdslib.isType '"String", - EnableAdvancedStorageOptions = - _js2n__-prdslib.isType '"Bool", - ForceUpgrade = - _js2n__-prdslib.isType '"Bool", - NewServiceAdditionalArguments = - _js2n__-prdslib.isType '"String", - NewServiceAffinityGroup = + KeyVault = _js2n__-prdslib.isType '"String", - NewServiceCustomCertificates = + ResourceGroupName = _js2n__-prdslib.isType '"String", ServiceLocation = _js2n__-prdslib.isType '"String", ServiceName = _js2n__-prdslib.isType '"String", - SimultaneousUpgrade = - _js2n__-prdslib.isType '"Bool", - StorageAccount = + UpgradeMode = _js2n__-prdslib.isType '"String", VerifyRoleInstanceStatus = _js2n__-prdslib.isType '"Bool", - azureClassicSubscription = - _js2n__-prdslib.isType '"String", - slotName = - _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], task = _js2n__-prdslib.strings.pattern - "^AzureCloudPowerShellDeployment@1$", + "^AzureCloudPowerShellDeployment@2$", } {} true _js2n__-prdslib.always ], _js2n__-prdslib.allOf @@ -13444,10 +14147,14 @@ let rec _js2n__-refsenv [ "configFile" ], _js2n__-prdslib.records.record { + azureDevOpsServiceConnection = + _js2n__-prdslib.isType '"String", cargoServiceConnections = _js2n__-prdslib.isType '"String", configFile = _js2n__-prdslib.isType '"String", + registryNames = + _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], task = @@ -13854,43 +14561,46 @@ let rec _js2n__-refsenv [ _js2n__-prdslib.enum [ "PowerShell@2" ], _js2n__-prdslib.enum [ "PowerShell@1" ], - _js2n__-prdslib.enum [ "AzurePowerShell@4" ], _js2n__-prdslib.enum [ "AzurePowerShell@2" ], _js2n__-prdslib.enum [ "AzurePowerShell@3" ], - _js2n__-prdslib.enum [ "AzurePowerShell@1" ], + _js2n__-prdslib.enum [ "AzurePowerShell@4" ], _js2n__-prdslib.enum [ "AzurePowerShell@5" ], + _js2n__-prdslib.enum [ "AzurePowerShell@1" ], _js2n__-prdslib.enum [ "MysqlDeploymentOnMachineGroup@1" ], _js2n__-prdslib.enum [ "PipAuthenticate@0" ], _js2n__-prdslib.enum [ "PipAuthenticate@1" ], - _js2n__-prdslib.enum [ "Maven@4" ], _js2n__-prdslib.enum [ "Maven@2" ], _js2n__-prdslib.enum [ "Maven@3" ], + _js2n__-prdslib.enum [ "Maven@4" ], _js2n__-prdslib.enum [ "Maven@1" ], _js2n__-prdslib.enum [ "DotNetCoreCLI@2" ], _js2n__-prdslib.enum [ "DotNetCoreCLI@0" ], _js2n__-prdslib.enum [ "DotNetCoreCLI@1" ], _js2n__-prdslib.enum [ "XamarinComponentRestore@0" ], - _js2n__-prdslib.enum [ "AzureRmWebAppDeployment@4" ], - _js2n__-prdslib.enum [ "AzureRmWebAppDeployment@2" ], _js2n__-prdslib.enum [ "AzureRmWebAppDeployment@3" ], + _js2n__-prdslib.enum [ "AzureRmWebAppDeployment@2" ], + _js2n__-prdslib.enum [ "AzureRMWebAppDeployment@1" ], + _js2n__-prdslib.enum [ "AzureRmWebAppDeployment@4" ], _js2n__-prdslib.enum [ "PowerShellOnTargetMachines@1" ], _js2n__-prdslib.enum [ "PowerShellOnTargetMachines@3" ], _js2n__-prdslib.enum [ "PowerShellOnTargetMachines@2" ], - _js2n__-prdslib.enum - [ "PublishCodeCoverageResults@2" ], _js2n__-prdslib.enum [ "PublishCodeCoverageResults@1" ], + _js2n__-prdslib.enum + [ "PublishCodeCoverageResults@2" ], _js2n__-prdslib.enum [ "RunVisualStudioTestsusingTestAgent@1" ], + _js2n__-prdslib.enum [ "ManualIntervention@6" ], + _js2n__-prdslib.enum [ "ManualIntervention@7" ], _js2n__-prdslib.enum [ "ManualIntervention@8" ], - _js2n__-prdslib.enum - [ "InstallAppleProvisioningProfile@0" ], _js2n__-prdslib.enum [ "InstallAppleProvisioningProfile@1" ], + _js2n__-prdslib.enum + [ "InstallAppleProvisioningProfile@0" ], _js2n__-prdslib.enum [ "SonarQubePostTest@1" ], _js2n__-prdslib.enum [ "PyPIPublisher@0" ], _js2n__-prdslib.enum [ "ChefKnife@1" ], @@ -13899,10 +14609,10 @@ let rec _js2n__-refsenv _js2n__-prdslib.enum [ "Go@0" ], _js2n__-prdslib.enum [ "PublishPipelineMetadata@0" ], _js2n__-prdslib.enum [ "Docker@0" ], - _js2n__-prdslib.enum [ "Docker@2" ], _js2n__-prdslib.enum [ "Docker@1" ], - _js2n__-prdslib.enum [ "JenkinsQueueJob@1" ], + _js2n__-prdslib.enum [ "Docker@2" ], _js2n__-prdslib.enum [ "JenkinsQueueJob@2" ], + _js2n__-prdslib.enum [ "JenkinsQueueJob@1" ], _js2n__-prdslib.enum [ "FtpUpload@1" ], _js2n__-prdslib.enum [ "FtpUpload@2" ], _js2n__-prdslib.enum [ "WindowsMachineFileCopy@1" ], @@ -13922,16 +14632,20 @@ let rec _js2n__-refsenv _js2n__-prdslib.enum [ "DownloadGitHubNugetPackage@1" ], _js2n__-prdslib.enum [ "MavenAuthenticate@0" ], + _js2n__-prdslib.enum + [ "AzureAppConfigurationExport@10" ], _js2n__-prdslib.enum [ "ReviewApp@0" ], _js2n__-prdslib.enum [ "JavaToolInstaller@0" ], _js2n__-prdslib.enum [ "Chef@1" ], - _js2n__-prdslib.enum [ "AzureFunctionApp@1" ], _js2n__-prdslib.enum [ "AzureFunctionApp@2" ], + _js2n__-prdslib.enum [ "AzureFunctionApp@1" ], _js2n__-prdslib.enum [ "npmAuthenticate@0" ], _js2n__-prdslib.enum [ "MSBuild@1" ], _js2n__-prdslib.enum [ "PackerBuild@0" ], _js2n__-prdslib.enum [ "PackerBuild@1" ], _js2n__-prdslib.enum [ "NuGetPackager@0" ], + _js2n__-prdslib.enum + [ "AzureAppConfigurationSnapshot@1" ], _js2n__-prdslib.enum [ "DuffleInstaller@0" ], _js2n__-prdslib.enum [ "ServiceFabricUpdateAppVersions@1" ], @@ -13943,21 +14657,22 @@ let rec _js2n__-refsenv _js2n__-prdslib.enum [ "AzureNLBManagement@1" ], _js2n__-prdslib.enum [ "ApacheJMeterLoadTest@1" ], _js2n__-prdslib.enum [ "DockerCompose@0" ], + _js2n__-prdslib.enum [ "DockerCompose@1" ], _js2n__-prdslib.enum [ "AzureMonitorAlerts@0" ], _js2n__-prdslib.enum [ "XamarinTestCloud@1" ], _js2n__-prdslib.enum [ "ServiceFabricDeploy@1" ], - _js2n__-prdslib.enum [ "Xcode@5" ], + _js2n__-prdslib.enum [ "Xcode@2" ], _js2n__-prdslib.enum [ "Xcode@3" ], _js2n__-prdslib.enum [ "Xcode@4" ], - _js2n__-prdslib.enum [ "Xcode@2" ], + _js2n__-prdslib.enum [ "Xcode@5" ], _js2n__-prdslib.enum [ "NuGetPublisher@0" ], _js2n__-prdslib.enum [ "queryWorkItems@0" ], _js2n__-prdslib.enum [ "AzureWebAppContainer@1" ], _js2n__-prdslib.enum [ "SqlDacpacDeploymentOnMachineGroup@0" ], _js2n__-prdslib.enum [ "CacheBeta@1" ], - _js2n__-prdslib.enum [ "Cache@2" ], _js2n__-prdslib.enum [ "CacheBeta@0" ], + _js2n__-prdslib.enum [ "Cache@2" ], _js2n__-prdslib.enum [ "CMake@1" ], _js2n__-prdslib.enum [ "VSMobileCenterTest@0" ], _js2n__-prdslib.enum [ "AppCenterTest@1" ], @@ -13979,25 +14694,26 @@ let rec _js2n__-refsenv _js2n__-prdslib.enum [ "NuGetRestore@1" ], _js2n__-prdslib.enum [ "NuGetCommand@2" ], _js2n__-prdslib.enum [ "Delay@1" ], - _js2n__-prdslib.enum [ "XamariniOS@1" ], _js2n__-prdslib.enum [ "XamariniOS@2" ], + _js2n__-prdslib.enum [ "XamariniOS@1" ], _js2n__-prdslib.enum [ "PublishTestResults@1" ], _js2n__-prdslib.enum [ "PublishTestResults@2" ], - _js2n__-prdslib.enum [ "AzureFileCopy@5" ], _js2n__-prdslib.enum [ "AzureFileCopy@1" ], _js2n__-prdslib.enum [ "AzureFileCopy@2" ], _js2n__-prdslib.enum [ "AzureFileCopy@3" ], _js2n__-prdslib.enum [ "AzureFileCopy@4" ], + _js2n__-prdslib.enum [ "AzureFileCopy@5" ], + _js2n__-prdslib.enum [ "AzureFileCopy@6" ], _js2n__-prdslib.enum [ "PublishSymbols@2" ], _js2n__-prdslib.enum [ "PublishSymbols@1" ], _js2n__-prdslib.enum [ "CopyFilesOverSSH@0" ], - _js2n__-prdslib.enum [ "Gradle@1" ], _js2n__-prdslib.enum [ "Gradle@2" ], _js2n__-prdslib.enum [ "Gradle@3" ], - _js2n__-prdslib.enum [ "AppCenterDistribute@0" ], + _js2n__-prdslib.enum [ "Gradle@1" ], _js2n__-prdslib.enum [ "AppCenterDistribute@1" ], _js2n__-prdslib.enum [ "AppCenterDistribute@2" ], _js2n__-prdslib.enum [ "AppCenterDistribute@3" ], + _js2n__-prdslib.enum [ "AppCenterDistribute@0" ], _js2n__-prdslib.enum [ "NuGetToolInstaller@0" ], _js2n__-prdslib.enum [ "NuGetToolInstaller@1" ], _js2n__-prdslib.enum [ "JenkinsDownloadArtifacts@1" ], @@ -14005,9 +14721,10 @@ let rec _js2n__-refsenv [ "AzureFunctionAppContainer@1" ], _js2n__-prdslib.enum [ "DecryptFile@1" ], _js2n__-prdslib.enum [ "HelmDeploy@0" ], + _js2n__-prdslib.enum [ "HelmDeploy@1" ], + _js2n__-prdslib.enum [ "InstallAppleCertificate@2" ], _js2n__-prdslib.enum [ "InstallAppleCertificate@1" ], _js2n__-prdslib.enum [ "InstallAppleCertificate@0" ], - _js2n__-prdslib.enum [ "InstallAppleCertificate@2" ], _js2n__-prdslib.enum [ "AzureFunction@1" ], _js2n__-prdslib.enum [ "AzureFunction@0" ], _js2n__-prdslib.enum [ "OpenPolicyAgentInstaller@0" ], @@ -14026,8 +14743,8 @@ let rec _js2n__-refsenv _js2n__-prdslib.enum [ "AndroidSigning@1" ], _js2n__-prdslib.enum [ "AndroidSigning@2" ], _js2n__-prdslib.enum [ "AndroidSigning@3" ], - _js2n__-prdslib.enum [ "DownloadPipelineArtifact@2" ], _js2n__-prdslib.enum [ "DownloadPipelineArtifact@0" ], + _js2n__-prdslib.enum [ "DownloadPipelineArtifact@2" ], _js2n__-prdslib.enum [ "DownloadPipelineArtifact@1" ], _js2n__-prdslib.enum [ "UsePythonVersion@0" ], _js2n__-prdslib.enum [ "ServiceFabricPowerShell@1" ], @@ -14035,6 +14752,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.enum [ "VSTest@2" ], _js2n__-prdslib.enum [ "VSTest@3" ], _js2n__-prdslib.enum [ "ManualValidation@0" ], + _js2n__-prdslib.enum [ "ManualValidation@1" ], _js2n__-prdslib.enum [ "Ant@1" ], _js2n__-prdslib.enum [ "DeployVisualStudioTestAgent@2" ], @@ -14045,11 +14763,13 @@ let rec _js2n__-refsenv _js2n__-prdslib.enum [ "BatchScript@1" ], _js2n__-prdslib.enum [ "DownloadGithubNpmPackage@1" ], _js2n__-prdslib.enum [ "VSBuild@1" ], - _js2n__-prdslib.enum [ "AzureKeyVault@2" ], _js2n__-prdslib.enum [ "AzureKeyVault@1" ], - _js2n__-prdslib.enum [ "UseDotNet@2" ], - _js2n__-prdslib.enum [ "DotNetCoreInstaller@1" ], + _js2n__-prdslib.enum [ "AzureKeyVault@2" ], _js2n__-prdslib.enum [ "DotNetCoreInstaller@0" ], + _js2n__-prdslib.enum [ "DotNetCoreInstaller@1" ], + _js2n__-prdslib.enum [ "UseDotNet@2" ], + _js2n__-prdslib.enum + [ "AzureAppConfigurationImport@10" ], _js2n__-prdslib.enum [ "AzureAppServiceManage@0" ], _js2n__-prdslib.enum [ "KubeloginInstaller@0" ], _js2n__-prdslib.enum [ "FuncToolsInstaller@0" ], @@ -14062,18 +14782,18 @@ let rec _js2n__-refsenv _js2n__-prdslib.enum [ "DownloadPackage@0" ], _js2n__-prdslib.enum [ "DownloadPackage@1" ], _js2n__-prdslib.enum - [ "AzureResourceGroupDeployment@1" ], + [ "AzureResourceGroupDeployment@2" ], _js2n__-prdslib.enum [ "AzureResourceManagerTemplateDeployment@3" ], _js2n__-prdslib.enum - [ "AzureResourceGroupDeployment@2" ], + [ "AzureResourceGroupDeployment@1" ], _js2n__-prdslib.enum [ "InvokeRESTAPI@0" ], _js2n__-prdslib.enum [ "InvokeRESTAPI@1" ], - _js2n__-prdslib.enum [ "ArchiveFiles@1" ], _js2n__-prdslib.enum [ "ArchiveFiles@2" ], + _js2n__-prdslib.enum [ "ArchiveFiles@1" ], _js2n__-prdslib.enum [ "GitHubComment@0" ], - _js2n__-prdslib.enum [ "CopyFiles@1" ], _js2n__-prdslib.enum [ "CopyFiles@2" ], + _js2n__-prdslib.enum [ "CopyFiles@1" ], _js2n__-prdslib.enum [ "AzureMysqlDeployment@1" ], _js2n__-prdslib.enum [ "Npm@0" ], _js2n__-prdslib.enum [ "Npm@1" ], @@ -14085,17 +14805,18 @@ let rec _js2n__-refsenv _js2n__-prdslib.enum [ "VisualStudioTestPlatformInstaller@1" ], _js2n__-prdslib.enum [ "PublishToAzureServiceBus@1" ], + _js2n__-prdslib.enum [ "PublishToAzureServiceBus@2" ], _js2n__-prdslib.enum [ "PublishToAzureServiceBus@0" ], - _js2n__-prdslib.enum [ "KubernetesManifest@1" ], _js2n__-prdslib.enum [ "KubernetesManifest@0" ], - _js2n__-prdslib.enum [ "DownloadBuildArtifacts@1" ], + _js2n__-prdslib.enum [ "KubernetesManifest@1" ], _js2n__-prdslib.enum [ "DownloadBuildArtifacts@0" ], + _js2n__-prdslib.enum [ "DownloadBuildArtifacts@1" ], _js2n__-prdslib.enum [ "CocoaPods@0" ], _js2n__-prdslib.enum [ "AzureSpringCloud@0" ], _js2n__-prdslib.enum [ "AzureWebApp@1" ], - _js2n__-prdslib.enum [ "AzureCLI@0" ], _js2n__-prdslib.enum [ "AzureCLI@2" ], _js2n__-prdslib.enum [ "AzureCLI@1" ], + _js2n__-prdslib.enum [ "AzureCLI@0" ], _js2n__-prdslib.enum [ "GitHubRelease@0" ], _js2n__-prdslib.enum [ "GitHubRelease@1" ], _js2n__-prdslib.enum [ "cURLUploader@1" ], @@ -14109,16 +14830,18 @@ let rec _js2n__-refsenv [ "AzureFunctionOnKubernetes@1" ], _js2n__-prdslib.enum [ "ShellScript@2" ], _js2n__-prdslib.enum [ "Bash@3" ], + _js2n__-prdslib.enum [ "ShellScript@1" ], _js2n__-prdslib.enum [ "PublishBuildArtifacts@1" ], _js2n__-prdslib.enum [ "InstallSSHKey@0" ], _js2n__-prdslib.enum [ "AzureVmssDeployment@0" ], + _js2n__-prdslib.enum [ "AzureVmssDeployment@1" ], _js2n__-prdslib.enum [ "AzureWebPowerShellDeployment@1" ], _js2n__-prdslib.enum [ "CondaAuthenticate@0" ], - _js2n__-prdslib.enum - [ "AzureCloudPowerShellDeployment@2" ], _js2n__-prdslib.enum [ "AzureCloudPowerShellDeployment@1" ], + _js2n__-prdslib.enum + [ "AzureCloudPowerShellDeployment@2" ], _js2n__-prdslib.enum [ "CargoAuthenticate@0" ], _js2n__-prdslib.enum [ "DeleteFiles@1" ], _js2n__-prdslib.enum [ "gulp@0" ], diff --git a/out/BOSH Deploy Config.ncl b/out/BOSH Deploy Config.ncl new file mode 100644 index 0000000..dee66e6 --- /dev/null +++ b/out/BOSH Deploy Config.ncl @@ -0,0 +1,952 @@ +# DO NOT EDIT +# This file was automatically generated using json-schema-to-nickel +let _js2n__-prdslib + = { + allOf + : Array (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `allOf preds` succeeds if all of the predicates in `preds` succeed + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.7.1] + "% + = fun + preds + x + => + std.array.fold_right + (fun pred acc => (match { 'Ok => acc, 'Err s => 'Err s, }) (pred x)) + 'Ok preds, + always : Dyn -> [| 'Ok, 'Err String |] = std.function.const 'Ok, + anyOf + : Array (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `anyOf preds` succeeds if at least one of the predicates in `preds` succeeds + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.7.2] + "% + = fun + preds + x + => + (match { + 'Ok => + 'Ok, + 'Errs + msgs => + 'Err + m%" + anyOf: none of the options matched + %{std.string.join + m%" + + + "% msgs} + "%, + }) + (std.array.fold_right + (fun + pred + acc + => + (match { + 'Ok => + 'Ok, + 'Errs + msgs => + (match { + 'Ok => + 'Ok, + 'Err + msg => + 'Errs ([ " - %{msg}" ] @ msgs), + }) (pred x), + }) acc) ('Errs [ ]) preds), + arrays = + { + additionalItems + : (Dyn -> [| 'Ok, 'Err String |]) + -> Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.2]" + = fun + pred + start + x + => + if !(std.is_array x) then + 'Ok + else + let x + | Array Dyn + = x + in + let value_length + = std.array.length x + in + if start >= value_length then + 'Ok + else + arrayOf pred + ((std.array.slice start value_length x) + | Dyn), + arrayOf + : (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + Apply a predicate to all elements of an array, succeeding if all + applications succeed. + "% + = fun + pred + x + => + if !(std.is_array x) then + 'Ok + else + let x + | Array Dyn + = x + in + std.array.fold_right + (fun + x + acc + => + (match { 'Ok => acc, 'Err msg => 'Err msg, }) (pred x)) + 'Ok x, + contains + : (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.6]" + = fun + pred + x + => + if !(std.is_array x) then + 'Ok + else + let x + | Array Dyn + = x + in + (match { + 'Ok => + 'Ok, + 'Errs + msgs => + 'Err + m%" + contains: no elements matched + %{std.string.join + m%" + + + "% msgs} + "%, + }) + (std.array.fold_right + (fun + x + acc + => + (match { + 'Ok => + 'Ok, + 'Errs + msgs => + (match { + 'Ok => + 'Ok, + 'Err + msg => + 'Errs ([ " - %{msg}" ] @ msgs), + }) (pred x), + }) acc) ('Errs [ ]) x), + items + : Array (Dyn -> [| 'Ok, 'Err String |]) + -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.1]" + = fun + preds + x + => + if !(std.is_array x) then + 'Ok + else + let x + | Array Dyn + = x + in + let length_to_check + = std.number.min (std.array.length preds) + (std.array.length x) + in + std.array.fold_right + (fun + i + acc + => + (match { 'Err msg => 'Err msg, 'Ok => acc, }) + (std.array.at i preds (std.array.at i x))) 'Ok + (std.array.range 0 length_to_check), + maxItems + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `maxItems n x` fails if `x` is an array of length strictly greater than `n` and succeeds otherwise. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.3] + "% + = fun + n + x + => + if !(std.is_array x) then + 'Ok + else + if (std.array.length (x | Array Dyn)) > n then + 'Err + "array is longer than %{std.string.from_number n} items" + else + 'Ok, + minItems + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `minItems n x` fails if `x` is an array of length strictly smaller than `n` and succeeds otherwise. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.4] + "% + = fun + n + x + => + if !(std.is_array x) then + 'Ok + else + if (std.array.length (x | Array Dyn)) < n then + 'Err + "array is shorter than %{std.string.from_number n} items" + else + 'Ok, + uniqueItems + : Dyn -> [| 'Ok, 'Err String |] + | doc m%" + Succeeds for any array if its elements are pairwise distinct. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.5] + "% + = let find_duplicate + : Array Dyn + -> { + has_duplicate : Bool, + duplicate : Dyn, + seen : { _ : Bool } + } + = std.array.fold_right + (fun + elt + acc + => + if acc.has_duplicate then + acc + else + let index + = std.serialize 'Json elt + in + if std.record.has_field index acc.seen then + { + duplicate = elt, + has_duplicate = true, + seen = acc.seen, + } + else + { + duplicate = null, + has_duplicate = false, + seen = std.record.insert index true acc.seen, + }) + { duplicate = null, has_duplicate = false, seen = {}, } + in + fun + x + => + if !(std.is_array x) then + 'Ok + else + let { has_duplicate, duplicate, .. } + = find_duplicate (x | Array Dyn) + in + if has_duplicate then + 'Err "duplicate found: %{std.serialize 'Json duplicate}" + else + 'Ok, + }, + const + : Dyn -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `const value x` succeeds if and only if `x` is equal to `value` + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.1.3] + "% + = fun + value + x + => + if x == value then + 'Ok + else + 'Err "expected %{std.serialize 'Json value}", + contract_from_predicate + : (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> Dyn -> Dyn + = fun + predicate + label + value + => + (match { + 'Ok => + value, + 'Err + msg => + (std.contract.blame_with_message msg label) + | Dyn, + }) (predicate value), + enum + : Array Dyn -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `enum values x` succeeds if and only if `x` is equal to one of the elements of `values`. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.1.2] + "% + = let checkEqual + = fun + input + variant + => + (input == variant) + || ((std.is_enum input) + && (((std.string.from_enum input) == variant) + | Bool)) + in + fun + values + x + => + std.array.fold_right + (fun value acc => if checkEqual x value then 'Ok else acc) + ('Err "expected one of %{std.serialize 'Json (values | Dyn)}") + values, + from_simple_predicate + : String -> (Dyn -> Bool) -> Dyn -> [| 'Ok, 'Err String |] + | doc "Convert a simple boolean predicate into a predicate supporting error messages" + = fun error' pred x => if pred x then 'Ok else 'Err error', + ifThenElse + : (Dyn -> [| 'Ok, 'Err String |]) + -> (Dyn -> [| 'Ok, 'Err String |]) + -> (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `ifThenElse i t e` first checks if the predicate `i` succeeds. If it does, it's equivalent to `t`, otherwise it's equivalent to `e`. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.6] + "% + = fun i t e x => (match { 'Ok => t x, 'Err msg => e x, }) (i x), + isType + : [| '"Array", '"Bool", 'Integer, 'Null, '"Number", 'Record, '"String" |] + -> Dyn -> [| 'Ok, 'Err String |] + = fun + t + => + (match { + 'Null => + from_simple_predicate "expected `null`" (fun x => x == null), + 'Integer => + from_simple_predicate "expected an integer" + (fun + x + => + (std.is_number x) && (std.number.is_integer (x | Number))), + _ => + from_simple_predicate + "value is not of type %{std.string.from_enum t}" + (fun x => (std.typeof x) == t), + }) t, + never : Dyn -> [| 'Ok, 'Err String |] = std.function.const ('Err "never"), + not + : (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `not pred` succeeds if and only if `pred` fails + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.7.4] + "% + = fun + pred + x + => + (match { + 'Ok => + 'Err "Inverted predicate succeeded unexpectedly", + 'Err + msg => + 'Ok, + }) (pred x), + numbers = + { + exclusiveMaximum + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.2.3]" + = fun + limit + x + => + if !(std.is_number x) then + 'Ok + else + if (x | Number) < limit then + 'Ok + else + 'Err + "expected an exclusive maximum of %{std.string.from_number + limit}", + exclusiveMinimum + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.2.5]" + = fun + limit + x + => + if !(std.is_number x) then + 'Ok + else + if (x | Number) > limit then + 'Ok + else + 'Err + "expected an exclusive minimum of %{std.string.from_number + limit}", + maximum + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.2.2]" + = fun + limit + x + => + if !(std.is_number x) then + 'Ok + else + if (x | Number) <= limit then + 'Ok + else + 'Err + "expected a maximum of %{std.string.from_number limit}", + minimum + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.2.4]" + = fun + limit + x + => + if !(std.is_number x) then + 'Ok + else + if (x | Number) >= limit then + 'Ok + else + 'Err + "expected a minimum of %{std.string.from_number limit}", + multipleOf + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.2.1]" + = fun + mult + x + => + if !(std.is_number x) then + 'Ok + else + if std.number.is_integer ((x | Number) / mult) then + 'Ok + else + 'Err + "expected a multiple of %{std.string.from_number mult}", + }, + oneOf + : Array (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `oneOf preds` succeeds if precisely one of the predicates in `preds` succeeds + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.7.3] + "% + = fun + preds + x + => + let count_ok + : Array [| 'Ok, 'Err String |] -> Number + = fun + results + => + std.array.fold_left (fun n b => if b == 'Ok then n + 1 else n) 0 + results + in + let results + = std.array.map (fun pred => pred x) preds + in + let count + = count_ok results + in + if count == 0 then + let errors + = std.array.flat_map + (fun + result + => + (match { 'Ok => [ ], 'Err s => [ " - %{s}" ], }) + result) results + in + 'Err + m%" + oneOf: none of the options matched + %{std.string.join + m%" + + + "% errors} + "% + else + if count > 1 then + 'Err "oneOf: more than one of the options matched" + else + 'Ok, + records = + { + dependencies + : { _ : Dyn } -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5.7]" + = let mustHaveFields + : Array String -> { _ : Dyn } -> [| 'Ok, 'Err String |] + = fun + fields + x + => + std.array.fold_right + (fun + field + acc + => + if !(std.record.has_field field x) then + 'Err "expected field `%{field}`" + else + acc) 'Ok fields + in + fun + deps + x + => + if !(std.is_record x) then + 'Ok + else + let x + | { _ : Dyn } + = x + in + std.array.fold_right + (fun + { field, value, } + => + fun + acc + => + if !(std.record.has_field field x) then + acc + else + let result + = if std.is_array value then + mustHaveFields (value | Array String) x + else + let pred + | Dyn -> [| 'Ok, 'Err String |] + = value + in + pred (x | Dyn) + in + (match { + 'Err + msg => + 'Err + "dependency of `%{field}` failed: %{msg}", + 'Ok => + acc, + }) result) 'Ok (std.record.to_array deps), + maxProperties + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `maxProperties n x` fails if `x` is a record containing stricly more than `n` fields. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5.1] + "% + = fun + n + x + => + if !(std.is_record x) then + 'Ok + else + if (std.record.length (x | { _ : Dyn })) > n then + 'Err + "record contains more than %{std.string.from_number + n} fields" + else + 'Ok, + minProperties + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `minProperties n x` fails if `x` is a record containing stricly less than `n` fields. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5.1] + "% + = fun + n + x + => + if !(std.is_record x) then + 'Ok + else + if (std.record.length (x | { _ : Dyn })) < n then + 'Err + "record contains fewer than %{std.string.from_number + n} fields" + else + 'Ok, + propertyNames + : (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5.8]" + = fun + pred + x + => + if !(std.is_record x) then + 'Ok + else + std.array.fold_right + (fun + field + acc + => + (match { + 'Err + msg => + 'Err + "field `%{field}` did not validate against `propertyNames` schema", + 'Ok => + acc, + }) (pred (field | Dyn))) 'Ok + (std.record.fields (x | { _ : Dyn })), + record + : { _ : Dyn -> [| 'Ok, 'Err String |] } + -> { _ : Dyn -> [| 'Ok, 'Err String |] } + -> Bool + -> (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `record properties patternProperties additionalAllowed + additionalProperties x` is a combination of the `properties`, + `patternProperties` and `additionalProperties` validation keywords in + JSON schema. + + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5] + "% + = fun + properties + patternProperties + additionalAllowed + additionalProperties + x + => + if !(std.is_record x) then + 'Ok + else + let x + | { _ : Dyn } + = x + in + let check_properties + : { + result : [| 'Ok, 'Err String |], + checked : { _ : Bool } + } + = std.array.fold_right + (fun + { field, value, } + => + fun + acc + => + if !(std.record.has_field field x) then + acc + else + (match { + 'Err + msg => + { + checked : { _ : Bool } = {}, + result = + 'Err + "field `%{field}` didn't validate: %{msg}", + }, + 'Ok => + { + checked = + std.record.insert field true acc.checked, + result = acc.result, + }, + }) (value x."%{field}")) + { checked = {}, result = 'Ok, } + (std.record.to_array properties) + in + let matching_fields + : String -> { _ : Dyn } + = fun + pattern + => + let matcher + = std.string.is_match pattern + in + std.array.fold_left + (fun + acc + => + fun + { field, value, } + => + if matcher field then + std.record.insert field value acc + else + acc) {} (std.record.to_array x) + in + let check_pattern_properties + : { + result : [| 'Ok, 'Err String |], + checked : { _ : Bool } + } + = std.array.fold_right + (fun + { field = pattern, value = pred, } + => + fun + acc + => + (match { + r @ { result = 'Err msg, .. } => + r, + { result = 'Ok, checked = ch, } => + { + checked = + std.array.fold_left + (fun + r + field + => + if !(std.record.has_field field + r) then + std.record.insert field true r + else + r) acc.checked + (std.record.fields ch), + result = acc.result, + }, + }) + (std.array.fold_right + (fun + { field, value, } + => + fun + acc + => + (match { + 'Err + msg => + { + checked : { _ : Bool } = {}, + result = + 'Err + "field `%{field}` didn't validate: %{msg}", + }, + 'Ok => + { + checked = + std.record.insert field true + acc.checked, + result = acc.result, + }, + }) (pred value)) + { + checked : { _ : Bool } = {}, + result = 'Ok, + } + (std.record.to_array + (matching_fields pattern)))) + { checked : { _ : Bool } = {}, result = 'Ok, } + (std.record.to_array patternProperties) + in + let remaining_fields + = std.array.fold_left + (fun + acc + field + => + if !(std.record.has_field field acc) then + acc + else + std.record.remove field acc) x + ((std.record.fields check_properties.checked) + @ (std.record.fields + check_pattern_properties.checked)) + in + let check_additional_properties + : [| 'Ok, 'Err String |] + = if (!additionalAllowed) + && (!(std.record.is_empty remaining_fields)) then + 'Err + "extra fields %{std.serialize 'Json + ((std.record.fields remaining_fields) + | Dyn)}" + else + std.array.fold_right + (fun + { field, value, } + => + fun + acc + => + (match { + 'Err + msg => + 'Err + "field `%{field}` didn't validate: %{msg}", + 'Ok => + acc, + }) (additionalProperties value)) 'Ok + (std.record.to_array remaining_fields) + in + (match { + 'Err + msg => + check_properties.result, + 'Ok => + (match { + 'Err + msg => + check_pattern_properties.result, + 'Ok => + check_additional_properties, + }) check_pattern_properties.result, + }) check_properties.result, + required + : Array String -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5.3]" + = fun + fields + x + => + if !(std.is_record x) then + 'Ok + else + std.array.fold_right + (fun + field + acc + => + if !(std.record.has_field field (x | { _ : Dyn })) then + 'Err "missing required field %{field}" + else + acc) 'Ok fields, + }, + strings = + { + maxLength + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.3.1]" + = fun + limit + x + => + if !(std.is_string x) then + 'Ok + else + if (std.string.length (x | String)) <= limit then + 'Ok + else + 'Err + "expected a string of length no larger than %{std.string.from_number + limit}", + minLength + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.3.2]" + = fun + limit + x + => + if !(std.is_string x) then + 'Ok + else + if (std.string.length (x | String)) >= limit then + 'Ok + else + 'Err + "expected a string of length no smaller than %{std.string.from_number + limit}", + pattern + : String -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.3.3]" + = fun + pattern + x + => + if !(std.is_string x) then + 'Ok + else + if std.string.is_match pattern (x | String) then + 'Ok + else + 'Err "expected a string matching the pattern `%{pattern}`", + }, + } + in +let rec _js2n__-refsenv + = { + "_js2n__-:definitions/DeployConfig!contract" + | doc "A config to enable `bosh deploy` flags on a BOSH Director-wide or per-deployment basis." + = _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required [ "flags" ], + _js2n__-prdslib.records.record + { + exclude = + _js2n__-refsenv."_js2n__-:definitions/Deployments!predicate", + flags = + _js2n__-refsenv."_js2n__-:definitions/Flags!predicate", + } {} false _js2n__-prdslib.never + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required [ "flags" ], + _js2n__-prdslib.records.record + { + flags = + _js2n__-refsenv."_js2n__-:definitions/Flags!predicate", + include = + _js2n__-refsenv."_js2n__-:definitions/Deployments!predicate", + } {} false _js2n__-prdslib.never + ] + ] + ]), + "_js2n__-:definitions/Deployments!predicate" = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") + ], + "_js2n__-:definitions/Flags!predicate" = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.strings.pattern + "^(fix|fix-releases|recreate|recreate-persistent-disks)$" + ]) + ], + } + in + _js2n__-refsenv."_js2n__-:definitions/DeployConfig!contract" \ No newline at end of file diff --git a/out/Camel YAML DSL.ncl b/out/Camel YAML DSL.ncl index 8d2a772..c4e7ed4 100644 --- a/out/Camel YAML DSL.ncl +++ b/out/Camel YAML DSL.ncl @@ -11622,7 +11622,6 @@ let rec _js2n__-refsenv timezone = _js2n__-prdslib.isType '"String", unmarshalType = _js2n__-prdslib.isType '"String", useList = _js2n__-prdslib.isType '"Bool", - useWriter = _js2n__-prdslib.isType '"Bool", xmlMapper = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], @@ -11687,6 +11686,7 @@ let rec _js2n__-refsenv autoDiscoverObjectMapper = _js2n__-prdslib.isType '"Bool", autoDiscoverSchemaResolver = _js2n__-prdslib.isType '"Bool", collectionType = _js2n__-prdslib.isType '"String", + combineUnicodeSurrogates = _js2n__-prdslib.isType '"Bool", contentTypeHeader = _js2n__-prdslib.isType '"Bool", dateFormatPattern = _js2n__-prdslib.isType '"String", disableFeatures = _js2n__-prdslib.isType '"String", @@ -11717,7 +11717,6 @@ let rec _js2n__-refsenv unmarshalType = _js2n__-prdslib.isType '"String", useDefaultObjectMapper = _js2n__-prdslib.isType '"Bool", useList = _js2n__-prdslib.isType '"Bool", - useWriter = _js2n__-prdslib.isType '"Bool", } {} false _js2n__-prdslib.never ], "_js2n__-:items/definitions/org.apache.camel.model.dataformat.LZFDataFormat!predicate" diff --git a/out/Containerlab.ncl b/out/Containerlab.ncl index 4f1f46c..8ec7079 100644 --- a/out/Containerlab.ncl +++ b/out/Containerlab.ncl @@ -1354,6 +1354,7 @@ let rec _js2n__-refsenv "cisco_iol", "cvx", "cumulus_cvx", + "huawei_vrp", "openbsd", "freebsd", "generic_vm", @@ -1434,6 +1435,22 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.minItems 1, _js2n__-prdslib.arrays.uniqueItems ], + restart-policy = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ + "no", + "No", + "on-failure", + "On-failure", + "Always", + "always", + "unless-stopped", + "Unless-stopped" + ] + ], runtime = _js2n__-prdslib.allOf [ @@ -1721,6 +1738,8 @@ let rec _js2n__-refsenv _js2n__-refsenv."_js2n__-:definitions/node-config!predicate", host = _js2n__-refsenv."_js2n__-:definitions/node-config!predicate", + huawei_vrp = + _js2n__-refsenv."_js2n__-:definitions/node-config!predicate", ipinfusion_ocnos = _js2n__-refsenv."_js2n__-:definitions/node-config!predicate", juniper_crpd = diff --git a/out/Datahub Ingestion Recipe.ncl b/out/Datahub Ingestion Recipe.ncl index 672bb42..17cab69 100644 --- a/out/Datahub Ingestion Recipe.ncl +++ b/out/Datahub Ingestion Recipe.ncl @@ -4328,7 +4328,6 @@ let rec _js2n__-refsenv ]) ], project_name = _js2n__-prdslib.isType '"String", - sql_parser = _js2n__-prdslib.isType '"String", stateful_ingestion = _js2n__-refsenv."_js2n__-:definitions/StatefulStaleMetadataRemovalConfig!predicate", tag_measures_and_dimensions = _js2n__-prdslib.isType '"Bool", @@ -5153,6 +5152,8 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"Bool", filter_dataset_endorsements = _js2n__-refsenv."_js2n__-:definitions/AllowDenyPattern!predicate", + include_workspace_name_in_dataset_urn = + _js2n__-prdslib.isType '"Bool", modified_since = _js2n__-prdslib.isType '"String", native_query_parsing = _js2n__-prdslib.isType '"Bool", ownership = @@ -5188,6 +5189,24 @@ let rec _js2n__-refsenv workspace_id_as_urn_part = _js2n__-prdslib.isType '"Bool", workspace_id_pattern = _js2n__-refsenv."_js2n__-:definitions/AllowDenyPattern!predicate", + workspace_type_filter = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ + "Workspace", + "PersonalGroup", + "Personal", + "AdminWorkspace", + "AdminInsights" + ] + ]) + ], } {} false _js2n__-prdslib.never ], "_js2n__-:definitions/preset!predicate" = diff --git a/out/GitLab Agent for Kubernetes configuration.ncl b/out/GitLab Agent for Kubernetes configuration.ncl index 823b74a..5d5a53c 100644 --- a/out/GitLab Agent for Kubernetes configuration.ncl +++ b/out/GitLab Agent for Kubernetes configuration.ncl @@ -1508,6 +1508,8 @@ let rec _js2n__-refsenv _js2n__-prdslib.records.record {} {} true (_js2n__-prdslib.isType '"String") ], + max_active_hours_before_stop = + _js2n__-prdslib.isType 'Integer, max_hours_before_termination_limit = _js2n__-prdslib.isType 'Integer, max_resources_per_workspace = @@ -1517,6 +1519,8 @@ let rec _js2n__-refsenv _js2n__-prdslib.never, _js2n__-refsenv."_js2n__-:definitions/gitlab.agent.agentcfg.ResourceRequirements!predicate" ], + max_stopped_hours_before_termination = + _js2n__-prdslib.isType 'Integer, network_policy = _js2n__-prdslib.allOf [ diff --git a/out/Landing Zone Accelerator on AWS - Customizations Config.ncl b/out/Landing Zone Accelerator on AWS - Customizations Config.ncl index 81c5d6d..3c92eb5 100644 --- a/out/Landing Zone Accelerator on AWS - Customizations Config.ncl +++ b/out/Landing Zone Accelerator on AWS - Customizations Config.ncl @@ -1252,6 +1252,10 @@ let rec _js2n__-refsenv ]) | doc "The CloudFormation capabilities enabled to deploy the stackset." | optional, + dependsOn + | Array (String) + | doc "The other StackSets this StackSet depends on. For stackset names you define here, a CloudFormation DependsOn attribute will be added between the resources. Please note this does not guarantee the deployment order of the stack instances within the StackSet." + | optional, deploymentTargets | _js2n__-refsenv."_js2n__-:definitions/IDeploymentTargets!contract" | doc "CloudFormation StackSet deployment targets", @@ -2132,6 +2136,8 @@ let rec _js2n__-refsenv [| 'us-west-2, 'us-west-1, + 'us-isof-east-1, + 'us-isof-south-1, 'us-iso-west-1, 'us-isob-east-1, 'us-iso-east-1, @@ -2143,6 +2149,7 @@ let rec _js2n__-refsenv 'me-south-1, 'me-central-1, 'il-central-1, + 'eu-isoe-west-1, 'eu-west-3, 'eu-west-2, 'eu-west-1, @@ -2155,6 +2162,7 @@ let rec _js2n__-refsenv 'cn-north-1, 'ca-west-1, 'ca-central-1, + 'ap-southeast-5, 'ap-southeast-4, 'ap-southeast-3, 'ap-southeast-2, @@ -2186,7 +2194,22 @@ let rec _js2n__-refsenv 'ELBSecurityPolicy-TLS-1-2-Ext-2018-06, 'ELBSecurityPolicy-TLS-1-2-2017-01, 'ELBSecurityPolicy-TLS-1-1-2017-01, - 'ELBSecurityPolicy-TLS-1-0-2015-04 + 'ELBSecurityPolicy-TLS-1-0-2015-04, + 'ELBSecurityPolicy-TLS13-1-3-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-0-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-1-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-2-Ext2-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-2-Ext1-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-2-Ext0-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-2-Res-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-2-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-3-2021-06, + 'ELBSecurityPolicy-TLS13-1-0-2021-06, + 'ELBSecurityPolicy-TLS13-1-1-2021-06, + 'ELBSecurityPolicy-TLS13-1-2-Ext2-2021-06, + 'ELBSecurityPolicy-TLS13-1-2-Ext1-2021-06, + 'ELBSecurityPolicy-TLS13-1-2-Res-2021-06, + 'ELBSecurityPolicy-TLS13-1-2-2021-06 |] ], "_js2n__-:definitions/SslPolicyNlbEnum!contract" = @@ -2195,13 +2218,6 @@ let rec _js2n__-refsenv std.enum.TagOrString, [| 'ELBSecurityPolicy-2016-08, - 'ELBSecurityPolicy-TLS13-1-3-2021-06, - 'ELBSecurityPolicy-TLS13-1-0-2021-06, - 'ELBSecurityPolicy-TLS13-1-1-2021-06, - 'ELBSecurityPolicy-TLS13-1-2-Ext2-2021-06, - 'ELBSecurityPolicy-TLS13-1-2-Ext1-2021-06, - 'ELBSecurityPolicy-TLS13-1-2-Res-2021-06, - 'ELBSecurityPolicy-TLS13-1-2-2021-06, 'ELBSecurityPolicy-FS-1-2-Res-2020-10, 'ELBSecurityPolicy-2015-05, 'ELBSecurityPolicy-FS-1-2-Res-2019-08, @@ -2211,7 +2227,22 @@ let rec _js2n__-refsenv 'ELBSecurityPolicy-TLS-1-2-Ext-2018-06, 'ELBSecurityPolicy-TLS-1-2-2017-01, 'ELBSecurityPolicy-TLS-1-1-2017-01, - 'ELBSecurityPolicy-TLS-1-0-2015-04 + 'ELBSecurityPolicy-TLS-1-0-2015-04, + 'ELBSecurityPolicy-TLS13-1-3-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-0-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-1-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-2-Ext2-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-2-Ext1-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-2-Ext0-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-2-Res-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-2-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-3-2021-06, + 'ELBSecurityPolicy-TLS13-1-0-2021-06, + 'ELBSecurityPolicy-TLS13-1-1-2021-06, + 'ELBSecurityPolicy-TLS13-1-2-Ext2-2021-06, + 'ELBSecurityPolicy-TLS13-1-2-Ext1-2021-06, + 'ELBSecurityPolicy-TLS13-1-2-Res-2021-06, + 'ELBSecurityPolicy-TLS13-1-2-2021-06 |] ], "_js2n__-:definitions/TargetGroupAttributeAlgorithm!contract" = diff --git a/out/Landing Zone Accelerator on AWS - Network Config.ncl b/out/Landing Zone Accelerator on AWS - Network Config.ncl index c4e8655..42bf9cb 100644 --- a/out/Landing Zone Accelerator on AWS - Network Config.ncl +++ b/out/Landing Zone Accelerator on AWS - Network Config.ncl @@ -4770,6 +4770,8 @@ let rec _js2n__-refsenv [| 'us-west-2, 'us-west-1, + 'us-isof-east-1, + 'us-isof-south-1, 'us-iso-west-1, 'us-isob-east-1, 'us-iso-east-1, @@ -4781,6 +4783,7 @@ let rec _js2n__-refsenv 'me-south-1, 'me-central-1, 'il-central-1, + 'eu-isoe-west-1, 'eu-west-3, 'eu-west-2, 'eu-west-1, @@ -4793,6 +4796,7 @@ let rec _js2n__-refsenv 'cn-north-1, 'ca-west-1, 'ca-central-1, + 'ap-southeast-5, 'ap-southeast-4, 'ap-southeast-3, 'ap-southeast-2, @@ -4824,6 +4828,7 @@ let rec _js2n__-refsenv "ap-southeast-2", "ap-southeast-3", "ap-southeast-4", + "ap-southeast-5", "ca-central-1", "ca-west-1", "cn-north-1", @@ -4836,6 +4841,7 @@ let rec _js2n__-refsenv "eu-west-1", "eu-west-2", "eu-west-3", + "eu-isoe-west-1", "il-central-1", "me-central-1", "me-south-1", @@ -4847,6 +4853,8 @@ let rec _js2n__-refsenv "us-iso-east-1", "us-isob-east-1", "us-iso-west-1", + "us-isof-south-1", + "us-isof-east-1", "us-west-1", "us-west-2" ] @@ -4914,7 +4922,22 @@ let rec _js2n__-refsenv 'ELBSecurityPolicy-TLS-1-2-Ext-2018-06, 'ELBSecurityPolicy-TLS-1-2-2017-01, 'ELBSecurityPolicy-TLS-1-1-2017-01, - 'ELBSecurityPolicy-TLS-1-0-2015-04 + 'ELBSecurityPolicy-TLS-1-0-2015-04, + 'ELBSecurityPolicy-TLS13-1-3-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-0-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-1-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-2-Ext2-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-2-Ext1-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-2-Ext0-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-2-Res-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-2-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-3-2021-06, + 'ELBSecurityPolicy-TLS13-1-0-2021-06, + 'ELBSecurityPolicy-TLS13-1-1-2021-06, + 'ELBSecurityPolicy-TLS13-1-2-Ext2-2021-06, + 'ELBSecurityPolicy-TLS13-1-2-Ext1-2021-06, + 'ELBSecurityPolicy-TLS13-1-2-Res-2021-06, + 'ELBSecurityPolicy-TLS13-1-2-2021-06 |] ], "_js2n__-:definitions/SslPolicyNlbEnum!contract" = @@ -4923,13 +4946,6 @@ let rec _js2n__-refsenv std.enum.TagOrString, [| 'ELBSecurityPolicy-2016-08, - 'ELBSecurityPolicy-TLS13-1-3-2021-06, - 'ELBSecurityPolicy-TLS13-1-0-2021-06, - 'ELBSecurityPolicy-TLS13-1-1-2021-06, - 'ELBSecurityPolicy-TLS13-1-2-Ext2-2021-06, - 'ELBSecurityPolicy-TLS13-1-2-Ext1-2021-06, - 'ELBSecurityPolicy-TLS13-1-2-Res-2021-06, - 'ELBSecurityPolicy-TLS13-1-2-2021-06, 'ELBSecurityPolicy-FS-1-2-Res-2020-10, 'ELBSecurityPolicy-2015-05, 'ELBSecurityPolicy-FS-1-2-Res-2019-08, @@ -4939,7 +4955,22 @@ let rec _js2n__-refsenv 'ELBSecurityPolicy-TLS-1-2-Ext-2018-06, 'ELBSecurityPolicy-TLS-1-2-2017-01, 'ELBSecurityPolicy-TLS-1-1-2017-01, - 'ELBSecurityPolicy-TLS-1-0-2015-04 + 'ELBSecurityPolicy-TLS-1-0-2015-04, + 'ELBSecurityPolicy-TLS13-1-3-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-0-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-1-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-2-Ext2-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-2-Ext1-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-2-Ext0-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-2-Res-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-2-FIPS-2023-04, + 'ELBSecurityPolicy-TLS13-1-3-2021-06, + 'ELBSecurityPolicy-TLS13-1-0-2021-06, + 'ELBSecurityPolicy-TLS13-1-1-2021-06, + 'ELBSecurityPolicy-TLS13-1-2-Ext2-2021-06, + 'ELBSecurityPolicy-TLS13-1-2-Ext1-2021-06, + 'ELBSecurityPolicy-TLS13-1-2-Res-2021-06, + 'ELBSecurityPolicy-TLS13-1-2-2021-06 |] ], "_js2n__-:definitions/StartupActionType!contract" = diff --git a/out/Landing Zone Accelerator on AWS - Security Config.ncl b/out/Landing Zone Accelerator on AWS - Security Config.ncl index 8ea9c42..ede4a62 100644 --- a/out/Landing Zone Accelerator on AWS - Security Config.ncl +++ b/out/Landing Zone Accelerator on AWS - Security Config.ncl @@ -2146,6 +2146,8 @@ let rec _js2n__-refsenv [| 'us-west-2, 'us-west-1, + 'us-isof-east-1, + 'us-isof-south-1, 'us-iso-west-1, 'us-isob-east-1, 'us-iso-east-1, @@ -2157,6 +2159,7 @@ let rec _js2n__-refsenv 'me-south-1, 'me-central-1, 'il-central-1, + 'eu-isoe-west-1, 'eu-west-3, 'eu-west-2, 'eu-west-1, @@ -2169,6 +2172,7 @@ let rec _js2n__-refsenv 'cn-north-1, 'ca-west-1, 'ca-central-1, + 'ap-southeast-5, 'ap-southeast-4, 'ap-southeast-3, 'ap-southeast-2, diff --git a/out/Lefthook.ncl b/out/Lefthook.ncl index 3e887c1..fc30fa4 100644 --- a/out/Lefthook.ncl +++ b/out/Lefthook.ncl @@ -905,7 +905,8 @@ let rec _js2n__-refsenv _js2n__-prdslib.records.record { env = _js2n__-refsenv."_js2n__-:definitions/Env!predicate", - exclude = _js2n__-prdslib.isType '"String", + exclude = + _js2n__-refsenv."_js2n__-:definitions/Exclude!predicate", fail_text = _js2n__-refsenv."_js2n__-:definitions/FailText!predicate", files = _js2n__-prdslib.isType '"String", @@ -933,6 +934,18 @@ let rec _js2n__-refsenv _js2n__-prdslib.records.record {} {} true (_js2n__-prdslib.isType '"String") ], + "_js2n__-:definitions/Exclude!predicate" + | doc "A list of globs to be excluded or a single regular expression (regex variant is deprecated)" + = _js2n__-prdslib.oneOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType '"String") + ], + _js2n__-prdslib.isType '"String" + ], "_js2n__-:definitions/FailText!predicate" | doc "Text to show when the command or script fails." = _js2n__-prdslib.isType '"String", diff --git a/out/Mergify Configuration.ncl b/out/Mergify Configuration.ncl index 6b3f9ac..8fd9409 100644 --- a/out/Mergify Configuration.ncl +++ b/out/Mergify Configuration.ncl @@ -899,57 +899,29 @@ let rec _js2n__-refsenv = {} in { - commands_restrictions - | { - backport | Dyn | optional, - copy | Dyn | optional, - dequeue | Dyn | optional, - queue | Dyn | optional, - rebase | Dyn | optional, - refresh | Dyn | optional, - requeue | Dyn | optional, - squash | Dyn | optional, - update | Dyn | optional, - } - | doc "Commands restriction" - | optional, - defaults | { actions | Dyn | optional, .. } | optional, - extends | String | optional, - merge_protections | Array (Dyn) | optional, - merge_queue - | { - max_parallel_checks - | _js2n__-prdslib.contract_from_predicate - (_js2n__-prdslib.allOf + commands_restrictions | Dyn | optional, + defaults | Dyn | optional, + extends + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.anyOf + [ + _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType 'Integer, - _js2n__-prdslib.numbers.maximum 128, - _js2n__-prdslib.numbers.minimum 1 - ]) - | doc "The maximum number of checks allowed to run in parallel for the merge queue. Must be between 1 and 128." - | optional, - .. - } - | doc "The configuration of the merge queue" - | optional, - partition_rules | Array (Dyn) | optional, - priority_rules - | Array (Dyn) - | doc "The list of priority rules a pull request can match in order to be prioritized when added to a queue. The rule with the highest priority value wins." + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.strings.minLength 1 + ], + _js2n__-prdslib.isType 'Null + ]) | optional, - pull_request_rules | Array (Dyn) | optional, - queue_rules | Array (Dyn) | optional, + merge_protections | Dyn | optional, + merge_queue | Dyn | optional, + partition_rules | Dyn | optional, + priority_rules | Dyn | optional, + pull_request_rules | Dyn | optional, + queue_rules | Dyn | optional, shared | _js2n__-prdslib.contract_from_predicate (_js2n__-prdslib.anyOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.isType '"Bool", - _js2n__-prdslib.isType 'Integer, - _js2n__-prdslib.isType 'Null, - _js2n__-prdslib.isType '"Number", - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.isType '"String" - ]) + [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.isType 'Null ]) | optional, } \ No newline at end of file diff --git a/out/October CMS columns.ncl b/out/October CMS columns.ncl new file mode 100644 index 0000000..d7c1319 --- /dev/null +++ b/out/October CMS columns.ncl @@ -0,0 +1,1032 @@ +# DO NOT EDIT +# This file was automatically generated using json-schema-to-nickel +let _js2n__-prdslib + = { + allOf + : Array (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `allOf preds` succeeds if all of the predicates in `preds` succeed + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.7.1] + "% + = fun + preds + x + => + std.array.fold_right + (fun pred acc => (match { 'Ok => acc, 'Err s => 'Err s, }) (pred x)) + 'Ok preds, + always : Dyn -> [| 'Ok, 'Err String |] = std.function.const 'Ok, + anyOf + : Array (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `anyOf preds` succeeds if at least one of the predicates in `preds` succeeds + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.7.2] + "% + = fun + preds + x + => + (match { + 'Ok => + 'Ok, + 'Errs + msgs => + 'Err + m%" + anyOf: none of the options matched + %{std.string.join + m%" + + + "% msgs} + "%, + }) + (std.array.fold_right + (fun + pred + acc + => + (match { + 'Ok => + 'Ok, + 'Errs + msgs => + (match { + 'Ok => + 'Ok, + 'Err + msg => + 'Errs ([ " - %{msg}" ] @ msgs), + }) (pred x), + }) acc) ('Errs [ ]) preds), + arrays = + { + additionalItems + : (Dyn -> [| 'Ok, 'Err String |]) + -> Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.2]" + = fun + pred + start + x + => + if !(std.is_array x) then + 'Ok + else + let x + | Array Dyn + = x + in + let value_length + = std.array.length x + in + if start >= value_length then + 'Ok + else + arrayOf pred + ((std.array.slice start value_length x) + | Dyn), + arrayOf + : (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + Apply a predicate to all elements of an array, succeeding if all + applications succeed. + "% + = fun + pred + x + => + if !(std.is_array x) then + 'Ok + else + let x + | Array Dyn + = x + in + std.array.fold_right + (fun + x + acc + => + (match { 'Ok => acc, 'Err msg => 'Err msg, }) (pred x)) + 'Ok x, + contains + : (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.6]" + = fun + pred + x + => + if !(std.is_array x) then + 'Ok + else + let x + | Array Dyn + = x + in + (match { + 'Ok => + 'Ok, + 'Errs + msgs => + 'Err + m%" + contains: no elements matched + %{std.string.join + m%" + + + "% msgs} + "%, + }) + (std.array.fold_right + (fun + x + acc + => + (match { + 'Ok => + 'Ok, + 'Errs + msgs => + (match { + 'Ok => + 'Ok, + 'Err + msg => + 'Errs ([ " - %{msg}" ] @ msgs), + }) (pred x), + }) acc) ('Errs [ ]) x), + items + : Array (Dyn -> [| 'Ok, 'Err String |]) + -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.1]" + = fun + preds + x + => + if !(std.is_array x) then + 'Ok + else + let x + | Array Dyn + = x + in + let length_to_check + = std.number.min (std.array.length preds) + (std.array.length x) + in + std.array.fold_right + (fun + i + acc + => + (match { 'Err msg => 'Err msg, 'Ok => acc, }) + (std.array.at i preds (std.array.at i x))) 'Ok + (std.array.range 0 length_to_check), + maxItems + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `maxItems n x` fails if `x` is an array of length strictly greater than `n` and succeeds otherwise. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.3] + "% + = fun + n + x + => + if !(std.is_array x) then + 'Ok + else + if (std.array.length (x | Array Dyn)) > n then + 'Err + "array is longer than %{std.string.from_number n} items" + else + 'Ok, + minItems + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `minItems n x` fails if `x` is an array of length strictly smaller than `n` and succeeds otherwise. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.4] + "% + = fun + n + x + => + if !(std.is_array x) then + 'Ok + else + if (std.array.length (x | Array Dyn)) < n then + 'Err + "array is shorter than %{std.string.from_number n} items" + else + 'Ok, + uniqueItems + : Dyn -> [| 'Ok, 'Err String |] + | doc m%" + Succeeds for any array if its elements are pairwise distinct. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.5] + "% + = let find_duplicate + : Array Dyn + -> { + has_duplicate : Bool, + duplicate : Dyn, + seen : { _ : Bool } + } + = std.array.fold_right + (fun + elt + acc + => + if acc.has_duplicate then + acc + else + let index + = std.serialize 'Json elt + in + if std.record.has_field index acc.seen then + { + duplicate = elt, + has_duplicate = true, + seen = acc.seen, + } + else + { + duplicate = null, + has_duplicate = false, + seen = std.record.insert index true acc.seen, + }) + { duplicate = null, has_duplicate = false, seen = {}, } + in + fun + x + => + if !(std.is_array x) then + 'Ok + else + let { has_duplicate, duplicate, .. } + = find_duplicate (x | Array Dyn) + in + if has_duplicate then + 'Err "duplicate found: %{std.serialize 'Json duplicate}" + else + 'Ok, + }, + const + : Dyn -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `const value x` succeeds if and only if `x` is equal to `value` + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.1.3] + "% + = fun + value + x + => + if x == value then + 'Ok + else + 'Err "expected %{std.serialize 'Json value}", + contract_from_predicate + : (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> Dyn -> Dyn + = fun + predicate + label + value + => + (match { + 'Ok => + value, + 'Err + msg => + (std.contract.blame_with_message msg label) + | Dyn, + }) (predicate value), + enum + : Array Dyn -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `enum values x` succeeds if and only if `x` is equal to one of the elements of `values`. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.1.2] + "% + = let checkEqual + = fun + input + variant + => + (input == variant) + || ((std.is_enum input) + && (((std.string.from_enum input) == variant) + | Bool)) + in + fun + values + x + => + std.array.fold_right + (fun value acc => if checkEqual x value then 'Ok else acc) + ('Err "expected one of %{std.serialize 'Json (values | Dyn)}") + values, + from_simple_predicate + : String -> (Dyn -> Bool) -> Dyn -> [| 'Ok, 'Err String |] + | doc "Convert a simple boolean predicate into a predicate supporting error messages" + = fun error' pred x => if pred x then 'Ok else 'Err error', + ifThenElse + : (Dyn -> [| 'Ok, 'Err String |]) + -> (Dyn -> [| 'Ok, 'Err String |]) + -> (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `ifThenElse i t e` first checks if the predicate `i` succeeds. If it does, it's equivalent to `t`, otherwise it's equivalent to `e`. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.6] + "% + = fun i t e x => (match { 'Ok => t x, 'Err msg => e x, }) (i x), + isType + : [| '"Array", '"Bool", 'Integer, 'Null, '"Number", 'Record, '"String" |] + -> Dyn -> [| 'Ok, 'Err String |] + = fun + t + => + (match { + 'Null => + from_simple_predicate "expected `null`" (fun x => x == null), + 'Integer => + from_simple_predicate "expected an integer" + (fun + x + => + (std.is_number x) && (std.number.is_integer (x | Number))), + _ => + from_simple_predicate + "value is not of type %{std.string.from_enum t}" + (fun x => (std.typeof x) == t), + }) t, + never : Dyn -> [| 'Ok, 'Err String |] = std.function.const ('Err "never"), + not + : (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `not pred` succeeds if and only if `pred` fails + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.7.4] + "% + = fun + pred + x + => + (match { + 'Ok => + 'Err "Inverted predicate succeeded unexpectedly", + 'Err + msg => + 'Ok, + }) (pred x), + numbers = + { + exclusiveMaximum + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.2.3]" + = fun + limit + x + => + if !(std.is_number x) then + 'Ok + else + if (x | Number) < limit then + 'Ok + else + 'Err + "expected an exclusive maximum of %{std.string.from_number + limit}", + exclusiveMinimum + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.2.5]" + = fun + limit + x + => + if !(std.is_number x) then + 'Ok + else + if (x | Number) > limit then + 'Ok + else + 'Err + "expected an exclusive minimum of %{std.string.from_number + limit}", + maximum + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.2.2]" + = fun + limit + x + => + if !(std.is_number x) then + 'Ok + else + if (x | Number) <= limit then + 'Ok + else + 'Err + "expected a maximum of %{std.string.from_number limit}", + minimum + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.2.4]" + = fun + limit + x + => + if !(std.is_number x) then + 'Ok + else + if (x | Number) >= limit then + 'Ok + else + 'Err + "expected a minimum of %{std.string.from_number limit}", + multipleOf + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.2.1]" + = fun + mult + x + => + if !(std.is_number x) then + 'Ok + else + if std.number.is_integer ((x | Number) / mult) then + 'Ok + else + 'Err + "expected a multiple of %{std.string.from_number mult}", + }, + oneOf + : Array (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `oneOf preds` succeeds if precisely one of the predicates in `preds` succeeds + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.7.3] + "% + = fun + preds + x + => + let count_ok + : Array [| 'Ok, 'Err String |] -> Number + = fun + results + => + std.array.fold_left (fun n b => if b == 'Ok then n + 1 else n) 0 + results + in + let results + = std.array.map (fun pred => pred x) preds + in + let count + = count_ok results + in + if count == 0 then + let errors + = std.array.flat_map + (fun + result + => + (match { 'Ok => [ ], 'Err s => [ " - %{s}" ], }) + result) results + in + 'Err + m%" + oneOf: none of the options matched + %{std.string.join + m%" + + + "% errors} + "% + else + if count > 1 then + 'Err "oneOf: more than one of the options matched" + else + 'Ok, + records = + { + dependencies + : { _ : Dyn } -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5.7]" + = let mustHaveFields + : Array String -> { _ : Dyn } -> [| 'Ok, 'Err String |] + = fun + fields + x + => + std.array.fold_right + (fun + field + acc + => + if !(std.record.has_field field x) then + 'Err "expected field `%{field}`" + else + acc) 'Ok fields + in + fun + deps + x + => + if !(std.is_record x) then + 'Ok + else + let x + | { _ : Dyn } + = x + in + std.array.fold_right + (fun + { field, value, } + => + fun + acc + => + if !(std.record.has_field field x) then + acc + else + let result + = if std.is_array value then + mustHaveFields (value | Array String) x + else + let pred + | Dyn -> [| 'Ok, 'Err String |] + = value + in + pred (x | Dyn) + in + (match { + 'Err + msg => + 'Err + "dependency of `%{field}` failed: %{msg}", + 'Ok => + acc, + }) result) 'Ok (std.record.to_array deps), + maxProperties + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `maxProperties n x` fails if `x` is a record containing stricly more than `n` fields. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5.1] + "% + = fun + n + x + => + if !(std.is_record x) then + 'Ok + else + if (std.record.length (x | { _ : Dyn })) > n then + 'Err + "record contains more than %{std.string.from_number + n} fields" + else + 'Ok, + minProperties + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `minProperties n x` fails if `x` is a record containing stricly less than `n` fields. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5.1] + "% + = fun + n + x + => + if !(std.is_record x) then + 'Ok + else + if (std.record.length (x | { _ : Dyn })) < n then + 'Err + "record contains fewer than %{std.string.from_number + n} fields" + else + 'Ok, + propertyNames + : (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5.8]" + = fun + pred + x + => + if !(std.is_record x) then + 'Ok + else + std.array.fold_right + (fun + field + acc + => + (match { + 'Err + msg => + 'Err + "field `%{field}` did not validate against `propertyNames` schema", + 'Ok => + acc, + }) (pred (field | Dyn))) 'Ok + (std.record.fields (x | { _ : Dyn })), + record + : { _ : Dyn -> [| 'Ok, 'Err String |] } + -> { _ : Dyn -> [| 'Ok, 'Err String |] } + -> Bool + -> (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `record properties patternProperties additionalAllowed + additionalProperties x` is a combination of the `properties`, + `patternProperties` and `additionalProperties` validation keywords in + JSON schema. + + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5] + "% + = fun + properties + patternProperties + additionalAllowed + additionalProperties + x + => + if !(std.is_record x) then + 'Ok + else + let x + | { _ : Dyn } + = x + in + let check_properties + : { + result : [| 'Ok, 'Err String |], + checked : { _ : Bool } + } + = std.array.fold_right + (fun + { field, value, } + => + fun + acc + => + if !(std.record.has_field field x) then + acc + else + (match { + 'Err + msg => + { + checked : { _ : Bool } = {}, + result = + 'Err + "field `%{field}` didn't validate: %{msg}", + }, + 'Ok => + { + checked = + std.record.insert field true acc.checked, + result = acc.result, + }, + }) (value x."%{field}")) + { checked = {}, result = 'Ok, } + (std.record.to_array properties) + in + let matching_fields + : String -> { _ : Dyn } + = fun + pattern + => + let matcher + = std.string.is_match pattern + in + std.array.fold_left + (fun + acc + => + fun + { field, value, } + => + if matcher field then + std.record.insert field value acc + else + acc) {} (std.record.to_array x) + in + let check_pattern_properties + : { + result : [| 'Ok, 'Err String |], + checked : { _ : Bool } + } + = std.array.fold_right + (fun + { field = pattern, value = pred, } + => + fun + acc + => + (match { + r @ { result = 'Err msg, .. } => + r, + { result = 'Ok, checked = ch, } => + { + checked = + std.array.fold_left + (fun + r + field + => + if !(std.record.has_field field + r) then + std.record.insert field true r + else + r) acc.checked + (std.record.fields ch), + result = acc.result, + }, + }) + (std.array.fold_right + (fun + { field, value, } + => + fun + acc + => + (match { + 'Err + msg => + { + checked : { _ : Bool } = {}, + result = + 'Err + "field `%{field}` didn't validate: %{msg}", + }, + 'Ok => + { + checked = + std.record.insert field true + acc.checked, + result = acc.result, + }, + }) (pred value)) + { + checked : { _ : Bool } = {}, + result = 'Ok, + } + (std.record.to_array + (matching_fields pattern)))) + { checked : { _ : Bool } = {}, result = 'Ok, } + (std.record.to_array patternProperties) + in + let remaining_fields + = std.array.fold_left + (fun + acc + field + => + if !(std.record.has_field field acc) then + acc + else + std.record.remove field acc) x + ((std.record.fields check_properties.checked) + @ (std.record.fields + check_pattern_properties.checked)) + in + let check_additional_properties + : [| 'Ok, 'Err String |] + = if (!additionalAllowed) + && (!(std.record.is_empty remaining_fields)) then + 'Err + "extra fields %{std.serialize 'Json + ((std.record.fields remaining_fields) + | Dyn)}" + else + std.array.fold_right + (fun + { field, value, } + => + fun + acc + => + (match { + 'Err + msg => + 'Err + "field `%{field}` didn't validate: %{msg}", + 'Ok => + acc, + }) (additionalProperties value)) 'Ok + (std.record.to_array remaining_fields) + in + (match { + 'Err + msg => + check_properties.result, + 'Ok => + (match { + 'Err + msg => + check_pattern_properties.result, + 'Ok => + check_additional_properties, + }) check_pattern_properties.result, + }) check_properties.result, + required + : Array String -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5.3]" + = fun + fields + x + => + if !(std.is_record x) then + 'Ok + else + std.array.fold_right + (fun + field + acc + => + if !(std.record.has_field field (x | { _ : Dyn })) then + 'Err "missing required field %{field}" + else + acc) 'Ok fields, + }, + strings = + { + maxLength + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.3.1]" + = fun + limit + x + => + if !(std.is_string x) then + 'Ok + else + if (std.string.length (x | String)) <= limit then + 'Ok + else + 'Err + "expected a string of length no larger than %{std.string.from_number + limit}", + minLength + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.3.2]" + = fun + limit + x + => + if !(std.is_string x) then + 'Ok + else + if (std.string.length (x | String)) >= limit then + 'Ok + else + 'Err + "expected a string of length no smaller than %{std.string.from_number + limit}", + pattern + : String -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.3.3]" + = fun + pattern + x + => + if !(std.is_string x) then + 'Ok + else + if std.string.is_match pattern (x | String) then + 'Ok + else + 'Err "expected a string matching the pattern `%{pattern}`", + }, + } + in +let rec _js2n__-refsenv + = { + "_js2n__-:definitions/columns!contract" = + _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record {} + { + "^[^\\s]*$" = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.isType '"String" + ], + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum + [ "text", "number" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + format = _js2n__-prdslib.isType '"String", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum + [ + "datetime", + "date", + "time", + "timesince", + "timetense" + ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + ignoreTimezone = + _js2n__-prdslib.isType '"Bool", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum + [ "datetime", "date", "time" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + format = _js2n__-prdslib.isType '"String", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = _js2n__-prdslib.enum [ "partial" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { path = _js2n__-prdslib.isType '"String", } + {} true _js2n__-prdslib.always) + _js2n__-prdslib.always + ], + _js2n__-prdslib.records.record + { + align = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ "left", "right", "center" ] + ], + clickable = _js2n__-prdslib.isType '"Bool", + cssClass = _js2n__-prdslib.isType '"String", + "default" = _js2n__-prdslib.always, + headCssClass = _js2n__-prdslib.isType '"String", + invisible = _js2n__-prdslib.isType '"Bool", + label = _js2n__-prdslib.isType '"String", + permissions = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.isType '"Array" + ], + relation = _js2n__-prdslib.isType '"String", + searchable = _js2n__-prdslib.isType '"Bool", + select = _js2n__-prdslib.isType '"String", + sortable = _js2n__-prdslib.isType '"Bool", + type = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ + "text", + "number", + "switch", + "datetime", + "date", + "time", + "timesince", + "timetense", + "partial", + "colorpicker" + ] + ], + _js2n__-prdslib.isType '"String" + ], + useRelationCount = + _js2n__-prdslib.isType '"Bool", + valueFrom = _js2n__-prdslib.isType '"String", + width = _js2n__-prdslib.isType '"String", + } {} true _js2n__-prdslib.always + ], + } true _js2n__-prdslib.always + ]), + } + in + { + columns + | _js2n__-refsenv."_js2n__-:definitions/columns!contract" + | optional, + .. + } \ No newline at end of file diff --git a/out/October CMS fields.ncl b/out/October CMS fields.ncl new file mode 100644 index 0000000..5f6e69c --- /dev/null +++ b/out/October CMS fields.ncl @@ -0,0 +1,2818 @@ +# DO NOT EDIT +# This file was automatically generated using json-schema-to-nickel +let _js2n__-prdslib + = { + allOf + : Array (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `allOf preds` succeeds if all of the predicates in `preds` succeed + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.7.1] + "% + = fun + preds + x + => + std.array.fold_right + (fun pred acc => (match { 'Ok => acc, 'Err s => 'Err s, }) (pred x)) + 'Ok preds, + always : Dyn -> [| 'Ok, 'Err String |] = std.function.const 'Ok, + anyOf + : Array (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `anyOf preds` succeeds if at least one of the predicates in `preds` succeeds + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.7.2] + "% + = fun + preds + x + => + (match { + 'Ok => + 'Ok, + 'Errs + msgs => + 'Err + m%" + anyOf: none of the options matched + %{std.string.join + m%" + + + "% msgs} + "%, + }) + (std.array.fold_right + (fun + pred + acc + => + (match { + 'Ok => + 'Ok, + 'Errs + msgs => + (match { + 'Ok => + 'Ok, + 'Err + msg => + 'Errs ([ " - %{msg}" ] @ msgs), + }) (pred x), + }) acc) ('Errs [ ]) preds), + arrays = + { + additionalItems + : (Dyn -> [| 'Ok, 'Err String |]) + -> Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.2]" + = fun + pred + start + x + => + if !(std.is_array x) then + 'Ok + else + let x + | Array Dyn + = x + in + let value_length + = std.array.length x + in + if start >= value_length then + 'Ok + else + arrayOf pred + ((std.array.slice start value_length x) + | Dyn), + arrayOf + : (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + Apply a predicate to all elements of an array, succeeding if all + applications succeed. + "% + = fun + pred + x + => + if !(std.is_array x) then + 'Ok + else + let x + | Array Dyn + = x + in + std.array.fold_right + (fun + x + acc + => + (match { 'Ok => acc, 'Err msg => 'Err msg, }) (pred x)) + 'Ok x, + contains + : (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.6]" + = fun + pred + x + => + if !(std.is_array x) then + 'Ok + else + let x + | Array Dyn + = x + in + (match { + 'Ok => + 'Ok, + 'Errs + msgs => + 'Err + m%" + contains: no elements matched + %{std.string.join + m%" + + + "% msgs} + "%, + }) + (std.array.fold_right + (fun + x + acc + => + (match { + 'Ok => + 'Ok, + 'Errs + msgs => + (match { + 'Ok => + 'Ok, + 'Err + msg => + 'Errs ([ " - %{msg}" ] @ msgs), + }) (pred x), + }) acc) ('Errs [ ]) x), + items + : Array (Dyn -> [| 'Ok, 'Err String |]) + -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.1]" + = fun + preds + x + => + if !(std.is_array x) then + 'Ok + else + let x + | Array Dyn + = x + in + let length_to_check + = std.number.min (std.array.length preds) + (std.array.length x) + in + std.array.fold_right + (fun + i + acc + => + (match { 'Err msg => 'Err msg, 'Ok => acc, }) + (std.array.at i preds (std.array.at i x))) 'Ok + (std.array.range 0 length_to_check), + maxItems + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `maxItems n x` fails if `x` is an array of length strictly greater than `n` and succeeds otherwise. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.3] + "% + = fun + n + x + => + if !(std.is_array x) then + 'Ok + else + if (std.array.length (x | Array Dyn)) > n then + 'Err + "array is longer than %{std.string.from_number n} items" + else + 'Ok, + minItems + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `minItems n x` fails if `x` is an array of length strictly smaller than `n` and succeeds otherwise. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.4] + "% + = fun + n + x + => + if !(std.is_array x) then + 'Ok + else + if (std.array.length (x | Array Dyn)) < n then + 'Err + "array is shorter than %{std.string.from_number n} items" + else + 'Ok, + uniqueItems + : Dyn -> [| 'Ok, 'Err String |] + | doc m%" + Succeeds for any array if its elements are pairwise distinct. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.5] + "% + = let find_duplicate + : Array Dyn + -> { + has_duplicate : Bool, + duplicate : Dyn, + seen : { _ : Bool } + } + = std.array.fold_right + (fun + elt + acc + => + if acc.has_duplicate then + acc + else + let index + = std.serialize 'Json elt + in + if std.record.has_field index acc.seen then + { + duplicate = elt, + has_duplicate = true, + seen = acc.seen, + } + else + { + duplicate = null, + has_duplicate = false, + seen = std.record.insert index true acc.seen, + }) + { duplicate = null, has_duplicate = false, seen = {}, } + in + fun + x + => + if !(std.is_array x) then + 'Ok + else + let { has_duplicate, duplicate, .. } + = find_duplicate (x | Array Dyn) + in + if has_duplicate then + 'Err "duplicate found: %{std.serialize 'Json duplicate}" + else + 'Ok, + }, + const + : Dyn -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `const value x` succeeds if and only if `x` is equal to `value` + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.1.3] + "% + = fun + value + x + => + if x == value then + 'Ok + else + 'Err "expected %{std.serialize 'Json value}", + contract_from_predicate + : (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> Dyn -> Dyn + = fun + predicate + label + value + => + (match { + 'Ok => + value, + 'Err + msg => + (std.contract.blame_with_message msg label) + | Dyn, + }) (predicate value), + enum + : Array Dyn -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `enum values x` succeeds if and only if `x` is equal to one of the elements of `values`. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.1.2] + "% + = let checkEqual + = fun + input + variant + => + (input == variant) + || ((std.is_enum input) + && (((std.string.from_enum input) == variant) + | Bool)) + in + fun + values + x + => + std.array.fold_right + (fun value acc => if checkEqual x value then 'Ok else acc) + ('Err "expected one of %{std.serialize 'Json (values | Dyn)}") + values, + from_simple_predicate + : String -> (Dyn -> Bool) -> Dyn -> [| 'Ok, 'Err String |] + | doc "Convert a simple boolean predicate into a predicate supporting error messages" + = fun error' pred x => if pred x then 'Ok else 'Err error', + ifThenElse + : (Dyn -> [| 'Ok, 'Err String |]) + -> (Dyn -> [| 'Ok, 'Err String |]) + -> (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `ifThenElse i t e` first checks if the predicate `i` succeeds. If it does, it's equivalent to `t`, otherwise it's equivalent to `e`. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.6] + "% + = fun i t e x => (match { 'Ok => t x, 'Err msg => e x, }) (i x), + isType + : [| '"Array", '"Bool", 'Integer, 'Null, '"Number", 'Record, '"String" |] + -> Dyn -> [| 'Ok, 'Err String |] + = fun + t + => + (match { + 'Null => + from_simple_predicate "expected `null`" (fun x => x == null), + 'Integer => + from_simple_predicate "expected an integer" + (fun + x + => + (std.is_number x) && (std.number.is_integer (x | Number))), + _ => + from_simple_predicate + "value is not of type %{std.string.from_enum t}" + (fun x => (std.typeof x) == t), + }) t, + never : Dyn -> [| 'Ok, 'Err String |] = std.function.const ('Err "never"), + not + : (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `not pred` succeeds if and only if `pred` fails + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.7.4] + "% + = fun + pred + x + => + (match { + 'Ok => + 'Err "Inverted predicate succeeded unexpectedly", + 'Err + msg => + 'Ok, + }) (pred x), + numbers = + { + exclusiveMaximum + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.2.3]" + = fun + limit + x + => + if !(std.is_number x) then + 'Ok + else + if (x | Number) < limit then + 'Ok + else + 'Err + "expected an exclusive maximum of %{std.string.from_number + limit}", + exclusiveMinimum + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.2.5]" + = fun + limit + x + => + if !(std.is_number x) then + 'Ok + else + if (x | Number) > limit then + 'Ok + else + 'Err + "expected an exclusive minimum of %{std.string.from_number + limit}", + maximum + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.2.2]" + = fun + limit + x + => + if !(std.is_number x) then + 'Ok + else + if (x | Number) <= limit then + 'Ok + else + 'Err + "expected a maximum of %{std.string.from_number limit}", + minimum + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.2.4]" + = fun + limit + x + => + if !(std.is_number x) then + 'Ok + else + if (x | Number) >= limit then + 'Ok + else + 'Err + "expected a minimum of %{std.string.from_number limit}", + multipleOf + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.2.1]" + = fun + mult + x + => + if !(std.is_number x) then + 'Ok + else + if std.number.is_integer ((x | Number) / mult) then + 'Ok + else + 'Err + "expected a multiple of %{std.string.from_number mult}", + }, + oneOf + : Array (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `oneOf preds` succeeds if precisely one of the predicates in `preds` succeeds + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.7.3] + "% + = fun + preds + x + => + let count_ok + : Array [| 'Ok, 'Err String |] -> Number + = fun + results + => + std.array.fold_left (fun n b => if b == 'Ok then n + 1 else n) 0 + results + in + let results + = std.array.map (fun pred => pred x) preds + in + let count + = count_ok results + in + if count == 0 then + let errors + = std.array.flat_map + (fun + result + => + (match { 'Ok => [ ], 'Err s => [ " - %{s}" ], }) + result) results + in + 'Err + m%" + oneOf: none of the options matched + %{std.string.join + m%" + + + "% errors} + "% + else + if count > 1 then + 'Err "oneOf: more than one of the options matched" + else + 'Ok, + records = + { + dependencies + : { _ : Dyn } -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5.7]" + = let mustHaveFields + : Array String -> { _ : Dyn } -> [| 'Ok, 'Err String |] + = fun + fields + x + => + std.array.fold_right + (fun + field + acc + => + if !(std.record.has_field field x) then + 'Err "expected field `%{field}`" + else + acc) 'Ok fields + in + fun + deps + x + => + if !(std.is_record x) then + 'Ok + else + let x + | { _ : Dyn } + = x + in + std.array.fold_right + (fun + { field, value, } + => + fun + acc + => + if !(std.record.has_field field x) then + acc + else + let result + = if std.is_array value then + mustHaveFields (value | Array String) x + else + let pred + | Dyn -> [| 'Ok, 'Err String |] + = value + in + pred (x | Dyn) + in + (match { + 'Err + msg => + 'Err + "dependency of `%{field}` failed: %{msg}", + 'Ok => + acc, + }) result) 'Ok (std.record.to_array deps), + maxProperties + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `maxProperties n x` fails if `x` is a record containing stricly more than `n` fields. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5.1] + "% + = fun + n + x + => + if !(std.is_record x) then + 'Ok + else + if (std.record.length (x | { _ : Dyn })) > n then + 'Err + "record contains more than %{std.string.from_number + n} fields" + else + 'Ok, + minProperties + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `minProperties n x` fails if `x` is a record containing stricly less than `n` fields. + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5.1] + "% + = fun + n + x + => + if !(std.is_record x) then + 'Ok + else + if (std.record.length (x | { _ : Dyn })) < n then + 'Err + "record contains fewer than %{std.string.from_number + n} fields" + else + 'Ok, + propertyNames + : (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5.8]" + = fun + pred + x + => + if !(std.is_record x) then + 'Ok + else + std.array.fold_right + (fun + field + acc + => + (match { + 'Err + msg => + 'Err + "field `%{field}` did not validate against `propertyNames` schema", + 'Ok => + acc, + }) (pred (field | Dyn))) 'Ok + (std.record.fields (x | { _ : Dyn })), + record + : { _ : Dyn -> [| 'Ok, 'Err String |] } + -> { _ : Dyn -> [| 'Ok, 'Err String |] } + -> Bool + -> (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] + | doc m%" + `record properties patternProperties additionalAllowed + additionalProperties x` is a combination of the `properties`, + `patternProperties` and `additionalProperties` validation keywords in + JSON schema. + + Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5] + "% + = fun + properties + patternProperties + additionalAllowed + additionalProperties + x + => + if !(std.is_record x) then + 'Ok + else + let x + | { _ : Dyn } + = x + in + let check_properties + : { + result : [| 'Ok, 'Err String |], + checked : { _ : Bool } + } + = std.array.fold_right + (fun + { field, value, } + => + fun + acc + => + if !(std.record.has_field field x) then + acc + else + (match { + 'Err + msg => + { + checked : { _ : Bool } = {}, + result = + 'Err + "field `%{field}` didn't validate: %{msg}", + }, + 'Ok => + { + checked = + std.record.insert field true acc.checked, + result = acc.result, + }, + }) (value x."%{field}")) + { checked = {}, result = 'Ok, } + (std.record.to_array properties) + in + let matching_fields + : String -> { _ : Dyn } + = fun + pattern + => + let matcher + = std.string.is_match pattern + in + std.array.fold_left + (fun + acc + => + fun + { field, value, } + => + if matcher field then + std.record.insert field value acc + else + acc) {} (std.record.to_array x) + in + let check_pattern_properties + : { + result : [| 'Ok, 'Err String |], + checked : { _ : Bool } + } + = std.array.fold_right + (fun + { field = pattern, value = pred, } + => + fun + acc + => + (match { + r @ { result = 'Err msg, .. } => + r, + { result = 'Ok, checked = ch, } => + { + checked = + std.array.fold_left + (fun + r + field + => + if !(std.record.has_field field + r) then + std.record.insert field true r + else + r) acc.checked + (std.record.fields ch), + result = acc.result, + }, + }) + (std.array.fold_right + (fun + { field, value, } + => + fun + acc + => + (match { + 'Err + msg => + { + checked : { _ : Bool } = {}, + result = + 'Err + "field `%{field}` didn't validate: %{msg}", + }, + 'Ok => + { + checked = + std.record.insert field true + acc.checked, + result = acc.result, + }, + }) (pred value)) + { + checked : { _ : Bool } = {}, + result = 'Ok, + } + (std.record.to_array + (matching_fields pattern)))) + { checked : { _ : Bool } = {}, result = 'Ok, } + (std.record.to_array patternProperties) + in + let remaining_fields + = std.array.fold_left + (fun + acc + field + => + if !(std.record.has_field field acc) then + acc + else + std.record.remove field acc) x + ((std.record.fields check_properties.checked) + @ (std.record.fields + check_pattern_properties.checked)) + in + let check_additional_properties + : [| 'Ok, 'Err String |] + = if (!additionalAllowed) + && (!(std.record.is_empty remaining_fields)) then + 'Err + "extra fields %{std.serialize 'Json + ((std.record.fields remaining_fields) + | Dyn)}" + else + std.array.fold_right + (fun + { field, value, } + => + fun + acc + => + (match { + 'Err + msg => + 'Err + "field `%{field}` didn't validate: %{msg}", + 'Ok => + acc, + }) (additionalProperties value)) 'Ok + (std.record.to_array remaining_fields) + in + (match { + 'Err + msg => + check_properties.result, + 'Ok => + (match { + 'Err + msg => + check_pattern_properties.result, + 'Ok => + check_additional_properties, + }) check_pattern_properties.result, + }) check_properties.result, + required + : Array String -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5.3]" + = fun + fields + x + => + if !(std.is_record x) then + 'Ok + else + std.array.fold_right + (fun + field + acc + => + if !(std.record.has_field field (x | { _ : Dyn })) then + 'Err "missing required field %{field}" + else + acc) 'Ok fields, + }, + strings = + { + maxLength + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.3.1]" + = fun + limit + x + => + if !(std.is_string x) then + 'Ok + else + if (std.string.length (x | String)) <= limit then + 'Ok + else + 'Err + "expected a string of length no larger than %{std.string.from_number + limit}", + minLength + : Number -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.3.2]" + = fun + limit + x + => + if !(std.is_string x) then + 'Ok + else + if (std.string.length (x | String)) >= limit then + 'Ok + else + 'Err + "expected a string of length no smaller than %{std.string.from_number + limit}", + pattern + : String -> Dyn -> [| 'Ok, 'Err String |] + | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.3.3]" + = fun + pattern + x + => + if !(std.is_string x) then + 'Ok + else + if std.string.is_match pattern (x | String) then + 'Ok + else + 'Err "expected a string matching the pattern `%{pattern}`", + }, + } + in +let rec _js2n__-refsenv + = { + "_js2n__-:definitions/datatableColumns!predicate" = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record {} + { + "^[^\\s]*$" = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum + [ "dropdown", "autocomplete" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + options = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record {} + { + ".+" = + _js2n__-prdslib.isType '"String", + } true _js2n__-prdslib.always + ], + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.records.record + { + readOnly = _js2n__-prdslib.isType '"Bool", + title = _js2n__-prdslib.isType '"String", + type = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ + "string", + "checkbox", + "dropdown", + "autocomplete" + ] + ], + validation = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + float = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + { + allowNegative = + _js2n__-prdslib.isType + '"Bool", + message = + _js2n__-prdslib.isType + '"String", + } {} true + _js2n__-prdslib.always + ], + integer = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + { + allowNegative = + _js2n__-prdslib.isType + '"Bool", + message = + _js2n__-prdslib.isType + '"String", + } {} true + _js2n__-prdslib.always + ], + length = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + { + max = + _js2n__-prdslib.isType + 'Integer, + message = + _js2n__-prdslib.isType + '"String", + min = + _js2n__-prdslib.isType + 'Integer, + } {} true + _js2n__-prdslib.always + ], + regex = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + { + message = + _js2n__-prdslib.isType + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + } {} true + _js2n__-prdslib.always + ], + required = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + { + message = + _js2n__-prdslib.isType + '"String", + } {} true + _js2n__-prdslib.always + ], + } {} true _js2n__-prdslib.always + ], + width = _js2n__-prdslib.isType 'Integer, + } {} true _js2n__-prdslib.always + ], + } true _js2n__-prdslib.always + ], + "_js2n__-:definitions/fields!contract" = + _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record {} + { + "^[^\\s]*$" = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = _js2n__-prdslib.enum [ "number" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + max = _js2n__-prdslib.isType 'Integer, + min = _js2n__-prdslib.isType 'Integer, + step = _js2n__-prdslib.isType 'Integer, + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum [ "dropdown" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + emptyOption = + _js2n__-prdslib.isType '"String", + options = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + {} + { + ".+" = + _js2n__-prdslib.isType + '"String", + } true + _js2n__-prdslib.always + ], + _js2n__-prdslib.isType '"String" + ], + placeholder = + _js2n__-prdslib.isType '"String", + showSearch = + _js2n__-prdslib.isType '"Bool", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum + [ + "radio", + "balloon-selector", + "checkboxlist" + ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + options = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + {} + { + ".+" = + _js2n__-prdslib.isType + '"String", + } true + _js2n__-prdslib.always + ], + _js2n__-prdslib.isType '"String" + ], + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = _js2n__-prdslib.enum [ "switch" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + off = _js2n__-prdslib.isType '"String", + on = _js2n__-prdslib.isType '"String", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum + [ "partial", "hint" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { path = _js2n__-prdslib.isType '"String", } + {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum [ "codeeditor" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + fontSize = + _js2n__-prdslib.isType '"Number", + language = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"String", + _js2n__-prdslib.enum + [ + "php", + "css", + "js", + "html" + ] + ], + _js2n__-prdslib.isType '"String" + ], + showGutter = + _js2n__-prdslib.isType '"Bool", + wrapWords = + _js2n__-prdslib.isType '"Bool", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum [ "colorpicker" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + allowEmpty = + _js2n__-prdslib.isType '"Bool", + availableColors = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.isType '"String" + ], + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum [ "datatable" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + adding = _js2n__-prdslib.isType '"Bool", + btnAddRowBelowLabel = + _js2n__-prdslib.isType '"String", + btnAddRowLabel = + _js2n__-prdslib.isType '"String", + btnDeleteRowLabel = + _js2n__-prdslib.isType '"String", + columns = + _js2n__-refsenv."_js2n__-:definitions/datatableColumns!predicate", + deleting = _js2n__-prdslib.isType '"Bool", + dynamicHeight = + _js2n__-prdslib.isType '"String", + fieldName = + _js2n__-prdslib.isType '"String", + height = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType 'Integer, + _js2n__-prdslib.isType '"Bool" + ], + keyFrom = + _js2n__-prdslib.isType '"String", + postbackHandlerName = + _js2n__-prdslib.isType '"String", + recordsPerPage = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType 'Integer, + _js2n__-prdslib.isType '"Bool" + ], + searching = _js2n__-prdslib.always, + toolbar = _js2n__-prdslib.isType '"Array", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum [ "datepicker" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + firstDay = + _js2n__-prdslib.isType 'Integer, + format = _js2n__-prdslib.isType '"String", + ignoreTimezone = + _js2n__-prdslib.isType '"Bool", + maxDate = + _js2n__-prdslib.isType '"String", + minDate = + _js2n__-prdslib.isType '"String", + mode = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ "date", "datetime", "time" ] + ], + showWeekNumber = + _js2n__-prdslib.isType '"Bool", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum [ "fileupload" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + attachOnUpload = + _js2n__-prdslib.isType '"Bool", + fileTypes = + _js2n__-prdslib.isType '"String", + maxFilesize = + _js2n__-prdslib.isType '"Number", + mimeTypes = + _js2n__-prdslib.isType '"String", + mode = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ "file", "image" ] + ], + useCaption = + _js2n__-prdslib.isType '"Bool", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + mode = _js2n__-prdslib.enum [ "image" ], + type = + _js2n__-prdslib.enum [ "fileupload" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + imageHeight = + _js2n__-prdslib.isType '"Number", + imageWidth = + _js2n__-prdslib.isType '"Number", + thumbOptions = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + extension = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"String", + _js2n__-prdslib.enum + [ + "auto", + "jpg", + "png", + "gif" + ] + ], + interlace = + _js2n__-prdslib.isType + '"Bool", + mode = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"String", + _js2n__-prdslib.enum + [ + "auto", + "exact", + "portrait", + "landscape", + "crop", + "fit" + ] + ], + quality = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Integer, + _js2n__-prdslib.numbers.maximum + 100, + _js2n__-prdslib.numbers.minimum + 0 + ], + } {} true _js2n__-prdslib.always + ], + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + mode = _js2n__-prdslib.enum [ "file" ], + type = + _js2n__-prdslib.enum [ "fileupload" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + prompt = _js2n__-prdslib.isType '"String", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum [ "markdown" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + mode = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ "tab", "split" ] + ], + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum [ "mediafinder" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + imageWidth = + _js2n__-prdslib.isType '"String", + mode = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ "file", "image" ] + ], + prompt = _js2n__-prdslib.isType '"String", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + mode = _js2n__-prdslib.enum [ "image" ], + type = + _js2n__-prdslib.enum [ "mediafinder" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + imageHeight = + _js2n__-prdslib.isType '"Number", + imageWidth = + _js2n__-prdslib.isType '"Number", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum [ "nestedform" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + form = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + fields = + _js2n__-refsenv."_js2n__-:definitions/fields!predicate", + secondaryTabs = + _js2n__-refsenv."_js2n__-:definitions/tabs!predicate", + tabs = + _js2n__-refsenv."_js2n__-:definitions/tabs!predicate", + } {} true _js2n__-prdslib.always + ], + usePanelStyles = + _js2n__-prdslib.isType '"Bool", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum [ "recordfinder" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + conditions = + _js2n__-prdslib.isType '"String", + descriptionFrom = + _js2n__-prdslib.isType '"String", + keyFrom = + _js2n__-prdslib.isType '"String", + list = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.isType '"Array" + ], + nameFrom = + _js2n__-prdslib.isType '"String", + prompt = _js2n__-prdslib.isType '"String", + recordsPerPage = + _js2n__-prdslib.isType 'Integer, + scope = _js2n__-prdslib.isType '"String", + searchMode = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ "all", "any", "exact" ] + ], + searchScope = + _js2n__-prdslib.isType '"String", + title = _js2n__-prdslib.isType '"String", + useRelation = + _js2n__-prdslib.isType '"Bool", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum [ "recordfinder" ], + useRelation = + _js2n__-prdslib.enum [ false ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + modelClass = + _js2n__-prdslib.isType '"String", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum [ "relation" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + emptyOption = + _js2n__-prdslib.isType '"String", + nameFrom = + _js2n__-prdslib.isType '"String", + order = _js2n__-prdslib.isType '"String", + scope = _js2n__-prdslib.isType '"String", + select = _js2n__-prdslib.isType '"String", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum [ "repeater" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + form = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + fields = + _js2n__-refsenv."_js2n__-:definitions/fields!predicate", + secondaryTabs = + _js2n__-refsenv."_js2n__-:definitions/tabs!predicate", + tabs = + _js2n__-refsenv."_js2n__-:definitions/tabs!predicate", + } {} true _js2n__-prdslib.always + ], + groups = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + {} + { + "^[^\\s]*$" = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.required + [ "fields" ], + _js2n__-prdslib.records.record + { + description = + _js2n__-prdslib.always, + fields = + _js2n__-refsenv."_js2n__-:definitions/fields!predicate", + icon = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"String", + _js2n__-prdslib.strings.pattern + "^icon-" + ], + name = + _js2n__-prdslib.isType + '"String", + } {} true + _js2n__-prdslib.always + ], + } true + _js2n__-prdslib.always + ], + _js2n__-prdslib.isType '"String" + ], + maxItems = + _js2n__-prdslib.isType 'Integer, + minItems = + _js2n__-prdslib.isType 'Integer, + prompt = _js2n__-prdslib.isType '"String", + titleFrom = + _js2n__-prdslib.isType '"String", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum [ "richeditor" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + toolbarButtons = + _js2n__-prdslib.isType '"String", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = _js2n__-prdslib.enum [ "taglist" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + customTags = + _js2n__-prdslib.isType '"Bool", + mode = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ + "string", + "array", + "relation" + ] + ], + options = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.isType '"Bool" + ], + separator = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ "comma", "space" ] + ], + useKey = _js2n__-prdslib.isType '"Bool", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + mode = + _js2n__-prdslib.enum [ "relation" ], + type = _js2n__-prdslib.enum [ "taglist" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + nameFrom = + _js2n__-prdslib.isType '"String", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always + ], + _js2n__-prdslib.records.record + { + attributes = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record {} + { + ".+" = + _js2n__-prdslib.isType '"String", + } true _js2n__-prdslib.always + ], + comment = _js2n__-prdslib.isType '"String", + commentAbove = _js2n__-prdslib.isType '"String", + commentHtml = _js2n__-prdslib.isType '"Bool", + containerAttributes = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record {} + { + ".+" = + _js2n__-prdslib.isType '"String", + } true _js2n__-prdslib.always + ], + context = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.anyOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"String", + _js2n__-prdslib.enum + [ + "create", + "update", + "preview" + ] + ], + _js2n__-prdslib.isType '"String" + ]), + _js2n__-prdslib.arrays.uniqueItems + ], + cssClass = _js2n__-prdslib.isType '"String", + "default" = _js2n__-prdslib.always, + defaultFrom = _js2n__-prdslib.isType '"String", + dependsOn = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.isType '"String" + ], + disabled = _js2n__-prdslib.isType '"Bool", + hidden = _js2n__-prdslib.isType '"Bool", + label = _js2n__-prdslib.isType '"String", + permissions = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType '"String") + ], + _js2n__-prdslib.isType '"String" + ], + placeholder = _js2n__-prdslib.isType '"String", + preset = + _js2n__-prdslib.oneOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + field = + _js2n__-prdslib.isType + '"String", + prefixInput = + _js2n__-prdslib.isType + '"String", + type = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"String", + _js2n__-prdslib.enum + [ + "exact", + "slug", + "url", + "camel", + "file" + ] + ], + } {} true _js2n__-prdslib.always + ], + _js2n__-prdslib.isType '"String" + ], + readOnly = _js2n__-prdslib.isType '"Bool", + required = _js2n__-prdslib.isType '"Bool", + size = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ + "tiny", + "small", + "large", + "huge", + "giant" + ] + ], + span = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ + "auto", + "left", + "right", + "row", + "full" + ] + ], + stretch = _js2n__-prdslib.isType '"Bool", + tab = _js2n__-prdslib.isType '"String", + trigger = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + action = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"String", + _js2n__-prdslib.enum + [ + "show", + "hide", + "enable", + "disable", + "empty" + ] + ], + condition = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"String", + _js2n__-prdslib.enum + [ + "checked", + "unchecked", + "value[somevalue]" + ] + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"String", + _js2n__-prdslib.strings.pattern + "^value\\[.*\\]$" + ] + ], + field = + _js2n__-prdslib.isType '"String", + } {} true _js2n__-prdslib.always + ], + type = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ + "text", + "number", + "password", + "email", + "textarea", + "dropdown", + "radio", + "balloon-selector", + "checkbox", + "checkboxlist", + "switch", + "section", + "partial", + "hint" + ] + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ + "codeeditor", + "colorpicker", + "datatable", + "datepicker", + "fileupload", + "markdown", + "mediafinder", + "nestedform", + "recordfinder", + "relation", + "repeater", + "richeditor", + "taglist" + ] + ], + _js2n__-prdslib.isType '"String" + ], + } {} true _js2n__-prdslib.always + ], + } true _js2n__-prdslib.always + ]), + "_js2n__-:definitions/fields!predicate" = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record {} + { + "^[^\\s]*$" = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { type = _js2n__-prdslib.enum [ "number" ], } + {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + max = _js2n__-prdslib.isType 'Integer, + min = _js2n__-prdslib.isType 'Integer, + step = _js2n__-prdslib.isType 'Integer, + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = _js2n__-prdslib.enum [ "dropdown" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + emptyOption = + _js2n__-prdslib.isType '"String", + options = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + {} + { + ".+" = + _js2n__-prdslib.isType + '"String", + } true _js2n__-prdslib.always + ], + _js2n__-prdslib.isType '"String" + ], + placeholder = + _js2n__-prdslib.isType '"String", + showSearch = _js2n__-prdslib.isType '"Bool", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum + [ + "radio", + "balloon-selector", + "checkboxlist" + ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + options = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + {} + { + ".+" = + _js2n__-prdslib.isType + '"String", + } true _js2n__-prdslib.always + ], + _js2n__-prdslib.isType '"String" + ], + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { type = _js2n__-prdslib.enum [ "switch" ], } + {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + off = _js2n__-prdslib.isType '"String", + on = _js2n__-prdslib.isType '"String", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum + [ "partial", "hint" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { path = _js2n__-prdslib.isType '"String", } + {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum [ "codeeditor" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + fontSize = _js2n__-prdslib.isType '"Number", + language = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"String", + _js2n__-prdslib.enum + [ "php", "css", "js", "html" ] + ], + _js2n__-prdslib.isType '"String" + ], + showGutter = _js2n__-prdslib.isType '"Bool", + wrapWords = _js2n__-prdslib.isType '"Bool", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum [ "colorpicker" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + allowEmpty = _js2n__-prdslib.isType '"Bool", + availableColors = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.isType '"String" + ], + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = _js2n__-prdslib.enum [ "datatable" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + adding = _js2n__-prdslib.isType '"Bool", + btnAddRowBelowLabel = + _js2n__-prdslib.isType '"String", + btnAddRowLabel = + _js2n__-prdslib.isType '"String", + btnDeleteRowLabel = + _js2n__-prdslib.isType '"String", + columns = + _js2n__-refsenv."_js2n__-:definitions/datatableColumns!predicate", + deleting = _js2n__-prdslib.isType '"Bool", + dynamicHeight = + _js2n__-prdslib.isType '"String", + fieldName = + _js2n__-prdslib.isType '"String", + height = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType 'Integer, + _js2n__-prdslib.isType '"Bool" + ], + keyFrom = _js2n__-prdslib.isType '"String", + postbackHandlerName = + _js2n__-prdslib.isType '"String", + recordsPerPage = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType 'Integer, + _js2n__-prdslib.isType '"Bool" + ], + searching = _js2n__-prdslib.always, + toolbar = _js2n__-prdslib.isType '"Array", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum [ "datepicker" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + firstDay = _js2n__-prdslib.isType 'Integer, + format = _js2n__-prdslib.isType '"String", + ignoreTimezone = + _js2n__-prdslib.isType '"Bool", + maxDate = _js2n__-prdslib.isType '"String", + minDate = _js2n__-prdslib.isType '"String", + mode = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ "date", "datetime", "time" ] + ], + showWeekNumber = + _js2n__-prdslib.isType '"Bool", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum [ "fileupload" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + attachOnUpload = + _js2n__-prdslib.isType '"Bool", + fileTypes = + _js2n__-prdslib.isType '"String", + maxFilesize = + _js2n__-prdslib.isType '"Number", + mimeTypes = + _js2n__-prdslib.isType '"String", + mode = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ "file", "image" ] + ], + useCaption = _js2n__-prdslib.isType '"Bool", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + mode = _js2n__-prdslib.enum [ "image" ], + type = + _js2n__-prdslib.enum [ "fileupload" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + imageHeight = + _js2n__-prdslib.isType '"Number", + imageWidth = + _js2n__-prdslib.isType '"Number", + thumbOptions = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + extension = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"String", + _js2n__-prdslib.enum + [ + "auto", + "jpg", + "png", + "gif" + ] + ], + interlace = + _js2n__-prdslib.isType + '"Bool", + mode = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"String", + _js2n__-prdslib.enum + [ + "auto", + "exact", + "portrait", + "landscape", + "crop", + "fit" + ] + ], + quality = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Integer, + _js2n__-prdslib.numbers.maximum + 100, + _js2n__-prdslib.numbers.minimum + 0 + ], + } {} true _js2n__-prdslib.always + ], + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + mode = _js2n__-prdslib.enum [ "file" ], + type = + _js2n__-prdslib.enum [ "fileupload" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { prompt = _js2n__-prdslib.isType '"String", } + {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = _js2n__-prdslib.enum [ "markdown" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + mode = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ "tab", "split" ] + ], + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum [ "mediafinder" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + imageWidth = + _js2n__-prdslib.isType '"String", + mode = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ "file", "image" ] + ], + prompt = _js2n__-prdslib.isType '"String", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + mode = _js2n__-prdslib.enum [ "image" ], + type = + _js2n__-prdslib.enum [ "mediafinder" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + imageHeight = + _js2n__-prdslib.isType '"Number", + imageWidth = + _js2n__-prdslib.isType '"Number", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum [ "nestedform" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + form = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + fields = + _js2n__-refsenv."_js2n__-:definitions/fields!predicate", + secondaryTabs = + _js2n__-refsenv."_js2n__-:definitions/tabs!predicate", + tabs = + _js2n__-refsenv."_js2n__-:definitions/tabs!predicate", + } {} true _js2n__-prdslib.always + ], + usePanelStyles = + _js2n__-prdslib.isType '"Bool", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum [ "recordfinder" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + conditions = + _js2n__-prdslib.isType '"String", + descriptionFrom = + _js2n__-prdslib.isType '"String", + keyFrom = _js2n__-prdslib.isType '"String", + list = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.isType '"Array" + ], + nameFrom = _js2n__-prdslib.isType '"String", + prompt = _js2n__-prdslib.isType '"String", + recordsPerPage = + _js2n__-prdslib.isType 'Integer, + scope = _js2n__-prdslib.isType '"String", + searchMode = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ "all", "any", "exact" ] + ], + searchScope = + _js2n__-prdslib.isType '"String", + title = _js2n__-prdslib.isType '"String", + useRelation = + _js2n__-prdslib.isType '"Bool", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum [ "recordfinder" ], + useRelation = + _js2n__-prdslib.enum [ false ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + modelClass = + _js2n__-prdslib.isType '"String", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = _js2n__-prdslib.enum [ "relation" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + emptyOption = + _js2n__-prdslib.isType '"String", + nameFrom = _js2n__-prdslib.isType '"String", + order = _js2n__-prdslib.isType '"String", + scope = _js2n__-prdslib.isType '"String", + select = _js2n__-prdslib.isType '"String", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = _js2n__-prdslib.enum [ "repeater" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + form = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + fields = + _js2n__-refsenv."_js2n__-:definitions/fields!predicate", + secondaryTabs = + _js2n__-refsenv."_js2n__-:definitions/tabs!predicate", + tabs = + _js2n__-refsenv."_js2n__-:definitions/tabs!predicate", + } {} true _js2n__-prdslib.always + ], + groups = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + {} + { + "^[^\\s]*$" = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.required + [ "fields" ], + _js2n__-prdslib.records.record + { + description = + _js2n__-prdslib.always, + fields = + _js2n__-refsenv."_js2n__-:definitions/fields!predicate", + icon = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"String", + _js2n__-prdslib.strings.pattern + "^icon-" + ], + name = + _js2n__-prdslib.isType + '"String", + } {} true + _js2n__-prdslib.always + ], + } true _js2n__-prdslib.always + ], + _js2n__-prdslib.isType '"String" + ], + maxItems = _js2n__-prdslib.isType 'Integer, + minItems = _js2n__-prdslib.isType 'Integer, + prompt = _js2n__-prdslib.isType '"String", + titleFrom = + _js2n__-prdslib.isType '"String", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.enum [ "richeditor" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + toolbarButtons = + _js2n__-prdslib.isType '"String", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { type = _js2n__-prdslib.enum [ "taglist" ], } + {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + customTags = _js2n__-prdslib.isType '"Bool", + mode = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ "string", "array", "relation" ] + ], + options = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.isType '"Bool" + ], + separator = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ "comma", "space" ] + ], + useKey = _js2n__-prdslib.isType '"Bool", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { + mode = _js2n__-prdslib.enum [ "relation" ], + type = _js2n__-prdslib.enum [ "taglist" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + nameFrom = _js2n__-prdslib.isType '"String", + } {} true _js2n__-prdslib.always) + _js2n__-prdslib.always + ], + _js2n__-prdslib.records.record + { + attributes = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record {} + { + ".+" = + _js2n__-prdslib.isType '"String", + } true _js2n__-prdslib.always + ], + comment = _js2n__-prdslib.isType '"String", + commentAbove = _js2n__-prdslib.isType '"String", + commentHtml = _js2n__-prdslib.isType '"Bool", + containerAttributes = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record {} + { + ".+" = + _js2n__-prdslib.isType '"String", + } true _js2n__-prdslib.always + ], + context = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.anyOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"String", + _js2n__-prdslib.enum + [ + "create", + "update", + "preview" + ] + ], + _js2n__-prdslib.isType '"String" + ]), + _js2n__-prdslib.arrays.uniqueItems + ], + cssClass = _js2n__-prdslib.isType '"String", + "default" = _js2n__-prdslib.always, + defaultFrom = _js2n__-prdslib.isType '"String", + dependsOn = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.isType '"String" + ], + disabled = _js2n__-prdslib.isType '"Bool", + hidden = _js2n__-prdslib.isType '"Bool", + label = _js2n__-prdslib.isType '"String", + permissions = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType '"String") + ], + _js2n__-prdslib.isType '"String" + ], + placeholder = _js2n__-prdslib.isType '"String", + preset = + _js2n__-prdslib.oneOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + field = + _js2n__-prdslib.isType + '"String", + prefixInput = + _js2n__-prdslib.isType + '"String", + type = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"String", + _js2n__-prdslib.enum + [ + "exact", + "slug", + "url", + "camel", + "file" + ] + ], + } {} true _js2n__-prdslib.always + ], + _js2n__-prdslib.isType '"String" + ], + readOnly = _js2n__-prdslib.isType '"Bool", + required = _js2n__-prdslib.isType '"Bool", + size = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ + "tiny", + "small", + "large", + "huge", + "giant" + ] + ], + span = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ + "auto", + "left", + "right", + "row", + "full" + ] + ], + stretch = _js2n__-prdslib.isType '"Bool", + tab = _js2n__-prdslib.isType '"String", + trigger = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + action = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"String", + _js2n__-prdslib.enum + [ + "show", + "hide", + "enable", + "disable", + "empty" + ] + ], + condition = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"String", + _js2n__-prdslib.enum + [ + "checked", + "unchecked", + "value[somevalue]" + ] + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"String", + _js2n__-prdslib.strings.pattern + "^value\\[.*\\]$" + ] + ], + field = + _js2n__-prdslib.isType '"String", + } {} true _js2n__-prdslib.always + ], + type = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ + "text", + "number", + "password", + "email", + "textarea", + "dropdown", + "radio", + "balloon-selector", + "checkbox", + "checkboxlist", + "switch", + "section", + "partial", + "hint" + ] + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ + "codeeditor", + "colorpicker", + "datatable", + "datepicker", + "fileupload", + "markdown", + "mediafinder", + "nestedform", + "recordfinder", + "relation", + "repeater", + "richeditor", + "taglist" + ] + ], + _js2n__-prdslib.isType '"String" + ], + } {} true _js2n__-prdslib.always + ], + } true _js2n__-prdslib.always + ], + "_js2n__-:definitions/tabs!contract" + | doc "" + = { + cssClass + | String + | doc "assigns a CSS class to the tab container" + | optional, + defaultTab + | String + | doc "the default tab to assign fields to" + | optional, + fields | _js2n__-refsenv."_js2n__-:definitions/fields!contract", + icons + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record {} + { + ".+" = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.strings.pattern "^icon-" + ], + } true _js2n__-prdslib.always + ]) + | doc "assign icons to tabs using tab names as the key" + | optional, + lazy + | Array (String) + | doc "array of tabs to be loaded dynamically when clicked" + | optional, + paneCssClass + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.isType '"String" + ], + _js2n__-prdslib.records.record {} + { ".+" = _js2n__-prdslib.isType '"String", } true + _js2n__-prdslib.always + ]) + | doc "assigns a CSS class to an individual tab pane. Value is an array, key is tab index or label, value is the CSS class. It can also be specified as a string, in which case the value will be applied to all tabs." + | optional, + stretch + | Bool + | doc "specifies if this tab stretches to fit the parent height" + | optional, + .. + }, + "_js2n__-:definitions/tabs!predicate" + | doc "" + = _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required [ "fields" ], + _js2n__-prdslib.records.record + { + cssClass = _js2n__-prdslib.isType '"String", + defaultTab = _js2n__-prdslib.isType '"String", + fields = + _js2n__-refsenv."_js2n__-:definitions/fields!predicate", + icons = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record {} + { + ".+" = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.strings.pattern "^icon-" + ], + } true _js2n__-prdslib.always + ], + lazy = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType '"String") + ], + paneCssClass = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.isType '"String" + ], + _js2n__-prdslib.records.record {} + { ".+" = _js2n__-prdslib.isType '"String", } true + _js2n__-prdslib.always + ], + stretch = _js2n__-prdslib.isType '"Bool", + } {} true _js2n__-prdslib.always + ], + } + in + { + fields + | _js2n__-refsenv."_js2n__-:definitions/fields!contract" + | optional, + secondaryTabs + | _js2n__-refsenv."_js2n__-:definitions/tabs!contract" + | doc "secondary tabs" + | optional, + tabs + | _js2n__-refsenv."_js2n__-:definitions/tabs!contract" + | doc "Primary tabs" + | optional, + .. + } \ No newline at end of file diff --git a/out/PDM.ncl b/out/PDM.ncl index ab76eee..84702e7 100644 --- a/out/PDM.ncl +++ b/out/PDM.ncl @@ -966,9 +966,6 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - ca_certs = _js2n__-prdslib.isType '"String", - client_cert = _js2n__-prdslib.isType '"String", - client_key = _js2n__-prdslib.isType '"String", ignore_stored_index = _js2n__-prdslib.isType '"Bool", json_api = _js2n__-prdslib.isType '"Bool", password = _js2n__-prdslib.isType '"String", @@ -1030,6 +1027,7 @@ let rec _js2n__-refsenv ], } {} false _js2n__-prdslib.never ], + use_uv = _js2n__-prdslib.isType '"Bool", venv = _js2n__-prdslib.allOf [ @@ -1038,7 +1036,6 @@ let rec _js2n__-refsenv { backend = _js2n__-prdslib.isType '"String", in_project = _js2n__-prdslib.isType '"Bool", - location = _js2n__-prdslib.isType '"String", prompt = _js2n__-prdslib.isType '"String", with_pip = _js2n__-prdslib.isType '"Bool", } {} false _js2n__-prdslib.never diff --git a/out/Quali Torque Blueprint Spec 2.ncl b/out/Quali Torque Blueprint Spec 2.ncl index b533729..2d94d3f 100644 --- a/out/Quali Torque Blueprint Spec 2.ncl +++ b/out/Quali Torque Blueprint Spec 2.ncl @@ -1035,7 +1035,7 @@ let rec _js2n__-refsenv "agent", "credentials", "parameter", - "radio", + "env", "input-source" ] ], diff --git a/out/Renovate.ncl b/out/Renovate.ncl index 98af599..bba3fcd 100644 --- a/out/Renovate.ncl +++ b/out/Renovate.ncl @@ -976,7 +976,9 @@ let rec _js2n__-refsenv | doc "Determine assignees based on configured code owners and changes in PR." | optional, assigneesSampleSize - | std.number.Integer + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.anyOf + [ _js2n__-prdslib.isType 'Integer, _js2n__-prdslib.isType 'Null ]) | doc "Take a random sample of given size from `assignees`." | optional, autoApprove @@ -990,38 +992,90 @@ let rec _js2n__-refsenv autodiscover | Bool | doc "Autodiscover all repositories." | optional, autodiscoverFilter | _js2n__-prdslib.contract_from_predicate - (_js2n__-prdslib.oneOf + (_js2n__-prdslib.allOf [ - _js2n__-prdslib.allOf + _js2n__-prdslib.anyOf [ _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType '"String") + _js2n__-prdslib.isType 'Null ], - _js2n__-prdslib.isType '"String" + _js2n__-prdslib.oneOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType '"String") + ], + _js2n__-prdslib.isType '"String" + ] ]) | doc "Filter the list of autodiscovered repositories." | optional, autodiscoverNamespaces - | Array (String) + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.isType 'Null + ], + _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") + ]) | doc "Filter the list of autodiscovered repositories by namespaces." | optional, autodiscoverProjects - | Array (String) + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.isType 'Null + ], + _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") + ]) | doc "Filter the list of autodiscovered repositories by project names." | optional, autodiscoverRepoOrder - | std.enum.TagOrString - | [| 'desc, 'asc |] + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.isType 'Null + ], + _js2n__-prdslib.enum [ "asc", "desc" ] + ]) | doc "The order method for autodiscover server side repository search." | optional, autodiscoverRepoSort - | std.enum.TagOrString - | [| 'id, 'size, 'updated, 'created, 'alpha |] + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.isType 'Null + ], + _js2n__-prdslib.enum + [ "alpha", "created", "updated", "size", "id" ] + ]) | doc "The sort method for autodiscover server side repository search." | optional, autodiscoverTopics - | Array (String) + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.isType 'Null + ], + _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") + ]) | doc "Filter the list of autodiscovered repositories by topics." | optional, automerge @@ -1140,7 +1194,9 @@ let rec _js2n__-refsenv | doc "Configuration object for the bitrise manager" | optional, branchConcurrentLimit - | std.number.Integer + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.anyOf + [ _js2n__-prdslib.isType 'Integer, _js2n__-prdslib.isType 'Null ]) | doc "Limit to a maximum of x concurrent branches. 0 means no limit, `null` (default) inherits value from `prConcurrentLimit`." | optional, branchName | String | doc "Branch name template." | optional, @@ -1460,7 +1516,16 @@ let rec _js2n__-refsenv | doc "Customize sections in the Dependency Dashboard issue." | optional, defaultRegistryUrls - | Array (String) + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.isType 'Null + ], + _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") + ]) | doc "List of registry URLs to use as the default for a datasource." | optional, deleteConfigFile @@ -1488,7 +1553,16 @@ let rec _js2n__-refsenv | doc "Any text added here will be placed first in the Dependency Dashboard issue body." | optional, dependencyDashboardLabels - | Array (String) + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.isType 'Null + ], + _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") + ]) | doc "These labels will always be applied on the Dependency Dashboard issue, even when they have been removed manually." | optional, dependencyDashboardOSVVulnerabilitySummary @@ -1583,8 +1657,16 @@ let rec _js2n__-refsenv | doc "Configuration object for the droneci manager" | optional, dryRun - | std.enum.TagOrString - | [| 'full, 'lookup, 'extract |] + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.isType 'Null + ], + _js2n__-prdslib.enum [ "extract", "lookup", "full" ] + ]) | doc "If enabled, perform a dry run by logging messages instead of creating/updating/deleting branches and PRs." | optional, enabled | Bool | doc "Enable or disable Renovate bot." | optional, @@ -1595,14 +1677,26 @@ let rec _js2n__-refsenv encrypted | _js2n__-prdslib.contract_from_predicate (_js2n__-prdslib.allOf - [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.always ]) + [ + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.isType 'Null + ], + _js2n__-prdslib.always + ]) | doc "An object containing configuration encrypted with project key." | optional, encryptedWarning | String | doc "Warning text to use if encrypted config is found." | optional, - endpoint | String | doc "Custom endpoint to use." | optional, + endpoint + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.anyOf + [ _js2n__-prdslib.isType '"String", _js2n__-prdslib.isType 'Null ]) + | doc "Custom endpoint to use." + | optional, env | _js2n__-prdslib.contract_from_predicate (_js2n__-prdslib.allOf @@ -1839,15 +1933,21 @@ let rec _js2n__-refsenv | doc "Config if `groupName` is enabled." | optional, groupName - | String + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.anyOf + [ _js2n__-prdslib.isType '"String", _js2n__-prdslib.isType 'Null ]) | doc "Human understandable name for the dependency group." | optional, groupSlug - | String + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.anyOf + [ _js2n__-prdslib.isType '"String", _js2n__-prdslib.isType 'Null ]) | doc "Slug to use for group (e.g. in branch name). Slug is calculated from `groupName` if `null`." | optional, hashedBranchLength - | std.number.Integer + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.anyOf + [ _js2n__-prdslib.isType 'Integer, _js2n__-prdslib.isType 'Null ]) | doc "If enabled, branch names will use a hashing function to ensure each branch has that length." | optional, helm-requirements @@ -1911,7 +2011,11 @@ let rec _js2n__-refsenv artifactAuth = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.isType 'Null + ], _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.allOf [ @@ -1920,7 +2024,12 @@ let rec _js2n__-refsenv ]) ], authType = _js2n__-prdslib.isType '"String", - concurrentRequestLimit = _js2n__-prdslib.isType 'Integer, + concurrentRequestLimit = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType 'Integer, + _js2n__-prdslib.isType 'Null + ], description = _js2n__-prdslib.oneOf [ @@ -1941,10 +2050,24 @@ let rec _js2n__-refsenv _js2n__-prdslib.always ], hostType = _js2n__-prdslib.isType '"String", - httpsCertificate = _js2n__-prdslib.isType '"String", + httpsCertificate = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.isType 'Null + ], httpsCertificateAuthority = - _js2n__-prdslib.isType '"String", - httpsPrivateKey = _js2n__-prdslib.isType '"String", + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.isType 'Null + ], + httpsPrivateKey = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.isType 'Null + ], insecureRegistry = _js2n__-prdslib.isType '"Bool", keepAlive = _js2n__-prdslib.isType '"Bool", matchHost = _js2n__-prdslib.isType '"String", @@ -2095,7 +2218,9 @@ let rec _js2n__-refsenv | doc "Configuration for lock file maintenance." | optional, logContext - | String + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.anyOf + [ _js2n__-prdslib.isType '"String", _js2n__-prdslib.isType 'Null ]) | doc "Add a global or per-repo log context to each log entry." | optional, logLevelRemap @@ -2200,11 +2325,15 @@ let rec _js2n__-refsenv | doc "Define presets here which have been removed or renamed and should be migrated automatically." | optional, milestone - | std.number.Integer + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.anyOf + [ _js2n__-prdslib.isType 'Integer, _js2n__-prdslib.isType 'Null ]) | doc "The number of a milestone. If set, the milestone will be set when Renovate creates the PR." | optional, minimumReleaseAge - | String + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.anyOf + [ _js2n__-prdslib.isType '"String", _js2n__-prdslib.isType 'Null ]) | doc "Time required before a new release is considered stable." | optional, minor @@ -2290,7 +2419,9 @@ let rec _js2n__-refsenv | doc "Change this value to override the default onboarding branch name." | optional, onboardingCommitMessage - | String + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.anyOf + [ _js2n__-prdslib.isType '"String", _js2n__-prdslib.isType 'Null ]) | doc "Change this value to override the default onboarding commit message." | optional, onboardingConfig @@ -2776,7 +2907,9 @@ let rec _js2n__-refsenv | doc "Timeout in hours for when `prCreation=not-pending`." | optional, prTitle - | String + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.anyOf + [ _js2n__-prdslib.isType '"String", _js2n__-prdslib.isType 'Null ]) | doc "Pull Request title template. Inherits from `commitMessage` if null." | optional, prTitleStrict @@ -2900,7 +3033,16 @@ let rec _js2n__-refsenv | doc "Aliases for registries." | optional, registryUrls - | Array (String) + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.isType 'Null + ], + _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") + ]) | doc "List of URLs to try for dependency lookup. Package manager specific." | optional, replacement @@ -2910,12 +3052,22 @@ let rec _js2n__-refsenv | doc "Configuration to apply when replacing a dependency." | optional, reportPath - | String + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.anyOf + [ _js2n__-prdslib.isType '"String", _js2n__-prdslib.isType 'Null ]) | doc "Path to where the file should be written. In case of `s3` this has to be a full S3 URI." | optional, reportType - | std.enum.TagOrString - | [| 's3, 'file, 'logging |] + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.isType 'Null + ], + _js2n__-prdslib.enum [ "logging", "file", "s3" ] + ]) | doc "Set how, or if, reports should be generated." | optional, repositories | Array (String) | doc "List of Repositories." | optional, @@ -2946,7 +3098,9 @@ let rec _js2n__-refsenv | doc "Determine reviewers based on configured code owners and changes in PR." | optional, reviewersSampleSize - | std.number.Integer + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.anyOf + [ _js2n__-prdslib.isType 'Integer, _js2n__-prdslib.isType 'Null ]) | doc "Take a random sample of given size from `reviewers`." | optional, rollback @@ -3052,7 +3206,9 @@ let rec _js2n__-refsenv | doc "Configuration object for the setup-cfg manager" | optional, skipInstalls - | Bool + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.anyOf + [ _js2n__-prdslib.isType '"Bool", _js2n__-prdslib.isType 'Null ]) | doc "Skip installing modules/dependencies if lock file updating is possible without a full install." | optional, statusCheckNames @@ -3090,6 +3246,12 @@ let rec _js2n__-refsenv ]) | doc "Options to suppress various types of warnings and other notifications." | optional, + sveltos + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.allOf + [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.always ]) + | doc "Configuration object for the sveltos manager" + | optional, swift | _js2n__-prdslib.contract_from_predicate (_js2n__-prdslib.allOf @@ -3170,7 +3332,9 @@ let rec _js2n__-refsenv | doc "If `false`, Renovate does not try to access cloud metadata services." | optional, userAgent - | String + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.anyOf + [ _js2n__-prdslib.isType '"String", _js2n__-prdslib.isType 'Null ]) | doc "If set to any string, Renovate will use this as the `user-agent` it sends with HTTP requests." | optional, userStrings diff --git a/out/Ruff.ncl b/out/Ruff.ncl index bface65..d7d63fc 100644 --- a/out/Ruff.ncl +++ b/out/Ruff.ncl @@ -1982,17 +1982,6 @@ let rec _js2n__-refsenv _js2n__-prdslib.strings.minLength 1 ]) ], - allowed-unused-imports = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.anyOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.isType 'Null - ], - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType '"String") - ], dummy-variable-rgx = _js2n__-prdslib.anyOf [ @@ -2393,31 +2382,23 @@ let rec _js2n__-refsenv "_js2n__-:definitions/NameImports!predicate" = _js2n__-prdslib.isType '"String", "_js2n__-:definitions/OutputFormat!predicate" = - _js2n__-prdslib.oneOf + _js2n__-prdslib.allOf [ - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"String", - _js2n__-prdslib.enum - [ - "concise", - "full", - "json", - "json-lines", - "junit", - "grouped", - "github", - "gitlab", - "pylint", - "rdjson", - "azure", - "sarif" - ] - ], - _js2n__-prdslib.allOf + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum [ - _js2n__-prdslib.isType '"String", - _js2n__-prdslib.enum [ "text" ] + "concise", + "full", + "json", + "json-lines", + "junit", + "grouped", + "github", + "gitlab", + "pylint", + "rdjson", + "azure", + "sarif" ] ], "_js2n__-:definitions/ParametrizeNameType!predicate" = @@ -4021,11 +4002,11 @@ let rec _js2n__-refsenv "TRY2", "TRY20", "TRY201", + "TRY203", "TRY3", "TRY30", "TRY300", "TRY301", - "TRY302", "TRY4", "TRY40", "TRY400", @@ -4151,23 +4132,6 @@ let rec _js2n__-refsenv ]) | doc "A list of allowed \"confusable\" Unicode characters to ignore when enforcing `RUF001`, `RUF002`, and `RUF003`." | optional, - allowed-unused-imports - | _js2n__-prdslib.contract_from_predicate - (_js2n__-prdslib.allOf - [ - _js2n__-prdslib.anyOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.isType 'Null - ], - _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") - ]) - | doc m%" - A list of modules which is allowed even though they are not used in the code. - - This is useful when a module has a side effect when imported. - "% - | optional, analyze | _js2n__-prdslib.contract_from_predicate (_js2n__-prdslib.anyOf @@ -4912,19 +4876,6 @@ let rec _js2n__-refsenv This field supports globs. For example, if you have a series of Python packages in a `python_modules` directory, `src = ["python_modules/*"]` would expand to incorporate all packages in that directory. User home directory and environment variables will also be expanded. "% | optional, - tab-size - | _js2n__-prdslib.contract_from_predicate - (_js2n__-prdslib.anyOf - [ - _js2n__-refsenv."_js2n__-:definitions/IndentWidth!predicate", - _js2n__-prdslib.isType 'Null - ]) - | doc m%" - The number of spaces a tab is equal to when enforcing long-line violations (like `E501`) or formatting code with the formatter. - - This option changes the number of spaces inserted by the formatter when using soft-tabs (`indent-style = space`). - "% - | optional, target-version | _js2n__-prdslib.contract_from_predicate (_js2n__-prdslib.anyOf diff --git a/out/Semantic Data Fabric (SDF) file.ncl b/out/Semantic Data Fabric (SDF) file.ncl index 77b1a1b..10ad029 100644 --- a/out/Semantic Data Fabric (SDF) file.ncl +++ b/out/Semantic Data Fabric (SDF) file.ncl @@ -1339,6 +1339,40 @@ let rec _js2n__-refsenv ], } {} false _js2n__-prdslib.never ], + "_js2n__-:definitions/DbtConfig!predicate" = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + auto-parse = _js2n__-prdslib.isType '"Bool", + enabled = _js2n__-prdslib.isType '"Bool", + profile = + _js2n__-prdslib.anyOf + [ + _js2n__-refsenv."_js2n__-:definitions/String!predicate", + _js2n__-prdslib.isType 'Null + ], + project-dir = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.isType 'Null + ], + target = + _js2n__-prdslib.anyOf + [ + _js2n__-refsenv."_js2n__-:definitions/String!predicate", + _js2n__-prdslib.isType 'Null + ], + target-dir = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.isType 'Null + ], + } {} false _js2n__-prdslib.never + ], "_js2n__-:definitions/Defaults!predicate" = _js2n__-prdslib.allOf [ @@ -1522,19 +1556,37 @@ let rec _js2n__-refsenv } {} false _js2n__-prdslib.never ], "_js2n__-:definitions/Dialect!predicate" - | doc "Supported dialects" - = _js2n__-prdslib.allOf + | doc m%" + Supported dialects in YAML files + + Note: this [Dialect] type is *only* meant for serializing to and from `.sdf.yml` files. For internal use, you should almost always use the semantic dialect type ([types::Dialect]) instead. + + Note specifically that the lack of a `.to_string()` method (i.e. [!Display]) on this type is intentional -- you must first convert this type to a [types::Dialect], by using either [Dialect::to_semantic_dialect] or [types::Dialect::from], before you can convert it to a string. + "% + = _js2n__-prdslib.oneOf [ - _js2n__-prdslib.isType '"String", - _js2n__-prdslib.enum + _js2n__-prdslib.allOf [ - "snowflake", - "trino", - "bigquery", - "redshift", - "spark-lp", - "sdf", - "databricks" + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ + "trino", + "bigquery", + "redshift", + "spark-lp", + "sdf", + "databricks" + ] + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum [ "snowflake" ] + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum [ "snowflake_normalized" ] ] ], "_js2n__-:definitions/Environment!predicate" @@ -1687,7 +1739,12 @@ let rec _js2n__-refsenv ], _js2n__-prdslib.numbers.minimum 0 ], - name = _js2n__-prdslib.isType '"String", + name = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.isType 'Null + ], } {} false _js2n__-prdslib.never ], "_js2n__-:definitions/Function!predicate" @@ -1705,6 +1762,13 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf _js2n__-refsenv."_js2n__-:definitions/TypeBound!predicate" ], + constraints = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record {} {} true + (_js2n__-prdslib.isType '"String") + ], cross-link = _js2n__-prdslib.isType '"String", description = _js2n__-prdslib.isType '"String", dialect = @@ -2071,13 +2135,6 @@ let rec _js2n__-refsenv name = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], - "_js2n__-:definitions/LayoutRules!predicate" - | doc "Arriving soon" - = _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record {} {} false _js2n__-prdslib.never - ], "_js2n__-:definitions/Lineage!predicate" = _js2n__-prdslib.allOf [ @@ -2121,6 +2178,42 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { + case-alias = + _js2n__-prdslib.anyOf + [ + _js2n__-refsenv."_js2n__-:definitions/Capitalization!predicate", + _js2n__-prdslib.isType 'Null + ], + case-function = + _js2n__-prdslib.anyOf + [ + _js2n__-refsenv."_js2n__-:definitions/Capitalization!predicate", + _js2n__-prdslib.isType 'Null + ], + case-keyword = + _js2n__-prdslib.anyOf + [ + _js2n__-refsenv."_js2n__-:definitions/Capitalization!predicate", + _js2n__-prdslib.isType 'Null + ], + case-literal = + _js2n__-prdslib.anyOf + [ + _js2n__-refsenv."_js2n__-:definitions/Capitalization!predicate", + _js2n__-prdslib.isType 'Null + ], + case-table = + _js2n__-prdslib.anyOf + [ + _js2n__-refsenv."_js2n__-:definitions/Capitalization!predicate", + _js2n__-prdslib.isType 'Null + ], + case-type = + _js2n__-prdslib.anyOf + [ + _js2n__-refsenv."_js2n__-:definitions/Capitalization!predicate", + _js2n__-prdslib.isType 'Null + ], check-rules = _js2n__-prdslib.allOf [ @@ -2136,31 +2229,146 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Null ]) ], + ctx-case-column = + _js2n__-prdslib.anyOf + [ + _js2n__-refsenv."_js2n__-:definitions/Capitalization!predicate", + _js2n__-prdslib.isType 'Null + ], + ctx-no-implicit-conversions-in = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.isType 'Null + ], + _js2n__-prdslib.arrays.arrayOf + _js2n__-refsenv."_js2n__-:definitions/ImplicitConversionOperators!predicate" + ], + ctx-strict-qualified-column-reference = + _js2n__-prdslib.anyOf + [ + _js2n__-refsenv."_js2n__-:definitions/ColumnQualifier!predicate", + _js2n__-prdslib.isType 'Null + ], defaults = _js2n__-refsenv."_js2n__-:definitions/RuleOn!predicate", - layout-rules = + keywords-as-identifiers = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.isType 'Null + ], + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType '"String") + ], + name = _js2n__-prdslib.anyOf [ - _js2n__-refsenv."_js2n__-:definitions/LayoutRules!predicate", + _js2n__-prdslib.isType '"String", _js2n__-prdslib.isType 'Null ], - name = _js2n__-prdslib.isType '"String", - performance-rules = + no-chars-in-quoted-identifiers = _js2n__-prdslib.anyOf [ - _js2n__-refsenv."_js2n__-:definitions/PerformanceRules!predicate", + _js2n__-prdslib.isType '"String", _js2n__-prdslib.isType 'Null ], - semantic-rules = + no-distinct-parenthesis = _js2n__-prdslib.anyOf [ - _js2n__-refsenv."_js2n__-:definitions/SemanticRules!predicate", + _js2n__-refsenv."_js2n__-:definitions/RuleOn!predicate", _js2n__-prdslib.isType 'Null ], - syntax-rules = + no-inconsistent-ordinal-column-reference = _js2n__-prdslib.anyOf [ - _js2n__-refsenv."_js2n__-:definitions/SyntaxRules!predicate", + _js2n__-refsenv."_js2n__-:definitions/RuleOn!predicate", + _js2n__-prdslib.isType 'Null + ], + no-subquery-in = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.isType 'Null + ], + _js2n__-prdslib.arrays.arrayOf + _js2n__-refsenv."_js2n__-:definitions/SubQueryScope!predicate" + ], + no-these-identifiers = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.isType 'Null + ], + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType '"String") + ], + no-trailing-semicolon = + _js2n__-prdslib.anyOf + [ + _js2n__-refsenv."_js2n__-:definitions/RuleOn!predicate", + _js2n__-prdslib.isType 'Null + ], + no-unnecessary-case = + _js2n__-prdslib.anyOf + [ + _js2n__-refsenv."_js2n__-:definitions/RuleOn!predicate", + _js2n__-prdslib.isType 'Null + ], + no-unnecessary-else = + _js2n__-prdslib.anyOf + [ + _js2n__-refsenv."_js2n__-:definitions/RuleOn!predicate", + _js2n__-prdslib.isType 'Null + ], + no-unnecessary-nested-case = + _js2n__-prdslib.anyOf + [ + _js2n__-refsenv."_js2n__-:definitions/RuleOn!predicate", + _js2n__-prdslib.isType 'Null + ], + no-unnecessary-quoted-identifiers = + _js2n__-prdslib.anyOf + [ + _js2n__-refsenv."_js2n__-:definitions/RuleOn!predicate", + _js2n__-prdslib.isType 'Null + ], + no-unqualified-multi-source-column-reference = + _js2n__-prdslib.anyOf + [ + _js2n__-refsenv."_js2n__-:definitions/RuleOn!predicate", + _js2n__-prdslib.isType 'Null + ], + no-unused-cte = + _js2n__-prdslib.anyOf + [ + _js2n__-refsenv."_js2n__-:definitions/RuleOn!predicate", + _js2n__-prdslib.isType 'Null + ], + perf-only-direct-partition-column-access = + _js2n__-prdslib.anyOf + [ + _js2n__-refsenv."_js2n__-:definitions/RuleOn!predicate", + _js2n__-prdslib.isType 'Null + ], + strict-join-condition-order = + _js2n__-prdslib.anyOf + [ + _js2n__-refsenv."_js2n__-:definitions/RuleOn!predicate", + _js2n__-prdslib.isType 'Null + ], + strict-wildcard-order = + _js2n__-prdslib.anyOf + [ + _js2n__-refsenv."_js2n__-:definitions/RuleOn!predicate", _js2n__-prdslib.isType 'Null ], } {} false _js2n__-prdslib.never @@ -2367,20 +2575,6 @@ let rec _js2n__-refsenv _js2n__-refsenv."_js2n__-:definitions/String!predicate", } {} false _js2n__-prdslib.never ], - "_js2n__-:definitions/PerformanceRules!predicate" = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - flag-function-application-in-where-on-indexed-columns = - _js2n__-prdslib.anyOf - [ - _js2n__-refsenv."_js2n__-:definitions/RuleOn!predicate", - _js2n__-prdslib.isType 'Null - ], - } {} false _js2n__-prdslib.never - ], "_js2n__-:definitions/Preprocessor!predicate" = _js2n__-prdslib.allOf [ @@ -2448,42 +2642,8 @@ let rec _js2n__-refsenv _js2n__-prdslib.enum [ "interactive", "headless", "id_token_from_file" ] ], - "_js2n__-:definitions/SemanticRules!predicate" = + "_js2n__-:definitions/Severity!predicate" = _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - case-alias = - _js2n__-prdslib.anyOf - [ - _js2n__-refsenv."_js2n__-:definitions/Capitalization!predicate", - _js2n__-prdslib.isType 'Null - ], - case-column = - _js2n__-prdslib.anyOf - [ - _js2n__-refsenv."_js2n__-:definitions/Capitalization!predicate", - _js2n__-prdslib.isType 'Null - ], - case-table = - _js2n__-prdslib.anyOf - [ - _js2n__-refsenv."_js2n__-:definitions/Capitalization!predicate", - _js2n__-prdslib.isType 'Null - ], - disallow-implicit-conversions-in = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - _js2n__-refsenv."_js2n__-:definitions/ImplicitConversionOperators!predicate" - ], - } {} false _js2n__-prdslib.never - ], - "_js2n__-:definitions/Severity!predicate" - | doc "Supported dialects" - = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType '"String", _js2n__-prdslib.enum [ "warning", "error" ] @@ -2579,145 +2739,6 @@ let rec _js2n__-refsenv _js2n__-prdslib.enum [ "never" ] ] ], - "_js2n__-:definitions/SyntaxRules!predicate" = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - case-function = - _js2n__-prdslib.anyOf - [ - _js2n__-refsenv."_js2n__-:definitions/Capitalization!predicate", - _js2n__-prdslib.isType 'Null - ], - case-keyword = - _js2n__-prdslib.anyOf - [ - _js2n__-refsenv."_js2n__-:definitions/Capitalization!predicate", - _js2n__-prdslib.isType 'Null - ], - case-literal = - _js2n__-prdslib.anyOf - [ - _js2n__-refsenv."_js2n__-:definitions/Capitalization!predicate", - _js2n__-prdslib.isType 'Null - ], - case-type = - _js2n__-prdslib.anyOf - [ - _js2n__-refsenv."_js2n__-:definitions/Capitalization!predicate", - _js2n__-prdslib.isType 'Null - ], - disallow-subquery-in = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - _js2n__-refsenv."_js2n__-:definitions/SubQueryScope!predicate" - ], - disallow-these-chars-in-quoted-identifiers = - _js2n__-prdslib.anyOf - [ - _js2n__-prdslib.isType '"String", - _js2n__-prdslib.isType 'Null - ], - disallow-these-identifiers = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.anyOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.isType 'Null - ], - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType '"String") - ], - flag-distinct-parenthesis = - _js2n__-prdslib.anyOf - [ - _js2n__-refsenv."_js2n__-:definitions/RuleOn!predicate", - _js2n__-prdslib.isType 'Null - ], - flag-inconsistent-ordinal-column-reference = - _js2n__-prdslib.anyOf - [ - _js2n__-refsenv."_js2n__-:definitions/RuleOn!predicate", - _js2n__-prdslib.isType 'Null - ], - flag-inconsistent-qualified-column-reference = - _js2n__-prdslib.anyOf - [ - _js2n__-refsenv."_js2n__-:definitions/ColumnQualifier!predicate", - _js2n__-prdslib.isType 'Null - ], - flag-keywords-used-as-identifiers = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.anyOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.isType 'Null - ], - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType '"String") - ], - flag-misordered-join-condition = - _js2n__-prdslib.anyOf - [ - _js2n__-refsenv."_js2n__-:definitions/RuleOn!predicate", - _js2n__-prdslib.isType 'Null - ], - flag-select-item-order = - _js2n__-prdslib.anyOf - [ - _js2n__-refsenv."_js2n__-:definitions/RuleOn!predicate", - _js2n__-prdslib.isType 'Null - ], - flag-trailing-semicolon-after-statements = - _js2n__-prdslib.anyOf - [ - _js2n__-refsenv."_js2n__-:definitions/RuleOn!predicate", - _js2n__-prdslib.isType 'Null - ], - flag-unnecessary-case = - _js2n__-prdslib.anyOf - [ - _js2n__-refsenv."_js2n__-:definitions/RuleOn!predicate", - _js2n__-prdslib.isType 'Null - ], - flag-unnecessary-else = - _js2n__-prdslib.anyOf - [ - _js2n__-refsenv."_js2n__-:definitions/RuleOn!predicate", - _js2n__-prdslib.isType 'Null - ], - flag-unnecessary-nested-case = - _js2n__-prdslib.anyOf - [ - _js2n__-refsenv."_js2n__-:definitions/RuleOn!predicate", - _js2n__-prdslib.isType 'Null - ], - flag-unnecessary-quoted-identifiers = - _js2n__-prdslib.anyOf - [ - _js2n__-refsenv."_js2n__-:definitions/RuleOn!predicate", - _js2n__-prdslib.isType 'Null - ], - flag-unqualified-multi-source-column-reference = - _js2n__-prdslib.anyOf - [ - _js2n__-refsenv."_js2n__-:definitions/RuleOn!predicate", - _js2n__-prdslib.isType 'Null - ], - flag-unused-cte = - _js2n__-prdslib.anyOf - [ - _js2n__-refsenv."_js2n__-:definitions/RuleOn!predicate", - _js2n__-prdslib.isType 'Null - ], - } {} false _js2n__-prdslib.never - ], "_js2n__-:definitions/SystemTime!predicate" = _js2n__-prdslib.allOf [ @@ -3112,6 +3133,12 @@ let rec _js2n__-refsenv _js2n__-prdslib.records.required [ "edition", "name" ], _js2n__-prdslib.records.record { + dbt = + _js2n__-prdslib.anyOf + [ + _js2n__-refsenv."_js2n__-:definitions/DbtConfig!predicate", + _js2n__-prdslib.isType 'Null + ], defaults = _js2n__-prdslib.anyOf [ diff --git a/out/Shopware 6 Configuration.ncl b/out/Shopware 6 Configuration.ncl index 2e011f3..ad29d49 100644 --- a/out/Shopware 6 Configuration.ncl +++ b/out/Shopware 6 Configuration.ncl @@ -983,6 +983,7 @@ let rec _js2n__-refsenv delay | std.number.Integer | optional, delay_options | { + connection | String | optional, dsn | String | optional, storage | std.enum.TagOrString @@ -1074,7 +1075,15 @@ let rec _js2n__-refsenv expire_days | std.number.Integer | optional, storage | { - config | { dsn | String | optional, } | optional, + config + | { + connection | String | optional, + dsn + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.isType '"String") + | optional, + } + | optional, type | std.enum.TagOrString | [| 'redis, 'mysql |] | optional, } | optional, @@ -1448,10 +1457,29 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required [ "url" ], + _js2n__-prdslib.oneOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required + [ "url" ], + _js2n__-prdslib.records.record {} {} + true _js2n__-prdslib.always + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required + [ "connection" ], + _js2n__-prdslib.records.record {} {} + true _js2n__-prdslib.always + ] + ], _js2n__-prdslib.records.record - { url = _js2n__-prdslib.isType '"String", } {} - false _js2n__-prdslib.never + { + connection = + _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", + } {} false _js2n__-prdslib.never ], } {} true _js2n__-prdslib.always ]) _js2n__-prdslib.always, @@ -1528,7 +1556,15 @@ let rec _js2n__-refsenv }, "_js2n__-:definitions/number_range!contract" = { - config | { dsn | String | optional, } | optional, + config + | { + connection | String | optional, + dsn + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.isType '"String") + | optional, + } + | optional, increment_storage | _js2n__-prdslib.contract_from_predicate (_js2n__-prdslib.anyOf @@ -1612,6 +1648,24 @@ let rec _js2n__-refsenv reset | String | optional, .. }, + "_js2n__-:definitions/redis!contract" = + { + connections + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record {} {} true + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { dsn = _js2n__-prdslib.isType '"String", } {} false + _js2n__-prdslib.never + ]) + ]) + | optional, + }, "_js2n__-:definitions/root!contract" = { elasticsearch @@ -1695,6 +1749,9 @@ let rec _js2n__-refsenv profiler | _js2n__-refsenv."_js2n__-:definitions/profiler!contract" | optional, + redis + | _js2n__-refsenv."_js2n__-:definitions/redis!contract" + | optional, sales_channel_context | _js2n__-refsenv."_js2n__-:definitions/sales_channel_context!contract" | optional, diff --git a/out/StackHawk Scanner Configuration.ncl b/out/StackHawk Scanner Configuration.ncl index 06f3ccf..e20e9a7 100644 --- a/out/StackHawk Scanner Configuration.ncl +++ b/out/StackHawk Scanner Configuration.ncl @@ -918,8 +918,9 @@ let rec _js2n__-refsenv _js2n__-prdslib.records.record {} {} true (_js2n__-prdslib.isType '"String") ], - "_js2n__-:definitions/AppConf!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/AppConf!predicate" + | doc "Configuration parameters for the scanned application, independent of the scanner." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.oneOf @@ -1003,8 +1004,13 @@ let rec _js2n__-refsenv _js2n__-refsenv."_js2n__-:definitions/WaitForAppTarget!predicate", } {} false _js2n__-prdslib.never ], - "_js2n__-:definitions/AppRedactions!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/AppRedactions!predicate" + | doc m%" + Redaction policy of scan logs and stdout when scanning this application. + + HawkScan maintains a list of redacted tokens; strings that are sensitive and should be scrubbed preemptively from logs and collected messages. By default, HawkScan redacts `app.authentication` credentials, and any provided script / discovery credentials. + "% + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -1025,8 +1031,27 @@ let rec _js2n__-refsenv ], } {} false _js2n__-prdslib.never ], - "_js2n__-:definitions/AuthTestPath!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/AuthTestPath!predicate" + | doc m%" + A configuration specifying how to verify if Scan authentication and authorization is working before running a scan. + + An example configuration of `app.authentication.testPath`: + ```yaml + app: + authentication: + testPath: + type: HEADER + path: /user/profile + success: ".*200.*" + requestMethod: POST + requestBody: '{"feeling": "KaaKaww!"}' + requestHeaders: + Content-Type: "application/json" + ``` + + This uses either `success` or `fail` criteria to determine if authorized access is working correctly. + "% + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.oneOf @@ -1073,8 +1098,9 @@ let rec _js2n__-refsenv ], } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/AuthTokens!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/AuthTokens!predicate" + | doc "Configuration for Token Authentication." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -1090,8 +1116,14 @@ let rec _js2n__-refsenv _js2n__-refsenv."_js2n__-:definitions/NameValParam!predicate", } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/Authentication!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/Authentication!predicate" + | doc m%" + Configuration block for application authentication to enable scanning as the provided user of your application. + If provided, HawkScan will first attempt to sign into your web application with the provided login credentials. + Only after successfully verifying will scanning occur. + For more information, see the Authenticated Scanning section. + "% + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.allOf @@ -1244,8 +1276,13 @@ let rec _js2n__-refsenv _js2n__-refsenv."_js2n__-:definitions/UsernamePasswordCredentials!predicate", } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/AuthenticationScript!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/AuthenticationScript!predicate" + | doc m%" + Configuration for a custom authentication script. + HawkScan will run the provided authentication script until a request matches the `loggedInIndicator`, or if the `loggedOutIndicator` is tripped on a request. + The authentication script name should also be included in the `hawkAddOn.scripts.name` + "% + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.required [ "name" ], @@ -1258,8 +1295,9 @@ let rec _js2n__-refsenv _js2n__-refsenv."_js2n__-:definitions/ParametersEntry!predicate", } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/CookieAuthorization!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/CookieAuthorization!predicate" + | doc "An optional configuration specifying if authorization is maintained via a cookie session." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -1303,8 +1341,9 @@ let rec _js2n__-refsenv workingDir = _js2n__-prdslib.isType '"String", } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/CustomVariable!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/CustomVariable!predicate" + | doc "Generic custom variable for different API types." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -1340,8 +1379,9 @@ let rec _js2n__-refsenv _js2n__-prdslib.records.record {} {} true (_js2n__-prdslib.isType '"String") ], - "_js2n__-:definitions/ExternalCommandCredentials!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/ExternalCommandCredentials!predicate" + | doc "Optional configuration block allowing HawkScan to run a specified command line process. HawkScan will attempt to access a protected path in your web application with the supplied headers or cookies before scanning. For more information, see the [Authenticated Scanning section](https://docs.stackhawk.com/hawkscan/configuration/authenticated-scanning.html)." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.required [ "command" ], @@ -1355,10 +1395,23 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], + timeoutSeconds = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"Number", + _js2n__-prdslib.isType '"String" + ], + _js2n__-prdslib.numbers.minimum 0, + _js2n__-prdslib.strings.pattern + "^([0-9][0-9]+|[1-9]|0)$" + ], } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/ExternalCredentials!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/ExternalCredentials!predicate" + | doc "Optional configuration block for specifying an externally supplied authorization token, HawkScan will attempt to access a protected path in your web application with the supplied token before scanning. For more information, see the [Authenticated Scanning section](https://docs.stackhawk.com/hawkscan/configuration/authenticated-scanning.html)." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -1378,8 +1431,9 @@ let rec _js2n__-refsenv ], } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/GraphQLConf!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/GraphQLConf!predicate" + | doc "[GraphQL](https://spec.graphql.org/June2018/) scanner parameters. See the StackHawk [graphQL configuration docs](https://docs.stackhawk.com/hawkscan/configuration/graphql-configuration.html) for more details." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -1447,8 +1501,9 @@ let rec _js2n__-refsenv ], } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/GraphQLCustomVariable!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/GraphQLCustomVariable!predicate" + | doc "Custom variable data specific to OpenAPI schemas." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -1470,8 +1525,9 @@ let rec _js2n__-refsenv ], } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/GraphQLExcludeOperationParam!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/GraphQLExcludeOperationParam!predicate" + | doc "A GraphQL operation to exclude from the spider by name and type." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -1485,8 +1541,9 @@ let rec _js2n__-refsenv ], } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/GrpcConf!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/GrpcConf!predicate" + | doc "[gRPC](https://grpc.io/) API scanner parameters. See the [gRPC configuration docs](https://docs.stackhawk.com/hawkscan/configuration/gRPC-configuration.html) for more details." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -1522,8 +1579,13 @@ let rec _js2n__-refsenv path = _js2n__-prdslib.isType '"String", } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/HARImportConfig!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/HARImportConfig!predicate" + | doc m%" + Configuration for using a HAR file as the discovery for a scan. + HAR files often contain requests including urls from many hosts, but only URLs matching the `app.host` or + `replaceHost` will be included in the scan. + "% + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.oneOf @@ -1550,16 +1612,18 @@ let rec _js2n__-refsenv replaceHost = _js2n__-prdslib.isType '"String", } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/HARImportDirectory!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/HARImportDirectory!predicate" + | doc "Paths to directories, for use with HARImportConfig." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { path = _js2n__-prdslib.isType '"String", } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/HARImportFiles!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/HARImportFiles!predicate" + | doc "Paths to .har HTTP Archive formatted files, for use with HARImportConfig." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -1573,8 +1637,9 @@ let rec _js2n__-refsenv ], } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/HawkAddOnConf!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/HawkAddOnConf!predicate" + | doc "Configuration block for HawkScan add-ons and custom scripts." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -1590,8 +1655,9 @@ let rec _js2n__-refsenv ], } {} false _js2n__-prdslib.never ], - "_js2n__-:definitions/HawkConf!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/HawkConf!predicate" + | doc "Configuration preferences for HawkScan, independent of the scanned application." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -1643,8 +1709,9 @@ let rec _js2n__-refsenv urlQueryParam = _js2n__-prdslib.isType '"Bool", } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/InputVectorParams!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/InputVectorParams!predicate" + | doc "Fine-grained configuration of HawkScan input vectors. This configuration is how and where testable inputs are applied on http requests." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -1655,8 +1722,9 @@ let rec _js2n__-refsenv _js2n__-refsenv."_js2n__-:definitions/InjectableParam!predicate", } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/NameValParam!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/NameValParam!predicate" + | doc "General name / value parameter." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -1665,8 +1733,9 @@ let rec _js2n__-refsenv val = _js2n__-prdslib.isType '"String", } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/OAuth!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/OAuth!predicate" + | doc "Optional configuration block allowing HawkScan to authorize requests with a 3rd party [OAuth 2.0](https://oauth.net/2/) auth provider." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -1677,8 +1746,9 @@ let rec _js2n__-refsenv _js2n__-refsenv."_js2n__-:definitions/OAuthParameters!predicate", } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/OAuthCredentials!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/OAuthCredentials!predicate" + | doc "" + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -1691,8 +1761,9 @@ let rec _js2n__-refsenv username = _js2n__-prdslib.isType '"String", } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/OAuthParameters!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/OAuthParameters!predicate" + | doc "" + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -1723,8 +1794,9 @@ let rec _js2n__-refsenv tokenEndpoint = _js2n__-prdslib.isType '"String", } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/OpenApiConf!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/OpenApiConf!predicate" + | doc "[OpenApi](https://swagger.io/specification/) scanner parameters. See the StackHawk [OpenAPI configuration docs](https://docs.stackhawk.com/hawkscan/configuration/openapi-configuration.html) for more details." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -1796,8 +1868,9 @@ let rec _js2n__-refsenv strict = _js2n__-prdslib.isType '"Bool", } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/OpenApiCustomVariable!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/OpenApiCustomVariable!predicate" + | doc "Custom variable data specific to OpenAPI schemas." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -1833,8 +1906,9 @@ let rec _js2n__-refsenv ], } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/OrganizationPolicy!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/OrganizationPolicy!predicate" + | doc "" + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.required [ "name" ], @@ -1864,8 +1938,9 @@ let rec _js2n__-refsenv _js2n__-prdslib.records.record {} {} true (_js2n__-prdslib.isType '"String") ], - "_js2n__-:definitions/PostmanConfig!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/PostmanConfig!predicate" + | doc "Configuration for the Postman Collection." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -1875,8 +1950,9 @@ let rec _js2n__-refsenv filePath = _js2n__-prdslib.isType '"String", } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/Proxy!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/Proxy!predicate" + | doc "Configuration block for a proxy. This enables HawkScan to traffic scanner requests through an outbound network proxy." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -1887,8 +1963,9 @@ let rec _js2n__-refsenv rootCACertPath = _js2n__-prdslib.isType '"String", } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/ProxyCredentials!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/ProxyCredentials!predicate" + | doc "Credential details for the outbound proxy behavior." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -1899,8 +1976,9 @@ let rec _js2n__-refsenv username = _js2n__-prdslib.isType '"String", } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/Replacer!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/Replacer!predicate" + | doc "Configuration block for header value replacement. These rules support manipulating request headers, useful for modifying requests to web applications running behind a proxy." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -1914,8 +1992,13 @@ let rec _js2n__-refsenv ], } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/ReplacerRules!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/ReplacerRules!predicate" + | doc m%" + A list of configuration blocks for the Replacer add-on rules. + Each configuration block in the list is made up of the following elements. + See [Configuration Examples](https://docs.stackhawk.com/hawkscan/configuration/#replacer-plugin-configuration) for more information. + "% + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.required [ "matchString", "replacement" ], @@ -1961,8 +2044,9 @@ let rec _js2n__-refsenv _js2n__-prdslib.records.record {} {} true (_js2n__-prdslib.isType '"String") ], - "_js2n__-:definitions/ScanConf!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/ScanConf!predicate" + | doc "Configuration block for HawkScan runtime." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -2074,8 +2158,9 @@ let rec _js2n__-refsenv ], } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/Script!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/Script!predicate" + | doc "Configuration block for custom scripts." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.required [ "language" ], @@ -2118,8 +2203,9 @@ let rec _js2n__-refsenv ], } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/SessionScript!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/SessionScript!predicate" + | doc "Optional configuration block for specifying a custom session management script. To learn more about session scripts, reference the [HawkScan Examples](https://github.com/kaakaww/hawkscan-examples){:target=\"_blank\"} repository." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.required [ "name" ], @@ -2130,8 +2216,9 @@ let rec _js2n__-refsenv _js2n__-refsenv."_js2n__-:definitions/ParametersEntry!predicate", } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/SoapConf!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/SoapConf!predicate" + | doc "[SOAP](https://www.w3.org/TR/soap/) API scanner parameters. See the StackHawk [SOAP configuration docs](https://docs.stackhawk.com/hawkscan/configuration/soap-configuration.html) for more details." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -2146,8 +2233,9 @@ let rec _js2n__-refsenv ], } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/Spider!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/Spider!predicate" + | doc "Configuration block for the application crawling and Discovery Phase aka Spider. See the [Scan Discovery](https://docs.stackhawk.com/hawkscan/scan-discovery/) page for more details." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -2187,8 +2275,36 @@ let rec _js2n__-refsenv ], } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/Tag!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/Tag!predicate" + | doc m%" + Scan tags are name value pairs that represent metadata of the scan, capturing additional state or context around a scan. + + Examples could include adding commit SHAs, branch names, or project management issue titles. + + Tag names can use any combination of the following characters: `a-zA-Z-_`, and their values can be any string. Tag entries can also be interpolated from the environment. + + {:class="alert alert-info"} + > ℹ️ **NOTE:** Tag names beginning with `_STACKHAWK` are in a reserved tag name space. + + The following selection of YAML is an example of how you can configure your `stackhawk.yml` file to include scan tags: + + stackhawk.yml + {: .filename-tab} + ```yaml + app: + applicationId: + env: localhost + host: http://localhost:8080 + tags: + - name: category + value: hawksome + - name: Another-Value + value: ${SOMETHING_FROM_ENV:default} + - name: _GIT_COMMIT_SHA + value: ${MY_COMMIT_SHA_ENV:HEAD} + ``` + "% + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -2210,8 +2326,9 @@ let rec _js2n__-refsenv ], } {} false _js2n__-prdslib.never ], - "_js2n__-:definitions/TokenAuthorization!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/TokenAuthorization!predicate" + | doc "An optional configuration telling HawkScan how to pass the authorization token to your application on each request to maintain authorized access." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.required [ "value" ], @@ -2240,8 +2357,9 @@ let rec _js2n__-refsenv value = _js2n__-prdslib.isType '"String", } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/TokenExtraction!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/TokenExtraction!predicate" + | doc "Token extraction is optional unless you're using the `tokenAuthorization` in combination with `usernamePassword` authentication. This configuration specifies how to extract the authorization token from the authentication response." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.required [ "value" ], @@ -2256,8 +2374,12 @@ let rec _js2n__-refsenv value = _js2n__-prdslib.isType '"String", } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/UsernamePasswordCredentials!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/UsernamePasswordCredentials!predicate" + | doc m%" + Optional configuration specifying a username and password based authentication configuration. + Currently POSTing the credentials via `FORM` or `JSON` type is supported. Use in conjunction `cookieAuthorization` or `tokenAuthorization` to maintain authorized access to your application. + "% + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.required @@ -2304,8 +2426,9 @@ let rec _js2n__-refsenv usernameField = _js2n__-prdslib.isType '"String", } {} true _js2n__-prdslib.always ], - "_js2n__-:definitions/WaitForAppTarget!predicate" = - _js2n__-prdslib.allOf + "_js2n__-:definitions/WaitForAppTarget!predicate" + | doc "A configuration specifying how to determine if app is up and ready or scanning." + = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.required diff --git a/out/Taskfile config.ncl b/out/Taskfile config.ncl index ea9de9b..6f6317a 100644 --- a/out/Taskfile config.ncl +++ b/out/Taskfile config.ncl @@ -1147,7 +1147,28 @@ let rec _js2n__-refsenv [ _js2n__-prdslib.isType '"Array", _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType '"String") + (_js2n__-prdslib.oneOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required + [ "enum", "name" ], + _js2n__-prdslib.records.record + { + enum = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") + ], + name = _js2n__-prdslib.isType '"String", + } {} false _js2n__-prdslib.never + ] + ]) ], } {} false _js2n__-prdslib.never ], diff --git a/out/UET BuildConfig.json.ncl b/out/UET BuildConfig.json.ncl index 502e594..e0eb417 100644 --- a/out/UET BuildConfig.json.ncl +++ b/out/UET BuildConfig.json.ncl @@ -909,6 +909,16 @@ let rec _js2n__-refsenv { UETVersion = _js2n__-prdslib.const "BleedingEdge", } {} true _js2n__-prdslib.always) _js2n__-prdslib.always _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { UETVersion = _js2n__-prdslib.const "2024.1289.621", } {} + true _js2n__-prdslib.always) _js2n__-prdslib.always + _js2n__-prdslib.always, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { UETVersion = _js2n__-prdslib.const "2024.1289.338", } {} + true _js2n__-prdslib.always) _js2n__-prdslib.always + _js2n__-prdslib.always, _js2n__-prdslib.ifThenElse (_js2n__-prdslib.records.record { UETVersion = _js2n__-prdslib.const "2024.1277.836", } {} @@ -2096,6 +2106,8 @@ let rec _js2n__-refsenv _js2n__-prdslib.enum [ "BleedingEdge", + "2024.1289.621", + "2024.1289.338", "2024.1277.836", "2024.1277.711", "2024.1277.695", diff --git a/out/UI5 Manifest.ncl b/out/UI5 Manifest.ncl index 78e7929..7edff15 100644 --- a/out/UI5 Manifest.ncl +++ b/out/UI5 Manifest.ncl @@ -3996,6 +3996,12 @@ let rec _js2n__-refsenv alt = _js2n__-prdslib.isType '"String", backgroundColor = _js2n__-refsenv."_js2n__-:definitions/iconBackgroundColor!predicate", + fitType = + _js2n__-prdslib.oneOf + [ + _js2n__-prdslib.enum [ "Cover", "Contain" ], + _js2n__-refsenv."_js2n__-:definitions/simpleBinding!predicate" + ], initials = _js2n__-prdslib.isType '"String", shape = _js2n__-prdslib.allOf @@ -5666,6 +5672,7 @@ let rec _js2n__-refsenv _version | std.enum.TagOrString | [| + '"1.67.0", '"1.66.0", '"1.65.0", '"1.64.0", @@ -6345,7 +6352,8 @@ let rec _js2n__-refsenv "1.44.0", "1.45.0", "1.46.0", - "1.47.0" + "1.47.0", + "1.48.0" ] ], configuration = @@ -6454,8 +6462,6 @@ let rec _js2n__-refsenv '"Number", _js2n__-refsenv."_js2n__-:definitions/simpleBinding!predicate" ], - visible = - _js2n__-refsenv."_js2n__-:definitions/visibility!predicate", } {} false _js2n__-prdslib.never ], visible = diff --git a/out/Updatecli Policy Manifest.ncl b/out/Updatecli Policy Manifest.ncl index 0e3f299..7951155 100644 --- a/out/Updatecli Policy Manifest.ncl +++ b/out/Updatecli Policy Manifest.ncl @@ -907,6 +907,42 @@ let rec _js2n__-refsenv _js2n__-prdslib.records.record {} {} true (_js2n__-prdslib.oneOf [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + disablepipelineurl = _js2n__-prdslib.isType '"Bool", + kind = + _js2n__-prdslib.enum [ "gitlab/mergerequest" ], + scmid = _js2n__-prdslib.isType '"String", + spec = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + body = _js2n__-prdslib.isType '"String", + owner = + _js2n__-prdslib.isType '"String", + repository = + _js2n__-prdslib.isType '"String", + sourcebranch = + _js2n__-prdslib.isType '"String", + targetbranch = + _js2n__-prdslib.isType '"String", + title = + _js2n__-prdslib.isType '"String", + token = + _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", + username = + _js2n__-prdslib.isType '"String", + } {} false _js2n__-prdslib.never + ], + title = _js2n__-prdslib.isType '"String", + } {} false _js2n__-prdslib.never + ], _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, @@ -1024,42 +1060,6 @@ let rec _js2n__-refsenv ], title = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never - ], - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - disablepipelineurl = _js2n__-prdslib.isType '"Bool", - kind = - _js2n__-prdslib.enum [ "gitlab/mergerequest" ], - scmid = _js2n__-prdslib.isType '"String", - spec = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - body = _js2n__-prdslib.isType '"String", - owner = - _js2n__-prdslib.isType '"String", - repository = - _js2n__-prdslib.isType '"String", - sourcebranch = - _js2n__-prdslib.isType '"String", - targetbranch = - _js2n__-prdslib.isType '"String", - title = - _js2n__-prdslib.isType '"String", - token = - _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", - username = - _js2n__-prdslib.isType '"String", - } {} false _js2n__-prdslib.never - ], - title = _js2n__-prdslib.isType '"String", - } {} false _js2n__-prdslib.never ] ]) ]) @@ -2460,6 +2460,85 @@ let rec _js2n__-refsenv ], } {} false _js2n__-prdslib.never ], + precommit = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + ignore = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + path = + _js2n__-prdslib.isType + '"String", + repos = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + {} {} true + (_js2n__-prdslib.isType + '"String") + ], + } {} false + _js2n__-prdslib.never + ]) + ], + only = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + path = + _js2n__-prdslib.isType + '"String", + repos = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + {} {} true + (_js2n__-prdslib.isType + '"String") + ], + } {} false + _js2n__-prdslib.never + ]) + ], + rootdir = _js2n__-prdslib.isType '"String", + versionfilter = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.isType + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + strict = + _js2n__-prdslib.isType '"Bool", + } {} false _js2n__-prdslib.never + ], + } {} false _js2n__-prdslib.never + ], prow = _js2n__-prdslib.allOf [ @@ -2924,7 +3003,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "gitlab/release" ], + kind = _js2n__-prdslib.enum [ "stash/branch" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -2933,22 +3012,16 @@ let rec _js2n__-refsenv [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.required - [ "owner", "repository" ], + [ "owner", "repository", "url" ], _js2n__-prdslib.records.record { - commitish = - _js2n__-prdslib.isType '"String", - description = + branch = _js2n__-prdslib.isType '"String", - draft = _js2n__-prdslib.isType '"Bool", owner = _js2n__-prdslib.isType '"String", - prerelease = - _js2n__-prdslib.isType '"Bool", - repository = + password = _js2n__-prdslib.isType '"String", - tag = _js2n__-prdslib.isType '"String", - title = + repository = _js2n__-prdslib.isType '"String", token = _js2n__-prdslib.isType '"String", @@ -3083,7 +3156,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "golang/gomod" ], + kind = _js2n__-prdslib.enum [ "gitea/release" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -3091,15 +3164,47 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required + [ "owner", "repository", "url" ], _js2n__-prdslib.records.record { - file = _js2n__-prdslib.isType '"String", - indirect = + commitish = + _js2n__-prdslib.isType '"String", + description = + _js2n__-prdslib.isType '"String", + draft = _js2n__-prdslib.isType '"Bool", + owner = + _js2n__-prdslib.isType '"String", + prerelease = _js2n__-prdslib.isType '"Bool", - module = + repository = _js2n__-prdslib.isType '"String", - version = + tag = _js2n__-prdslib.isType '"String", + title = + _js2n__-prdslib.isType '"String", + token = + _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", + username = _js2n__-prdslib.isType '"String", + versionfilter = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.isType + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + strict = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never + ], } {} false _js2n__-prdslib.never ], transformers = @@ -3210,7 +3315,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "hcl" ], + kind = _js2n__-prdslib.enum [ "gitlab/tag" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -3218,20 +3323,38 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required + [ "owner", "repository" ], _js2n__-prdslib.records.record { - file = _js2n__-prdslib.isType '"String", - files = + owner = + _js2n__-prdslib.isType '"String", + repository = + _js2n__-prdslib.isType '"String", + tag = _js2n__-prdslib.isType '"String", + token = + _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", + username = + _js2n__-prdslib.isType '"String", + versionfilter = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.isType + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + strict = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never ], - path = _js2n__-prdslib.isType '"String", - value = - _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -3342,7 +3465,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "stash/branch" ], + kind = _js2n__-prdslib.enum [ "terraform/lock" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -3350,41 +3473,31 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required - [ "owner", "repository", "url" ], _js2n__-prdslib.records.record { - branch = - _js2n__-prdslib.isType '"String", - owner = - _js2n__-prdslib.isType '"String", - password = - _js2n__-prdslib.isType '"String", - repository = - _js2n__-prdslib.isType '"String", - token = - _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", - username = - _js2n__-prdslib.isType '"String", - versionfilter = + file = _js2n__-prdslib.isType '"String", + files = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.isType - '"String", - pattern = - _js2n__-prdslib.isType - '"String", - strict = - _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") + ], + platforms = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") ], + provider = + _js2n__-prdslib.isType '"String", + skipconstraints = + _js2n__-prdslib.isType '"Bool", + value = + _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -3495,7 +3608,8 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "toml" ], + kind = + _js2n__-prdslib.enum [ "terraform/registry" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -3505,21 +3619,17 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - createmissingkey = - _js2n__-prdslib.isType '"Bool", - file = _js2n__-prdslib.isType '"String", - files = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") - ], - key = _js2n__-prdslib.isType '"String", - query = + hostname = _js2n__-prdslib.isType '"String", - value = + name = _js2n__-prdslib.isType '"String", + namespace = + _js2n__-prdslib.isType '"String", + rawstring = + _js2n__-prdslib.isType '"String", + targetsystem = + _js2n__-prdslib.isType '"String", + type = _js2n__-prdslib.isType '"String", + version = _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf @@ -3649,7 +3759,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "http" ], + kind = _js2n__-prdslib.enum [ "dockerdigest" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -3659,59 +3769,21 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - request = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - body = - _js2n__-prdslib.isType - '"String", - headers = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.record - {} {} true - (_js2n__-prdslib.isType - '"String") - ], - nofollowredirects = - _js2n__-prdslib.isType - '"Bool", - verb = - _js2n__-prdslib.isType - '"String", - } {} false - _js2n__-prdslib.never - ], - responseasserts = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - headers = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.record - {} {} true - (_js2n__-prdslib.isType - '"String") - ], - statuscode = - _js2n__-prdslib.isType - 'Integer, - } {} false - _js2n__-prdslib.never - ], - returnresponseheader = + architecture = + _js2n__-prdslib.isType '"String", + digest = + _js2n__-prdslib.isType '"String", + hidetag = + _js2n__-prdslib.isType '"Bool", + image = + _js2n__-prdslib.isType '"String", + password = + _js2n__-prdslib.isType '"String", + tag = _js2n__-prdslib.isType '"String", + token = + _js2n__-prdslib.isType '"String", + username = _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -3822,7 +3894,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "npm" ], + kind = _js2n__-prdslib.enum [ "gittag" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -3832,14 +3904,10 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - name = _js2n__-prdslib.isType '"String", - npmrcpath = - _js2n__-prdslib.isType '"String", - registrytoken = - _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", - version = + key = _js2n__-prdslib.isType '"String", + message = _js2n__-prdslib.isType '"String", + path = _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf [ @@ -3968,7 +4036,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "terraform/file" ], + kind = _js2n__-prdslib.enum [ "helmchart" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -3978,17 +4046,43 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { + appversion = + _js2n__-prdslib.isType '"Bool", file = _js2n__-prdslib.isType '"String", - files = + key = _js2n__-prdslib.isType '"String", + name = _js2n__-prdslib.isType '"String", + password = + _js2n__-prdslib.isType '"String", + skippackaging = + _js2n__-prdslib.isType '"Bool", + token = + _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", + username = + _js2n__-prdslib.isType '"String", + value = + _js2n__-prdslib.isType '"String", + version = + _js2n__-prdslib.isType '"String", + versionfilter = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.isType + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + strict = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never ], - path = _js2n__-prdslib.isType '"String", - value = + versionincrement = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], @@ -4100,7 +4194,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "toolversions" ], + kind = _js2n__-prdslib.enum [ "http" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -4110,20 +4204,59 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - createmissingkey = - _js2n__-prdslib.isType '"Bool", - file = _js2n__-prdslib.isType '"String", - files = + request = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + body = + _js2n__-prdslib.isType + '"String", + headers = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + {} {} true + (_js2n__-prdslib.isType + '"String") + ], + nofollowredirects = + _js2n__-prdslib.isType + '"Bool", + verb = + _js2n__-prdslib.isType + '"String", + } {} false + _js2n__-prdslib.never ], - key = _js2n__-prdslib.isType '"String", - value = + responseasserts = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + headers = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + {} {} true + (_js2n__-prdslib.isType + '"String") + ], + statuscode = + _js2n__-prdslib.isType + 'Integer, + } {} false + _js2n__-prdslib.never + ], + returnresponseheader = _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -4234,7 +4367,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "csv" ], + kind = _js2n__-prdslib.enum [ "npm" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -4244,22 +4377,13 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - comma = _js2n__-prdslib.isType 'Integer, - comment = - _js2n__-prdslib.isType 'Integer, - file = _js2n__-prdslib.isType '"String", - files = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") - ], - key = _js2n__-prdslib.isType '"String", - query = + name = _js2n__-prdslib.isType '"String", + npmrcpath = _js2n__-prdslib.isType '"String", - value = + registrytoken = + _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", + version = _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf @@ -4389,7 +4513,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "helmchart" ], + kind = _js2n__-prdslib.enum [ "dockerimage" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -4399,24 +4523,27 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - appversion = - _js2n__-prdslib.isType '"Bool", - file = _js2n__-prdslib.isType '"String", - key = _js2n__-prdslib.isType '"String", - name = _js2n__-prdslib.isType '"String", + architecture = + _js2n__-prdslib.isType '"String", + architectures = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") + ], + image = + _js2n__-prdslib.isType '"String", password = _js2n__-prdslib.isType '"String", - skippackaging = - _js2n__-prdslib.isType '"Bool", + tag = _js2n__-prdslib.isType '"String", + tagfilter = + _js2n__-prdslib.isType '"String", token = _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", username = _js2n__-prdslib.isType '"String", - value = - _js2n__-prdslib.isType '"String", - version = - _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf [ @@ -4435,8 +4562,6 @@ let rec _js2n__-refsenv } {} false _js2n__-prdslib.never ], - versionincrement = - _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -4547,7 +4672,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "shell" ], + kind = _js2n__-prdslib.enum [ "file" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -4555,131 +4680,28 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required - [ "command" ], _js2n__-prdslib.records.record { - changedif = - _js2n__-prdslib.oneOf - [ - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.enum - [ - "console/output" - ], - spec = - _js2n__-prdslib.always, - } {} false - _js2n__-prdslib.never - ], - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.enum - [ "exitcode" ], - spec = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.required - [ - "failure", - "success", - "warning" - ], - _js2n__-prdslib.records.record - { - failure = - _js2n__-prdslib.isType - 'Integer, - success = - _js2n__-prdslib.isType - 'Integer, - warning = - _js2n__-prdslib.isType - 'Integer, - } {} false - _js2n__-prdslib.never - ], - } {} false - _js2n__-prdslib.never - ], - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.enum - [ - "file/checksum" - ], - spec = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.required - [ "files" ], - _js2n__-prdslib.records.record - { - files = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") - ], - } {} false - _js2n__-prdslib.never - ], - } {} false - _js2n__-prdslib.never - ] - ], - command = + content = _js2n__-prdslib.isType '"String", - environments = + file = _js2n__-prdslib.isType '"String", + files = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType '"Array", _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.required - [ "name" ], - _js2n__-prdslib.records.record - { - name = - _js2n__-prdslib.isType - '"String", - value = - _js2n__-prdslib.isType - '"String", - } {} false - _js2n__-prdslib.never - ]) + (_js2n__-prdslib.isType + '"String") ], - shell = + forcecreate = + _js2n__-prdslib.isType '"Bool", + line = _js2n__-prdslib.isType 'Integer, + matchpattern = _js2n__-prdslib.isType '"String", - workdir = + replacepattern = _js2n__-prdslib.isType '"String", + searchpattern = + _js2n__-prdslib.isType '"Bool", } {} false _js2n__-prdslib.never ], transformers = @@ -4790,7 +4812,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "stash/tag" ], + kind = _js2n__-prdslib.enum [ "gitea/tag" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -4804,8 +4826,6 @@ let rec _js2n__-refsenv { owner = _js2n__-prdslib.isType '"String", - password = - _js2n__-prdslib.isType '"String", repository = _js2n__-prdslib.isType '"String", tag = _js2n__-prdslib.isType '"String", @@ -4942,8 +4962,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = - _js2n__-prdslib.enum [ "terraform/provider" ], + kind = _js2n__-prdslib.enum [ "temurin" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -4953,18 +4972,23 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - file = _js2n__-prdslib.isType '"String", - files = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") - ], - provider = + architecture = _js2n__-prdslib.isType '"String", - value = + featureversion = + _js2n__-prdslib.isType 'Integer, + imagetype = + _js2n__-prdslib.isType '"String", + operatingsystem = + _js2n__-prdslib.isType '"String", + project = + _js2n__-prdslib.isType '"String", + releaseline = + _js2n__-prdslib.isType '"String", + releasetype = + _js2n__-prdslib.isType '"String", + result = + _js2n__-prdslib.isType '"String", + specificversion = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], @@ -5076,7 +5100,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "aws/ami" ], + kind = _js2n__-prdslib.enum [ "cargopackage" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -5084,163 +5108,48 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required + [ "package" ], _js2n__-prdslib.records.record { - accesskey = - _js2n__-prdslib.isType '"String", - dryrun = _js2n__-prdslib.isType '"Bool", - endpoint = + package = _js2n__-prdslib.isType '"String", - filters = + registry = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.record - { - name = - _js2n__-prdslib.isType - '"String", - values = - _js2n__-prdslib.isType - '"String", - } {} false - _js2n__-prdslib.never - ]) - ], - region = - _js2n__-prdslib.isType '"String", - secretkey = - _js2n__-prdslib.isType '"String", - sortby = - _js2n__-prdslib.isType '"String", - } {} false _js2n__-prdslib.never - ], - transformers = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - addprefix = - _js2n__-prdslib.isType - '"String", - addsuffix = - _js2n__-prdslib.isType - '"String", - find = - _js2n__-prdslib.isType - '"String", - findsubmatch = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.required - [ "pattern" ], - _js2n__-prdslib.records.record - { - captureindex = - _js2n__-prdslib.isType - 'Integer, - pattern = - _js2n__-prdslib.isType - '"String", - } {} false - _js2n__-prdslib.never - ], - replacer = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.required - [ "from", "to" ], - _js2n__-prdslib.records.record - { - from = - _js2n__-prdslib.isType - '"String", - to = - _js2n__-prdslib.isType - '"String", - } {} false - _js2n__-prdslib.never - ], - replacers = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.allOf - [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + auth = + _js2n__-prdslib.allOf + [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required - [ "from", "to" ], _js2n__-prdslib.records.record { - from = + headerformat = _js2n__-prdslib.isType '"String", - to = + token = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never - ]) - ], - semverinc = - _js2n__-prdslib.isType - '"String", - trimprefix = - _js2n__-prdslib.isType - '"String", - trimsuffix = - _js2n__-prdslib.isType - '"String", - } {} false _js2n__-prdslib.never - ]) - ], - } {} false _js2n__-prdslib.never - ], - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required [ "kind" ], - _js2n__-prdslib.records.record - { - dependson = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType '"String") - ], - disablesourceinput = _js2n__-prdslib.isType '"Bool", - failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "gitbranch" ], - name = _js2n__-prdslib.isType '"String", - scmid = _js2n__-prdslib.isType '"String", - sourceid = _js2n__-prdslib.isType '"String", - spec = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - branch = + ], + rootdir = + _js2n__-prdslib.isType + '"String", + scmid = + _js2n__-prdslib.isType + '"String", + url = + _js2n__-prdslib.isType + '"String", + } {} false + _js2n__-prdslib.never + ], + version = _js2n__-prdslib.isType '"String", - path = _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf [ @@ -5369,7 +5278,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "gitea/release" ], + kind = _js2n__-prdslib.enum [ "csv" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -5377,28 +5286,24 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required - [ "owner", "repository", "url" ], _js2n__-prdslib.records.record { - commitish = - _js2n__-prdslib.isType '"String", - description = - _js2n__-prdslib.isType '"String", - draft = _js2n__-prdslib.isType '"Bool", - owner = - _js2n__-prdslib.isType '"String", - prerelease = - _js2n__-prdslib.isType '"Bool", - repository = - _js2n__-prdslib.isType '"String", - tag = _js2n__-prdslib.isType '"String", - title = - _js2n__-prdslib.isType '"String", - token = + comma = _js2n__-prdslib.isType 'Integer, + comment = + _js2n__-prdslib.isType 'Integer, + file = _js2n__-prdslib.isType '"String", + files = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") + ], + key = _js2n__-prdslib.isType '"String", + query = _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", - username = + value = _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf @@ -5528,7 +5433,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "gitlab/tag" ], + kind = _js2n__-prdslib.enum [ "gitbranch" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -5536,20 +5441,11 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required - [ "owner", "repository" ], _js2n__-prdslib.records.record { - owner = - _js2n__-prdslib.isType '"String", - repository = - _js2n__-prdslib.isType '"String", - tag = _js2n__-prdslib.isType '"String", - token = - _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", - username = + branch = _js2n__-prdslib.isType '"String", + path = _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf [ @@ -5678,7 +5574,8 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "githubrelease" ], + kind = + _js2n__-prdslib.enum [ "terraform/provider" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -5686,59 +5583,21 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required - [ "owner", "repository", "token" ], _js2n__-prdslib.records.record { - owner = - _js2n__-prdslib.isType '"String", - repository = - _js2n__-prdslib.isType '"String", - tag = _js2n__-prdslib.isType '"String", - token = - _js2n__-prdslib.isType '"String", - typefilter = + file = _js2n__-prdslib.isType '"String", + files = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - draft = - _js2n__-prdslib.isType - '"Bool", - latest = - _js2n__-prdslib.isType - '"Bool", - prerelease = - _js2n__-prdslib.isType - '"Bool", - release = - _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") ], - url = _js2n__-prdslib.isType '"String", - username = + provider = + _js2n__-prdslib.isType '"String", + value = _js2n__-prdslib.isType '"String", - versionfilter = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.isType - '"String", - pattern = - _js2n__-prdslib.isType - '"String", - strict = - _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never - ], } {} false _js2n__-prdslib.never ], transformers = @@ -5849,8 +5708,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = - _js2n__-prdslib.enum [ "terraform/registry" ], + kind = _js2n__-prdslib.enum [ "shell" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -5858,38 +5716,131 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required + [ "command" ], _js2n__-prdslib.records.record { - hostname = - _js2n__-prdslib.isType '"String", - name = _js2n__-prdslib.isType '"String", - namespace = - _js2n__-prdslib.isType '"String", - rawstring = - _js2n__-prdslib.isType '"String", - targetsystem = - _js2n__-prdslib.isType '"String", - type = _js2n__-prdslib.isType '"String", - version = - _js2n__-prdslib.isType '"String", - versionfilter = - _js2n__-prdslib.allOf + changedif = + _js2n__-prdslib.oneOf [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.isType - '"String", - pattern = - _js2n__-prdslib.isType - '"String", - strict = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.enum + [ + "console/output" + ], + spec = + _js2n__-prdslib.always, + } {} false + _js2n__-prdslib.never + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.enum + [ "exitcode" ], + spec = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.required + [ + "failure", + "success", + "warning" + ], + _js2n__-prdslib.records.record + { + failure = + _js2n__-prdslib.isType + 'Integer, + success = + _js2n__-prdslib.isType + 'Integer, + warning = + _js2n__-prdslib.isType + 'Integer, + } {} false + _js2n__-prdslib.never + ], + } {} false + _js2n__-prdslib.never + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.enum + [ + "file/checksum" + ], + spec = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.required + [ "files" ], + _js2n__-prdslib.records.record + { + files = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") + ], + } {} false + _js2n__-prdslib.never + ], + } {} false + _js2n__-prdslib.never + ] + ], + command = + _js2n__-prdslib.isType '"String", + environments = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.allOf + [ _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never + 'Record, + _js2n__-prdslib.records.required + [ "name" ], + _js2n__-prdslib.records.record + { + name = + _js2n__-prdslib.isType + '"String", + value = + _js2n__-prdslib.isType + '"String", + } {} false + _js2n__-prdslib.never + ]) ], + shell = + _js2n__-prdslib.isType '"String", + workdir = + _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -6000,7 +5951,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "dockerdigest" ], + kind = _js2n__-prdslib.enum [ "toolversions" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -6010,20 +5961,19 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - architecture = - _js2n__-prdslib.isType '"String", - digest = - _js2n__-prdslib.isType '"String", - hidetag = + createmissingkey = _js2n__-prdslib.isType '"Bool", - image = - _js2n__-prdslib.isType '"String", - password = - _js2n__-prdslib.isType '"String", - tag = _js2n__-prdslib.isType '"String", - token = - _js2n__-prdslib.isType '"String", - username = + file = _js2n__-prdslib.isType '"String", + files = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") + ], + key = _js2n__-prdslib.isType '"String", + value = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], @@ -6135,7 +6085,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "file" ], + kind = _js2n__-prdslib.enum [ "gitlab/branch" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -6143,28 +6093,39 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required + [ "owner", "repository" ], _js2n__-prdslib.records.record { - content = + branch = _js2n__-prdslib.isType '"String", - file = _js2n__-prdslib.isType '"String", - files = + owner = + _js2n__-prdslib.isType '"String", + repository = + _js2n__-prdslib.isType '"String", + token = + _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", + username = + _js2n__-prdslib.isType '"String", + versionfilter = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.isType + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + strict = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never ], - forcecreate = - _js2n__-prdslib.isType '"Bool", - line = _js2n__-prdslib.isType 'Integer, - matchpattern = - _js2n__-prdslib.isType '"String", - replacepattern = - _js2n__-prdslib.isType '"String", - searchpattern = - _js2n__-prdslib.isType '"Bool", } {} false _js2n__-prdslib.never ], transformers = @@ -6275,7 +6236,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "gitlab/branch" ], + kind = _js2n__-prdslib.enum [ "golang/gomod" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -6283,39 +6244,15 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required - [ "owner", "repository" ], _js2n__-prdslib.records.record { - branch = - _js2n__-prdslib.isType '"String", - owner = - _js2n__-prdslib.isType '"String", - repository = - _js2n__-prdslib.isType '"String", - token = + file = _js2n__-prdslib.isType '"String", + indirect = + _js2n__-prdslib.isType '"Bool", + module = _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", - username = + version = _js2n__-prdslib.isType '"String", - versionfilter = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.isType - '"String", - pattern = - _js2n__-prdslib.isType - '"String", - strict = - _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never - ], } {} false _js2n__-prdslib.never ], transformers = @@ -6426,7 +6363,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "golang" ], + kind = _js2n__-prdslib.enum [ "hcl" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -6436,26 +6373,18 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - version = - _js2n__-prdslib.isType '"String", - versionfilter = + file = _js2n__-prdslib.isType '"String", + files = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.isType - '"String", - pattern = - _js2n__-prdslib.isType - '"String", - strict = - _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") ], + path = _js2n__-prdslib.isType '"String", + value = + _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -6566,7 +6495,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "terraform/lock" ], + kind = _js2n__-prdslib.enum [ "jenkins" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -6576,28 +6505,9 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - file = _js2n__-prdslib.isType '"String", - files = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") - ], - platforms = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") - ], - provider = + release = _js2n__-prdslib.isType '"String", - skipconstraints = - _js2n__-prdslib.isType '"Bool", - value = + version = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], @@ -6709,7 +6619,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "cargopackage" ], + kind = _js2n__-prdslib.enum [ "json" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -6717,47 +6627,21 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required - [ "package" ], _js2n__-prdslib.records.record { - package = - _js2n__-prdslib.isType '"String", - registry = + file = _js2n__-prdslib.isType '"String", + files = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - auth = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.record - { - headerformat = - _js2n__-prdslib.isType - '"String", - token = - _js2n__-prdslib.isType - '"String", - } {} false - _js2n__-prdslib.never - ], - rootdir = - _js2n__-prdslib.isType - '"String", - scmid = - _js2n__-prdslib.isType - '"String", - url = - _js2n__-prdslib.isType - '"String", - } {} false - _js2n__-prdslib.never + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") ], - version = + key = _js2n__-prdslib.isType '"String", + query = + _js2n__-prdslib.isType '"String", + value = _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf @@ -6887,7 +6771,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "gittag" ], + kind = _js2n__-prdslib.enum [ "aws/ami" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -6897,28 +6781,38 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - key = _js2n__-prdslib.isType '"String", - message = + accesskey = _js2n__-prdslib.isType '"String", - path = _js2n__-prdslib.isType '"String", - versionfilter = + dryrun = _js2n__-prdslib.isType '"Bool", + endpoint = + _js2n__-prdslib.isType '"String", + filters = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.isType - '"String", - pattern = - _js2n__-prdslib.isType - '"String", - strict = + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.allOf + [ _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never + 'Record, + _js2n__-prdslib.records.record + { + name = + _js2n__-prdslib.isType + '"String", + values = + _js2n__-prdslib.isType + '"String", + } {} false + _js2n__-prdslib.never + ]) ], + region = + _js2n__-prdslib.isType '"String", + secretkey = + _js2n__-prdslib.isType '"String", + sortby = + _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -7029,7 +6923,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "jenkins" ], + kind = _js2n__-prdslib.enum [ "dockerfile" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -7039,9 +6933,19 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - release = + file = _js2n__-prdslib.isType '"String", + files = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") + ], + instruction = _js2n__-prdslib.always, + stage = _js2n__-prdslib.isType '"String", - version = + value = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], @@ -7153,7 +7057,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "json" ], + kind = _js2n__-prdslib.enum [ "stash/tag" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -7161,21 +7065,21 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required + [ "owner", "repository", "url" ], _js2n__-prdslib.records.record { - file = _js2n__-prdslib.isType '"String", - files = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") - ], - key = _js2n__-prdslib.isType '"String", - query = + owner = _js2n__-prdslib.isType '"String", - value = + password = + _js2n__-prdslib.isType '"String", + repository = + _js2n__-prdslib.isType '"String", + tag = _js2n__-prdslib.isType '"String", + token = + _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", + username = _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf @@ -7443,7 +7347,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "dockerfile" ], + kind = _js2n__-prdslib.enum [ "maven" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -7453,8 +7357,11 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - file = _js2n__-prdslib.isType '"String", - files = + artifactid = + _js2n__-prdslib.isType '"String", + groupid = + _js2n__-prdslib.isType '"String", + repositories = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType '"Array", @@ -7462,11 +7369,29 @@ let rec _js2n__-refsenv (_js2n__-prdslib.isType '"String") ], - instruction = _js2n__-prdslib.always, - stage = + repository = _js2n__-prdslib.isType '"String", - value = + url = _js2n__-prdslib.isType '"String", + version = _js2n__-prdslib.isType '"String", + versionfilter = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.isType + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + strict = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never + ], } {} false _js2n__-prdslib.never ], transformers = @@ -7577,7 +7502,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "gitea/tag" ], + kind = _js2n__-prdslib.enum [ "terraform/file" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -7585,38 +7510,20 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required - [ "owner", "repository", "url" ], _js2n__-prdslib.records.record { - owner = - _js2n__-prdslib.isType '"String", - repository = - _js2n__-prdslib.isType '"String", - tag = _js2n__-prdslib.isType '"String", - token = - _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", - username = - _js2n__-prdslib.isType '"String", - versionfilter = + file = _js2n__-prdslib.isType '"String", + files = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.isType - '"String", - pattern = - _js2n__-prdslib.isType - '"String", - strict = - _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") ], + path = _js2n__-prdslib.isType '"String", + value = + _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -7727,7 +7634,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "maven" ], + kind = _js2n__-prdslib.enum [ "toml" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -7737,11 +7644,10 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - artifactid = - _js2n__-prdslib.isType '"String", - groupid = - _js2n__-prdslib.isType '"String", - repositories = + createmissingkey = + _js2n__-prdslib.isType '"Bool", + file = _js2n__-prdslib.isType '"String", + files = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType '"Array", @@ -7749,10 +7655,10 @@ let rec _js2n__-refsenv (_js2n__-prdslib.isType '"String") ], - repository = + key = _js2n__-prdslib.isType '"String", + query = _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", - version = + value = _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf @@ -7882,7 +7788,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "dockerimage" ], + kind = _js2n__-prdslib.enum [ "gitea/branch" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -7890,27 +7796,178 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required + [ "owner", "repository", "url" ], _js2n__-prdslib.records.record { - architecture = + branch = _js2n__-prdslib.isType '"String", - architectures = + owner = + _js2n__-prdslib.isType '"String", + repository = + _js2n__-prdslib.isType '"String", + token = + _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", + username = + _js2n__-prdslib.isType '"String", + versionfilter = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.isType + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + strict = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never ], - image = + } {} false _js2n__-prdslib.never + ], + transformers = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + addprefix = + _js2n__-prdslib.isType + '"String", + addsuffix = + _js2n__-prdslib.isType + '"String", + find = + _js2n__-prdslib.isType + '"String", + findsubmatch = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.required + [ "pattern" ], + _js2n__-prdslib.records.record + { + captureindex = + _js2n__-prdslib.isType + 'Integer, + pattern = + _js2n__-prdslib.isType + '"String", + } {} false + _js2n__-prdslib.never + ], + replacer = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.required + [ "from", "to" ], + _js2n__-prdslib.records.record + { + from = + _js2n__-prdslib.isType + '"String", + to = + _js2n__-prdslib.isType + '"String", + } {} false + _js2n__-prdslib.never + ], + replacers = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.required + [ "from", "to" ], + _js2n__-prdslib.records.record + { + from = + _js2n__-prdslib.isType + '"String", + to = + _js2n__-prdslib.isType + '"String", + } {} false + _js2n__-prdslib.never + ]) + ], + semverinc = + _js2n__-prdslib.isType + '"String", + trimprefix = + _js2n__-prdslib.isType + '"String", + trimsuffix = + _js2n__-prdslib.isType + '"String", + } {} false _js2n__-prdslib.never + ]) + ], + } {} false _js2n__-prdslib.never + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required [ "kind" ], + _js2n__-prdslib.records.record + { + dependson = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType '"String") + ], + disablesourceinput = _js2n__-prdslib.isType '"Bool", + failwhen = _js2n__-prdslib.isType '"Bool", + kind = _js2n__-prdslib.enum [ "gitlab/release" ], + name = _js2n__-prdslib.isType '"String", + scmid = _js2n__-prdslib.isType '"String", + sourceid = _js2n__-prdslib.isType '"String", + spec = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required + [ "owner", "repository" ], + _js2n__-prdslib.records.record + { + commitish = _js2n__-prdslib.isType '"String", - password = + description = + _js2n__-prdslib.isType '"String", + draft = _js2n__-prdslib.isType '"Bool", + owner = + _js2n__-prdslib.isType '"String", + prerelease = + _js2n__-prdslib.isType '"Bool", + repository = _js2n__-prdslib.isType '"String", tag = _js2n__-prdslib.isType '"String", - tagfilter = + title = _js2n__-prdslib.isType '"String", token = _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", username = _js2n__-prdslib.isType '"String", versionfilter = @@ -8041,7 +8098,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "gitea/branch" ], + kind = _js2n__-prdslib.enum [ "githubrelease" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -8050,17 +8107,37 @@ let rec _js2n__-refsenv [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.required - [ "owner", "repository", "url" ], + [ "owner", "repository", "token" ], _js2n__-prdslib.records.record { - branch = - _js2n__-prdslib.isType '"String", owner = _js2n__-prdslib.isType '"String", repository = _js2n__-prdslib.isType '"String", + tag = _js2n__-prdslib.isType '"String", token = _js2n__-prdslib.isType '"String", + typefilter = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + draft = + _js2n__-prdslib.isType + '"Bool", + latest = + _js2n__-prdslib.isType + '"Bool", + prerelease = + _js2n__-prdslib.isType + '"Bool", + release = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never + ], url = _js2n__-prdslib.isType '"String", username = _js2n__-prdslib.isType '"String", @@ -8192,7 +8269,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "golang/module" ], + kind = _js2n__-prdslib.enum [ "golang" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -8200,14 +8277,8 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required - [ "module" ], _js2n__-prdslib.records.record { - module = - _js2n__-prdslib.isType '"String", - proxy = - _js2n__-prdslib.isType '"String", version = _js2n__-prdslib.isType '"String", versionfilter = @@ -8338,7 +8409,7 @@ let rec _js2n__-refsenv ], disablesourceinput = _js2n__-prdslib.isType '"Bool", failwhen = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "temurin" ], + kind = _js2n__-prdslib.enum [ "golang/module" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -8346,26 +8417,34 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required + [ "module" ], _js2n__-prdslib.records.record { - architecture = - _js2n__-prdslib.isType '"String", - featureversion = - _js2n__-prdslib.isType 'Integer, - imagetype = - _js2n__-prdslib.isType '"String", - operatingsystem = - _js2n__-prdslib.isType '"String", - project = - _js2n__-prdslib.isType '"String", - releaseline = - _js2n__-prdslib.isType '"String", - releasetype = + module = _js2n__-prdslib.isType '"String", - result = + proxy = _js2n__-prdslib.isType '"String", - specificversion = + version = _js2n__-prdslib.isType '"String", + versionfilter = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.isType + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + strict = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never + ], } {} false _js2n__-prdslib.never ], transformers = @@ -8645,12 +8724,13 @@ let rec _js2n__-refsenv _js2n__-prdslib.records.record { disabled = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "git" ], + kind = _js2n__-prdslib.enum [ "gitea" ], spec = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required [ "url" ], + _js2n__-prdslib.records.required + [ "owner", "repository", "url" ], _js2n__-prdslib.records.record { branch = @@ -8703,10 +8783,14 @@ let rec _js2n__-refsenv } {} false _js2n__-prdslib.never ], - password = + owner = _js2n__-prdslib.isType '"String", - submodules = + repository = + _js2n__-prdslib.isType '"String", + submodules = _js2n__-prdslib.isType '"Bool", + token = + _js2n__-prdslib.isType '"String", url = _js2n__-prdslib.isType '"String", user = _js2n__-prdslib.isType '"String", username = @@ -8723,13 +8807,13 @@ let rec _js2n__-refsenv _js2n__-prdslib.records.record { disabled = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "gitea" ], + kind = _js2n__-prdslib.enum [ "github" ], spec = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.required - [ "owner", "repository", "url" ], + [ "owner", "repository", "token" ], _js2n__-prdslib.records.record { branch = @@ -8761,6 +8845,8 @@ let rec _js2n__-refsenv } {} false _js2n__-prdslib.never ], + commitusingapi = + _js2n__-prdslib.isType '"Bool", directory = _js2n__-prdslib.isType '"String", email = @@ -8806,13 +8892,13 @@ let rec _js2n__-refsenv _js2n__-prdslib.records.record { disabled = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "github" ], + kind = _js2n__-prdslib.enum [ "gitlab" ], spec = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.required - [ "owner", "repository", "token" ], + [ "owner", "repository" ], _js2n__-prdslib.records.record { branch = @@ -8844,8 +8930,6 @@ let rec _js2n__-refsenv } {} false _js2n__-prdslib.never ], - commitusingapi = - _js2n__-prdslib.isType '"Bool", directory = _js2n__-prdslib.isType '"String", email = @@ -8891,13 +8975,13 @@ let rec _js2n__-refsenv _js2n__-prdslib.records.record { disabled = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "gitlab" ], + kind = _js2n__-prdslib.enum [ "stash" ], spec = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.required - [ "owner", "repository" ], + [ "owner", "repository", "url" ], _js2n__-prdslib.records.record { branch = @@ -8952,6 +9036,8 @@ let rec _js2n__-refsenv ], owner = _js2n__-prdslib.isType '"String", + password = + _js2n__-prdslib.isType '"String", repository = _js2n__-prdslib.isType '"String", submodules = @@ -8974,13 +9060,12 @@ let rec _js2n__-refsenv _js2n__-prdslib.records.record { disabled = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "stash" ], + kind = _js2n__-prdslib.enum [ "git" ], spec = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required - [ "owner", "repository", "url" ], + _js2n__-prdslib.records.required [ "url" ], _js2n__-prdslib.records.record { branch = @@ -9033,16 +9118,10 @@ let rec _js2n__-refsenv } {} false _js2n__-prdslib.never ], - owner = - _js2n__-prdslib.isType '"String", password = _js2n__-prdslib.isType '"String", - repository = - _js2n__-prdslib.isType '"String", submodules = _js2n__-prdslib.isType '"Bool", - token = - _js2n__-prdslib.isType '"String", url = _js2n__-prdslib.isType '"String", user = _js2n__-prdslib.isType '"String", username = @@ -9092,27 +9171,35 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = - _js2n__-prdslib.enum [ "terraform/registry" ], + kind = _js2n__-prdslib.enum [ "gitlab/release" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required + [ "owner", "repository" ], _js2n__-prdslib.records.record { - hostname = + commitish = _js2n__-prdslib.isType '"String", - name = _js2n__-prdslib.isType '"String", - namespace = + description = _js2n__-prdslib.isType '"String", - rawstring = + draft = _js2n__-prdslib.isType '"Bool", + owner = _js2n__-prdslib.isType '"String", - targetsystem = + prerelease = + _js2n__-prdslib.isType '"Bool", + repository = _js2n__-prdslib.isType '"String", - type = _js2n__-prdslib.isType '"String", - version = + tag = _js2n__-prdslib.isType '"String", + title = + _js2n__-prdslib.isType '"String", + token = + _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", + username = _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf @@ -9240,7 +9327,8 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "xml" ], + kind = + _js2n__-prdslib.enum [ "terraform/registry" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = @@ -9249,10 +9337,36 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - file = _js2n__-prdslib.isType '"String", - path = _js2n__-prdslib.isType '"String", - value = + hostname = + _js2n__-prdslib.isType '"String", + name = _js2n__-prdslib.isType '"String", + namespace = + _js2n__-prdslib.isType '"String", + rawstring = _js2n__-prdslib.isType '"String", + targetsystem = + _js2n__-prdslib.isType '"String", + type = _js2n__-prdslib.isType '"String", + version = + _js2n__-prdslib.isType '"String", + versionfilter = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.isType + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + strict = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never + ], } {} false _js2n__-prdslib.never ], transformers = @@ -9361,7 +9475,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "csv" ], + kind = _js2n__-prdslib.enum [ "xml" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = @@ -9370,41 +9484,10 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - comma = _js2n__-prdslib.isType 'Integer, - comment = - _js2n__-prdslib.isType 'Integer, file = _js2n__-prdslib.isType '"String", - files = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") - ], - key = _js2n__-prdslib.isType '"String", - query = - _js2n__-prdslib.isType '"String", + path = _js2n__-prdslib.isType '"String", value = _js2n__-prdslib.isType '"String", - versionfilter = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.isType - '"String", - pattern = - _js2n__-prdslib.isType - '"String", - strict = - _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never - ], } {} false _js2n__-prdslib.never ], transformers = @@ -9513,7 +9596,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "dockerimage" ], + kind = _js2n__-prdslib.enum [ "file" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = @@ -9522,9 +9605,10 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - architecture = + content = _js2n__-prdslib.isType '"String", - architectures = + file = _js2n__-prdslib.isType '"String", + files = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType '"Array", @@ -9532,35 +9616,15 @@ let rec _js2n__-refsenv (_js2n__-prdslib.isType '"String") ], - image = - _js2n__-prdslib.isType '"String", - password = - _js2n__-prdslib.isType '"String", - tag = _js2n__-prdslib.isType '"String", - tagfilter = - _js2n__-prdslib.isType '"String", - token = + forcecreate = + _js2n__-prdslib.isType '"Bool", + line = _js2n__-prdslib.isType 'Integer, + matchpattern = _js2n__-prdslib.isType '"String", - username = + replacepattern = _js2n__-prdslib.isType '"String", - versionfilter = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.isType - '"String", - pattern = - _js2n__-prdslib.isType - '"String", - strict = - _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never - ], + searchpattern = + _js2n__-prdslib.isType '"Bool", } {} false _js2n__-prdslib.never ], transformers = @@ -9669,46 +9733,68 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "gitea/branch" ], + kind = _js2n__-prdslib.enum [ "http" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required - [ "owner", "repository", "url" ], _js2n__-prdslib.records.record { - branch = - _js2n__-prdslib.isType '"String", - owner = - _js2n__-prdslib.isType '"String", - repository = - _js2n__-prdslib.isType '"String", - token = - _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", - username = - _js2n__-prdslib.isType '"String", - versionfilter = + request = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - kind = + body = _js2n__-prdslib.isType '"String", - pattern = + headers = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + {} {} true + (_js2n__-prdslib.isType + '"String") + ], + nofollowredirects = + _js2n__-prdslib.isType + '"Bool", + verb = _js2n__-prdslib.isType '"String", - strict = + } {} false + _js2n__-prdslib.never + ], + responseasserts = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + headers = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + {} {} true + (_js2n__-prdslib.isType + '"String") + ], + statuscode = _js2n__-prdslib.isType - '"Bool", + 'Integer, } {} false _js2n__-prdslib.never ], + returnresponseheader = + _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -9817,7 +9903,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "gitlab/tag" ], + kind = _js2n__-prdslib.enum [ "stash/tag" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = @@ -9825,11 +9911,13 @@ let rec _js2n__-refsenv [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.required - [ "owner", "repository" ], + [ "owner", "repository", "url" ], _js2n__-prdslib.records.record { owner = _js2n__-prdslib.isType '"String", + password = + _js2n__-prdslib.isType '"String", repository = _js2n__-prdslib.isType '"String", tag = _js2n__-prdslib.isType '"String", @@ -10088,7 +10176,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "terraform/file" ], + kind = _js2n__-prdslib.enum [ "npm" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = @@ -10097,18 +10185,32 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - file = _js2n__-prdslib.isType '"String", - files = + name = _js2n__-prdslib.isType '"String", + npmrcpath = + _js2n__-prdslib.isType '"String", + registrytoken = + _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", + version = + _js2n__-prdslib.isType '"String", + versionfilter = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") - ], - path = _js2n__-prdslib.isType '"String", - value = - _js2n__-prdslib.isType '"String", + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.isType + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + strict = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never + ], } {} false _js2n__-prdslib.never ], transformers = @@ -10217,32 +10319,137 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "yaml" ], + kind = _js2n__-prdslib.enum [ "shell" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required + [ "command" ], _js2n__-prdslib.records.record { - engine = + changedif = + _js2n__-prdslib.oneOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.enum + [ + "console/output" + ], + spec = + _js2n__-prdslib.always, + } {} false + _js2n__-prdslib.never + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.enum + [ "exitcode" ], + spec = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.required + [ + "failure", + "success", + "warning" + ], + _js2n__-prdslib.records.record + { + failure = + _js2n__-prdslib.isType + 'Integer, + success = + _js2n__-prdslib.isType + 'Integer, + warning = + _js2n__-prdslib.isType + 'Integer, + } {} false + _js2n__-prdslib.never + ], + } {} false + _js2n__-prdslib.never + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.enum + [ + "file/checksum" + ], + spec = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.required + [ "files" ], + _js2n__-prdslib.records.record + { + files = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") + ], + } {} false + _js2n__-prdslib.never + ], + } {} false + _js2n__-prdslib.never + ] + ], + command = _js2n__-prdslib.isType '"String", - file = _js2n__-prdslib.isType '"String", - files = + environments = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType '"Array", _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.required + [ "name" ], + _js2n__-prdslib.records.record + { + name = + _js2n__-prdslib.isType + '"String", + value = + _js2n__-prdslib.isType + '"String", + } {} false + _js2n__-prdslib.never + ]) ], - key = _js2n__-prdslib.isType '"String", - keyonly = - _js2n__-prdslib.isType '"Bool", - searchpattern = - _js2n__-prdslib.isType '"Bool", - value = + shell = + _js2n__-prdslib.isType '"String", + workdir = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], @@ -10352,29 +10559,48 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "toolversions" ], + kind = _js2n__-prdslib.enum [ "stash/branch" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required + [ "owner", "repository", "url" ], _js2n__-prdslib.records.record { - createmissingkey = - _js2n__-prdslib.isType '"Bool", - file = _js2n__-prdslib.isType '"String", - files = + branch = + _js2n__-prdslib.isType '"String", + owner = + _js2n__-prdslib.isType '"String", + password = + _js2n__-prdslib.isType '"String", + repository = + _js2n__-prdslib.isType '"String", + token = + _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", + username = + _js2n__-prdslib.isType '"String", + versionfilter = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.isType + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + strict = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never ], - key = _js2n__-prdslib.isType '"String", - value = - _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -10632,7 +10858,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "gitea/tag" ], + kind = _js2n__-prdslib.enum [ "cargopackage" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = @@ -10640,18 +10866,46 @@ let rec _js2n__-refsenv [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.required - [ "owner", "repository", "url" ], + [ "package" ], _js2n__-prdslib.records.record { - owner = - _js2n__-prdslib.isType '"String", - repository = - _js2n__-prdslib.isType '"String", - tag = _js2n__-prdslib.isType '"String", - token = + package = _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", - username = + registry = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + auth = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + { + headerformat = + _js2n__-prdslib.isType + '"String", + token = + _js2n__-prdslib.isType + '"String", + } {} false + _js2n__-prdslib.never + ], + rootdir = + _js2n__-prdslib.isType + '"String", + scmid = + _js2n__-prdslib.isType + '"String", + url = + _js2n__-prdslib.isType + '"String", + } {} false + _js2n__-prdslib.never + ], + version = _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf @@ -10779,7 +11033,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "jenkins" ], + kind = _js2n__-prdslib.enum [ "toml" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = @@ -10788,11 +11042,41 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - release = + createmissingkey = + _js2n__-prdslib.isType '"Bool", + file = _js2n__-prdslib.isType '"String", + files = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") + ], + key = _js2n__-prdslib.isType '"String", + query = _js2n__-prdslib.isType '"String", - version = + value = _js2n__-prdslib.isType '"String", - } {} false _js2n__-prdslib.never + versionfilter = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.isType + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + strict = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never + ], + } {} false _js2n__-prdslib.never ], transformers = _js2n__-prdslib.allOf @@ -10900,7 +11184,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "npm" ], + kind = _js2n__-prdslib.enum [ "dockerimage" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = @@ -10909,13 +11193,26 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - name = _js2n__-prdslib.isType '"String", - npmrcpath = + architecture = _js2n__-prdslib.isType '"String", - registrytoken = + architectures = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") + ], + image = _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", - version = + password = + _js2n__-prdslib.isType '"String", + tag = _js2n__-prdslib.isType '"String", + tagfilter = + _js2n__-prdslib.isType '"String", + token = + _js2n__-prdslib.isType '"String", + username = _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf @@ -11043,7 +11340,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "stash/branch" ], + kind = _js2n__-prdslib.enum [ "gitea/branch" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = @@ -11058,8 +11355,6 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", owner = _js2n__-prdslib.isType '"String", - password = - _js2n__-prdslib.isType '"String", repository = _js2n__-prdslib.isType '"String", token = @@ -11193,8 +11488,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = - _js2n__-prdslib.enum [ "terraform/provider" ], + kind = _js2n__-prdslib.enum [ "jenkins" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = @@ -11203,18 +11497,9 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - file = _js2n__-prdslib.isType '"String", - files = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") - ], - provider = + release = _js2n__-prdslib.isType '"String", - value = + version = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], @@ -11324,7 +11609,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "dockerfile" ], + kind = _js2n__-prdslib.enum [ "terraform/file" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = @@ -11342,9 +11627,7 @@ let rec _js2n__-refsenv (_js2n__-prdslib.isType '"String") ], - instruction = _js2n__-prdslib.always, - stage = - _js2n__-prdslib.isType '"String", + path = _js2n__-prdslib.isType '"String", value = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never @@ -11455,7 +11738,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "file" ], + kind = _js2n__-prdslib.enum [ "golang" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = @@ -11464,26 +11747,26 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - content = + version = _js2n__-prdslib.isType '"String", - file = _js2n__-prdslib.isType '"String", - files = + versionfilter = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.isType + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + strict = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never ], - forcecreate = - _js2n__-prdslib.isType '"Bool", - line = _js2n__-prdslib.isType 'Integer, - matchpattern = - _js2n__-prdslib.isType '"String", - replacepattern = - _js2n__-prdslib.isType '"String", - searchpattern = - _js2n__-prdslib.isType '"Bool", } {} false _js2n__-prdslib.never ], transformers = @@ -11592,7 +11875,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "gitbranch" ], + kind = _js2n__-prdslib.enum [ "csv" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = @@ -11601,9 +11884,23 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - branch = + comma = _js2n__-prdslib.isType 'Integer, + comment = + _js2n__-prdslib.isType 'Integer, + file = _js2n__-prdslib.isType '"String", + files = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") + ], + key = _js2n__-prdslib.isType '"String", + query = + _js2n__-prdslib.isType '"String", + value = _js2n__-prdslib.isType '"String", - path = _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf [ @@ -11730,47 +12027,29 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "stash/tag" ], + kind = _js2n__-prdslib.enum [ "dockerfile" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required - [ "owner", "repository", "url" ], _js2n__-prdslib.records.record { - owner = - _js2n__-prdslib.isType '"String", - password = - _js2n__-prdslib.isType '"String", - repository = - _js2n__-prdslib.isType '"String", - tag = _js2n__-prdslib.isType '"String", - token = - _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", - username = - _js2n__-prdslib.isType '"String", - versionfilter = + file = _js2n__-prdslib.isType '"String", + files = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.isType - '"String", - pattern = - _js2n__-prdslib.isType - '"String", - strict = - _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") ], + instruction = _js2n__-prdslib.always, + stage = + _js2n__-prdslib.isType '"String", + value = + _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -11879,48 +12158,19 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "githubrelease" ], + kind = _js2n__-prdslib.enum [ "gittag" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required - [ "owner", "repository", "token" ], _js2n__-prdslib.records.record { - owner = - _js2n__-prdslib.isType '"String", - repository = - _js2n__-prdslib.isType '"String", - tag = _js2n__-prdslib.isType '"String", - token = - _js2n__-prdslib.isType '"String", - typefilter = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - draft = - _js2n__-prdslib.isType - '"Bool", - latest = - _js2n__-prdslib.isType - '"Bool", - prerelease = - _js2n__-prdslib.isType - '"Bool", - release = - _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never - ], - url = _js2n__-prdslib.isType '"String", - username = + key = _js2n__-prdslib.isType '"String", + message = _js2n__-prdslib.isType '"String", + path = _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf [ @@ -12047,7 +12297,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "shell" ], + kind = _js2n__-prdslib.enum [ "gitea/tag" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = @@ -12055,130 +12305,37 @@ let rec _js2n__-refsenv [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.required - [ "command" ], + [ "owner", "repository", "url" ], _js2n__-prdslib.records.record { - changedif = - _js2n__-prdslib.oneOf + owner = + _js2n__-prdslib.isType '"String", + repository = + _js2n__-prdslib.isType '"String", + tag = _js2n__-prdslib.isType '"String", + token = + _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", + username = + _js2n__-prdslib.isType '"String", + versionfilter = + _js2n__-prdslib.allOf [ - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.enum - [ - "console/output" - ], - spec = - _js2n__-prdslib.always, - } {} false - _js2n__-prdslib.never - ], - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.enum - [ "exitcode" ], - spec = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.required - [ - "failure", - "success", - "warning" - ], - _js2n__-prdslib.records.record - { - failure = - _js2n__-prdslib.isType - 'Integer, - success = - _js2n__-prdslib.isType - 'Integer, - warning = - _js2n__-prdslib.isType - 'Integer, - } {} false - _js2n__-prdslib.never - ], - } {} false - _js2n__-prdslib.never - ], - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.enum - [ - "file/checksum" - ], - spec = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.required - [ "files" ], - _js2n__-prdslib.records.record - { - files = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") - ], - } {} false - _js2n__-prdslib.never - ], - } {} false - _js2n__-prdslib.never - ] - ], - command = - _js2n__-prdslib.isType '"String", - environments = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.allOf - [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + kind = _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.required - [ "name" ], - _js2n__-prdslib.records.record - { - name = - _js2n__-prdslib.isType - '"String", - value = - _js2n__-prdslib.isType - '"String", - } {} false - _js2n__-prdslib.never - ]) + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + strict = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never ], - shell = - _js2n__-prdslib.isType '"String", - workdir = - _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -12287,7 +12444,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "cargopackage" ], + kind = _js2n__-prdslib.enum [ "gitlab/branch" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = @@ -12295,46 +12452,19 @@ let rec _js2n__-refsenv [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.required - [ "package" ], + [ "owner", "repository" ], _js2n__-prdslib.records.record { - package = + branch = _js2n__-prdslib.isType '"String", - registry = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - auth = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.record - { - headerformat = - _js2n__-prdslib.isType - '"String", - token = - _js2n__-prdslib.isType - '"String", - } {} false - _js2n__-prdslib.never - ], - rootdir = - _js2n__-prdslib.isType - '"String", - scmid = - _js2n__-prdslib.isType - '"String", - url = - _js2n__-prdslib.isType - '"String", - } {} false - _js2n__-prdslib.never - ], - version = + owner = + _js2n__-prdslib.isType '"String", + repository = + _js2n__-prdslib.isType '"String", + token = + _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", + username = _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf @@ -12462,30 +12592,45 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "dockerdigest" ], + kind = _js2n__-prdslib.enum [ "gitlab/tag" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required + [ "owner", "repository" ], _js2n__-prdslib.records.record { - architecture = - _js2n__-prdslib.isType '"String", - digest = - _js2n__-prdslib.isType '"String", - hidetag = - _js2n__-prdslib.isType '"Bool", - image = + owner = _js2n__-prdslib.isType '"String", - password = + repository = _js2n__-prdslib.isType '"String", tag = _js2n__-prdslib.isType '"String", token = _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", username = _js2n__-prdslib.isType '"String", + versionfilter = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.isType + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + strict = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never + ], } {} false _js2n__-prdslib.never ], transformers = @@ -12594,7 +12739,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "gitea/release" ], + kind = _js2n__-prdslib.enum [ "githubrelease" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = @@ -12602,25 +12747,37 @@ let rec _js2n__-refsenv [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.required - [ "owner", "repository", "url" ], + [ "owner", "repository", "token" ], _js2n__-prdslib.records.record { - commitish = - _js2n__-prdslib.isType '"String", - description = - _js2n__-prdslib.isType '"String", - draft = _js2n__-prdslib.isType '"Bool", owner = _js2n__-prdslib.isType '"String", - prerelease = - _js2n__-prdslib.isType '"Bool", repository = _js2n__-prdslib.isType '"String", tag = _js2n__-prdslib.isType '"String", - title = - _js2n__-prdslib.isType '"String", token = _js2n__-prdslib.isType '"String", + typefilter = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + draft = + _js2n__-prdslib.isType + '"Bool", + latest = + _js2n__-prdslib.isType + '"Bool", + prerelease = + _js2n__-prdslib.isType + '"Bool", + release = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never + ], url = _js2n__-prdslib.isType '"String", username = _js2n__-prdslib.isType '"String", @@ -12750,7 +12907,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "golang" ], + kind = _js2n__-prdslib.enum [ "json" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = @@ -12759,7 +12916,19 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - version = + file = _js2n__-prdslib.isType '"String", + files = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") + ], + key = _js2n__-prdslib.isType '"String", + query = + _js2n__-prdslib.isType '"String", + value = _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf @@ -12887,7 +13056,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "helmchart" ], + kind = _js2n__-prdslib.enum [ "terraform/lock" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = @@ -12896,43 +13065,28 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - appversion = - _js2n__-prdslib.isType '"Bool", file = _js2n__-prdslib.isType '"String", - key = _js2n__-prdslib.isType '"String", - name = _js2n__-prdslib.isType '"String", - password = + files = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") + ], + platforms = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") + ], + provider = _js2n__-prdslib.isType '"String", - skippackaging = + skipconstraints = _js2n__-prdslib.isType '"Bool", - token = - _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", - username = - _js2n__-prdslib.isType '"String", - value = - _js2n__-prdslib.isType '"String", - version = - _js2n__-prdslib.isType '"String", - versionfilter = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.isType - '"String", - pattern = - _js2n__-prdslib.isType - '"String", - strict = - _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never - ], - versionincrement = + value = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], @@ -13042,7 +13196,8 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "temurin" ], + kind = + _js2n__-prdslib.enum [ "terraform/provider" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = @@ -13051,23 +13206,18 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - architecture = - _js2n__-prdslib.isType '"String", - featureversion = - _js2n__-prdslib.isType 'Integer, - imagetype = - _js2n__-prdslib.isType '"String", - operatingsystem = - _js2n__-prdslib.isType '"String", - project = - _js2n__-prdslib.isType '"String", - releaseline = - _js2n__-prdslib.isType '"String", - releasetype = - _js2n__-prdslib.isType '"String", - result = + file = _js2n__-prdslib.isType '"String", + files = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") + ], + provider = _js2n__-prdslib.isType '"String", - specificversion = + value = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], @@ -13177,7 +13327,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "http" ], + kind = _js2n__-prdslib.enum [ "gitbranch" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = @@ -13186,59 +13336,27 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - request = + branch = + _js2n__-prdslib.isType '"String", + path = _js2n__-prdslib.isType '"String", + versionfilter = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - body = + kind = _js2n__-prdslib.isType '"String", - headers = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.record - {} {} true - (_js2n__-prdslib.isType - '"String") - ], - nofollowredirects = - _js2n__-prdslib.isType - '"Bool", - verb = + pattern = _js2n__-prdslib.isType '"String", - } {} false - _js2n__-prdslib.never - ], - responseasserts = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - headers = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.record - {} {} true - (_js2n__-prdslib.isType - '"String") - ], - statuscode = + strict = _js2n__-prdslib.isType - 'Integer, + '"Bool", } {} false _js2n__-prdslib.never ], - returnresponseheader = - _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -13347,38 +13465,54 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "terraform/lock" ], + kind = _js2n__-prdslib.enum [ "gitea/release" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required + [ "owner", "repository", "url" ], _js2n__-prdslib.records.record { - file = _js2n__-prdslib.isType '"String", - files = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") - ], - platforms = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") - ], - provider = + commitish = _js2n__-prdslib.isType '"String", - skipconstraints = + description = + _js2n__-prdslib.isType '"String", + draft = _js2n__-prdslib.isType '"Bool", + owner = + _js2n__-prdslib.isType '"String", + prerelease = _js2n__-prdslib.isType '"Bool", - value = + repository = + _js2n__-prdslib.isType '"String", + tag = _js2n__-prdslib.isType '"String", + title = + _js2n__-prdslib.isType '"String", + token = + _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", + username = _js2n__-prdslib.isType '"String", + versionfilter = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.isType + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + strict = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never + ], } {} false _js2n__-prdslib.never ], transformers = @@ -13639,7 +13773,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "toml" ], + kind = _js2n__-prdslib.enum [ "temurin" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = @@ -13648,40 +13782,24 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - createmissingkey = - _js2n__-prdslib.isType '"Bool", - file = _js2n__-prdslib.isType '"String", - files = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") - ], - key = _js2n__-prdslib.isType '"String", - query = + architecture = _js2n__-prdslib.isType '"String", - value = + featureversion = + _js2n__-prdslib.isType 'Integer, + imagetype = + _js2n__-prdslib.isType '"String", + operatingsystem = + _js2n__-prdslib.isType '"String", + project = + _js2n__-prdslib.isType '"String", + releaseline = + _js2n__-prdslib.isType '"String", + releasetype = + _js2n__-prdslib.isType '"String", + result = + _js2n__-prdslib.isType '"String", + specificversion = _js2n__-prdslib.isType '"String", - versionfilter = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.isType - '"String", - pattern = - _js2n__-prdslib.isType - '"String", - strict = - _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never - ], } {} false _js2n__-prdslib.never ], transformers = @@ -13790,7 +13908,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "gittag" ], + kind = _js2n__-prdslib.enum [ "toolversions" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = @@ -13799,28 +13917,20 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - key = _js2n__-prdslib.isType '"String", - message = - _js2n__-prdslib.isType '"String", - path = _js2n__-prdslib.isType '"String", - versionfilter = + createmissingkey = + _js2n__-prdslib.isType '"Bool", + file = _js2n__-prdslib.isType '"String", + files = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.isType - '"String", - pattern = - _js2n__-prdslib.isType - '"String", - strict = - _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") ], + key = _js2n__-prdslib.isType '"String", + value = + _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -13929,46 +14039,33 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "gitlab/branch" ], + kind = _js2n__-prdslib.enum [ "yaml" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required - [ "owner", "repository" ], _js2n__-prdslib.records.record { - branch = - _js2n__-prdslib.isType '"String", - owner = - _js2n__-prdslib.isType '"String", - repository = + engine = _js2n__-prdslib.isType '"String", - token = - _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", - username = - _js2n__-prdslib.isType '"String", - versionfilter = + file = _js2n__-prdslib.isType '"String", + files = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.isType - '"String", - pattern = - _js2n__-prdslib.isType - '"String", - strict = - _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") ], + key = _js2n__-prdslib.isType '"String", + keyonly = + _js2n__-prdslib.isType '"Bool", + searchpattern = + _js2n__-prdslib.isType '"Bool", + value = + _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -14077,54 +14174,30 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "gitlab/release" ], + kind = _js2n__-prdslib.enum [ "dockerdigest" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required - [ "owner", "repository" ], _js2n__-prdslib.records.record { - commitish = - _js2n__-prdslib.isType '"String", - description = + architecture = _js2n__-prdslib.isType '"String", - draft = _js2n__-prdslib.isType '"Bool", - owner = + digest = _js2n__-prdslib.isType '"String", - prerelease = + hidetag = _js2n__-prdslib.isType '"Bool", - repository = + image = _js2n__-prdslib.isType '"String", - tag = _js2n__-prdslib.isType '"String", - title = + password = _js2n__-prdslib.isType '"String", + tag = _js2n__-prdslib.isType '"String", token = _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", username = _js2n__-prdslib.isType '"String", - versionfilter = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.isType - '"String", - pattern = - _js2n__-prdslib.isType - '"String", - strict = - _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never - ], } {} false _js2n__-prdslib.never ], transformers = @@ -14505,7 +14578,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], - kind = _js2n__-prdslib.enum [ "json" ], + kind = _js2n__-prdslib.enum [ "helmchart" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", spec = @@ -14514,20 +14587,24 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { + appversion = + _js2n__-prdslib.isType '"Bool", file = _js2n__-prdslib.isType '"String", - files = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") - ], key = _js2n__-prdslib.isType '"String", - query = + name = _js2n__-prdslib.isType '"String", + password = + _js2n__-prdslib.isType '"String", + skippackaging = + _js2n__-prdslib.isType '"Bool", + token = + _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", + username = _js2n__-prdslib.isType '"String", value = _js2n__-prdslib.isType '"String", + version = + _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf [ @@ -14546,6 +14623,8 @@ let rec _js2n__-refsenv } {} false _js2n__-prdslib.never ], + versionincrement = + _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -14690,7 +14769,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "aws/ami" ], + kind = _js2n__-prdslib.enum [ "csv" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -14700,38 +14779,41 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - accesskey = - _js2n__-prdslib.isType '"String", - dryrun = _js2n__-prdslib.isType '"Bool", - endpoint = - _js2n__-prdslib.isType '"String", - filters = + comma = _js2n__-prdslib.isType 'Integer, + comment = + _js2n__-prdslib.isType 'Integer, + file = _js2n__-prdslib.isType '"String", + files = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType '"Array", _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.record - { - name = - _js2n__-prdslib.isType - '"String", - values = - _js2n__-prdslib.isType - '"String", - } {} false - _js2n__-prdslib.never - ]) + (_js2n__-prdslib.isType + '"String") ], - region = - _js2n__-prdslib.isType '"String", - secretkey = + key = _js2n__-prdslib.isType '"String", + query = _js2n__-prdslib.isType '"String", - sortby = + value = _js2n__-prdslib.isType '"String", + versionfilter = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.isType + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + strict = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never + ], } {} false _js2n__-prdslib.never ], transformers = @@ -14850,7 +14932,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "file" ], + kind = _js2n__-prdslib.enum [ "gittag" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -14860,26 +14942,28 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - content = + key = _js2n__-prdslib.isType '"String", + message = _js2n__-prdslib.isType '"String", - file = _js2n__-prdslib.isType '"String", - files = + path = _js2n__-prdslib.isType '"String", + versionfilter = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.isType + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + strict = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never ], - forcecreate = - _js2n__-prdslib.isType '"Bool", - line = _js2n__-prdslib.isType 'Integer, - matchpattern = - _js2n__-prdslib.isType '"String", - replacepattern = - _js2n__-prdslib.isType '"String", - searchpattern = - _js2n__-prdslib.isType '"Bool", } {} false _js2n__-prdslib.never ], transformers = @@ -14998,7 +15082,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "gitea/release" ], + kind = _js2n__-prdslib.enum [ "maven" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -15006,28 +15090,24 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required - [ "owner", "repository", "url" ], _js2n__-prdslib.records.record { - commitish = - _js2n__-prdslib.isType '"String", - description = + artifactid = _js2n__-prdslib.isType '"String", - draft = _js2n__-prdslib.isType '"Bool", - owner = + groupid = _js2n__-prdslib.isType '"String", - prerelease = - _js2n__-prdslib.isType '"Bool", + repositories = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") + ], repository = _js2n__-prdslib.isType '"String", - tag = _js2n__-prdslib.isType '"String", - title = - _js2n__-prdslib.isType '"String", - token = - _js2n__-prdslib.isType '"String", url = _js2n__-prdslib.isType '"String", - username = + version = _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf @@ -15165,7 +15245,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "stash/tag" ], + kind = _js2n__-prdslib.enum [ "toml" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -15173,21 +15253,23 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required - [ "owner", "repository", "url" ], _js2n__-prdslib.records.record { - owner = - _js2n__-prdslib.isType '"String", - password = - _js2n__-prdslib.isType '"String", - repository = - _js2n__-prdslib.isType '"String", - tag = _js2n__-prdslib.isType '"String", - token = + createmissingkey = + _js2n__-prdslib.isType '"Bool", + file = _js2n__-prdslib.isType '"String", + files = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") + ], + key = _js2n__-prdslib.isType '"String", + query = _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", - username = + value = _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf @@ -15325,7 +15407,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "shell" ], + kind = _js2n__-prdslib.enum [ "aws/ami" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -15333,106 +15415,15 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required - [ "command" ], _js2n__-prdslib.records.record { - changedif = - _js2n__-prdslib.oneOf - [ - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.enum - [ - "console/output" - ], - spec = - _js2n__-prdslib.always, - } {} false - _js2n__-prdslib.never - ], - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.enum - [ "exitcode" ], - spec = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.required - [ - "failure", - "success", - "warning" - ], - _js2n__-prdslib.records.record - { - failure = - _js2n__-prdslib.isType - 'Integer, - success = - _js2n__-prdslib.isType - 'Integer, - warning = - _js2n__-prdslib.isType - 'Integer, - } {} false - _js2n__-prdslib.never - ], - } {} false - _js2n__-prdslib.never - ], - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.enum - [ - "file/checksum" - ], - spec = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.required - [ "files" ], - _js2n__-prdslib.records.record - { - files = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") - ], - } {} false - _js2n__-prdslib.never - ], - } {} false - _js2n__-prdslib.never - ] - ], - command = - _js2n__-prdslib.isType '"String", - environments = - _js2n__-prdslib.allOf + accesskey = + _js2n__-prdslib.isType '"String", + dryrun = _js2n__-prdslib.isType '"Bool", + endpoint = + _js2n__-prdslib.isType '"String", + filters = + _js2n__-prdslib.allOf [ _js2n__-prdslib.isType '"Array", _js2n__-prdslib.arrays.arrayOf @@ -15440,23 +15431,23 @@ let rec _js2n__-refsenv [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required - [ "name" ], _js2n__-prdslib.records.record { name = _js2n__-prdslib.isType '"String", - value = + values = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ]) ], - shell = + region = _js2n__-prdslib.isType '"String", - workdir = + secretkey = + _js2n__-prdslib.isType '"String", + sortby = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], @@ -15576,7 +15567,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "terraform/lock" ], + kind = _js2n__-prdslib.enum [ "gitea/branch" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -15584,31 +15575,39 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required + [ "owner", "repository", "url" ], _js2n__-prdslib.records.record { - file = _js2n__-prdslib.isType '"String", - files = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") - ], - platforms = + branch = + _js2n__-prdslib.isType '"String", + owner = + _js2n__-prdslib.isType '"String", + repository = + _js2n__-prdslib.isType '"String", + token = + _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", + username = + _js2n__-prdslib.isType '"String", + versionfilter = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.isType + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + strict = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never ], - provider = - _js2n__-prdslib.isType '"String", - skipconstraints = - _js2n__-prdslib.isType '"Bool", - value = - _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -15727,7 +15726,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "dockerdigest" ], + kind = _js2n__-prdslib.enum [ "json" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -15737,21 +15736,38 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - architecture = - _js2n__-prdslib.isType '"String", - digest = - _js2n__-prdslib.isType '"String", - hidetag = - _js2n__-prdslib.isType '"Bool", - image = - _js2n__-prdslib.isType '"String", - password = - _js2n__-prdslib.isType '"String", - tag = _js2n__-prdslib.isType '"String", - token = + file = _js2n__-prdslib.isType '"String", + files = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") + ], + key = _js2n__-prdslib.isType '"String", + query = _js2n__-prdslib.isType '"String", - username = + value = _js2n__-prdslib.isType '"String", + versionfilter = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.isType + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + strict = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never + ], } {} false _js2n__-prdslib.never ], transformers = @@ -15870,7 +15886,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "gitea/branch" ], + kind = _js2n__-prdslib.enum [ "stash/branch" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -15886,6 +15902,8 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", owner = _js2n__-prdslib.isType '"String", + password = + _js2n__-prdslib.isType '"String", repository = _js2n__-prdslib.isType '"String", token = @@ -16029,7 +16047,8 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "gitlab/branch" ], + kind = + _js2n__-prdslib.enum [ "terraform/registry" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -16037,20 +16056,19 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required - [ "owner", "repository" ], _js2n__-prdslib.records.record { - branch = + hostname = _js2n__-prdslib.isType '"String", - owner = + name = _js2n__-prdslib.isType '"String", + namespace = _js2n__-prdslib.isType '"String", - repository = + rawstring = _js2n__-prdslib.isType '"String", - token = + targetsystem = _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", - username = + type = _js2n__-prdslib.isType '"String", + version = _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf @@ -16188,7 +16206,8 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "golang" ], + kind = + _js2n__-prdslib.enum [ "terraform/provider" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -16198,26 +16217,19 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - version = - _js2n__-prdslib.isType '"String", - versionfilter = + file = _js2n__-prdslib.isType '"String", + files = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.isType - '"String", - pattern = - _js2n__-prdslib.isType - '"String", - strict = - _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") ], + provider = + _js2n__-prdslib.isType '"String", + value = + _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -16336,7 +16348,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "gittag" ], + kind = _js2n__-prdslib.enum [ "file" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -16346,28 +16358,26 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - key = _js2n__-prdslib.isType '"String", - message = + content = _js2n__-prdslib.isType '"String", - path = _js2n__-prdslib.isType '"String", - versionfilter = + file = _js2n__-prdslib.isType '"String", + files = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.isType - '"String", - pattern = - _js2n__-prdslib.isType - '"String", - strict = - _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") ], + forcecreate = + _js2n__-prdslib.isType '"Bool", + line = _js2n__-prdslib.isType 'Integer, + matchpattern = + _js2n__-prdslib.isType '"String", + replacepattern = + _js2n__-prdslib.isType '"String", + searchpattern = + _js2n__-prdslib.isType '"Bool", } {} false _js2n__-prdslib.never ], transformers = @@ -16635,7 +16645,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "githubrelease" ], + kind = _js2n__-prdslib.enum [ "gitlab/tag" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -16644,7 +16654,7 @@ let rec _js2n__-refsenv [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.required - [ "owner", "repository", "token" ], + [ "owner", "repository" ], _js2n__-prdslib.records.record { owner = @@ -16654,27 +16664,6 @@ let rec _js2n__-refsenv tag = _js2n__-prdslib.isType '"String", token = _js2n__-prdslib.isType '"String", - typefilter = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - draft = - _js2n__-prdslib.isType - '"Bool", - latest = - _js2n__-prdslib.isType - '"Bool", - prerelease = - _js2n__-prdslib.isType - '"Bool", - release = - _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never - ], url = _js2n__-prdslib.isType '"String", username = _js2n__-prdslib.isType '"String", @@ -16814,7 +16803,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "http" ], + kind = _js2n__-prdslib.enum [ "golang/gomod" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -16824,59 +16813,13 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - request = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - body = - _js2n__-prdslib.isType - '"String", - headers = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.record - {} {} true - (_js2n__-prdslib.isType - '"String") - ], - nofollowredirects = - _js2n__-prdslib.isType - '"Bool", - verb = - _js2n__-prdslib.isType - '"String", - } {} false - _js2n__-prdslib.never - ], - responseasserts = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - headers = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.record - {} {} true - (_js2n__-prdslib.isType - '"String") - ], - statuscode = - _js2n__-prdslib.isType - 'Integer, - } {} false - _js2n__-prdslib.never - ], - returnresponseheader = + file = _js2n__-prdslib.isType '"String", + indirect = + _js2n__-prdslib.isType '"Bool", + module = + _js2n__-prdslib.isType '"String", + version = _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -16995,7 +16938,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "cargopackage" ], + kind = _js2n__-prdslib.enum [ "terraform/file" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -17003,66 +16946,20 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required - [ "package" ], _js2n__-prdslib.records.record { - package = - _js2n__-prdslib.isType '"String", - registry = + file = _js2n__-prdslib.isType '"String", + files = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - auth = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - 'Record, - _js2n__-prdslib.records.record - { - headerformat = - _js2n__-prdslib.isType - '"String", - token = - _js2n__-prdslib.isType - '"String", - } {} false - _js2n__-prdslib.never - ], - rootdir = - _js2n__-prdslib.isType - '"String", - scmid = - _js2n__-prdslib.isType - '"String", - url = - _js2n__-prdslib.isType - '"String", - } {} false - _js2n__-prdslib.never + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") ], - version = + path = _js2n__-prdslib.isType '"String", + value = _js2n__-prdslib.isType '"String", - versionfilter = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.isType - '"String", - pattern = - _js2n__-prdslib.isType - '"String", - strict = - _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never - ], } {} false _js2n__-prdslib.never ], transformers = @@ -17181,7 +17078,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "gitea/tag" ], + kind = _js2n__-prdslib.enum [ "hcl" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -17189,38 +17086,20 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required - [ "owner", "repository", "url" ], _js2n__-prdslib.records.record { - owner = - _js2n__-prdslib.isType '"String", - repository = - _js2n__-prdslib.isType '"String", - tag = _js2n__-prdslib.isType '"String", - token = - _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", - username = - _js2n__-prdslib.isType '"String", - versionfilter = + file = _js2n__-prdslib.isType '"String", + files = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.isType - '"String", - pattern = - _js2n__-prdslib.isType - '"String", - strict = - _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") ], + path = _js2n__-prdslib.isType '"String", + value = + _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -17339,7 +17218,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "hcl" ], + kind = _js2n__-prdslib.enum [ "jenkins" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -17349,17 +17228,9 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - file = _js2n__-prdslib.isType '"String", - files = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") - ], - path = _js2n__-prdslib.isType '"String", - value = + release = + _js2n__-prdslib.isType '"String", + version = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], @@ -17479,7 +17350,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "golang/module" ], + kind = _js2n__-prdslib.enum [ "npm" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -17487,14 +17358,14 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required - [ "module" ], _js2n__-prdslib.records.record { - module = + name = _js2n__-prdslib.isType '"String", + npmrcpath = _js2n__-prdslib.isType '"String", - proxy = + registrytoken = _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", version = _js2n__-prdslib.isType '"String", versionfilter = @@ -17633,7 +17504,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "helmchart" ], + kind = _js2n__-prdslib.enum [ "temurin" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -17643,43 +17514,23 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - appversion = - _js2n__-prdslib.isType '"Bool", - file = _js2n__-prdslib.isType '"String", - key = _js2n__-prdslib.isType '"String", - name = _js2n__-prdslib.isType '"String", - password = + architecture = _js2n__-prdslib.isType '"String", - skippackaging = - _js2n__-prdslib.isType '"Bool", - token = + featureversion = + _js2n__-prdslib.isType 'Integer, + imagetype = _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", - username = + operatingsystem = _js2n__-prdslib.isType '"String", - value = + project = _js2n__-prdslib.isType '"String", - version = + releaseline = _js2n__-prdslib.isType '"String", - versionfilter = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.isType - '"String", - pattern = - _js2n__-prdslib.isType - '"String", - strict = - _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never - ], - versionincrement = + releasetype = + _js2n__-prdslib.isType '"String", + result = + _js2n__-prdslib.isType '"String", + specificversion = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], @@ -17799,7 +17650,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "terraform/file" ], + kind = _js2n__-prdslib.enum [ "toolversions" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -17809,6 +17660,8 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { + createmissingkey = + _js2n__-prdslib.isType '"Bool", file = _js2n__-prdslib.isType '"String", files = _js2n__-prdslib.allOf @@ -17818,7 +17671,7 @@ let rec _js2n__-refsenv (_js2n__-prdslib.isType '"String") ], - path = _js2n__-prdslib.isType '"String", + key = _js2n__-prdslib.isType '"String", value = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never @@ -17939,7 +17792,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "toolversions" ], + kind = _js2n__-prdslib.enum [ "xml" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -17949,18 +17802,8 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - createmissingkey = - _js2n__-prdslib.isType '"Bool", file = _js2n__-prdslib.isType '"String", - files = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") - ], - key = _js2n__-prdslib.isType '"String", + path = _js2n__-prdslib.isType '"String", value = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never @@ -18081,7 +17924,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "maven" ], + kind = _js2n__-prdslib.enum [ "dockerfile" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -18091,11 +17934,8 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - artifactid = - _js2n__-prdslib.isType '"String", - groupid = - _js2n__-prdslib.isType '"String", - repositories = + file = _js2n__-prdslib.isType '"String", + files = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType '"Array", @@ -18103,29 +17943,11 @@ let rec _js2n__-refsenv (_js2n__-prdslib.isType '"String") ], - repository = + instruction = _js2n__-prdslib.always, + stage = _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", - version = + value = _js2n__-prdslib.isType '"String", - versionfilter = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.isType - '"String", - pattern = - _js2n__-prdslib.isType - '"String", - strict = - _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never - ], } {} false _js2n__-prdslib.never ], transformers = @@ -18244,7 +18066,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "toml" ], + kind = _js2n__-prdslib.enum [ "dockerimage" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -18254,10 +18076,9 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - createmissingkey = - _js2n__-prdslib.isType '"Bool", - file = _js2n__-prdslib.isType '"String", - files = + architecture = + _js2n__-prdslib.isType '"String", + architectures = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType '"Array", @@ -18265,10 +18086,16 @@ let rec _js2n__-refsenv (_js2n__-prdslib.isType '"String") ], - key = _js2n__-prdslib.isType '"String", - query = + image = _js2n__-prdslib.isType '"String", - value = + password = + _js2n__-prdslib.isType '"String", + tag = _js2n__-prdslib.isType '"String", + tagfilter = + _js2n__-prdslib.isType '"String", + token = + _js2n__-prdslib.isType '"String", + username = _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf @@ -18406,7 +18233,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "xml" ], + kind = _js2n__-prdslib.enum [ "githubrelease" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -18414,12 +18241,59 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required + [ "owner", "repository", "token" ], _js2n__-prdslib.records.record { - file = _js2n__-prdslib.isType '"String", - path = _js2n__-prdslib.isType '"String", - value = + owner = + _js2n__-prdslib.isType '"String", + repository = + _js2n__-prdslib.isType '"String", + tag = _js2n__-prdslib.isType '"String", + token = + _js2n__-prdslib.isType '"String", + typefilter = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + draft = + _js2n__-prdslib.isType + '"Bool", + latest = + _js2n__-prdslib.isType + '"Bool", + prerelease = + _js2n__-prdslib.isType + '"Bool", + release = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never + ], + url = _js2n__-prdslib.isType '"String", + username = _js2n__-prdslib.isType '"String", + versionfilter = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.isType + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + strict = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never + ], } {} false _js2n__-prdslib.never ], transformers = @@ -18538,7 +18412,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "csv" ], + kind = _js2n__-prdslib.enum [ "golang/module" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -18546,24 +18420,15 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required + [ "module" ], _js2n__-prdslib.records.record { - comma = _js2n__-prdslib.isType 'Integer, - comment = - _js2n__-prdslib.isType 'Integer, - file = _js2n__-prdslib.isType '"String", - files = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") - ], - key = _js2n__-prdslib.isType '"String", - query = + module = _js2n__-prdslib.isType '"String", - value = + proxy = + _js2n__-prdslib.isType '"String", + version = _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf @@ -18701,7 +18566,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "dockerimage" ], + kind = _js2n__-prdslib.enum [ "helmchart" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -18711,27 +18576,24 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - architecture = - _js2n__-prdslib.isType '"String", - architectures = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") - ], - image = - _js2n__-prdslib.isType '"String", + appversion = + _js2n__-prdslib.isType '"Bool", + file = _js2n__-prdslib.isType '"String", + key = _js2n__-prdslib.isType '"String", + name = _js2n__-prdslib.isType '"String", password = _js2n__-prdslib.isType '"String", - tag = _js2n__-prdslib.isType '"String", - tagfilter = - _js2n__-prdslib.isType '"String", + skippackaging = + _js2n__-prdslib.isType '"Bool", token = _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", username = _js2n__-prdslib.isType '"String", + value = + _js2n__-prdslib.isType '"String", + version = + _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf [ @@ -18750,6 +18612,8 @@ let rec _js2n__-refsenv } {} false _js2n__-prdslib.never ], + versionincrement = + _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -18868,7 +18732,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "gitlab/tag" ], + kind = _js2n__-prdslib.enum [ "cargopackage" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -18877,18 +18741,46 @@ let rec _js2n__-refsenv [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.required - [ "owner", "repository" ], + [ "package" ], _js2n__-prdslib.records.record { - owner = - _js2n__-prdslib.isType '"String", - repository = - _js2n__-prdslib.isType '"String", - tag = _js2n__-prdslib.isType '"String", - token = + package = _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", - username = + registry = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + auth = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + { + headerformat = + _js2n__-prdslib.isType + '"String", + token = + _js2n__-prdslib.isType + '"String", + } {} false + _js2n__-prdslib.never + ], + rootdir = + _js2n__-prdslib.isType + '"String", + scmid = + _js2n__-prdslib.isType + '"String", + url = + _js2n__-prdslib.isType + '"String", + } {} false + _js2n__-prdslib.never + ], + version = _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf @@ -19026,7 +18918,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "json" ], + kind = _js2n__-prdslib.enum [ "gitlab/branch" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -19034,21 +18926,20 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required + [ "owner", "repository" ], _js2n__-prdslib.records.record { - file = _js2n__-prdslib.isType '"String", - files = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") - ], - key = _js2n__-prdslib.isType '"String", - query = + branch = _js2n__-prdslib.isType '"String", - value = + owner = + _js2n__-prdslib.isType '"String", + repository = + _js2n__-prdslib.isType '"String", + token = + _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", + username = _js2n__-prdslib.isType '"String", versionfilter = _js2n__-prdslib.allOf @@ -19186,7 +19077,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "stash/branch" ], + kind = _js2n__-prdslib.enum [ "shell" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -19195,40 +19086,130 @@ let rec _js2n__-refsenv [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.required - [ "owner", "repository", "url" ], + [ "command" ], _js2n__-prdslib.records.record { - branch = - _js2n__-prdslib.isType '"String", - owner = - _js2n__-prdslib.isType '"String", - password = - _js2n__-prdslib.isType '"String", - repository = - _js2n__-prdslib.isType '"String", - token = - _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", - username = + changedif = + _js2n__-prdslib.oneOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.enum + [ + "console/output" + ], + spec = + _js2n__-prdslib.always, + } {} false + _js2n__-prdslib.never + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.enum + [ "exitcode" ], + spec = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.required + [ + "failure", + "success", + "warning" + ], + _js2n__-prdslib.records.record + { + failure = + _js2n__-prdslib.isType + 'Integer, + success = + _js2n__-prdslib.isType + 'Integer, + warning = + _js2n__-prdslib.isType + 'Integer, + } {} false + _js2n__-prdslib.never + ], + } {} false + _js2n__-prdslib.never + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.enum + [ + "file/checksum" + ], + spec = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.required + [ "files" ], + _js2n__-prdslib.records.record + { + files = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") + ], + } {} false + _js2n__-prdslib.never + ], + } {} false + _js2n__-prdslib.never + ] + ], + command = _js2n__-prdslib.isType '"String", - versionfilter = + environments = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.isType - '"String", - pattern = - _js2n__-prdslib.isType - '"String", - strict = + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.allOf + [ _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never + 'Record, + _js2n__-prdslib.records.required + [ "name" ], + _js2n__-prdslib.records.record + { + name = + _js2n__-prdslib.isType + '"String", + value = + _js2n__-prdslib.isType + '"String", + } {} false + _js2n__-prdslib.never + ]) ], + shell = + _js2n__-prdslib.isType '"String", + workdir = + _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -19347,8 +19328,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = - _js2n__-prdslib.enum [ "terraform/registry" ], + kind = _js2n__-prdslib.enum [ "terraform/lock" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -19358,36 +19338,29 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - hostname = - _js2n__-prdslib.isType '"String", - name = _js2n__-prdslib.isType '"String", - namespace = - _js2n__-prdslib.isType '"String", - rawstring = - _js2n__-prdslib.isType '"String", - targetsystem = - _js2n__-prdslib.isType '"String", - type = _js2n__-prdslib.isType '"String", - version = - _js2n__-prdslib.isType '"String", - versionfilter = + file = _js2n__-prdslib.isType '"String", + files = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - kind = - _js2n__-prdslib.isType - '"String", - pattern = - _js2n__-prdslib.isType - '"String", - strict = - _js2n__-prdslib.isType - '"Bool", - } {} false - _js2n__-prdslib.never + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") + ], + platforms = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") ], + provider = + _js2n__-prdslib.isType '"String", + skipconstraints = + _js2n__-prdslib.isType '"Bool", + value = + _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -19652,7 +19625,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "npm" ], + kind = _js2n__-prdslib.enum [ "http" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -19662,32 +19635,59 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - name = _js2n__-prdslib.isType '"String", - npmrcpath = - _js2n__-prdslib.isType '"String", - registrytoken = - _js2n__-prdslib.isType '"String", - url = _js2n__-prdslib.isType '"String", - version = - _js2n__-prdslib.isType '"String", - versionfilter = + request = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - kind = + body = _js2n__-prdslib.isType '"String", - pattern = + headers = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + {} {} true + (_js2n__-prdslib.isType + '"String") + ], + nofollowredirects = + _js2n__-prdslib.isType + '"Bool", + verb = _js2n__-prdslib.isType '"String", - strict = + } {} false + _js2n__-prdslib.never + ], + responseasserts = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + headers = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Record, + _js2n__-prdslib.records.record + {} {} true + (_js2n__-prdslib.isType + '"String") + ], + statuscode = _js2n__-prdslib.isType - '"Bool", + 'Integer, } {} false _js2n__-prdslib.never ], + returnresponseheader = + _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -19806,7 +19806,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "temurin" ], + kind = _js2n__-prdslib.enum [ "stash/tag" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -19814,26 +19814,40 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required + [ "owner", "repository", "url" ], _js2n__-prdslib.records.record { - architecture = - _js2n__-prdslib.isType '"String", - featureversion = - _js2n__-prdslib.isType 'Integer, - imagetype = - _js2n__-prdslib.isType '"String", - operatingsystem = - _js2n__-prdslib.isType '"String", - project = + owner = _js2n__-prdslib.isType '"String", - releaseline = + password = _js2n__-prdslib.isType '"String", - releasetype = + repository = _js2n__-prdslib.isType '"String", - result = + tag = _js2n__-prdslib.isType '"String", + token = _js2n__-prdslib.isType '"String", - specificversion = + url = _js2n__-prdslib.isType '"String", + username = _js2n__-prdslib.isType '"String", + versionfilter = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.isType + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + strict = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never + ], } {} false _js2n__-prdslib.never ], transformers = @@ -19952,8 +19966,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = - _js2n__-prdslib.enum [ "terraform/provider" ], + kind = _js2n__-prdslib.enum [ "dockerdigest" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -19963,18 +19976,20 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - file = _js2n__-prdslib.isType '"String", - files = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") - ], - provider = + architecture = _js2n__-prdslib.isType '"String", - value = + digest = + _js2n__-prdslib.isType '"String", + hidetag = + _js2n__-prdslib.isType '"Bool", + image = + _js2n__-prdslib.isType '"String", + password = + _js2n__-prdslib.isType '"String", + tag = _js2n__-prdslib.isType '"String", + token = + _js2n__-prdslib.isType '"String", + username = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], @@ -20094,7 +20109,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "dockerfile" ], + kind = _js2n__-prdslib.enum [ "gitea/release" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -20102,22 +20117,47 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required + [ "owner", "repository", "url" ], _js2n__-prdslib.records.record { - file = _js2n__-prdslib.isType '"String", - files = + commitish = + _js2n__-prdslib.isType '"String", + description = + _js2n__-prdslib.isType '"String", + draft = _js2n__-prdslib.isType '"Bool", + owner = + _js2n__-prdslib.isType '"String", + prerelease = + _js2n__-prdslib.isType '"Bool", + repository = + _js2n__-prdslib.isType '"String", + tag = _js2n__-prdslib.isType '"String", + title = + _js2n__-prdslib.isType '"String", + token = + _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", + username = + _js2n__-prdslib.isType '"String", + versionfilter = _js2n__-prdslib.allOf [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.isType - '"String") + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.isType + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + strict = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never ], - instruction = _js2n__-prdslib.always, - stage = - _js2n__-prdslib.isType '"String", - value = - _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], transformers = @@ -20236,7 +20276,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "gitlab/release" ], + kind = _js2n__-prdslib.enum [ "gitea/tag" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -20245,23 +20285,14 @@ let rec _js2n__-refsenv [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.required - [ "owner", "repository" ], + [ "owner", "repository", "url" ], _js2n__-prdslib.records.record { - commitish = - _js2n__-prdslib.isType '"String", - description = - _js2n__-prdslib.isType '"String", - draft = _js2n__-prdslib.isType '"Bool", owner = _js2n__-prdslib.isType '"String", - prerelease = - _js2n__-prdslib.isType '"Bool", repository = _js2n__-prdslib.isType '"String", tag = _js2n__-prdslib.isType '"String", - title = - _js2n__-prdslib.isType '"String", token = _js2n__-prdslib.isType '"String", url = _js2n__-prdslib.isType '"String", @@ -20403,7 +20434,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "golang/gomod" ], + kind = _js2n__-prdslib.enum [ "gitlab/release" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -20411,15 +20442,47 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required + [ "owner", "repository" ], _js2n__-prdslib.records.record { - file = _js2n__-prdslib.isType '"String", - indirect = + commitish = + _js2n__-prdslib.isType '"String", + description = + _js2n__-prdslib.isType '"String", + draft = _js2n__-prdslib.isType '"Bool", + owner = + _js2n__-prdslib.isType '"String", + prerelease = _js2n__-prdslib.isType '"Bool", - module = + repository = _js2n__-prdslib.isType '"String", - version = + tag = _js2n__-prdslib.isType '"String", + title = + _js2n__-prdslib.isType '"String", + token = + _js2n__-prdslib.isType '"String", + url = _js2n__-prdslib.isType '"String", + username = _js2n__-prdslib.isType '"String", + versionfilter = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.isType + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + strict = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never + ], } {} false _js2n__-prdslib.never ], transformers = @@ -20538,7 +20601,7 @@ let rec _js2n__-refsenv dependsonchange = _js2n__-prdslib.isType '"Bool", disableconditions = _js2n__-prdslib.isType '"Bool", disablesourceinput = _js2n__-prdslib.isType '"Bool", - kind = _js2n__-prdslib.enum [ "jenkins" ], + kind = _js2n__-prdslib.enum [ "golang" ], name = _js2n__-prdslib.isType '"String", scmid = _js2n__-prdslib.isType '"String", sourceid = _js2n__-prdslib.isType '"String", @@ -20548,10 +20611,26 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { - release = - _js2n__-prdslib.isType '"String", version = _js2n__-prdslib.isType '"String", + versionfilter = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + kind = + _js2n__-prdslib.isType + '"String", + pattern = + _js2n__-prdslib.isType + '"String", + strict = + _js2n__-prdslib.isType + '"Bool", + } {} false + _js2n__-prdslib.never + ], } {} false _js2n__-prdslib.never ], transformers = diff --git a/out/beef-entity-v5-codegen.ncl b/out/beef-entity-v5-codegen.ncl index 699850c..8714c44 100644 --- a/out/beef-entity-v5-codegen.ncl +++ b/out/beef-entity-v5-codegen.ncl @@ -904,6 +904,10 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { + authActionCreate = _js2n__-prdslib.isType '"String", + authActionDelete = _js2n__-prdslib.isType '"String", + authActionRead = _js2n__-prdslib.isType '"String", + authActionUpdate = _js2n__-prdslib.isType '"String", autoImplement = _js2n__-prdslib.allOf [ @@ -1101,6 +1105,8 @@ let rec _js2n__-refsenv { abstract = _js2n__-prdslib.isType '"Bool", argumentName = _js2n__-prdslib.isType '"String", + authEntity = _js2n__-prdslib.isType '"String", + authPermission = _js2n__-prdslib.isType '"String", authRole = _js2n__-prdslib.isType '"String", autoImplement = _js2n__-prdslib.allOf @@ -1361,6 +1367,8 @@ let rec _js2n__-refsenv _js2n__-prdslib.records.required [ "name" ], _js2n__-prdslib.records.record { + authAction = _js2n__-prdslib.isType '"String", + authEntity = _js2n__-prdslib.isType '"String", authPermission = _js2n__-prdslib.isType '"String", authRole = _js2n__-prdslib.isType '"String", autoImplement = diff --git a/out/bunfig.toml.ncl b/out/bunfig.toml.ncl index 1c0357e..800c69c 100644 --- a/out/bunfig.toml.ncl +++ b/out/bunfig.toml.ncl @@ -916,6 +916,13 @@ let rec _js2n__-refsenv https://bun.sh/docs/runtime/bunfig#install-auto "% | optional, + ca + | String + | doc m%" + The CA certificate as a string + https://bun.sh/docs/runtime/bunfig#install-ca-and-install-cafile + "% + | optional, cache | { dir @@ -947,6 +954,13 @@ let rec _js2n__-refsenv https://bun.sh/docs/runtime/bunfig#install-cache "% | optional, + cafile + | String + | doc m%" + A path to a CA certificate file. The file can contain multiple certificates. + https://bun.sh/docs/runtime/bunfig#install-ca-and-install-cafile + "% + | optional, dev | Bool | doc m%" diff --git a/out/conda-forge.ncl b/out/conda-forge.ncl index 93a8023..ee98819 100644 --- a/out/conda-forge.ncl +++ b/out/conda-forge.ncl @@ -937,14 +937,14 @@ let rec _js2n__-refsenv ```yaml azure: settings_linux: - pool: - name: your_local_pool_name - demands: - - some_key -equals some_value - workspace: - clean: all - strategy: - maxParallel: 1 + pool: + name: your_local_pool_name + demands: + - some_key -equals some_value + workspace: + clean: all + strategy: + maxParallel: 1 ``` Below is an example configuration for adding a swapfile on an Azure agent for Linux: @@ -954,6 +954,16 @@ let rec _js2n__-refsenv settings_linux: swapfile_size: 10GiB ``` + + If you need more space on Windows, you can use `C:` at the cost of IO performance: + + ```yaml + azure: + settings_win: + variables: + CONDA_BLD_PATH: "C:\bld" + MINIFORGE_HOME: "C:\Miniforge" + ``` "% | optional, bot @@ -1164,13 +1174,17 @@ let rec _js2n__-refsenv _js2n__-prdslib.allOf [ _js2n__-prdslib.isType '"String", - _js2n__-prdslib.enum [ "conda", "mamba" ] + _js2n__-prdslib.enum [ "conda", "mamba", "micromamba" ] ], _js2n__-prdslib.isType 'Null ]) | doc m%" Use this option to choose which tool is used to provision the tooling in your - feedstock. + feedstock. Defaults to micromamba. + + If conda or mamba are chosen, the latest Miniforge will be used to + provision the base environment. If micromamba is chosen, Miniforge + is not involved; the environment is created directly by micromamba. "% | optional, conda_solver diff --git a/out/dstack configuration.ncl b/out/dstack configuration.ncl index 4cf44da..b9828e0 100644 --- a/out/dstack configuration.ncl +++ b/out/dstack configuration.ncl @@ -1040,6 +1040,7 @@ let rec _js2n__-refsenv _js2n__-refsenv."_js2n__-:definitions/PortMappingRequest!predicate" ]) ], + privileged = _js2n__-prdslib.isType '"Bool", python = _js2n__-refsenv."_js2n__-:definitions/PythonVersion!predicate", regions = @@ -1760,6 +1761,7 @@ let rec _js2n__-refsenv ], _js2n__-refsenv."_js2n__-:definitions/PortMappingRequest!predicate" ], + privileged = _js2n__-prdslib.isType '"Bool", python = _js2n__-refsenv."_js2n__-:definitions/PythonVersion!predicate", regions = @@ -1955,6 +1957,7 @@ let rec _js2n__-refsenv _js2n__-refsenv."_js2n__-:definitions/PortMappingRequest!predicate" ]) ], + privileged = _js2n__-prdslib.isType '"Bool", python = _js2n__-refsenv."_js2n__-:definitions/PythonVersion!predicate", regions = diff --git a/out/mirrord config.ncl b/out/mirrord config.ncl index 09747bb..07c8cc2 100644 --- a/out/mirrord config.ncl +++ b/out/mirrord config.ncl @@ -1106,6 +1106,17 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"Bool", _js2n__-prdslib.isType 'Null ], + node_selector = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.isType 'Null + ], + _js2n__-prdslib.records.record {} {} true + (_js2n__-prdslib.isType '"String") + ], privileged = _js2n__-prdslib.anyOf [ @@ -1454,6 +1465,12 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"Bool", _js2n__-prdslib.isType 'Null ], + hide_ipv6_interfaces = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"Bool", + _js2n__-prdslib.isType 'Null + ], readlink = _js2n__-prdslib.anyOf [ @@ -2504,7 +2521,7 @@ let rec _js2n__-refsenv | doc m%" Controls whether or not mirrord accepts invalid TLS certificates (e.g. self-signed certificates). - Defaults to `false`. + If not provided, mirrord will use value from the kubeconfig. "% | optional, agent diff --git a/out/openapi.json.ncl b/out/openapi.json.ncl index 02aa823..19765bd 100644 --- a/out/openapi.json.ncl +++ b/out/openapi.json.ncl @@ -1,967 +1 @@ -# DO NOT EDIT -# This file was automatically generated using json-schema-to-nickel -let _js2n__-prdslib - = { - allOf - : Array (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] - | doc m%" - `allOf preds` succeeds if all of the predicates in `preds` succeed - Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.7.1] - "% - = fun - preds - x - => - std.array.fold_right - (fun pred acc => (match { 'Ok => acc, 'Err s => 'Err s, }) (pred x)) - 'Ok preds, - always : Dyn -> [| 'Ok, 'Err String |] = std.function.const 'Ok, - anyOf - : Array (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] - | doc m%" - `anyOf preds` succeeds if at least one of the predicates in `preds` succeeds - Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.7.2] - "% - = fun - preds - x - => - (match { - 'Ok => - 'Ok, - 'Errs - msgs => - 'Err - m%" - anyOf: none of the options matched - %{std.string.join - m%" - - - "% msgs} - "%, - }) - (std.array.fold_right - (fun - pred - acc - => - (match { - 'Ok => - 'Ok, - 'Errs - msgs => - (match { - 'Ok => - 'Ok, - 'Err - msg => - 'Errs ([ " - %{msg}" ] @ msgs), - }) (pred x), - }) acc) ('Errs [ ]) preds), - arrays = - { - additionalItems - : (Dyn -> [| 'Ok, 'Err String |]) - -> Number -> Dyn -> [| 'Ok, 'Err String |] - | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.2]" - = fun - pred - start - x - => - if !(std.is_array x) then - 'Ok - else - let x - | Array Dyn - = x - in - let value_length - = std.array.length x - in - if start >= value_length then - 'Ok - else - arrayOf pred - ((std.array.slice start value_length x) - | Dyn), - arrayOf - : (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] - | doc m%" - Apply a predicate to all elements of an array, succeeding if all - applications succeed. - "% - = fun - pred - x - => - if !(std.is_array x) then - 'Ok - else - let x - | Array Dyn - = x - in - std.array.fold_right - (fun - x - acc - => - (match { 'Ok => acc, 'Err msg => 'Err msg, }) (pred x)) - 'Ok x, - contains - : (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] - | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.6]" - = fun - pred - x - => - if !(std.is_array x) then - 'Ok - else - let x - | Array Dyn - = x - in - (match { - 'Ok => - 'Ok, - 'Errs - msgs => - 'Err - m%" - contains: no elements matched - %{std.string.join - m%" - - - "% msgs} - "%, - }) - (std.array.fold_right - (fun - x - acc - => - (match { - 'Ok => - 'Ok, - 'Errs - msgs => - (match { - 'Ok => - 'Ok, - 'Err - msg => - 'Errs ([ " - %{msg}" ] @ msgs), - }) (pred x), - }) acc) ('Errs [ ]) x), - items - : Array (Dyn -> [| 'Ok, 'Err String |]) - -> Dyn -> [| 'Ok, 'Err String |] - | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.1]" - = fun - preds - x - => - if !(std.is_array x) then - 'Ok - else - let x - | Array Dyn - = x - in - let length_to_check - = std.number.min (std.array.length preds) - (std.array.length x) - in - std.array.fold_right - (fun - i - acc - => - (match { 'Err msg => 'Err msg, 'Ok => acc, }) - (std.array.at i preds (std.array.at i x))) 'Ok - (std.array.range 0 length_to_check), - maxItems - : Number -> Dyn -> [| 'Ok, 'Err String |] - | doc m%" - `maxItems n x` fails if `x` is an array of length strictly greater than `n` and succeeds otherwise. - Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.3] - "% - = fun - n - x - => - if !(std.is_array x) then - 'Ok - else - if (std.array.length (x | Array Dyn)) > n then - 'Err - "array is longer than %{std.string.from_number n} items" - else - 'Ok, - minItems - : Number -> Dyn -> [| 'Ok, 'Err String |] - | doc m%" - `minItems n x` fails if `x` is an array of length strictly smaller than `n` and succeeds otherwise. - Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.4] - "% - = fun - n - x - => - if !(std.is_array x) then - 'Ok - else - if (std.array.length (x | Array Dyn)) < n then - 'Err - "array is shorter than %{std.string.from_number n} items" - else - 'Ok, - uniqueItems - : Dyn -> [| 'Ok, 'Err String |] - | doc m%" - Succeeds for any array if its elements are pairwise distinct. - Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.4.5] - "% - = let find_duplicate - : Array Dyn - -> { - has_duplicate : Bool, - duplicate : Dyn, - seen : { _ : Bool } - } - = std.array.fold_right - (fun - elt - acc - => - if acc.has_duplicate then - acc - else - let index - = std.serialize 'Json elt - in - if std.record.has_field index acc.seen then - { - duplicate = elt, - has_duplicate = true, - seen = acc.seen, - } - else - { - duplicate = null, - has_duplicate = false, - seen = std.record.insert index true acc.seen, - }) - { duplicate = null, has_duplicate = false, seen = {}, } - in - fun - x - => - if !(std.is_array x) then - 'Ok - else - let { has_duplicate, duplicate, .. } - = find_duplicate (x | Array Dyn) - in - if has_duplicate then - 'Err "duplicate found: %{std.serialize 'Json duplicate}" - else - 'Ok, - }, - const - : Dyn -> Dyn -> [| 'Ok, 'Err String |] - | doc m%" - `const value x` succeeds if and only if `x` is equal to `value` - Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.1.3] - "% - = fun - value - x - => - if x == value then - 'Ok - else - 'Err "expected %{std.serialize 'Json value}", - contract_from_predicate - : (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> Dyn -> Dyn - = fun - predicate - label - value - => - (match { - 'Ok => - value, - 'Err - msg => - (std.contract.blame_with_message msg label) - | Dyn, - }) (predicate value), - enum - : Array Dyn -> Dyn -> [| 'Ok, 'Err String |] - | doc m%" - `enum values x` succeeds if and only if `x` is equal to one of the elements of `values`. - Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.1.2] - "% - = let checkEqual - = fun - input - variant - => - (input == variant) - || ((std.is_enum input) - && (((std.string.from_enum input) == variant) - | Bool)) - in - fun - values - x - => - std.array.fold_right - (fun value acc => if checkEqual x value then 'Ok else acc) - ('Err "expected one of %{std.serialize 'Json (values | Dyn)}") - values, - from_simple_predicate - : String -> (Dyn -> Bool) -> Dyn -> [| 'Ok, 'Err String |] - | doc "Convert a simple boolean predicate into a predicate supporting error messages" - = fun error' pred x => if pred x then 'Ok else 'Err error', - ifThenElse - : (Dyn -> [| 'Ok, 'Err String |]) - -> (Dyn -> [| 'Ok, 'Err String |]) - -> (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] - | doc m%" - `ifThenElse i t e` first checks if the predicate `i` succeeds. If it does, it's equivalent to `t`, otherwise it's equivalent to `e`. - Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.6] - "% - = fun i t e x => (match { 'Ok => t x, 'Err msg => e x, }) (i x), - isType - : [| '"Array", '"Bool", 'Integer, 'Null, '"Number", 'Record, '"String" |] - -> Dyn -> [| 'Ok, 'Err String |] - = fun - t - => - (match { - 'Null => - from_simple_predicate "expected `null`" (fun x => x == null), - 'Integer => - from_simple_predicate "expected an integer" - (fun - x - => - (std.is_number x) && (std.number.is_integer (x | Number))), - _ => - from_simple_predicate - "value is not of type %{std.string.from_enum t}" - (fun x => (std.typeof x) == t), - }) t, - never : Dyn -> [| 'Ok, 'Err String |] = std.function.const ('Err "never"), - not - : (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] - | doc m%" - `not pred` succeeds if and only if `pred` fails - Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.7.4] - "% - = fun - pred - x - => - (match { - 'Ok => - 'Err "Inverted predicate succeeded unexpectedly", - 'Err - msg => - 'Ok, - }) (pred x), - numbers = - { - exclusiveMaximum - : Number -> Dyn -> [| 'Ok, 'Err String |] - | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.2.3]" - = fun - limit - x - => - if !(std.is_number x) then - 'Ok - else - if (x | Number) < limit then - 'Ok - else - 'Err - "expected an exclusive maximum of %{std.string.from_number - limit}", - exclusiveMinimum - : Number -> Dyn -> [| 'Ok, 'Err String |] - | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.2.5]" - = fun - limit - x - => - if !(std.is_number x) then - 'Ok - else - if (x | Number) > limit then - 'Ok - else - 'Err - "expected an exclusive minimum of %{std.string.from_number - limit}", - maximum - : Number -> Dyn -> [| 'Ok, 'Err String |] - | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.2.2]" - = fun - limit - x - => - if !(std.is_number x) then - 'Ok - else - if (x | Number) <= limit then - 'Ok - else - 'Err - "expected a maximum of %{std.string.from_number limit}", - minimum - : Number -> Dyn -> [| 'Ok, 'Err String |] - | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.2.4]" - = fun - limit - x - => - if !(std.is_number x) then - 'Ok - else - if (x | Number) >= limit then - 'Ok - else - 'Err - "expected a minimum of %{std.string.from_number limit}", - multipleOf - : Number -> Dyn -> [| 'Ok, 'Err String |] - | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.2.1]" - = fun - mult - x - => - if !(std.is_number x) then - 'Ok - else - if std.number.is_integer ((x | Number) / mult) then - 'Ok - else - 'Err - "expected a multiple of %{std.string.from_number mult}", - }, - oneOf - : Array (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] - | doc m%" - `oneOf preds` succeeds if precisely one of the predicates in `preds` succeeds - Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.7.3] - "% - = fun - preds - x - => - let count_ok - : Array [| 'Ok, 'Err String |] -> Number - = fun - results - => - std.array.fold_left (fun n b => if b == 'Ok then n + 1 else n) 0 - results - in - let results - = std.array.map (fun pred => pred x) preds - in - let count - = count_ok results - in - if count == 0 then - let errors - = std.array.flat_map - (fun - result - => - (match { 'Ok => [ ], 'Err s => [ " - %{s}" ], }) - result) results - in - 'Err - m%" - oneOf: none of the options matched - %{std.string.join - m%" - - - "% errors} - "% - else - if count > 1 then - 'Err "oneOf: more than one of the options matched" - else - 'Ok, - records = - { - dependencies - : { _ : Dyn } -> Dyn -> [| 'Ok, 'Err String |] - | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5.7]" - = let mustHaveFields - : Array String -> { _ : Dyn } -> [| 'Ok, 'Err String |] - = fun - fields - x - => - std.array.fold_right - (fun - field - acc - => - if !(std.record.has_field field x) then - 'Err "expected field `%{field}`" - else - acc) 'Ok fields - in - fun - deps - x - => - if !(std.is_record x) then - 'Ok - else - let x - | { _ : Dyn } - = x - in - std.array.fold_right - (fun - { field, value, } - => - fun - acc - => - if !(std.record.has_field field x) then - acc - else - let result - = if std.is_array value then - mustHaveFields (value | Array String) x - else - let pred - | Dyn -> [| 'Ok, 'Err String |] - = value - in - pred (x | Dyn) - in - (match { - 'Err - msg => - 'Err - "dependency of `%{field}` failed: %{msg}", - 'Ok => - acc, - }) result) 'Ok (std.record.to_array deps), - maxProperties - : Number -> Dyn -> [| 'Ok, 'Err String |] - | doc m%" - `maxProperties n x` fails if `x` is a record containing stricly more than `n` fields. - Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5.1] - "% - = fun - n - x - => - if !(std.is_record x) then - 'Ok - else - if (std.record.length (x | { _ : Dyn })) > n then - 'Err - "record contains more than %{std.string.from_number - n} fields" - else - 'Ok, - minProperties - : Number -> Dyn -> [| 'Ok, 'Err String |] - | doc m%" - `minProperties n x` fails if `x` is a record containing stricly less than `n` fields. - Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5.1] - "% - = fun - n - x - => - if !(std.is_record x) then - 'Ok - else - if (std.record.length (x | { _ : Dyn })) < n then - 'Err - "record contains fewer than %{std.string.from_number - n} fields" - else - 'Ok, - propertyNames - : (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] - | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5.8]" - = fun - pred - x - => - if !(std.is_record x) then - 'Ok - else - std.array.fold_right - (fun - field - acc - => - (match { - 'Err - msg => - 'Err - "field `%{field}` did not validate against `propertyNames` schema", - 'Ok => - acc, - }) (pred (field | Dyn))) 'Ok - (std.record.fields (x | { _ : Dyn })), - record - : { _ : Dyn -> [| 'Ok, 'Err String |] } - -> { _ : Dyn -> [| 'Ok, 'Err String |] } - -> Bool - -> (Dyn -> [| 'Ok, 'Err String |]) -> Dyn -> [| 'Ok, 'Err String |] - | doc m%" - `record properties patternProperties additionalAllowed - additionalProperties x` is a combination of the `properties`, - `patternProperties` and `additionalProperties` validation keywords in - JSON schema. - - Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5] - "% - = fun - properties - patternProperties - additionalAllowed - additionalProperties - x - => - if !(std.is_record x) then - 'Ok - else - let x - | { _ : Dyn } - = x - in - let check_properties - : { - result : [| 'Ok, 'Err String |], - checked : { _ : Bool } - } - = std.array.fold_right - (fun - { field, value, } - => - fun - acc - => - if !(std.record.has_field field x) then - acc - else - (match { - 'Err - msg => - { - checked : { _ : Bool } = {}, - result = - 'Err - "field `%{field}` didn't validate: %{msg}", - }, - 'Ok => - { - checked = - std.record.insert field true acc.checked, - result = acc.result, - }, - }) (value x."%{field}")) - { checked = {}, result = 'Ok, } - (std.record.to_array properties) - in - let matching_fields - : String -> { _ : Dyn } - = fun - pattern - => - let matcher - = std.string.is_match pattern - in - std.array.fold_left - (fun - acc - => - fun - { field, value, } - => - if matcher field then - std.record.insert field value acc - else - acc) {} (std.record.to_array x) - in - let check_pattern_properties - : { - result : [| 'Ok, 'Err String |], - checked : { _ : Bool } - } - = std.array.fold_right - (fun - { field = pattern, value = pred, } - => - fun - acc - => - (match { - r @ { result = 'Err msg, .. } => - r, - { result = 'Ok, checked = ch, } => - { - checked = - std.array.fold_left - (fun - r - field - => - if !(std.record.has_field field - r) then - std.record.insert field true r - else - r) acc.checked - (std.record.fields ch), - result = acc.result, - }, - }) - (std.array.fold_right - (fun - { field, value, } - => - fun - acc - => - (match { - 'Err - msg => - { - checked : { _ : Bool } = {}, - result = - 'Err - "field `%{field}` didn't validate: %{msg}", - }, - 'Ok => - { - checked = - std.record.insert field true - acc.checked, - result = acc.result, - }, - }) (pred value)) - { - checked : { _ : Bool } = {}, - result = 'Ok, - } - (std.record.to_array - (matching_fields pattern)))) - { checked : { _ : Bool } = {}, result = 'Ok, } - (std.record.to_array patternProperties) - in - let remaining_fields - = std.array.fold_left - (fun - acc - field - => - if !(std.record.has_field field acc) then - acc - else - std.record.remove field acc) x - ((std.record.fields check_properties.checked) - @ (std.record.fields - check_pattern_properties.checked)) - in - let check_additional_properties - : [| 'Ok, 'Err String |] - = if (!additionalAllowed) - && (!(std.record.is_empty remaining_fields)) then - 'Err - "extra fields %{std.serialize 'Json - ((std.record.fields remaining_fields) - | Dyn)}" - else - std.array.fold_right - (fun - { field, value, } - => - fun - acc - => - (match { - 'Err - msg => - 'Err - "field `%{field}` didn't validate: %{msg}", - 'Ok => - acc, - }) (additionalProperties value)) 'Ok - (std.record.to_array remaining_fields) - in - (match { - 'Err - msg => - check_properties.result, - 'Ok => - (match { - 'Err - msg => - check_pattern_properties.result, - 'Ok => - check_additional_properties, - }) check_pattern_properties.result, - }) check_properties.result, - required - : Array String -> Dyn -> [| 'Ok, 'Err String |] - | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.5.3]" - = fun - fields - x - => - if !(std.is_record x) then - 'Ok - else - std.array.fold_right - (fun - field - acc - => - if !(std.record.has_field field (x | { _ : Dyn })) then - 'Err "missing required field %{field}" - else - acc) 'Ok fields, - }, - strings = - { - maxLength - : Number -> Dyn -> [| 'Ok, 'Err String |] - | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.3.1]" - = fun - limit - x - => - if !(std.is_string x) then - 'Ok - else - if (std.string.length (x | String)) <= limit then - 'Ok - else - 'Err - "expected a string of length no larger than %{std.string.from_number - limit}", - minLength - : Number -> Dyn -> [| 'Ok, 'Err String |] - | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.3.2]" - = fun - limit - x - => - if !(std.is_string x) then - 'Ok - else - if (std.string.length (x | String)) >= limit then - 'Ok - else - 'Err - "expected a string of length no smaller than %{std.string.from_number - limit}", - pattern - : String -> Dyn -> [| 'Ok, 'Err String |] - | doc "Cf. [https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.3.3]" - = fun - pattern - x - => - if !(std.is_string x) then - 'Ok - else - if std.string.is_match pattern (x | String) then - 'Ok - else - 'Err "expected a string matching the pattern `%{pattern}`", - }, - } - in -let rec _js2n__-refsenv - = {} - in - _js2n__-prdslib.contract_from_predicate - (_js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.anyOf - [ - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.records.required [ "paths" ], - _js2n__-prdslib.records.record {} {} true - _js2n__-prdslib.always - ], - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.records.required [ "components" ], - _js2n__-prdslib.records.record {} {} true - _js2n__-prdslib.always - ], - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.records.required [ "webhooks" ], - _js2n__-prdslib.records.record {} {} true - _js2n__-prdslib.always - ] - ], - _js2n__-prdslib.records.required [ "info", "openapi" ], - _js2n__-prdslib.records.record - { - components = _js2n__-prdslib.always, - externalDocs = _js2n__-prdslib.always, - info = _js2n__-prdslib.always, - jsonSchemaDialect = _js2n__-prdslib.isType '"String", - openapi = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"String", - _js2n__-prdslib.strings.pattern "^3\\.1\\.\\d+(-.+)?$" - ], - paths = _js2n__-prdslib.always, - security = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf _js2n__-prdslib.always - ], - servers = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf _js2n__-prdslib.always - ], - tags = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf _js2n__-prdslib.always - ], - webhooks = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record {} {} true - _js2n__-prdslib.always - ], - } {} true _js2n__-prdslib.always, - _js2n__-prdslib.always - ]) \ No newline at end of file +null diff --git a/out/prometheus.rules.json.ncl b/out/prometheus.rules.json.ncl index 59a1933..1f126e5 100644 --- a/out/prometheus.rules.json.ncl +++ b/out/prometheus.rules.json.ncl @@ -907,7 +907,12 @@ let rec _js2n__-refsenv alert = _js2n__-prdslib.isType '"String", annotations = _js2n__-refsenv."_js2n__-:definitions/annotations!predicate", - expr = _js2n__-prdslib.isType '"String", + expr = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.isType 'Integer + ], for = _js2n__-refsenv."_js2n__-:definitions/duration!predicate", keep_firing_for = @@ -965,7 +970,12 @@ let rec _js2n__-refsenv _js2n__-prdslib.records.required [ "expr", "record" ], _js2n__-prdslib.records.record { - expr = _js2n__-prdslib.isType '"String", + expr = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.isType 'Integer + ], labels = _js2n__-refsenv."_js2n__-:definitions/labels!predicate", record = _js2n__-prdslib.isType '"String", diff --git a/out/prometheus.rules.test.json.ncl b/out/prometheus.rules.test.json.ncl index c5bd1af..b0065aa 100644 --- a/out/prometheus.rules.test.json.ncl +++ b/out/prometheus.rules.test.json.ncl @@ -958,7 +958,14 @@ let rec _js2n__-refsenv | Array _js2n__-refsenv."_js2n__-:definitions/sample!contract" | doc "Expected samples at the given evaluation time." | optional, - expr | String | doc "PromQL expression to evaluate", + expr + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.isType 'Integer + ]) + | doc "PromQL expression to evaluate", }, "_js2n__-:definitions/sample!contract" = { diff --git a/out/release-plz.toml.ncl b/out/release-plz.toml.ncl index a796650..5c4f824 100644 --- a/out/release-plz.toml.ncl +++ b/out/release-plz.toml.ncl @@ -1380,6 +1380,12 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", _js2n__-prdslib.isType 'Null ], + pr_body = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.isType 'Null + ], pr_branch_prefix = _js2n__-prdslib.anyOf [ @@ -1394,6 +1400,12 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], + pr_name = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.isType 'Null + ], publish = _js2n__-prdslib.anyOf [ diff --git a/out/snapcraft.ncl b/out/snapcraft.ncl index c58c356..38cbd88 100644 --- a/out/snapcraft.ncl +++ b/out/snapcraft.ncl @@ -1347,6 +1347,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.enum [ + "env-injector", "flutter-stable", "flutter-beta", "flutter-dev", diff --git a/out/zerops.io import file.ncl b/out/zerops.io import file.ncl index e2d0ce3..f51cffd 100644 --- a/out/zerops.io import file.ncl +++ b/out/zerops.io import file.ncl @@ -999,6 +999,7 @@ let rec _js2n__-refsenv | std.enum.TagOrString | [| '"valkey@7.2", + '"ubuntu@24.04", '"ubuntu@22.04", '"static@latest", '"static@1.0", @@ -1010,6 +1011,7 @@ let rec _js2n__-refsenv '"rust@1", 'runtime, '"rabbitmq@3", + '"qdrant@1.12", '"qdrant@1.10", '"python@3.9", '"python@3.12", @@ -1034,6 +1036,7 @@ let rec _js2n__-refsenv '"nginx@latest", '"nginx@1.22", '"nats@2.10", + '"meilisearch@1.10", '"mariadb@10.6", '"keydb@6", '"kafka@3.8", @@ -1044,6 +1047,12 @@ let rec _js2n__-refsenv '"golang@1", '"go@1.22", '"go@1", + '"gleam@1.5.1", + '"gleam@1.5", + '"gleam@1", + '"elixir@1.16.2", + '"elixir@1.16", + '"elixir@1", '"dotnet@8", '"dotnet@7", '"dotnet@6", @@ -1144,173 +1153,141 @@ let rec _js2n__-refsenv ] ], base = - _js2n__-prdslib.allOf + _js2n__-prdslib.oneOf [ - _js2n__-prdslib.enum + _js2n__-prdslib.allOf [ - "22.04", - "3.17", - "3.18", - "3.19", - "3.20", - "alpine@3.17", - "alpine@3.18", - "alpine@3.19", - "alpine@3.20", - "alpine@latest", - "bun@1.1", - "bun@1.1.15", - "bun@latest", - "deno@1", - "deno@1.45.5", - "deno@2.0.0", - "deno@latest", - "dotnet@6", - "dotnet@7", - "dotnet@8", - "dotnet@latest", - "go@1", - "go@1.22", - "go@latest", - "golang@1", - "golang@latest", - "java@17", - "java@21", - "java@latest", - "nodejs@18", - "nodejs@20", - "nodejs@22", - "nodejs@latest", - "php@8.1", - "php@8.3", - "php@latest", - "python@3.11", - "python@3.12", - "python@latest", - "rust@1", - "rust@1.78", - "rust@1.80", - "rust@latest", - "rust@nightly", - "ubuntu@22.04", - "ubuntu@latest" + _js2n__-prdslib.isType + '"String", + _js2n__-prdslib.enum + [ + "22.04", + "24.04", + "3.17", + "3.18", + "3.19", + "3.20", + "alpine@3.17", + "alpine@3.18", + "alpine@3.19", + "alpine@3.20", + "alpine@latest", + "bun@1.1", + "bun@1.1.15", + "bun@latest", + "deno@1", + "deno@1.45.5", + "deno@2.0.0", + "deno@latest", + "dotnet@6", + "dotnet@7", + "dotnet@8", + "dotnet@latest", + "elixir@1", + "elixir@1.16", + "elixir@1.16.2", + "elixir@latest", + "gleam@1", + "gleam@1.5", + "gleam@1.5.1", + "gleam@latest", + "go@1", + "go@1.22", + "go@latest", + "golang@1", + "golang@latest", + "java@17", + "java@21", + "java@latest", + "nodejs@18", + "nodejs@20", + "nodejs@22", + "nodejs@latest", + "php@8.1", + "php@8.3", + "php@latest", + "python@3.11", + "python@3.12", + "python@latest", + "rust@1", + "rust@1.78", + "rust@1.80", + "rust@latest", + "rust@nightly", + "ubuntu@22.04", + "ubuntu@24.04", + "ubuntu@latest" + ] ], - _js2n__-prdslib.oneOf + _js2n__-prdslib.allOf [ - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - '"String", - _js2n__-prdslib.enum - [ - "22.04", - "3.17", - "3.18", - "3.19", - "3.20", - "alpine@3.17", - "alpine@3.18", - "alpine@3.19", - "alpine@3.20", - "alpine@latest", - "bun@1.1", - "bun@1.1.15", - "bun@latest", - "deno@1", - "deno@1.45.5", - "deno@2.0.0", - "deno@latest", - "dotnet@6", - "dotnet@7", - "dotnet@8", - "dotnet@latest", - "go@1", - "go@1.22", - "go@latest", - "golang@1", - "golang@latest", - "java@17", - "java@21", - "java@latest", - "nodejs@18", - "nodejs@20", - "nodejs@22", - "nodejs@latest", - "php@8.1", - "php@8.3", - "php@latest", - "python@3.11", - "python@3.12", - "python@latest", - "rust@1", - "rust@1.78", - "rust@1.80", - "rust@latest", - "rust@nightly", - "ubuntu@22.04", - "ubuntu@latest" - ] - ], - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType - '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.allOf + _js2n__-prdslib.isType + '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"String", + _js2n__-prdslib.enum [ - _js2n__-prdslib.isType - '"String", - _js2n__-prdslib.enum - [ - "22.04", - "3.17", - "3.18", - "3.19", - "3.20", - "alpine@3.17", - "alpine@3.18", - "alpine@3.19", - "alpine@3.20", - "alpine@latest", - "bun@1.1", - "bun@1.1.15", - "bun@latest", - "deno@1", - "deno@1.45.5", - "deno@2.0.0", - "deno@latest", - "dotnet@6", - "dotnet@7", - "dotnet@8", - "dotnet@latest", - "go@1", - "go@1.22", - "go@latest", - "golang@1", - "golang@latest", - "java@17", - "java@21", - "java@latest", - "nodejs@18", - "nodejs@20", - "nodejs@22", - "nodejs@latest", - "php@8.1", - "php@8.3", - "php@latest", - "python@3.11", - "python@3.12", - "python@latest", - "rust@1", - "rust@1.78", - "rust@1.80", - "rust@latest", - "rust@nightly", - "ubuntu@22.04", - "ubuntu@latest" - ] - ]) - ] + "22.04", + "24.04", + "3.17", + "3.18", + "3.19", + "3.20", + "alpine@3.17", + "alpine@3.18", + "alpine@3.19", + "alpine@3.20", + "alpine@latest", + "bun@1.1", + "bun@1.1.15", + "bun@latest", + "deno@1", + "deno@1.45.5", + "deno@2.0.0", + "deno@latest", + "dotnet@6", + "dotnet@7", + "dotnet@8", + "dotnet@latest", + "elixir@1", + "elixir@1.16", + "elixir@1.16.2", + "elixir@latest", + "gleam@1", + "gleam@1.5", + "gleam@1.5.1", + "gleam@latest", + "go@1", + "go@1.22", + "go@latest", + "golang@1", + "golang@latest", + "java@17", + "java@21", + "java@latest", + "nodejs@18", + "nodejs@20", + "nodejs@22", + "nodejs@latest", + "php@8.1", + "php@8.3", + "php@latest", + "python@3.11", + "python@3.12", + "python@latest", + "rust@1", + "rust@1.78", + "rust@1.80", + "rust@latest", + "rust@nightly", + "ubuntu@22.04", + "ubuntu@24.04", + "ubuntu@latest" + ] + ]) ] ], buildCommands = @@ -1483,6 +1460,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.enum [ "22.04", + "24.04", "3.17", "3.18", "3.19", @@ -1503,6 +1481,14 @@ let rec _js2n__-refsenv "dotnet@7", "dotnet@8", "dotnet@latest", + "elixir@1", + "elixir@1.16", + "elixir@1.16.2", + "elixir@latest", + "gleam@1", + "gleam@1.5", + "gleam@1.5.1", + "gleam@latest", "go@1", "go@1.22", "go@latest", @@ -1536,6 +1522,7 @@ let rec _js2n__-refsenv "static@1.0", "static@latest", "ubuntu@22.04", + "ubuntu@24.04", "ubuntu@latest" ] ], diff --git a/out/zerops.yml.ncl b/out/zerops.yml.ncl index 032ef84..bd9f63a 100644 --- a/out/zerops.yml.ncl +++ b/out/zerops.yml.ncl @@ -920,170 +920,138 @@ let rec _js2n__-refsenv | optional, base | _js2n__-prdslib.contract_from_predicate - (_js2n__-prdslib.allOf + (_js2n__-prdslib.oneOf [ - _js2n__-prdslib.enum + _js2n__-prdslib.allOf [ - "22.04", - "3.17", - "3.18", - "3.19", - "3.20", - "alpine@3.17", - "alpine@3.18", - "alpine@3.19", - "alpine@3.20", - "alpine@latest", - "bun@1.1", - "bun@1.1.15", - "bun@latest", - "deno@1", - "deno@1.45.5", - "deno@2.0.0", - "deno@latest", - "dotnet@6", - "dotnet@7", - "dotnet@8", - "dotnet@latest", - "go@1", - "go@1.22", - "go@latest", - "golang@1", - "golang@latest", - "java@17", - "java@21", - "java@latest", - "nodejs@18", - "nodejs@20", - "nodejs@22", - "nodejs@latest", - "php@8.1", - "php@8.3", - "php@latest", - "python@3.11", - "python@3.12", - "python@latest", - "rust@1", - "rust@1.78", - "rust@1.80", - "rust@latest", - "rust@nightly", - "ubuntu@22.04", - "ubuntu@latest" + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ + "22.04", + "24.04", + "3.17", + "3.18", + "3.19", + "3.20", + "alpine@3.17", + "alpine@3.18", + "alpine@3.19", + "alpine@3.20", + "alpine@latest", + "bun@1.1", + "bun@1.1.15", + "bun@latest", + "deno@1", + "deno@1.45.5", + "deno@2.0.0", + "deno@latest", + "dotnet@6", + "dotnet@7", + "dotnet@8", + "dotnet@latest", + "elixir@1", + "elixir@1.16", + "elixir@1.16.2", + "elixir@latest", + "gleam@1", + "gleam@1.5", + "gleam@1.5.1", + "gleam@latest", + "go@1", + "go@1.22", + "go@latest", + "golang@1", + "golang@latest", + "java@17", + "java@21", + "java@latest", + "nodejs@18", + "nodejs@20", + "nodejs@22", + "nodejs@latest", + "php@8.1", + "php@8.3", + "php@latest", + "python@3.11", + "python@3.12", + "python@latest", + "rust@1", + "rust@1.78", + "rust@1.80", + "rust@latest", + "rust@nightly", + "ubuntu@22.04", + "ubuntu@24.04", + "ubuntu@latest" + ] ], - _js2n__-prdslib.oneOf + _js2n__-prdslib.allOf [ - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"String", - _js2n__-prdslib.enum - [ - "22.04", - "3.17", - "3.18", - "3.19", - "3.20", - "alpine@3.17", - "alpine@3.18", - "alpine@3.19", - "alpine@3.20", - "alpine@latest", - "bun@1.1", - "bun@1.1.15", - "bun@latest", - "deno@1", - "deno@1.45.5", - "deno@2.0.0", - "deno@latest", - "dotnet@6", - "dotnet@7", - "dotnet@8", - "dotnet@latest", - "go@1", - "go@1.22", - "go@latest", - "golang@1", - "golang@latest", - "java@17", - "java@21", - "java@latest", - "nodejs@18", - "nodejs@20", - "nodejs@22", - "nodejs@latest", - "php@8.1", - "php@8.3", - "php@latest", - "python@3.11", - "python@3.12", - "python@latest", - "rust@1", - "rust@1.78", - "rust@1.80", - "rust@latest", - "rust@nightly", - "ubuntu@22.04", - "ubuntu@latest" - ] - ], - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"Array", - _js2n__-prdslib.arrays.arrayOf - (_js2n__-prdslib.allOf + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum [ - _js2n__-prdslib.isType '"String", - _js2n__-prdslib.enum - [ - "22.04", - "3.17", - "3.18", - "3.19", - "3.20", - "alpine@3.17", - "alpine@3.18", - "alpine@3.19", - "alpine@3.20", - "alpine@latest", - "bun@1.1", - "bun@1.1.15", - "bun@latest", - "deno@1", - "deno@1.45.5", - "deno@2.0.0", - "deno@latest", - "dotnet@6", - "dotnet@7", - "dotnet@8", - "dotnet@latest", - "go@1", - "go@1.22", - "go@latest", - "golang@1", - "golang@latest", - "java@17", - "java@21", - "java@latest", - "nodejs@18", - "nodejs@20", - "nodejs@22", - "nodejs@latest", - "php@8.1", - "php@8.3", - "php@latest", - "python@3.11", - "python@3.12", - "python@latest", - "rust@1", - "rust@1.78", - "rust@1.80", - "rust@latest", - "rust@nightly", - "ubuntu@22.04", - "ubuntu@latest" - ] - ]) - ] + "22.04", + "24.04", + "3.17", + "3.18", + "3.19", + "3.20", + "alpine@3.17", + "alpine@3.18", + "alpine@3.19", + "alpine@3.20", + "alpine@latest", + "bun@1.1", + "bun@1.1.15", + "bun@latest", + "deno@1", + "deno@1.45.5", + "deno@2.0.0", + "deno@latest", + "dotnet@6", + "dotnet@7", + "dotnet@8", + "dotnet@latest", + "elixir@1", + "elixir@1.16", + "elixir@1.16.2", + "elixir@latest", + "gleam@1", + "gleam@1.5", + "gleam@1.5.1", + "gleam@latest", + "go@1", + "go@1.22", + "go@latest", + "golang@1", + "golang@latest", + "java@17", + "java@21", + "java@latest", + "nodejs@18", + "nodejs@20", + "nodejs@22", + "nodejs@latest", + "php@8.1", + "php@8.3", + "php@latest", + "python@3.11", + "python@3.12", + "python@latest", + "rust@1", + "rust@1.78", + "rust@1.80", + "rust@latest", + "rust@nightly", + "ubuntu@22.04", + "ubuntu@24.04", + "ubuntu@latest" + ] + ]) ] ]) | doc "Sets the base technology for the build environment. If you need to install more technologies to the build environment, set multiple values as a yaml array." @@ -1216,6 +1184,7 @@ let rec _js2n__-refsenv | std.enum.TagOrString | [| '"ubuntu@latest", + '"ubuntu@24.04", '"ubuntu@22.04", '"static@latest", '"static@1.0", @@ -1249,6 +1218,14 @@ let rec _js2n__-refsenv '"go@latest", '"go@1.22", '"go@1", + '"gleam@latest", + '"gleam@1.5.1", + '"gleam@1.5", + '"gleam@1", + '"elixir@latest", + '"elixir@1.16.2", + '"elixir@1.16", + '"elixir@1", '"dotnet@latest", '"dotnet@8", '"dotnet@7", @@ -1269,6 +1246,7 @@ let rec _js2n__-refsenv '"3.19", '"3.18", '"3.17", + '"24.04", '"22.04" |] | doc "Sets the base technology for the runtime environment. If you don't specify the run.base attribute, Zerops keeps the current version for your runtime."