@scalar/cli 2.14.0 → 2.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -1
- package/chunks/{action-XA4MEYFP.js → action-2UZWKMSJ.js} +6 -6
- package/chunks/{action-EPGLU5E3.js → action-3QQSKGM3.js} +6 -6
- package/chunks/{action-VS22CPVB.js → action-3W4IC7QL.js} +6 -6
- package/chunks/{action-MJI3TI3W.js → action-777R7LOG.js} +10 -9
- package/chunks/{action-APTGKF4W.js → action-7LK4RUDP.js} +11 -10
- package/chunks/{action-RRQNVUFW.js → action-B2WWTOF6.js} +6 -6
- package/chunks/{action-FOITEQNQ.js → action-ENDUKGWS.js} +6 -6
- package/chunks/{action-OP5DCAHN.js → action-G2WBTXOK.js} +3 -3
- package/chunks/{action-Y4MKBDRC.js → action-HDT7EO7W.js} +8 -8
- package/chunks/{action-SCOJRZKD.js → action-HOCCP353.js} +2 -2
- package/chunks/{action-FLX3ESH7.js → action-IU2AVNOW.js} +11 -10
- package/chunks/{action-DJXZWPL7.js → action-IUAYC2SC.js} +1 -1
- package/chunks/{action-VEP7LZPN.js → action-JNH4DCZX.js} +4 -4
- package/chunks/{action-4HYLZRYW.js → action-LD5B5QQ4.js} +14 -13
- package/chunks/{action-EYOZ457H.js → action-MBAAYXKK.js} +4 -4
- package/chunks/{action-GOFCT7XK.js → action-MJHLG7AE.js} +14 -13
- package/chunks/{action-4MJXPSQU.js → action-NZJ4Z64U.js} +6 -6
- package/chunks/{action-VY3DRAO4.js → action-P2RPH5R2.js} +3 -3
- package/chunks/{action-BL5PWLFV.js → action-PDSSIW2A.js} +9 -9
- package/chunks/{action-C7CNI7TP.js → action-PNSWHIHC.js} +5 -5
- package/chunks/{action-VW2POHCL.js → action-QJMRAFOF.js} +7 -6
- package/chunks/{action-ZOU7EPX5.js → action-T7SD3ETN.js} +6 -6
- package/chunks/{action-VAJSWBMD.js → action-TY4BZEMN.js} +6 -6
- package/chunks/{action-P2QEJUBK.js → action-ZTLOQZTT.js} +8 -7
- package/chunks/actions-D5OHPBWC.js +327 -0
- package/chunks/{actions-PBYTDEMH.js → actions-RI42JY6H.js} +27 -6
- package/chunks/{asyncapi-KCA6ZH3Q.js → asyncapi-YBTWMTW6.js} +3 -3
- package/chunks/{build.action-54FHG7VL.js → build.action-4YDNDBXC.js} +8 -8
- package/chunks/{chunk-AAWPGVMG.js → chunk-42MIV6WF.js} +1 -1
- package/chunks/{chunk-GO3TSREI.js → chunk-7FGJIUDN.js} +3 -3
- package/chunks/{chunk-WKMOUBQJ.js → chunk-ANP5XF26.js} +1257 -1019
- package/chunks/{chunk-H5AMMMQ3.js → chunk-BMQFEKHA.js} +113 -8
- package/chunks/{chunk-VJ7FHLN4.js → chunk-DLYMDGFW.js} +1 -1
- package/chunks/{chunk-3CRO6NY4.js → chunk-DWJMPHLY.js} +1 -1
- package/chunks/{chunk-S3U2VMVL.js → chunk-ERZ3HYB5.js} +0 -94
- package/chunks/{chunk-DTZBE4ZX.js → chunk-G5WWW7VD.js} +2 -2
- package/chunks/{chunk-QTMJ3VUZ.js → chunk-GOKHFNB2.js} +2 -2
- package/chunks/{chunk-WZUA7IAV.js → chunk-IPWJEGPD.js} +2 -2
- package/chunks/{chunk-2SBHCZPG.js → chunk-KOLEQNLG.js} +1 -1
- package/chunks/{chunk-WZSU45SV.js → chunk-MGGMCT77.js} +1 -1
- package/chunks/{chunk-KZSM2SUL.js → chunk-QXOUDBFK.js} +2 -2
- package/chunks/{chunk-7ZDC34NA.js → chunk-SHRUJFQI.js} +3 -1
- package/chunks/{chunk-KKHTS43A.js → chunk-T76K7QNX.js} +2 -2
- package/chunks/{chunk-KXMZXTLK.js → chunk-TR5U7G7T.js} +2 -1
- package/chunks/{chunk-42YF4H6W.js → chunk-TW2UASEW.js} +1 -1
- package/chunks/chunk-VBHPHAGS.js +114 -0
- package/chunks/{chunk-PRW5TKYS.js → chunk-Y6GKZ2FM.js} +1 -1
- package/chunks/{chunk-F5Q7FJRG.js → chunk-Z6HOHGUJ.js} +17 -0
- package/chunks/{create.action-NB3YYZ7K.js → create.action-52K3XAYN.js} +8 -8
- package/chunks/{delete.action-5BT3TXVZ.js → delete.action-3NMOQPIR.js} +8 -8
- package/chunks/{delete.action-DWMQYW62.js → delete.action-47LPLTOX.js} +8 -8
- package/chunks/{diff.action-ENOOLRRB.js → diff.action-5TLC2EHT.js} +8 -7
- package/chunks/{get.action-55JDC2MJ.js → get.action-BCMLG7C7.js} +8 -7
- package/chunks/{get.action-2ASGSZW3.js → get.action-TOZ474GO.js} +8 -8
- package/chunks/{list.action-NCG6Q6S2.js → list.action-6ZWEENT6.js} +9 -9
- package/chunks/{list.action-6QBQFGVR.js → list.action-CMAA5KTY.js} +8 -8
- package/chunks/{publish.action-4Y5EXBOY.js → publish.action-U3VIU5LZ.js} +11 -10
- package/chunks/{update.action-6OE54B5O.js → update.action-QZOP25ME.js} +8 -8
- package/chunks/{update.action-4V6MQMWG.js → update.action-UQHZYVTP.js} +8 -8
- package/index.js +175 -114
- package/package.json +1 -1
- package/skills/scalar-cli/SKILL.md +8 -1
- package/template.md +31 -0
|
@@ -42,7 +42,7 @@ var sdkTrackedApiVersionSpec = (sdk) => sdk.apiVersion ?? (findOpenSdkDraft(sdkV
|
|
|
42
42
|
// ../../packages/entities/dist/sdk/scalar-config.js
|
|
43
43
|
import yaml from "yaml";
|
|
44
44
|
|
|
45
|
-
// ../../node_modules/.pnpm/@scalar+sdk-config@0.
|
|
45
|
+
// ../../node_modules/.pnpm/@scalar+sdk-config@0.64.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/scalar-sdk.config.schema.json
|
|
46
46
|
var scalar_sdk_config_schema_default = {
|
|
47
47
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
48
48
|
$id: "https://registry.scalar.com/@scalar/schemas/sdk-config",
|
|
@@ -445,7 +445,7 @@ var scalar_sdk_config_schema_default = {
|
|
|
445
445
|
type: "string",
|
|
446
446
|
pattern: "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
447
447
|
},
|
|
448
|
-
description: 'Per-target name of the streaming method a `paramDiscriminator` adds beside the buffered one, keyed by target language and spelled as that target spells it (`{"ruby": "stream_raw"}`). A target without an entry uses its own default, such as `create_streaming` in Ruby and C++, `createStreaming` in Kotlin, Java and
|
|
448
|
+
description: 'Per-target name of the streaming method a `paramDiscriminator` adds beside the buffered one, keyed by target language and spelled as that target spells it (`{"ruby": "stream_raw"}`). A target without an entry uses its own default, such as `create_streaming` in Ruby and C++, `createStreaming` in Kotlin, Java, Dart and Swift, or `createStream` in PHP. Only the Ruby, C++, PHP, Kotlin, Java, Dart and Swift targets read it today.'
|
|
449
449
|
},
|
|
450
450
|
skip: {
|
|
451
451
|
$ref: "#/$defs/targetLanguageArray",
|
|
@@ -539,7 +539,7 @@ var scalar_sdk_config_schema_default = {
|
|
|
539
539
|
additionalProperties: {
|
|
540
540
|
type: "string"
|
|
541
541
|
},
|
|
542
|
-
description: "
|
|
542
|
+
description: "Events this helper decodes, keyed by each event's name: the webhook operation's `operationId` when it has one, otherwise the webhook's key under `webhooks`. Only the keys select events; the value is descriptive. An empty map selects every top-level webhook. A key that names no event selects nothing and is reported with a `Config/WebhookUnknownEventType` warning."
|
|
543
543
|
},
|
|
544
544
|
webhookKeyOpt: {
|
|
545
545
|
anyOf: [
|
|
@@ -588,6 +588,13 @@ var scalar_sdk_config_schema_default = {
|
|
|
588
588
|
"x-scalar-stability": "experimental",
|
|
589
589
|
description: "Experimental: may change in a later release. Name of the per-call argument that overrides the client's signing key, before target casing, e.g. `secret`. Defaults to `key`. TypeScript, Python and Ruby name that argument of the parse method and its verifying companions with it. The other targets keep their own spelling: Java, Kotlin, PHP and Swift already call it `secret`, and the rest take the key positionally. It must be a lowercase snake_case identifier, with no leading, trailing or doubled underscore (target casing drops those, so `payload_` would become `payload`), that is not `headers`, `body`, `payload`, a keyword of a generated language, or a name the generated helpers already bind (`wh`, `json`, `cast`, `get_required_header`, \u2026)."
|
|
590
590
|
},
|
|
591
|
+
bytesKey: {
|
|
592
|
+
type: "string",
|
|
593
|
+
enum: ["raw", "utf8"],
|
|
594
|
+
default: "raw",
|
|
595
|
+
"x-scalar-stability": "experimental",
|
|
596
|
+
description: "Experimental: may change in a later release. How the Python parse method reads a per-call key passed as `bytes`; its verifying companions always use `bytes` as the raw HMAC key. `raw` (the default) uses the bytes as the HMAC key itself, as the Standard Webhooks library does. `utf8` decodes them as UTF-8 and reads the text as a `str` key is read: an optional `whsec_` prefix stripped, the rest base64-decoded. Set `utf8` when callers pass the dashboard's secret as bytes (read from a file or `os.environb`). Only Python distinguishes a `bytes` key; the other targets take the key as a string and ignore this."
|
|
597
|
+
},
|
|
591
598
|
typeName: {
|
|
592
599
|
type: "string",
|
|
593
600
|
pattern: "[Ee]vent$",
|
|
@@ -853,7 +860,7 @@ var scalar_sdk_config_schema_default = {
|
|
|
853
860
|
$ref: "#/$defs/signedUrlDefault"
|
|
854
861
|
},
|
|
855
862
|
"x-scalar-stability": "experimental",
|
|
856
|
-
description: 'Experimental: may change in a later release. Values filled in when the caller leaves a param out, keyed by the param\'s name; usually an expiry. `{ "now": "<duration>" }` is the current UTC time plus an ISO 8601 duration, written in the param\'s format: a `date-time` string param gets an RFC 3339 time (`2026-01-01T00:01:00Z`), and an integer param with no `format`, `int64` or `unix-time` gets Unix seconds (`1767225660`). No other param takes a default: an `int32` integer overflows in 2038, another `format` such as `unix-time-ms` counts a different unit, and an integer whose `maximum` is below any current Unix time holds something else, such as a lifetime in seconds. Defaults apply to a copy of the caller\'s params, and a param that has one is optional in the method\'s params. A defaulted param must be sent: read by a query field, held by a path placeholder, or serialized into a payload a query field carries. When the URL is signed it must be signed too (read by a query field the `"query"` part signs, serialized into a signed `"payload"`, or a placeholder of a signed `"path"`), since an expiry that is sent but not signed could be pushed out by anyone holding the URL; a method that breaks either rule is not generated. A JSON Schema `default` in `params` is never filled in, since it can hold only a fixed value; a time relative to the call goes here. Example: `{ "expiration": { "now": "PT1M" } }` makes the link expire one minute after it is built.'
|
|
863
|
+
description: 'Experimental: may change in a later release. Values filled in when the caller leaves a param out, keyed by the param\'s name; usually an expiry. `{ "now": "<duration>" }` is the current UTC time plus an ISO 8601 duration, written in the param\'s format: a `date-time` string param gets an RFC 3339 time (`2026-01-01T00:01:00Z`), and an integer param with no `format`, `int64` or `unix-time` gets Unix seconds (`1767225660`). No other param takes a default: an `int32` integer overflows in 2038, another `format` such as `unix-time-ms` counts a different unit, and an integer whose `maximum` is below any current Unix time holds something else, such as a lifetime in seconds. Defaults apply to a copy of the caller\'s params, and a param that has one is optional in the method\'s params. A defaulted param must be sent: read by a query field, held by a path placeholder, or serialized into a payload a query field carries. When the URL is signed it must be signed too (read by a query field the `"query"` part signs, serialized into a signed `"payload"`, or a placeholder of a signed `"path"`), since an expiry that is sent but not signed could be pushed out by anyone holding the URL; a method that breaks either rule is not generated. A JSON Schema `default` in `params` is never filled in, since it can hold only a fixed value; a time relative to the call goes here. A default\'s `skip` leaves it out of the targets it names. Example: `{ "expiration": { "now": "PT1M" } }` makes the link expire one minute after it is built, and `{ "expiration": { "now": "PT1M", "skip": ["go"] } }` does so everywhere but Go.'
|
|
857
864
|
}
|
|
858
865
|
},
|
|
859
866
|
required: ["endpoint"],
|
|
@@ -986,6 +993,11 @@ var scalar_sdk_config_schema_default = {
|
|
|
986
993
|
pattern: "^P(?=\\d|T\\d)(\\d+W)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+S)?)?$",
|
|
987
994
|
"x-scalar-stability": "experimental",
|
|
988
995
|
description: 'Experimental: may change in a later release. An ISO 8601 duration added to the current UTC time: `PT1M` (one minute), `PT15M`, `P1D`, `P1DT12H`. Weeks, days, hours, minutes and whole seconds only: years and months vary in length, and every SDK must add the same number of seconds, so `P1M` (one month) is refused, and one minute is `PT1M`. A fraction of a second is refused too, since a signed time is written to the whole second. It must be longer than zero (`PT0S` would expire as it is made) and at most 100 years (`P36525D`), the furthest every SDK can count. Example: `"PT1M"`.'
|
|
996
|
+
},
|
|
997
|
+
skip: {
|
|
998
|
+
$ref: "#/$defs/targetLanguageArray",
|
|
999
|
+
"x-scalar-stability": "experimental",
|
|
1000
|
+
description: 'Experimental: may change in a later release. Targets that leave this default out: there a caller who leaves the param out sends none, so a time param such as an expiry is not filled and the URL carries no expiry of its own. Every other target fills it. The param stays optional in every target, so a default that lists `skip` must fill a param the caller may already leave out: not a path placeholder, and not one a query field writes into a query parameter the API description requires; either one fails generation with `Config/InvalidSignedUrl`, since a target that skips the default would build a URL without it. Example: `["go", "java", "kotlin"]`.'
|
|
989
1001
|
}
|
|
990
1002
|
},
|
|
991
1003
|
required: ["now"],
|
|
@@ -1086,7 +1098,7 @@ var scalar_sdk_config_schema_default = {
|
|
|
1086
1098
|
maxLength: 200
|
|
1087
1099
|
},
|
|
1088
1100
|
minProperties: 1,
|
|
1089
|
-
description: 'A language-native type per target, keyed by target language id, used in place of the type the JSON Schema would generate: `{ "python": "httpx.URL", "go": "*url.URL" }`. The value is pasted into generated code, so each target accepts only a qualified type name in its own spelling: dotted identifiers (`httpx.URL`, `java.net.URI`), a Go pointer to a package-qualified name (`*url.URL`), a `::` path in Rust and C++ (`url::Url`), or a backslash-qualified PHP class (`\\\\Psr\\\\Http\\\\Message\\\\UriInterface`). Generic arguments, arrays and whitespace are refused when the config loads. The SDK must be able to name the type: a type the language ships with, or one from a dependency the SDK already has.'
|
|
1101
|
+
description: 'A language-native type per target, keyed by target language id, used in place of the type the JSON Schema would generate: `{ "python": "httpx.URL", "go": "*url.URL" }`. The value is pasted into generated code, so each target accepts only a qualified type name in its own spelling: dotted identifiers (`httpx.URL`, `java.net.URI`), a Go pointer to a package-qualified name (`*url.URL`) or a Go slice of one (`[]byte`), a `::` path in Rust and C++ (`url::Url`), or a backslash-qualified PHP class (`\\\\Psr\\\\Http\\\\Message\\\\UriInterface`). Generic arguments, arrays (Go\'s `[]` slice prefix aside) and whitespace are refused when the config loads. The SDK must be able to name the type: a type the language ships with, or one from a dependency the SDK already has.'
|
|
1090
1102
|
},
|
|
1091
1103
|
methodReturns: {
|
|
1092
1104
|
type: "object",
|
|
@@ -1099,7 +1111,7 @@ var scalar_sdk_config_schema_default = {
|
|
|
1099
1111
|
native: {
|
|
1100
1112
|
$ref: "#/$defs/nativeTypes",
|
|
1101
1113
|
"x-scalar-stability": "experimental",
|
|
1102
|
-
description: 'Experimental: may change in a later release. Reserved: a language-native return type per target, to replace the type the schema would generate there (`httpx.URL` instead of `str`). Python, Go, Ruby, PHP, Kotlin, Java, C#, C
|
|
1114
|
+
description: 'Experimental: may change in a later release. Reserved: a language-native return type per target, to replace the type the schema would generate there (`httpx.URL` instead of `str`). Python, Go, Ruby, PHP, Kotlin, Java, C#, C++, Dart, Swift and Rust read it for a `return` method, and Go for a `fetch` method too. Python takes `str` or `httpx.URL`, and refuses any other name when the SDK is generated. Ruby parses the URL into the type it names (`URI::HTTPS`, through `URI.parse`; any other class through its own `parse`). In PHP, `Psr\\Http\\Message\\UriInterface` returns the URL built through the client\'s URI factory, `string` the string, and any other class name fails PHP generation, since the SDK has no way to build it. In Swift, `URL` or `URLComponents` (either one `Foundation.`-qualified) returns the URL parsed into that type, and the method can then also throw `ClientError` with `.invalidURL`; any other name returns the `String`. Kotlin and Java take `java.net.URI`, `java.net.URL` or `String`, C# `System.Uri` or `string`, and C++ `std::string` or `std::filesystem::path`; each fails generation for any other type. Go takes `*url.URL` or `string` for a `return` method, and `[]byte` (the fetched body\'s bytes, whatever its schema says it holds) or `string` (its text) for a `fetch` method, which without one returns the body as its schema says, a text body as `string`; Go fails generation for any other type too. Dart returns a `Uri` for `Uri` (through `Uri.parse`) and the string for `String`, and fails generation on any other type. In Rust, `url::Url` and `http::Uri` return the URL parsed into that type, `String` the string, and any other type fails Rust generation, since the SDK has no way to build it. Every other target that renders signed URLs returns the string; a value is still checked when the config loads, as a qualified type name in that target\'s own spelling. Example: `{ "python": "httpx.URL", "go": "*url.URL" }`.'
|
|
1103
1115
|
}
|
|
1104
1116
|
},
|
|
1105
1117
|
additionalProperties: {},
|
|
@@ -1141,7 +1153,7 @@ var scalar_sdk_config_schema_default = {
|
|
|
1141
1153
|
},
|
|
1142
1154
|
bodyContentType: {
|
|
1143
1155
|
type: "string",
|
|
1144
|
-
description: "Request body media type this public method should send when an OpenAPI operation has multiple content variants."
|
|
1156
|
+
description: "Request body media type this public method should send when an OpenAPI operation has multiple content variants. Several methods on one endpoint may each choose a different one. A media type the operation does not declare leaves the method out and is reported as `Config/UnknownBodyContentType`."
|
|
1145
1157
|
},
|
|
1146
1158
|
unwrapResponse: {
|
|
1147
1159
|
anyOf: [
|
|
@@ -1826,7 +1838,7 @@ var scalar_sdk_config_schema_default = {
|
|
|
1826
1838
|
typeAliases: {
|
|
1827
1839
|
type: "array",
|
|
1828
1840
|
items: { $ref: "#/$defs/typeScriptTypeAlias" },
|
|
1829
|
-
description: "Extra type names declared in generated resource modules, so an import or annotation an already-published TypeScript SDK shipped keeps compiling after the type it named moved or was renamed, e.g. `PartListResponse` for `PartList.Data` in `resources/widgets/parts`. Each entry appends `export type <name> = <to>;` to `module
|
|
1841
|
+
description: "Extra type names declared in generated resource modules, so an import or annotation an already-published TypeScript SDK shipped keeps compiling after the type it named moved or was renamed, e.g. `PartListResponse` for `PartList.Data` in `resources/widgets/parts`. Each entry appends `export type <name> = <to>;` to `module`. When `to` is a page type the module declares, it also appends `export const <name> = <PageClass>;`, binding the page class that type instantiates (such as `CursorPage`) so `page instanceof <name>` keeps compiling. The resource namespaces attach that value at runtime and the resource barrels re-export it as a value; the client namespace keeps only the type. The name is re-exported wherever that module's types are: the resource's own `export declare namespace`, its direct parent's namespace, and the resource barrels beside it. For a root resource module that parent is the client namespace. Deeper ancestors reach a nested module's alias through the nested namespace path (`Client.Widgets.Parts.PartListResponse`), not under their own name. Generation fails when `module` is not a resource module this SDK generates, when `to` is not a type `module` itself declares, when `module` already binds `name`, when another module already exports `name` or a generated class carries it (the shared namespaces and barrels would otherwise rename that type), or when `name` is a global type generated modules may use unqualified, such as `Array`, `Response`, `Blob` or `Date`. A stale entry is therefore caught when it stops resolving, rather than shipping without the name or renaming another type."
|
|
1830
1842
|
}
|
|
1831
1843
|
}
|
|
1832
1844
|
},
|
|
@@ -1861,7 +1873,7 @@ var scalar_sdk_config_schema_default = {
|
|
|
1861
1873
|
properties: {
|
|
1862
1874
|
crate_name: {
|
|
1863
1875
|
type: "string",
|
|
1864
|
-
description: "Cargo crate name override (kebab-case). Defaults to the target packageName."
|
|
1876
|
+
description: "Cargo crate name override (kebab-case). Defaults to the target packageName, then the bare SDK slug. Gets the same `-sdk` suffix as `packageName` when its crate identifier would be a Rust keyword, a standard-library crate, or one of the crate's own dependencies."
|
|
1865
1877
|
},
|
|
1866
1878
|
package_repository: {
|
|
1867
1879
|
type: "string",
|
|
@@ -2523,7 +2535,7 @@ var scalar_sdk_config_schema_default = {
|
|
|
2523
2535
|
},
|
|
2524
2536
|
binaries: {
|
|
2525
2537
|
$ref: "#/$defs/publishRegistryConfig",
|
|
2526
|
-
description: "Standalone executable publishing configuration for CLI packages. Attaches cross-compiled Linux, macOS, and Windows binaries to the GitHub Release; each embeds its runtime, so they need no Node install. Replaces the former `macos` key, which is migrated automatically.\n\nThere is no registry and no account to set up: the binaries are uploaded to the release in the destination repository itself with the workflow's ambient `GITHUB_TOKEN`, so this needs no secret and `authMethod` is unused.\n\nEach release builds `linux-x64`, `linux-arm64`, `darwin-x64`, `darwin-arm64`, and `windows-x64`, attached as `<binary>-<platform>.tar.gz` (`.zip` on Windows). The asset names carry no version, so `https://github.com/<owner>/<repo>/releases/latest/download/<binary>-<platform>.tar.gz` always points at the newest release; re-running a release replaces the assets.\n\nWhen the destination is a GitHub `owner/repo`, the generated repository also gets an `install.sh` at its root, attached to every release beside a `checksums.txt` that covers it and the archives, so `curl -fsSL https://github.com/<owner>/<repo>/releases/latest/download/install.sh | bash` installs the binary for the machine into `~/.local/bin`."
|
|
2538
|
+
description: "Standalone executable publishing configuration for CLI packages. Attaches cross-compiled Linux, macOS, and Windows binaries to the GitHub Release; each embeds its runtime, so they need no Node install. Replaces the former `macos` key, which is migrated automatically.\n\nThere is no registry and no account to set up: the binaries are uploaded to the release in the destination repository itself with the workflow's ambient `GITHUB_TOKEN`, so this needs no secret and `authMethod` is unused.\n\nEach release builds `linux-x64`, `linux-arm64`, `darwin-x64`, `darwin-arm64`, and `windows-x64`, attached as `<binary>-<platform>.tar.gz` (`.zip` on Windows). The asset names carry no version, so `https://github.com/<owner>/<repo>/releases/latest/download/<binary>-<platform>.tar.gz` always points at the newest release; re-running a release replaces the assets.\n\nWhen the destination is a GitHub `owner/repo`, the generated repository also gets an `install.sh` at its root, attached to every release beside a `checksums.txt` that covers it and the archives, so `curl -fsSL https://github.com/<owner>/<repo>/releases/latest/download/install.sh | bash` installs the binary for the machine into `~/.local/bin` (`<COMMAND>_INSTALL_DIR` picks another directory). When that directory is not on `PATH`, the script appends one line to the startup file of the user's shell \u2014 `.zshrc` in `$ZDOTDIR` (or `~`) for zsh, `~/.bashrc` for bash on Linux, the login file bash already reads on macOS (`~/.bash_profile` when there is none), `conf.d/<binary>.fish` for fish, and `~/.profile` for other POSIX shells \u2014 and prints the line that does the same in the current terminal. The line names the directory's real location, with any symlink resolved, so a link cannot later be pointed elsewhere. Re-running the script adds nothing, and `<binary> uninstall` names the line among what removing the executable leaves behind. The script leaves startup files alone, and says which check declined, when `<COMMAND>_NO_MODIFY_PATH` is set or when the shell is not one of those above; it then prints the line to add by hand. As root with a `$HOME` root does not own, as `sudo` can leave it, it declines without judging the directory, offers no line to paste, and says to run it as the home directory's owner; root in a home of its own, as in a container build or under `sudo -i`, is treated like any user. It also declines, and offers no line to paste whatever else declined, when the directory is relative, when it or any directory above it is not owned by the user or root or is writable by everyone (which rules out anything under `/tmp`), or when the directory contains a colon or \u2014 outside the home directory, which is written as `$HOME` \u2014 anything but ASCII letters, digits and `/ . _ + @ -`."
|
|
2527
2539
|
},
|
|
2528
2540
|
homebrew: {
|
|
2529
2541
|
$ref: "#/$defs/homebrewPublishConfig",
|
|
@@ -2619,7 +2631,7 @@ var scalar_sdk_config_schema_default = {
|
|
|
2619
2631
|
},
|
|
2620
2632
|
packageName: {
|
|
2621
2633
|
type: "string",
|
|
2622
|
-
description: "Rust crate name."
|
|
2634
|
+
description: "Rust crate name. Defaults to the bare SDK slug; a name whose crate identifier would be a Rust keyword, a standard-library crate (`std`, `core`, `alloc`, `test`, `proc_macro`), or one of the crate's own dependencies (`url`, `bytes`, `serde`, ...) gets a `-sdk` suffix."
|
|
2623
2635
|
},
|
|
2624
2636
|
options: {
|
|
2625
2637
|
$ref: "#/$defs/rustTargetOptions",
|
|
@@ -3031,7 +3043,7 @@ var scalar_sdk_config_schema_default = {
|
|
|
3031
3043
|
},
|
|
3032
3044
|
sendAsPathParam: {
|
|
3033
3045
|
type: "string",
|
|
3034
|
-
description: "Path parameter wire name this option fills. Every method whose path declares that parameter reads it from the client instead of taking it as an argument, and a request needing it fails with an error naming this option when it was never set. A parameter carrying `x-fern-sdk-variable: <option name>` is bound whatever its wire name, and once a document marks any parameter for this option only marked ones are bound. Supported by the TypeScript, Python, Java, Kotlin, C++, PHP, Dart and CLI targets (the CLI as a global flag); the others keep the parameter on each method."
|
|
3046
|
+
description: "Path parameter wire name this option fills. Every method whose path declares that parameter reads it from the client instead of taking it as an argument, and a request needing it fails with an error naming this option when it was never set. A parameter carrying `x-fern-sdk-variable: <option name>` is bound whatever its wire name, and once a document marks any parameter for this option only marked ones are bound. Supported by the TypeScript, Python, Java, Kotlin, C++, PHP, Dart, Swift and CLI targets (the CLI as a global flag); the others keep the parameter on each method."
|
|
3035
3047
|
},
|
|
3036
3048
|
requiredInTests: {
|
|
3037
3049
|
const: true,
|
|
@@ -3307,6 +3319,13 @@ var scalar_sdk_config_schema_default = {
|
|
|
3307
3319
|
type: "string",
|
|
3308
3320
|
description: "Package license identifier used for generated package metadata and LICENSE files."
|
|
3309
3321
|
},
|
|
3322
|
+
description: {
|
|
3323
|
+
type: "string",
|
|
3324
|
+
minLength: 1,
|
|
3325
|
+
maxLength: 512,
|
|
3326
|
+
pattern: "\\S",
|
|
3327
|
+
description: "One-line package description written to the generated package manifests in place of the one derived from the document: `pyproject.toml` `description`, `package.json` `description` (the SDK's and the CLI's), Composer `description`, the Maven POM `description` the Java and Kotlin targets publish, and the CLI man page's description paragraph. When unset, these take the OpenAPI `info.summary`, then the first prose paragraph of `info.description`, then a generic sentence naming the SDK when the document has neither. Whitespace, line breaks included, and control characters are collapsed to single spaces. At most 512 characters, PyPI's limit. Cargo, RubyGems, pub.dev and NuGet keep their fixed sentence naming the API."
|
|
3328
|
+
},
|
|
3310
3329
|
keywords: {
|
|
3311
3330
|
type: "array",
|
|
3312
3331
|
maxItems: 5,
|
|
@@ -3827,7 +3846,7 @@ var scalar_sdk_config_schema_default = {
|
|
|
3827
3846
|
// ../../node_modules/.pnpm/@scalar+helpers@0.11.3/node_modules/@scalar/helpers/dist/json/escape-json-pointer.js
|
|
3828
3847
|
var escapeJsonPointer = (str) => str.replace(/~/g, "~0").replace(/\//g, "~1");
|
|
3829
3848
|
|
|
3830
|
-
// ../../node_modules/.pnpm/@scalar+sdk-config@0.
|
|
3849
|
+
// ../../node_modules/.pnpm/@scalar+sdk-config@0.64.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/reads/option-stability.js
|
|
3831
3850
|
var collectExperimental = (node, pointer, found) => {
|
|
3832
3851
|
if (Array.isArray(node)) {
|
|
3833
3852
|
for (const [index, child] of node.entries())
|
|
@@ -3852,12 +3871,12 @@ var EXPERIMENTAL_OPTIONS = Object.freeze((() => {
|
|
|
3852
3871
|
return found;
|
|
3853
3872
|
})());
|
|
3854
3873
|
|
|
3855
|
-
// ../../node_modules/.pnpm/@scalar+sdk-config@0.
|
|
3874
|
+
// ../../node_modules/.pnpm/@scalar+sdk-config@0.64.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/reads/reserved-publish-keys.js
|
|
3856
3875
|
var RESERVED_PUBLISH_KEYS = ["signing"];
|
|
3857
3876
|
var reserved = new Set(RESERVED_PUBLISH_KEYS);
|
|
3858
3877
|
var isReservedPublishKey = (key) => reserved.has(key);
|
|
3859
3878
|
|
|
3860
|
-
// ../../node_modules/.pnpm/@scalar+sdk-config@0.
|
|
3879
|
+
// ../../node_modules/.pnpm/@scalar+sdk-config@0.64.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/target-languages.js
|
|
3861
3880
|
var TARGET_LANGUAGES = [
|
|
3862
3881
|
"typescript",
|
|
3863
3882
|
"python",
|
|
@@ -3883,16 +3902,58 @@ var SIGNED_URL_TARGETS = {
|
|
|
3883
3902
|
* path from it.
|
|
3884
3903
|
*/
|
|
3885
3904
|
"request+upload": ["typescript", "python", "go", "java", "kotlin", "ruby", "php", "cli"],
|
|
3886
|
-
"request+fetch": [
|
|
3905
|
+
"request+fetch": [
|
|
3906
|
+
"typescript",
|
|
3907
|
+
"python",
|
|
3908
|
+
"go",
|
|
3909
|
+
"java",
|
|
3910
|
+
"kotlin",
|
|
3911
|
+
"ruby",
|
|
3912
|
+
"php",
|
|
3913
|
+
"cli",
|
|
3914
|
+
"csharp",
|
|
3915
|
+
"cpp",
|
|
3916
|
+
"dart",
|
|
3917
|
+
"rust",
|
|
3918
|
+
"swift"
|
|
3919
|
+
],
|
|
3887
3920
|
"request+return": [],
|
|
3888
|
-
"sign+return": [
|
|
3889
|
-
|
|
3921
|
+
"sign+return": [
|
|
3922
|
+
"typescript",
|
|
3923
|
+
"python",
|
|
3924
|
+
"go",
|
|
3925
|
+
"java",
|
|
3926
|
+
"kotlin",
|
|
3927
|
+
"ruby",
|
|
3928
|
+
"php",
|
|
3929
|
+
"cli",
|
|
3930
|
+
"csharp",
|
|
3931
|
+
"cpp",
|
|
3932
|
+
"dart",
|
|
3933
|
+
"rust",
|
|
3934
|
+
"swift"
|
|
3935
|
+
],
|
|
3936
|
+
"sign+fetch": [
|
|
3937
|
+
"typescript",
|
|
3938
|
+
"python",
|
|
3939
|
+
"go",
|
|
3940
|
+
"java",
|
|
3941
|
+
"kotlin",
|
|
3942
|
+
"ruby",
|
|
3943
|
+
"php",
|
|
3944
|
+
"cli",
|
|
3945
|
+
"csharp",
|
|
3946
|
+
"cpp",
|
|
3947
|
+
"dart",
|
|
3948
|
+
"rust",
|
|
3949
|
+
"swift"
|
|
3950
|
+
],
|
|
3890
3951
|
"sign+upload": []
|
|
3891
3952
|
};
|
|
3892
3953
|
var SIGNED_UPLOAD_TARGETS = SIGNED_URL_TARGETS["request+upload"];
|
|
3893
3954
|
var targetLanguageSet = new Set(TARGET_LANGUAGES);
|
|
3894
3955
|
|
|
3895
|
-
// ../../node_modules/.pnpm/@scalar+sdk-config@0.
|
|
3956
|
+
// ../../node_modules/.pnpm/@scalar+sdk-config@0.64.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/target-fields.js
|
|
3896
3957
|
var resolveSchemaRef = (node) => {
|
|
3897
3958
|
if (typeof node !== "object" || node === null)
|
|
3898
3959
|
return void 0;
|
|
@@ -3924,7 +3985,7 @@ var targetsDeclaringField = (field) => {
|
|
|
3924
3985
|
var PACKAGE_NAME_TARGETS = targetsDeclaringField("packageName");
|
|
3925
3986
|
var PRERELEASE_TYPE_TARGETS = targetsDeclaringField("prereleaseType");
|
|
3926
3987
|
|
|
3927
|
-
// ../../node_modules/.pnpm/@scalar+sdk-config@0.
|
|
3988
|
+
// ../../node_modules/.pnpm/@scalar+sdk-config@0.64.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/reads/publish-registries.js
|
|
3928
3989
|
var targetPublishRegistryNodes = (target) => {
|
|
3929
3990
|
const publish = resolveSchemaRef(targetSchemaFields(target)["publish"]);
|
|
3930
3991
|
return publish?.["properties"];
|
|
@@ -3970,7 +4031,7 @@ var targetRegistryOptions = new Map(Object.entries(derivePublishRegistryOptions(
|
|
|
3970
4031
|
new Map(Object.entries(registries))
|
|
3971
4032
|
]));
|
|
3972
4033
|
|
|
3973
|
-
// ../../node_modules/.pnpm/@scalar+sdk-config@0.
|
|
4034
|
+
// ../../node_modules/.pnpm/@scalar+sdk-config@0.64.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/reads/target-stability.js
|
|
3974
4035
|
var STABILITY_VALUES = ["stable", "experimental", "stub"];
|
|
3975
4036
|
var isStability = (value) => typeof value === "string" && STABILITY_VALUES.includes(value);
|
|
3976
4037
|
var TARGET_STABILITY = Object.freeze(Object.fromEntries(TARGET_LANGUAGES.map((language) => {
|
|
@@ -3978,7 +4039,7 @@ var TARGET_STABILITY = Object.freeze(Object.fromEntries(TARGET_LANGUAGES.map((la
|
|
|
3978
4039
|
return [language, isStability(declared) ? declared : "experimental"];
|
|
3979
4040
|
})));
|
|
3980
4041
|
|
|
3981
|
-
// ../../node_modules/.pnpm/@scalar+sdk-config@0.
|
|
4042
|
+
// ../../node_modules/.pnpm/@scalar+sdk-config@0.64.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/reads/target-catalog.js
|
|
3982
4043
|
var PACKAGE_NAME_FIELDS = ["composerPackageName", "gemName", "packageName"];
|
|
3983
4044
|
var targetTitle = (language) => {
|
|
3984
4045
|
const value = targetSchemaNode(language)?.["title"];
|
|
@@ -4002,10 +4063,10 @@ var describeTarget = (language) => {
|
|
|
4002
4063
|
};
|
|
4003
4064
|
var TARGETS = Object.freeze(Object.fromEntries(TARGET_LANGUAGES.map((language) => [language, describeTarget(language)])));
|
|
4004
4065
|
|
|
4005
|
-
// ../../node_modules/.pnpm/@scalar+sdk-config@0.
|
|
4066
|
+
// ../../node_modules/.pnpm/@scalar+sdk-config@0.64.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/coerce-config.js
|
|
4006
4067
|
import { parse as parseYaml } from "yaml";
|
|
4007
4068
|
|
|
4008
|
-
// ../../node_modules/.pnpm/@scalar+sdk-helpers@0.10.
|
|
4069
|
+
// ../../node_modules/.pnpm/@scalar+sdk-helpers@0.10.1/node_modules/@scalar/sdk-helpers/dist/initialisms.js
|
|
4009
4070
|
var DEFAULT_INITIALISMS = [
|
|
4010
4071
|
"acl",
|
|
4011
4072
|
"ach",
|
|
@@ -4119,7 +4180,7 @@ var withInitialisms = (overrides) => {
|
|
|
4119
4180
|
return merged;
|
|
4120
4181
|
};
|
|
4121
4182
|
|
|
4122
|
-
// ../../node_modules/.pnpm/@scalar+sdk-helpers@0.10.
|
|
4183
|
+
// ../../node_modules/.pnpm/@scalar+sdk-helpers@0.10.1/node_modules/@scalar/sdk-helpers/dist/split-into-words.js
|
|
4123
4184
|
var wordCache = /* @__PURE__ */ new Map();
|
|
4124
4185
|
var DIGIT_UPPERCASE_SEAM = /([0-9])([A-Z]+)/g;
|
|
4125
4186
|
var ANY_DIGIT_SEAM = /([0-9])([A-Z])/g;
|
|
@@ -4158,7 +4219,7 @@ var splitIntoWords = (input) => {
|
|
|
4158
4219
|
return words;
|
|
4159
4220
|
};
|
|
4160
4221
|
|
|
4161
|
-
// ../../node_modules/.pnpm/@scalar+sdk-helpers@0.10.
|
|
4222
|
+
// ../../node_modules/.pnpm/@scalar+sdk-helpers@0.10.1/node_modules/@scalar/sdk-helpers/dist/casing.js
|
|
4162
4223
|
var ensureLeadingLetter = (value) => {
|
|
4163
4224
|
if (value.length === 0)
|
|
4164
4225
|
return "_";
|
|
@@ -4281,29 +4342,29 @@ var memoizedCasing = (memo, input, spell) => {
|
|
|
4281
4342
|
};
|
|
4282
4343
|
var configuredPascalCase = (input, overrides = void 0) => memoizedCasing(casingMemoFor(pascalMemos, pascalMemoWithoutOverrides, overrides), input, () => ensureLeadingLetter(joinDigitBoundaryWords(casedPieces(input, overrides, pascalRunSpelling, pascalWord))));
|
|
4283
4344
|
|
|
4284
|
-
// ../../node_modules/.pnpm/@scalar+sdk-helpers@0.10.
|
|
4345
|
+
// ../../node_modules/.pnpm/@scalar+sdk-helpers@0.10.1/node_modules/@scalar/sdk-helpers/dist/proto-names.js
|
|
4285
4346
|
var PROTO_IDENTIFIER_PATTERN = "[A-Za-z_][A-Za-z0-9_]*";
|
|
4286
4347
|
var PROTO_QUALIFIED_NAME_PATTERN = String.raw`${PROTO_IDENTIFIER_PATTERN}(?:\.${PROTO_IDENTIFIER_PATTERN})*`;
|
|
4287
4348
|
var PROTO_IDENTIFIER = new RegExp(`^${PROTO_IDENTIFIER_PATTERN}$`, "u");
|
|
4288
4349
|
var PROTO_QUALIFIED_NAME = new RegExp(`^${PROTO_QUALIFIED_NAME_PATTERN}$`, "u");
|
|
4289
4350
|
|
|
4290
|
-
// ../../node_modules/.pnpm/@scalar+sdk-config@0.
|
|
4351
|
+
// ../../node_modules/.pnpm/@scalar+sdk-config@0.64.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/helpers/resolve-ref.js
|
|
4291
4352
|
import { getResolvedRef, mergeSiblingReferences } from "@scalar/workspace-store/helpers/get-resolved-ref";
|
|
4292
4353
|
|
|
4293
|
-
// ../../node_modules/.pnpm/@scalar+openapi-loader@0.7.
|
|
4354
|
+
// ../../node_modules/.pnpm/@scalar+openapi-loader@0.7.5_typescript@7.0.2/node_modules/@scalar/openapi-loader/dist/assert-supported-openapi.js
|
|
4294
4355
|
import { getResolvedRef as getResolvedRef2, mergeSiblingReferences as mergeSiblingReferences2 } from "@scalar/workspace-store/helpers/get-resolved-ref";
|
|
4295
4356
|
|
|
4296
|
-
// ../../node_modules/.pnpm/@scalar+sdk-config@0.
|
|
4357
|
+
// ../../node_modules/.pnpm/@scalar+sdk-config@0.64.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/generate-default-config/generate-default-config.js
|
|
4297
4358
|
import { isAsyncApiDocument } from "@scalar/workspace-store/schemas";
|
|
4298
4359
|
|
|
4299
|
-
// ../../node_modules/.pnpm/@scalar+sdk-config@0.
|
|
4360
|
+
// ../../node_modules/.pnpm/@scalar+sdk-config@0.64.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/idempotency-key.js
|
|
4300
4361
|
var IDEMPOTENCY_KEY_PREFIX_PATTERN = new RegExp(scalar_sdk_config_schema_default.$defs.idempotencyKeySettings.properties.prefix.pattern);
|
|
4301
4362
|
|
|
4302
|
-
// ../../node_modules/.pnpm/@scalar+sdk-config@0.
|
|
4303
|
-
var validateClientSettings =
|
|
4304
|
-
var validateGlobalSettings =
|
|
4305
|
-
var validatePaginationConfig =
|
|
4306
|
-
var schema185 = { "type": "object", "properties": { "agentSkill": { "type": "boolean", "default": true }, "fileHeader": { "type": "string" }, "license": { "type": "string" }, "keywords": { "type": "array", "maxItems": 5, "items": { "type": "string", "pattern": "^[a-z](?:-?[a-z0-9])+$", "maxLength": 20 } }, "unwrapResponseFields": { "type": "array", "items": { "type": "string" } }, "positionalParams": { "type": "string", "enum": ["all", "none", "last"] }, "ordering": { "type": "string", "default": "config", "enum": ["config", "openapi", "crud"] }, "requireWebsocketDependencies": { "type": "boolean" }, "unwrapMultipropertyResponseFields": { "type": "boolean" } } };
|
|
4363
|
+
// ../../node_modules/.pnpm/@scalar+sdk-config@0.64.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/scalar-sdk.config.validator.js
|
|
4364
|
+
var validateClientSettings = validate220;
|
|
4365
|
+
var validateGlobalSettings = validate225;
|
|
4366
|
+
var validatePaginationConfig = validate226;
|
|
4367
|
+
var schema185 = { "type": "object", "properties": { "agentSkill": { "type": "boolean", "default": true }, "fileHeader": { "type": "string" }, "license": { "type": "string" }, "description": { "type": "string", "minLength": 1, "maxLength": 512, "pattern": "\\S" }, "keywords": { "type": "array", "maxItems": 5, "items": { "type": "string", "pattern": "^[a-z](?:-?[a-z0-9])+$", "maxLength": 20 } }, "unwrapResponseFields": { "type": "array", "items": { "type": "string" } }, "positionalParams": { "type": "string", "enum": ["all", "none", "last"] }, "ordering": { "type": "string", "default": "config", "enum": ["config", "openapi", "crud"] }, "requireWebsocketDependencies": { "type": "boolean" }, "unwrapMultipropertyResponseFields": { "type": "boolean" } } };
|
|
4307
4368
|
var schema47 = { "oneOf": [{ "type": "string" }, { "type": "object", "properties": { "default": { "type": "string" }, "typescript": { "type": "string" }, "python": { "type": "string" }, "go": { "type": "string" }, "rust": { "type": "string" }, "java": { "type": "string" }, "kotlin": { "type": "string" }, "swift": { "type": "string" }, "ruby": { "type": "string" }, "php": { "type": "string" }, "csharp": { "type": "string" }, "cpp": { "type": "string" }, "dart": { "type": "string" } }, "additionalProperties": false, "minProperties": 1 }] };
|
|
4308
4369
|
var schema38 = { "enum": ["http", "alias", "websocket", "webhookUnwrap", "helper", "signedUpload", "signedUrl"] };
|
|
4309
4370
|
var schema39 = { "enum": ["delete", "get", "head", "options", "patch", "post", "put", "trace"] };
|
|
@@ -4798,7 +4859,7 @@ function validate31(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
4798
4859
|
return errors === 0;
|
|
4799
4860
|
}
|
|
4800
4861
|
validate31.evaluated = { "dynamicProps": false, "dynamicItems": true };
|
|
4801
|
-
var schema51 = { "type": "object", "properties": { "eventTypes": { "type": "object", "additionalProperties": { "type": "string" } }, "webhookKeyOpt": { "anyOf": [{ "type": "string" }, { "const": false }] }, "signatureAlgorithm": { "enum": ["hmac-sha1", "hmac-sha256", "hmac-sha512", "ed25519", "rsa-sha256"], "default": "hmac-sha256" }, "signatureHeader": { "type": "string", "default": "webhook-signature" }, "timestampHeader": { "type": "string" }, "toleranceSeconds": { "type": "number" }, "discriminator": { "type": "string" }, "description": { "type": "string" }, "summary": { "type": "string" }, "keyParam": { "type": "string", "pattern": "^(?!(?:headers|body|payload|options|opts|self|this|cls|class|def|end|and|or|not|in|is|if|else|elif|elsif|for|while|do|return|function|fun|var|val|let|const|new|delete|default|import|export|from|async|await|yield|lambda|none|true|false|null|nil|super|case|switch|try|catch|finally|throw|raise|with|as|pass|break|continue|global|nonlocal|typeof|instanceof|void|enum|interface|package|private|protected|public|static|module|begin|rescue|ensure|then|unless|until|when|redo|retry|undef|alias|defined|object|type|func|go|select|struct|chan|map|range|defer|fallthrough|goto|next|assert|del|except|extends|implements|debugger|arguments|eval|undefined|nan|infinity|wh|exc|json|cast|dict|isinstance|str|bytes|signed_headers|construct_type|get_required_header|verify_webhook_signature|empty_key|b64decode|parsed)$)[a-z](?:_?[a-z0-9])*$" }, "typeName": { "type": "string", "pattern": "[Ee]vent$" }, "helpers": { "anyOf": [{ "type": "boolean" }, { "$ref": "#/$defs/webhookHelperMethodsConfig" }], "default": true } }, "required": ["eventTypes"] };
|
|
4862
|
+
var schema51 = { "type": "object", "properties": { "eventTypes": { "type": "object", "additionalProperties": { "type": "string" } }, "webhookKeyOpt": { "anyOf": [{ "type": "string" }, { "const": false }] }, "signatureAlgorithm": { "enum": ["hmac-sha1", "hmac-sha256", "hmac-sha512", "ed25519", "rsa-sha256"], "default": "hmac-sha256" }, "signatureHeader": { "type": "string", "default": "webhook-signature" }, "timestampHeader": { "type": "string" }, "toleranceSeconds": { "type": "number" }, "discriminator": { "type": "string" }, "description": { "type": "string" }, "summary": { "type": "string" }, "keyParam": { "type": "string", "pattern": "^(?!(?:headers|body|payload|options|opts|self|this|cls|class|def|end|and|or|not|in|is|if|else|elif|elsif|for|while|do|return|function|fun|var|val|let|const|new|delete|default|import|export|from|async|await|yield|lambda|none|true|false|null|nil|super|case|switch|try|catch|finally|throw|raise|with|as|pass|break|continue|global|nonlocal|typeof|instanceof|void|enum|interface|package|private|protected|public|static|module|begin|rescue|ensure|then|unless|until|when|redo|retry|undef|alias|defined|object|type|func|go|select|struct|chan|map|range|defer|fallthrough|goto|next|assert|del|except|extends|implements|debugger|arguments|eval|undefined|nan|infinity|wh|exc|json|cast|dict|isinstance|str|bytes|signed_headers|construct_type|get_required_header|verify_webhook_signature|empty_key|b64decode|parsed)$)[a-z](?:_?[a-z0-9])*$" }, "bytesKey": { "type": "string", "enum": ["raw", "utf8"], "default": "raw" }, "typeName": { "type": "string", "pattern": "[Ee]vent$" }, "helpers": { "anyOf": [{ "type": "boolean" }, { "$ref": "#/$defs/webhookHelperMethodsConfig" }], "default": true } }, "required": ["eventTypes"] };
|
|
4802
4863
|
var schema52 = { "type": "object", "additionalProperties": false, "properties": { "verifySignature": { "type": ["boolean", "string"], "default": true }, "parseUnsafe": { "type": ["boolean", "string"], "default": true }, "unwrap": { "type": ["boolean", "string"], "default": false } } };
|
|
4803
4864
|
var pattern6 = new RegExp("^(?!(?:headers|body|payload|options|opts|self|this|cls|class|def|end|and|or|not|in|is|if|else|elif|elsif|for|while|do|return|function|fun|var|val|let|const|new|delete|default|import|export|from|async|await|yield|lambda|none|true|false|null|nil|super|case|switch|try|catch|finally|throw|raise|with|as|pass|break|continue|global|nonlocal|typeof|instanceof|void|enum|interface|package|private|protected|public|static|module|begin|rescue|ensure|then|unless|until|when|redo|retry|undef|alias|defined|object|type|func|go|select|struct|chan|map|range|defer|fallthrough|goto|next|assert|del|except|extends|implements|debugger|arguments|eval|undefined|nan|infinity|wh|exc|json|cast|dict|isinstance|str|bytes|signed_headers|construct_type|get_required_header|verify_webhook_signature|empty_key|b64decode|parsed)$)[a-z](?:_?[a-z0-9])*$", "u");
|
|
4804
4865
|
var pattern7 = new RegExp("[Ee]vent$", "u");
|
|
@@ -5143,8 +5204,8 @@ function validate35(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
5143
5204
|
}
|
|
5144
5205
|
}
|
|
5145
5206
|
}
|
|
5146
|
-
if (data.
|
|
5147
|
-
let data11 = data.
|
|
5207
|
+
if (data.bytesKey !== void 0) {
|
|
5208
|
+
let data11 = data.bytesKey;
|
|
5148
5209
|
if (typeof data11 !== "string") {
|
|
5149
5210
|
let dataType9 = typeof data11;
|
|
5150
5211
|
let coerced9 = void 0;
|
|
@@ -5154,7 +5215,7 @@ function validate35(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
5154
5215
|
} else if (data11 === null) {
|
|
5155
5216
|
coerced9 = "";
|
|
5156
5217
|
} else {
|
|
5157
|
-
const err15 = { instancePath: instancePath + "/
|
|
5218
|
+
const err15 = { instancePath: instancePath + "/bytesKey", schemaPath: "#/properties/bytesKey/type", keyword: "type", params: { type: "string" }, message: "must be string" };
|
|
5158
5219
|
if (vErrors === null) {
|
|
5159
5220
|
vErrors = [err15];
|
|
5160
5221
|
} else {
|
|
@@ -5166,36 +5227,32 @@ function validate35(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
5166
5227
|
if (coerced9 !== void 0) {
|
|
5167
5228
|
data11 = coerced9;
|
|
5168
5229
|
if (data !== void 0) {
|
|
5169
|
-
data["
|
|
5230
|
+
data["bytesKey"] = coerced9;
|
|
5170
5231
|
}
|
|
5171
5232
|
}
|
|
5172
5233
|
}
|
|
5173
|
-
if (
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
vErrors.push(err16);
|
|
5180
|
-
}
|
|
5181
|
-
errors++;
|
|
5234
|
+
if (!(data11 === "raw" || data11 === "utf8")) {
|
|
5235
|
+
const err16 = { instancePath: instancePath + "/bytesKey", schemaPath: "#/properties/bytesKey/enum", keyword: "enum", params: { allowedValues: schema51.properties.bytesKey.enum }, message: "must be equal to one of the allowed values" };
|
|
5236
|
+
if (vErrors === null) {
|
|
5237
|
+
vErrors = [err16];
|
|
5238
|
+
} else {
|
|
5239
|
+
vErrors.push(err16);
|
|
5182
5240
|
}
|
|
5241
|
+
errors++;
|
|
5183
5242
|
}
|
|
5184
5243
|
}
|
|
5185
|
-
if (data.
|
|
5186
|
-
let data12 = data.
|
|
5187
|
-
|
|
5188
|
-
|
|
5189
|
-
const _errs30 = errors;
|
|
5190
|
-
if (typeof data12 !== "boolean") {
|
|
5244
|
+
if (data.typeName !== void 0) {
|
|
5245
|
+
let data12 = data.typeName;
|
|
5246
|
+
if (typeof data12 !== "string") {
|
|
5247
|
+
let dataType10 = typeof data12;
|
|
5191
5248
|
let coerced10 = void 0;
|
|
5192
5249
|
if (!(coerced10 !== void 0)) {
|
|
5193
|
-
if (
|
|
5194
|
-
coerced10 =
|
|
5195
|
-
} else if (data12 ===
|
|
5196
|
-
coerced10 =
|
|
5250
|
+
if (dataType10 == "number" || dataType10 == "boolean") {
|
|
5251
|
+
coerced10 = "" + data12;
|
|
5252
|
+
} else if (data12 === null) {
|
|
5253
|
+
coerced10 = "";
|
|
5197
5254
|
} else {
|
|
5198
|
-
const err17 = { instancePath: instancePath + "/
|
|
5255
|
+
const err17 = { instancePath: instancePath + "/typeName", schemaPath: "#/properties/typeName/type", keyword: "type", params: { type: "string" }, message: "must be string" };
|
|
5199
5256
|
if (vErrors === null) {
|
|
5200
5257
|
vErrors = [err17];
|
|
5201
5258
|
} else {
|
|
@@ -5207,59 +5264,68 @@ function validate35(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
5207
5264
|
if (coerced10 !== void 0) {
|
|
5208
5265
|
data12 = coerced10;
|
|
5209
5266
|
if (data !== void 0) {
|
|
5210
|
-
data["
|
|
5267
|
+
data["typeName"] = coerced10;
|
|
5211
5268
|
}
|
|
5212
5269
|
}
|
|
5213
5270
|
}
|
|
5214
|
-
|
|
5215
|
-
|
|
5271
|
+
if (typeof data12 === "string") {
|
|
5272
|
+
if (!pattern7.test(data12)) {
|
|
5273
|
+
const err18 = { instancePath: instancePath + "/typeName", schemaPath: "#/properties/typeName/pattern", keyword: "pattern", params: { pattern: "[Ee]vent$" }, message: 'must match pattern "[Ee]vent$"' };
|
|
5274
|
+
if (vErrors === null) {
|
|
5275
|
+
vErrors = [err18];
|
|
5276
|
+
} else {
|
|
5277
|
+
vErrors.push(err18);
|
|
5278
|
+
}
|
|
5279
|
+
errors++;
|
|
5280
|
+
}
|
|
5281
|
+
}
|
|
5282
|
+
}
|
|
5283
|
+
if (data.helpers !== void 0) {
|
|
5284
|
+
let data13 = data.helpers;
|
|
5285
|
+
const _errs31 = errors;
|
|
5286
|
+
let valid3 = false;
|
|
5216
5287
|
const _errs32 = errors;
|
|
5217
|
-
if (
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5288
|
+
if (typeof data13 !== "boolean") {
|
|
5289
|
+
let coerced11 = void 0;
|
|
5290
|
+
if (!(coerced11 !== void 0)) {
|
|
5291
|
+
if (data13 === "false" || data13 === 0 || data13 === null) {
|
|
5292
|
+
coerced11 = false;
|
|
5293
|
+
} else if (data13 === "true" || data13 === 1) {
|
|
5294
|
+
coerced11 = true;
|
|
5295
|
+
} else {
|
|
5296
|
+
const err19 = { instancePath: instancePath + "/helpers", schemaPath: "#/properties/helpers/anyOf/0/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
|
|
5221
5297
|
if (vErrors === null) {
|
|
5222
|
-
vErrors = [
|
|
5298
|
+
vErrors = [err19];
|
|
5223
5299
|
} else {
|
|
5224
|
-
vErrors.push(
|
|
5300
|
+
vErrors.push(err19);
|
|
5225
5301
|
}
|
|
5226
5302
|
errors++;
|
|
5227
5303
|
}
|
|
5228
5304
|
}
|
|
5229
|
-
if (
|
|
5230
|
-
|
|
5231
|
-
if (
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
|
|
5244
|
-
|
|
5245
|
-
|
|
5246
|
-
|
|
5247
|
-
} else {
|
|
5248
|
-
vErrors.push(err19);
|
|
5249
|
-
}
|
|
5250
|
-
errors++;
|
|
5251
|
-
}
|
|
5252
|
-
}
|
|
5253
|
-
if (coerced11 !== void 0) {
|
|
5254
|
-
data13 = coerced11;
|
|
5255
|
-
if (data12 !== void 0) {
|
|
5256
|
-
data12["verifySignature"] = coerced11;
|
|
5257
|
-
}
|
|
5305
|
+
if (coerced11 !== void 0) {
|
|
5306
|
+
data13 = coerced11;
|
|
5307
|
+
if (data !== void 0) {
|
|
5308
|
+
data["helpers"] = coerced11;
|
|
5309
|
+
}
|
|
5310
|
+
}
|
|
5311
|
+
}
|
|
5312
|
+
var _valid1 = _errs32 === errors;
|
|
5313
|
+
valid3 = valid3 || _valid1;
|
|
5314
|
+
const _errs34 = errors;
|
|
5315
|
+
if (data13 && typeof data13 == "object" && !Array.isArray(data13)) {
|
|
5316
|
+
for (const key1 in data13) {
|
|
5317
|
+
if (!(key1 === "verifySignature" || key1 === "parseUnsafe" || key1 === "unwrap")) {
|
|
5318
|
+
const err20 = { instancePath: instancePath + "/helpers", schemaPath: "#/$defs/webhookHelperMethodsConfig/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key1 }, message: "must NOT have additional properties" };
|
|
5319
|
+
if (vErrors === null) {
|
|
5320
|
+
vErrors = [err20];
|
|
5321
|
+
} else {
|
|
5322
|
+
vErrors.push(err20);
|
|
5258
5323
|
}
|
|
5324
|
+
errors++;
|
|
5259
5325
|
}
|
|
5260
5326
|
}
|
|
5261
|
-
if (
|
|
5262
|
-
let data14 =
|
|
5327
|
+
if (data13.verifySignature !== void 0) {
|
|
5328
|
+
let data14 = data13.verifySignature;
|
|
5263
5329
|
if (typeof data14 !== "boolean" && typeof data14 !== "string") {
|
|
5264
5330
|
let dataType12 = typeof data14;
|
|
5265
5331
|
let coerced12 = void 0;
|
|
@@ -5273,25 +5339,25 @@ function validate35(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
5273
5339
|
} else if (data14 === null) {
|
|
5274
5340
|
coerced12 = "";
|
|
5275
5341
|
} else {
|
|
5276
|
-
const
|
|
5342
|
+
const err21 = { instancePath: instancePath + "/helpers/verifySignature", schemaPath: "#/$defs/webhookHelperMethodsConfig/properties/verifySignature/type", keyword: "type", params: { type: schema52.properties.verifySignature.type }, message: "must be boolean,string" };
|
|
5277
5343
|
if (vErrors === null) {
|
|
5278
|
-
vErrors = [
|
|
5344
|
+
vErrors = [err21];
|
|
5279
5345
|
} else {
|
|
5280
|
-
vErrors.push(
|
|
5346
|
+
vErrors.push(err21);
|
|
5281
5347
|
}
|
|
5282
5348
|
errors++;
|
|
5283
5349
|
}
|
|
5284
5350
|
}
|
|
5285
5351
|
if (coerced12 !== void 0) {
|
|
5286
5352
|
data14 = coerced12;
|
|
5287
|
-
if (
|
|
5288
|
-
|
|
5353
|
+
if (data13 !== void 0) {
|
|
5354
|
+
data13["verifySignature"] = coerced12;
|
|
5289
5355
|
}
|
|
5290
5356
|
}
|
|
5291
5357
|
}
|
|
5292
5358
|
}
|
|
5293
|
-
if (
|
|
5294
|
-
let data15 =
|
|
5359
|
+
if (data13.parseUnsafe !== void 0) {
|
|
5360
|
+
let data15 = data13.parseUnsafe;
|
|
5295
5361
|
if (typeof data15 !== "boolean" && typeof data15 !== "string") {
|
|
5296
5362
|
let dataType13 = typeof data15;
|
|
5297
5363
|
let coerced13 = void 0;
|
|
@@ -5305,47 +5371,79 @@ function validate35(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
5305
5371
|
} else if (data15 === null) {
|
|
5306
5372
|
coerced13 = "";
|
|
5307
5373
|
} else {
|
|
5308
|
-
const
|
|
5374
|
+
const err22 = { instancePath: instancePath + "/helpers/parseUnsafe", schemaPath: "#/$defs/webhookHelperMethodsConfig/properties/parseUnsafe/type", keyword: "type", params: { type: schema52.properties.parseUnsafe.type }, message: "must be boolean,string" };
|
|
5309
5375
|
if (vErrors === null) {
|
|
5310
|
-
vErrors = [
|
|
5376
|
+
vErrors = [err22];
|
|
5311
5377
|
} else {
|
|
5312
|
-
vErrors.push(
|
|
5378
|
+
vErrors.push(err22);
|
|
5313
5379
|
}
|
|
5314
5380
|
errors++;
|
|
5315
5381
|
}
|
|
5316
5382
|
}
|
|
5317
5383
|
if (coerced13 !== void 0) {
|
|
5318
5384
|
data15 = coerced13;
|
|
5319
|
-
if (
|
|
5320
|
-
|
|
5385
|
+
if (data13 !== void 0) {
|
|
5386
|
+
data13["parseUnsafe"] = coerced13;
|
|
5387
|
+
}
|
|
5388
|
+
}
|
|
5389
|
+
}
|
|
5390
|
+
}
|
|
5391
|
+
if (data13.unwrap !== void 0) {
|
|
5392
|
+
let data16 = data13.unwrap;
|
|
5393
|
+
if (typeof data16 !== "boolean" && typeof data16 !== "string") {
|
|
5394
|
+
let dataType14 = typeof data16;
|
|
5395
|
+
let coerced14 = void 0;
|
|
5396
|
+
if (!(coerced14 !== void 0)) {
|
|
5397
|
+
if (data16 === "false" || data16 === 0 || data16 === null) {
|
|
5398
|
+
coerced14 = false;
|
|
5399
|
+
} else if (data16 === "true" || data16 === 1) {
|
|
5400
|
+
coerced14 = true;
|
|
5401
|
+
} else if (dataType14 == "number" || dataType14 == "boolean") {
|
|
5402
|
+
coerced14 = "" + data16;
|
|
5403
|
+
} else if (data16 === null) {
|
|
5404
|
+
coerced14 = "";
|
|
5405
|
+
} else {
|
|
5406
|
+
const err23 = { instancePath: instancePath + "/helpers/unwrap", schemaPath: "#/$defs/webhookHelperMethodsConfig/properties/unwrap/type", keyword: "type", params: { type: schema52.properties.unwrap.type }, message: "must be boolean,string" };
|
|
5407
|
+
if (vErrors === null) {
|
|
5408
|
+
vErrors = [err23];
|
|
5409
|
+
} else {
|
|
5410
|
+
vErrors.push(err23);
|
|
5411
|
+
}
|
|
5412
|
+
errors++;
|
|
5413
|
+
}
|
|
5414
|
+
}
|
|
5415
|
+
if (coerced14 !== void 0) {
|
|
5416
|
+
data16 = coerced14;
|
|
5417
|
+
if (data13 !== void 0) {
|
|
5418
|
+
data13["unwrap"] = coerced14;
|
|
5321
5419
|
}
|
|
5322
5420
|
}
|
|
5323
5421
|
}
|
|
5324
5422
|
}
|
|
5325
5423
|
} else {
|
|
5326
|
-
const
|
|
5424
|
+
const err24 = { instancePath: instancePath + "/helpers", schemaPath: "#/$defs/webhookHelperMethodsConfig/type", keyword: "type", params: { type: "object" }, message: "must be object" };
|
|
5327
5425
|
if (vErrors === null) {
|
|
5328
|
-
vErrors = [
|
|
5426
|
+
vErrors = [err24];
|
|
5329
5427
|
} else {
|
|
5330
|
-
vErrors.push(
|
|
5428
|
+
vErrors.push(err24);
|
|
5331
5429
|
}
|
|
5332
5430
|
errors++;
|
|
5333
5431
|
}
|
|
5334
|
-
var _valid1 =
|
|
5432
|
+
var _valid1 = _errs34 === errors;
|
|
5335
5433
|
valid3 = valid3 || _valid1;
|
|
5336
5434
|
if (!valid3) {
|
|
5337
|
-
const
|
|
5435
|
+
const err25 = { instancePath: instancePath + "/helpers", schemaPath: "#/properties/helpers/anyOf", keyword: "anyOf", params: {}, message: "must match a schema in anyOf" };
|
|
5338
5436
|
if (vErrors === null) {
|
|
5339
|
-
vErrors = [
|
|
5437
|
+
vErrors = [err25];
|
|
5340
5438
|
} else {
|
|
5341
|
-
vErrors.push(
|
|
5439
|
+
vErrors.push(err25);
|
|
5342
5440
|
}
|
|
5343
5441
|
errors++;
|
|
5344
5442
|
} else {
|
|
5345
|
-
errors =
|
|
5443
|
+
errors = _errs31;
|
|
5346
5444
|
if (vErrors !== null) {
|
|
5347
|
-
if (
|
|
5348
|
-
vErrors.length =
|
|
5445
|
+
if (_errs31) {
|
|
5446
|
+
vErrors.length = _errs31;
|
|
5349
5447
|
} else {
|
|
5350
5448
|
vErrors = null;
|
|
5351
5449
|
}
|
|
@@ -5353,18 +5451,18 @@ function validate35(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
5353
5451
|
}
|
|
5354
5452
|
}
|
|
5355
5453
|
} else {
|
|
5356
|
-
const
|
|
5454
|
+
const err26 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
|
|
5357
5455
|
if (vErrors === null) {
|
|
5358
|
-
vErrors = [
|
|
5456
|
+
vErrors = [err26];
|
|
5359
5457
|
} else {
|
|
5360
|
-
vErrors.push(
|
|
5458
|
+
vErrors.push(err26);
|
|
5361
5459
|
}
|
|
5362
5460
|
errors++;
|
|
5363
5461
|
}
|
|
5364
5462
|
validate35.errors = vErrors;
|
|
5365
5463
|
return errors === 0;
|
|
5366
5464
|
}
|
|
5367
|
-
validate35.evaluated = { "props": { "eventTypes": true, "webhookKeyOpt": true, "signatureAlgorithm": true, "signatureHeader": true, "timestampHeader": true, "toleranceSeconds": true, "discriminator": true, "description": true, "summary": true, "keyParam": true, "typeName": true, "helpers": true }, "dynamicProps": false, "dynamicItems": false };
|
|
5465
|
+
validate35.evaluated = { "props": { "eventTypes": true, "webhookKeyOpt": true, "signatureAlgorithm": true, "signatureHeader": true, "timestampHeader": true, "toleranceSeconds": true, "discriminator": true, "description": true, "summary": true, "keyParam": true, "bytesKey": true, "typeName": true, "helpers": true }, "dynamicProps": false, "dynamicItems": false };
|
|
5368
5466
|
var schema54 = { "type": "object", "properties": { "urlField": { "type": "string", "minLength": 1 }, "method": { "enum": ["put", "post"] }, "body": { "enum": ["binary", "multipart"] }, "multipartField": { "type": "string", "minLength": 1 }, "contentType": { "type": "string", "minLength": 1 }, "headersField": { "type": "string", "minLength": 1 }, "fileParam": { "type": "string", "pattern": "^[A-Za-z_][A-Za-z0-9_]*$" }, "initiateParams": { "enum": ["all", "path"] }, "confirm": { "$ref": "#/$defs/signedUploadConfirmConfig" }, "summary": { "type": "string" }, "description": { "type": "string" } }, "required": ["urlField"], "additionalProperties": false };
|
|
5369
5467
|
var func3 = Object.prototype.hasOwnProperty;
|
|
5370
5468
|
var pattern9 = new RegExp("^(delete|get|head|options|patch|post|put|trace) .+$", "u");
|
|
@@ -5828,6 +5926,95 @@ var schema58 = { "type": "object", "properties": { "endpoint": { "type": "string
|
|
|
5828
5926
|
var schema59 = { "type": "object", "properties": { "format": { "enum": ["hmac"] }, "algorithm": { "enum": ["hmac-sha256"] }, "key": { "anyOf": [{ "type": "object", "properties": { "clientOption": { "type": "string", "minLength": 1 } }, "required": ["clientOption"], "additionalProperties": false }, { "type": "object", "properties": { "param": { "type": "string", "minLength": 1 } }, "required": ["param"], "additionalProperties": false }] }, "signatureBase": { "type": "array", "items": { "anyOf": [{ "type": "string" }, { "type": "object", "properties": { "literal": { "type": "string" } }, "required": ["literal"], "additionalProperties": false }] }, "minItems": 1 }, "encoding": { "enum": ["base64", "base64url", "hex"] }, "queryField": { "type": "string", "minLength": 1 } }, "required": ["key", "signatureBase", "encoding", "queryField"], "additionalProperties": false };
|
|
5829
5927
|
var pattern10 = new RegExp("^get .+$", "u");
|
|
5830
5928
|
var pattern11 = new RegExp("^P(?=\\d|T\\d)(\\d+W)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+S)?)?$", "u");
|
|
5929
|
+
function validate42(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
5930
|
+
let vErrors = null;
|
|
5931
|
+
let errors = 0;
|
|
5932
|
+
const evaluated0 = validate42.evaluated;
|
|
5933
|
+
if (evaluated0.dynamicProps) {
|
|
5934
|
+
evaluated0.props = void 0;
|
|
5935
|
+
}
|
|
5936
|
+
if (evaluated0.dynamicItems) {
|
|
5937
|
+
evaluated0.items = void 0;
|
|
5938
|
+
}
|
|
5939
|
+
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
5940
|
+
if (data.now === void 0) {
|
|
5941
|
+
const err0 = { instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: "now" }, message: "must have required property 'now'" };
|
|
5942
|
+
if (vErrors === null) {
|
|
5943
|
+
vErrors = [err0];
|
|
5944
|
+
} else {
|
|
5945
|
+
vErrors.push(err0);
|
|
5946
|
+
}
|
|
5947
|
+
errors++;
|
|
5948
|
+
}
|
|
5949
|
+
for (const key0 in data) {
|
|
5950
|
+
if (!(key0 === "now" || key0 === "skip")) {
|
|
5951
|
+
const err1 = { instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" };
|
|
5952
|
+
if (vErrors === null) {
|
|
5953
|
+
vErrors = [err1];
|
|
5954
|
+
} else {
|
|
5955
|
+
vErrors.push(err1);
|
|
5956
|
+
}
|
|
5957
|
+
errors++;
|
|
5958
|
+
}
|
|
5959
|
+
}
|
|
5960
|
+
if (data.now !== void 0) {
|
|
5961
|
+
let data0 = data.now;
|
|
5962
|
+
if (typeof data0 !== "string") {
|
|
5963
|
+
let dataType0 = typeof data0;
|
|
5964
|
+
let coerced0 = void 0;
|
|
5965
|
+
if (!(coerced0 !== void 0)) {
|
|
5966
|
+
if (dataType0 == "number" || dataType0 == "boolean") {
|
|
5967
|
+
coerced0 = "" + data0;
|
|
5968
|
+
} else if (data0 === null) {
|
|
5969
|
+
coerced0 = "";
|
|
5970
|
+
} else {
|
|
5971
|
+
const err2 = { instancePath: instancePath + "/now", schemaPath: "#/properties/now/type", keyword: "type", params: { type: "string" }, message: "must be string" };
|
|
5972
|
+
if (vErrors === null) {
|
|
5973
|
+
vErrors = [err2];
|
|
5974
|
+
} else {
|
|
5975
|
+
vErrors.push(err2);
|
|
5976
|
+
}
|
|
5977
|
+
errors++;
|
|
5978
|
+
}
|
|
5979
|
+
}
|
|
5980
|
+
if (coerced0 !== void 0) {
|
|
5981
|
+
data0 = coerced0;
|
|
5982
|
+
if (data !== void 0) {
|
|
5983
|
+
data["now"] = coerced0;
|
|
5984
|
+
}
|
|
5985
|
+
}
|
|
5986
|
+
}
|
|
5987
|
+
if (typeof data0 === "string") {
|
|
5988
|
+
if (!pattern11.test(data0)) {
|
|
5989
|
+
const err3 = { instancePath: instancePath + "/now", schemaPath: "#/properties/now/pattern", keyword: "pattern", params: { pattern: "^P(?=\\d|T\\d)(\\d+W)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+S)?)?$" }, message: 'must match pattern "^P(?=\\d|T\\d)(\\d+W)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+S)?)?$"' };
|
|
5990
|
+
if (vErrors === null) {
|
|
5991
|
+
vErrors = [err3];
|
|
5992
|
+
} else {
|
|
5993
|
+
vErrors.push(err3);
|
|
5994
|
+
}
|
|
5995
|
+
errors++;
|
|
5996
|
+
}
|
|
5997
|
+
}
|
|
5998
|
+
}
|
|
5999
|
+
if (data.skip !== void 0) {
|
|
6000
|
+
if (!validate28(data.skip, { instancePath: instancePath + "/skip", parentData: data, parentDataProperty: "skip", rootData, dynamicAnchors })) {
|
|
6001
|
+
vErrors = vErrors === null ? validate28.errors : vErrors.concat(validate28.errors);
|
|
6002
|
+
errors = vErrors.length;
|
|
6003
|
+
}
|
|
6004
|
+
}
|
|
6005
|
+
} else {
|
|
6006
|
+
const err4 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
|
|
6007
|
+
if (vErrors === null) {
|
|
6008
|
+
vErrors = [err4];
|
|
6009
|
+
} else {
|
|
6010
|
+
vErrors.push(err4);
|
|
6011
|
+
}
|
|
6012
|
+
errors++;
|
|
6013
|
+
}
|
|
6014
|
+
validate42.errors = vErrors;
|
|
6015
|
+
return errors === 0;
|
|
6016
|
+
}
|
|
6017
|
+
validate42.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
|
|
5831
6018
|
function validate41(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
5832
6019
|
let vErrors = null;
|
|
5833
6020
|
let errors = 0;
|
|
@@ -6583,93 +6770,27 @@ function validate41(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
6583
6770
|
let data18 = data.defaults;
|
|
6584
6771
|
if (data18 && typeof data18 == "object" && !Array.isArray(data18)) {
|
|
6585
6772
|
for (const key9 in data18) {
|
|
6586
|
-
|
|
6587
|
-
|
|
6588
|
-
|
|
6589
|
-
const err50 = { instancePath: instancePath + "/defaults/" + key9.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/$defs/signedUrlDefault/required", keyword: "required", params: { missingProperty: "now" }, message: "must have required property 'now'" };
|
|
6590
|
-
if (vErrors === null) {
|
|
6591
|
-
vErrors = [err50];
|
|
6592
|
-
} else {
|
|
6593
|
-
vErrors.push(err50);
|
|
6594
|
-
}
|
|
6595
|
-
errors++;
|
|
6596
|
-
}
|
|
6597
|
-
for (const key10 in data19) {
|
|
6598
|
-
if (!(key10 === "now")) {
|
|
6599
|
-
const err51 = { instancePath: instancePath + "/defaults/" + key9.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/$defs/signedUrlDefault/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key10 }, message: "must NOT have additional properties" };
|
|
6600
|
-
if (vErrors === null) {
|
|
6601
|
-
vErrors = [err51];
|
|
6602
|
-
} else {
|
|
6603
|
-
vErrors.push(err51);
|
|
6604
|
-
}
|
|
6605
|
-
errors++;
|
|
6606
|
-
}
|
|
6607
|
-
}
|
|
6608
|
-
if (data19.now !== void 0) {
|
|
6609
|
-
let data20 = data19.now;
|
|
6610
|
-
if (typeof data20 !== "string") {
|
|
6611
|
-
let dataType8 = typeof data20;
|
|
6612
|
-
let coerced8 = void 0;
|
|
6613
|
-
if (!(coerced8 !== void 0)) {
|
|
6614
|
-
if (dataType8 == "number" || dataType8 == "boolean") {
|
|
6615
|
-
coerced8 = "" + data20;
|
|
6616
|
-
} else if (data20 === null) {
|
|
6617
|
-
coerced8 = "";
|
|
6618
|
-
} else {
|
|
6619
|
-
const err52 = { instancePath: instancePath + "/defaults/" + key9.replace(/~/g, "~0").replace(/\//g, "~1") + "/now", schemaPath: "#/$defs/signedUrlDefault/properties/now/type", keyword: "type", params: { type: "string" }, message: "must be string" };
|
|
6620
|
-
if (vErrors === null) {
|
|
6621
|
-
vErrors = [err52];
|
|
6622
|
-
} else {
|
|
6623
|
-
vErrors.push(err52);
|
|
6624
|
-
}
|
|
6625
|
-
errors++;
|
|
6626
|
-
}
|
|
6627
|
-
}
|
|
6628
|
-
if (coerced8 !== void 0) {
|
|
6629
|
-
data20 = coerced8;
|
|
6630
|
-
if (data19 !== void 0) {
|
|
6631
|
-
data19["now"] = coerced8;
|
|
6632
|
-
}
|
|
6633
|
-
}
|
|
6634
|
-
}
|
|
6635
|
-
if (typeof data20 === "string") {
|
|
6636
|
-
if (!pattern11.test(data20)) {
|
|
6637
|
-
const err53 = { instancePath: instancePath + "/defaults/" + key9.replace(/~/g, "~0").replace(/\//g, "~1") + "/now", schemaPath: "#/$defs/signedUrlDefault/properties/now/pattern", keyword: "pattern", params: { pattern: "^P(?=\\d|T\\d)(\\d+W)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+S)?)?$" }, message: 'must match pattern "^P(?=\\d|T\\d)(\\d+W)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+S)?)?$"' };
|
|
6638
|
-
if (vErrors === null) {
|
|
6639
|
-
vErrors = [err53];
|
|
6640
|
-
} else {
|
|
6641
|
-
vErrors.push(err53);
|
|
6642
|
-
}
|
|
6643
|
-
errors++;
|
|
6644
|
-
}
|
|
6645
|
-
}
|
|
6646
|
-
}
|
|
6647
|
-
} else {
|
|
6648
|
-
const err54 = { instancePath: instancePath + "/defaults/" + key9.replace(/~/g, "~0").replace(/\//g, "~1"), schemaPath: "#/$defs/signedUrlDefault/type", keyword: "type", params: { type: "object" }, message: "must be object" };
|
|
6649
|
-
if (vErrors === null) {
|
|
6650
|
-
vErrors = [err54];
|
|
6651
|
-
} else {
|
|
6652
|
-
vErrors.push(err54);
|
|
6653
|
-
}
|
|
6654
|
-
errors++;
|
|
6773
|
+
if (!validate42(data18[key9], { instancePath: instancePath + "/defaults/" + key9.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data18, parentDataProperty: key9, rootData, dynamicAnchors })) {
|
|
6774
|
+
vErrors = vErrors === null ? validate42.errors : vErrors.concat(validate42.errors);
|
|
6775
|
+
errors = vErrors.length;
|
|
6655
6776
|
}
|
|
6656
6777
|
}
|
|
6657
6778
|
} else {
|
|
6658
|
-
const
|
|
6779
|
+
const err50 = { instancePath: instancePath + "/defaults", schemaPath: "#/properties/defaults/type", keyword: "type", params: { type: "object" }, message: "must be object" };
|
|
6659
6780
|
if (vErrors === null) {
|
|
6660
|
-
vErrors = [
|
|
6781
|
+
vErrors = [err50];
|
|
6661
6782
|
} else {
|
|
6662
|
-
vErrors.push(
|
|
6783
|
+
vErrors.push(err50);
|
|
6663
6784
|
}
|
|
6664
6785
|
errors++;
|
|
6665
6786
|
}
|
|
6666
6787
|
}
|
|
6667
6788
|
} else {
|
|
6668
|
-
const
|
|
6789
|
+
const err51 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
|
|
6669
6790
|
if (vErrors === null) {
|
|
6670
|
-
vErrors = [
|
|
6791
|
+
vErrors = [err51];
|
|
6671
6792
|
} else {
|
|
6672
|
-
vErrors.push(
|
|
6793
|
+
vErrors.push(err51);
|
|
6673
6794
|
}
|
|
6674
6795
|
errors++;
|
|
6675
6796
|
}
|
|
@@ -6947,10 +7068,10 @@ function validate40(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
6947
7068
|
}
|
|
6948
7069
|
validate40.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
|
|
6949
7070
|
var schema64 = { "type": "object", "properties": { "method": { "enum": ["put", "post"] }, "body": { "enum": ["binary", "multipart"] }, "multipartField": { "type": "string", "minLength": 1 }, "contentType": { "type": "string", "minLength": 1 }, "fileParam": { "type": "string", "pattern": "^[A-Za-z_][A-Za-z0-9_]*$" }, "confirm": { "$ref": "#/$defs/signedUploadConfirmConfig" } }, "additionalProperties": false };
|
|
6950
|
-
function
|
|
7071
|
+
function validate48(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
6951
7072
|
let vErrors = null;
|
|
6952
7073
|
let errors = 0;
|
|
6953
|
-
const evaluated0 =
|
|
7074
|
+
const evaluated0 = validate48.evaluated;
|
|
6954
7075
|
if (evaluated0.dynamicProps) {
|
|
6955
7076
|
evaluated0.props = void 0;
|
|
6956
7077
|
}
|
|
@@ -7243,14 +7364,14 @@ function validate45(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
7243
7364
|
}
|
|
7244
7365
|
errors++;
|
|
7245
7366
|
}
|
|
7246
|
-
|
|
7367
|
+
validate48.errors = vErrors;
|
|
7247
7368
|
return errors === 0;
|
|
7248
7369
|
}
|
|
7249
|
-
|
|
7250
|
-
function
|
|
7370
|
+
validate48.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
|
|
7371
|
+
function validate47(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
7251
7372
|
let vErrors = null;
|
|
7252
7373
|
let errors = 0;
|
|
7253
|
-
const evaluated0 =
|
|
7374
|
+
const evaluated0 = validate47.evaluated;
|
|
7254
7375
|
if (evaluated0.dynamicProps) {
|
|
7255
7376
|
evaluated0.props = void 0;
|
|
7256
7377
|
}
|
|
@@ -7393,8 +7514,8 @@ function validate44(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
7393
7514
|
}
|
|
7394
7515
|
}
|
|
7395
7516
|
if (data.upload !== void 0) {
|
|
7396
|
-
if (!
|
|
7397
|
-
vErrors = vErrors === null ?
|
|
7517
|
+
if (!validate48(data.upload, { instancePath: instancePath + "/upload", parentData: data, parentDataProperty: "upload", rootData, dynamicAnchors })) {
|
|
7518
|
+
vErrors = vErrors === null ? validate48.errors : vErrors.concat(validate48.errors);
|
|
7398
7519
|
errors = vErrors.length;
|
|
7399
7520
|
}
|
|
7400
7521
|
}
|
|
@@ -7432,11 +7553,11 @@ function validate44(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
7432
7553
|
}
|
|
7433
7554
|
}
|
|
7434
7555
|
}
|
|
7435
|
-
|
|
7556
|
+
validate47.errors = vErrors;
|
|
7436
7557
|
evaluated0.props = props0;
|
|
7437
7558
|
return errors === 0;
|
|
7438
7559
|
}
|
|
7439
|
-
|
|
7560
|
+
validate47.evaluated = { "dynamicProps": true, "dynamicItems": false };
|
|
7440
7561
|
function validate39(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
7441
7562
|
let vErrors = null;
|
|
7442
7563
|
let errors = 0;
|
|
@@ -7484,8 +7605,8 @@ function validate39(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
7484
7605
|
}
|
|
7485
7606
|
}
|
|
7486
7607
|
if (data.action !== void 0) {
|
|
7487
|
-
if (!
|
|
7488
|
-
vErrors = vErrors === null ?
|
|
7608
|
+
if (!validate47(data.action, { instancePath: instancePath + "/action", parentData: data, parentDataProperty: "action", rootData, dynamicAnchors })) {
|
|
7609
|
+
vErrors = vErrors === null ? validate47.errors : vErrors.concat(validate47.errors);
|
|
7489
7610
|
errors = vErrors.length;
|
|
7490
7611
|
}
|
|
7491
7612
|
}
|
|
@@ -9401,10 +9522,10 @@ function validate22(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
9401
9522
|
return errors === 0;
|
|
9402
9523
|
}
|
|
9403
9524
|
validate22.evaluated = { "dynamicProps": true, "dynamicItems": false };
|
|
9404
|
-
function
|
|
9525
|
+
function validate53(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
9405
9526
|
let vErrors = null;
|
|
9406
9527
|
let errors = 0;
|
|
9407
|
-
const evaluated0 =
|
|
9528
|
+
const evaluated0 = validate53.evaluated;
|
|
9408
9529
|
if (evaluated0.dynamicProps) {
|
|
9409
9530
|
evaluated0.props = void 0;
|
|
9410
9531
|
}
|
|
@@ -10143,11 +10264,11 @@ function validate50(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
10143
10264
|
}
|
|
10144
10265
|
}
|
|
10145
10266
|
}
|
|
10146
|
-
|
|
10267
|
+
validate53.errors = vErrors;
|
|
10147
10268
|
evaluated0.props = props0;
|
|
10148
10269
|
return errors === 0;
|
|
10149
10270
|
}
|
|
10150
|
-
|
|
10271
|
+
validate53.evaluated = { "dynamicProps": true, "dynamicItems": false };
|
|
10151
10272
|
var wrapper0 = { validate: validate21 };
|
|
10152
10273
|
function validate21(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
10153
10274
|
let vErrors = null;
|
|
@@ -10183,8 +10304,8 @@ function validate21(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
10183
10304
|
let data2 = data.models;
|
|
10184
10305
|
if (data2 && typeof data2 == "object" && !Array.isArray(data2)) {
|
|
10185
10306
|
for (const key1 in data2) {
|
|
10186
|
-
if (!
|
|
10187
|
-
vErrors = vErrors === null ?
|
|
10307
|
+
if (!validate53(data2[key1], { instancePath: instancePath + "/models/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data2, parentDataProperty: key1, rootData, dynamicAnchors })) {
|
|
10308
|
+
vErrors = vErrors === null ? validate53.errors : vErrors.concat(validate53.errors);
|
|
10188
10309
|
errors = vErrors.length;
|
|
10189
10310
|
}
|
|
10190
10311
|
}
|
|
@@ -11005,10 +11126,10 @@ function validate21(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
11005
11126
|
return errors === 0;
|
|
11006
11127
|
}
|
|
11007
11128
|
validate21.evaluated = { "props": { "methods": true, "models": true, "subresources": true, "defaultRequestOptions": true, "publicAccessor": true, "description": true, "deprecationMessage": true, "disableCodeSample": true, "useNamespaceInTypeNames": true, "only": true, "custom": true, "skip": true }, "dynamicProps": false, "dynamicItems": false };
|
|
11008
|
-
function
|
|
11129
|
+
function validate62(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
11009
11130
|
let vErrors = null;
|
|
11010
11131
|
let errors = 0;
|
|
11011
|
-
const evaluated0 =
|
|
11132
|
+
const evaluated0 = validate62.evaluated;
|
|
11012
11133
|
if (evaluated0.dynamicProps) {
|
|
11013
11134
|
evaluated0.props = void 0;
|
|
11014
11135
|
}
|
|
@@ -11249,14 +11370,14 @@ function validate59(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
11249
11370
|
}
|
|
11250
11371
|
errors++;
|
|
11251
11372
|
}
|
|
11252
|
-
|
|
11373
|
+
validate62.errors = vErrors;
|
|
11253
11374
|
return errors === 0;
|
|
11254
11375
|
}
|
|
11255
|
-
|
|
11256
|
-
function
|
|
11376
|
+
validate62.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
|
|
11377
|
+
function validate64(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
11257
11378
|
let vErrors = null;
|
|
11258
11379
|
let errors = 0;
|
|
11259
|
-
const evaluated0 =
|
|
11380
|
+
const evaluated0 = validate64.evaluated;
|
|
11260
11381
|
if (evaluated0.dynamicProps) {
|
|
11261
11382
|
evaluated0.props = void 0;
|
|
11262
11383
|
}
|
|
@@ -11778,17 +11899,17 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
11778
11899
|
}
|
|
11779
11900
|
}
|
|
11780
11901
|
}
|
|
11781
|
-
|
|
11902
|
+
validate64.errors = vErrors;
|
|
11782
11903
|
evaluated0.props = props0;
|
|
11783
11904
|
return errors === 0;
|
|
11784
11905
|
}
|
|
11785
|
-
|
|
11906
|
+
validate64.evaluated = { "dynamicProps": true, "dynamicItems": false };
|
|
11786
11907
|
var schema77 = { "type": "object", "properties": { "destinations": { "$ref": "#/$defs/destinationsConfig" }, "promotion": { "$ref": "#/$defs/promotion" }, "generatorVersion": { "type": "string" }, "skip": { "type": "boolean" }, "readmeTitle": { "type": "string" }, "packageName": { "type": "string" }, "packageManager": { "type": "string" }, "publish": { "$ref": "#/$defs/npmPublishConfig" }, "prereleaseType": { "$ref": "#/$defs/prereleaseType" }, "options": { "$ref": "#/$defs/typeScriptTargetOptions" }, "compatibility": { "enum": ["speakeasy"] } } };
|
|
11787
11908
|
var schema80 = { "type": "string", "enum": ["automatic", "manual"], "default": "automatic" };
|
|
11788
|
-
function
|
|
11909
|
+
function validate68(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
11789
11910
|
let vErrors = null;
|
|
11790
11911
|
let errors = 0;
|
|
11791
|
-
const evaluated0 =
|
|
11912
|
+
const evaluated0 = validate68.evaluated;
|
|
11792
11913
|
if (evaluated0.dynamicProps) {
|
|
11793
11914
|
evaluated0.props = void 0;
|
|
11794
11915
|
}
|
|
@@ -11911,17 +12032,17 @@ function validate65(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
11911
12032
|
}
|
|
11912
12033
|
errors++;
|
|
11913
12034
|
}
|
|
11914
|
-
|
|
12035
|
+
validate68.errors = vErrors;
|
|
11915
12036
|
return errors === 0;
|
|
11916
12037
|
}
|
|
11917
|
-
|
|
12038
|
+
validate68.evaluated = { "props": { "production": true }, "dynamicProps": false, "dynamicItems": false };
|
|
11918
12039
|
var schema83 = { "type": "string", "enum": ["oidc", "access-token"] };
|
|
11919
12040
|
var pattern16 = new RegExp("^\\S+$", "u");
|
|
11920
12041
|
var pattern17 = new RegExp("^[a-z][a-z0-9-]*$", "u");
|
|
11921
|
-
function
|
|
12042
|
+
function validate71(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
11922
12043
|
let vErrors = null;
|
|
11923
12044
|
let errors = 0;
|
|
11924
|
-
const evaluated0 =
|
|
12045
|
+
const evaluated0 = validate71.evaluated;
|
|
11925
12046
|
if (evaluated0.dynamicProps) {
|
|
11926
12047
|
evaluated0.props = void 0;
|
|
11927
12048
|
}
|
|
@@ -12243,15 +12364,15 @@ function validate68(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12243
12364
|
}
|
|
12244
12365
|
}
|
|
12245
12366
|
}
|
|
12246
|
-
|
|
12367
|
+
validate71.errors = vErrors;
|
|
12247
12368
|
evaluated0.props = props0;
|
|
12248
12369
|
return errors === 0;
|
|
12249
12370
|
}
|
|
12250
|
-
|
|
12251
|
-
function
|
|
12371
|
+
validate71.evaluated = { "dynamicProps": true, "dynamicItems": false };
|
|
12372
|
+
function validate70(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
12252
12373
|
let vErrors = null;
|
|
12253
12374
|
let errors = 0;
|
|
12254
|
-
const evaluated0 =
|
|
12375
|
+
const evaluated0 = validate70.evaluated;
|
|
12255
12376
|
if (evaluated0.dynamicProps) {
|
|
12256
12377
|
evaluated0.props = void 0;
|
|
12257
12378
|
}
|
|
@@ -12260,8 +12381,8 @@ function validate67(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12260
12381
|
}
|
|
12261
12382
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
12262
12383
|
if (data.npm !== void 0) {
|
|
12263
|
-
if (!
|
|
12264
|
-
vErrors = vErrors === null ?
|
|
12384
|
+
if (!validate71(data.npm, { instancePath: instancePath + "/npm", parentData: data, parentDataProperty: "npm", rootData, dynamicAnchors })) {
|
|
12385
|
+
vErrors = vErrors === null ? validate71.errors : vErrors.concat(validate71.errors);
|
|
12265
12386
|
errors = vErrors.length;
|
|
12266
12387
|
}
|
|
12267
12388
|
}
|
|
@@ -12274,18 +12395,18 @@ function validate67(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12274
12395
|
}
|
|
12275
12396
|
errors++;
|
|
12276
12397
|
}
|
|
12277
|
-
|
|
12398
|
+
validate70.errors = vErrors;
|
|
12278
12399
|
return errors === 0;
|
|
12279
12400
|
}
|
|
12280
|
-
|
|
12401
|
+
validate70.evaluated = { "props": { "npm": true }, "dynamicProps": false, "dynamicItems": false };
|
|
12281
12402
|
var schema85 = { "type": "object", "properties": { "propertyCasing": { "enum": ["wire", "sdk"], "default": "wire" }, "dateTimeType": { "enum": ["string", "Date"], "default": "string" }, "int64Type": { "enum": ["number", "bigint"], "default": "number" }, "backCompat": { "$ref": "#/$defs/typeScriptBackCompatOptions" } } };
|
|
12282
12403
|
var pattern19 = new RegExp("^[A-Za-z0-9_-]+(/[A-Za-z0-9_-]+)*$", "u");
|
|
12283
12404
|
var pattern20 = new RegExp("^(?!(?:any|bigint|boolean|never|number|object|string|symbol|undefined|unknown|void|arguments|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|eval|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|var|while|with|yield)$)[A-Za-z_$][A-Za-z0-9_$]*$", "u");
|
|
12284
12405
|
var pattern21 = new RegExp("^(?!(?:arguments|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|eval|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)(?:\\.|$))[A-Za-z_$][A-Za-z0-9_$]*(\\.(?!(?:arguments|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|eval|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|static|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)(?:\\.|$))[A-Za-z_$][A-Za-z0-9_$]*)*$", "u");
|
|
12285
|
-
function
|
|
12406
|
+
function validate75(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
12286
12407
|
let vErrors = null;
|
|
12287
12408
|
let errors = 0;
|
|
12288
|
-
const evaluated0 =
|
|
12409
|
+
const evaluated0 = validate75.evaluated;
|
|
12289
12410
|
if (evaluated0.dynamicProps) {
|
|
12290
12411
|
evaluated0.props = void 0;
|
|
12291
12412
|
}
|
|
@@ -12523,14 +12644,14 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12523
12644
|
}
|
|
12524
12645
|
errors++;
|
|
12525
12646
|
}
|
|
12526
|
-
|
|
12647
|
+
validate75.errors = vErrors;
|
|
12527
12648
|
return errors === 0;
|
|
12528
12649
|
}
|
|
12529
|
-
|
|
12530
|
-
function
|
|
12650
|
+
validate75.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
|
|
12651
|
+
function validate74(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
12531
12652
|
let vErrors = null;
|
|
12532
12653
|
let errors = 0;
|
|
12533
|
-
const evaluated0 =
|
|
12654
|
+
const evaluated0 = validate74.evaluated;
|
|
12534
12655
|
if (evaluated0.dynamicProps) {
|
|
12535
12656
|
evaluated0.props = void 0;
|
|
12536
12657
|
}
|
|
@@ -12575,8 +12696,8 @@ function validate71(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12575
12696
|
}
|
|
12576
12697
|
}
|
|
12577
12698
|
if (data.backCompat !== void 0) {
|
|
12578
|
-
if (!
|
|
12579
|
-
vErrors = vErrors === null ?
|
|
12699
|
+
if (!validate75(data.backCompat, { instancePath: instancePath + "/backCompat", parentData: data, parentDataProperty: "backCompat", rootData, dynamicAnchors })) {
|
|
12700
|
+
vErrors = vErrors === null ? validate75.errors : vErrors.concat(validate75.errors);
|
|
12580
12701
|
errors = vErrors.length;
|
|
12581
12702
|
}
|
|
12582
12703
|
}
|
|
@@ -12589,15 +12710,15 @@ function validate71(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12589
12710
|
}
|
|
12590
12711
|
errors++;
|
|
12591
12712
|
}
|
|
12592
|
-
|
|
12713
|
+
validate74.errors = vErrors;
|
|
12593
12714
|
return errors === 0;
|
|
12594
12715
|
}
|
|
12595
|
-
|
|
12716
|
+
validate74.evaluated = { "props": { "propertyCasing": true, "dateTimeType": true, "int64Type": true, "backCompat": true }, "dynamicProps": false, "dynamicItems": false };
|
|
12596
12717
|
var pattern18 = new RegExp("^[A-Za-z][0-9A-Za-z-]*$", "u");
|
|
12597
|
-
function
|
|
12718
|
+
function validate67(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
12598
12719
|
let vErrors = null;
|
|
12599
12720
|
let errors = 0;
|
|
12600
|
-
const evaluated0 =
|
|
12721
|
+
const evaluated0 = validate67.evaluated;
|
|
12601
12722
|
if (evaluated0.dynamicProps) {
|
|
12602
12723
|
evaluated0.props = void 0;
|
|
12603
12724
|
}
|
|
@@ -12606,8 +12727,8 @@ function validate64(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12606
12727
|
}
|
|
12607
12728
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
12608
12729
|
if (data.destinations !== void 0) {
|
|
12609
|
-
if (!
|
|
12610
|
-
vErrors = vErrors === null ?
|
|
12730
|
+
if (!validate68(data.destinations, { instancePath: instancePath + "/destinations", parentData: data, parentDataProperty: "destinations", rootData, dynamicAnchors })) {
|
|
12731
|
+
vErrors = vErrors === null ? validate68.errors : vErrors.concat(validate68.errors);
|
|
12611
12732
|
errors = vErrors.length;
|
|
12612
12733
|
}
|
|
12613
12734
|
}
|
|
@@ -12788,8 +12909,8 @@ function validate64(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12788
12909
|
}
|
|
12789
12910
|
}
|
|
12790
12911
|
if (data.publish !== void 0) {
|
|
12791
|
-
if (!
|
|
12792
|
-
vErrors = vErrors === null ?
|
|
12912
|
+
if (!validate70(data.publish, { instancePath: instancePath + "/publish", parentData: data, parentDataProperty: "publish", rootData, dynamicAnchors })) {
|
|
12913
|
+
vErrors = vErrors === null ? validate70.errors : vErrors.concat(validate70.errors);
|
|
12793
12914
|
errors = vErrors.length;
|
|
12794
12915
|
}
|
|
12795
12916
|
}
|
|
@@ -12833,8 +12954,8 @@ function validate64(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12833
12954
|
}
|
|
12834
12955
|
}
|
|
12835
12956
|
if (data.options !== void 0) {
|
|
12836
|
-
if (!
|
|
12837
|
-
vErrors = vErrors === null ?
|
|
12957
|
+
if (!validate74(data.options, { instancePath: instancePath + "/options", parentData: data, parentDataProperty: "options", rootData, dynamicAnchors })) {
|
|
12958
|
+
vErrors = vErrors === null ? validate74.errors : vErrors.concat(validate74.errors);
|
|
12838
12959
|
errors = vErrors.length;
|
|
12839
12960
|
}
|
|
12840
12961
|
}
|
|
@@ -12858,14 +12979,14 @@ function validate64(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
12858
12979
|
}
|
|
12859
12980
|
errors++;
|
|
12860
12981
|
}
|
|
12861
|
-
|
|
12982
|
+
validate67.errors = vErrors;
|
|
12862
12983
|
return errors === 0;
|
|
12863
12984
|
}
|
|
12864
|
-
|
|
12865
|
-
function
|
|
12985
|
+
validate67.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "packageName": true, "packageManager": true, "publish": true, "prereleaseType": true, "options": true, "compatibility": true }, "dynamicProps": false, "dynamicItems": false };
|
|
12986
|
+
function validate82(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
12866
12987
|
let vErrors = null;
|
|
12867
12988
|
let errors = 0;
|
|
12868
|
-
const evaluated0 =
|
|
12989
|
+
const evaluated0 = validate82.evaluated;
|
|
12869
12990
|
if (evaluated0.dynamicProps) {
|
|
12870
12991
|
evaluated0.props = void 0;
|
|
12871
12992
|
}
|
|
@@ -13060,15 +13181,15 @@ function validate79(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
13060
13181
|
}
|
|
13061
13182
|
}
|
|
13062
13183
|
}
|
|
13063
|
-
|
|
13184
|
+
validate82.errors = vErrors;
|
|
13064
13185
|
evaluated0.props = props0;
|
|
13065
13186
|
return errors === 0;
|
|
13066
13187
|
}
|
|
13067
|
-
|
|
13068
|
-
function
|
|
13188
|
+
validate82.evaluated = { "dynamicProps": true, "dynamicItems": false };
|
|
13189
|
+
function validate81(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
13069
13190
|
let vErrors = null;
|
|
13070
13191
|
let errors = 0;
|
|
13071
|
-
const evaluated0 =
|
|
13192
|
+
const evaluated0 = validate81.evaluated;
|
|
13072
13193
|
if (evaluated0.dynamicProps) {
|
|
13073
13194
|
evaluated0.props = void 0;
|
|
13074
13195
|
}
|
|
@@ -13077,8 +13198,8 @@ function validate78(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
13077
13198
|
}
|
|
13078
13199
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
13079
13200
|
if (data.pypi !== void 0) {
|
|
13080
|
-
if (!
|
|
13081
|
-
vErrors = vErrors === null ?
|
|
13201
|
+
if (!validate82(data.pypi, { instancePath: instancePath + "/pypi", parentData: data, parentDataProperty: "pypi", rootData, dynamicAnchors })) {
|
|
13202
|
+
vErrors = vErrors === null ? validate82.errors : vErrors.concat(validate82.errors);
|
|
13082
13203
|
errors = vErrors.length;
|
|
13083
13204
|
}
|
|
13084
13205
|
}
|
|
@@ -13091,17 +13212,17 @@ function validate78(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
13091
13212
|
}
|
|
13092
13213
|
errors++;
|
|
13093
13214
|
}
|
|
13094
|
-
|
|
13215
|
+
validate81.errors = vErrors;
|
|
13095
13216
|
return errors === 0;
|
|
13096
13217
|
}
|
|
13097
|
-
|
|
13218
|
+
validate81.evaluated = { "props": { "pypi": true }, "dynamicProps": false, "dynamicItems": false };
|
|
13098
13219
|
var pattern23 = new RegExp("^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$", "u");
|
|
13099
13220
|
var pattern24 = new RegExp("^(?!(?:False|None|True|and|as|assert|async|await|break|class|continue|def|del|elif|else|except|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|raise|return|try|while|with|yield)$)[A-Za-z_][A-Za-z0-9_]*$", "u");
|
|
13100
13221
|
var pattern25 = new RegExp("^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)+$", "u");
|
|
13101
|
-
function
|
|
13222
|
+
function validate86(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
13102
13223
|
let vErrors = null;
|
|
13103
13224
|
let errors = 0;
|
|
13104
|
-
const evaluated0 =
|
|
13225
|
+
const evaluated0 = validate86.evaluated;
|
|
13105
13226
|
if (evaluated0.dynamicProps) {
|
|
13106
13227
|
evaluated0.props = void 0;
|
|
13107
13228
|
}
|
|
@@ -13493,15 +13614,15 @@ function validate83(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
13493
13614
|
}
|
|
13494
13615
|
errors++;
|
|
13495
13616
|
}
|
|
13496
|
-
|
|
13617
|
+
validate86.errors = vErrors;
|
|
13497
13618
|
evaluated0.props = props0;
|
|
13498
13619
|
return errors === 0;
|
|
13499
13620
|
}
|
|
13500
|
-
|
|
13501
|
-
function
|
|
13621
|
+
validate86.evaluated = { "dynamicProps": true, "dynamicItems": false };
|
|
13622
|
+
function validate85(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
13502
13623
|
let vErrors = null;
|
|
13503
13624
|
let errors = 0;
|
|
13504
|
-
const evaluated0 =
|
|
13625
|
+
const evaluated0 = validate85.evaluated;
|
|
13505
13626
|
if (evaluated0.dynamicProps) {
|
|
13506
13627
|
evaluated0.props = void 0;
|
|
13507
13628
|
}
|
|
@@ -13510,8 +13631,8 @@ function validate82(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
13510
13631
|
}
|
|
13511
13632
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
13512
13633
|
if (data.backCompat !== void 0) {
|
|
13513
|
-
if (!
|
|
13514
|
-
vErrors = vErrors === null ?
|
|
13634
|
+
if (!validate86(data.backCompat, { instancePath: instancePath + "/backCompat", parentData: data, parentDataProperty: "backCompat", rootData, dynamicAnchors })) {
|
|
13635
|
+
vErrors = vErrors === null ? validate86.errors : vErrors.concat(validate86.errors);
|
|
13515
13636
|
errors = vErrors.length;
|
|
13516
13637
|
}
|
|
13517
13638
|
}
|
|
@@ -13524,14 +13645,14 @@ function validate82(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
13524
13645
|
}
|
|
13525
13646
|
errors++;
|
|
13526
13647
|
}
|
|
13527
|
-
|
|
13648
|
+
validate85.errors = vErrors;
|
|
13528
13649
|
return errors === 0;
|
|
13529
13650
|
}
|
|
13530
|
-
|
|
13531
|
-
function
|
|
13651
|
+
validate85.evaluated = { "props": { "backCompat": true }, "dynamicProps": false, "dynamicItems": false };
|
|
13652
|
+
function validate79(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
13532
13653
|
let vErrors = null;
|
|
13533
13654
|
let errors = 0;
|
|
13534
|
-
const evaluated0 =
|
|
13655
|
+
const evaluated0 = validate79.evaluated;
|
|
13535
13656
|
if (evaluated0.dynamicProps) {
|
|
13536
13657
|
evaluated0.props = void 0;
|
|
13537
13658
|
}
|
|
@@ -13540,8 +13661,8 @@ function validate76(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
13540
13661
|
}
|
|
13541
13662
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
13542
13663
|
if (data.destinations !== void 0) {
|
|
13543
|
-
if (!
|
|
13544
|
-
vErrors = vErrors === null ?
|
|
13664
|
+
if (!validate68(data.destinations, { instancePath: instancePath + "/destinations", parentData: data, parentDataProperty: "destinations", rootData, dynamicAnchors })) {
|
|
13665
|
+
vErrors = vErrors === null ? validate68.errors : vErrors.concat(validate68.errors);
|
|
13545
13666
|
errors = vErrors.length;
|
|
13546
13667
|
}
|
|
13547
13668
|
}
|
|
@@ -13722,8 +13843,8 @@ function validate76(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
13722
13843
|
}
|
|
13723
13844
|
}
|
|
13724
13845
|
if (data.publish !== void 0) {
|
|
13725
|
-
if (!
|
|
13726
|
-
vErrors = vErrors === null ?
|
|
13846
|
+
if (!validate81(data.publish, { instancePath: instancePath + "/publish", parentData: data, parentDataProperty: "publish", rootData, dynamicAnchors })) {
|
|
13847
|
+
vErrors = vErrors === null ? validate81.errors : vErrors.concat(validate81.errors);
|
|
13727
13848
|
errors = vErrors.length;
|
|
13728
13849
|
}
|
|
13729
13850
|
}
|
|
@@ -13767,8 +13888,8 @@ function validate76(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
13767
13888
|
}
|
|
13768
13889
|
}
|
|
13769
13890
|
if (data.options !== void 0) {
|
|
13770
|
-
if (!
|
|
13771
|
-
vErrors = vErrors === null ?
|
|
13891
|
+
if (!validate85(data.options, { instancePath: instancePath + "/options", parentData: data, parentDataProperty: "options", rootData, dynamicAnchors })) {
|
|
13892
|
+
vErrors = vErrors === null ? validate85.errors : vErrors.concat(validate85.errors);
|
|
13772
13893
|
errors = vErrors.length;
|
|
13773
13894
|
}
|
|
13774
13895
|
}
|
|
@@ -13781,15 +13902,15 @@ function validate76(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
13781
13902
|
}
|
|
13782
13903
|
errors++;
|
|
13783
13904
|
}
|
|
13784
|
-
|
|
13905
|
+
validate79.errors = vErrors;
|
|
13785
13906
|
return errors === 0;
|
|
13786
13907
|
}
|
|
13787
|
-
|
|
13908
|
+
validate79.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "packageName": true, "projectName": true, "publish": true, "prereleaseType": true, "options": true }, "dynamicProps": false, "dynamicItems": false };
|
|
13788
13909
|
var schema101 = { "type": "object", "properties": { "codeStyle": { "enum": ["v1", "v2"], "default": "v1" }, "optionsFieldExported": { "type": "boolean", "default": true } } };
|
|
13789
|
-
function
|
|
13910
|
+
function validate92(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
13790
13911
|
let vErrors = null;
|
|
13791
13912
|
let errors = 0;
|
|
13792
|
-
const evaluated0 =
|
|
13913
|
+
const evaluated0 = validate92.evaluated;
|
|
13793
13914
|
if (evaluated0.dynamicProps) {
|
|
13794
13915
|
evaluated0.props = void 0;
|
|
13795
13916
|
}
|
|
@@ -13798,8 +13919,8 @@ function validate89(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
13798
13919
|
}
|
|
13799
13920
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
13800
13921
|
if (data.go !== void 0) {
|
|
13801
|
-
if (!
|
|
13802
|
-
vErrors = vErrors === null ?
|
|
13922
|
+
if (!validate82(data.go, { instancePath: instancePath + "/go", parentData: data, parentDataProperty: "go", rootData, dynamicAnchors })) {
|
|
13923
|
+
vErrors = vErrors === null ? validate82.errors : vErrors.concat(validate82.errors);
|
|
13803
13924
|
errors = vErrors.length;
|
|
13804
13925
|
}
|
|
13805
13926
|
}
|
|
@@ -13812,15 +13933,15 @@ function validate89(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
13812
13933
|
}
|
|
13813
13934
|
errors++;
|
|
13814
13935
|
}
|
|
13815
|
-
|
|
13936
|
+
validate92.errors = vErrors;
|
|
13816
13937
|
return errors === 0;
|
|
13817
13938
|
}
|
|
13818
|
-
|
|
13939
|
+
validate92.evaluated = { "props": { "go": true }, "dynamicProps": false, "dynamicItems": false };
|
|
13819
13940
|
var pattern26 = new RegExp("^[A-Za-z0-9][A-Za-z0-9._~+-]*(/[A-Za-z0-9][A-Za-z0-9._~+-]*)*$", "u");
|
|
13820
|
-
function
|
|
13941
|
+
function validate90(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
13821
13942
|
let vErrors = null;
|
|
13822
13943
|
let errors = 0;
|
|
13823
|
-
const evaluated0 =
|
|
13944
|
+
const evaluated0 = validate90.evaluated;
|
|
13824
13945
|
if (evaluated0.dynamicProps) {
|
|
13825
13946
|
evaluated0.props = void 0;
|
|
13826
13947
|
}
|
|
@@ -13829,8 +13950,8 @@ function validate87(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
13829
13950
|
}
|
|
13830
13951
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
13831
13952
|
if (data.destinations !== void 0) {
|
|
13832
|
-
if (!
|
|
13833
|
-
vErrors = vErrors === null ?
|
|
13953
|
+
if (!validate68(data.destinations, { instancePath: instancePath + "/destinations", parentData: data, parentDataProperty: "destinations", rootData, dynamicAnchors })) {
|
|
13954
|
+
vErrors = vErrors === null ? validate68.errors : vErrors.concat(validate68.errors);
|
|
13834
13955
|
errors = vErrors.length;
|
|
13835
13956
|
}
|
|
13836
13957
|
}
|
|
@@ -14049,8 +14170,8 @@ function validate87(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
14049
14170
|
}
|
|
14050
14171
|
}
|
|
14051
14172
|
if (data.publish !== void 0) {
|
|
14052
|
-
if (!
|
|
14053
|
-
vErrors = vErrors === null ?
|
|
14173
|
+
if (!validate92(data.publish, { instancePath: instancePath + "/publish", parentData: data, parentDataProperty: "publish", rootData, dynamicAnchors })) {
|
|
14174
|
+
vErrors = vErrors === null ? validate92.errors : vErrors.concat(validate92.errors);
|
|
14054
14175
|
errors = vErrors.length;
|
|
14055
14176
|
}
|
|
14056
14177
|
}
|
|
@@ -14154,15 +14275,15 @@ function validate87(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
14154
14275
|
}
|
|
14155
14276
|
errors++;
|
|
14156
14277
|
}
|
|
14157
|
-
|
|
14278
|
+
validate90.errors = vErrors;
|
|
14158
14279
|
return errors === 0;
|
|
14159
14280
|
}
|
|
14160
|
-
|
|
14281
|
+
validate90.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "packageName": true, "goModulePathOverride": true, "pointerServices": true, "publish": true, "prereleaseType": true, "options": true }, "dynamicProps": false, "dynamicItems": false };
|
|
14161
14282
|
var schema104 = { "type": "object", "properties": { "crate_name": { "type": "string" }, "package_repository": { "type": "string" }, "client_name": { "type": "string" }, "environment_enum_name": { "type": "string", "default": "Environment" }, "date_time_type": { "enum": ["offset", "utc", "string"], "default": "offset" }, "http_client": { "enum": ["reqwest"], "default": "reqwest" }, "reqwest_tls": { "enum": ["rustls", "native-tls"], "default": "rustls" }, "max_retries": { "type": "integer", "minimum": 0 }, "extra_dependencies": { "type": "object" }, "extra_dev_dependencies": { "type": "object" } } };
|
|
14162
|
-
function
|
|
14283
|
+
function validate98(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
14163
14284
|
let vErrors = null;
|
|
14164
14285
|
let errors = 0;
|
|
14165
|
-
const evaluated0 =
|
|
14286
|
+
const evaluated0 = validate98.evaluated;
|
|
14166
14287
|
if (evaluated0.dynamicProps) {
|
|
14167
14288
|
evaluated0.props = void 0;
|
|
14168
14289
|
}
|
|
@@ -14171,8 +14292,8 @@ function validate95(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
14171
14292
|
}
|
|
14172
14293
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
14173
14294
|
if (data.cargo !== void 0) {
|
|
14174
|
-
if (!
|
|
14175
|
-
vErrors = vErrors === null ?
|
|
14295
|
+
if (!validate82(data.cargo, { instancePath: instancePath + "/cargo", parentData: data, parentDataProperty: "cargo", rootData, dynamicAnchors })) {
|
|
14296
|
+
vErrors = vErrors === null ? validate82.errors : vErrors.concat(validate82.errors);
|
|
14176
14297
|
errors = vErrors.length;
|
|
14177
14298
|
}
|
|
14178
14299
|
}
|
|
@@ -14185,14 +14306,14 @@ function validate95(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
14185
14306
|
}
|
|
14186
14307
|
errors++;
|
|
14187
14308
|
}
|
|
14188
|
-
|
|
14309
|
+
validate98.errors = vErrors;
|
|
14189
14310
|
return errors === 0;
|
|
14190
14311
|
}
|
|
14191
|
-
|
|
14192
|
-
function
|
|
14312
|
+
validate98.evaluated = { "props": { "cargo": true }, "dynamicProps": false, "dynamicItems": false };
|
|
14313
|
+
function validate96(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
14193
14314
|
let vErrors = null;
|
|
14194
14315
|
let errors = 0;
|
|
14195
|
-
const evaluated0 =
|
|
14316
|
+
const evaluated0 = validate96.evaluated;
|
|
14196
14317
|
if (evaluated0.dynamicProps) {
|
|
14197
14318
|
evaluated0.props = void 0;
|
|
14198
14319
|
}
|
|
@@ -14201,8 +14322,8 @@ function validate93(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
14201
14322
|
}
|
|
14202
14323
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
14203
14324
|
if (data.destinations !== void 0) {
|
|
14204
|
-
if (!
|
|
14205
|
-
vErrors = vErrors === null ?
|
|
14325
|
+
if (!validate68(data.destinations, { instancePath: instancePath + "/destinations", parentData: data, parentDataProperty: "destinations", rootData, dynamicAnchors })) {
|
|
14326
|
+
vErrors = vErrors === null ? validate68.errors : vErrors.concat(validate68.errors);
|
|
14206
14327
|
errors = vErrors.length;
|
|
14207
14328
|
}
|
|
14208
14329
|
}
|
|
@@ -14576,8 +14697,8 @@ function validate93(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
14576
14697
|
}
|
|
14577
14698
|
}
|
|
14578
14699
|
if (data.publish !== void 0) {
|
|
14579
|
-
if (!
|
|
14580
|
-
vErrors = vErrors === null ?
|
|
14700
|
+
if (!validate98(data.publish, { instancePath: instancePath + "/publish", parentData: data, parentDataProperty: "publish", rootData, dynamicAnchors })) {
|
|
14701
|
+
vErrors = vErrors === null ? validate98.errors : vErrors.concat(validate98.errors);
|
|
14581
14702
|
errors = vErrors.length;
|
|
14582
14703
|
}
|
|
14583
14704
|
}
|
|
@@ -14629,16 +14750,16 @@ function validate93(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
14629
14750
|
}
|
|
14630
14751
|
errors++;
|
|
14631
14752
|
}
|
|
14632
|
-
|
|
14753
|
+
validate96.errors = vErrors;
|
|
14633
14754
|
return errors === 0;
|
|
14634
14755
|
}
|
|
14635
|
-
|
|
14756
|
+
validate96.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "packageName": true, "options": true, "publish": true, "prereleaseType": true }, "dynamicProps": false, "dynamicItems": false };
|
|
14636
14757
|
var schema107 = { "type": "object", "properties": { "destinations": { "$ref": "#/$defs/destinationsConfig" }, "promotion": { "$ref": "#/$defs/promotion" }, "generatorVersion": { "type": "string" }, "skip": { "type": "boolean" }, "readmeTitle": { "type": "string" }, "reverseDomain": { "type": "string" }, "publish": { "$ref": "#/$defs/mavenPublishConfig" }, "installOrder": { "type": "array", "items": { "enum": ["gradle", "maven", "source"] }, "default": ["gradle", "maven", "source"] }, "prereleaseType": { "$ref": "#/$defs/prereleaseType" }, "options": { "$ref": "#/$defs/javaTargetOptions" } } };
|
|
14637
14758
|
var pattern29 = new RegExp("^[A-Za-z0-9]+([._-][A-Za-z0-9]+)*$", "u");
|
|
14638
|
-
function
|
|
14759
|
+
function validate105(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
14639
14760
|
let vErrors = null;
|
|
14640
14761
|
let errors = 0;
|
|
14641
|
-
const evaluated0 =
|
|
14762
|
+
const evaluated0 = validate105.evaluated;
|
|
14642
14763
|
if (evaluated0.dynamicProps) {
|
|
14643
14764
|
evaluated0.props = void 0;
|
|
14644
14765
|
}
|
|
@@ -14979,15 +15100,15 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
14979
15100
|
}
|
|
14980
15101
|
}
|
|
14981
15102
|
}
|
|
14982
|
-
|
|
15103
|
+
validate105.errors = vErrors;
|
|
14983
15104
|
evaluated0.props = props0;
|
|
14984
15105
|
return errors === 0;
|
|
14985
15106
|
}
|
|
14986
|
-
|
|
14987
|
-
function
|
|
15107
|
+
validate105.evaluated = { "dynamicProps": true, "dynamicItems": false };
|
|
15108
|
+
function validate104(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
14988
15109
|
let vErrors = null;
|
|
14989
15110
|
let errors = 0;
|
|
14990
|
-
const evaluated0 =
|
|
15111
|
+
const evaluated0 = validate104.evaluated;
|
|
14991
15112
|
if (evaluated0.dynamicProps) {
|
|
14992
15113
|
evaluated0.props = void 0;
|
|
14993
15114
|
}
|
|
@@ -14996,8 +15117,8 @@ function validate101(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
14996
15117
|
}
|
|
14997
15118
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
14998
15119
|
if (data.maven !== void 0) {
|
|
14999
|
-
if (!
|
|
15000
|
-
vErrors = vErrors === null ?
|
|
15120
|
+
if (!validate105(data.maven, { instancePath: instancePath + "/maven", parentData: data, parentDataProperty: "maven", rootData, dynamicAnchors })) {
|
|
15121
|
+
vErrors = vErrors === null ? validate105.errors : vErrors.concat(validate105.errors);
|
|
15001
15122
|
errors = vErrors.length;
|
|
15002
15123
|
}
|
|
15003
15124
|
}
|
|
@@ -15010,14 +15131,14 @@ function validate101(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
15010
15131
|
}
|
|
15011
15132
|
errors++;
|
|
15012
15133
|
}
|
|
15013
|
-
|
|
15134
|
+
validate104.errors = vErrors;
|
|
15014
15135
|
return errors === 0;
|
|
15015
15136
|
}
|
|
15016
|
-
|
|
15017
|
-
function
|
|
15137
|
+
validate104.evaluated = { "props": { "maven": true }, "dynamicProps": false, "dynamicItems": false };
|
|
15138
|
+
function validate109(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
15018
15139
|
let vErrors = null;
|
|
15019
15140
|
let errors = 0;
|
|
15020
|
-
const evaluated0 =
|
|
15141
|
+
const evaluated0 = validate109.evaluated;
|
|
15021
15142
|
if (evaluated0.dynamicProps) {
|
|
15022
15143
|
evaluated0.props = void 0;
|
|
15023
15144
|
}
|
|
@@ -15155,14 +15276,14 @@ function validate106(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
15155
15276
|
}
|
|
15156
15277
|
errors++;
|
|
15157
15278
|
}
|
|
15158
|
-
|
|
15279
|
+
validate109.errors = vErrors;
|
|
15159
15280
|
return errors === 0;
|
|
15160
15281
|
}
|
|
15161
|
-
|
|
15162
|
-
function
|
|
15282
|
+
validate109.evaluated = { "props": { "backCompat": true, "elideConst": true }, "dynamicProps": false, "dynamicItems": false };
|
|
15283
|
+
function validate111(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
15163
15284
|
let vErrors = null;
|
|
15164
15285
|
let errors = 0;
|
|
15165
|
-
const evaluated0 =
|
|
15286
|
+
const evaluated0 = validate111.evaluated;
|
|
15166
15287
|
if (evaluated0.dynamicProps) {
|
|
15167
15288
|
evaluated0.props = void 0;
|
|
15168
15289
|
}
|
|
@@ -15297,28 +15418,28 @@ function validate108(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
15297
15418
|
}
|
|
15298
15419
|
errors++;
|
|
15299
15420
|
}
|
|
15300
|
-
|
|
15421
|
+
validate111.errors = vErrors;
|
|
15301
15422
|
return errors === 0;
|
|
15302
15423
|
}
|
|
15303
|
-
|
|
15304
|
-
function
|
|
15424
|
+
validate111.evaluated = { "props": { "camelCasePackageSegments": true, "flatModelPackages": true, "refNameNestedModels": true, "unnamespacedImplicitResponses": true }, "dynamicProps": false, "dynamicItems": false };
|
|
15425
|
+
function validate108(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
15305
15426
|
let vErrors = null;
|
|
15306
15427
|
let errors = 0;
|
|
15307
|
-
const evaluated0 =
|
|
15428
|
+
const evaluated0 = validate108.evaluated;
|
|
15308
15429
|
if (evaluated0.dynamicProps) {
|
|
15309
15430
|
evaluated0.props = void 0;
|
|
15310
15431
|
}
|
|
15311
15432
|
if (evaluated0.dynamicItems) {
|
|
15312
15433
|
evaluated0.items = void 0;
|
|
15313
15434
|
}
|
|
15314
|
-
if (!
|
|
15315
|
-
vErrors = vErrors === null ?
|
|
15435
|
+
if (!validate109(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
|
|
15436
|
+
vErrors = vErrors === null ? validate109.errors : vErrors.concat(validate109.errors);
|
|
15316
15437
|
errors = vErrors.length;
|
|
15317
15438
|
}
|
|
15318
15439
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
15319
15440
|
if (data.backCompat !== void 0) {
|
|
15320
|
-
if (!
|
|
15321
|
-
vErrors = vErrors === null ?
|
|
15441
|
+
if (!validate111(data.backCompat, { instancePath: instancePath + "/backCompat", parentData: data, parentDataProperty: "backCompat", rootData, dynamicAnchors })) {
|
|
15442
|
+
vErrors = vErrors === null ? validate111.errors : vErrors.concat(validate111.errors);
|
|
15322
15443
|
errors = vErrors.length;
|
|
15323
15444
|
}
|
|
15324
15445
|
}
|
|
@@ -15331,14 +15452,14 @@ function validate105(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
15331
15452
|
}
|
|
15332
15453
|
errors++;
|
|
15333
15454
|
}
|
|
15334
|
-
|
|
15455
|
+
validate108.errors = vErrors;
|
|
15335
15456
|
return errors === 0;
|
|
15336
15457
|
}
|
|
15337
|
-
|
|
15338
|
-
function
|
|
15458
|
+
validate108.evaluated = { "props": { "backCompat": true, "elideConst": true }, "dynamicProps": false, "dynamicItems": false };
|
|
15459
|
+
function validate102(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
15339
15460
|
let vErrors = null;
|
|
15340
15461
|
let errors = 0;
|
|
15341
|
-
const evaluated0 =
|
|
15462
|
+
const evaluated0 = validate102.evaluated;
|
|
15342
15463
|
if (evaluated0.dynamicProps) {
|
|
15343
15464
|
evaluated0.props = void 0;
|
|
15344
15465
|
}
|
|
@@ -15347,8 +15468,8 @@ function validate99(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
15347
15468
|
}
|
|
15348
15469
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
15349
15470
|
if (data.destinations !== void 0) {
|
|
15350
|
-
if (!
|
|
15351
|
-
vErrors = vErrors === null ?
|
|
15471
|
+
if (!validate68(data.destinations, { instancePath: instancePath + "/destinations", parentData: data, parentDataProperty: "destinations", rootData, dynamicAnchors })) {
|
|
15472
|
+
vErrors = vErrors === null ? validate68.errors : vErrors.concat(validate68.errors);
|
|
15352
15473
|
errors = vErrors.length;
|
|
15353
15474
|
}
|
|
15354
15475
|
}
|
|
@@ -15501,8 +15622,8 @@ function validate99(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
15501
15622
|
}
|
|
15502
15623
|
}
|
|
15503
15624
|
if (data.publish !== void 0) {
|
|
15504
|
-
if (!
|
|
15505
|
-
vErrors = vErrors === null ?
|
|
15625
|
+
if (!validate104(data.publish, { instancePath: instancePath + "/publish", parentData: data, parentDataProperty: "publish", rootData, dynamicAnchors })) {
|
|
15626
|
+
vErrors = vErrors === null ? validate104.errors : vErrors.concat(validate104.errors);
|
|
15506
15627
|
errors = vErrors.length;
|
|
15507
15628
|
}
|
|
15508
15629
|
}
|
|
@@ -15572,8 +15693,8 @@ function validate99(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
15572
15693
|
}
|
|
15573
15694
|
}
|
|
15574
15695
|
if (data.options !== void 0) {
|
|
15575
|
-
if (!
|
|
15576
|
-
vErrors = vErrors === null ?
|
|
15696
|
+
if (!validate108(data.options, { instancePath: instancePath + "/options", parentData: data, parentDataProperty: "options", rootData, dynamicAnchors })) {
|
|
15697
|
+
vErrors = vErrors === null ? validate108.errors : vErrors.concat(validate108.errors);
|
|
15577
15698
|
errors = vErrors.length;
|
|
15578
15699
|
}
|
|
15579
15700
|
}
|
|
@@ -15586,15 +15707,15 @@ function validate99(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
15586
15707
|
}
|
|
15587
15708
|
errors++;
|
|
15588
15709
|
}
|
|
15589
|
-
|
|
15710
|
+
validate102.errors = vErrors;
|
|
15590
15711
|
return errors === 0;
|
|
15591
15712
|
}
|
|
15592
|
-
|
|
15713
|
+
validate102.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "reverseDomain": true, "publish": true, "installOrder": true, "prereleaseType": true, "options": true }, "dynamicProps": false, "dynamicItems": false };
|
|
15593
15714
|
var schema118 = { "type": "object", "properties": { "destinations": { "$ref": "#/$defs/destinationsConfig" }, "promotion": { "$ref": "#/$defs/promotion" }, "generatorVersion": { "type": "string" }, "skip": { "type": "boolean" }, "readmeTitle": { "type": "string" }, "reverseDomain": { "type": "string" }, "publish": { "$ref": "#/$defs/mavenPublishConfig" }, "installOrder": { "type": "array", "items": { "enum": ["gradle", "maven", "source"] }, "default": ["gradle", "maven", "source"] }, "prereleaseType": { "$ref": "#/$defs/prereleaseType" }, "options": { "$ref": "#/$defs/jvmTargetOptions" } } };
|
|
15594
|
-
function
|
|
15715
|
+
function validate115(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
15595
15716
|
let vErrors = null;
|
|
15596
15717
|
let errors = 0;
|
|
15597
|
-
const evaluated0 =
|
|
15718
|
+
const evaluated0 = validate115.evaluated;
|
|
15598
15719
|
if (evaluated0.dynamicProps) {
|
|
15599
15720
|
evaluated0.props = void 0;
|
|
15600
15721
|
}
|
|
@@ -15603,8 +15724,8 @@ function validate112(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
15603
15724
|
}
|
|
15604
15725
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
15605
15726
|
if (data.destinations !== void 0) {
|
|
15606
|
-
if (!
|
|
15607
|
-
vErrors = vErrors === null ?
|
|
15727
|
+
if (!validate68(data.destinations, { instancePath: instancePath + "/destinations", parentData: data, parentDataProperty: "destinations", rootData, dynamicAnchors })) {
|
|
15728
|
+
vErrors = vErrors === null ? validate68.errors : vErrors.concat(validate68.errors);
|
|
15608
15729
|
errors = vErrors.length;
|
|
15609
15730
|
}
|
|
15610
15731
|
}
|
|
@@ -15757,8 +15878,8 @@ function validate112(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
15757
15878
|
}
|
|
15758
15879
|
}
|
|
15759
15880
|
if (data.publish !== void 0) {
|
|
15760
|
-
if (!
|
|
15761
|
-
vErrors = vErrors === null ?
|
|
15881
|
+
if (!validate104(data.publish, { instancePath: instancePath + "/publish", parentData: data, parentDataProperty: "publish", rootData, dynamicAnchors })) {
|
|
15882
|
+
vErrors = vErrors === null ? validate104.errors : vErrors.concat(validate104.errors);
|
|
15762
15883
|
errors = vErrors.length;
|
|
15763
15884
|
}
|
|
15764
15885
|
}
|
|
@@ -15828,8 +15949,8 @@ function validate112(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
15828
15949
|
}
|
|
15829
15950
|
}
|
|
15830
15951
|
if (data.options !== void 0) {
|
|
15831
|
-
if (!
|
|
15832
|
-
vErrors = vErrors === null ?
|
|
15952
|
+
if (!validate109(data.options, { instancePath: instancePath + "/options", parentData: data, parentDataProperty: "options", rootData, dynamicAnchors })) {
|
|
15953
|
+
vErrors = vErrors === null ? validate109.errors : vErrors.concat(validate109.errors);
|
|
15833
15954
|
errors = vErrors.length;
|
|
15834
15955
|
}
|
|
15835
15956
|
}
|
|
@@ -15842,14 +15963,14 @@ function validate112(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
15842
15963
|
}
|
|
15843
15964
|
errors++;
|
|
15844
15965
|
}
|
|
15845
|
-
|
|
15966
|
+
validate115.errors = vErrors;
|
|
15846
15967
|
return errors === 0;
|
|
15847
15968
|
}
|
|
15848
|
-
|
|
15849
|
-
function
|
|
15969
|
+
validate115.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "reverseDomain": true, "publish": true, "installOrder": true, "prereleaseType": true, "options": true }, "dynamicProps": false, "dynamicItems": false };
|
|
15970
|
+
function validate122(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
15850
15971
|
let vErrors = null;
|
|
15851
15972
|
let errors = 0;
|
|
15852
|
-
const evaluated0 =
|
|
15973
|
+
const evaluated0 = validate122.evaluated;
|
|
15853
15974
|
if (evaluated0.dynamicProps) {
|
|
15854
15975
|
evaluated0.props = void 0;
|
|
15855
15976
|
}
|
|
@@ -15858,8 +15979,8 @@ function validate119(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
15858
15979
|
}
|
|
15859
15980
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
15860
15981
|
if (data.swiftpm !== void 0) {
|
|
15861
|
-
if (!
|
|
15862
|
-
vErrors = vErrors === null ?
|
|
15982
|
+
if (!validate82(data.swiftpm, { instancePath: instancePath + "/swiftpm", parentData: data, parentDataProperty: "swiftpm", rootData, dynamicAnchors })) {
|
|
15983
|
+
vErrors = vErrors === null ? validate82.errors : vErrors.concat(validate82.errors);
|
|
15863
15984
|
errors = vErrors.length;
|
|
15864
15985
|
}
|
|
15865
15986
|
}
|
|
@@ -15872,14 +15993,14 @@ function validate119(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
15872
15993
|
}
|
|
15873
15994
|
errors++;
|
|
15874
15995
|
}
|
|
15875
|
-
|
|
15996
|
+
validate122.errors = vErrors;
|
|
15876
15997
|
return errors === 0;
|
|
15877
15998
|
}
|
|
15878
|
-
|
|
15879
|
-
function
|
|
15999
|
+
validate122.evaluated = { "props": { "swiftpm": true }, "dynamicProps": false, "dynamicItems": false };
|
|
16000
|
+
function validate120(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
15880
16001
|
let vErrors = null;
|
|
15881
16002
|
let errors = 0;
|
|
15882
|
-
const evaluated0 =
|
|
16003
|
+
const evaluated0 = validate120.evaluated;
|
|
15883
16004
|
if (evaluated0.dynamicProps) {
|
|
15884
16005
|
evaluated0.props = void 0;
|
|
15885
16006
|
}
|
|
@@ -15888,8 +16009,8 @@ function validate117(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
15888
16009
|
}
|
|
15889
16010
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
15890
16011
|
if (data.destinations !== void 0) {
|
|
15891
|
-
if (!
|
|
15892
|
-
vErrors = vErrors === null ?
|
|
16012
|
+
if (!validate68(data.destinations, { instancePath: instancePath + "/destinations", parentData: data, parentDataProperty: "destinations", rootData, dynamicAnchors })) {
|
|
16013
|
+
vErrors = vErrors === null ? validate68.errors : vErrors.concat(validate68.errors);
|
|
15893
16014
|
errors = vErrors.length;
|
|
15894
16015
|
}
|
|
15895
16016
|
}
|
|
@@ -16042,8 +16163,8 @@ function validate117(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
16042
16163
|
}
|
|
16043
16164
|
}
|
|
16044
16165
|
if (data.publish !== void 0) {
|
|
16045
|
-
if (!
|
|
16046
|
-
vErrors = vErrors === null ?
|
|
16166
|
+
if (!validate122(data.publish, { instancePath: instancePath + "/publish", parentData: data, parentDataProperty: "publish", rootData, dynamicAnchors })) {
|
|
16167
|
+
vErrors = vErrors === null ? validate122.errors : vErrors.concat(validate122.errors);
|
|
16047
16168
|
errors = vErrors.length;
|
|
16048
16169
|
}
|
|
16049
16170
|
}
|
|
@@ -16135,15 +16256,15 @@ function validate117(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
16135
16256
|
}
|
|
16136
16257
|
errors++;
|
|
16137
16258
|
}
|
|
16138
|
-
|
|
16259
|
+
validate120.errors = vErrors;
|
|
16139
16260
|
return errors === 0;
|
|
16140
16261
|
}
|
|
16141
|
-
|
|
16262
|
+
validate120.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "packageName": true, "publish": true, "prereleaseType": true, "options": true }, "dynamicProps": false, "dynamicItems": false };
|
|
16142
16263
|
var schema126 = { "type": "object", "properties": { "destinations": { "$ref": "#/$defs/destinationsConfig" }, "promotion": { "$ref": "#/$defs/promotion" }, "generatorVersion": { "type": "string" }, "skip": { "type": "boolean" }, "readmeTitle": { "type": "string" }, "gemName": { "type": "string" }, "publish": { "$ref": "#/$defs/rubyGemsPublishConfig" }, "installOrder": { "type": "array", "items": { "enum": ["bundler", "gem"] }, "default": ["bundler", "gem"] }, "prereleaseType": { "$ref": "#/$defs/prereleaseType" } } };
|
|
16143
|
-
function
|
|
16264
|
+
function validate128(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
16144
16265
|
let vErrors = null;
|
|
16145
16266
|
let errors = 0;
|
|
16146
|
-
const evaluated0 =
|
|
16267
|
+
const evaluated0 = validate128.evaluated;
|
|
16147
16268
|
if (evaluated0.dynamicProps) {
|
|
16148
16269
|
evaluated0.props = void 0;
|
|
16149
16270
|
}
|
|
@@ -16152,8 +16273,8 @@ function validate125(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
16152
16273
|
}
|
|
16153
16274
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
16154
16275
|
if (data.rubygems !== void 0) {
|
|
16155
|
-
if (!
|
|
16156
|
-
vErrors = vErrors === null ?
|
|
16276
|
+
if (!validate82(data.rubygems, { instancePath: instancePath + "/rubygems", parentData: data, parentDataProperty: "rubygems", rootData, dynamicAnchors })) {
|
|
16277
|
+
vErrors = vErrors === null ? validate82.errors : vErrors.concat(validate82.errors);
|
|
16157
16278
|
errors = vErrors.length;
|
|
16158
16279
|
}
|
|
16159
16280
|
}
|
|
@@ -16166,14 +16287,14 @@ function validate125(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
16166
16287
|
}
|
|
16167
16288
|
errors++;
|
|
16168
16289
|
}
|
|
16169
|
-
|
|
16290
|
+
validate128.errors = vErrors;
|
|
16170
16291
|
return errors === 0;
|
|
16171
16292
|
}
|
|
16172
|
-
|
|
16173
|
-
function
|
|
16293
|
+
validate128.evaluated = { "props": { "rubygems": true }, "dynamicProps": false, "dynamicItems": false };
|
|
16294
|
+
function validate126(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
16174
16295
|
let vErrors = null;
|
|
16175
16296
|
let errors = 0;
|
|
16176
|
-
const evaluated0 =
|
|
16297
|
+
const evaluated0 = validate126.evaluated;
|
|
16177
16298
|
if (evaluated0.dynamicProps) {
|
|
16178
16299
|
evaluated0.props = void 0;
|
|
16179
16300
|
}
|
|
@@ -16182,8 +16303,8 @@ function validate123(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
16182
16303
|
}
|
|
16183
16304
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
16184
16305
|
if (data.destinations !== void 0) {
|
|
16185
|
-
if (!
|
|
16186
|
-
vErrors = vErrors === null ?
|
|
16306
|
+
if (!validate68(data.destinations, { instancePath: instancePath + "/destinations", parentData: data, parentDataProperty: "destinations", rootData, dynamicAnchors })) {
|
|
16307
|
+
vErrors = vErrors === null ? validate68.errors : vErrors.concat(validate68.errors);
|
|
16187
16308
|
errors = vErrors.length;
|
|
16188
16309
|
}
|
|
16189
16310
|
}
|
|
@@ -16336,8 +16457,8 @@ function validate123(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
16336
16457
|
}
|
|
16337
16458
|
}
|
|
16338
16459
|
if (data.publish !== void 0) {
|
|
16339
|
-
if (!
|
|
16340
|
-
vErrors = vErrors === null ?
|
|
16460
|
+
if (!validate128(data.publish, { instancePath: instancePath + "/publish", parentData: data, parentDataProperty: "publish", rootData, dynamicAnchors })) {
|
|
16461
|
+
vErrors = vErrors === null ? validate128.errors : vErrors.concat(validate128.errors);
|
|
16341
16462
|
errors = vErrors.length;
|
|
16342
16463
|
}
|
|
16343
16464
|
}
|
|
@@ -16415,15 +16536,15 @@ function validate123(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
16415
16536
|
}
|
|
16416
16537
|
errors++;
|
|
16417
16538
|
}
|
|
16418
|
-
|
|
16539
|
+
validate126.errors = vErrors;
|
|
16419
16540
|
return errors === 0;
|
|
16420
16541
|
}
|
|
16421
|
-
|
|
16542
|
+
validate126.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "gemName": true, "publish": true, "installOrder": true, "prereleaseType": true }, "dynamicProps": false, "dynamicItems": false };
|
|
16422
16543
|
var schema134 = { "type": "object", "properties": { "parameterDefaults": { "enum": ["signature", "server"], "default": "signature" } } };
|
|
16423
|
-
function
|
|
16544
|
+
function validate134(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
16424
16545
|
let vErrors = null;
|
|
16425
16546
|
let errors = 0;
|
|
16426
|
-
const evaluated0 =
|
|
16547
|
+
const evaluated0 = validate134.evaluated;
|
|
16427
16548
|
if (evaluated0.dynamicProps) {
|
|
16428
16549
|
evaluated0.props = void 0;
|
|
16429
16550
|
}
|
|
@@ -16432,8 +16553,8 @@ function validate131(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
16432
16553
|
}
|
|
16433
16554
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
16434
16555
|
if (data.packagist !== void 0) {
|
|
16435
|
-
if (!
|
|
16436
|
-
vErrors = vErrors === null ?
|
|
16556
|
+
if (!validate82(data.packagist, { instancePath: instancePath + "/packagist", parentData: data, parentDataProperty: "packagist", rootData, dynamicAnchors })) {
|
|
16557
|
+
vErrors = vErrors === null ? validate82.errors : vErrors.concat(validate82.errors);
|
|
16437
16558
|
errors = vErrors.length;
|
|
16438
16559
|
}
|
|
16439
16560
|
}
|
|
@@ -16446,14 +16567,14 @@ function validate131(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
16446
16567
|
}
|
|
16447
16568
|
errors++;
|
|
16448
16569
|
}
|
|
16449
|
-
|
|
16570
|
+
validate134.errors = vErrors;
|
|
16450
16571
|
return errors === 0;
|
|
16451
16572
|
}
|
|
16452
|
-
|
|
16453
|
-
function
|
|
16573
|
+
validate134.evaluated = { "props": { "packagist": true }, "dynamicProps": false, "dynamicItems": false };
|
|
16574
|
+
function validate132(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
16454
16575
|
let vErrors = null;
|
|
16455
16576
|
let errors = 0;
|
|
16456
|
-
const evaluated0 =
|
|
16577
|
+
const evaluated0 = validate132.evaluated;
|
|
16457
16578
|
if (evaluated0.dynamicProps) {
|
|
16458
16579
|
evaluated0.props = void 0;
|
|
16459
16580
|
}
|
|
@@ -16462,8 +16583,8 @@ function validate129(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
16462
16583
|
}
|
|
16463
16584
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
16464
16585
|
if (data.destinations !== void 0) {
|
|
16465
|
-
if (!
|
|
16466
|
-
vErrors = vErrors === null ?
|
|
16586
|
+
if (!validate68(data.destinations, { instancePath: instancePath + "/destinations", parentData: data, parentDataProperty: "destinations", rootData, dynamicAnchors })) {
|
|
16587
|
+
vErrors = vErrors === null ? validate68.errors : vErrors.concat(validate68.errors);
|
|
16467
16588
|
errors = vErrors.length;
|
|
16468
16589
|
}
|
|
16469
16590
|
}
|
|
@@ -16672,8 +16793,8 @@ function validate129(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
16672
16793
|
}
|
|
16673
16794
|
}
|
|
16674
16795
|
if (data.publish !== void 0) {
|
|
16675
|
-
if (!
|
|
16676
|
-
vErrors = vErrors === null ?
|
|
16796
|
+
if (!validate134(data.publish, { instancePath: instancePath + "/publish", parentData: data, parentDataProperty: "publish", rootData, dynamicAnchors })) {
|
|
16797
|
+
vErrors = vErrors === null ? validate134.errors : vErrors.concat(validate134.errors);
|
|
16677
16798
|
errors = vErrors.length;
|
|
16678
16799
|
}
|
|
16679
16800
|
}
|
|
@@ -16750,14 +16871,14 @@ function validate129(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
16750
16871
|
}
|
|
16751
16872
|
errors++;
|
|
16752
16873
|
}
|
|
16753
|
-
|
|
16874
|
+
validate132.errors = vErrors;
|
|
16754
16875
|
return errors === 0;
|
|
16755
16876
|
}
|
|
16756
|
-
|
|
16757
|
-
function
|
|
16877
|
+
validate132.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "packageName": true, "composerPackageName": true, "composerRepositoryUrl": true, "publish": true, "prereleaseType": true, "options": true }, "dynamicProps": false, "dynamicItems": false };
|
|
16878
|
+
function validate140(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
16758
16879
|
let vErrors = null;
|
|
16759
16880
|
let errors = 0;
|
|
16760
|
-
const evaluated0 =
|
|
16881
|
+
const evaluated0 = validate140.evaluated;
|
|
16761
16882
|
if (evaluated0.dynamicProps) {
|
|
16762
16883
|
evaluated0.props = void 0;
|
|
16763
16884
|
}
|
|
@@ -16766,8 +16887,8 @@ function validate137(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
16766
16887
|
}
|
|
16767
16888
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
16768
16889
|
if (data.nuget !== void 0) {
|
|
16769
|
-
if (!
|
|
16770
|
-
vErrors = vErrors === null ?
|
|
16890
|
+
if (!validate82(data.nuget, { instancePath: instancePath + "/nuget", parentData: data, parentDataProperty: "nuget", rootData, dynamicAnchors })) {
|
|
16891
|
+
vErrors = vErrors === null ? validate82.errors : vErrors.concat(validate82.errors);
|
|
16771
16892
|
errors = vErrors.length;
|
|
16772
16893
|
}
|
|
16773
16894
|
}
|
|
@@ -16780,16 +16901,16 @@ function validate137(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
16780
16901
|
}
|
|
16781
16902
|
errors++;
|
|
16782
16903
|
}
|
|
16783
|
-
|
|
16904
|
+
validate140.errors = vErrors;
|
|
16784
16905
|
return errors === 0;
|
|
16785
16906
|
}
|
|
16786
|
-
|
|
16907
|
+
validate140.evaluated = { "props": { "nuget": true }, "dynamicProps": false, "dynamicItems": false };
|
|
16787
16908
|
var pattern36 = new RegExp("^([A-Za-z0-9_-][A-Za-z0-9._-]*/)*[A-Za-z0-9_-][A-Za-z0-9._-]*\\.snk$", "u");
|
|
16788
16909
|
var pattern37 = new RegExp("^([0-9A-Fa-f]{2}){96,}$", "u");
|
|
16789
|
-
function
|
|
16910
|
+
function validate143(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
16790
16911
|
let vErrors = null;
|
|
16791
16912
|
let errors = 0;
|
|
16792
|
-
const evaluated0 =
|
|
16913
|
+
const evaluated0 = validate143.evaluated;
|
|
16793
16914
|
if (evaluated0.dynamicProps) {
|
|
16794
16915
|
evaluated0.props = void 0;
|
|
16795
16916
|
}
|
|
@@ -16917,14 +17038,14 @@ function validate140(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
16917
17038
|
}
|
|
16918
17039
|
errors++;
|
|
16919
17040
|
}
|
|
16920
|
-
|
|
17041
|
+
validate143.errors = vErrors;
|
|
16921
17042
|
return errors === 0;
|
|
16922
17043
|
}
|
|
16923
|
-
|
|
16924
|
-
function
|
|
17044
|
+
validate143.evaluated = { "props": { "strongName": true }, "dynamicProps": false, "dynamicItems": false };
|
|
17045
|
+
function validate138(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
16925
17046
|
let vErrors = null;
|
|
16926
17047
|
let errors = 0;
|
|
16927
|
-
const evaluated0 =
|
|
17048
|
+
const evaluated0 = validate138.evaluated;
|
|
16928
17049
|
if (evaluated0.dynamicProps) {
|
|
16929
17050
|
evaluated0.props = void 0;
|
|
16930
17051
|
}
|
|
@@ -16933,8 +17054,8 @@ function validate135(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
16933
17054
|
}
|
|
16934
17055
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
16935
17056
|
if (data.destinations !== void 0) {
|
|
16936
|
-
if (!
|
|
16937
|
-
vErrors = vErrors === null ?
|
|
17057
|
+
if (!validate68(data.destinations, { instancePath: instancePath + "/destinations", parentData: data, parentDataProperty: "destinations", rootData, dynamicAnchors })) {
|
|
17058
|
+
vErrors = vErrors === null ? validate68.errors : vErrors.concat(validate68.errors);
|
|
16938
17059
|
errors = vErrors.length;
|
|
16939
17060
|
}
|
|
16940
17061
|
}
|
|
@@ -17087,8 +17208,8 @@ function validate135(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
17087
17208
|
}
|
|
17088
17209
|
}
|
|
17089
17210
|
if (data.publish !== void 0) {
|
|
17090
|
-
if (!
|
|
17091
|
-
vErrors = vErrors === null ?
|
|
17211
|
+
if (!validate140(data.publish, { instancePath: instancePath + "/publish", parentData: data, parentDataProperty: "publish", rootData, dynamicAnchors })) {
|
|
17212
|
+
vErrors = vErrors === null ? validate140.errors : vErrors.concat(validate140.errors);
|
|
17092
17213
|
errors = vErrors.length;
|
|
17093
17214
|
}
|
|
17094
17215
|
}
|
|
@@ -17132,8 +17253,8 @@ function validate135(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
17132
17253
|
}
|
|
17133
17254
|
}
|
|
17134
17255
|
if (data.options !== void 0) {
|
|
17135
|
-
if (!
|
|
17136
|
-
vErrors = vErrors === null ?
|
|
17256
|
+
if (!validate143(data.options, { instancePath: instancePath + "/options", parentData: data, parentDataProperty: "options", rootData, dynamicAnchors })) {
|
|
17257
|
+
vErrors = vErrors === null ? validate143.errors : vErrors.concat(validate143.errors);
|
|
17137
17258
|
errors = vErrors.length;
|
|
17138
17259
|
}
|
|
17139
17260
|
}
|
|
@@ -17146,16 +17267,16 @@ function validate135(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
17146
17267
|
}
|
|
17147
17268
|
errors++;
|
|
17148
17269
|
}
|
|
17149
|
-
|
|
17270
|
+
validate138.errors = vErrors;
|
|
17150
17271
|
return errors === 0;
|
|
17151
17272
|
}
|
|
17152
|
-
|
|
17273
|
+
validate138.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "packageName": true, "publish": true, "prereleaseType": true, "options": true }, "dynamicProps": false, "dynamicItems": false };
|
|
17153
17274
|
var schema141 = { "type": "object", "properties": { "generatorVersion": { "type": "string" }, "skip": { "type": "boolean" }, "readmeTitle": { "type": "string" }, "destinations": { "$ref": "#/$defs/destinationsConfig" }, "promotion": { "$ref": "#/$defs/promotion" }, "installOrder": { "type": "array", "items": { "enum": ["fetchContent", "findPackage"] }, "default": ["fetchContent", "findPackage"] }, "options": { "$ref": "#/$defs/cppTargetOptions" } } };
|
|
17154
17275
|
var pattern38 = new RegExp("^[a-z](_?[a-z0-9])*(::[a-z](_?[a-z0-9])*)*$", "u");
|
|
17155
|
-
function
|
|
17276
|
+
function validate146(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
17156
17277
|
let vErrors = null;
|
|
17157
17278
|
let errors = 0;
|
|
17158
|
-
const evaluated0 =
|
|
17279
|
+
const evaluated0 = validate146.evaluated;
|
|
17159
17280
|
if (evaluated0.dynamicProps) {
|
|
17160
17281
|
evaluated0.props = void 0;
|
|
17161
17282
|
}
|
|
@@ -17247,8 +17368,8 @@ function validate143(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
17247
17368
|
}
|
|
17248
17369
|
}
|
|
17249
17370
|
if (data.destinations !== void 0) {
|
|
17250
|
-
if (!
|
|
17251
|
-
vErrors = vErrors === null ?
|
|
17371
|
+
if (!validate68(data.destinations, { instancePath: instancePath + "/destinations", parentData: data, parentDataProperty: "destinations", rootData, dynamicAnchors })) {
|
|
17372
|
+
vErrors = vErrors === null ? validate68.errors : vErrors.concat(validate68.errors);
|
|
17252
17373
|
errors = vErrors.length;
|
|
17253
17374
|
}
|
|
17254
17375
|
}
|
|
@@ -17458,14 +17579,14 @@ function validate143(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
17458
17579
|
}
|
|
17459
17580
|
errors++;
|
|
17460
17581
|
}
|
|
17461
|
-
|
|
17582
|
+
validate146.errors = vErrors;
|
|
17462
17583
|
return errors === 0;
|
|
17463
17584
|
}
|
|
17464
|
-
|
|
17465
|
-
function
|
|
17585
|
+
validate146.evaluated = { "props": { "generatorVersion": true, "skip": true, "readmeTitle": true, "destinations": true, "promotion": true, "installOrder": true, "options": true }, "dynamicProps": false, "dynamicItems": false };
|
|
17586
|
+
function validate151(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
17466
17587
|
let vErrors = null;
|
|
17467
17588
|
let errors = 0;
|
|
17468
|
-
const evaluated0 =
|
|
17589
|
+
const evaluated0 = validate151.evaluated;
|
|
17469
17590
|
if (evaluated0.dynamicProps) {
|
|
17470
17591
|
evaluated0.props = void 0;
|
|
17471
17592
|
}
|
|
@@ -17474,8 +17595,8 @@ function validate148(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
17474
17595
|
}
|
|
17475
17596
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
17476
17597
|
if (data.pub !== void 0) {
|
|
17477
|
-
if (!
|
|
17478
|
-
vErrors = vErrors === null ?
|
|
17598
|
+
if (!validate82(data.pub, { instancePath: instancePath + "/pub", parentData: data, parentDataProperty: "pub", rootData, dynamicAnchors })) {
|
|
17599
|
+
vErrors = vErrors === null ? validate82.errors : vErrors.concat(validate82.errors);
|
|
17479
17600
|
errors = vErrors.length;
|
|
17480
17601
|
}
|
|
17481
17602
|
}
|
|
@@ -17488,14 +17609,14 @@ function validate148(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
17488
17609
|
}
|
|
17489
17610
|
errors++;
|
|
17490
17611
|
}
|
|
17491
|
-
|
|
17612
|
+
validate151.errors = vErrors;
|
|
17492
17613
|
return errors === 0;
|
|
17493
17614
|
}
|
|
17494
|
-
|
|
17495
|
-
function
|
|
17615
|
+
validate151.evaluated = { "props": { "pub": true }, "dynamicProps": false, "dynamicItems": false };
|
|
17616
|
+
function validate149(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
17496
17617
|
let vErrors = null;
|
|
17497
17618
|
let errors = 0;
|
|
17498
|
-
const evaluated0 =
|
|
17619
|
+
const evaluated0 = validate149.evaluated;
|
|
17499
17620
|
if (evaluated0.dynamicProps) {
|
|
17500
17621
|
evaluated0.props = void 0;
|
|
17501
17622
|
}
|
|
@@ -17504,8 +17625,8 @@ function validate146(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
17504
17625
|
}
|
|
17505
17626
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
17506
17627
|
if (data.destinations !== void 0) {
|
|
17507
|
-
if (!
|
|
17508
|
-
vErrors = vErrors === null ?
|
|
17628
|
+
if (!validate68(data.destinations, { instancePath: instancePath + "/destinations", parentData: data, parentDataProperty: "destinations", rootData, dynamicAnchors })) {
|
|
17629
|
+
vErrors = vErrors === null ? validate68.errors : vErrors.concat(validate68.errors);
|
|
17509
17630
|
errors = vErrors.length;
|
|
17510
17631
|
}
|
|
17511
17632
|
}
|
|
@@ -17658,8 +17779,8 @@ function validate146(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
17658
17779
|
}
|
|
17659
17780
|
}
|
|
17660
17781
|
if (data.publish !== void 0) {
|
|
17661
|
-
if (!
|
|
17662
|
-
vErrors = vErrors === null ?
|
|
17782
|
+
if (!validate151(data.publish, { instancePath: instancePath + "/publish", parentData: data, parentDataProperty: "publish", rootData, dynamicAnchors })) {
|
|
17783
|
+
vErrors = vErrors === null ? validate151.errors : vErrors.concat(validate151.errors);
|
|
17663
17784
|
errors = vErrors.length;
|
|
17664
17785
|
}
|
|
17665
17786
|
}
|
|
@@ -17711,16 +17832,16 @@ function validate146(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
17711
17832
|
}
|
|
17712
17833
|
errors++;
|
|
17713
17834
|
}
|
|
17714
|
-
|
|
17835
|
+
validate149.errors = vErrors;
|
|
17715
17836
|
return errors === 0;
|
|
17716
17837
|
}
|
|
17717
|
-
|
|
17838
|
+
validate149.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "packageName": true, "publish": true, "prereleaseType": true }, "dynamicProps": false, "dynamicItems": false };
|
|
17718
17839
|
var schema148 = { "type": "object", "properties": { "destinations": { "$ref": "#/$defs/destinationsConfig" }, "promotion": { "$ref": "#/$defs/promotion" }, "generatorVersion": { "type": "string" }, "skip": { "type": "boolean" }, "readmeTitle": { "type": "string" }, "packageName": { "type": "string" }, "binaryName": { "type": "string", "pattern": "^[A-Za-z0-9]([A-Za-z0-9._-]*[A-Za-z0-9_])?$" }, "defaultFormat": { "type": "string" }, "defaultErrorFormat": { "type": "string" }, "shellCompletions": { "type": "boolean", "default": true }, "subresourceSeparator": { "enum": ["colon", "space"], "default": "colon" }, "publish": { "$ref": "#/$defs/cliPublishConfig" }, "installOrder": { "type": "array", "items": { "enum": ["npm", "installScript", "homebrew", "download"] }, "default": ["installScript", "npm", "homebrew", "download"] }, "credentialStore": { "$ref": "#/$defs/cliCredentialStoreConfig" }, "prereleaseType": { "$ref": "#/$defs/prereleaseType" } } };
|
|
17719
17840
|
var pattern41 = new RegExp("^[A-Za-z0-9][A-Za-z0-9._-]*/[A-Za-z0-9][A-Za-z0-9._-]*$", "u");
|
|
17720
|
-
function
|
|
17841
|
+
function validate160(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
17721
17842
|
let vErrors = null;
|
|
17722
17843
|
let errors = 0;
|
|
17723
|
-
const evaluated0 =
|
|
17844
|
+
const evaluated0 = validate160.evaluated;
|
|
17724
17845
|
if (evaluated0.dynamicProps) {
|
|
17725
17846
|
evaluated0.props = void 0;
|
|
17726
17847
|
}
|
|
@@ -18179,16 +18300,16 @@ function validate157(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
18179
18300
|
}
|
|
18180
18301
|
}
|
|
18181
18302
|
}
|
|
18182
|
-
|
|
18303
|
+
validate160.errors = vErrors;
|
|
18183
18304
|
evaluated0.props = props0;
|
|
18184
18305
|
return errors === 0;
|
|
18185
18306
|
}
|
|
18186
|
-
|
|
18307
|
+
validate160.evaluated = { "dynamicProps": true, "dynamicItems": false };
|
|
18187
18308
|
var schema154 = { "type": "string", "enum": ["sign", "sign-and-notarize"] };
|
|
18188
|
-
function
|
|
18309
|
+
function validate162(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
18189
18310
|
let vErrors = null;
|
|
18190
18311
|
let errors = 0;
|
|
18191
|
-
const evaluated0 =
|
|
18312
|
+
const evaluated0 = validate162.evaluated;
|
|
18192
18313
|
if (evaluated0.dynamicProps) {
|
|
18193
18314
|
evaluated0.props = void 0;
|
|
18194
18315
|
}
|
|
@@ -18253,14 +18374,14 @@ function validate159(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
18253
18374
|
}
|
|
18254
18375
|
errors++;
|
|
18255
18376
|
}
|
|
18256
|
-
|
|
18377
|
+
validate162.errors = vErrors;
|
|
18257
18378
|
return errors === 0;
|
|
18258
18379
|
}
|
|
18259
|
-
|
|
18260
|
-
function
|
|
18380
|
+
validate162.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
|
|
18381
|
+
function validate157(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
18261
18382
|
let vErrors = null;
|
|
18262
18383
|
let errors = 0;
|
|
18263
|
-
const evaluated0 =
|
|
18384
|
+
const evaluated0 = validate157.evaluated;
|
|
18264
18385
|
if (evaluated0.dynamicProps) {
|
|
18265
18386
|
evaluated0.props = void 0;
|
|
18266
18387
|
}
|
|
@@ -18402,26 +18523,26 @@ function validate154(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
18402
18523
|
props0.signing = true;
|
|
18403
18524
|
}
|
|
18404
18525
|
if (data.npm !== void 0) {
|
|
18405
|
-
if (!
|
|
18406
|
-
vErrors = vErrors === null ?
|
|
18526
|
+
if (!validate71(data.npm, { instancePath: instancePath + "/npm", parentData: data, parentDataProperty: "npm", rootData, dynamicAnchors })) {
|
|
18527
|
+
vErrors = vErrors === null ? validate71.errors : vErrors.concat(validate71.errors);
|
|
18407
18528
|
errors = vErrors.length;
|
|
18408
18529
|
}
|
|
18409
18530
|
}
|
|
18410
18531
|
if (data.binaries !== void 0) {
|
|
18411
|
-
if (!
|
|
18412
|
-
vErrors = vErrors === null ?
|
|
18532
|
+
if (!validate82(data.binaries, { instancePath: instancePath + "/binaries", parentData: data, parentDataProperty: "binaries", rootData, dynamicAnchors })) {
|
|
18533
|
+
vErrors = vErrors === null ? validate82.errors : vErrors.concat(validate82.errors);
|
|
18413
18534
|
errors = vErrors.length;
|
|
18414
18535
|
}
|
|
18415
18536
|
}
|
|
18416
18537
|
if (data.homebrew !== void 0) {
|
|
18417
|
-
if (!
|
|
18418
|
-
vErrors = vErrors === null ?
|
|
18538
|
+
if (!validate160(data.homebrew, { instancePath: instancePath + "/homebrew", parentData: data, parentDataProperty: "homebrew", rootData, dynamicAnchors })) {
|
|
18539
|
+
vErrors = vErrors === null ? validate160.errors : vErrors.concat(validate160.errors);
|
|
18419
18540
|
errors = vErrors.length;
|
|
18420
18541
|
}
|
|
18421
18542
|
}
|
|
18422
18543
|
if (data.signing !== void 0) {
|
|
18423
|
-
if (!
|
|
18424
|
-
vErrors = vErrors === null ?
|
|
18544
|
+
if (!validate162(data.signing, { instancePath: instancePath + "/signing", parentData: data, parentDataProperty: "signing", rootData, dynamicAnchors })) {
|
|
18545
|
+
vErrors = vErrors === null ? validate162.errors : vErrors.concat(validate162.errors);
|
|
18425
18546
|
errors = vErrors.length;
|
|
18426
18547
|
}
|
|
18427
18548
|
}
|
|
@@ -18434,17 +18555,17 @@ function validate154(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
18434
18555
|
}
|
|
18435
18556
|
errors++;
|
|
18436
18557
|
}
|
|
18437
|
-
|
|
18558
|
+
validate157.errors = vErrors;
|
|
18438
18559
|
evaluated0.props = props0;
|
|
18439
18560
|
return errors === 0;
|
|
18440
18561
|
}
|
|
18441
|
-
|
|
18562
|
+
validate157.evaluated = { "dynamicProps": true, "dynamicItems": false };
|
|
18442
18563
|
var schema155 = { "type": "object", "properties": { "enabled": { "type": "boolean", "default": true }, "backend": { "type": "string", "enum": ["auto", "keychain", "file"], "default": "auto" }, "oauth": { "$ref": "#/$defs/cliOauthClientConfig" } } };
|
|
18443
18564
|
var pattern42 = new RegExp("^(https://[^\\s/?#@]+|http://(localhost|127\\.0\\.0\\.1|\\[::1\\])(:[0-9]+)?)(/[^\\s?#]*)?$", "u");
|
|
18444
|
-
function
|
|
18565
|
+
function validate165(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
18445
18566
|
let vErrors = null;
|
|
18446
18567
|
let errors = 0;
|
|
18447
|
-
const evaluated0 =
|
|
18568
|
+
const evaluated0 = validate165.evaluated;
|
|
18448
18569
|
if (evaluated0.dynamicProps) {
|
|
18449
18570
|
evaluated0.props = void 0;
|
|
18450
18571
|
}
|
|
@@ -18761,15 +18882,15 @@ function validate162(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
18761
18882
|
}
|
|
18762
18883
|
errors++;
|
|
18763
18884
|
}
|
|
18764
|
-
|
|
18885
|
+
validate165.errors = vErrors;
|
|
18765
18886
|
return errors === 0;
|
|
18766
18887
|
}
|
|
18767
|
-
|
|
18888
|
+
validate165.evaluated = { "props": { "enabled": true, "backend": true, "oauth": true }, "dynamicProps": false, "dynamicItems": false };
|
|
18768
18889
|
var pattern40 = new RegExp("^[A-Za-z0-9]([A-Za-z0-9._-]*[A-Za-z0-9_])?$", "u");
|
|
18769
|
-
function
|
|
18890
|
+
function validate155(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
18770
18891
|
let vErrors = null;
|
|
18771
18892
|
let errors = 0;
|
|
18772
|
-
const evaluated0 =
|
|
18893
|
+
const evaluated0 = validate155.evaluated;
|
|
18773
18894
|
if (evaluated0.dynamicProps) {
|
|
18774
18895
|
evaluated0.props = void 0;
|
|
18775
18896
|
}
|
|
@@ -18778,8 +18899,8 @@ function validate152(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
18778
18899
|
}
|
|
18779
18900
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
18780
18901
|
if (data.destinations !== void 0) {
|
|
18781
|
-
if (!
|
|
18782
|
-
vErrors = vErrors === null ?
|
|
18902
|
+
if (!validate68(data.destinations, { instancePath: instancePath + "/destinations", parentData: data, parentDataProperty: "destinations", rootData, dynamicAnchors })) {
|
|
18903
|
+
vErrors = vErrors === null ? validate68.errors : vErrors.concat(validate68.errors);
|
|
18783
18904
|
errors = vErrors.length;
|
|
18784
18905
|
}
|
|
18785
18906
|
}
|
|
@@ -19066,8 +19187,8 @@ function validate152(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
19066
19187
|
}
|
|
19067
19188
|
}
|
|
19068
19189
|
if (data.publish !== void 0) {
|
|
19069
|
-
if (!
|
|
19070
|
-
vErrors = vErrors === null ?
|
|
19190
|
+
if (!validate157(data.publish, { instancePath: instancePath + "/publish", parentData: data, parentDataProperty: "publish", rootData, dynamicAnchors })) {
|
|
19191
|
+
vErrors = vErrors === null ? validate157.errors : vErrors.concat(validate157.errors);
|
|
19071
19192
|
errors = vErrors.length;
|
|
19072
19193
|
}
|
|
19073
19194
|
}
|
|
@@ -19098,8 +19219,8 @@ function validate152(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
19098
19219
|
}
|
|
19099
19220
|
}
|
|
19100
19221
|
if (data.credentialStore !== void 0) {
|
|
19101
|
-
if (!
|
|
19102
|
-
vErrors = vErrors === null ?
|
|
19222
|
+
if (!validate165(data.credentialStore, { instancePath: instancePath + "/credentialStore", parentData: data, parentDataProperty: "credentialStore", rootData, dynamicAnchors })) {
|
|
19223
|
+
vErrors = vErrors === null ? validate165.errors : vErrors.concat(validate165.errors);
|
|
19103
19224
|
errors = vErrors.length;
|
|
19104
19225
|
}
|
|
19105
19226
|
}
|
|
@@ -19151,14 +19272,14 @@ function validate152(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
19151
19272
|
}
|
|
19152
19273
|
errors++;
|
|
19153
19274
|
}
|
|
19154
|
-
|
|
19275
|
+
validate155.errors = vErrors;
|
|
19155
19276
|
return errors === 0;
|
|
19156
19277
|
}
|
|
19157
|
-
|
|
19158
|
-
function
|
|
19278
|
+
validate155.evaluated = { "props": { "destinations": true, "promotion": true, "generatorVersion": true, "skip": true, "readmeTitle": true, "packageName": true, "binaryName": true, "defaultFormat": true, "defaultErrorFormat": true, "shellCompletions": true, "subresourceSeparator": true, "publish": true, "installOrder": true, "credentialStore": true, "prereleaseType": true }, "dynamicProps": false, "dynamicItems": false };
|
|
19279
|
+
function validate66(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
19159
19280
|
let vErrors = null;
|
|
19160
19281
|
let errors = 0;
|
|
19161
|
-
const evaluated0 =
|
|
19282
|
+
const evaluated0 = validate66.evaluated;
|
|
19162
19283
|
if (evaluated0.dynamicProps) {
|
|
19163
19284
|
evaluated0.props = void 0;
|
|
19164
19285
|
}
|
|
@@ -19167,80 +19288,80 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
19167
19288
|
}
|
|
19168
19289
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
19169
19290
|
if (data.typescript !== void 0) {
|
|
19170
|
-
if (!
|
|
19171
|
-
vErrors = vErrors === null ?
|
|
19291
|
+
if (!validate67(data.typescript, { instancePath: instancePath + "/typescript", parentData: data, parentDataProperty: "typescript", rootData, dynamicAnchors })) {
|
|
19292
|
+
vErrors = vErrors === null ? validate67.errors : vErrors.concat(validate67.errors);
|
|
19172
19293
|
errors = vErrors.length;
|
|
19173
19294
|
}
|
|
19174
19295
|
}
|
|
19175
19296
|
if (data.python !== void 0) {
|
|
19176
|
-
if (!
|
|
19177
|
-
vErrors = vErrors === null ?
|
|
19297
|
+
if (!validate79(data.python, { instancePath: instancePath + "/python", parentData: data, parentDataProperty: "python", rootData, dynamicAnchors })) {
|
|
19298
|
+
vErrors = vErrors === null ? validate79.errors : vErrors.concat(validate79.errors);
|
|
19178
19299
|
errors = vErrors.length;
|
|
19179
19300
|
}
|
|
19180
19301
|
}
|
|
19181
19302
|
if (data.go !== void 0) {
|
|
19182
|
-
if (!
|
|
19183
|
-
vErrors = vErrors === null ?
|
|
19303
|
+
if (!validate90(data.go, { instancePath: instancePath + "/go", parentData: data, parentDataProperty: "go", rootData, dynamicAnchors })) {
|
|
19304
|
+
vErrors = vErrors === null ? validate90.errors : vErrors.concat(validate90.errors);
|
|
19184
19305
|
errors = vErrors.length;
|
|
19185
19306
|
}
|
|
19186
19307
|
}
|
|
19187
19308
|
if (data.rust !== void 0) {
|
|
19188
|
-
if (!
|
|
19189
|
-
vErrors = vErrors === null ?
|
|
19309
|
+
if (!validate96(data.rust, { instancePath: instancePath + "/rust", parentData: data, parentDataProperty: "rust", rootData, dynamicAnchors })) {
|
|
19310
|
+
vErrors = vErrors === null ? validate96.errors : vErrors.concat(validate96.errors);
|
|
19190
19311
|
errors = vErrors.length;
|
|
19191
19312
|
}
|
|
19192
19313
|
}
|
|
19193
19314
|
if (data.java !== void 0) {
|
|
19194
|
-
if (!
|
|
19195
|
-
vErrors = vErrors === null ?
|
|
19315
|
+
if (!validate102(data.java, { instancePath: instancePath + "/java", parentData: data, parentDataProperty: "java", rootData, dynamicAnchors })) {
|
|
19316
|
+
vErrors = vErrors === null ? validate102.errors : vErrors.concat(validate102.errors);
|
|
19196
19317
|
errors = vErrors.length;
|
|
19197
19318
|
}
|
|
19198
19319
|
}
|
|
19199
19320
|
if (data.kotlin !== void 0) {
|
|
19200
|
-
if (!
|
|
19201
|
-
vErrors = vErrors === null ?
|
|
19321
|
+
if (!validate115(data.kotlin, { instancePath: instancePath + "/kotlin", parentData: data, parentDataProperty: "kotlin", rootData, dynamicAnchors })) {
|
|
19322
|
+
vErrors = vErrors === null ? validate115.errors : vErrors.concat(validate115.errors);
|
|
19202
19323
|
errors = vErrors.length;
|
|
19203
19324
|
}
|
|
19204
19325
|
}
|
|
19205
19326
|
if (data.swift !== void 0) {
|
|
19206
|
-
if (!
|
|
19207
|
-
vErrors = vErrors === null ?
|
|
19327
|
+
if (!validate120(data.swift, { instancePath: instancePath + "/swift", parentData: data, parentDataProperty: "swift", rootData, dynamicAnchors })) {
|
|
19328
|
+
vErrors = vErrors === null ? validate120.errors : vErrors.concat(validate120.errors);
|
|
19208
19329
|
errors = vErrors.length;
|
|
19209
19330
|
}
|
|
19210
19331
|
}
|
|
19211
19332
|
if (data.ruby !== void 0) {
|
|
19212
|
-
if (!
|
|
19213
|
-
vErrors = vErrors === null ?
|
|
19333
|
+
if (!validate126(data.ruby, { instancePath: instancePath + "/ruby", parentData: data, parentDataProperty: "ruby", rootData, dynamicAnchors })) {
|
|
19334
|
+
vErrors = vErrors === null ? validate126.errors : vErrors.concat(validate126.errors);
|
|
19214
19335
|
errors = vErrors.length;
|
|
19215
19336
|
}
|
|
19216
19337
|
}
|
|
19217
19338
|
if (data.php !== void 0) {
|
|
19218
|
-
if (!
|
|
19219
|
-
vErrors = vErrors === null ?
|
|
19339
|
+
if (!validate132(data.php, { instancePath: instancePath + "/php", parentData: data, parentDataProperty: "php", rootData, dynamicAnchors })) {
|
|
19340
|
+
vErrors = vErrors === null ? validate132.errors : vErrors.concat(validate132.errors);
|
|
19220
19341
|
errors = vErrors.length;
|
|
19221
19342
|
}
|
|
19222
19343
|
}
|
|
19223
19344
|
if (data.csharp !== void 0) {
|
|
19224
|
-
if (!
|
|
19225
|
-
vErrors = vErrors === null ?
|
|
19345
|
+
if (!validate138(data.csharp, { instancePath: instancePath + "/csharp", parentData: data, parentDataProperty: "csharp", rootData, dynamicAnchors })) {
|
|
19346
|
+
vErrors = vErrors === null ? validate138.errors : vErrors.concat(validate138.errors);
|
|
19226
19347
|
errors = vErrors.length;
|
|
19227
19348
|
}
|
|
19228
19349
|
}
|
|
19229
19350
|
if (data.cpp !== void 0) {
|
|
19230
|
-
if (!
|
|
19231
|
-
vErrors = vErrors === null ?
|
|
19351
|
+
if (!validate146(data.cpp, { instancePath: instancePath + "/cpp", parentData: data, parentDataProperty: "cpp", rootData, dynamicAnchors })) {
|
|
19352
|
+
vErrors = vErrors === null ? validate146.errors : vErrors.concat(validate146.errors);
|
|
19232
19353
|
errors = vErrors.length;
|
|
19233
19354
|
}
|
|
19234
19355
|
}
|
|
19235
19356
|
if (data.dart !== void 0) {
|
|
19236
|
-
if (!
|
|
19237
|
-
vErrors = vErrors === null ?
|
|
19357
|
+
if (!validate149(data.dart, { instancePath: instancePath + "/dart", parentData: data, parentDataProperty: "dart", rootData, dynamicAnchors })) {
|
|
19358
|
+
vErrors = vErrors === null ? validate149.errors : vErrors.concat(validate149.errors);
|
|
19238
19359
|
errors = vErrors.length;
|
|
19239
19360
|
}
|
|
19240
19361
|
}
|
|
19241
19362
|
if (data.cli !== void 0) {
|
|
19242
|
-
if (!
|
|
19243
|
-
vErrors = vErrors === null ?
|
|
19363
|
+
if (!validate155(data.cli, { instancePath: instancePath + "/cli", parentData: data, parentDataProperty: "cli", rootData, dynamicAnchors })) {
|
|
19364
|
+
vErrors = vErrors === null ? validate155.errors : vErrors.concat(validate155.errors);
|
|
19244
19365
|
errors = vErrors.length;
|
|
19245
19366
|
}
|
|
19246
19367
|
}
|
|
@@ -19253,16 +19374,16 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
19253
19374
|
}
|
|
19254
19375
|
errors++;
|
|
19255
19376
|
}
|
|
19256
|
-
|
|
19377
|
+
validate66.errors = vErrors;
|
|
19257
19378
|
return errors === 0;
|
|
19258
19379
|
}
|
|
19259
|
-
|
|
19380
|
+
validate66.evaluated = { "props": { "typescript": true, "python": true, "go": true, "rust": true, "java": true, "kotlin": true, "swift": true, "ruby": true, "php": true, "csharp": true, "cpp": true, "dart": true, "cli": true }, "dynamicProps": false, "dynamicItems": false };
|
|
19260
19381
|
var schema158 = { "type": "object", "properties": { "opts": { "type": "object", "additionalProperties": { "$ref": "#/$defs/clientOpt" } }, "baseUrlAliases": { "type": "array", "items": { "type": "string" } }, "defaultHeaders": { "type": "object", "additionalProperties": { "type": "string" } }, "defaultClientName": { "type": "string" }, "defaultClientExampleName": { "type": "string" }, "defaultEnvPrefix": { "type": "string" }, "idempotency": { "$ref": "#/$defs/idempotencySettings" }, "idempotencyHeader": { "type": "string", "deprecated": true }, "emptyResponseAccept": { "enum": ["wildcard", "inherit"] }, "defaultTimeout": { "anyOf": [{ "type": "number" }, { "type": "string" }] }, "defaultRetries": { "$ref": "#/$defs/retrySettings" }, "responseHeaders": { "type": "object", "additionalProperties": { "type": "string" } } }, "required": ["opts"] };
|
|
19261
19382
|
var schema160 = { "enum": ["value", "username", "password", "clientId", "clientSecret"] };
|
|
19262
|
-
function
|
|
19383
|
+
function validate170(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
19263
19384
|
let vErrors = null;
|
|
19264
19385
|
let errors = 0;
|
|
19265
|
-
const evaluated0 =
|
|
19386
|
+
const evaluated0 = validate170.evaluated;
|
|
19266
19387
|
if (evaluated0.dynamicProps) {
|
|
19267
19388
|
evaluated0.props = void 0;
|
|
19268
19389
|
}
|
|
@@ -19576,16 +19697,16 @@ function validate167(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
19576
19697
|
}
|
|
19577
19698
|
errors++;
|
|
19578
19699
|
}
|
|
19579
|
-
|
|
19700
|
+
validate170.errors = vErrors;
|
|
19580
19701
|
return errors === 0;
|
|
19581
19702
|
}
|
|
19582
|
-
|
|
19703
|
+
validate170.evaluated = { "props": { "type": true, "description": true, "example": true, "defaultValue": true, "nullable": true, "readEnv": true, "securityScheme": true, "role": true, "serverVariable": true, "sendInHeader": true, "sendAsQueryParam": true, "sendAsBodyParam": true, "sendAsPathParam": true, "requiredInTests": true, "overridable": true }, "dynamicProps": false, "dynamicItems": false };
|
|
19583
19704
|
var schema162 = { "type": "object", "additionalProperties": false, "properties": { "format": { "enum": ["uuid-v4", "uuid-v7"], "default": "uuid-v4" }, "hyphens": { "type": "boolean", "default": true }, "prefix": { "type": "string", "pattern": "^[A-Za-z0-9!#%&*+.^_|~-]*$" } } };
|
|
19584
19705
|
var pattern44 = new RegExp("^[A-Za-z0-9!#%&*+.^_|~-]*$", "u");
|
|
19585
|
-
function
|
|
19706
|
+
function validate172(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
19586
19707
|
let vErrors = null;
|
|
19587
19708
|
let errors = 0;
|
|
19588
|
-
const evaluated0 =
|
|
19709
|
+
const evaluated0 = validate172.evaluated;
|
|
19589
19710
|
if (evaluated0.dynamicProps) {
|
|
19590
19711
|
evaluated0.props = void 0;
|
|
19591
19712
|
}
|
|
@@ -19763,14 +19884,14 @@ function validate169(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
19763
19884
|
}
|
|
19764
19885
|
errors++;
|
|
19765
19886
|
}
|
|
19766
|
-
|
|
19887
|
+
validate172.errors = vErrors;
|
|
19767
19888
|
return errors === 0;
|
|
19768
19889
|
}
|
|
19769
|
-
|
|
19770
|
-
function
|
|
19890
|
+
validate172.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
|
|
19891
|
+
function validate169(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
19771
19892
|
let vErrors = null;
|
|
19772
19893
|
let errors = 0;
|
|
19773
|
-
const evaluated0 =
|
|
19894
|
+
const evaluated0 = validate169.evaluated;
|
|
19774
19895
|
if (evaluated0.dynamicProps) {
|
|
19775
19896
|
evaluated0.props = void 0;
|
|
19776
19897
|
}
|
|
@@ -19791,8 +19912,8 @@ function validate166(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
19791
19912
|
let data0 = data.opts;
|
|
19792
19913
|
if (data0 && typeof data0 == "object" && !Array.isArray(data0)) {
|
|
19793
19914
|
for (const key0 in data0) {
|
|
19794
|
-
if (!
|
|
19795
|
-
vErrors = vErrors === null ?
|
|
19915
|
+
if (!validate170(data0[key0], { instancePath: instancePath + "/opts/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data0, parentDataProperty: key0, rootData, dynamicAnchors })) {
|
|
19916
|
+
vErrors = vErrors === null ? validate170.errors : vErrors.concat(validate170.errors);
|
|
19796
19917
|
errors = vErrors.length;
|
|
19797
19918
|
}
|
|
19798
19919
|
}
|
|
@@ -19974,8 +20095,8 @@ function validate166(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
19974
20095
|
}
|
|
19975
20096
|
}
|
|
19976
20097
|
if (data.idempotency !== void 0) {
|
|
19977
|
-
if (!
|
|
19978
|
-
vErrors = vErrors === null ?
|
|
20098
|
+
if (!validate172(data.idempotency, { instancePath: instancePath + "/idempotency", parentData: data, parentDataProperty: "idempotency", rootData, dynamicAnchors })) {
|
|
20099
|
+
vErrors = vErrors === null ? validate172.errors : vErrors.concat(validate172.errors);
|
|
19979
20100
|
errors = vErrors.length;
|
|
19980
20101
|
}
|
|
19981
20102
|
}
|
|
@@ -20237,19 +20358,19 @@ function validate166(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20237
20358
|
}
|
|
20238
20359
|
errors++;
|
|
20239
20360
|
}
|
|
20240
|
-
|
|
20361
|
+
validate169.errors = vErrors;
|
|
20241
20362
|
return errors === 0;
|
|
20242
20363
|
}
|
|
20243
|
-
|
|
20364
|
+
validate169.evaluated = { "props": { "opts": true, "baseUrlAliases": true, "defaultHeaders": true, "defaultClientName": true, "defaultClientExampleName": true, "defaultEnvPrefix": true, "idempotency": true, "idempotencyHeader": true, "emptyResponseAccept": true, "defaultTimeout": true, "defaultRetries": true, "responseHeaders": true }, "dynamicProps": false, "dynamicItems": false };
|
|
20244
20365
|
var schema165 = { "enum": ["cursor", "cursorId", "cursorUrl", "fakePage", "offset", "pageNumber"] };
|
|
20245
20366
|
var schema166 = { "enum": ["query", "body"] };
|
|
20246
20367
|
var schema168 = { "enum": ["cursor", "cursorId", "cursorUrl", "offset", "pageNumber", "limit", "pageSize"] };
|
|
20247
20368
|
var schema169 = { "enum": ["query", "body", "header"] };
|
|
20248
20369
|
var schema170 = { "enum": ["next", "previous"] };
|
|
20249
|
-
function
|
|
20370
|
+
function validate176(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
20250
20371
|
let vErrors = null;
|
|
20251
20372
|
let errors = 0;
|
|
20252
|
-
const evaluated0 =
|
|
20373
|
+
const evaluated0 = validate176.evaluated;
|
|
20253
20374
|
if (evaluated0.dynamicProps) {
|
|
20254
20375
|
evaluated0.props = void 0;
|
|
20255
20376
|
}
|
|
@@ -20436,16 +20557,16 @@ function validate173(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20436
20557
|
}
|
|
20437
20558
|
errors++;
|
|
20438
20559
|
}
|
|
20439
|
-
|
|
20560
|
+
validate176.errors = vErrors;
|
|
20440
20561
|
return errors === 0;
|
|
20441
20562
|
}
|
|
20442
|
-
|
|
20563
|
+
validate176.evaluated = { "props": { "type": true, "param": true, "location": true, "direction": true, "path": true, "property": true, "value": true, "schema": true, "required": true }, "dynamicProps": false, "dynamicItems": false };
|
|
20443
20564
|
var schema173 = { "enum": ["items", "cursor", "cursorId", "cursorUrl", "offset", "pageNumber", "hasMore", "total", "totalPages", "currentPage", "pageSize"] };
|
|
20444
20565
|
var schema174 = { "enum": ["body", "header", "linkHeader", "bodyLink"] };
|
|
20445
|
-
function
|
|
20566
|
+
function validate178(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
20446
20567
|
let vErrors = null;
|
|
20447
20568
|
let errors = 0;
|
|
20448
|
-
const evaluated0 =
|
|
20569
|
+
const evaluated0 = validate178.evaluated;
|
|
20449
20570
|
if (evaluated0.dynamicProps) {
|
|
20450
20571
|
evaluated0.props = void 0;
|
|
20451
20572
|
}
|
|
@@ -20744,14 +20865,14 @@ function validate175(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20744
20865
|
}
|
|
20745
20866
|
errors++;
|
|
20746
20867
|
}
|
|
20747
|
-
|
|
20868
|
+
validate178.errors = vErrors;
|
|
20748
20869
|
return errors === 0;
|
|
20749
20870
|
}
|
|
20750
|
-
|
|
20751
|
-
function
|
|
20871
|
+
validate178.evaluated = { "props": { "type": true, "location": true, "direction": true, "path": true, "headerName": true, "rel": true, "property": true, "itemCursor": true, "cursorPath": true, "schema": true, "required": true }, "dynamicProps": false, "dynamicItems": false };
|
|
20872
|
+
function validate175(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
20752
20873
|
let vErrors = null;
|
|
20753
20874
|
let errors = 0;
|
|
20754
|
-
const evaluated0 =
|
|
20875
|
+
const evaluated0 = validate175.evaluated;
|
|
20755
20876
|
if (evaluated0.dynamicProps) {
|
|
20756
20877
|
evaluated0.props = void 0;
|
|
20757
20878
|
}
|
|
@@ -20906,8 +21027,8 @@ function validate172(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20906
21027
|
let data5 = data.request;
|
|
20907
21028
|
if (data5 && typeof data5 == "object" && !Array.isArray(data5)) {
|
|
20908
21029
|
for (const key0 in data5) {
|
|
20909
|
-
if (!
|
|
20910
|
-
vErrors = vErrors === null ?
|
|
21030
|
+
if (!validate176(data5[key0], { instancePath: instancePath + "/request/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data5, parentDataProperty: key0, rootData, dynamicAnchors })) {
|
|
21031
|
+
vErrors = vErrors === null ? validate176.errors : vErrors.concat(validate176.errors);
|
|
20911
21032
|
errors = vErrors.length;
|
|
20912
21033
|
}
|
|
20913
21034
|
}
|
|
@@ -20925,8 +21046,8 @@ function validate172(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20925
21046
|
let data7 = data.response;
|
|
20926
21047
|
if (data7 && typeof data7 == "object" && !Array.isArray(data7)) {
|
|
20927
21048
|
for (const key1 in data7) {
|
|
20928
|
-
if (!
|
|
20929
|
-
vErrors = vErrors === null ?
|
|
21049
|
+
if (!validate178(data7[key1], { instancePath: instancePath + "/response/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data7, parentDataProperty: key1, rootData, dynamicAnchors })) {
|
|
21050
|
+
vErrors = vErrors === null ? validate178.errors : vErrors.concat(validate178.errors);
|
|
20930
21051
|
errors = vErrors.length;
|
|
20931
21052
|
}
|
|
20932
21053
|
}
|
|
@@ -20949,16 +21070,16 @@ function validate172(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20949
21070
|
}
|
|
20950
21071
|
errors++;
|
|
20951
21072
|
}
|
|
20952
|
-
|
|
21073
|
+
validate175.errors = vErrors;
|
|
20953
21074
|
return errors === 0;
|
|
20954
21075
|
}
|
|
20955
|
-
|
|
21076
|
+
validate175.evaluated = { "props": { "name": true, "description": true, "type": true, "paramLocation": true, "continueOnEmptyItems": true, "request": true, "response": true }, "dynamicProps": false, "dynamicItems": false };
|
|
20956
21077
|
var schema180 = { "enum": ["brackets", "dots"] };
|
|
20957
21078
|
var schema181 = { "enum": ["comma", "repeat", "indices", "brackets"] };
|
|
20958
|
-
function
|
|
21079
|
+
function validate181(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
20959
21080
|
let vErrors = null;
|
|
20960
21081
|
let errors = 0;
|
|
20961
|
-
const evaluated0 =
|
|
21082
|
+
const evaluated0 = validate181.evaluated;
|
|
20962
21083
|
if (evaluated0.dynamicProps) {
|
|
20963
21084
|
evaluated0.props = void 0;
|
|
20964
21085
|
}
|
|
@@ -20999,14 +21120,14 @@ function validate178(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20999
21120
|
}
|
|
21000
21121
|
errors++;
|
|
21001
21122
|
}
|
|
21002
|
-
|
|
21123
|
+
validate181.errors = vErrors;
|
|
21003
21124
|
return errors === 0;
|
|
21004
21125
|
}
|
|
21005
|
-
|
|
21006
|
-
function
|
|
21126
|
+
validate181.evaluated = { "props": { "nestedFormat": true, "arrayFormat": true }, "dynamicProps": false, "dynamicItems": false };
|
|
21127
|
+
function validate183(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
21007
21128
|
let vErrors = null;
|
|
21008
21129
|
let errors = 0;
|
|
21009
|
-
const evaluated0 =
|
|
21130
|
+
const evaluated0 = validate183.evaluated;
|
|
21010
21131
|
if (evaluated0.dynamicProps) {
|
|
21011
21132
|
evaluated0.props = void 0;
|
|
21012
21133
|
}
|
|
@@ -21035,18 +21156,18 @@ function validate180(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21035
21156
|
}
|
|
21036
21157
|
errors++;
|
|
21037
21158
|
}
|
|
21038
|
-
|
|
21159
|
+
validate183.errors = vErrors;
|
|
21039
21160
|
return errors === 0;
|
|
21040
21161
|
}
|
|
21041
|
-
|
|
21162
|
+
validate183.evaluated = { "props": { "arrayFormat": true }, "dynamicProps": false, "dynamicItems": false };
|
|
21042
21163
|
var schema186 = { "type": "object", "properties": { "codeSamples": { "enum": ["x-codeSamples", "x-code-samples", "x-scalar-examples", "x-custom-examples"], "default": "x-codeSamples" }, "codeSampleLanguages": { "type": "object", "additionalProperties": { "type": "boolean" } }, "tags": { "enum": ["document", "resources"], "default": "document" }, "security": { "type": "array", "items": { "$ref": "#/$defs/securityRequirementObject" } }, "securitySchemes": { "type": "object", "additionalProperties": { "$ref": "#/$defs/securitySchemeObject" } }, "securitySchemeSettings": { "type": "object", "additionalProperties": { "$ref": "#/$defs/securitySchemeSettings" } }, "operationSecurity": { "type": "boolean" }, "transformations": { "type": "array", "items": { "$ref": "#/$defs/openAPITransformation" } } } };
|
|
21043
21164
|
var schema203 = { "type": "object", "properties": { "command": { "enum": ["copySchemaObject", "mergeObject", "removePaths", "removeProperties", "renameProperty", "renameSchema", "renameValue", "replaceValue", "updatePatternExamples"] }, "args": { "type": "object", "additionalProperties": true }, "reason": { "type": "string" } }, "required": ["command", "args"], "additionalProperties": false };
|
|
21044
21165
|
var schema189 = { "enum": ["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"] };
|
|
21045
21166
|
var schema190 = { "enum": ["query", "header", "cookie"] };
|
|
21046
|
-
function
|
|
21167
|
+
function validate188(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
21047
21168
|
let vErrors = null;
|
|
21048
21169
|
let errors = 0;
|
|
21049
|
-
const evaluated0 =
|
|
21170
|
+
const evaluated0 = validate188.evaluated;
|
|
21050
21171
|
if (evaluated0.dynamicProps) {
|
|
21051
21172
|
evaluated0.props = void 0;
|
|
21052
21173
|
}
|
|
@@ -21160,14 +21281,14 @@ function validate185(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21160
21281
|
}
|
|
21161
21282
|
errors++;
|
|
21162
21283
|
}
|
|
21163
|
-
|
|
21284
|
+
validate188.errors = vErrors;
|
|
21164
21285
|
return errors === 0;
|
|
21165
21286
|
}
|
|
21166
|
-
|
|
21167
|
-
function
|
|
21287
|
+
validate188.evaluated = { "props": { "authorizationUrl": true, "refreshUrl": true, "scopes": true }, "dynamicProps": false, "dynamicItems": false };
|
|
21288
|
+
function validate190(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
21168
21289
|
let vErrors = null;
|
|
21169
21290
|
let errors = 0;
|
|
21170
|
-
const evaluated0 =
|
|
21291
|
+
const evaluated0 = validate190.evaluated;
|
|
21171
21292
|
if (evaluated0.dynamicProps) {
|
|
21172
21293
|
evaluated0.props = void 0;
|
|
21173
21294
|
}
|
|
@@ -21281,14 +21402,14 @@ function validate187(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21281
21402
|
}
|
|
21282
21403
|
errors++;
|
|
21283
21404
|
}
|
|
21284
|
-
|
|
21405
|
+
validate190.errors = vErrors;
|
|
21285
21406
|
return errors === 0;
|
|
21286
21407
|
}
|
|
21287
|
-
|
|
21288
|
-
function
|
|
21408
|
+
validate190.evaluated = { "props": { "tokenUrl": true, "refreshUrl": true, "scopes": true }, "dynamicProps": false, "dynamicItems": false };
|
|
21409
|
+
function validate192(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
21289
21410
|
let vErrors = null;
|
|
21290
21411
|
let errors = 0;
|
|
21291
|
-
const evaluated0 =
|
|
21412
|
+
const evaluated0 = validate192.evaluated;
|
|
21292
21413
|
if (evaluated0.dynamicProps) {
|
|
21293
21414
|
evaluated0.props = void 0;
|
|
21294
21415
|
}
|
|
@@ -21402,14 +21523,14 @@ function validate189(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21402
21523
|
}
|
|
21403
21524
|
errors++;
|
|
21404
21525
|
}
|
|
21405
|
-
|
|
21526
|
+
validate192.errors = vErrors;
|
|
21406
21527
|
return errors === 0;
|
|
21407
21528
|
}
|
|
21408
|
-
|
|
21409
|
-
function
|
|
21529
|
+
validate192.evaluated = { "props": { "tokenUrl": true, "refreshUrl": true, "scopes": true }, "dynamicProps": false, "dynamicItems": false };
|
|
21530
|
+
function validate194(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
21410
21531
|
let vErrors = null;
|
|
21411
21532
|
let errors = 0;
|
|
21412
|
-
const evaluated0 =
|
|
21533
|
+
const evaluated0 = validate194.evaluated;
|
|
21413
21534
|
if (evaluated0.dynamicProps) {
|
|
21414
21535
|
evaluated0.props = void 0;
|
|
21415
21536
|
}
|
|
@@ -21551,14 +21672,14 @@ function validate191(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21551
21672
|
}
|
|
21552
21673
|
errors++;
|
|
21553
21674
|
}
|
|
21554
|
-
|
|
21675
|
+
validate194.errors = vErrors;
|
|
21555
21676
|
return errors === 0;
|
|
21556
21677
|
}
|
|
21557
|
-
|
|
21558
|
-
function
|
|
21678
|
+
validate194.evaluated = { "props": { "deviceAuthorizationUrl": true, "tokenUrl": true, "refreshUrl": true, "scopes": true }, "dynamicProps": false, "dynamicItems": false };
|
|
21679
|
+
function validate196(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
21559
21680
|
let vErrors = null;
|
|
21560
21681
|
let errors = 0;
|
|
21561
|
-
const evaluated0 =
|
|
21682
|
+
const evaluated0 = validate196.evaluated;
|
|
21562
21683
|
if (evaluated0.dynamicProps) {
|
|
21563
21684
|
evaluated0.props = void 0;
|
|
21564
21685
|
}
|
|
@@ -21700,14 +21821,14 @@ function validate193(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21700
21821
|
}
|
|
21701
21822
|
errors++;
|
|
21702
21823
|
}
|
|
21703
|
-
|
|
21824
|
+
validate196.errors = vErrors;
|
|
21704
21825
|
return errors === 0;
|
|
21705
21826
|
}
|
|
21706
|
-
|
|
21707
|
-
function
|
|
21827
|
+
validate196.evaluated = { "props": { "authorizationUrl": true, "tokenUrl": true, "refreshUrl": true, "scopes": true }, "dynamicProps": false, "dynamicItems": false };
|
|
21828
|
+
function validate187(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
21708
21829
|
let vErrors = null;
|
|
21709
21830
|
let errors = 0;
|
|
21710
|
-
const evaluated0 =
|
|
21831
|
+
const evaluated0 = validate187.evaluated;
|
|
21711
21832
|
if (evaluated0.dynamicProps) {
|
|
21712
21833
|
evaluated0.props = void 0;
|
|
21713
21834
|
}
|
|
@@ -21716,32 +21837,32 @@ function validate184(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21716
21837
|
}
|
|
21717
21838
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
21718
21839
|
if (data.implicit !== void 0) {
|
|
21719
|
-
if (!
|
|
21720
|
-
vErrors = vErrors === null ?
|
|
21840
|
+
if (!validate188(data.implicit, { instancePath: instancePath + "/implicit", parentData: data, parentDataProperty: "implicit", rootData, dynamicAnchors })) {
|
|
21841
|
+
vErrors = vErrors === null ? validate188.errors : vErrors.concat(validate188.errors);
|
|
21721
21842
|
errors = vErrors.length;
|
|
21722
21843
|
}
|
|
21723
21844
|
}
|
|
21724
21845
|
if (data.password !== void 0) {
|
|
21725
|
-
if (!
|
|
21726
|
-
vErrors = vErrors === null ?
|
|
21846
|
+
if (!validate190(data.password, { instancePath: instancePath + "/password", parentData: data, parentDataProperty: "password", rootData, dynamicAnchors })) {
|
|
21847
|
+
vErrors = vErrors === null ? validate190.errors : vErrors.concat(validate190.errors);
|
|
21727
21848
|
errors = vErrors.length;
|
|
21728
21849
|
}
|
|
21729
21850
|
}
|
|
21730
21851
|
if (data.clientCredentials !== void 0) {
|
|
21731
|
-
if (!
|
|
21732
|
-
vErrors = vErrors === null ?
|
|
21852
|
+
if (!validate192(data.clientCredentials, { instancePath: instancePath + "/clientCredentials", parentData: data, parentDataProperty: "clientCredentials", rootData, dynamicAnchors })) {
|
|
21853
|
+
vErrors = vErrors === null ? validate192.errors : vErrors.concat(validate192.errors);
|
|
21733
21854
|
errors = vErrors.length;
|
|
21734
21855
|
}
|
|
21735
21856
|
}
|
|
21736
21857
|
if (data.deviceAuthorization !== void 0) {
|
|
21737
|
-
if (!
|
|
21738
|
-
vErrors = vErrors === null ?
|
|
21858
|
+
if (!validate194(data.deviceAuthorization, { instancePath: instancePath + "/deviceAuthorization", parentData: data, parentDataProperty: "deviceAuthorization", rootData, dynamicAnchors })) {
|
|
21859
|
+
vErrors = vErrors === null ? validate194.errors : vErrors.concat(validate194.errors);
|
|
21739
21860
|
errors = vErrors.length;
|
|
21740
21861
|
}
|
|
21741
21862
|
}
|
|
21742
21863
|
if (data.authorizationCode !== void 0) {
|
|
21743
|
-
if (!
|
|
21744
|
-
vErrors = vErrors === null ?
|
|
21864
|
+
if (!validate196(data.authorizationCode, { instancePath: instancePath + "/authorizationCode", parentData: data, parentDataProperty: "authorizationCode", rootData, dynamicAnchors })) {
|
|
21865
|
+
vErrors = vErrors === null ? validate196.errors : vErrors.concat(validate196.errors);
|
|
21745
21866
|
errors = vErrors.length;
|
|
21746
21867
|
}
|
|
21747
21868
|
}
|
|
@@ -21754,14 +21875,14 @@ function validate184(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21754
21875
|
}
|
|
21755
21876
|
errors++;
|
|
21756
21877
|
}
|
|
21757
|
-
|
|
21878
|
+
validate187.errors = vErrors;
|
|
21758
21879
|
return errors === 0;
|
|
21759
21880
|
}
|
|
21760
|
-
|
|
21761
|
-
function
|
|
21881
|
+
validate187.evaluated = { "props": { "implicit": true, "password": true, "clientCredentials": true, "deviceAuthorization": true, "authorizationCode": true }, "dynamicProps": false, "dynamicItems": false };
|
|
21882
|
+
function validate186(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
21762
21883
|
let vErrors = null;
|
|
21763
21884
|
let errors = 0;
|
|
21764
|
-
const evaluated0 =
|
|
21885
|
+
const evaluated0 = validate186.evaluated;
|
|
21765
21886
|
if (evaluated0.dynamicProps) {
|
|
21766
21887
|
evaluated0.props = void 0;
|
|
21767
21888
|
}
|
|
@@ -21906,8 +22027,8 @@ function validate183(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21906
22027
|
}
|
|
21907
22028
|
}
|
|
21908
22029
|
if (data.flows !== void 0) {
|
|
21909
|
-
if (!
|
|
21910
|
-
vErrors = vErrors === null ?
|
|
22030
|
+
if (!validate187(data.flows, { instancePath: instancePath + "/flows", parentData: data, parentDataProperty: "flows", rootData, dynamicAnchors })) {
|
|
22031
|
+
vErrors = vErrors === null ? validate187.errors : vErrors.concat(validate187.errors);
|
|
21911
22032
|
errors = vErrors.length;
|
|
21912
22033
|
}
|
|
21913
22034
|
}
|
|
@@ -21976,15 +22097,15 @@ function validate183(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21976
22097
|
}
|
|
21977
22098
|
errors++;
|
|
21978
22099
|
}
|
|
21979
|
-
|
|
22100
|
+
validate186.errors = vErrors;
|
|
21980
22101
|
return errors === 0;
|
|
21981
22102
|
}
|
|
21982
|
-
|
|
21983
|
-
var
|
|
21984
|
-
function
|
|
22103
|
+
validate186.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
|
|
22104
|
+
var pattern48 = new RegExp('^(?:[A-Za-z][A-Za-z0-9+.-]*://[!"$-.0-9;->A-~][!"$-~]*|[Uu][Rr][Nn]:[A-Za-z0-9][A-Za-z0-9-]{0,30}[A-Za-z0-9]:[!"$-~]+)$', "u");
|
|
22105
|
+
function validate185(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
21985
22106
|
let vErrors = null;
|
|
21986
22107
|
let errors = 0;
|
|
21987
|
-
const evaluated0 =
|
|
22108
|
+
const evaluated0 = validate185.evaluated;
|
|
21988
22109
|
if (evaluated0.dynamicProps) {
|
|
21989
22110
|
evaluated0.props = void 0;
|
|
21990
22111
|
}
|
|
@@ -22129,8 +22250,8 @@ function validate182(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22129
22250
|
let data8 = data.securitySchemes;
|
|
22130
22251
|
if (data8 && typeof data8 == "object" && !Array.isArray(data8)) {
|
|
22131
22252
|
for (const key2 in data8) {
|
|
22132
|
-
if (!
|
|
22133
|
-
vErrors = vErrors === null ?
|
|
22253
|
+
if (!validate186(data8[key2], { instancePath: instancePath + "/securitySchemes/" + key2.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data8, parentDataProperty: key2, rootData, dynamicAnchors })) {
|
|
22254
|
+
vErrors = vErrors === null ? validate186.errors : vErrors.concat(validate186.errors);
|
|
22134
22255
|
errors = vErrors.length;
|
|
22135
22256
|
}
|
|
22136
22257
|
}
|
|
@@ -22202,7 +22323,7 @@ function validate182(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22202
22323
|
}
|
|
22203
22324
|
}
|
|
22204
22325
|
if (typeof data13 === "string") {
|
|
22205
|
-
if (!
|
|
22326
|
+
if (!pattern48.test(data13)) {
|
|
22206
22327
|
const err12 = { instancePath: instancePath + "/securitySchemeSettings/" + key3.replace(/~/g, "~0").replace(/\//g, "~1") + "/resource/" + i2, schemaPath: "#/$defs/securitySchemeSettings/properties/resource/items/pattern", keyword: "pattern", params: { pattern: '^(?:[A-Za-z][A-Za-z0-9+.-]*://[!"$-.0-9;->A-~][!"$-~]*|[Uu][Rr][Nn]:[A-Za-z0-9][A-Za-z0-9-]{0,30}[A-Za-z0-9]:[!"$-~]+)$' }, message: 'must match pattern "^(?:[A-Za-z][A-Za-z0-9+.-]*://[!"$-.0-9;->A-~][!"$-~]*|[Uu][Rr][Nn]:[A-Za-z0-9][A-Za-z0-9-]{0,30}[A-Za-z0-9]:[!"$-~]+)$"' };
|
|
22207
22328
|
if (vErrors === null) {
|
|
22208
22329
|
vErrors = [err12];
|
|
@@ -22427,17 +22548,17 @@ function validate182(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22427
22548
|
}
|
|
22428
22549
|
errors++;
|
|
22429
22550
|
}
|
|
22430
|
-
|
|
22551
|
+
validate185.errors = vErrors;
|
|
22431
22552
|
return errors === 0;
|
|
22432
22553
|
}
|
|
22433
|
-
|
|
22554
|
+
validate185.evaluated = { "props": { "codeSamples": true, "codeSampleLanguages": true, "tags": true, "security": true, "securitySchemes": true, "securitySchemeSettings": true, "operationSecurity": true, "transformations": true }, "dynamicProps": false, "dynamicItems": false };
|
|
22434
22555
|
var schema205 = { "enum": ["connect", "transcode"] };
|
|
22435
|
-
var
|
|
22436
|
-
var
|
|
22437
|
-
function
|
|
22556
|
+
var pattern49 = new RegExp("^[^-\\s\\u0000-\\u001f\\u007f-\\u009f][^\\u0000-\\u001f\\u007f-\\u009f]*$", "u");
|
|
22557
|
+
var pattern51 = new RegExp("^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*/[A-Za-z_][A-Za-z0-9_]*$", "u");
|
|
22558
|
+
function validate202(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
22438
22559
|
let vErrors = null;
|
|
22439
22560
|
let errors = 0;
|
|
22440
|
-
const evaluated0 =
|
|
22561
|
+
const evaluated0 = validate202.evaluated;
|
|
22441
22562
|
if (evaluated0.dynamicProps) {
|
|
22442
22563
|
evaluated0.props = void 0;
|
|
22443
22564
|
}
|
|
@@ -22555,14 +22676,14 @@ function validate199(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22555
22676
|
}
|
|
22556
22677
|
errors++;
|
|
22557
22678
|
}
|
|
22558
|
-
|
|
22679
|
+
validate202.errors = vErrors;
|
|
22559
22680
|
return errors === 0;
|
|
22560
22681
|
}
|
|
22561
|
-
|
|
22562
|
-
function
|
|
22682
|
+
validate202.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
|
|
22683
|
+
function validate201(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
22563
22684
|
let vErrors = null;
|
|
22564
22685
|
let errors = 0;
|
|
22565
|
-
const evaluated0 =
|
|
22686
|
+
const evaluated0 = validate201.evaluated;
|
|
22566
22687
|
if (evaluated0.dynamicProps) {
|
|
22567
22688
|
evaluated0.props = void 0;
|
|
22568
22689
|
}
|
|
@@ -22609,7 +22730,7 @@ function validate198(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22609
22730
|
}
|
|
22610
22731
|
}
|
|
22611
22732
|
if (typeof data0 === "string") {
|
|
22612
|
-
if (!
|
|
22733
|
+
if (!pattern49.test(data0)) {
|
|
22613
22734
|
const err2 = { instancePath: instancePath + "/target", schemaPath: "#/properties/target/pattern", keyword: "pattern", params: { pattern: "^[^-\\s\\u0000-\\u001f\\u007f-\\u009f][^\\u0000-\\u001f\\u007f-\\u009f]*$" }, message: 'must match pattern "^[^-\\s\\u0000-\\u001f\\u007f-\\u009f][^\\u0000-\\u001f\\u007f-\\u009f]*$"' };
|
|
22614
22735
|
if (vErrors === null) {
|
|
22615
22736
|
vErrors = [err2];
|
|
@@ -22660,8 +22781,8 @@ function validate198(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22660
22781
|
}
|
|
22661
22782
|
}
|
|
22662
22783
|
for (const key2 in data2) {
|
|
22663
|
-
if (!
|
|
22664
|
-
vErrors = vErrors === null ?
|
|
22784
|
+
if (!validate202(data2[key2], { instancePath: instancePath + "/services/" + key2.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data2, parentDataProperty: key2, rootData, dynamicAnchors })) {
|
|
22785
|
+
vErrors = vErrors === null ? validate202.errors : vErrors.concat(validate202.errors);
|
|
22665
22786
|
errors = vErrors.length;
|
|
22666
22787
|
}
|
|
22667
22788
|
}
|
|
@@ -22707,7 +22828,7 @@ function validate198(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22707
22828
|
}
|
|
22708
22829
|
}
|
|
22709
22830
|
if (typeof data5 === "string") {
|
|
22710
|
-
if (!
|
|
22831
|
+
if (!pattern51.test(data5)) {
|
|
22711
22832
|
const err8 = { instancePath: instancePath + "/ignoredMethods/" + i0, schemaPath: "#/properties/ignoredMethods/items/pattern", keyword: "pattern", params: { pattern: "^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*/[A-Za-z_][A-Za-z0-9_]*$" }, message: 'must match pattern "^[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*/[A-Za-z_][A-Za-z0-9_]*$"' };
|
|
22712
22833
|
if (vErrors === null) {
|
|
22713
22834
|
vErrors = [err8];
|
|
@@ -22737,16 +22858,16 @@ function validate198(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22737
22858
|
}
|
|
22738
22859
|
errors++;
|
|
22739
22860
|
}
|
|
22740
|
-
|
|
22861
|
+
validate201.errors = vErrors;
|
|
22741
22862
|
return errors === 0;
|
|
22742
22863
|
}
|
|
22743
|
-
|
|
22864
|
+
validate201.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
|
|
22744
22865
|
var schema209 = { "type": "object", "properties": { "kind": { "$ref": "#/$defs/streamingEventHandlerKind" }, "handle": { "type": "string" }, "eventType": { "anyOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }, { "const": null }] }, "errorProperty": { "type": "string" }, "dataStartsWith": { "type": "string" } }, "required": ["kind", "handle"] };
|
|
22745
22866
|
var schema210 = { "enum": ["event", "fallthrough", "data"] };
|
|
22746
|
-
function
|
|
22867
|
+
function validate208(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
22747
22868
|
let vErrors = null;
|
|
22748
22869
|
let errors = 0;
|
|
22749
|
-
const evaluated0 =
|
|
22870
|
+
const evaluated0 = validate208.evaluated;
|
|
22750
22871
|
if (evaluated0.dynamicProps) {
|
|
22751
22872
|
evaluated0.props = void 0;
|
|
22752
22873
|
}
|
|
@@ -22982,14 +23103,14 @@ function validate205(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22982
23103
|
}
|
|
22983
23104
|
errors++;
|
|
22984
23105
|
}
|
|
22985
|
-
|
|
23106
|
+
validate208.errors = vErrors;
|
|
22986
23107
|
return errors === 0;
|
|
22987
23108
|
}
|
|
22988
|
-
|
|
22989
|
-
function
|
|
23109
|
+
validate208.evaluated = { "props": { "kind": true, "handle": true, "eventType": true, "errorProperty": true, "dataStartsWith": true }, "dynamicProps": false, "dynamicItems": false };
|
|
23110
|
+
function validate207(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
22990
23111
|
let vErrors = null;
|
|
22991
23112
|
let errors = 0;
|
|
22992
|
-
const evaluated0 =
|
|
23113
|
+
const evaluated0 = validate207.evaluated;
|
|
22993
23114
|
if (evaluated0.dynamicProps) {
|
|
22994
23115
|
evaluated0.props = void 0;
|
|
22995
23116
|
}
|
|
@@ -23011,8 +23132,8 @@ function validate204(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23011
23132
|
if (Array.isArray(data0)) {
|
|
23012
23133
|
const len0 = data0.length;
|
|
23013
23134
|
for (let i0 = 0; i0 < len0; i0++) {
|
|
23014
|
-
if (!
|
|
23015
|
-
vErrors = vErrors === null ?
|
|
23135
|
+
if (!validate208(data0[i0], { instancePath: instancePath + "/onEvent/" + i0, parentData: data0, parentDataProperty: i0, rootData, dynamicAnchors })) {
|
|
23136
|
+
vErrors = vErrors === null ? validate208.errors : vErrors.concat(validate208.errors);
|
|
23016
23137
|
errors = vErrors.length;
|
|
23017
23138
|
}
|
|
23018
23139
|
}
|
|
@@ -23035,14 +23156,14 @@ function validate204(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23035
23156
|
}
|
|
23036
23157
|
errors++;
|
|
23037
23158
|
}
|
|
23038
|
-
|
|
23159
|
+
validate207.errors = vErrors;
|
|
23039
23160
|
return errors === 0;
|
|
23040
23161
|
}
|
|
23041
|
-
|
|
23042
|
-
function
|
|
23162
|
+
validate207.evaluated = { "props": { "onEvent": true }, "dynamicProps": false, "dynamicItems": false };
|
|
23163
|
+
function validate211(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
23043
23164
|
let vErrors = null;
|
|
23044
23165
|
let errors = 0;
|
|
23045
|
-
const evaluated0 =
|
|
23166
|
+
const evaluated0 = validate211.evaluated;
|
|
23046
23167
|
if (evaluated0.dynamicProps) {
|
|
23047
23168
|
evaluated0.props = void 0;
|
|
23048
23169
|
}
|
|
@@ -23206,15 +23327,15 @@ function validate208(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23206
23327
|
}
|
|
23207
23328
|
errors++;
|
|
23208
23329
|
}
|
|
23209
|
-
|
|
23330
|
+
validate211.errors = vErrors;
|
|
23210
23331
|
return errors === 0;
|
|
23211
23332
|
}
|
|
23212
|
-
|
|
23333
|
+
validate211.evaluated = { "props": { "type": true, "openapiUri": true, "deduplicate": true, "skipProperties": true, "skip": true }, "dynamicProps": false, "dynamicItems": false };
|
|
23213
23334
|
var schema212 = { "type": "object", "properties": { "failOn": { "enum": ["off", "info", "warn", "error"], "default": "error" }, "maxWarnings": { "type": "number", "minimum": 0 }, "maxErrors": { "type": "number", "minimum": 0 }, "rules": { "type": "object", "additionalProperties": { "enum": ["error", "warn", "info", "off"] } }, "ignored": { "type": "object", "additionalProperties": { "$ref": "#/$defs/diagnosticIgnoreConfig" } } }, "additionalProperties": false };
|
|
23214
|
-
function
|
|
23335
|
+
function validate216(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
23215
23336
|
let vErrors = null;
|
|
23216
23337
|
let errors = 0;
|
|
23217
|
-
const evaluated0 =
|
|
23338
|
+
const evaluated0 = validate216.evaluated;
|
|
23218
23339
|
if (evaluated0.dynamicProps) {
|
|
23219
23340
|
evaluated0.props = void 0;
|
|
23220
23341
|
}
|
|
@@ -23439,15 +23560,15 @@ function validate213(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23439
23560
|
}
|
|
23440
23561
|
}
|
|
23441
23562
|
}
|
|
23442
|
-
|
|
23563
|
+
validate216.errors = vErrors;
|
|
23443
23564
|
evaluated0.props = props0;
|
|
23444
23565
|
return errors === 0;
|
|
23445
23566
|
}
|
|
23446
|
-
|
|
23447
|
-
function
|
|
23567
|
+
validate216.evaluated = { "dynamicProps": true, "dynamicItems": false };
|
|
23568
|
+
function validate215(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
23448
23569
|
let vErrors = null;
|
|
23449
23570
|
let errors = 0;
|
|
23450
|
-
const evaluated0 =
|
|
23571
|
+
const evaluated0 = validate215.evaluated;
|
|
23451
23572
|
if (evaluated0.dynamicProps) {
|
|
23452
23573
|
evaluated0.props = void 0;
|
|
23453
23574
|
}
|
|
@@ -23515,8 +23636,8 @@ function validate212(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23515
23636
|
if (Array.isArray(data)) {
|
|
23516
23637
|
const len0 = data.length;
|
|
23517
23638
|
for (let i0 = 0; i0 < len0; i0++) {
|
|
23518
|
-
if (!
|
|
23519
|
-
vErrors = vErrors === null ?
|
|
23639
|
+
if (!validate216(data[i0], { instancePath: instancePath + "/" + i0, parentData: data, parentDataProperty: i0, rootData, dynamicAnchors })) {
|
|
23640
|
+
vErrors = vErrors === null ? validate216.errors : vErrors.concat(validate216.errors);
|
|
23520
23641
|
errors = vErrors.length;
|
|
23521
23642
|
}
|
|
23522
23643
|
}
|
|
@@ -23552,15 +23673,15 @@ function validate212(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23552
23673
|
}
|
|
23553
23674
|
}
|
|
23554
23675
|
}
|
|
23555
|
-
|
|
23676
|
+
validate215.errors = vErrors;
|
|
23556
23677
|
evaluated0.items = items0;
|
|
23557
23678
|
return errors === 0;
|
|
23558
23679
|
}
|
|
23559
|
-
|
|
23560
|
-
function
|
|
23680
|
+
validate215.evaluated = { "dynamicProps": false, "dynamicItems": true };
|
|
23681
|
+
function validate214(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
23561
23682
|
let vErrors = null;
|
|
23562
23683
|
let errors = 0;
|
|
23563
|
-
const evaluated0 =
|
|
23684
|
+
const evaluated0 = validate214.evaluated;
|
|
23564
23685
|
if (evaluated0.dynamicProps) {
|
|
23565
23686
|
evaluated0.props = void 0;
|
|
23566
23687
|
}
|
|
@@ -23694,8 +23815,8 @@ function validate211(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23694
23815
|
let data5 = data.ignored;
|
|
23695
23816
|
if (data5 && typeof data5 == "object" && !Array.isArray(data5)) {
|
|
23696
23817
|
for (const key2 in data5) {
|
|
23697
|
-
if (!
|
|
23698
|
-
vErrors = vErrors === null ?
|
|
23818
|
+
if (!validate215(data5[key2], { instancePath: instancePath + "/ignored/" + key2.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data5, parentDataProperty: key2, rootData, dynamicAnchors })) {
|
|
23819
|
+
vErrors = vErrors === null ? validate215.errors : vErrors.concat(validate215.errors);
|
|
23699
23820
|
errors = vErrors.length;
|
|
23700
23821
|
}
|
|
23701
23822
|
}
|
|
@@ -23718,12 +23839,13 @@ function validate211(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23718
23839
|
}
|
|
23719
23840
|
errors++;
|
|
23720
23841
|
}
|
|
23721
|
-
|
|
23842
|
+
validate214.errors = vErrors;
|
|
23722
23843
|
return errors === 0;
|
|
23723
23844
|
}
|
|
23724
|
-
|
|
23845
|
+
validate214.evaluated = { "props": true, "dynamicProps": false, "dynamicItems": false };
|
|
23725
23846
|
var pattern45 = new RegExp("^[A-Za-z \\-/:.'\\[\\]]+$", "u");
|
|
23726
|
-
var pattern46 = new RegExp("
|
|
23847
|
+
var pattern46 = new RegExp("\\S", "u");
|
|
23848
|
+
var pattern47 = new RegExp("^[a-z](?:-?[a-z0-9])+$", "u");
|
|
23727
23849
|
function validate20(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
23728
23850
|
;
|
|
23729
23851
|
let vErrors = null;
|
|
@@ -24030,8 +24152,8 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
24030
24152
|
}
|
|
24031
24153
|
}
|
|
24032
24154
|
if (data.readme !== void 0) {
|
|
24033
|
-
if (!
|
|
24034
|
-
vErrors = vErrors === null ?
|
|
24155
|
+
if (!validate62(data.readme, { instancePath: instancePath + "/readme", parentData: data, parentDataProperty: "readme", rootData, dynamicAnchors })) {
|
|
24156
|
+
vErrors = vErrors === null ? validate62.errors : vErrors.concat(validate62.errors);
|
|
24035
24157
|
errors = vErrors.length;
|
|
24036
24158
|
}
|
|
24037
24159
|
}
|
|
@@ -24039,8 +24161,8 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
24039
24161
|
let data11 = data.customCasings;
|
|
24040
24162
|
if (data11 && typeof data11 == "object" && !Array.isArray(data11)) {
|
|
24041
24163
|
for (const key2 in data11) {
|
|
24042
|
-
if (!
|
|
24043
|
-
vErrors = vErrors === null ?
|
|
24164
|
+
if (!validate64(data11[key2], { instancePath: instancePath + "/customCasings/" + key2.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data11, parentDataProperty: key2, rootData, dynamicAnchors })) {
|
|
24165
|
+
vErrors = vErrors === null ? validate64.errors : vErrors.concat(validate64.errors);
|
|
24044
24166
|
errors = vErrors.length;
|
|
24045
24167
|
}
|
|
24046
24168
|
}
|
|
@@ -24055,8 +24177,8 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
24055
24177
|
}
|
|
24056
24178
|
}
|
|
24057
24179
|
if (data.targets !== void 0) {
|
|
24058
|
-
if (!
|
|
24059
|
-
vErrors = vErrors === null ?
|
|
24180
|
+
if (!validate66(data.targets, { instancePath: instancePath + "/targets", parentData: data, parentDataProperty: "targets", rootData, dynamicAnchors })) {
|
|
24181
|
+
vErrors = vErrors === null ? validate66.errors : vErrors.concat(validate66.errors);
|
|
24060
24182
|
errors = vErrors.length;
|
|
24061
24183
|
}
|
|
24062
24184
|
}
|
|
@@ -24144,8 +24266,8 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
24144
24266
|
}
|
|
24145
24267
|
}
|
|
24146
24268
|
if (data.clientSettings !== void 0) {
|
|
24147
|
-
if (!
|
|
24148
|
-
vErrors = vErrors === null ?
|
|
24269
|
+
if (!validate169(data.clientSettings, { instancePath: instancePath + "/clientSettings", parentData: data, parentDataProperty: "clientSettings", rootData, dynamicAnchors })) {
|
|
24270
|
+
vErrors = vErrors === null ? validate169.errors : vErrors.concat(validate169.errors);
|
|
24149
24271
|
errors = vErrors.length;
|
|
24150
24272
|
}
|
|
24151
24273
|
}
|
|
@@ -24154,8 +24276,8 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
24154
24276
|
if (Array.isArray(data19)) {
|
|
24155
24277
|
const len1 = data19.length;
|
|
24156
24278
|
for (let i1 = 0; i1 < len1; i1++) {
|
|
24157
|
-
if (!
|
|
24158
|
-
vErrors = vErrors === null ?
|
|
24279
|
+
if (!validate175(data19[i1], { instancePath: instancePath + "/pagination/" + i1, parentData: data19, parentDataProperty: i1, rootData, dynamicAnchors })) {
|
|
24280
|
+
vErrors = vErrors === null ? validate175.errors : vErrors.concat(validate175.errors);
|
|
24159
24281
|
errors = vErrors.length;
|
|
24160
24282
|
}
|
|
24161
24283
|
}
|
|
@@ -24170,14 +24292,14 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
24170
24292
|
}
|
|
24171
24293
|
}
|
|
24172
24294
|
if (data.querySettings !== void 0) {
|
|
24173
|
-
if (!
|
|
24174
|
-
vErrors = vErrors === null ?
|
|
24295
|
+
if (!validate181(data.querySettings, { instancePath: instancePath + "/querySettings", parentData: data, parentDataProperty: "querySettings", rootData, dynamicAnchors })) {
|
|
24296
|
+
vErrors = vErrors === null ? validate181.errors : vErrors.concat(validate181.errors);
|
|
24175
24297
|
errors = vErrors.length;
|
|
24176
24298
|
}
|
|
24177
24299
|
}
|
|
24178
24300
|
if (data.multipartSettings !== void 0) {
|
|
24179
|
-
if (!
|
|
24180
|
-
vErrors = vErrors === null ?
|
|
24301
|
+
if (!validate183(data.multipartSettings, { instancePath: instancePath + "/multipartSettings", parentData: data, parentDataProperty: "multipartSettings", rootData, dynamicAnchors })) {
|
|
24302
|
+
vErrors = vErrors === null ? validate183.errors : vErrors.concat(validate183.errors);
|
|
24181
24303
|
errors = vErrors.length;
|
|
24182
24304
|
}
|
|
24183
24305
|
}
|
|
@@ -24360,158 +24482,178 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
24360
24482
|
}
|
|
24361
24483
|
}
|
|
24362
24484
|
}
|
|
24485
|
+
if (data26.description !== void 0) {
|
|
24486
|
+
let data30 = data26.description;
|
|
24487
|
+
if (typeof data30 !== "string") {
|
|
24488
|
+
let dataType13 = typeof data30;
|
|
24489
|
+
let coerced13 = void 0;
|
|
24490
|
+
if (!(coerced13 !== void 0)) {
|
|
24491
|
+
if (dataType13 == "number" || dataType13 == "boolean") {
|
|
24492
|
+
coerced13 = "" + data30;
|
|
24493
|
+
} else if (data30 === null) {
|
|
24494
|
+
coerced13 = "";
|
|
24495
|
+
} else {
|
|
24496
|
+
const err32 = { instancePath: instancePath + "/settings/description", schemaPath: "#/$defs/globalSettings/properties/description/type", keyword: "type", params: { type: "string" }, message: "must be string" };
|
|
24497
|
+
if (vErrors === null) {
|
|
24498
|
+
vErrors = [err32];
|
|
24499
|
+
} else {
|
|
24500
|
+
vErrors.push(err32);
|
|
24501
|
+
}
|
|
24502
|
+
errors++;
|
|
24503
|
+
}
|
|
24504
|
+
}
|
|
24505
|
+
if (coerced13 !== void 0) {
|
|
24506
|
+
data30 = coerced13;
|
|
24507
|
+
if (data26 !== void 0) {
|
|
24508
|
+
data26["description"] = coerced13;
|
|
24509
|
+
}
|
|
24510
|
+
}
|
|
24511
|
+
}
|
|
24512
|
+
if (typeof data30 === "string") {
|
|
24513
|
+
if (func1(data30) > 512) {
|
|
24514
|
+
const err33 = { instancePath: instancePath + "/settings/description", schemaPath: "#/$defs/globalSettings/properties/description/maxLength", keyword: "maxLength", params: { limit: 512 }, message: "must NOT have more than 512 characters" };
|
|
24515
|
+
if (vErrors === null) {
|
|
24516
|
+
vErrors = [err33];
|
|
24517
|
+
} else {
|
|
24518
|
+
vErrors.push(err33);
|
|
24519
|
+
}
|
|
24520
|
+
errors++;
|
|
24521
|
+
}
|
|
24522
|
+
if (func1(data30) < 1) {
|
|
24523
|
+
const err34 = { instancePath: instancePath + "/settings/description", schemaPath: "#/$defs/globalSettings/properties/description/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
|
|
24524
|
+
if (vErrors === null) {
|
|
24525
|
+
vErrors = [err34];
|
|
24526
|
+
} else {
|
|
24527
|
+
vErrors.push(err34);
|
|
24528
|
+
}
|
|
24529
|
+
errors++;
|
|
24530
|
+
}
|
|
24531
|
+
if (!pattern46.test(data30)) {
|
|
24532
|
+
const err35 = { instancePath: instancePath + "/settings/description", schemaPath: "#/$defs/globalSettings/properties/description/pattern", keyword: "pattern", params: { pattern: "\\S" }, message: 'must match pattern "\\S"' };
|
|
24533
|
+
if (vErrors === null) {
|
|
24534
|
+
vErrors = [err35];
|
|
24535
|
+
} else {
|
|
24536
|
+
vErrors.push(err35);
|
|
24537
|
+
}
|
|
24538
|
+
errors++;
|
|
24539
|
+
}
|
|
24540
|
+
}
|
|
24541
|
+
}
|
|
24363
24542
|
if (data26.keywords !== void 0) {
|
|
24364
|
-
let
|
|
24365
|
-
if (Array.isArray(
|
|
24366
|
-
if (
|
|
24367
|
-
const
|
|
24543
|
+
let data31 = data26.keywords;
|
|
24544
|
+
if (Array.isArray(data31)) {
|
|
24545
|
+
if (data31.length > 5) {
|
|
24546
|
+
const err36 = { instancePath: instancePath + "/settings/keywords", schemaPath: "#/$defs/globalSettings/properties/keywords/maxItems", keyword: "maxItems", params: { limit: 5 }, message: "must NOT have more than 5 items" };
|
|
24368
24547
|
if (vErrors === null) {
|
|
24369
|
-
vErrors = [
|
|
24548
|
+
vErrors = [err36];
|
|
24370
24549
|
} else {
|
|
24371
|
-
vErrors.push(
|
|
24550
|
+
vErrors.push(err36);
|
|
24372
24551
|
}
|
|
24373
24552
|
errors++;
|
|
24374
24553
|
}
|
|
24375
|
-
const len3 =
|
|
24554
|
+
const len3 = data31.length;
|
|
24376
24555
|
for (let i3 = 0; i3 < len3; i3++) {
|
|
24377
|
-
let
|
|
24378
|
-
if (typeof
|
|
24379
|
-
let
|
|
24380
|
-
let
|
|
24381
|
-
if (!(
|
|
24382
|
-
if (
|
|
24383
|
-
|
|
24384
|
-
} else if (
|
|
24385
|
-
|
|
24556
|
+
let data32 = data31[i3];
|
|
24557
|
+
if (typeof data32 !== "string") {
|
|
24558
|
+
let dataType14 = typeof data32;
|
|
24559
|
+
let coerced14 = void 0;
|
|
24560
|
+
if (!(coerced14 !== void 0)) {
|
|
24561
|
+
if (dataType14 == "number" || dataType14 == "boolean") {
|
|
24562
|
+
coerced14 = "" + data32;
|
|
24563
|
+
} else if (data32 === null) {
|
|
24564
|
+
coerced14 = "";
|
|
24386
24565
|
} else {
|
|
24387
|
-
const
|
|
24566
|
+
const err37 = { instancePath: instancePath + "/settings/keywords/" + i3, schemaPath: "#/$defs/globalSettings/properties/keywords/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
|
|
24388
24567
|
if (vErrors === null) {
|
|
24389
|
-
vErrors = [
|
|
24568
|
+
vErrors = [err37];
|
|
24390
24569
|
} else {
|
|
24391
|
-
vErrors.push(
|
|
24570
|
+
vErrors.push(err37);
|
|
24392
24571
|
}
|
|
24393
24572
|
errors++;
|
|
24394
24573
|
}
|
|
24395
24574
|
}
|
|
24396
|
-
if (
|
|
24397
|
-
|
|
24398
|
-
if (
|
|
24399
|
-
|
|
24575
|
+
if (coerced14 !== void 0) {
|
|
24576
|
+
data32 = coerced14;
|
|
24577
|
+
if (data31 !== void 0) {
|
|
24578
|
+
data31[i3] = coerced14;
|
|
24400
24579
|
}
|
|
24401
24580
|
}
|
|
24402
24581
|
}
|
|
24403
|
-
if (typeof
|
|
24404
|
-
if (func1(
|
|
24405
|
-
const
|
|
24582
|
+
if (typeof data32 === "string") {
|
|
24583
|
+
if (func1(data32) > 20) {
|
|
24584
|
+
const err38 = { instancePath: instancePath + "/settings/keywords/" + i3, schemaPath: "#/$defs/globalSettings/properties/keywords/items/maxLength", keyword: "maxLength", params: { limit: 20 }, message: "must NOT have more than 20 characters" };
|
|
24406
24585
|
if (vErrors === null) {
|
|
24407
|
-
vErrors = [
|
|
24586
|
+
vErrors = [err38];
|
|
24408
24587
|
} else {
|
|
24409
|
-
vErrors.push(
|
|
24588
|
+
vErrors.push(err38);
|
|
24410
24589
|
}
|
|
24411
24590
|
errors++;
|
|
24412
24591
|
}
|
|
24413
|
-
if (!
|
|
24414
|
-
const
|
|
24592
|
+
if (!pattern47.test(data32)) {
|
|
24593
|
+
const err39 = { instancePath: instancePath + "/settings/keywords/" + i3, schemaPath: "#/$defs/globalSettings/properties/keywords/items/pattern", keyword: "pattern", params: { pattern: "^[a-z](?:-?[a-z0-9])+$" }, message: 'must match pattern "^[a-z](?:-?[a-z0-9])+$"' };
|
|
24415
24594
|
if (vErrors === null) {
|
|
24416
|
-
vErrors = [
|
|
24595
|
+
vErrors = [err39];
|
|
24417
24596
|
} else {
|
|
24418
|
-
vErrors.push(
|
|
24597
|
+
vErrors.push(err39);
|
|
24419
24598
|
}
|
|
24420
24599
|
errors++;
|
|
24421
24600
|
}
|
|
24422
24601
|
}
|
|
24423
24602
|
}
|
|
24424
24603
|
} else {
|
|
24425
|
-
const
|
|
24604
|
+
const err40 = { instancePath: instancePath + "/settings/keywords", schemaPath: "#/$defs/globalSettings/properties/keywords/type", keyword: "type", params: { type: "array" }, message: "must be array" };
|
|
24426
24605
|
if (vErrors === null) {
|
|
24427
|
-
vErrors = [
|
|
24606
|
+
vErrors = [err40];
|
|
24428
24607
|
} else {
|
|
24429
|
-
vErrors.push(
|
|
24608
|
+
vErrors.push(err40);
|
|
24430
24609
|
}
|
|
24431
24610
|
errors++;
|
|
24432
24611
|
}
|
|
24433
24612
|
}
|
|
24434
24613
|
if (data26.unwrapResponseFields !== void 0) {
|
|
24435
|
-
let
|
|
24436
|
-
if (Array.isArray(
|
|
24437
|
-
const len4 =
|
|
24614
|
+
let data33 = data26.unwrapResponseFields;
|
|
24615
|
+
if (Array.isArray(data33)) {
|
|
24616
|
+
const len4 = data33.length;
|
|
24438
24617
|
for (let i4 = 0; i4 < len4; i4++) {
|
|
24439
|
-
let
|
|
24440
|
-
if (typeof
|
|
24441
|
-
let
|
|
24442
|
-
let
|
|
24443
|
-
if (!(
|
|
24444
|
-
if (
|
|
24445
|
-
|
|
24446
|
-
} else if (
|
|
24447
|
-
|
|
24618
|
+
let data34 = data33[i4];
|
|
24619
|
+
if (typeof data34 !== "string") {
|
|
24620
|
+
let dataType15 = typeof data34;
|
|
24621
|
+
let coerced15 = void 0;
|
|
24622
|
+
if (!(coerced15 !== void 0)) {
|
|
24623
|
+
if (dataType15 == "number" || dataType15 == "boolean") {
|
|
24624
|
+
coerced15 = "" + data34;
|
|
24625
|
+
} else if (data34 === null) {
|
|
24626
|
+
coerced15 = "";
|
|
24448
24627
|
} else {
|
|
24449
|
-
const
|
|
24628
|
+
const err41 = { instancePath: instancePath + "/settings/unwrapResponseFields/" + i4, schemaPath: "#/$defs/globalSettings/properties/unwrapResponseFields/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
|
|
24450
24629
|
if (vErrors === null) {
|
|
24451
|
-
vErrors = [
|
|
24630
|
+
vErrors = [err41];
|
|
24452
24631
|
} else {
|
|
24453
|
-
vErrors.push(
|
|
24632
|
+
vErrors.push(err41);
|
|
24454
24633
|
}
|
|
24455
24634
|
errors++;
|
|
24456
24635
|
}
|
|
24457
24636
|
}
|
|
24458
|
-
if (
|
|
24459
|
-
|
|
24460
|
-
if (
|
|
24461
|
-
|
|
24637
|
+
if (coerced15 !== void 0) {
|
|
24638
|
+
data34 = coerced15;
|
|
24639
|
+
if (data33 !== void 0) {
|
|
24640
|
+
data33[i4] = coerced15;
|
|
24462
24641
|
}
|
|
24463
24642
|
}
|
|
24464
24643
|
}
|
|
24465
24644
|
}
|
|
24466
24645
|
} else {
|
|
24467
|
-
const
|
|
24646
|
+
const err42 = { instancePath: instancePath + "/settings/unwrapResponseFields", schemaPath: "#/$defs/globalSettings/properties/unwrapResponseFields/type", keyword: "type", params: { type: "array" }, message: "must be array" };
|
|
24468
24647
|
if (vErrors === null) {
|
|
24469
|
-
vErrors = [
|
|
24648
|
+
vErrors = [err42];
|
|
24470
24649
|
} else {
|
|
24471
|
-
vErrors.push(
|
|
24650
|
+
vErrors.push(err42);
|
|
24472
24651
|
}
|
|
24473
24652
|
errors++;
|
|
24474
24653
|
}
|
|
24475
24654
|
}
|
|
24476
24655
|
if (data26.positionalParams !== void 0) {
|
|
24477
|
-
let
|
|
24478
|
-
if (typeof data34 !== "string") {
|
|
24479
|
-
let dataType15 = typeof data34;
|
|
24480
|
-
let coerced15 = void 0;
|
|
24481
|
-
if (!(coerced15 !== void 0)) {
|
|
24482
|
-
if (dataType15 == "number" || dataType15 == "boolean") {
|
|
24483
|
-
coerced15 = "" + data34;
|
|
24484
|
-
} else if (data34 === null) {
|
|
24485
|
-
coerced15 = "";
|
|
24486
|
-
} else {
|
|
24487
|
-
const err39 = { instancePath: instancePath + "/settings/positionalParams", schemaPath: "#/$defs/globalSettings/properties/positionalParams/type", keyword: "type", params: { type: "string" }, message: "must be string" };
|
|
24488
|
-
if (vErrors === null) {
|
|
24489
|
-
vErrors = [err39];
|
|
24490
|
-
} else {
|
|
24491
|
-
vErrors.push(err39);
|
|
24492
|
-
}
|
|
24493
|
-
errors++;
|
|
24494
|
-
}
|
|
24495
|
-
}
|
|
24496
|
-
if (coerced15 !== void 0) {
|
|
24497
|
-
data34 = coerced15;
|
|
24498
|
-
if (data26 !== void 0) {
|
|
24499
|
-
data26["positionalParams"] = coerced15;
|
|
24500
|
-
}
|
|
24501
|
-
}
|
|
24502
|
-
}
|
|
24503
|
-
if (!(data34 === "all" || data34 === "none" || data34 === "last")) {
|
|
24504
|
-
const err40 = { instancePath: instancePath + "/settings/positionalParams", schemaPath: "#/$defs/globalSettings/properties/positionalParams/enum", keyword: "enum", params: { allowedValues: schema185.properties.positionalParams.enum }, message: "must be equal to one of the allowed values" };
|
|
24505
|
-
if (vErrors === null) {
|
|
24506
|
-
vErrors = [err40];
|
|
24507
|
-
} else {
|
|
24508
|
-
vErrors.push(err40);
|
|
24509
|
-
}
|
|
24510
|
-
errors++;
|
|
24511
|
-
}
|
|
24512
|
-
}
|
|
24513
|
-
if (data26.ordering !== void 0) {
|
|
24514
|
-
let data35 = data26.ordering;
|
|
24656
|
+
let data35 = data26.positionalParams;
|
|
24515
24657
|
if (typeof data35 !== "string") {
|
|
24516
24658
|
let dataType16 = typeof data35;
|
|
24517
24659
|
let coerced16 = void 0;
|
|
@@ -24521,11 +24663,11 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
24521
24663
|
} else if (data35 === null) {
|
|
24522
24664
|
coerced16 = "";
|
|
24523
24665
|
} else {
|
|
24524
|
-
const
|
|
24666
|
+
const err43 = { instancePath: instancePath + "/settings/positionalParams", schemaPath: "#/$defs/globalSettings/properties/positionalParams/type", keyword: "type", params: { type: "string" }, message: "must be string" };
|
|
24525
24667
|
if (vErrors === null) {
|
|
24526
|
-
vErrors = [
|
|
24668
|
+
vErrors = [err43];
|
|
24527
24669
|
} else {
|
|
24528
|
-
vErrors.push(
|
|
24670
|
+
vErrors.push(err43);
|
|
24529
24671
|
}
|
|
24530
24672
|
errors++;
|
|
24531
24673
|
}
|
|
@@ -24533,35 +24675,36 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
24533
24675
|
if (coerced16 !== void 0) {
|
|
24534
24676
|
data35 = coerced16;
|
|
24535
24677
|
if (data26 !== void 0) {
|
|
24536
|
-
data26["
|
|
24678
|
+
data26["positionalParams"] = coerced16;
|
|
24537
24679
|
}
|
|
24538
24680
|
}
|
|
24539
24681
|
}
|
|
24540
|
-
if (!(data35 === "
|
|
24541
|
-
const
|
|
24682
|
+
if (!(data35 === "all" || data35 === "none" || data35 === "last")) {
|
|
24683
|
+
const err44 = { instancePath: instancePath + "/settings/positionalParams", schemaPath: "#/$defs/globalSettings/properties/positionalParams/enum", keyword: "enum", params: { allowedValues: schema185.properties.positionalParams.enum }, message: "must be equal to one of the allowed values" };
|
|
24542
24684
|
if (vErrors === null) {
|
|
24543
|
-
vErrors = [
|
|
24685
|
+
vErrors = [err44];
|
|
24544
24686
|
} else {
|
|
24545
|
-
vErrors.push(
|
|
24687
|
+
vErrors.push(err44);
|
|
24546
24688
|
}
|
|
24547
24689
|
errors++;
|
|
24548
24690
|
}
|
|
24549
24691
|
}
|
|
24550
|
-
if (data26.
|
|
24551
|
-
let data36 = data26.
|
|
24552
|
-
if (typeof data36 !== "
|
|
24692
|
+
if (data26.ordering !== void 0) {
|
|
24693
|
+
let data36 = data26.ordering;
|
|
24694
|
+
if (typeof data36 !== "string") {
|
|
24695
|
+
let dataType17 = typeof data36;
|
|
24553
24696
|
let coerced17 = void 0;
|
|
24554
24697
|
if (!(coerced17 !== void 0)) {
|
|
24555
|
-
if (
|
|
24556
|
-
coerced17 =
|
|
24557
|
-
} else if (data36 ===
|
|
24558
|
-
coerced17 =
|
|
24698
|
+
if (dataType17 == "number" || dataType17 == "boolean") {
|
|
24699
|
+
coerced17 = "" + data36;
|
|
24700
|
+
} else if (data36 === null) {
|
|
24701
|
+
coerced17 = "";
|
|
24559
24702
|
} else {
|
|
24560
|
-
const
|
|
24703
|
+
const err45 = { instancePath: instancePath + "/settings/ordering", schemaPath: "#/$defs/globalSettings/properties/ordering/type", keyword: "type", params: { type: "string" }, message: "must be string" };
|
|
24561
24704
|
if (vErrors === null) {
|
|
24562
|
-
vErrors = [
|
|
24705
|
+
vErrors = [err45];
|
|
24563
24706
|
} else {
|
|
24564
|
-
vErrors.push(
|
|
24707
|
+
vErrors.push(err45);
|
|
24565
24708
|
}
|
|
24566
24709
|
errors++;
|
|
24567
24710
|
}
|
|
@@ -24569,13 +24712,22 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
24569
24712
|
if (coerced17 !== void 0) {
|
|
24570
24713
|
data36 = coerced17;
|
|
24571
24714
|
if (data26 !== void 0) {
|
|
24572
|
-
data26["
|
|
24715
|
+
data26["ordering"] = coerced17;
|
|
24573
24716
|
}
|
|
24574
24717
|
}
|
|
24575
24718
|
}
|
|
24719
|
+
if (!(data36 === "config" || data36 === "openapi" || data36 === "crud")) {
|
|
24720
|
+
const err46 = { instancePath: instancePath + "/settings/ordering", schemaPath: "#/$defs/globalSettings/properties/ordering/enum", keyword: "enum", params: { allowedValues: schema185.properties.ordering.enum }, message: "must be equal to one of the allowed values" };
|
|
24721
|
+
if (vErrors === null) {
|
|
24722
|
+
vErrors = [err46];
|
|
24723
|
+
} else {
|
|
24724
|
+
vErrors.push(err46);
|
|
24725
|
+
}
|
|
24726
|
+
errors++;
|
|
24727
|
+
}
|
|
24576
24728
|
}
|
|
24577
|
-
if (data26.
|
|
24578
|
-
let data37 = data26.
|
|
24729
|
+
if (data26.requireWebsocketDependencies !== void 0) {
|
|
24730
|
+
let data37 = data26.requireWebsocketDependencies;
|
|
24579
24731
|
if (typeof data37 !== "boolean") {
|
|
24580
24732
|
let coerced18 = void 0;
|
|
24581
24733
|
if (!(coerced18 !== void 0)) {
|
|
@@ -24584,11 +24736,11 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
24584
24736
|
} else if (data37 === "true" || data37 === 1) {
|
|
24585
24737
|
coerced18 = true;
|
|
24586
24738
|
} else {
|
|
24587
|
-
const
|
|
24739
|
+
const err47 = { instancePath: instancePath + "/settings/requireWebsocketDependencies", schemaPath: "#/$defs/globalSettings/properties/requireWebsocketDependencies/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
|
|
24588
24740
|
if (vErrors === null) {
|
|
24589
|
-
vErrors = [
|
|
24741
|
+
vErrors = [err47];
|
|
24590
24742
|
} else {
|
|
24591
|
-
vErrors.push(
|
|
24743
|
+
vErrors.push(err47);
|
|
24592
24744
|
}
|
|
24593
24745
|
errors++;
|
|
24594
24746
|
}
|
|
@@ -24596,164 +24748,191 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
24596
24748
|
if (coerced18 !== void 0) {
|
|
24597
24749
|
data37 = coerced18;
|
|
24598
24750
|
if (data26 !== void 0) {
|
|
24599
|
-
data26["
|
|
24751
|
+
data26["requireWebsocketDependencies"] = coerced18;
|
|
24752
|
+
}
|
|
24753
|
+
}
|
|
24754
|
+
}
|
|
24755
|
+
}
|
|
24756
|
+
if (data26.unwrapMultipropertyResponseFields !== void 0) {
|
|
24757
|
+
let data38 = data26.unwrapMultipropertyResponseFields;
|
|
24758
|
+
if (typeof data38 !== "boolean") {
|
|
24759
|
+
let coerced19 = void 0;
|
|
24760
|
+
if (!(coerced19 !== void 0)) {
|
|
24761
|
+
if (data38 === "false" || data38 === 0 || data38 === null) {
|
|
24762
|
+
coerced19 = false;
|
|
24763
|
+
} else if (data38 === "true" || data38 === 1) {
|
|
24764
|
+
coerced19 = true;
|
|
24765
|
+
} else {
|
|
24766
|
+
const err48 = { instancePath: instancePath + "/settings/unwrapMultipropertyResponseFields", schemaPath: "#/$defs/globalSettings/properties/unwrapMultipropertyResponseFields/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
|
|
24767
|
+
if (vErrors === null) {
|
|
24768
|
+
vErrors = [err48];
|
|
24769
|
+
} else {
|
|
24770
|
+
vErrors.push(err48);
|
|
24771
|
+
}
|
|
24772
|
+
errors++;
|
|
24773
|
+
}
|
|
24774
|
+
}
|
|
24775
|
+
if (coerced19 !== void 0) {
|
|
24776
|
+
data38 = coerced19;
|
|
24777
|
+
if (data26 !== void 0) {
|
|
24778
|
+
data26["unwrapMultipropertyResponseFields"] = coerced19;
|
|
24600
24779
|
}
|
|
24601
24780
|
}
|
|
24602
24781
|
}
|
|
24603
24782
|
}
|
|
24604
24783
|
} else {
|
|
24605
|
-
const
|
|
24784
|
+
const err49 = { instancePath: instancePath + "/settings", schemaPath: "#/$defs/globalSettings/type", keyword: "type", params: { type: "object" }, message: "must be object" };
|
|
24606
24785
|
if (vErrors === null) {
|
|
24607
|
-
vErrors = [
|
|
24786
|
+
vErrors = [err49];
|
|
24608
24787
|
} else {
|
|
24609
|
-
vErrors.push(
|
|
24788
|
+
vErrors.push(err49);
|
|
24610
24789
|
}
|
|
24611
24790
|
errors++;
|
|
24612
24791
|
}
|
|
24613
24792
|
}
|
|
24614
24793
|
if (data.openapi !== void 0) {
|
|
24615
|
-
if (!
|
|
24616
|
-
vErrors = vErrors === null ?
|
|
24794
|
+
if (!validate185(data.openapi, { instancePath: instancePath + "/openapi", parentData: data, parentDataProperty: "openapi", rootData, dynamicAnchors })) {
|
|
24795
|
+
vErrors = vErrors === null ? validate185.errors : vErrors.concat(validate185.errors);
|
|
24617
24796
|
errors = vErrors.length;
|
|
24618
24797
|
}
|
|
24619
24798
|
}
|
|
24620
24799
|
if (data.grpc !== void 0) {
|
|
24621
|
-
if (!
|
|
24622
|
-
vErrors = vErrors === null ?
|
|
24800
|
+
if (!validate201(data.grpc, { instancePath: instancePath + "/grpc", parentData: data, parentDataProperty: "grpc", rootData, dynamicAnchors })) {
|
|
24801
|
+
vErrors = vErrors === null ? validate201.errors : vErrors.concat(validate201.errors);
|
|
24623
24802
|
errors = vErrors.length;
|
|
24624
24803
|
}
|
|
24625
24804
|
}
|
|
24626
24805
|
if (data.errors !== void 0) {
|
|
24627
|
-
let
|
|
24628
|
-
if (
|
|
24629
|
-
if (
|
|
24630
|
-
let
|
|
24631
|
-
if (typeof
|
|
24632
|
-
let
|
|
24633
|
-
let
|
|
24634
|
-
if (!(
|
|
24635
|
-
if (
|
|
24636
|
-
|
|
24637
|
-
} else if (
|
|
24638
|
-
|
|
24806
|
+
let data41 = data.errors;
|
|
24807
|
+
if (data41 && typeof data41 == "object" && !Array.isArray(data41)) {
|
|
24808
|
+
if (data41.messageProperty !== void 0) {
|
|
24809
|
+
let data42 = data41.messageProperty;
|
|
24810
|
+
if (typeof data42 !== "string") {
|
|
24811
|
+
let dataType20 = typeof data42;
|
|
24812
|
+
let coerced20 = void 0;
|
|
24813
|
+
if (!(coerced20 !== void 0)) {
|
|
24814
|
+
if (dataType20 == "number" || dataType20 == "boolean") {
|
|
24815
|
+
coerced20 = "" + data42;
|
|
24816
|
+
} else if (data42 === null) {
|
|
24817
|
+
coerced20 = "";
|
|
24639
24818
|
} else {
|
|
24640
|
-
const
|
|
24819
|
+
const err50 = { instancePath: instancePath + "/errors/messageProperty", schemaPath: "#/$defs/errorsConfig/properties/messageProperty/type", keyword: "type", params: { type: "string" }, message: "must be string" };
|
|
24641
24820
|
if (vErrors === null) {
|
|
24642
|
-
vErrors = [
|
|
24821
|
+
vErrors = [err50];
|
|
24643
24822
|
} else {
|
|
24644
|
-
vErrors.push(
|
|
24823
|
+
vErrors.push(err50);
|
|
24645
24824
|
}
|
|
24646
24825
|
errors++;
|
|
24647
24826
|
}
|
|
24648
24827
|
}
|
|
24649
|
-
if (
|
|
24650
|
-
|
|
24651
|
-
if (
|
|
24652
|
-
|
|
24828
|
+
if (coerced20 !== void 0) {
|
|
24829
|
+
data42 = coerced20;
|
|
24830
|
+
if (data41 !== void 0) {
|
|
24831
|
+
data41["messageProperty"] = coerced20;
|
|
24653
24832
|
}
|
|
24654
24833
|
}
|
|
24655
24834
|
}
|
|
24656
24835
|
}
|
|
24657
24836
|
} else {
|
|
24658
|
-
const
|
|
24837
|
+
const err51 = { instancePath: instancePath + "/errors", schemaPath: "#/$defs/errorsConfig/type", keyword: "type", params: { type: "object" }, message: "must be object" };
|
|
24659
24838
|
if (vErrors === null) {
|
|
24660
|
-
vErrors = [
|
|
24839
|
+
vErrors = [err51];
|
|
24661
24840
|
} else {
|
|
24662
|
-
vErrors.push(
|
|
24841
|
+
vErrors.push(err51);
|
|
24663
24842
|
}
|
|
24664
24843
|
errors++;
|
|
24665
24844
|
}
|
|
24666
24845
|
}
|
|
24667
24846
|
if (data.ignoredEndpoints !== void 0) {
|
|
24668
|
-
let
|
|
24669
|
-
if (Array.isArray(
|
|
24670
|
-
const len5 =
|
|
24847
|
+
let data43 = data.ignoredEndpoints;
|
|
24848
|
+
if (Array.isArray(data43)) {
|
|
24849
|
+
const len5 = data43.length;
|
|
24671
24850
|
for (let i5 = 0; i5 < len5; i5++) {
|
|
24672
|
-
let
|
|
24673
|
-
if (typeof
|
|
24674
|
-
let
|
|
24675
|
-
let
|
|
24676
|
-
if (!(
|
|
24677
|
-
if (
|
|
24678
|
-
|
|
24679
|
-
} else if (
|
|
24680
|
-
|
|
24851
|
+
let data44 = data43[i5];
|
|
24852
|
+
if (typeof data44 !== "string") {
|
|
24853
|
+
let dataType21 = typeof data44;
|
|
24854
|
+
let coerced21 = void 0;
|
|
24855
|
+
if (!(coerced21 !== void 0)) {
|
|
24856
|
+
if (dataType21 == "number" || dataType21 == "boolean") {
|
|
24857
|
+
coerced21 = "" + data44;
|
|
24858
|
+
} else if (data44 === null) {
|
|
24859
|
+
coerced21 = "";
|
|
24681
24860
|
} else {
|
|
24682
|
-
const
|
|
24861
|
+
const err52 = { instancePath: instancePath + "/ignoredEndpoints/" + i5, schemaPath: "#/properties/ignoredEndpoints/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
|
|
24683
24862
|
if (vErrors === null) {
|
|
24684
|
-
vErrors = [
|
|
24863
|
+
vErrors = [err52];
|
|
24685
24864
|
} else {
|
|
24686
|
-
vErrors.push(
|
|
24865
|
+
vErrors.push(err52);
|
|
24687
24866
|
}
|
|
24688
24867
|
errors++;
|
|
24689
24868
|
}
|
|
24690
24869
|
}
|
|
24691
|
-
if (
|
|
24692
|
-
|
|
24693
|
-
if (
|
|
24694
|
-
|
|
24870
|
+
if (coerced21 !== void 0) {
|
|
24871
|
+
data44 = coerced21;
|
|
24872
|
+
if (data43 !== void 0) {
|
|
24873
|
+
data43[i5] = coerced21;
|
|
24695
24874
|
}
|
|
24696
24875
|
}
|
|
24697
24876
|
}
|
|
24698
|
-
if (typeof
|
|
24699
|
-
if (!pattern4.test(
|
|
24700
|
-
const
|
|
24877
|
+
if (typeof data44 === "string") {
|
|
24878
|
+
if (!pattern4.test(data44)) {
|
|
24879
|
+
const err53 = { instancePath: instancePath + "/ignoredEndpoints/" + i5, schemaPath: "#/properties/ignoredEndpoints/items/pattern", keyword: "pattern", params: { pattern: "^((delete|get|head|options|patch|post|put|trace) .+|grpc [A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*/[A-Za-z_][A-Za-z0-9_]*)$" }, message: 'must match pattern "^((delete|get|head|options|patch|post|put|trace) .+|grpc [A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*/[A-Za-z_][A-Za-z0-9_]*)$"' };
|
|
24701
24880
|
if (vErrors === null) {
|
|
24702
|
-
vErrors = [
|
|
24881
|
+
vErrors = [err53];
|
|
24703
24882
|
} else {
|
|
24704
|
-
vErrors.push(
|
|
24883
|
+
vErrors.push(err53);
|
|
24705
24884
|
}
|
|
24706
24885
|
errors++;
|
|
24707
24886
|
}
|
|
24708
24887
|
}
|
|
24709
24888
|
}
|
|
24710
24889
|
} else {
|
|
24711
|
-
const
|
|
24890
|
+
const err54 = { instancePath: instancePath + "/ignoredEndpoints", schemaPath: "#/properties/ignoredEndpoints/type", keyword: "type", params: { type: "array" }, message: "must be array" };
|
|
24712
24891
|
if (vErrors === null) {
|
|
24713
|
-
vErrors = [
|
|
24892
|
+
vErrors = [err54];
|
|
24714
24893
|
} else {
|
|
24715
|
-
vErrors.push(
|
|
24894
|
+
vErrors.push(err54);
|
|
24716
24895
|
}
|
|
24717
24896
|
errors++;
|
|
24718
24897
|
}
|
|
24719
24898
|
}
|
|
24720
24899
|
if (data.streaming !== void 0) {
|
|
24721
|
-
if (!
|
|
24722
|
-
vErrors = vErrors === null ?
|
|
24900
|
+
if (!validate207(data.streaming, { instancePath: instancePath + "/streaming", parentData: data, parentDataProperty: "streaming", rootData, dynamicAnchors })) {
|
|
24901
|
+
vErrors = vErrors === null ? validate207.errors : vErrors.concat(validate207.errors);
|
|
24723
24902
|
errors = vErrors.length;
|
|
24724
24903
|
}
|
|
24725
24904
|
}
|
|
24726
24905
|
if (data.models !== void 0) {
|
|
24727
|
-
let
|
|
24728
|
-
if (
|
|
24729
|
-
for (const key4 in
|
|
24730
|
-
if (!
|
|
24731
|
-
vErrors = vErrors === null ?
|
|
24906
|
+
let data46 = data.models;
|
|
24907
|
+
if (data46 && typeof data46 == "object" && !Array.isArray(data46)) {
|
|
24908
|
+
for (const key4 in data46) {
|
|
24909
|
+
if (!validate211(data46[key4], { instancePath: instancePath + "/models/" + key4.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data46, parentDataProperty: key4, rootData, dynamicAnchors })) {
|
|
24910
|
+
vErrors = vErrors === null ? validate211.errors : vErrors.concat(validate211.errors);
|
|
24732
24911
|
errors = vErrors.length;
|
|
24733
24912
|
}
|
|
24734
24913
|
}
|
|
24735
24914
|
} else {
|
|
24736
|
-
const
|
|
24915
|
+
const err55 = { instancePath: instancePath + "/models", schemaPath: "#/properties/models/type", keyword: "type", params: { type: "object" }, message: "must be object" };
|
|
24737
24916
|
if (vErrors === null) {
|
|
24738
|
-
vErrors = [
|
|
24917
|
+
vErrors = [err55];
|
|
24739
24918
|
} else {
|
|
24740
|
-
vErrors.push(
|
|
24919
|
+
vErrors.push(err55);
|
|
24741
24920
|
}
|
|
24742
24921
|
errors++;
|
|
24743
24922
|
}
|
|
24744
24923
|
}
|
|
24745
24924
|
if (data.diagnostics !== void 0) {
|
|
24746
|
-
if (!
|
|
24747
|
-
vErrors = vErrors === null ?
|
|
24925
|
+
if (!validate214(data.diagnostics, { instancePath: instancePath + "/diagnostics", parentData: data, parentDataProperty: "diagnostics", rootData, dynamicAnchors })) {
|
|
24926
|
+
vErrors = vErrors === null ? validate214.errors : vErrors.concat(validate214.errors);
|
|
24748
24927
|
errors = vErrors.length;
|
|
24749
24928
|
}
|
|
24750
24929
|
}
|
|
24751
24930
|
} else {
|
|
24752
|
-
const
|
|
24931
|
+
const err56 = { instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" };
|
|
24753
24932
|
if (vErrors === null) {
|
|
24754
|
-
vErrors = [
|
|
24933
|
+
vErrors = [err56];
|
|
24755
24934
|
} else {
|
|
24756
|
-
vErrors.push(
|
|
24935
|
+
vErrors.push(err56);
|
|
24757
24936
|
}
|
|
24758
24937
|
errors++;
|
|
24759
24938
|
}
|
|
@@ -24761,10 +24940,10 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
|
|
|
24761
24940
|
return errors === 0;
|
|
24762
24941
|
}
|
|
24763
24942
|
validate20.evaluated = { "props": { "organization": true, "generatorVersion": true, "resources": true, "readme": true, "customCasings": true, "targets": true, "environments": true, "environmentOrder": true, "clientSettings": true, "pagination": true, "querySettings": true, "multipartSettings": true, "dateTimeSettings": true, "settings": true, "openapi": true, "grpc": true, "errors": true, "ignoredEndpoints": true, "streaming": true, "models": true, "diagnostics": true }, "dynamicProps": false, "dynamicItems": false };
|
|
24764
|
-
function
|
|
24943
|
+
function validate221(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
24765
24944
|
let vErrors = null;
|
|
24766
24945
|
let errors = 0;
|
|
24767
|
-
const evaluated0 =
|
|
24946
|
+
const evaluated0 = validate221.evaluated;
|
|
24768
24947
|
if (evaluated0.dynamicProps) {
|
|
24769
24948
|
evaluated0.props = void 0;
|
|
24770
24949
|
}
|
|
@@ -24785,8 +24964,8 @@ function validate218(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24785
24964
|
let data0 = data.opts;
|
|
24786
24965
|
if (data0 && typeof data0 == "object" && !Array.isArray(data0)) {
|
|
24787
24966
|
for (const key0 in data0) {
|
|
24788
|
-
if (!
|
|
24789
|
-
vErrors = vErrors === null ?
|
|
24967
|
+
if (!validate170(data0[key0], { instancePath: instancePath + "/opts/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data0, parentDataProperty: key0, rootData, dynamicAnchors })) {
|
|
24968
|
+
vErrors = vErrors === null ? validate170.errors : vErrors.concat(validate170.errors);
|
|
24790
24969
|
errors = vErrors.length;
|
|
24791
24970
|
}
|
|
24792
24971
|
}
|
|
@@ -24968,8 +25147,8 @@ function validate218(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24968
25147
|
}
|
|
24969
25148
|
}
|
|
24970
25149
|
if (data.idempotency !== void 0) {
|
|
24971
|
-
if (!
|
|
24972
|
-
vErrors = vErrors === null ?
|
|
25150
|
+
if (!validate172(data.idempotency, { instancePath: instancePath + "/idempotency", parentData: data, parentDataProperty: "idempotency", rootData, dynamicAnchors })) {
|
|
25151
|
+
vErrors = vErrors === null ? validate172.errors : vErrors.concat(validate172.errors);
|
|
24973
25152
|
errors = vErrors.length;
|
|
24974
25153
|
}
|
|
24975
25154
|
}
|
|
@@ -25231,34 +25410,34 @@ function validate218(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25231
25410
|
}
|
|
25232
25411
|
errors++;
|
|
25233
25412
|
}
|
|
25234
|
-
|
|
25413
|
+
validate221.errors = vErrors;
|
|
25235
25414
|
return errors === 0;
|
|
25236
25415
|
}
|
|
25237
|
-
|
|
25238
|
-
function
|
|
25416
|
+
validate221.evaluated = { "props": { "opts": true, "baseUrlAliases": true, "defaultHeaders": true, "defaultClientName": true, "defaultClientExampleName": true, "defaultEnvPrefix": true, "idempotency": true, "idempotencyHeader": true, "emptyResponseAccept": true, "defaultTimeout": true, "defaultRetries": true, "responseHeaders": true }, "dynamicProps": false, "dynamicItems": false };
|
|
25417
|
+
function validate220(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
25239
25418
|
;
|
|
25240
25419
|
let vErrors = null;
|
|
25241
25420
|
let errors = 0;
|
|
25242
|
-
const evaluated0 =
|
|
25421
|
+
const evaluated0 = validate220.evaluated;
|
|
25243
25422
|
if (evaluated0.dynamicProps) {
|
|
25244
25423
|
evaluated0.props = void 0;
|
|
25245
25424
|
}
|
|
25246
25425
|
if (evaluated0.dynamicItems) {
|
|
25247
25426
|
evaluated0.items = void 0;
|
|
25248
25427
|
}
|
|
25249
|
-
if (!
|
|
25250
|
-
vErrors = vErrors === null ?
|
|
25428
|
+
if (!validate221(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
|
|
25429
|
+
vErrors = vErrors === null ? validate221.errors : vErrors.concat(validate221.errors);
|
|
25251
25430
|
errors = vErrors.length;
|
|
25252
25431
|
}
|
|
25253
|
-
|
|
25432
|
+
validate220.errors = vErrors;
|
|
25254
25433
|
return errors === 0;
|
|
25255
25434
|
}
|
|
25256
|
-
|
|
25257
|
-
function
|
|
25435
|
+
validate220.evaluated = { "props": { "opts": true, "baseUrlAliases": true, "defaultHeaders": true, "defaultClientName": true, "defaultClientExampleName": true, "defaultEnvPrefix": true, "idempotency": true, "idempotencyHeader": true, "emptyResponseAccept": true, "defaultTimeout": true, "defaultRetries": true, "responseHeaders": true }, "dynamicProps": false, "dynamicItems": false };
|
|
25436
|
+
function validate225(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
25258
25437
|
;
|
|
25259
25438
|
let vErrors = null;
|
|
25260
25439
|
let errors = 0;
|
|
25261
|
-
const evaluated0 =
|
|
25440
|
+
const evaluated0 = validate225.evaluated;
|
|
25262
25441
|
if (evaluated0.dynamicProps) {
|
|
25263
25442
|
evaluated0.props = void 0;
|
|
25264
25443
|
}
|
|
@@ -25349,158 +25528,178 @@ function validate222(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25349
25528
|
}
|
|
25350
25529
|
}
|
|
25351
25530
|
}
|
|
25531
|
+
if (data.description !== void 0) {
|
|
25532
|
+
let data3 = data.description;
|
|
25533
|
+
if (typeof data3 !== "string") {
|
|
25534
|
+
let dataType3 = typeof data3;
|
|
25535
|
+
let coerced3 = void 0;
|
|
25536
|
+
if (!(coerced3 !== void 0)) {
|
|
25537
|
+
if (dataType3 == "number" || dataType3 == "boolean") {
|
|
25538
|
+
coerced3 = "" + data3;
|
|
25539
|
+
} else if (data3 === null) {
|
|
25540
|
+
coerced3 = "";
|
|
25541
|
+
} else {
|
|
25542
|
+
const err3 = { instancePath: instancePath + "/description", schemaPath: "https://registry.scalar.com/@scalar/schemas/sdk-config#/$defs/globalSettings/properties/description/type", keyword: "type", params: { type: "string" }, message: "must be string" };
|
|
25543
|
+
if (vErrors === null) {
|
|
25544
|
+
vErrors = [err3];
|
|
25545
|
+
} else {
|
|
25546
|
+
vErrors.push(err3);
|
|
25547
|
+
}
|
|
25548
|
+
errors++;
|
|
25549
|
+
}
|
|
25550
|
+
}
|
|
25551
|
+
if (coerced3 !== void 0) {
|
|
25552
|
+
data3 = coerced3;
|
|
25553
|
+
if (data !== void 0) {
|
|
25554
|
+
data["description"] = coerced3;
|
|
25555
|
+
}
|
|
25556
|
+
}
|
|
25557
|
+
}
|
|
25558
|
+
if (typeof data3 === "string") {
|
|
25559
|
+
if (func1(data3) > 512) {
|
|
25560
|
+
const err4 = { instancePath: instancePath + "/description", schemaPath: "https://registry.scalar.com/@scalar/schemas/sdk-config#/$defs/globalSettings/properties/description/maxLength", keyword: "maxLength", params: { limit: 512 }, message: "must NOT have more than 512 characters" };
|
|
25561
|
+
if (vErrors === null) {
|
|
25562
|
+
vErrors = [err4];
|
|
25563
|
+
} else {
|
|
25564
|
+
vErrors.push(err4);
|
|
25565
|
+
}
|
|
25566
|
+
errors++;
|
|
25567
|
+
}
|
|
25568
|
+
if (func1(data3) < 1) {
|
|
25569
|
+
const err5 = { instancePath: instancePath + "/description", schemaPath: "https://registry.scalar.com/@scalar/schemas/sdk-config#/$defs/globalSettings/properties/description/minLength", keyword: "minLength", params: { limit: 1 }, message: "must NOT have fewer than 1 characters" };
|
|
25570
|
+
if (vErrors === null) {
|
|
25571
|
+
vErrors = [err5];
|
|
25572
|
+
} else {
|
|
25573
|
+
vErrors.push(err5);
|
|
25574
|
+
}
|
|
25575
|
+
errors++;
|
|
25576
|
+
}
|
|
25577
|
+
if (!pattern46.test(data3)) {
|
|
25578
|
+
const err6 = { instancePath: instancePath + "/description", schemaPath: "https://registry.scalar.com/@scalar/schemas/sdk-config#/$defs/globalSettings/properties/description/pattern", keyword: "pattern", params: { pattern: "\\S" }, message: 'must match pattern "\\S"' };
|
|
25579
|
+
if (vErrors === null) {
|
|
25580
|
+
vErrors = [err6];
|
|
25581
|
+
} else {
|
|
25582
|
+
vErrors.push(err6);
|
|
25583
|
+
}
|
|
25584
|
+
errors++;
|
|
25585
|
+
}
|
|
25586
|
+
}
|
|
25587
|
+
}
|
|
25352
25588
|
if (data.keywords !== void 0) {
|
|
25353
|
-
let
|
|
25354
|
-
if (Array.isArray(
|
|
25355
|
-
if (
|
|
25356
|
-
const
|
|
25589
|
+
let data4 = data.keywords;
|
|
25590
|
+
if (Array.isArray(data4)) {
|
|
25591
|
+
if (data4.length > 5) {
|
|
25592
|
+
const err7 = { instancePath: instancePath + "/keywords", schemaPath: "https://registry.scalar.com/@scalar/schemas/sdk-config#/$defs/globalSettings/properties/keywords/maxItems", keyword: "maxItems", params: { limit: 5 }, message: "must NOT have more than 5 items" };
|
|
25357
25593
|
if (vErrors === null) {
|
|
25358
|
-
vErrors = [
|
|
25594
|
+
vErrors = [err7];
|
|
25359
25595
|
} else {
|
|
25360
|
-
vErrors.push(
|
|
25596
|
+
vErrors.push(err7);
|
|
25361
25597
|
}
|
|
25362
25598
|
errors++;
|
|
25363
25599
|
}
|
|
25364
|
-
const len0 =
|
|
25600
|
+
const len0 = data4.length;
|
|
25365
25601
|
for (let i0 = 0; i0 < len0; i0++) {
|
|
25366
|
-
let
|
|
25367
|
-
if (typeof
|
|
25368
|
-
let
|
|
25369
|
-
let
|
|
25370
|
-
if (!(
|
|
25371
|
-
if (
|
|
25372
|
-
|
|
25373
|
-
} else if (
|
|
25374
|
-
|
|
25602
|
+
let data5 = data4[i0];
|
|
25603
|
+
if (typeof data5 !== "string") {
|
|
25604
|
+
let dataType4 = typeof data5;
|
|
25605
|
+
let coerced4 = void 0;
|
|
25606
|
+
if (!(coerced4 !== void 0)) {
|
|
25607
|
+
if (dataType4 == "number" || dataType4 == "boolean") {
|
|
25608
|
+
coerced4 = "" + data5;
|
|
25609
|
+
} else if (data5 === null) {
|
|
25610
|
+
coerced4 = "";
|
|
25375
25611
|
} else {
|
|
25376
|
-
const
|
|
25612
|
+
const err8 = { instancePath: instancePath + "/keywords/" + i0, schemaPath: "https://registry.scalar.com/@scalar/schemas/sdk-config#/$defs/globalSettings/properties/keywords/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
|
|
25377
25613
|
if (vErrors === null) {
|
|
25378
|
-
vErrors = [
|
|
25614
|
+
vErrors = [err8];
|
|
25379
25615
|
} else {
|
|
25380
|
-
vErrors.push(
|
|
25616
|
+
vErrors.push(err8);
|
|
25381
25617
|
}
|
|
25382
25618
|
errors++;
|
|
25383
25619
|
}
|
|
25384
25620
|
}
|
|
25385
|
-
if (
|
|
25386
|
-
|
|
25387
|
-
if (
|
|
25388
|
-
|
|
25621
|
+
if (coerced4 !== void 0) {
|
|
25622
|
+
data5 = coerced4;
|
|
25623
|
+
if (data4 !== void 0) {
|
|
25624
|
+
data4[i0] = coerced4;
|
|
25389
25625
|
}
|
|
25390
25626
|
}
|
|
25391
25627
|
}
|
|
25392
|
-
if (typeof
|
|
25393
|
-
if (func1(
|
|
25394
|
-
const
|
|
25628
|
+
if (typeof data5 === "string") {
|
|
25629
|
+
if (func1(data5) > 20) {
|
|
25630
|
+
const err9 = { instancePath: instancePath + "/keywords/" + i0, schemaPath: "https://registry.scalar.com/@scalar/schemas/sdk-config#/$defs/globalSettings/properties/keywords/items/maxLength", keyword: "maxLength", params: { limit: 20 }, message: "must NOT have more than 20 characters" };
|
|
25395
25631
|
if (vErrors === null) {
|
|
25396
|
-
vErrors = [
|
|
25632
|
+
vErrors = [err9];
|
|
25397
25633
|
} else {
|
|
25398
|
-
vErrors.push(
|
|
25634
|
+
vErrors.push(err9);
|
|
25399
25635
|
}
|
|
25400
25636
|
errors++;
|
|
25401
25637
|
}
|
|
25402
|
-
if (!
|
|
25403
|
-
const
|
|
25638
|
+
if (!pattern47.test(data5)) {
|
|
25639
|
+
const err10 = { instancePath: instancePath + "/keywords/" + i0, schemaPath: "https://registry.scalar.com/@scalar/schemas/sdk-config#/$defs/globalSettings/properties/keywords/items/pattern", keyword: "pattern", params: { pattern: "^[a-z](?:-?[a-z0-9])+$" }, message: 'must match pattern "^[a-z](?:-?[a-z0-9])+$"' };
|
|
25404
25640
|
if (vErrors === null) {
|
|
25405
|
-
vErrors = [
|
|
25641
|
+
vErrors = [err10];
|
|
25406
25642
|
} else {
|
|
25407
|
-
vErrors.push(
|
|
25643
|
+
vErrors.push(err10);
|
|
25408
25644
|
}
|
|
25409
25645
|
errors++;
|
|
25410
25646
|
}
|
|
25411
25647
|
}
|
|
25412
25648
|
}
|
|
25413
25649
|
} else {
|
|
25414
|
-
const
|
|
25650
|
+
const err11 = { instancePath: instancePath + "/keywords", schemaPath: "https://registry.scalar.com/@scalar/schemas/sdk-config#/$defs/globalSettings/properties/keywords/type", keyword: "type", params: { type: "array" }, message: "must be array" };
|
|
25415
25651
|
if (vErrors === null) {
|
|
25416
|
-
vErrors = [
|
|
25652
|
+
vErrors = [err11];
|
|
25417
25653
|
} else {
|
|
25418
|
-
vErrors.push(
|
|
25654
|
+
vErrors.push(err11);
|
|
25419
25655
|
}
|
|
25420
25656
|
errors++;
|
|
25421
25657
|
}
|
|
25422
25658
|
}
|
|
25423
25659
|
if (data.unwrapResponseFields !== void 0) {
|
|
25424
|
-
let
|
|
25425
|
-
if (Array.isArray(
|
|
25426
|
-
const len1 =
|
|
25660
|
+
let data6 = data.unwrapResponseFields;
|
|
25661
|
+
if (Array.isArray(data6)) {
|
|
25662
|
+
const len1 = data6.length;
|
|
25427
25663
|
for (let i1 = 0; i1 < len1; i1++) {
|
|
25428
|
-
let
|
|
25429
|
-
if (typeof
|
|
25430
|
-
let
|
|
25431
|
-
let
|
|
25432
|
-
if (!(
|
|
25433
|
-
if (
|
|
25434
|
-
|
|
25435
|
-
} else if (
|
|
25436
|
-
|
|
25664
|
+
let data7 = data6[i1];
|
|
25665
|
+
if (typeof data7 !== "string") {
|
|
25666
|
+
let dataType5 = typeof data7;
|
|
25667
|
+
let coerced5 = void 0;
|
|
25668
|
+
if (!(coerced5 !== void 0)) {
|
|
25669
|
+
if (dataType5 == "number" || dataType5 == "boolean") {
|
|
25670
|
+
coerced5 = "" + data7;
|
|
25671
|
+
} else if (data7 === null) {
|
|
25672
|
+
coerced5 = "";
|
|
25437
25673
|
} else {
|
|
25438
|
-
const
|
|
25674
|
+
const err12 = { instancePath: instancePath + "/unwrapResponseFields/" + i1, schemaPath: "https://registry.scalar.com/@scalar/schemas/sdk-config#/$defs/globalSettings/properties/unwrapResponseFields/items/type", keyword: "type", params: { type: "string" }, message: "must be string" };
|
|
25439
25675
|
if (vErrors === null) {
|
|
25440
|
-
vErrors = [
|
|
25676
|
+
vErrors = [err12];
|
|
25441
25677
|
} else {
|
|
25442
|
-
vErrors.push(
|
|
25678
|
+
vErrors.push(err12);
|
|
25443
25679
|
}
|
|
25444
25680
|
errors++;
|
|
25445
25681
|
}
|
|
25446
25682
|
}
|
|
25447
|
-
if (
|
|
25448
|
-
|
|
25449
|
-
if (
|
|
25450
|
-
|
|
25683
|
+
if (coerced5 !== void 0) {
|
|
25684
|
+
data7 = coerced5;
|
|
25685
|
+
if (data6 !== void 0) {
|
|
25686
|
+
data6[i1] = coerced5;
|
|
25451
25687
|
}
|
|
25452
25688
|
}
|
|
25453
25689
|
}
|
|
25454
25690
|
}
|
|
25455
25691
|
} else {
|
|
25456
|
-
const
|
|
25692
|
+
const err13 = { instancePath: instancePath + "/unwrapResponseFields", schemaPath: "https://registry.scalar.com/@scalar/schemas/sdk-config#/$defs/globalSettings/properties/unwrapResponseFields/type", keyword: "type", params: { type: "array" }, message: "must be array" };
|
|
25457
25693
|
if (vErrors === null) {
|
|
25458
|
-
vErrors = [
|
|
25694
|
+
vErrors = [err13];
|
|
25459
25695
|
} else {
|
|
25460
|
-
vErrors.push(
|
|
25696
|
+
vErrors.push(err13);
|
|
25461
25697
|
}
|
|
25462
25698
|
errors++;
|
|
25463
25699
|
}
|
|
25464
25700
|
}
|
|
25465
25701
|
if (data.positionalParams !== void 0) {
|
|
25466
|
-
let
|
|
25467
|
-
if (typeof data7 !== "string") {
|
|
25468
|
-
let dataType5 = typeof data7;
|
|
25469
|
-
let coerced5 = void 0;
|
|
25470
|
-
if (!(coerced5 !== void 0)) {
|
|
25471
|
-
if (dataType5 == "number" || dataType5 == "boolean") {
|
|
25472
|
-
coerced5 = "" + data7;
|
|
25473
|
-
} else if (data7 === null) {
|
|
25474
|
-
coerced5 = "";
|
|
25475
|
-
} else {
|
|
25476
|
-
const err10 = { instancePath: instancePath + "/positionalParams", schemaPath: "https://registry.scalar.com/@scalar/schemas/sdk-config#/$defs/globalSettings/properties/positionalParams/type", keyword: "type", params: { type: "string" }, message: "must be string" };
|
|
25477
|
-
if (vErrors === null) {
|
|
25478
|
-
vErrors = [err10];
|
|
25479
|
-
} else {
|
|
25480
|
-
vErrors.push(err10);
|
|
25481
|
-
}
|
|
25482
|
-
errors++;
|
|
25483
|
-
}
|
|
25484
|
-
}
|
|
25485
|
-
if (coerced5 !== void 0) {
|
|
25486
|
-
data7 = coerced5;
|
|
25487
|
-
if (data !== void 0) {
|
|
25488
|
-
data["positionalParams"] = coerced5;
|
|
25489
|
-
}
|
|
25490
|
-
}
|
|
25491
|
-
}
|
|
25492
|
-
if (!(data7 === "all" || data7 === "none" || data7 === "last")) {
|
|
25493
|
-
const err11 = { instancePath: instancePath + "/positionalParams", schemaPath: "https://registry.scalar.com/@scalar/schemas/sdk-config#/$defs/globalSettings/properties/positionalParams/enum", keyword: "enum", params: { allowedValues: schema185.properties.positionalParams.enum }, message: "must be equal to one of the allowed values" };
|
|
25494
|
-
if (vErrors === null) {
|
|
25495
|
-
vErrors = [err11];
|
|
25496
|
-
} else {
|
|
25497
|
-
vErrors.push(err11);
|
|
25498
|
-
}
|
|
25499
|
-
errors++;
|
|
25500
|
-
}
|
|
25501
|
-
}
|
|
25502
|
-
if (data.ordering !== void 0) {
|
|
25503
|
-
let data8 = data.ordering;
|
|
25702
|
+
let data8 = data.positionalParams;
|
|
25504
25703
|
if (typeof data8 !== "string") {
|
|
25505
25704
|
let dataType6 = typeof data8;
|
|
25506
25705
|
let coerced6 = void 0;
|
|
@@ -25510,11 +25709,11 @@ function validate222(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25510
25709
|
} else if (data8 === null) {
|
|
25511
25710
|
coerced6 = "";
|
|
25512
25711
|
} else {
|
|
25513
|
-
const
|
|
25712
|
+
const err14 = { instancePath: instancePath + "/positionalParams", schemaPath: "https://registry.scalar.com/@scalar/schemas/sdk-config#/$defs/globalSettings/properties/positionalParams/type", keyword: "type", params: { type: "string" }, message: "must be string" };
|
|
25514
25713
|
if (vErrors === null) {
|
|
25515
|
-
vErrors = [
|
|
25714
|
+
vErrors = [err14];
|
|
25516
25715
|
} else {
|
|
25517
|
-
vErrors.push(
|
|
25716
|
+
vErrors.push(err14);
|
|
25518
25717
|
}
|
|
25519
25718
|
errors++;
|
|
25520
25719
|
}
|
|
@@ -25522,35 +25721,36 @@ function validate222(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25522
25721
|
if (coerced6 !== void 0) {
|
|
25523
25722
|
data8 = coerced6;
|
|
25524
25723
|
if (data !== void 0) {
|
|
25525
|
-
data["
|
|
25724
|
+
data["positionalParams"] = coerced6;
|
|
25526
25725
|
}
|
|
25527
25726
|
}
|
|
25528
25727
|
}
|
|
25529
|
-
if (!(data8 === "
|
|
25530
|
-
const
|
|
25728
|
+
if (!(data8 === "all" || data8 === "none" || data8 === "last")) {
|
|
25729
|
+
const err15 = { instancePath: instancePath + "/positionalParams", schemaPath: "https://registry.scalar.com/@scalar/schemas/sdk-config#/$defs/globalSettings/properties/positionalParams/enum", keyword: "enum", params: { allowedValues: schema185.properties.positionalParams.enum }, message: "must be equal to one of the allowed values" };
|
|
25531
25730
|
if (vErrors === null) {
|
|
25532
|
-
vErrors = [
|
|
25731
|
+
vErrors = [err15];
|
|
25533
25732
|
} else {
|
|
25534
|
-
vErrors.push(
|
|
25733
|
+
vErrors.push(err15);
|
|
25535
25734
|
}
|
|
25536
25735
|
errors++;
|
|
25537
25736
|
}
|
|
25538
25737
|
}
|
|
25539
|
-
if (data.
|
|
25540
|
-
let data9 = data.
|
|
25541
|
-
if (typeof data9 !== "
|
|
25738
|
+
if (data.ordering !== void 0) {
|
|
25739
|
+
let data9 = data.ordering;
|
|
25740
|
+
if (typeof data9 !== "string") {
|
|
25741
|
+
let dataType7 = typeof data9;
|
|
25542
25742
|
let coerced7 = void 0;
|
|
25543
25743
|
if (!(coerced7 !== void 0)) {
|
|
25544
|
-
if (
|
|
25545
|
-
coerced7 =
|
|
25546
|
-
} else if (data9 ===
|
|
25547
|
-
coerced7 =
|
|
25744
|
+
if (dataType7 == "number" || dataType7 == "boolean") {
|
|
25745
|
+
coerced7 = "" + data9;
|
|
25746
|
+
} else if (data9 === null) {
|
|
25747
|
+
coerced7 = "";
|
|
25548
25748
|
} else {
|
|
25549
|
-
const
|
|
25749
|
+
const err16 = { instancePath: instancePath + "/ordering", schemaPath: "https://registry.scalar.com/@scalar/schemas/sdk-config#/$defs/globalSettings/properties/ordering/type", keyword: "type", params: { type: "string" }, message: "must be string" };
|
|
25550
25750
|
if (vErrors === null) {
|
|
25551
|
-
vErrors = [
|
|
25751
|
+
vErrors = [err16];
|
|
25552
25752
|
} else {
|
|
25553
|
-
vErrors.push(
|
|
25753
|
+
vErrors.push(err16);
|
|
25554
25754
|
}
|
|
25555
25755
|
errors++;
|
|
25556
25756
|
}
|
|
@@ -25558,13 +25758,22 @@ function validate222(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25558
25758
|
if (coerced7 !== void 0) {
|
|
25559
25759
|
data9 = coerced7;
|
|
25560
25760
|
if (data !== void 0) {
|
|
25561
|
-
data["
|
|
25761
|
+
data["ordering"] = coerced7;
|
|
25562
25762
|
}
|
|
25563
25763
|
}
|
|
25564
25764
|
}
|
|
25765
|
+
if (!(data9 === "config" || data9 === "openapi" || data9 === "crud")) {
|
|
25766
|
+
const err17 = { instancePath: instancePath + "/ordering", schemaPath: "https://registry.scalar.com/@scalar/schemas/sdk-config#/$defs/globalSettings/properties/ordering/enum", keyword: "enum", params: { allowedValues: schema185.properties.ordering.enum }, message: "must be equal to one of the allowed values" };
|
|
25767
|
+
if (vErrors === null) {
|
|
25768
|
+
vErrors = [err17];
|
|
25769
|
+
} else {
|
|
25770
|
+
vErrors.push(err17);
|
|
25771
|
+
}
|
|
25772
|
+
errors++;
|
|
25773
|
+
}
|
|
25565
25774
|
}
|
|
25566
|
-
if (data.
|
|
25567
|
-
let data10 = data.
|
|
25775
|
+
if (data.requireWebsocketDependencies !== void 0) {
|
|
25776
|
+
let data10 = data.requireWebsocketDependencies;
|
|
25568
25777
|
if (typeof data10 !== "boolean") {
|
|
25569
25778
|
let coerced8 = void 0;
|
|
25570
25779
|
if (!(coerced8 !== void 0)) {
|
|
@@ -25573,11 +25782,11 @@ function validate222(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25573
25782
|
} else if (data10 === "true" || data10 === 1) {
|
|
25574
25783
|
coerced8 = true;
|
|
25575
25784
|
} else {
|
|
25576
|
-
const
|
|
25785
|
+
const err18 = { instancePath: instancePath + "/requireWebsocketDependencies", schemaPath: "https://registry.scalar.com/@scalar/schemas/sdk-config#/$defs/globalSettings/properties/requireWebsocketDependencies/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
|
|
25577
25786
|
if (vErrors === null) {
|
|
25578
|
-
vErrors = [
|
|
25787
|
+
vErrors = [err18];
|
|
25579
25788
|
} else {
|
|
25580
|
-
vErrors.push(
|
|
25789
|
+
vErrors.push(err18);
|
|
25581
25790
|
}
|
|
25582
25791
|
errors++;
|
|
25583
25792
|
}
|
|
@@ -25585,28 +25794,55 @@ function validate222(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25585
25794
|
if (coerced8 !== void 0) {
|
|
25586
25795
|
data10 = coerced8;
|
|
25587
25796
|
if (data !== void 0) {
|
|
25588
|
-
data["
|
|
25797
|
+
data["requireWebsocketDependencies"] = coerced8;
|
|
25798
|
+
}
|
|
25799
|
+
}
|
|
25800
|
+
}
|
|
25801
|
+
}
|
|
25802
|
+
if (data.unwrapMultipropertyResponseFields !== void 0) {
|
|
25803
|
+
let data11 = data.unwrapMultipropertyResponseFields;
|
|
25804
|
+
if (typeof data11 !== "boolean") {
|
|
25805
|
+
let coerced9 = void 0;
|
|
25806
|
+
if (!(coerced9 !== void 0)) {
|
|
25807
|
+
if (data11 === "false" || data11 === 0 || data11 === null) {
|
|
25808
|
+
coerced9 = false;
|
|
25809
|
+
} else if (data11 === "true" || data11 === 1) {
|
|
25810
|
+
coerced9 = true;
|
|
25811
|
+
} else {
|
|
25812
|
+
const err19 = { instancePath: instancePath + "/unwrapMultipropertyResponseFields", schemaPath: "https://registry.scalar.com/@scalar/schemas/sdk-config#/$defs/globalSettings/properties/unwrapMultipropertyResponseFields/type", keyword: "type", params: { type: "boolean" }, message: "must be boolean" };
|
|
25813
|
+
if (vErrors === null) {
|
|
25814
|
+
vErrors = [err19];
|
|
25815
|
+
} else {
|
|
25816
|
+
vErrors.push(err19);
|
|
25817
|
+
}
|
|
25818
|
+
errors++;
|
|
25819
|
+
}
|
|
25820
|
+
}
|
|
25821
|
+
if (coerced9 !== void 0) {
|
|
25822
|
+
data11 = coerced9;
|
|
25823
|
+
if (data !== void 0) {
|
|
25824
|
+
data["unwrapMultipropertyResponseFields"] = coerced9;
|
|
25589
25825
|
}
|
|
25590
25826
|
}
|
|
25591
25827
|
}
|
|
25592
25828
|
}
|
|
25593
25829
|
} else {
|
|
25594
|
-
const
|
|
25830
|
+
const err20 = { instancePath, schemaPath: "https://registry.scalar.com/@scalar/schemas/sdk-config#/$defs/globalSettings/type", keyword: "type", params: { type: "object" }, message: "must be object" };
|
|
25595
25831
|
if (vErrors === null) {
|
|
25596
|
-
vErrors = [
|
|
25832
|
+
vErrors = [err20];
|
|
25597
25833
|
} else {
|
|
25598
|
-
vErrors.push(
|
|
25834
|
+
vErrors.push(err20);
|
|
25599
25835
|
}
|
|
25600
25836
|
errors++;
|
|
25601
25837
|
}
|
|
25602
|
-
|
|
25838
|
+
validate225.errors = vErrors;
|
|
25603
25839
|
return errors === 0;
|
|
25604
25840
|
}
|
|
25605
|
-
|
|
25606
|
-
function
|
|
25841
|
+
validate225.evaluated = { "props": { "agentSkill": true, "fileHeader": true, "license": true, "description": true, "keywords": true, "unwrapResponseFields": true, "positionalParams": true, "ordering": true, "requireWebsocketDependencies": true, "unwrapMultipropertyResponseFields": true }, "dynamicProps": false, "dynamicItems": false };
|
|
25842
|
+
function validate227(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
25607
25843
|
let vErrors = null;
|
|
25608
25844
|
let errors = 0;
|
|
25609
|
-
const evaluated0 =
|
|
25845
|
+
const evaluated0 = validate227.evaluated;
|
|
25610
25846
|
if (evaluated0.dynamicProps) {
|
|
25611
25847
|
evaluated0.props = void 0;
|
|
25612
25848
|
}
|
|
@@ -25761,8 +25997,8 @@ function validate224(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25761
25997
|
let data5 = data.request;
|
|
25762
25998
|
if (data5 && typeof data5 == "object" && !Array.isArray(data5)) {
|
|
25763
25999
|
for (const key0 in data5) {
|
|
25764
|
-
if (!
|
|
25765
|
-
vErrors = vErrors === null ?
|
|
26000
|
+
if (!validate176(data5[key0], { instancePath: instancePath + "/request/" + key0.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data5, parentDataProperty: key0, rootData, dynamicAnchors })) {
|
|
26001
|
+
vErrors = vErrors === null ? validate176.errors : vErrors.concat(validate176.errors);
|
|
25766
26002
|
errors = vErrors.length;
|
|
25767
26003
|
}
|
|
25768
26004
|
}
|
|
@@ -25780,8 +26016,8 @@ function validate224(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25780
26016
|
let data7 = data.response;
|
|
25781
26017
|
if (data7 && typeof data7 == "object" && !Array.isArray(data7)) {
|
|
25782
26018
|
for (const key1 in data7) {
|
|
25783
|
-
if (!
|
|
25784
|
-
vErrors = vErrors === null ?
|
|
26019
|
+
if (!validate178(data7[key1], { instancePath: instancePath + "/response/" + key1.replace(/~/g, "~0").replace(/\//g, "~1"), parentData: data7, parentDataProperty: key1, rootData, dynamicAnchors })) {
|
|
26020
|
+
vErrors = vErrors === null ? validate178.errors : vErrors.concat(validate178.errors);
|
|
25785
26021
|
errors = vErrors.length;
|
|
25786
26022
|
}
|
|
25787
26023
|
}
|
|
@@ -25804,31 +26040,31 @@ function validate224(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25804
26040
|
}
|
|
25805
26041
|
errors++;
|
|
25806
26042
|
}
|
|
25807
|
-
|
|
26043
|
+
validate227.errors = vErrors;
|
|
25808
26044
|
return errors === 0;
|
|
25809
26045
|
}
|
|
25810
|
-
|
|
25811
|
-
function
|
|
26046
|
+
validate227.evaluated = { "props": { "name": true, "description": true, "type": true, "paramLocation": true, "continueOnEmptyItems": true, "request": true, "response": true }, "dynamicProps": false, "dynamicItems": false };
|
|
26047
|
+
function validate226(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {} } = {}) {
|
|
25812
26048
|
;
|
|
25813
26049
|
let vErrors = null;
|
|
25814
26050
|
let errors = 0;
|
|
25815
|
-
const evaluated0 =
|
|
26051
|
+
const evaluated0 = validate226.evaluated;
|
|
25816
26052
|
if (evaluated0.dynamicProps) {
|
|
25817
26053
|
evaluated0.props = void 0;
|
|
25818
26054
|
}
|
|
25819
26055
|
if (evaluated0.dynamicItems) {
|
|
25820
26056
|
evaluated0.items = void 0;
|
|
25821
26057
|
}
|
|
25822
|
-
if (!
|
|
25823
|
-
vErrors = vErrors === null ?
|
|
26058
|
+
if (!validate227(data, { instancePath, parentData, parentDataProperty, rootData, dynamicAnchors })) {
|
|
26059
|
+
vErrors = vErrors === null ? validate227.errors : vErrors.concat(validate227.errors);
|
|
25824
26060
|
errors = vErrors.length;
|
|
25825
26061
|
}
|
|
25826
|
-
|
|
26062
|
+
validate226.errors = vErrors;
|
|
25827
26063
|
return errors === 0;
|
|
25828
26064
|
}
|
|
25829
|
-
|
|
26065
|
+
validate226.evaluated = { "props": { "name": true, "description": true, "type": true, "paramLocation": true, "continueOnEmptyItems": true, "request": true, "response": true }, "dynamicProps": false, "dynamicItems": false };
|
|
25830
26066
|
|
|
25831
|
-
// ../../node_modules/.pnpm/@scalar+sdk-config@0.
|
|
26067
|
+
// ../../node_modules/.pnpm/@scalar+sdk-config@0.64.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/generate-default-config/extension-values.js
|
|
25832
26068
|
var extensionReader = (validate) => (candidate) => {
|
|
25833
26069
|
const copy = plainCopy(candidate, 0, { budget: MAX_EXTENSION_NODES });
|
|
25834
26070
|
return copy !== void 0 && validate(copy) ? copy : void 0;
|
|
@@ -25867,13 +26103,13 @@ var plainCopy = (value, depth, state) => {
|
|
|
25867
26103
|
return out;
|
|
25868
26104
|
};
|
|
25869
26105
|
|
|
25870
|
-
// ../../node_modules/.pnpm/@scalar+sdk-config@0.
|
|
26106
|
+
// ../../node_modules/.pnpm/@scalar+sdk-config@0.64.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/generate-default-config/client-settings.js
|
|
25871
26107
|
var readClientSettings = extensionReader(validateClientSettings);
|
|
25872
26108
|
|
|
25873
|
-
// ../../node_modules/.pnpm/@scalar+sdk-config@0.
|
|
26109
|
+
// ../../node_modules/.pnpm/@scalar+sdk-config@0.64.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/generate-default-config/pagination.js
|
|
25874
26110
|
var readValidScheme = extensionReader(validatePaginationConfig);
|
|
25875
26111
|
|
|
25876
|
-
// ../../node_modules/.pnpm/@scalar+sdk-config@0.
|
|
26112
|
+
// ../../node_modules/.pnpm/@scalar+sdk-config@0.64.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/generate-default-config/operation-names.js
|
|
25877
26113
|
var HTTP_VERB_TO_METHOD_WORD = {
|
|
25878
26114
|
post: "create",
|
|
25879
26115
|
put: "update",
|
|
@@ -25910,25 +26146,27 @@ var METHOD_VERB_WORDS = /* @__PURE__ */ new Set([
|
|
|
25910
26146
|
"read"
|
|
25911
26147
|
]);
|
|
25912
26148
|
|
|
25913
|
-
// ../../node_modules/.pnpm/@scalar+sdk-config@0.
|
|
26149
|
+
// ../../node_modules/.pnpm/@scalar+sdk-config@0.64.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/generate-default-config/settings.js
|
|
25914
26150
|
var readGlobalSettings = extensionReader(validateGlobalSettings);
|
|
25915
26151
|
|
|
25916
|
-
// ../../node_modules/.pnpm/@scalar+sdk-config@0.
|
|
26152
|
+
// ../../node_modules/.pnpm/@scalar+sdk-config@0.64.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/publish-auth-methods.js
|
|
25917
26153
|
var PUBLISH_AUTH_METHODS = new Set(scalar_sdk_config_schema_default.$defs.publishAuthMethod.enum);
|
|
25918
26154
|
|
|
25919
|
-
// ../../node_modules/.pnpm/@scalar+sdk-config@0.
|
|
26155
|
+
// ../../node_modules/.pnpm/@scalar+sdk-config@0.64.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/signed-url.js
|
|
25920
26156
|
var LONE_SURROGATE = new RegExp("\\p{Cs}", "u");
|
|
25921
26157
|
var SIGNED_URL_MAX_DEFAULT_SECONDS = 36525 * 86400;
|
|
25922
26158
|
|
|
25923
|
-
// ../../node_modules/.pnpm/@scalar+sdk-config@0.
|
|
26159
|
+
// ../../node_modules/.pnpm/@scalar+sdk-config@0.64.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/method-config.js
|
|
25924
26160
|
var IDENTIFIER = "[A-Za-z_][A-Za-z0-9_]*";
|
|
25925
26161
|
var DOTTED_NAME = new RegExp(`^${IDENTIFIER}(?:\\.${IDENTIFIER})*$`, "u");
|
|
25926
26162
|
var JS_DOTTED_NAME = /^[A-Za-z_$][A-Za-z0-9_$]*(?:\.[A-Za-z_$][A-Za-z0-9_$]*)*$/u;
|
|
25927
26163
|
var NATIVE_TYPE_PATTERNS = {
|
|
25928
26164
|
typescript: JS_DOTTED_NAME,
|
|
25929
26165
|
python: DOTTED_NAME,
|
|
25930
|
-
// `*url.URL`: one optional pointer, then at most one package
|
|
25931
|
-
|
|
26166
|
+
// `*url.URL` or `[]byte`: an optional slice, then one optional pointer, then at most one package
|
|
26167
|
+
// qualifier, as a Go type name is spelled. `[]` is admitted for `[]byte`, a fetched body's bytes:
|
|
26168
|
+
// brackets with nothing between them cannot end a declaration or hold an expression.
|
|
26169
|
+
go: new RegExp(`^(?:\\[\\])?\\*?(?:${IDENTIFIER}\\.)?${IDENTIFIER}$`, "u"),
|
|
25932
26170
|
rust: new RegExp(`^(?:::)?${IDENTIFIER}(?:::${IDENTIFIER})*$`, "u"),
|
|
25933
26171
|
java: DOTTED_NAME,
|
|
25934
26172
|
kotlin: DOTTED_NAME,
|
|
@@ -25941,7 +26179,7 @@ var NATIVE_TYPE_PATTERNS = {
|
|
|
25941
26179
|
dart: DOTTED_NAME
|
|
25942
26180
|
};
|
|
25943
26181
|
|
|
25944
|
-
// ../../node_modules/.pnpm/@scalar+sdk-config@0.
|
|
26182
|
+
// ../../node_modules/.pnpm/@scalar+sdk-config@0.64.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/dart-package-identifier.js
|
|
25945
26183
|
var dartPackageIdentifier = (name, fallback = "sdk") => {
|
|
25946
26184
|
const clean = (input) => input.replace(/([a-z0-9])([A-Z])/gu, "$1_$2").toLowerCase().replace(/[^a-z0-9_]+/gu, "_").replace(/^_+|_+$/gu, "");
|
|
25947
26185
|
const reducedFallback = clean(fallback);
|
|
@@ -25950,14 +26188,14 @@ var dartPackageIdentifier = (name, fallback = "sdk") => {
|
|
|
25950
26188
|
return /^[a-z_]/u.test(pkg) ? pkg : `${safeFallback}_${pkg}`;
|
|
25951
26189
|
};
|
|
25952
26190
|
|
|
25953
|
-
// ../../node_modules/.pnpm/@scalar+sdk-config@0.
|
|
26191
|
+
// ../../node_modules/.pnpm/@scalar+sdk-config@0.64.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/dotnet-package-identifier.js
|
|
25954
26192
|
var dotnetPackageIdentifier = (name, fallback = "Sdk") => {
|
|
25955
26193
|
const parts = name.replace(/([a-z0-9])([A-Z])/gu, "$1 $2").split(/[^a-zA-Z0-9]+/u).filter(Boolean);
|
|
25956
26194
|
const pascal = parts.map((part) => `${part.charAt(0).toUpperCase()}${part.slice(1)}`).join("");
|
|
25957
26195
|
return pascal.length === 0 || /^\d/u.test(pascal) ? fallback : pascal;
|
|
25958
26196
|
};
|
|
25959
26197
|
|
|
25960
|
-
// ../../node_modules/.pnpm/@scalar+sdk-config@0.
|
|
26198
|
+
// ../../node_modules/.pnpm/@scalar+sdk-config@0.64.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/swift-package-identifier.js
|
|
25961
26199
|
var PASCAL_IDENTIFIER = /^[A-Z][A-Za-z0-9_]*$/u;
|
|
25962
26200
|
var swiftPackageIdentifier = (name, fallback = "Sdk", customCasings) => {
|
|
25963
26201
|
if (PASCAL_IDENTIFIER.test(name))
|
|
@@ -25969,7 +26207,7 @@ var swiftPackageIdentifier = (name, fallback = "Sdk", customCasings) => {
|
|
|
25969
26207
|
return PASCAL_IDENTIFIER.test(fallback) ? fallback : configuredPascalCase(fallback, casing);
|
|
25970
26208
|
};
|
|
25971
26209
|
|
|
25972
|
-
// ../../node_modules/.pnpm/@scalar+sdk-config@0.
|
|
26210
|
+
// ../../node_modules/.pnpm/@scalar+sdk-config@0.64.0_typescript@7.0.2/node_modules/@scalar/sdk-config/dist/index.js
|
|
25973
26211
|
var WEBHOOK_KEY_PARAM_PATTERN = new RegExp(scalar_sdk_config_schema_default.$defs.webhookMethodConfig.properties.keyParam.pattern, "u");
|
|
25974
26212
|
|
|
25975
26213
|
// ../../packages/entities/dist/sdk/scalar-config.js
|