From 672098b37b0492e900f938d058eb076527f32420 Mon Sep 17 00:00:00 2001 From: Schemas update bot Date: Sun, 13 Oct 2024 01:00:10 +0000 Subject: [PATCH] Re-generate the schema files --- main.ncl | 2 + out/.pre-commit-config.yml.ncl | 2 +- out/Codux.ncl | 10 +- out/Cycle Stack File.ncl | 15 + out/Data Contract Specification.ncl | 5 + out/Datadog Service Definition.ncl | 36 + out/Datadog Software Catalog.ncl | 21 + out/Datahub Ingestion Recipe.ncl | 180 +++-- out/Eidolon Resource.ncl | 902 ++++++++++++++++++++++++++ out/Estuary Flow Catalog.ncl | 22 + out/Firebase.ncl | 6 +- out/GherKing.ncl | 24 + out/Hugo.ncl | 7 + out/Network-as-Code Data Model.ncl | 95 +-- out/PyProject.ncl | 69 ++ out/Renovate.ncl | 10 + out/Ruff.ncl | 121 ++++ out/Shopware 6 Configuration.ncl | 53 ++ out/Unreal Engine Uplugin.ncl | 2 +- out/Waku Config.ncl | 1 + out/codemagic.ncl | 149 +++-- out/conda-forge.ncl | 15 + out/ddev-project.ncl | 87 ++- out/dotnet Release Index manifest.ncl | 1 + out/gitlab-ci.ncl | 19 +- out/liblab.config.json.ncl | 17 +- out/mirrord config.ncl | 64 +- out/release-plz.toml.ncl | 6 + out/zerops.io import file.ncl | 366 +++++++---- out/zerops.yml.ncl | 270 +++++--- 30 files changed, 2164 insertions(+), 413 deletions(-) create mode 100644 out/Eidolon Resource.ncl create mode 100644 out/Waku Config.ncl diff --git a/main.ncl b/main.ncl index 74ab31e..65f2f07 100644 --- a/main.ncl +++ b/main.ncl @@ -943,4 +943,6 @@ "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", +"Eidolon Resource" = import "out/Eidolon Resource.ncl", +"Waku Config" = import "out/Waku Config.ncl", } diff --git a/out/.pre-commit-config.yml.ncl b/out/.pre-commit-config.yml.ncl index 889431c..341b18e 100644 --- a/out/.pre-commit-config.yml.ncl +++ b/out/.pre-commit-config.yml.ncl @@ -1020,7 +1020,7 @@ let rec _js2n__-refsenv [ _js2n__-prdslib.isType '"String", _js2n__-prdslib.strings.pattern - "^(?!.*(local|meta)).*$" + "^(?!(?:meta|local)$).*$" ], rev = _js2n__-prdslib.isType '"String", } {} true _js2n__-prdslib.always diff --git a/out/Codux.ncl b/out/Codux.ncl index 399f386..2728d34 100644 --- a/out/Codux.ncl +++ b/out/Codux.ncl @@ -1027,6 +1027,9 @@ let rec _js2n__-refsenv Refer to https://help.codux.com/kb/en/article/kb02353 for more information. "% | optional, + externalProviders + | { wix | { projectId | String, .. } | optional, .. } + | optional, fileNamingConvention | _js2n__-prdslib.contract_from_predicate (_js2n__-prdslib.oneOf @@ -1108,10 +1111,11 @@ let rec _js2n__-refsenv (_js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.required [ "environmentVariables" ], _js2n__-prdslib.records.record - { environmentVariables = _js2n__-prdslib.isType 'Record, } {} - true _js2n__-prdslib.always + { + envFile = _js2n__-prdslib.isType '"String", + environmentVariables = _js2n__-prdslib.isType 'Record, + } {} true _js2n__-prdslib.always ]) | doc m%" Specifies environment variables to use globally across the project. diff --git a/out/Cycle Stack File.ncl b/out/Cycle Stack File.ncl index 0d8100a..00a2905 100644 --- a/out/Cycle Stack File.ncl +++ b/out/Cycle Stack File.ncl @@ -7816,6 +7816,21 @@ let rec _js2n__-refsenv 'Record, _js2n__-prdslib.records.record { + custom_resolvers = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType + '"String") + ], + _js2n__-refsenv."_js2n__-:properties/about/oneOf/1!predicate", + _js2n__-prdslib.isType + 'Null + ], empty_set_delay = _js2n__-prdslib.anyOf [ diff --git a/out/Data Contract Specification.ncl b/out/Data Contract Specification.ncl index ff187ed..52b21a4 100644 --- a/out/Data Contract Specification.ncl +++ b/out/Data Contract Specification.ncl @@ -1508,7 +1508,12 @@ let rec _js2n__-refsenv _js2n__-prdslib.records.record { account = _js2n__-prdslib.isType '"String", + clusterIdentifier = + _js2n__-prdslib.isType '"String", database = _js2n__-prdslib.isType '"String", + endpoint = _js2n__-prdslib.isType '"String", + host = _js2n__-prdslib.isType '"String", + port = _js2n__-prdslib.isType 'Integer, schema = _js2n__-prdslib.isType '"String", type = _js2n__-prdslib.allOf diff --git a/out/Datadog Service Definition.ncl b/out/Datadog Service Definition.ncl index b795b71..1b0faa8 100644 --- a/out/Datadog Service Definition.ncl +++ b/out/Datadog Service Definition.ncl @@ -928,5 +928,41 @@ let rec _js2n__-refsenv { schema-version = _js2n__-prdslib.const "v2.2", } {} true _js2n__-prdslib.always, _js2n__-prdslib.always + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.record + { + apiVersion = _js2n__-prdslib.const "v3", + kind = _js2n__-prdslib.const "service", + } {} true _js2n__-prdslib.always, + _js2n__-prdslib.always + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.record + { + apiVersion = _js2n__-prdslib.const "v3", + kind = _js2n__-prdslib.const "queue", + } {} true _js2n__-prdslib.always, + _js2n__-prdslib.always + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.record + { + apiVersion = _js2n__-prdslib.const "v3", + kind = _js2n__-prdslib.const "datastore", + } {} true _js2n__-prdslib.always, + _js2n__-prdslib.always + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.record + { + apiVersion = _js2n__-prdslib.const "v3", + kind = _js2n__-prdslib.const "system", + } {} true _js2n__-prdslib.always, + _js2n__-prdslib.always ] ]) \ No newline at end of file diff --git a/out/Datadog Software Catalog.ncl b/out/Datadog Software Catalog.ncl index de90386..8d64370 100644 --- a/out/Datadog Software Catalog.ncl +++ b/out/Datadog Software Catalog.ncl @@ -901,6 +901,27 @@ let rec _js2n__-refsenv _js2n__-prdslib.contract_from_predicate (_js2n__-prdslib.oneOf [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.record + { schema-version = _js2n__-prdslib.const "v2", } {} true + _js2n__-prdslib.always, + _js2n__-prdslib.always + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.record + { schema-version = _js2n__-prdslib.const "v2.1", } {} true + _js2n__-prdslib.always, + _js2n__-prdslib.always + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.record + { schema-version = _js2n__-prdslib.const "v2.2", } {} true + _js2n__-prdslib.always, + _js2n__-prdslib.always + ], _js2n__-prdslib.allOf [ _js2n__-prdslib.records.record diff --git a/out/Datahub Ingestion Recipe.ncl b/out/Datahub Ingestion Recipe.ncl index ca08764..672bb42 100644 --- a/out/Datahub Ingestion Recipe.ncl +++ b/out/Datahub Ingestion Recipe.ncl @@ -1743,9 +1743,8 @@ let rec _js2n__-refsenv _js2n__-refsenv."_js2n__-:definitions/FolderTraversalMethod!predicate", } {} false _js2n__-prdslib.never ], - "_js2n__-:definitions/PlatformDetail!predicate" - | doc "Any source that connects to a platform should inherit this class" - = _js2n__-prdslib.allOf + "_js2n__-:definitions/PlatformDetail!predicate" = + _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record @@ -5191,6 +5190,59 @@ let rec _js2n__-refsenv _js2n__-refsenv."_js2n__-:definitions/AllowDenyPattern!predicate", } {} false _js2n__-prdslib.never ], + "_js2n__-:definitions/preset!predicate" = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required [ "config", "type" ], + _js2n__-prdslib.records.record + { + config = + _js2n__-refsenv."_js2n__-:definitions/preset_config!predicate", + type = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum [ "preset" ] + ], + } {} true _js2n__-prdslib.always + ], + "_js2n__-:definitions/preset_config!predicate" + | doc "Base configuration class for stateful ingestion for source configs to inherit from." + = _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + api_key = _js2n__-prdslib.isType '"String", + api_secret = _js2n__-prdslib.isType '"String", + connect_uri = _js2n__-prdslib.isType '"String", + database_alias = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record {} {} true + (_js2n__-prdslib.isType '"String") + ], + display_uri = _js2n__-prdslib.isType '"String", + domain = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record {} {} true + _js2n__-refsenv."_js2n__-:definitions/AllowDenyPattern!predicate" + ], + env = _js2n__-prdslib.isType '"String", + manager_uri = _js2n__-prdslib.isType '"String", + options = _js2n__-prdslib.isType 'Record, + password = _js2n__-prdslib.isType '"String", + platform_instance = _js2n__-prdslib.isType '"String", + provider = _js2n__-prdslib.isType '"String", + stateful_ingestion = + _js2n__-refsenv."_js2n__-:definitions/StatefulStaleMetadataRemovalConfig!predicate", + username = _js2n__-prdslib.isType '"String", + } {} false _js2n__-prdslib.never + ], "_js2n__-:definitions/presto!predicate" = _js2n__-prdslib.allOf [ @@ -6299,6 +6351,8 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { + api_key = _js2n__-prdslib.isType '"String", + api_secret = _js2n__-prdslib.isType '"String", connect_uri = _js2n__-prdslib.isType '"String", database_alias = _js2n__-prdslib.allOf @@ -6316,6 +6370,7 @@ let rec _js2n__-refsenv _js2n__-refsenv."_js2n__-:definitions/AllowDenyPattern!predicate" ], env = _js2n__-prdslib.isType '"String", + manager_uri = _js2n__-prdslib.isType '"String", options = _js2n__-prdslib.isType 'Record, password = _js2n__-prdslib.isType '"String", platform_instance = _js2n__-prdslib.isType '"String", @@ -6791,77 +6846,78 @@ let rec _js2n__-refsenv source = _js2n__-prdslib.anyOf [ - _js2n__-refsenv."_js2n__-:definitions/postgres!predicate", - _js2n__-refsenv."_js2n__-:definitions/mongodb!predicate", - _js2n__-refsenv."_js2n__-:definitions/mode!predicate", _js2n__-refsenv."_js2n__-:definitions/trino!predicate", - _js2n__-refsenv."_js2n__-:definitions/dynamodb!predicate", - _js2n__-refsenv."_js2n__-:definitions/elasticsearch!predicate", - _js2n__-refsenv."_js2n__-:definitions/azure-ad!predicate", - _js2n__-refsenv."_js2n__-:definitions/sagemaker!predicate", - _js2n__-refsenv."_js2n__-:definitions/starburst-trino-usage!predicate", - _js2n__-refsenv."_js2n__-:definitions/datahub-lineage-file!predicate", + _js2n__-refsenv."_js2n__-:definitions/openapi!predicate", + _js2n__-refsenv."_js2n__-:definitions/ldap!predicate", + _js2n__-refsenv."_js2n__-:definitions/hana!predicate", + _js2n__-refsenv."_js2n__-:definitions/preset!predicate", + _js2n__-refsenv."_js2n__-:definitions/file!predicate", + _js2n__-refsenv."_js2n__-:definitions/postgres!predicate", + _js2n__-refsenv."_js2n__-:definitions/feast!predicate", + _js2n__-refsenv."_js2n__-:definitions/delta-lake!predicate", + _js2n__-refsenv."_js2n__-:definitions/nifi!predicate", + _js2n__-refsenv."_js2n__-:definitions/superset!predicate", + _js2n__-refsenv."_js2n__-:definitions/bigquery!predicate", _js2n__-refsenv."_js2n__-:definitions/looker!predicate", - _js2n__-refsenv."_js2n__-:definitions/unity-catalog!predicate", - _js2n__-refsenv."_js2n__-:definitions/datahub-business-glossary!predicate", - _js2n__-refsenv."_js2n__-:definitions/teradata!predicate", - _js2n__-refsenv."_js2n__-:definitions/slack!predicate", - _js2n__-refsenv."_js2n__-:definitions/gcs!predicate", + _js2n__-refsenv."_js2n__-:definitions/grafana!predicate", _js2n__-refsenv."_js2n__-:definitions/abs!predicate", - _js2n__-refsenv."_js2n__-:definitions/s3!predicate", - _js2n__-refsenv."_js2n__-:definitions/lookml!predicate", - _js2n__-refsenv."_js2n__-:definitions/hive-metastore!predicate", - _js2n__-refsenv."_js2n__-:definitions/pulsar!predicate", - _js2n__-refsenv."_js2n__-:definitions/bigquery!predicate", - _js2n__-refsenv."_js2n__-:definitions/glue!predicate", + _js2n__-refsenv."_js2n__-:definitions/tableau!predicate", + _js2n__-refsenv."_js2n__-:definitions/qlik-sense!predicate", + _js2n__-refsenv."_js2n__-:definitions/sqlalchemy!predicate", + _js2n__-refsenv."_js2n__-:definitions/datahub-lineage-file!predicate", + _js2n__-refsenv."_js2n__-:definitions/kafka-connect!predicate", + _js2n__-refsenv."_js2n__-:definitions/dynamodb!predicate", + _js2n__-refsenv."_js2n__-:definitions/powerbi-report-server!predicate", _js2n__-refsenv."_js2n__-:definitions/kafka!predicate", - _js2n__-refsenv."_js2n__-:definitions/feast!predicate", - _js2n__-refsenv."_js2n__-:definitions/clickhouse!predicate", + _js2n__-refsenv."_js2n__-:definitions/glue!predicate", + _js2n__-refsenv."_js2n__-:definitions/gcs!predicate", + _js2n__-refsenv."_js2n__-:definitions/elasticsearch!predicate", + _js2n__-refsenv."_js2n__-:definitions/json-schema!predicate", + _js2n__-refsenv."_js2n__-:definitions/mssql!predicate", + _js2n__-refsenv."_js2n__-:definitions/mysql!predicate", + _js2n__-refsenv."_js2n__-:definitions/starburst-trino-usage!predicate", _js2n__-refsenv."_js2n__-:definitions/csv-enricher!predicate", - _js2n__-refsenv."_js2n__-:definitions/sigma!predicate", - _js2n__-refsenv."_js2n__-:definitions/kafka-connect!predicate", - _js2n__-refsenv."_js2n__-:definitions/redshift!predicate", - _js2n__-refsenv."_js2n__-:definitions/redash!predicate", - _js2n__-refsenv."_js2n__-:definitions/demo-data!predicate", - _js2n__-refsenv."_js2n__-:definitions/datahub-gc!predicate", - _js2n__-refsenv."_js2n__-:definitions/snowflake!predicate", - _js2n__-refsenv."_js2n__-:definitions/fivetran!predicate", - _js2n__-refsenv."_js2n__-:definitions/openapi!predicate", - _js2n__-refsenv."_js2n__-:definitions/cockroachdb!predicate", - _js2n__-refsenv."_js2n__-:definitions/nifi!predicate", - _js2n__-refsenv."_js2n__-:definitions/dbt-cloud!predicate", + _js2n__-refsenv."_js2n__-:definitions/slack!predicate", + _js2n__-refsenv."_js2n__-:definitions/iceberg!predicate", + _js2n__-refsenv."_js2n__-:definitions/unity-catalog!predicate", _js2n__-refsenv."_js2n__-:definitions/metabase!predicate", - _js2n__-refsenv."_js2n__-:definitions/okta!predicate", - _js2n__-refsenv."_js2n__-:definitions/presto!predicate", - _js2n__-refsenv."_js2n__-:definitions/dbt!predicate", - _js2n__-refsenv."_js2n__-:definitions/sqlalchemy!predicate", - _js2n__-refsenv."_js2n__-:definitions/sac!predicate", - _js2n__-refsenv."_js2n__-:definitions/json-schema!predicate", - _js2n__-refsenv."_js2n__-:definitions/clickhouse-usage!predicate", _js2n__-refsenv."_js2n__-:definitions/powerbi!predicate", - _js2n__-refsenv."_js2n__-:definitions/athena!predicate", - _js2n__-refsenv."_js2n__-:definitions/superset!predicate", + _js2n__-refsenv."_js2n__-:definitions/hive-metastore!predicate", + _js2n__-refsenv."_js2n__-:definitions/sql-queries!predicate", + _js2n__-refsenv."_js2n__-:definitions/cockroachdb!predicate", _js2n__-refsenv."_js2n__-:definitions/mariadb!predicate", - _js2n__-refsenv."_js2n__-:definitions/salesforce!predicate", - _js2n__-refsenv."_js2n__-:definitions/file!predicate", + _js2n__-refsenv."_js2n__-:definitions/mongodb!predicate", _js2n__-refsenv."_js2n__-:definitions/mlflow!predicate", + _js2n__-refsenv."_js2n__-:definitions/presto-on-hive!predicate", + _js2n__-refsenv."_js2n__-:definitions/salesforce!predicate", _js2n__-refsenv."_js2n__-:definitions/druid!predicate", - _js2n__-refsenv."_js2n__-:definitions/mysql!predicate", - _js2n__-refsenv."_js2n__-:definitions/sql-queries!predicate", - _js2n__-refsenv."_js2n__-:definitions/powerbi-report-server!predicate", - _js2n__-refsenv."_js2n__-:definitions/delta-lake!predicate", - _js2n__-refsenv."_js2n__-:definitions/oracle!predicate", + _js2n__-refsenv."_js2n__-:definitions/azure-ad!predicate", + _js2n__-refsenv."_js2n__-:definitions/lookml!predicate", + _js2n__-refsenv."_js2n__-:definitions/datahub-gc!predicate", + _js2n__-refsenv."_js2n__-:definitions/sagemaker!predicate", _js2n__-refsenv."_js2n__-:definitions/vertica!predicate", - _js2n__-refsenv."_js2n__-:definitions/hana!predicate", - _js2n__-refsenv."_js2n__-:definitions/hive!predicate", - _js2n__-refsenv."_js2n__-:definitions/presto-on-hive!predicate", + _js2n__-refsenv."_js2n__-:definitions/sac!predicate", + _js2n__-refsenv."_js2n__-:definitions/redshift!predicate", + _js2n__-refsenv."_js2n__-:definitions/okta!predicate", + _js2n__-refsenv."_js2n__-:definitions/presto!predicate", + _js2n__-refsenv."_js2n__-:definitions/teradata!predicate", + _js2n__-refsenv."_js2n__-:definitions/oracle!predicate", + _js2n__-refsenv."_js2n__-:definitions/pulsar!predicate", + _js2n__-refsenv."_js2n__-:definitions/clickhouse-usage!predicate", + _js2n__-refsenv."_js2n__-:definitions/athena!predicate", + _js2n__-refsenv."_js2n__-:definitions/datahub-business-glossary!predicate", _js2n__-refsenv."_js2n__-:definitions/datahub!predicate", - _js2n__-refsenv."_js2n__-:definitions/grafana!predicate", - _js2n__-refsenv."_js2n__-:definitions/iceberg!predicate", - _js2n__-refsenv."_js2n__-:definitions/mssql!predicate", - _js2n__-refsenv."_js2n__-:definitions/tableau!predicate", - _js2n__-refsenv."_js2n__-:definitions/qlik-sense!predicate", - _js2n__-refsenv."_js2n__-:definitions/ldap!predicate" + _js2n__-refsenv."_js2n__-:definitions/s3!predicate", + _js2n__-refsenv."_js2n__-:definitions/sigma!predicate", + _js2n__-refsenv."_js2n__-:definitions/dbt!predicate", + _js2n__-refsenv."_js2n__-:definitions/fivetran!predicate", + _js2n__-refsenv."_js2n__-:definitions/clickhouse!predicate", + _js2n__-refsenv."_js2n__-:definitions/snowflake!predicate", + _js2n__-refsenv."_js2n__-:definitions/mode!predicate", + _js2n__-refsenv."_js2n__-:definitions/demo-data!predicate", + _js2n__-refsenv."_js2n__-:definitions/hive!predicate", + _js2n__-refsenv."_js2n__-:definitions/redash!predicate", + _js2n__-refsenv."_js2n__-:definitions/dbt-cloud!predicate" ], transformers = _js2n__-prdslib.allOf diff --git a/out/Eidolon Resource.ncl b/out/Eidolon Resource.ncl new file mode 100644 index 0000000..680ae88 --- /dev/null +++ b/out/Eidolon Resource.ncl @@ -0,0 +1,902 @@ +# 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.anyOf [ _js2n__-prdslib.always, _js2n__-prdslib.always ]) \ No newline at end of file diff --git a/out/Estuary Flow Catalog.ncl b/out/Estuary Flow Catalog.ncl index 6b5d3f3..b15d43b 100644 --- a/out/Estuary Flow Catalog.ncl +++ b/out/Estuary Flow Catalog.ncl @@ -1094,6 +1094,18 @@ let rec _js2n__-refsenv image = _js2n__-prdslib.isType '"String", } {} true _js2n__-prdslib.always ], + "_js2n__-:definitions/DekafConfig!predicate" + | doc "Dekaf service configuration" + = _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required [ "config", "variant" ], + _js2n__-prdslib.records.record + { + config = _js2n__-prdslib.always, + variant = _js2n__-prdslib.isType '"String", + } {} true _js2n__-prdslib.always + ], "_js2n__-:definitions/Derivation!predicate" | doc "Derive specifies how a collection is derived from other collections." = _js2n__-prdslib.allOf @@ -1407,6 +1419,16 @@ let rec _js2n__-refsenv local = _js2n__-refsenv."_js2n__-:definitions/LocalConfig!predicate", } {} false _js2n__-prdslib.never + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required [ "dekaf" ], + _js2n__-prdslib.records.record + { + dekaf = + _js2n__-refsenv."_js2n__-:definitions/DekafConfig!predicate", + } {} false _js2n__-prdslib.never ] ], "_js2n__-:definitions/MaterializationFields!predicate" diff --git a/out/Firebase.ncl b/out/Firebase.ncl index 26da5d8..4c089fe 100644 --- a/out/Firebase.ncl +++ b/out/Firebase.ncl @@ -1174,7 +1174,11 @@ let rec _js2n__-refsenv emulators | { apphosting - | { host | String | optional, port | Number | optional, } + | { + host | String | optional, + port | Number | optional, + startCommandOverride | String | optional, + } | optional, auth | { host | String | optional, port | Number | optional, } diff --git a/out/GherKing.ncl b/out/GherKing.ncl index 1180a26..8dd12b3 100644 --- a/out/GherKing.ncl +++ b/out/GherKing.ncl @@ -986,6 +986,24 @@ let rec _js2n__-refsenv ], _js2n__-prdslib.strings.minLength 11 ], + iterations = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.minProperties 1, + _js2n__-prdslib.records.record {} + { + "^[a-zA-Z0-9_-]+$" = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + 'Integer, + _js2n__-prdslib.numbers.minimum + 0 + ], + } true _js2n__-prdslib.always + ], + keepTag = _js2n__-prdslib.isType '"Bool", limitToMaxValue = _js2n__-prdslib.isType '"Bool", maxValue = _js2n__-prdslib.allOf @@ -993,6 +1011,12 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Integer, _js2n__-prdslib.numbers.minimum 0 ], + startIndex = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Integer, + _js2n__-prdslib.numbers.minimum 0 + ], tagName = _js2n__-prdslib.allOf [ diff --git a/out/Hugo.ncl b/out/Hugo.ncl index 88d9bbe..4720ca5 100644 --- a/out/Hugo.ncl +++ b/out/Hugo.ncl @@ -2237,6 +2237,13 @@ let rec _js2n__-refsenv https://gohugo.io/getting-started/configuration-markup#goldmark "% | optional, + wrapStandAloneImageWithinParagraph + | Bool + | doc m%" + + https://gohugo.io/getting-started/configuration-markup#goldmark + "% + | optional, } | doc m%" The parser options diff --git a/out/Network-as-Code Data Model.ncl b/out/Network-as-Code Data Model.ncl index af5cb9e..97c302c 100644 --- a/out/Network-as-Code Data Model.ncl +++ b/out/Network-as-Code Data Model.ncl @@ -51709,8 +51709,8 @@ let rec _js2n__-refsenv "% | optional, object_ids - | Array std.number.Integer - | doc "Object Ids (List - Integer)" + | Array (String) + | doc "Object Ids (List - String)" | optional, } | doc m%" @@ -103729,31 +103729,6 @@ let rec _js2n__-refsenv - Allowed values: standard, stub, nssa, totally_stub "% | optional, - auth_key - | String - | doc "Auth Key (String)" - | optional, - auth_key_id - | _js2n__-prdslib.contract_from_predicate - (_js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Integer, - _js2n__-prdslib.numbers.maximum 255 - ]) - | doc m%" - Auth Key ID (Integer) - - Maximum value: 255 - "% - | optional, - auth_type - | std.enum.TagOrString - | [| 'md5, 'simple, 'none |] - | doc m%" - Auth Type (String) - - Default value: none - - Allowed values: none, simple, md5 - "% - | optional, id | _js2n__-prdslib.contract_from_predicate (_js2n__-prdslib.anyOf @@ -103776,9 +103751,6 @@ let rec _js2n__-refsenv - id - area_type - area_cost - - auth_type - - auth_key_id - - auth_key "% | optional, bfd @@ -104137,14 +104109,14 @@ let rec _js2n__-refsenv | Bool | doc m%" Send Community (Boolean) - - Default value: true + - Default value: false "% | optional, send_ext_community | Bool | doc m%" Send EXT Community (Boolean) - - Default value: true + - Default value: false "% | optional, weight @@ -104242,14 +104214,14 @@ let rec _js2n__-refsenv | Bool | doc m%" Send Community (Boolean) - - Default value: true + - Default value: false "% | optional, send_ext_community | Bool | doc m%" Send EXT Community (Boolean) - - Default value: true + - Default value: false "% | optional, weight @@ -104454,6 +104426,31 @@ let rec _js2n__-refsenv ]) | doc "Area (Integer, String)" | optional, + auth_key + | String + | doc "Auth Key (String)" + | optional, + auth_key_id + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Integer, + _js2n__-prdslib.numbers.maximum 255 + ]) + | doc m%" + Auth Key ID (Integer) + - Maximum value: 255 + "% + | optional, + auth_type + | std.enum.TagOrString + | [| 'md5, 'simple, 'none |] + | doc m%" + Auth Type (String) + - Default value: none + - Allowed values: none, simple, md5 + "% + | optional, bfd | { enabled @@ -104593,6 +104590,9 @@ let rec _js2n__-refsenv Elements: - area + - auth_type + - auth_key_id + - auth_key - cost - passive_interface - mtu_ignore @@ -104661,30 +104661,6 @@ let rec _js2n__-refsenv - Allowed values: standard, stub, nssa, totally_stub "% | optional, - auth_key - | String - | doc "Auth Key (String)" - | optional, - auth_key_id - | _js2n__-prdslib.contract_from_predicate - (_js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Integer, - _js2n__-prdslib.numbers.maximum 255 - ]) - | doc m%" - Auth Key ID (Integer) - - Maximum value: 255 - "% - | optional, - auth_type - | std.enum.TagOrString - | [| 'md5, 'simple, 'none |] - | doc m%" - Auth Type (String) - - Allowed values: none, simple, md5 - "% - | optional, id | _js2n__-prdslib.contract_from_predicate (_js2n__-prdslib.anyOf @@ -104707,9 +104683,6 @@ let rec _js2n__-refsenv - id - area_type - area_cost - - auth_type - - auth_key_id - - auth_key "% | optional, bfd diff --git a/out/PyProject.ncl b/out/PyProject.ncl index 9bb1399..ff890da 100644 --- a/out/PyProject.ncl +++ b/out/PyProject.ncl @@ -962,6 +962,39 @@ let rec _js2n__-refsenv { build-system = _js2n__-refsenv."_js2n__-:definitions/BuildSystem!predicate", + dependency-groups = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record {} + { + "^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9._-]*[a-zA-Z0-9])$" = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.oneOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + include-group = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"String", + _js2n__-prdslib.strings.pattern + "^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9._-]*[a-zA-Z0-9])$" + ], + } {} false _js2n__-prdslib.never + ] + ]) + ], + } false _js2n__-prdslib.never + ], project = _js2n__-prdslib.allOf [ @@ -1030,6 +1063,7 @@ let rec _js2n__-refsenv "readme", "requires-python", "license", + "license-files", "authors", "maintainers", "keywords", @@ -1109,6 +1143,13 @@ let rec _js2n__-refsenv ], _js2n__-prdslib.isType '"String" ], + license-files = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType '"String") + ], maintainers = _js2n__-prdslib.allOf [ @@ -1353,6 +1394,33 @@ let rec _js2n__-refsenv ], } {} true _js2n__-prdslib.always ]), + license-files = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.not + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required + [ "dynamic" ], + _js2n__-prdslib.records.record + { + dynamic = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType + '"Array", + _js2n__-prdslib.arrays.contains + (_js2n__-prdslib.const + "license-files") + ], + } {} true _js2n__-prdslib.always + ]), + _js2n__-prdslib.records.record + { + license = + _js2n__-prdslib.isType '"String", + } {} true _js2n__-prdslib.always + ], maintainers = _js2n__-prdslib.not (_js2n__-prdslib.allOf @@ -1496,6 +1564,7 @@ let rec _js2n__-refsenv ruff = _js2n__-prdslib.always, scikit-build = _js2n__-prdslib.always, setuptools = _js2n__-prdslib.always, + setuptools_scm = _js2n__-prdslib.always, tox = _js2n__-prdslib.allOf [ diff --git a/out/Renovate.ncl b/out/Renovate.ncl index db24f64..98af599 100644 --- a/out/Renovate.ncl +++ b/out/Renovate.ncl @@ -2442,6 +2442,13 @@ let rec _js2n__-refsenv _js2n__-prdslib.arrays.arrayOf (_js2n__-prdslib.isType '"String") ], + matchJsonata = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType '"String") + ], matchManagers = _js2n__-prdslib.oneOf [ @@ -2530,6 +2537,9 @@ let rec _js2n__-refsenv ] ] ], + overrideDatasource = _js2n__-prdslib.isType '"String", + overrideDepName = _js2n__-prdslib.isType '"String", + overridePackageName = _js2n__-prdslib.isType '"String", prPriority = _js2n__-prdslib.isType 'Integer, replacementName = _js2n__-prdslib.isType '"String", replacementNameTemplate = _js2n__-prdslib.isType '"String", diff --git a/out/Ruff.ncl b/out/Ruff.ncl index 505dd55..bface65 100644 --- a/out/Ruff.ncl +++ b/out/Ruff.ncl @@ -897,6 +897,60 @@ let _js2n__-prdslib in let rec _js2n__-refsenv = { + "_js2n__-:definitions/AnalyzeOptions!predicate" + | doc "Configures Ruff's `analyze` command." + = _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + detect-string-imports = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"Bool", + _js2n__-prdslib.isType 'Null + ], + direction = + _js2n__-prdslib.anyOf + [ + _js2n__-refsenv."_js2n__-:definitions/Direction!predicate", + _js2n__-prdslib.isType 'Null + ], + exclude = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.isType 'Null + ], + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType '"String") + ], + include-dependencies = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.isType 'Null + ], + _js2n__-prdslib.records.record {} {} true + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.isType '"String") + ]) + ], + preview = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"Bool", + _js2n__-prdslib.isType 'Null + ], + } {} false _js2n__-prdslib.never + ], "_js2n__-:definitions/ApiBan!predicate" = _js2n__-prdslib.allOf [ @@ -937,6 +991,20 @@ let rec _js2n__-refsenv _js2n__-prdslib.enum [ "pep257" ] ] ], + "_js2n__-:definitions/Direction!predicate" = + _js2n__-prdslib.oneOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum [ "Dependencies" ] + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum [ "Dependents" ] + ] + ], "_js2n__-:definitions/DocstringCodeLineWidth!predicate" = _js2n__-prdslib.anyOf [ @@ -1914,6 +1982,17 @@ 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 [ @@ -2493,6 +2572,17 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { + 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") + ], extend-generics = _js2n__-prdslib.allOf [ @@ -3157,6 +3247,7 @@ let rec _js2n__-refsenv "FURB15", "FURB152", "FURB154", + "FURB156", "FURB157", "FURB16", "FURB161", @@ -3173,6 +3264,7 @@ let rec _js2n__-refsenv "FURB180", "FURB181", "FURB187", + "FURB188", "FURB19", "FURB192", "G", @@ -3456,6 +3548,7 @@ let rec _js2n__-refsenv "PLR171", "PLR1711", "PLR1714", + "PLR1716", "PLR172", "PLR1722", "PLR173", @@ -3732,6 +3825,8 @@ let rec _js2n__-refsenv "RUF030", "RUF031", "RUF032", + "RUF033", + "RUF034", "RUF1", "RUF10", "RUF100", @@ -4056,6 +4151,32 @@ 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 + [ + _js2n__-refsenv."_js2n__-:definitions/AnalyzeOptions!predicate", + _js2n__-prdslib.isType 'Null + ]) + | doc "Options to configure import map generation." + | optional, builtins | _js2n__-prdslib.contract_from_predicate (_js2n__-prdslib.allOf diff --git a/out/Shopware 6 Configuration.ncl b/out/Shopware 6 Configuration.ncl index b412b0a..2e011f3 100644 --- a/out/Shopware 6 Configuration.ncl +++ b/out/Shopware 6 Configuration.ncl @@ -1261,6 +1261,55 @@ let rec _js2n__-refsenv | _js2n__-refsenv."_js2n__-:definitions/file_system_type!contract" | optional, }, + "_js2n__-:definitions/framework!contract" = + { + cache + | { + app | String | optional, + default_redis_provider | String | optional, + system | String | optional, + .. + } + | optional, + lock | String | optional, + session + | { + cookie_lifetime + | std.number.Integer + | doc "The cookie lifetime of the session" + | optional, + handler_id | String | optional, + name | String | doc "The cookie name of the session" | optional, + storage_factory_id | String | optional, + .. + } + | optional, + trusted_headers + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ + "x-forwarded-for", + "x-forwarded-host", + "x-forwarded-proto", + "x-forwarded-port", + "x-forwarded-prefix" + ] + ]) + ]) + | optional, + trusted_proxies + | String + | doc "A list of IP ranges to be considered as proxies and trust the headers" + | optional, + .. + }, "_js2n__-:definitions/html_sanitizer!contract" = { cache_dir | String | optional, @@ -1568,6 +1617,9 @@ let rec _js2n__-refsenv elasticsearch | _js2n__-refsenv."_js2n__-:definitions/elasticsearch!contract" | optional, + framework + | _js2n__-refsenv."_js2n__-:definitions/framework!contract" + | optional, parameters | _js2n__-refsenv."_js2n__-:definitions/parameters!contract" | optional, @@ -1577,6 +1629,7 @@ let rec _js2n__-refsenv storefront | _js2n__-refsenv."_js2n__-:definitions/storefront!contract" | optional, + .. }, "_js2n__-:definitions/sales_channel_context!contract" = { expire_days | std.number.Integer | optional, }, diff --git a/out/Unreal Engine Uplugin.ncl b/out/Unreal Engine Uplugin.ncl index 9c8f7d5..ffb0612 100644 --- a/out/Unreal Engine Uplugin.ncl +++ b/out/Unreal Engine Uplugin.ncl @@ -1142,7 +1142,6 @@ let rec _js2n__-refsenv IsBetaVersion = _js2n__-prdslib.isType '"Bool", IsExperimentalVersion = _js2n__-prdslib.isType '"Bool", IsHidden = _js2n__-prdslib.isType '"Bool", - IsPluginExtension = _js2n__-prdslib.isType '"Bool", LocalizationTargets = _js2n__-prdslib.allOf [ @@ -1215,5 +1214,6 @@ let rec _js2n__-refsenv ], Version = _js2n__-prdslib.isType '"Number", VersionName = _js2n__-prdslib.isType '"String", + bIsPluginExtension = _js2n__-prdslib.isType '"Bool", } {} false _js2n__-prdslib.never ]) \ No newline at end of file diff --git a/out/Waku Config.ncl b/out/Waku Config.ncl new file mode 100644 index 0000000..19765bd --- /dev/null +++ b/out/Waku Config.ncl @@ -0,0 +1 @@ +null diff --git a/out/codemagic.ncl b/out/codemagic.ncl index 9f742ae..c581c93 100644 --- a/out/codemagic.ncl +++ b/out/codemagic.ncl @@ -1144,6 +1144,63 @@ let rec _js2n__-refsenv source = _js2n__-prdslib.isType '"Bool", } {} false _js2n__-prdslib.never ], + "_js2n__-:definitions/BuildScript!predicate" = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required [ "script" ], + _js2n__-prdslib.records.record + { + ignore_failure = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.strings.pattern + "^\\$\\{\\{\\s*inputs\\.[a-zA-Z]\\w*\\s*\\}\\}" + ], + _js2n__-prdslib.isType '"Bool" + ], + name = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.strings.minLength 1 + ], + _js2n__-prdslib.isType 'Integer, + _js2n__-prdslib.isType '"Number", + _js2n__-prdslib.isType '"Bool" + ], + on_failure = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.strings.pattern + "^\\$\\{\\{\\s*inputs\\.[a-zA-Z]\\w*\\s*\\}\\}" + ], + _js2n__-refsenv."_js2n__-:definitions/ScriptOnFailure!predicate" + ], + script = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.strings.minLength 1 + ], + test_report = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.strings.minLength 1 + ], + when = _js2n__-refsenv."_js2n__-:definitions/When!predicate", + working_directory = _js2n__-prdslib.isType '"String", + } {} false _js2n__-prdslib.never + ], "_js2n__-:definitions/Cache!predicate" = _js2n__-prdslib.allOf [ @@ -1773,7 +1830,39 @@ let rec _js2n__-refsenv ], } {} false _js2n__-prdslib.never ], - "_js2n__-:definitions/NamedScript!predicate" = + "_js2n__-:definitions/PartnerCenter!predicate" = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + client_id = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.strings.minLength 1 + ], + client_secret = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.strings.minLength 1 + ], + store_id = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.strings.minLength 1 + ], + tenant_id = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.strings.minLength 1 + ], + } {} false _js2n__-prdslib.never + ], + "_js2n__-:definitions/PreCloneScript!predicate" = _js2n__-prdslib.allOf [ _js2n__-prdslib.isType 'Record, @@ -1820,48 +1909,10 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", _js2n__-prdslib.strings.minLength 1 ], - test_report = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"String", - _js2n__-prdslib.strings.minLength 1 - ], when = _js2n__-refsenv."_js2n__-:definitions/When!predicate", working_directory = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], - "_js2n__-:definitions/PartnerCenter!predicate" = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - client_id = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"String", - _js2n__-prdslib.strings.minLength 1 - ], - client_secret = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"String", - _js2n__-prdslib.strings.minLength 1 - ], - store_id = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"String", - _js2n__-prdslib.strings.minLength 1 - ], - tenant_id = - _js2n__-prdslib.allOf - [ - _js2n__-prdslib.isType '"String", - _js2n__-prdslib.strings.minLength 1 - ], - } {} false _js2n__-prdslib.never - ], "_js2n__-:definitions/ProfileWithVariable!predicate" = _js2n__-prdslib.allOf [ @@ -1941,7 +1992,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", _js2n__-prdslib.strings.minLength 1 ], - _js2n__-refsenv."_js2n__-:definitions/NamedScript!predicate" + _js2n__-refsenv."_js2n__-:definitions/BuildScript!predicate" ]), _js2n__-prdslib.arrays.minItems 1 ], @@ -2173,6 +2224,22 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Integer ], name = _js2n__-prdslib.isType '"String", + pre_clone_scripts = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + (_js2n__-prdslib.anyOf + [ + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.strings.minLength 1 + ], + _js2n__-refsenv."_js2n__-:definitions/PreCloneScript!predicate" + ]), + _js2n__-prdslib.arrays.minItems 1 + ], publishing = _js2n__-refsenv."_js2n__-:definitions/Publishing!predicate", scripts = @@ -2187,7 +2254,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", _js2n__-prdslib.strings.minLength 1 ], - _js2n__-refsenv."_js2n__-:definitions/NamedScript!predicate" + _js2n__-refsenv."_js2n__-:definitions/BuildScript!predicate" ]), _js2n__-prdslib.arrays.minItems 1 ], diff --git a/out/conda-forge.ncl b/out/conda-forge.ncl index 75db815..93a8023 100644 --- a/out/conda-forge.ncl +++ b/out/conda-forge.ncl @@ -1283,6 +1283,21 @@ let rec _js2n__-refsenv ``` "% | optional, + linter + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.anyOf + [ _js2n__-prdslib.always, _js2n__-prdslib.isType 'Null ]) + | doc m%" + Settings in this block are used to control how `conda smithy` lints + An example of the such configuration is: + + ```yaml + linter: + skip: + - lint_noarch_selectors + ``` + "% + | optional, matrix | _js2n__-prdslib.contract_from_predicate (_js2n__-prdslib.anyOf diff --git a/out/ddev-project.ncl b/out/ddev-project.ncl index 926e054..d6942c0 100644 --- a/out/ddev-project.ncl +++ b/out/ddev-project.ncl @@ -945,18 +945,81 @@ let rec _js2n__-refsenv | doc "Whether to \"corepack enable\" on Node.js configuration." | optional, database - | { - type - | std.enum.TagOrString - | [| 'postgres, 'mysql, 'mariadb |] - | doc "Specify the database type to use." - | optional, - version - | String - | doc "Specify the database version to use." - | optional, - .. - } + | _js2n__-prdslib.contract_from_predicate + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { type = _js2n__-prdslib.const "mariadb", } {} true + _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + version = + _js2n__-prdslib.enum + [ + "5.5", + "10.0", + "10.1", + "10.2", + "10.3", + "10.4", + "10.5", + "10.6", + "10.7", + "10.8", + "10.11", + "11.4" + ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { type = _js2n__-prdslib.const "mysql", } {} true + _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + version = + _js2n__-prdslib.enum [ "5.5", "5.6", "5.7", "8.0" ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.ifThenElse + (_js2n__-prdslib.records.record + { type = _js2n__-prdslib.const "postgres", } {} true + _js2n__-prdslib.always) + (_js2n__-prdslib.records.record + { + version = + _js2n__-prdslib.enum + [ + "9", + "10", + "11", + "12", + "13", + "14", + "15", + "16", + "17" + ], + } {} true _js2n__-prdslib.always) + (_js2n__-prdslib.not + (_js2n__-prdslib.allOf + [ + _js2n__-prdslib.records.required [ "version" ], + _js2n__-prdslib.records.record {} {} true + _js2n__-prdslib.always + ])))), + _js2n__-prdslib.records.record + { + type = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum + [ "mariadb", "mysql", "postgres" ] + ], + version = _js2n__-prdslib.isType '"String", + } {} true _js2n__-prdslib.always + ]) | doc "Specify the database type and version to use." | optional, dbimage_extra_packages diff --git a/out/dotnet Release Index manifest.ncl b/out/dotnet Release Index manifest.ncl index f375c8f..8d27873 100644 --- a/out/dotnet Release Index manifest.ncl +++ b/out/dotnet Release Index manifest.ncl @@ -950,6 +950,7 @@ let rec _js2n__-refsenv security = _js2n__-prdslib.isType '"Bool", support-phase = _js2n__-refsenv."_js2n__-:definitions/supportPhase!predicate", + "supported-os.json" = _js2n__-prdslib.isType '"String", } {} false _js2n__-prdslib.never ], "_js2n__-:definitions/releaseType!predicate" diff --git a/out/gitlab-ci.ncl b/out/gitlab-ci.ncl index 4fafa1e..0b6ec2b 100644 --- a/out/gitlab-ci.ncl +++ b/out/gitlab-ci.ncl @@ -1871,14 +1871,19 @@ let rec _js2n__-refsenv only = _js2n__-refsenv."_js2n__-:definitions/filter!predicate", pages = - _js2n__-prdslib.allOf + _js2n__-prdslib.oneOf [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.records.record - { - expire_in = _js2n__-prdslib.isType '"String", - path_prefix = _js2n__-prdslib.isType '"String", - } {} false _js2n__-prdslib.never + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + expire_in = _js2n__-prdslib.isType '"String", + path_prefix = + _js2n__-prdslib.isType '"String", + } {} false _js2n__-prdslib.never + ], + _js2n__-prdslib.isType '"Bool" ], parallel = _js2n__-refsenv."_js2n__-:definitions/parallel!predicate", diff --git a/out/liblab.config.json.ncl b/out/liblab.config.json.ncl index a62e039..fbfa030 100644 --- a/out/liblab.config.json.ncl +++ b/out/liblab.config.json.ncl @@ -1683,7 +1683,22 @@ let rec _js2n__-refsenv [ _js2n__-prdslib.isType '"String", _js2n__-prdslib.enum - [ "mintlify", "redocly" ] + [ + "mintlify", + "redocly", + "readmeIO" + ] + ], + readmeIO = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record + { + openapiPath = + _js2n__-prdslib.isType + '"String", + } {} false _js2n__-prdslib.never ], redocly = _js2n__-prdslib.allOf diff --git a/out/mirrord config.ncl b/out/mirrord config.ncl index 2192961..09747bb 100644 --- a/out/mirrord config.ncl +++ b/out/mirrord config.ncl @@ -1525,6 +1525,12 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", _js2n__-prdslib.isType 'Null ], + tls_enable = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"Bool", + _js2n__-prdslib.isType 'Null + ], tls_key = _js2n__-prdslib.anyOf [ @@ -2209,6 +2215,28 @@ let rec _js2n__-refsenv _js2n__-prdslib.enum [ "SQS" ] ], } {} true _js2n__-prdslib.always + ], + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required + [ "message_filter", "queue_type" ], + _js2n__-prdslib.records.record + { + message_filter = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.record {} {} true + (_js2n__-prdslib.isType '"String") + ], + queue_type = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.enum [ "Kafka" ] + ], + } {} true _js2n__-prdslib.always ] ], "_js2n__-:definitions/RolloutTarget!predicate" @@ -2229,14 +2257,10 @@ let rec _js2n__-refsenv } {} false _js2n__-prdslib.never ], "_js2n__-:definitions/SplitQueuesConfig!predicate" - | doc "```json { \"feature\": { \"split_queues\": { \"first-queue\": { \"queue_type\": \"SQS\", \"message_filter\": { \"wows\": \"so wows\", \"coolz\": \"^very .*\" } }, \"second-queue\": { \"queue_type\": \"SQS\", \"message_filter\": { \"who\": \"*you$\" } }, } } } ```" + | doc "```json { \"feature\": { \"split_queues\": { \"first-queue\": { \"queue_type\": \"SQS\", \"message_filter\": { \"wows\": \"so wows\", \"coolz\": \"^very\" } }, \"second-queue\": { \"queue_type\": \"SQS\", \"message_filter\": { \"who\": \"you$\" } }, \"third-queue\": { \"queue_type\": \"Kafka\", \"message_filter\": { \"who\": \"you$\" } }, \"fourth-queue\": { \"queue_type\": \"Kafka\", \"message_filter\": { \"wows\": \"so wows\", \"coolz\": \"^very\" } }, } } } ```" = _js2n__-prdslib.allOf [ - _js2n__-prdslib.anyOf - [ - _js2n__-prdslib.isType 'Record, - _js2n__-prdslib.isType 'Null - ], + _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record {} {} true _js2n__-refsenv."_js2n__-:definitions/QueueFilter!predicate" ], @@ -2375,6 +2399,16 @@ let rec _js2n__-refsenv ]) ] ], + "_js2n__-:definitions/io.k8s.api.core.v1.ResourceClaim!predicate" + | doc "ResourceClaim references one entry in PodSpec.ResourceClaims." + = _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType 'Record, + _js2n__-prdslib.records.required [ "name" ], + _js2n__-prdslib.records.record + { name = _js2n__-prdslib.isType '"String", } {} true + _js2n__-prdslib.always + ], "_js2n__-:definitions/io.k8s.api.core.v1.ResourceRequirements!predicate" | doc "ResourceRequirements describes the compute resource requirements." = _js2n__-prdslib.allOf @@ -2382,6 +2416,13 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType 'Record, _js2n__-prdslib.records.record { + claims = + _js2n__-prdslib.allOf + [ + _js2n__-prdslib.isType '"Array", + _js2n__-prdslib.arrays.arrayOf + _js2n__-refsenv."_js2n__-:definitions/io.k8s.api.core.v1.ResourceClaim!predicate" + ], limits = _js2n__-prdslib.allOf [ @@ -2418,7 +2459,7 @@ let rec _js2n__-refsenv The serialization format is: - ::= + ``` ::= (Note that may be empty, from the "" case in .) @@ -2430,7 +2471,7 @@ let rec _js2n__-refsenv (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) - ::= "e" | "E" + ::= "e" | "E" ``` No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities. @@ -2438,16 +2479,13 @@ let rec _js2n__-refsenv Before serializing, Quantity will be put in "canonical form". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: - a. No precision is lost - b. No fractional digits will be emitted - c. The exponent (or suffix) is as large as possible. + - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative. Examples: - 1.5 will be serialized as "1500m" - 1.5Gi will be serialized as "1536Mi" + - 1.5 will be serialized as "1500m" - 1.5Gi will be serialized as "1536Mi" Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise. diff --git a/out/release-plz.toml.ncl b/out/release-plz.toml.ncl index b9266f9..a796650 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_branch_prefix = + _js2n__-prdslib.anyOf + [ + _js2n__-prdslib.isType '"String", + _js2n__-prdslib.isType 'Null + ], pr_draft = _js2n__-prdslib.isType '"Bool", pr_labels = _js2n__-prdslib.allOf diff --git a/out/zerops.io import file.ncl b/out/zerops.io import file.ncl index 8a35070..e2d0ce3 100644 --- a/out/zerops.io import file.ncl +++ b/out/zerops.io import file.ncl @@ -998,68 +998,72 @@ let rec _js2n__-refsenv type | std.enum.TagOrString | [| + '"valkey@7.2", + '"ubuntu@22.04", '"static@latest", - '"postgresql@16", - '"nodejs@22", - '"golang@1", + '"static@1.0", + 'static, + 'sharedstorage, + 'shared-storage, + '"rust@nightly", + '"rust@1.78", + '"rust@1", + 'runtime, + '"rabbitmq@3", + '"qdrant@1.10", '"python@3.9", + '"python@3.12", + '"python@3.11", + '"postgresql@16", + '"postgresql@14", + '"postgresql@12", + '"php-nginx@8.3+1.22", + '"php-nginx@8.3", '"php-nginx@8.1+1.22", + '"php-nginx@8.1", + '"php-apache@8.3+2.4", '"php-apache@8.3", - '"keydb@6", - '"alpine@3.19", - '"rust@1", - 'static, - '"nodejs@20", - '"alpine@3.18", - '"java@latest", - '"dotnet@8", - '"3.20", - '"dotnet@6", - '"deno@latest", - '"bun@1.1", - '"bun@1.1.15", - '"ubuntu@22.04", - 'runtime, '"php-apache@8.1+2.4", - '"qdrant@1.10", + '"php-apache@8.1", + '"php-apache@8.0+2.4", 'objectstorage, + 'object-storage, + '"nodejs@22", + '"nodejs@20", + '"nodejs@18", + '"nginx@latest", + '"nginx@1.22", + '"nats@2.10", '"mariadb@10.6", - '"alpine@3.20", - '"22.04", - '"static@1.0", - 'shared-storage, - '"php-nginx@8.1", - '"php-apache@8.0+2.4", + '"keydb@6", + '"kafka@3.8", + '"java@latest", + '"java@21", '"java@17", + 'java, + '"golang@1", + '"go@1.22", '"go@1", - '"3.19", - '"postgresql@14", - '"python@3.12", - '"python@3.11", - '"nodejs@18", - '"java@21", + '"dotnet@8", '"dotnet@7", + '"dotnet@6", + '"deno@latest", + '"deno@2.0.0", + '"deno@2", + '"deno@1.45.5", '"deno@1", - '"rabbitmq@3", - '"php-apache@8.3+2.4", - '"php-apache@8.1", - '"kafka@3.8", '"bun@latest", - '"valkey@7.2", - 'sharedstorage, - '"nginx@latest", - '"postgresql@12", - '"php-nginx@8.3", - '"nginx@1.22", + '"bun@1.1.15", + '"bun@1.1", + '"alpine@3.20", + '"alpine@3.19", + '"alpine@3.18", '"alpine@3.17", - 'object-storage, - 'java, - '"deno@1.45.5", + '"3.20", + '"3.19", '"3.18", - '"php-nginx@8.3+1.22", - '"nats@2.10", - '"go@1.22", - '"3.17" + '"3.17", + '"22.04" |] | doc "Specifies the service type and version.", verticalAutoscaling @@ -1144,63 +1148,168 @@ let rec _js2n__-refsenv [ _js2n__-prdslib.enum [ - "php@8.3", + "22.04", + "3.17", + "3.18", + "3.19", "3.20", + "alpine@3.17", + "alpine@3.18", + "alpine@3.19", "alpine@3.20", - "dotnet@6", - "nodejs@20", - "deno@1", - "golang@latest", - "java@21", - "rust@1", - "ubuntu@latest", - "3.17", + "alpine@latest", + "bun@1.1", "bun@1.1.15", "bun@latest", - "deno@latest", - "php@8.1", - "22.04", + "deno@1", "deno@1.45.5", + "deno@2.0.0", + "deno@latest", + "dotnet@6", "dotnet@7", - "ubuntu@22.04", - "3.18", - "bun@1.1", - "rust@latest", - "java@17", - "php@latest", - "python@3.11", - "python@3.12", - "alpine@3.18", "dotnet@8", + "dotnet@latest", "go@1", - "golang@1", - "python@latest", + "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", - "alpine@3.17", - "alpine@3.19", - "alpine@latest", - "go@1.22", - "rust@nightly", "rust@1.80", - "3.19", - "dotnet@latest", - "java@latest", - "nodejs@22" + "rust@latest", + "rust@nightly", + "ubuntu@22.04", + "ubuntu@latest" ], _js2n__-prdslib.oneOf [ - _js2n__-prdslib.isType - '"String", + _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.isType - '"String") + (_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" + ] + ]) ] ] ], @@ -1276,7 +1385,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", _js2n__-prdslib.enum - [ "ubuntu", "alpine", "" ] + [ "", "alpine", "ubuntu" ] ], prepareCommands = _js2n__-prdslib.allOf @@ -1373,60 +1482,61 @@ let rec _js2n__-refsenv '"String", _js2n__-prdslib.enum [ - "dotnet@6", - "go@1", - "rust@nightly", - "alpine@3.20", - "bun@1.1.15", - "deno@1.45.5", - "go@1.22", - "rust@1", + "22.04", + "3.17", + "3.18", "3.19", - "nodejs@20", - "nodejs@22", - "php-nginx@latest", + "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", - "java@latest", - "ubuntu@22.04", - "golang@1", - "runtime@latest", - "rust@1.80", - "alpine@3.18", - "rust@latest", + "dotnet@8", "dotnet@latest", - "nodejs@latest", - "php-nginx@8.3", - "python@3.12", - "static@latest", - "ubuntu@latest", - "alpine@3.17", + "go@1", + "go@1.22", + "go@latest", + "golang@1", + "golang@latest", + "java@17", "java@21", - "php-apache@latest", - "python@3.11", - "22.04", - "deno@latest", - "php-apache@8.3", + "java@latest", "nginx@1.22", + "nginx@latest", "nodejs@18", + "nodejs@20", + "nodejs@22", + "nodejs@latest", "php-apache@8.1", - "3.17", - "bun@1.1", - "deno@1", - "nginx@latest", + "php-apache@8.3", + "php-apache@latest", + "php-nginx@8.1", + "php-nginx@8.3", + "php-nginx@latest", + "python@3.11", + "python@3.12", "python@latest", + "runtime@latest", + "rust@1", "rust@1.78", - "alpine@3.19", - "3.20", - "golang@latest", + "rust@1.80", + "rust@latest", + "rust@nightly", "static", - "3.18", - "go@latest", - "php-nginx@8.1", - "dotnet@8", - "java@17", - "static@1.0" + "static@1.0", + "static@latest", + "ubuntu@22.04", + "ubuntu@latest" ] ], documentRoot = @@ -1551,7 +1661,7 @@ let rec _js2n__-refsenv _js2n__-prdslib.isType '"String", _js2n__-prdslib.enum - [ "alpine", "", "ubuntu" ] + [ "", "alpine", "ubuntu" ] ], ports = _js2n__-prdslib.allOf diff --git a/out/zerops.yml.ncl b/out/zerops.yml.ncl index 218b3ab..032ef84 100644 --- a/out/zerops.yml.ncl +++ b/out/zerops.yml.ncl @@ -924,60 +924,165 @@ let rec _js2n__-refsenv [ _js2n__-prdslib.enum [ - "go@1.22", - "java@17", - "php@latest", - "rust@1.80", - "ubuntu@22.04", - "deno@1.45.5", - "golang@latest", - "java@21", - "ubuntu@latest", - "3.19", - "alpine@latest", - "rust@1", - "rust@latest", + "22.04", + "3.17", "3.18", + "3.19", + "3.20", + "alpine@3.17", + "alpine@3.18", + "alpine@3.19", "alpine@3.20", - "nodejs@22", + "alpine@latest", + "bun@1.1", + "bun@1.1.15", + "bun@latest", + "deno@1", + "deno@1.45.5", + "deno@2.0.0", "deno@latest", - "nodejs@20", + "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", - "python@3.11", - "python@3.12", - "rust@nightly", - "3.17", - "alpine@3.18", + "nodejs@20", + "nodejs@22", "nodejs@latest", "php@8.1", "php@8.3", - "bun@1.1.15", - "dotnet@8", - "deno@1", - "dotnet@7", - "dotnet@latest", - "go@1", - "golang@1", - "rust@1.78", - "3.20", - "bun@latest", - "alpine@3.19", - "bun@1.1", - "dotnet@6", + "php@latest", + "python@3.11", + "python@3.12", "python@latest", - "22.04", - "alpine@3.17" + "rust@1", + "rust@1.78", + "rust@1.80", + "rust@latest", + "rust@nightly", + "ubuntu@22.04", + "ubuntu@latest" ], _js2n__-prdslib.oneOf [ - _js2n__-prdslib.isType '"String", + _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.isType '"String") + (_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" + ] + ]) ] ] ]) @@ -1044,7 +1149,7 @@ let rec _js2n__-refsenv | optional, os | std.enum.TagOrString - | [| 'alpine, 'ubuntu, '"" |] + | [| 'ubuntu, 'alpine, '"" |] | doc "Sets the operating system for the runtime environment." | optional, prepareCommands @@ -1110,60 +1215,61 @@ let rec _js2n__-refsenv base | std.enum.TagOrString | [| - '"php-apache@8.3", - '"deno@1.45.5", - '"python@3.12", - '"python@latest", - '"golang@1", - '"go@1.22", - '"3.19", - '"alpine@3.18", - '"nodejs@22", - '"nginx@1.22", - '"go@latest", - '"dotnet@latest", + '"ubuntu@latest", + '"ubuntu@22.04", + '"static@latest", + '"static@1.0", 'static, - '"nodejs@18", - '"golang@latest", + '"rust@nightly", + '"rust@latest", + '"rust@1.80", + '"rust@1.78", + '"rust@1", '"runtime@latest", + '"python@latest", + '"python@3.12", '"python@3.11", - '"static@latest", - '"rust@1.78", - '"bun@latest", - '"3.18", - '"22.04", + '"php-nginx@latest", + '"php-nginx@8.3", '"php-nginx@8.1", + '"php-apache@latest", + '"php-apache@8.3", + '"php-apache@8.1", + '"nodejs@latest", + '"nodejs@22", + '"nodejs@20", + '"nodejs@18", + '"nginx@latest", + '"nginx@1.22", '"java@latest", '"java@21", + '"java@17", + '"golang@latest", + '"golang@1", + '"go@latest", + '"go@1.22", + '"go@1", + '"dotnet@latest", + '"dotnet@8", + '"dotnet@7", + '"dotnet@6", + '"deno@latest", + '"deno@2.0.0", + '"deno@1.45.5", '"deno@1", - '"rust@latest", - '"nginx@latest", + '"bun@latest", '"bun@1.1.15", - '"php-nginx@latest", + '"bun@1.1", '"alpine@latest", + '"alpine@3.20", + '"alpine@3.19", + '"alpine@3.18", + '"alpine@3.17", '"3.20", + '"3.19", + '"3.18", '"3.17", - '"php-nginx@8.3", - '"nodejs@20", - '"dotnet@6", - '"deno@latest", - '"bun@1.1", - '"php-apache@latest", - '"java@17", - '"dotnet@8", - '"alpine@3.19", - '"ubuntu@latest", - '"static@1.0", - '"dotnet@7", - '"alpine@3.20", - '"ubuntu@22.04", - '"rust@1.80", - '"go@1", - '"rust@nightly", - '"rust@1", - '"php-apache@8.1", - '"nodejs@latest", - '"alpine@3.17" + '"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." | optional, @@ -1252,7 +1358,7 @@ let rec _js2n__-refsenv | optional, os | std.enum.TagOrString - | [| '"", 'alpine, 'ubuntu |] + | [| 'ubuntu, 'alpine, '"" |] | doc "Sets the operating system for the runtime environment." | optional, ports