@kubb/agent 5.0.0-alpha.36 → 5.0.0-alpha.39
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/.output/nitro.json +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +230 -186
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/chunks/routes/api/health.get.mjs +1 -14
- package/.output/server/chunks/routes/api/health.get.mjs.map +1 -1
- package/.output/server/index.mjs +1 -14
- package/.output/server/index.mjs.map +1 -1
- package/.output/server/package.json +2 -109
- package/package.json +5 -19
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/ajv.js +0 -50
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/codegen/code.js +0 -156
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/codegen/index.js +0 -697
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/codegen/scope.js +0 -143
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/errors.js +0 -123
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/index.js +0 -249
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/names.js +0 -29
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/ref_error.js +0 -12
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/resolve.js +0 -155
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/rules.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/util.js +0 -178
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/applicability.js +0 -19
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/boolSchema.js +0 -50
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/dataType.js +0 -203
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/defaults.js +0 -35
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/index.js +0 -534
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/keyword.js +0 -124
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/subschema.js +0 -81
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/core.js +0 -632
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/refs/data.json +0 -13
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/refs/json-schema-draft-07.json +0 -151
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/runtime/equal.js +0 -7
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/runtime/ucs2length.js +0 -24
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/runtime/uri.js +0 -6
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/runtime/validation_error.js +0 -11
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/additionalItems.js +0 -49
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/additionalProperties.js +0 -107
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/allOf.js +0 -23
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/anyOf.js +0 -12
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/contains.js +0 -95
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/dependencies.js +0 -85
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/if.js +0 -66
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/index.js +0 -44
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/items.js +0 -52
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/items2020.js +0 -30
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/not.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/oneOf.js +0 -60
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/patternProperties.js +0 -75
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/prefixItems.js +0 -12
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/properties.js +0 -55
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/propertyNames.js +0 -38
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/thenElse.js +0 -13
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/code.js +0 -138
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/core/id.js +0 -10
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/core/index.js +0 -16
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/core/ref.js +0 -132
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/discriminator/index.js +0 -139
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/discriminator/types.js +0 -9
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/draft7.js +0 -17
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/format/format.js +0 -92
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/format/index.js +0 -6
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/metadata.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/oasContext.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/const.js +0 -25
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/enum.js +0 -48
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/index.js +0 -37
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/limitItems.js +0 -24
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/limitLength.js +0 -27
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/limitNumber.js +0 -27
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/limitProperties.js +0 -24
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/multipleOf.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/pattern.js +0 -33
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/readOnly.js +0 -20
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/required.js +0 -86
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/uniqueItems.js +0 -64
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/writeOnly.js +0 -20
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/package.json +0 -130
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/2020.js +0 -55
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/codegen/code.js +0 -156
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/codegen/index.js +0 -697
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/codegen/scope.js +0 -143
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/errors.js +0 -123
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/index.js +0 -249
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/names.js +0 -29
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/ref_error.js +0 -12
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/resolve.js +0 -155
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/rules.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/util.js +0 -178
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/applicability.js +0 -19
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/boolSchema.js +0 -50
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/dataType.js +0 -203
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/defaults.js +0 -35
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/index.js +0 -534
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/keyword.js +0 -124
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/subschema.js +0 -81
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/core.js +0 -632
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/draft4.js +0 -57
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/data.json +0 -13
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/index.js +0 -30
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/applicator.json +0 -48
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/content.json +0 -17
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/core.json +0 -51
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/meta-data.json +0 -37
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/validation.json +0 -90
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/schema.json +0 -55
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-draft-04.json +0 -138
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/runtime/equal.js +0 -7
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/runtime/ucs2length.js +0 -24
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/runtime/uri.js +0 -6
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/runtime/validation_error.js +0 -11
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/additionalItems.js +0 -49
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/additionalProperties.js +0 -107
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/allOf.js +0 -23
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/anyOf.js +0 -12
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/contains.js +0 -95
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/dependencies.js +0 -85
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/dependentSchemas.js +0 -11
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/if.js +0 -66
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/index.js +0 -44
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/items.js +0 -52
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/items2020.js +0 -30
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/not.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/oneOf.js +0 -60
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/patternProperties.js +0 -75
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/prefixItems.js +0 -12
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/properties.js +0 -55
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/propertyNames.js +0 -38
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/thenElse.js +0 -13
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/code.js +0 -138
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/core/id.js +0 -10
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/core/index.js +0 -16
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/core/ref.js +0 -132
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/discriminator/index.js +0 -139
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/discriminator/types.js +0 -9
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/draft2020.js +0 -23
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/draft4.js +0 -29
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/dynamic/dynamicAnchor.js +0 -30
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/dynamic/dynamicRef.js +0 -51
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/dynamic/index.js +0 -9
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/dynamic/recursiveAnchor.js +0 -16
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/dynamic/recursiveRef.js +0 -10
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/format/format.js +0 -92
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/format/index.js +0 -6
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/metadata.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/next.js +0 -8
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/oasContext.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/unevaluated/index.js +0 -7
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/unevaluated/unevaluatedItems.js +0 -40
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/unevaluated/unevaluatedProperties.js +0 -84
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/const.js +0 -25
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/dependentRequired.js +0 -12
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/draft04/limitNumber.js +0 -43
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/draft04/limitNumberExclusive.js +0 -19
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/enum.js +0 -48
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/index.js +0 -37
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/limitContains.js +0 -15
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/limitItems.js +0 -24
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/limitLength.js +0 -27
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/limitNumber.js +0 -27
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/limitProperties.js +0 -24
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/multipleOf.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/pattern.js +0 -33
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/readOnly.js +0 -20
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/required.js +0 -86
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/uniqueItems.js +0 -64
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/writeOnly.js +0 -20
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/package.json +0 -130
- package/.output/server/node_modules/.nitro/picomatch@4.0.4/index.js +0 -17
- package/.output/server/node_modules/.nitro/picomatch@4.0.4/lib/constants.js +0 -184
- package/.output/server/node_modules/.nitro/picomatch@4.0.4/lib/parse.js +0 -1386
- package/.output/server/node_modules/.nitro/picomatch@4.0.4/lib/picomatch.js +0 -349
- package/.output/server/node_modules/.nitro/picomatch@4.0.4/lib/scan.js +0 -391
- package/.output/server/node_modules/.nitro/picomatch@4.0.4/lib/utils.js +0 -72
- package/.output/server/node_modules/.nitro/picomatch@4.0.4/package.json +0 -82
- package/.output/server/node_modules/.nitro/ws@8.18.0/lib/constants.js +0 -18
- package/.output/server/node_modules/.nitro/ws@8.18.0/lib/permessage-deflate.js +0 -514
- package/.output/server/node_modules/.nitro/ws@8.18.0/lib/sender.js +0 -602
- package/.output/server/node_modules/.nitro/ws@8.18.0/lib/stream.js +0 -159
- package/.output/server/node_modules/.nitro/ws@8.18.0/lib/websocket-server.js +0 -540
- package/.output/server/node_modules/.nitro/ws@8.18.0/lib/websocket.js +0 -1388
- package/.output/server/node_modules/.nitro/ws@8.18.0/package.json +0 -69
- package/.output/server/node_modules/.nitro/ws@8.18.0/wrapper.mjs +0 -8
- package/.output/server/node_modules/.nitro/ws@8.20.0/lib/buffer-util.js +0 -131
- package/.output/server/node_modules/.nitro/ws@8.20.0/lib/event-target.js +0 -292
- package/.output/server/node_modules/.nitro/ws@8.20.0/lib/extension.js +0 -203
- package/.output/server/node_modules/.nitro/ws@8.20.0/lib/limiter.js +0 -55
- package/.output/server/node_modules/.nitro/ws@8.20.0/lib/receiver.js +0 -706
- package/.output/server/node_modules/.nitro/ws@8.20.0/lib/subprotocol.js +0 -62
- package/.output/server/node_modules/.nitro/ws@8.20.0/lib/validation.js +0 -152
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/bundle.js +0 -302
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/dereference.js +0 -289
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/index.js +0 -216
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/normalize-args.js +0 -55
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/options.js +0 -135
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parse.js +0 -178
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/binary.js +0 -35
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/json.js +0 -62
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/text.js +0 -42
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/yaml.js +0 -58
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/pointer.js +0 -334
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/ref.js +0 -308
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/refs.js +0 -244
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/resolve-external.js +0 -143
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/resolvers/file.js +0 -81
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/resolvers/http.js +0 -158
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/convert-path-to-posix.js +0 -14
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/errors.js +0 -170
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/is-windows.js +0 -6
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/maybe.js +0 -24
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/next.js +0 -16
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/plugins.js +0 -132
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/url.js +0 -491
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/package.json +0 -112
- package/.output/server/node_modules/@babel/code-frame/lib/index.js +0 -217
- package/.output/server/node_modules/@babel/code-frame/package.json +0 -32
- package/.output/server/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -70
- package/.output/server/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -57
- package/.output/server/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -35
- package/.output/server/node_modules/@babel/helper-validator-identifier/package.json +0 -31
- package/.output/server/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -6
- package/.output/server/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -4
- package/.output/server/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -5
- package/.output/server/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -5
- package/.output/server/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -4
- package/.output/server/node_modules/@babel/runtime/helpers/createClass.js +0 -13
- package/.output/server/node_modules/@babel/runtime/helpers/defineProperty.js +0 -10
- package/.output/server/node_modules/@babel/runtime/helpers/get.js +0 -11
- package/.output/server/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -6
- package/.output/server/node_modules/@babel/runtime/helpers/inherits.js +0 -14
- package/.output/server/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -6
- package/.output/server/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -4
- package/.output/server/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -28
- package/.output/server/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -4
- package/.output/server/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -4
- package/.output/server/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -8
- package/.output/server/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -6
- package/.output/server/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -8
- package/.output/server/node_modules/@babel/runtime/helpers/superPropBase.js +0 -6
- package/.output/server/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -8
- package/.output/server/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -12
- package/.output/server/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -7
- package/.output/server/node_modules/@babel/runtime/helpers/typeof.js +0 -10
- package/.output/server/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -9
- package/.output/server/node_modules/@babel/runtime/package.json +0 -1107
- package/.output/server/node_modules/@clack/core/dist/index.mjs +0 -11
- package/.output/server/node_modules/@clack/core/package.json +0 -60
- package/.output/server/node_modules/@clack/prompts/dist/index.mjs +0 -137
- package/.output/server/node_modules/@clack/prompts/package.json +0 -65
- package/.output/server/node_modules/@humanwhocodes/momoa/api.js +0 -1144
- package/.output/server/node_modules/@humanwhocodes/momoa/package.json +0 -49
- package/.output/server/node_modules/@kubb/ast/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/ast/dist/index.js +0 -423
- package/.output/server/node_modules/@kubb/ast/package.json +0 -70
- package/.output/server/node_modules/@kubb/core/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/core/dist/hooks.js +0 -23
- package/.output/server/node_modules/@kubb/core/dist/index.js +0 -2311
- package/.output/server/node_modules/@kubb/core/package.json +0 -109
- package/.output/server/node_modules/@kubb/fabric-core/dist/chunk-O_arW02_.js +0 -17
- package/.output/server/node_modules/@kubb/fabric-core/dist/defaultParser-iCpMSYCp.js +0 -15
- package/.output/server/node_modules/@kubb/fabric-core/dist/getRelativePath-NAm_Y-vp.js +0 -55
- package/.output/server/node_modules/@kubb/fabric-core/dist/index.js +0 -653
- package/.output/server/node_modules/@kubb/fabric-core/dist/onProcessExit-Cput7j2c.js +0 -742
- package/.output/server/node_modules/@kubb/fabric-core/dist/parsers/typescript.js +0 -101
- package/.output/server/node_modules/@kubb/fabric-core/dist/parsers.js +0 -17
- package/.output/server/node_modules/@kubb/fabric-core/dist/plugins.js +0 -375
- package/.output/server/node_modules/@kubb/fabric-core/package.json +0 -111
- package/.output/server/node_modules/@kubb/oas/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/oas/dist/index.js +0 -918
- package/.output/server/node_modules/@kubb/oas/package.json +0 -94
- package/.output/server/node_modules/@kubb/plugin-client/dist/StaticClassClient-bCe7RG_w.js +0 -636
- package/.output/server/node_modules/@kubb/plugin-client/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-client/dist/components.js +0 -2
- package/.output/server/node_modules/@kubb/plugin-client/dist/generators-BffddRNu.js +0 -723
- package/.output/server/node_modules/@kubb/plugin-client/dist/index.js +0 -124
- package/.output/server/node_modules/@kubb/plugin-client/dist/templates/clients/axios.source.js +0 -6
- package/.output/server/node_modules/@kubb/plugin-client/dist/templates/clients/fetch.source.js +0 -6
- package/.output/server/node_modules/@kubb/plugin-client/dist/templates/config.source.js +0 -6
- package/.output/server/node_modules/@kubb/plugin-client/package.json +0 -153
- package/.output/server/node_modules/@kubb/plugin-cypress/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-cypress/dist/components-BK_6GU4v.js +0 -257
- package/.output/server/node_modules/@kubb/plugin-cypress/dist/generators-D5YFtyyC.js +0 -71
- package/.output/server/node_modules/@kubb/plugin-cypress/dist/index.js +0 -79
- package/.output/server/node_modules/@kubb/plugin-cypress/package.json +0 -108
- package/.output/server/node_modules/@kubb/plugin-faker/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-faker/dist/components-BkBIov4R.js +0 -419
- package/.output/server/node_modules/@kubb/plugin-faker/dist/fakerGenerator-BztogaeO.js +0 -200
- package/.output/server/node_modules/@kubb/plugin-faker/dist/index.js +0 -141
- package/.output/server/node_modules/@kubb/plugin-faker/package.json +0 -103
- package/.output/server/node_modules/@kubb/plugin-mcp/dist/Server-H3SwqhwF.js +0 -178
- package/.output/server/node_modules/@kubb/plugin-mcp/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-mcp/dist/generators-BqkMrcs9.js +0 -274
- package/.output/server/node_modules/@kubb/plugin-mcp/dist/index.js +0 -122
- package/.output/server/node_modules/@kubb/plugin-mcp/package.json +0 -107
- package/.output/server/node_modules/@kubb/plugin-msw/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-msw/dist/components-DgtTZkWX.js +0 -277
- package/.output/server/node_modules/@kubb/plugin-msw/dist/generators-C34kqa1L.js +0 -161
- package/.output/server/node_modules/@kubb/plugin-msw/dist/index.js +0 -84
- package/.output/server/node_modules/@kubb/plugin-msw/package.json +0 -109
- package/.output/server/node_modules/@kubb/plugin-oas/dist/SchemaMapper-CqMkO2T1.js +0 -58
- package/.output/server/node_modules/@kubb/plugin-oas/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-oas/dist/generators-D7C3CXsN.js +0 -79
- package/.output/server/node_modules/@kubb/plugin-oas/dist/generators.js +0 -2
- package/.output/server/node_modules/@kubb/plugin-oas/dist/getFooter-Pw3tLCiV.js +0 -112
- package/.output/server/node_modules/@kubb/plugin-oas/dist/hooks.js +0 -200
- package/.output/server/node_modules/@kubb/plugin-oas/dist/index.js +0 -408
- package/.output/server/node_modules/@kubb/plugin-oas/dist/requestBody-pRavthCw.js +0 -1336
- package/.output/server/node_modules/@kubb/plugin-oas/dist/utils.js +0 -268
- package/.output/server/node_modules/@kubb/plugin-oas/package.json +0 -122
- package/.output/server/node_modules/@kubb/plugin-react-query/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-react-query/dist/components-CpyHYGOw.js +0 -1520
- package/.output/server/node_modules/@kubb/plugin-react-query/dist/generators-CpiBv5eE.js +0 -1427
- package/.output/server/node_modules/@kubb/plugin-react-query/dist/index.js +0 -166
- package/.output/server/node_modules/@kubb/plugin-react-query/package.json +0 -112
- package/.output/server/node_modules/@kubb/plugin-redoc/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-redoc/dist/index.js +0 -65
- package/.output/server/node_modules/@kubb/plugin-redoc/package.json +0 -85
- package/.output/server/node_modules/@kubb/plugin-redoc/static/redoc.hbs +0 -22
- package/.output/server/node_modules/@kubb/plugin-solid-query/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-solid-query/dist/components-BhStIi1M.js +0 -665
- package/.output/server/node_modules/@kubb/plugin-solid-query/dist/generators-CQClzsST.js +0 -415
- package/.output/server/node_modules/@kubb/plugin-solid-query/dist/index.js +0 -145
- package/.output/server/node_modules/@kubb/plugin-solid-query/package.json +0 -113
- package/.output/server/node_modules/@kubb/plugin-svelte-query/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-svelte-query/dist/components-DntKBsnB.js +0 -666
- package/.output/server/node_modules/@kubb/plugin-svelte-query/dist/generators-BtTsGGrM.js +0 -414
- package/.output/server/node_modules/@kubb/plugin-svelte-query/dist/index.js +0 -145
- package/.output/server/node_modules/@kubb/plugin-svelte-query/package.json +0 -113
- package/.output/server/node_modules/@kubb/plugin-swr/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-swr/dist/components-DRDGvgXG.js +0 -702
- package/.output/server/node_modules/@kubb/plugin-swr/dist/generators-ClWZJ-YG.js +0 -399
- package/.output/server/node_modules/@kubb/plugin-swr/dist/index.js +0 -144
- package/.output/server/node_modules/@kubb/plugin-swr/package.json +0 -115
- package/.output/server/node_modules/@kubb/plugin-ts/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-ts/dist/components-C7fu-sK1.js +0 -723
- package/.output/server/node_modules/@kubb/plugin-ts/dist/index.js +0 -2
- package/.output/server/node_modules/@kubb/plugin-ts/dist/plugin-CYC-FGXe.js +0 -479
- package/.output/server/node_modules/@kubb/plugin-ts/package.json +0 -105
- package/.output/server/node_modules/@kubb/plugin-vue-query/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-vue-query/dist/components-_AMBl0g-.js +0 -1029
- package/.output/server/node_modules/@kubb/plugin-vue-query/dist/generators-Zb1s5Wmb.js +0 -661
- package/.output/server/node_modules/@kubb/plugin-vue-query/dist/index.js +0 -157
- package/.output/server/node_modules/@kubb/plugin-vue-query/package.json +0 -114
- package/.output/server/node_modules/@kubb/plugin-zod/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-zod/dist/components-eECfXVou.js +0 -842
- package/.output/server/node_modules/@kubb/plugin-zod/dist/generators-D1R6NNf2.js +0 -290
- package/.output/server/node_modules/@kubb/plugin-zod/dist/index.js +0 -175
- package/.output/server/node_modules/@kubb/plugin-zod/dist/templates/ToZod.source.js +0 -6
- package/.output/server/node_modules/@kubb/plugin-zod/package.json +0 -112
- package/.output/server/node_modules/@kubb/react-fabric/dist/chunk-BGCRLu6H.js +0 -38
- package/.output/server/node_modules/@kubb/react-fabric/dist/index.js +0 -525
- package/.output/server/node_modules/@kubb/react-fabric/dist/jsx-runtime-Bl0DfUmV.js +0 -1448
- package/.output/server/node_modules/@kubb/react-fabric/dist/jsx-runtime.js +0 -12
- package/.output/server/node_modules/@kubb/react-fabric/dist/parsers.js +0 -2
- package/.output/server/node_modules/@kubb/react-fabric/dist/plugins.js +0 -4
- package/.output/server/node_modules/@kubb/react-fabric/dist/reactPlugin-QQPrjNuQ.js +0 -17813
- package/.output/server/node_modules/@kubb/react-fabric/package.json +0 -143
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/helpers.js +0 -129
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/index.js +0 -46
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/json/get-decorated-data-path.js +0 -47
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/json/get-meta-from-path.js +0 -33
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/json/index.js +0 -20
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/json/utils.js +0 -14
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/utils.js +0 -57
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/additional-prop.js +0 -53
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/base.js +0 -109
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/default.js +0 -55
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/enum.js +0 -81
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/index.js +0 -48
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/pattern.js +0 -56
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/required.js +0 -64
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/unevaluated-prop.js +0 -53
- package/.output/server/node_modules/@readme/better-ajv-errors/package.json +0 -68
- package/.output/server/node_modules/@readme/http-status-codes/package.json +0 -25
- package/.output/server/node_modules/@readme/http-status-codes/src/index.js +0 -142
- package/.output/server/node_modules/@readme/openapi-parser/dist/chunk-IYQ77VVR.js +0 -25
- package/.output/server/node_modules/@readme/openapi-parser/dist/index.js +0 -923
- package/.output/server/node_modules/@readme/openapi-parser/dist/lib/assertions.js +0 -15
- package/.output/server/node_modules/@readme/openapi-parser/package.json +0 -84
- package/.output/server/node_modules/@readme/openapi-schemas/dist/index.mjs +0 -6153
- package/.output/server/node_modules/@readme/openapi-schemas/package.json +0 -67
- package/.output/server/node_modules/@readme/postman-to-openapi/package.json +0 -70
- package/.output/server/node_modules/@readme/postman-to-openapi/src/index.js +0 -714
- package/.output/server/node_modules/@readme/postman-to-openapi/src/md-utils.js +0 -38
- package/.output/server/node_modules/@readme/postman-to-openapi/src/var-replacer.js +0 -25
- package/.output/server/node_modules/@redocly/config/lib/asyncapi-config-schema.js +0 -53
- package/.output/server/node_modules/@redocly/config/lib/common.js +0 -103
- package/.output/server/node_modules/@redocly/config/lib/constants/config.js +0 -17
- package/.output/server/node_modules/@redocly/config/lib/constants/entities.js +0 -58
- package/.output/server/node_modules/@redocly/config/lib/constants/enum.js +0 -6
- package/.output/server/node_modules/@redocly/config/lib/constants/shared.js +0 -22
- package/.output/server/node_modules/@redocly/config/lib/default-theme-config-schema.js +0 -57
- package/.output/server/node_modules/@redocly/config/lib/entities-catalog-config-schema.js +0 -186
- package/.output/server/node_modules/@redocly/config/lib/entities-catalog-entity-file-schema.js +0 -283
- package/.output/server/node_modules/@redocly/config/lib/ex-theme-config-schemas.js +0 -687
- package/.output/server/node_modules/@redocly/config/lib/feedback-config-schema.js +0 -88
- package/.output/server/node_modules/@redocly/config/lib/graphql-config-schema.js +0 -157
- package/.output/server/node_modules/@redocly/config/lib/index.js +0 -41
- package/.output/server/node_modules/@redocly/config/lib/product-override-schema.js +0 -44
- package/.output/server/node_modules/@redocly/config/lib/redoc-config-schema.js +0 -120
- package/.output/server/node_modules/@redocly/config/lib/reference-docs-config-schema.js +0 -518
- package/.output/server/node_modules/@redocly/config/lib/remove-property-recursively.js +0 -28
- package/.output/server/node_modules/@redocly/config/lib/reunite-config-schema.js +0 -103
- package/.output/server/node_modules/@redocly/config/lib/root-config-schema.js +0 -588
- package/.output/server/node_modules/@redocly/config/lib/scorecards-config-schema.js +0 -242
- package/.output/server/node_modules/@redocly/config/lib/types/api-functions-types.js +0 -3
- package/.output/server/node_modules/@redocly/config/lib/types/catalog-entity-types.js +0 -3
- package/.output/server/node_modules/@redocly/config/lib/types/code-walkthrough-types.js +0 -3
- package/.output/server/node_modules/@redocly/config/lib/types/config-types.js +0 -3
- package/.output/server/node_modules/@redocly/config/lib/types/index.js +0 -21
- package/.output/server/node_modules/@redocly/config/lib/types/portal-shared-types.js +0 -18
- package/.output/server/node_modules/@redocly/config/package.json +0 -28
- package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle-document.js +0 -100
- package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle-visitor.js +0 -260
- package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle.js +0 -74
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/all.js +0 -315
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/builtIn.js +0 -58
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/bundle-extends.js +0 -28
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/config-resolvers.js +0 -344
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/config.js +0 -343
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/constants.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/get-resolve-config.js +0 -9
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/group-assertion-rules.js +0 -51
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/index.js +0 -8
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/load.js +0 -98
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/minimal.js +0 -294
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/recommended-strict.js +0 -294
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/recommended.js +0 -294
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/rules.js +0 -35
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/spec.js +0 -294
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/types.js +0 -2
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/utils.js +0 -129
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/visitors.js +0 -99
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/arazzo/index.js +0 -2
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/async2/index.js +0 -2
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/async3/index.js +0 -2
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-helper.js +0 -65
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-in.js +0 -67
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-out.js +0 -67
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/info-description-override.js +0 -21
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/info-override.js +0 -14
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/media-type-examples-override.js +0 -58
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/operation-description-override.js +0 -27
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/remove-x-internal.js +0 -68
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/tag-description-override.js +0 -23
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas2/index.js +0 -19
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas2/remove-unused-components.js +0 -97
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas3/index.js +0 -21
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas3/remove-unused-components.js +0 -120
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/openrpc/index.js +0 -2
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/overlay1/index.js +0 -2
- package/.output/server/node_modules/@redocly/openapi-core/lib/detect-spec.js +0 -79
- package/.output/server/node_modules/@redocly/openapi-core/lib/env.js +0 -5
- package/.output/server/node_modules/@redocly/openapi-core/lib/errors/yaml-parse-error.js +0 -14
- package/.output/server/node_modules/@redocly/openapi-core/lib/format/codeframes.js +0 -177
- package/.output/server/node_modules/@redocly/openapi-core/lib/format/format.js +0 -365
- package/.output/server/node_modules/@redocly/openapi-core/lib/index.js +0 -50
- package/.output/server/node_modules/@redocly/openapi-core/lib/js-yaml/index.js +0 -11
- package/.output/server/node_modules/@redocly/openapi-core/lib/lint-entity.js +0 -171
- package/.output/server/node_modules/@redocly/openapi-core/lib/lint.js +0 -123
- package/.output/server/node_modules/@redocly/openapi-core/lib/logger.js +0 -56
- package/.output/server/node_modules/@redocly/openapi-core/lib/oas-types.js +0 -35
- package/.output/server/node_modules/@redocly/openapi-core/lib/ref-utils.js +0 -110
- package/.output/server/node_modules/@redocly/openapi-core/lib/resolve.js +0 -326
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/ajv.js +0 -106
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/criteria-unique.js +0 -68
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/index.js +0 -54
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/outputs-defined.js +0 -139
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/parameters-unique.js +0 -27
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/requestBody-replacements-unique.js +0 -30
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescription-type.js +0 -19
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescriptions-name-unique.js +0 -21
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescriptions-not-empty.js +0 -15
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/step-onFailure-unique.js +0 -27
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/step-onSuccess-unique.js +0 -27
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/stepId-unique.js +0 -23
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/workflow-dependsOn.js +0 -53
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/workflowId-unique.js +0 -19
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/channels-kebab-case.js +0 -16
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/index.js +0 -34
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/no-channel-trailing-slash.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/channels-kebab-case.js +0 -16
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/index.js +0 -34
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/no-channel-trailing-slash.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/catalog-entity/entity-key-valid.js +0 -39
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/asserts.js +0 -272
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/index.js +0 -22
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/utils.js +0 -215
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-contact.js +0 -14
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-license-strict.js +0 -23
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-license.js +0 -14
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-ambiguous-paths.js +0 -42
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-duplicated-tag-names.js +0 -21
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-enum-type-mismatch.js +0 -38
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-http-verbs-in-paths.js +0 -33
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-identical-paths.js +0 -21
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-invalid-parameter-examples.js +0 -32
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-invalid-schema-examples.js +0 -34
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-mixed-number-range-constraints.js +0 -19
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-path-trailing-slash.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-required-schema-properties-undefined.js +0 -64
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-schema-type-mismatch.js +0 -19
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-unresolved-refs.js +0 -42
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-2xx-response.js +0 -20
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-4xx-response.js +0 -20
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-description.js +0 -9
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId-unique.js +0 -17
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId-url-safe.js +0 -15
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-parameters-unique.js +0 -37
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-singular-tag.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-summary.js +0 -9
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-tag-defined.js +0 -27
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/parameter-description.js +0 -19
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-declaration-must-exist.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-http-verbs-order.js +0 -23
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-not-include-query.js +0 -15
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-params-defined.js +0 -145
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-segment-plural.js +0 -30
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/paths-kebab-case.js +0 -17
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/required-string-property-missing-min-length.js +0 -34
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/response-contains-header.js +0 -26
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/scalar-property-missing-example.js +0 -39
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/security-defined.js +0 -62
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/spec-strict-refs.js +0 -27
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/struct.js +0 -150
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/tag-description.js +0 -9
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/tags-alphabetical.js +0 -18
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/boolean-parameter-prefixes.js +0 -19
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/index.js +0 -93
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/request-mime-type.js +0 -14
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/response-contains-property.js +0 -34
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/response-mime-type.js +0 -14
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/array-parameter-serialization.js +0 -26
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/boolean-parameter-prefixes.js +0 -21
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/component-name-unique.js +0 -130
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/index.js +0 -131
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-empty-servers.js +0 -20
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-example-value-and-externalValue.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-invalid-media-type-examples.js +0 -59
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-example.com.js +0 -15
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-trailing-slash.js +0 -15
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-variables-empty-enum.js +0 -58
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-undefined-server-variable.js +0 -28
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-unused-components.js +0 -83
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/nullable-type-sibling.js +0 -15
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/operation-4xx-problem-details-rfc7807.js +0 -33
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/request-mime-type.js +0 -28
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/response-contains-property.js +0 -36
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/response-mime-type.js +0 -28
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-components-invalid-map-name.js +0 -59
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-discriminator-defaultMapping.js +0 -53
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-example-values.js +0 -31
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-no-invalid-encoding-combinations.js +0 -16
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-no-invalid-tag-parents.js +0 -38
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-querystring-parameters.js +0 -65
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/index.js +0 -20
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/no-unused-components.js +0 -82
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/spec-no-duplicated-method-params.js +0 -28
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/spec-no-required-params-after-optional.js +0 -31
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/other/stats.js +0 -190
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/overlay1/index.js +0 -12
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-criteria-xpath.js +0 -20
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-x-security-both-scheme-and-scheme-name.js +0 -30
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-x-security-scheme-name-without-openapi.js +0 -25
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/respect-supported-versions.js +0 -18
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/x-security-scheme-name-reference.js +0 -35
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/x-security-scheme-required-values.js +0 -60
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/utils.js +0 -181
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/arazzo.js +0 -482
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/asyncapi2.js +0 -1157
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/asyncapi3.js +0 -511
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/entity.js +0 -32
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/index.js +0 -90
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/json-schema-adapter.js +0 -181
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/json-schema-draft7.shared.js +0 -101
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas2.js +0 -454
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3.js +0 -828
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3_1.js +0 -292
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3_2.js +0 -312
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/openrpc.js +0 -360
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/overlay.js +0 -61
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/redocly-yaml.js +0 -577
- package/.output/server/node_modules/@redocly/openapi-core/lib/typings/arazzo.js +0 -3
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/assign-config.js +0 -28
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/dequal.js +0 -36
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/does-yaml-file-exist.js +0 -7
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/error.js +0 -3
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-intersection-length.js +0 -11
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-matching-status-code-range.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-own.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/identity.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-custom-rule-id.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-defined.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-empty-array.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-empty-object.js +0 -5
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-empty-array.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-empty-object.js +0 -6
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-string.js +0 -5
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-ordered.js +0 -27
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-path-parameter.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-plain-object.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-string.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-truthy.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/keys-of.js +0 -6
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/make-ref-id.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/next-tick.js +0 -6
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/oas-has-component.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/omit.js +0 -8
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/pause.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/pluralize.js +0 -8
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/read-file-from-url.js +0 -26
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/regex-from-string.js +0 -5
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/scorecards.js +0 -99
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/slash.js +0 -11
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/split-camel-case-into-words.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/stack.js +0 -7
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/validate-mime-type.js +0 -31
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/yaml-fs-helper.js +0 -23
- package/.output/server/node_modules/@redocly/openapi-core/lib/visitors.js +0 -177
- package/.output/server/node_modules/@redocly/openapi-core/lib/walk.js +0 -315
- package/.output/server/node_modules/@redocly/openapi-core/package.json +0 -74
- package/.output/server/node_modules/@stoplight/ordered-object-literal/package.json +0 -53
- package/.output/server/node_modules/@stoplight/ordered-object-literal/src/index.cjs +0 -221
- package/.output/server/node_modules/@stoplight/types/dist/index.js +0 -129
- package/.output/server/node_modules/@stoplight/types/package.json +0 -81
- package/.output/server/node_modules/@stoplight/yaml/buildJsonPath.js +0 -41
- package/.output/server/node_modules/@stoplight/yaml/dereferenceAnchor.js +0 -38
- package/.output/server/node_modules/@stoplight/yaml/getJsonPathForPosition.js +0 -98
- package/.output/server/node_modules/@stoplight/yaml/getLocationForJsonPath.js +0 -145
- package/.output/server/node_modules/@stoplight/yaml/index.js +0 -16
- package/.output/server/node_modules/@stoplight/yaml/lineForPosition.js +0 -31
- package/.output/server/node_modules/@stoplight/yaml/package.json +0 -33
- package/.output/server/node_modules/@stoplight/yaml/parse.js +0 -5
- package/.output/server/node_modules/@stoplight/yaml/parseWithPointers.js +0 -456
- package/.output/server/node_modules/@stoplight/yaml/safeStringify.js +0 -5
- package/.output/server/node_modules/@stoplight/yaml/trapAccess.js +0 -11
- package/.output/server/node_modules/@stoplight/yaml/types.js +0 -6
- package/.output/server/node_modules/@stoplight/yaml/utils.js +0 -4
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/common.js +0 -45
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/dumper.js +0 -710
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/exception.js +0 -35
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/index.js +0 -22
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/loader.js +0 -1414
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/mark.js +0 -58
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/scalarInference.js +0 -90
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/core.js +0 -8
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/default_full.js +0 -14
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/default_safe.js +0 -19
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/failsafe.js +0 -10
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/json.js +0 -14
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema.js +0 -77
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/binary.js +0 -92
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/bool.js +0 -32
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/float.js +0 -94
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/int.js +0 -159
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/js/regexp.js +0 -64
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/js/undefined.js +0 -22
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/map.js +0 -7
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/merge.js +0 -10
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/null.js +0 -30
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/omap.js +0 -46
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/pairs.js +0 -55
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/seq.js +0 -7
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/set.js +0 -22
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/str.js +0 -7
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/timestamp.js +0 -70
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type.js +0 -53
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/yamlAST.js +0 -81
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/package.json +0 -38
- package/.output/server/node_modules/ajv-draft-04/dist/index.js +0 -50
- package/.output/server/node_modules/ajv-draft-04/dist/refs/json-schema-draft-04.json +0 -138
- package/.output/server/node_modules/ajv-draft-04/dist/vocabulary/core.js +0 -13
- package/.output/server/node_modules/ajv-draft-04/dist/vocabulary/draft4.js +0 -16
- package/.output/server/node_modules/ajv-draft-04/dist/vocabulary/validation/index.js +0 -35
- package/.output/server/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumber.js +0 -44
- package/.output/server/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumberExclusive.js +0 -19
- package/.output/server/node_modules/ajv-draft-04/package.json +0 -74
- package/.output/server/node_modules/ajv-formats/dist/formats.js +0 -208
- package/.output/server/node_modules/ajv-formats/dist/index.js +0 -37
- package/.output/server/node_modules/ajv-formats/dist/limit.js +0 -69
- package/.output/server/node_modules/ajv-formats/package.json +0 -74
- package/.output/server/node_modules/buffer-from/index.js +0 -72
- package/.output/server/node_modules/buffer-from/package.json +0 -19
- package/.output/server/node_modules/call-me-maybe/package.json +0 -45
- package/.output/server/node_modules/call-me-maybe/src/maybe.js +0 -18
- package/.output/server/node_modules/call-me-maybe/src/next.js +0 -15
- package/.output/server/node_modules/colorette/index.js +0 -82
- package/.output/server/node_modules/colorette/package.json +0 -39
- package/.output/server/node_modules/compute-gcd/lib/index.js +0 -212
- package/.output/server/node_modules/compute-gcd/package.json +0 -73
- package/.output/server/node_modules/compute-lcm/lib/index.js +0 -111
- package/.output/server/node_modules/compute-lcm/package.json +0 -71
- package/.output/server/node_modules/d/index.js +0 -62
- package/.output/server/node_modules/d/package.json +0 -92
- package/.output/server/node_modules/empathic/access.js +0 -39
- package/.output/server/node_modules/empathic/access.mjs +0 -34
- package/.output/server/node_modules/empathic/find.js +0 -81
- package/.output/server/node_modules/empathic/find.mjs +0 -76
- package/.output/server/node_modules/empathic/package.json +0 -49
- package/.output/server/node_modules/empathic/package.mjs +0 -52
- package/.output/server/node_modules/empathic/resolve.js +0 -31
- package/.output/server/node_modules/empathic/resolve.mjs +0 -27
- package/.output/server/node_modules/empathic/walk.js +0 -22
- package/.output/server/node_modules/empathic/walk.mjs +0 -20
- package/.output/server/node_modules/es5-ext/array/#/e-index-of.js +0 -28
- package/.output/server/node_modules/es5-ext/array/from/index.js +0 -3
- package/.output/server/node_modules/es5-ext/array/from/is-implemented.js +0 -9
- package/.output/server/node_modules/es5-ext/array/from/shim.js +0 -119
- package/.output/server/node_modules/es5-ext/array/to-array.js +0 -6
- package/.output/server/node_modules/es5-ext/error/custom.js +0 -20
- package/.output/server/node_modules/es5-ext/function/_define-length.js +0 -54
- package/.output/server/node_modules/es5-ext/function/is-arguments.js +0 -6
- package/.output/server/node_modules/es5-ext/function/is-function.js +0 -8
- package/.output/server/node_modules/es5-ext/function/noop.js +0 -4
- package/.output/server/node_modules/es5-ext/math/sign/index.js +0 -3
- package/.output/server/node_modules/es5-ext/math/sign/is-implemented.js +0 -7
- package/.output/server/node_modules/es5-ext/math/sign/shim.js +0 -7
- package/.output/server/node_modules/es5-ext/number/is-nan/index.js +0 -3
- package/.output/server/node_modules/es5-ext/number/is-nan/is-implemented.js +0 -7
- package/.output/server/node_modules/es5-ext/number/is-nan/shim.js +0 -6
- package/.output/server/node_modules/es5-ext/number/to-integer.js +0 -12
- package/.output/server/node_modules/es5-ext/number/to-pos-integer.js +0 -6
- package/.output/server/node_modules/es5-ext/object/_iterate.js +0 -30
- package/.output/server/node_modules/es5-ext/object/assign/index.js +0 -3
- package/.output/server/node_modules/es5-ext/object/assign/is-implemented.js +0 -9
- package/.output/server/node_modules/es5-ext/object/assign/shim.js +0 -23
- package/.output/server/node_modules/es5-ext/object/for-each.js +0 -3
- package/.output/server/node_modules/es5-ext/object/is-callable.js +0 -5
- package/.output/server/node_modules/es5-ext/object/is-object.js +0 -7
- package/.output/server/node_modules/es5-ext/object/is-value.js +0 -5
- package/.output/server/node_modules/es5-ext/object/keys/index.js +0 -3
- package/.output/server/node_modules/es5-ext/object/keys/is-implemented.js +0 -10
- package/.output/server/node_modules/es5-ext/object/keys/shim.js +0 -7
- package/.output/server/node_modules/es5-ext/object/map.js +0 -14
- package/.output/server/node_modules/es5-ext/object/mixin.js +0 -26
- package/.output/server/node_modules/es5-ext/object/normalize-options.js +0 -20
- package/.output/server/node_modules/es5-ext/object/primitive-set.js +0 -10
- package/.output/server/node_modules/es5-ext/object/valid-callable.js +0 -6
- package/.output/server/node_modules/es5-ext/object/valid-value.js +0 -8
- package/.output/server/node_modules/es5-ext/object/validate-stringifiable-value.js +0 -6
- package/.output/server/node_modules/es5-ext/object/validate-stringifiable.js +0 -12
- package/.output/server/node_modules/es5-ext/package.json +0 -127
- package/.output/server/node_modules/es5-ext/safe-to-string.js +0 -12
- package/.output/server/node_modules/es5-ext/string/#/contains/index.js +0 -3
- package/.output/server/node_modules/es5-ext/string/#/contains/is-implemented.js +0 -8
- package/.output/server/node_modules/es5-ext/string/#/contains/shim.js +0 -7
- package/.output/server/node_modules/es5-ext/string/is-string.js +0 -13
- package/.output/server/node_modules/es5-ext/to-short-string-representation.js +0 -16
- package/.output/server/node_modules/es6-symbol/index.js +0 -5
- package/.output/server/node_modules/es6-symbol/is-implemented.js +0 -20
- package/.output/server/node_modules/es6-symbol/is-symbol.js +0 -9
- package/.output/server/node_modules/es6-symbol/lib/private/generate-name.js +0 -28
- package/.output/server/node_modules/es6-symbol/lib/private/setup/standard-symbols.js +0 -34
- package/.output/server/node_modules/es6-symbol/lib/private/setup/symbol-registry.js +0 -23
- package/.output/server/node_modules/es6-symbol/package.json +0 -107
- package/.output/server/node_modules/es6-symbol/polyfill.js +0 -86
- package/.output/server/node_modules/es6-symbol/validate-symbol.js +0 -8
- package/.output/server/node_modules/event-emitter/index.js +0 -132
- package/.output/server/node_modules/event-emitter/package.json +0 -34
- package/.output/server/node_modules/ext/global-this/implementation.js +0 -31
- package/.output/server/node_modules/ext/global-this/index.js +0 -3
- package/.output/server/node_modules/ext/global-this/is-implemented.js +0 -7
- package/.output/server/node_modules/ext/package.json +0 -152
- package/.output/server/node_modules/fast-deep-equal/index.js +0 -46
- package/.output/server/node_modules/fast-deep-equal/package.json +0 -61
- package/.output/server/node_modules/fast-safe-stringify/index.js +0 -229
- package/.output/server/node_modules/fast-safe-stringify/package.json +0 -46
- package/.output/server/node_modules/fast-string-truncated-width/dist/index.js +0 -171
- package/.output/server/node_modules/fast-string-truncated-width/dist/utils.js +0 -15
- package/.output/server/node_modules/fast-string-truncated-width/package.json +0 -35
- package/.output/server/node_modules/fast-string-width/dist/index.js +0 -14
- package/.output/server/node_modules/fast-string-width/package.json +0 -34
- package/.output/server/node_modules/fast-uri/index.js +0 -340
- package/.output/server/node_modules/fast-uri/lib/schemes.js +0 -267
- package/.output/server/node_modules/fast-uri/lib/utils.js +0 -336
- package/.output/server/node_modules/fast-uri/package.json +0 -69
- package/.output/server/node_modules/fast-wrap-ansi/lib/main.js +0 -216
- package/.output/server/node_modules/fast-wrap-ansi/package.json +0 -51
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/base.js +0 -116
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js +0 -31
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js +0 -116
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js +0 -168
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js +0 -566
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js +0 -228
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js +0 -1166
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js +0 -737
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js +0 -186
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js +0 -140
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js +0 -221
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js +0 -29
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/decorators.js +0 -16
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/exception.js +0 -64
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js +0 -39
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js +0 -104
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js +0 -25
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js +0 -46
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js +0 -26
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js +0 -16
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js +0 -43
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers.js +0 -57
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js +0 -78
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js +0 -19
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/logger.js +0 -47
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js +0 -30
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/runtime.js +0 -379
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/safe-string.js +0 -15
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/utils.js +0 -124
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars.js +0 -66
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars.runtime.js +0 -66
- package/.output/server/node_modules/handlebars/lib/index.js +0 -26
- package/.output/server/node_modules/handlebars/package.json +0 -134
- package/.output/server/node_modules/http2-client/lib/http.js +0 -17
- package/.output/server/node_modules/http2-client/lib/https.js +0 -18
- package/.output/server/node_modules/http2-client/lib/index.js +0 -21
- package/.output/server/node_modules/http2-client/lib/request-options.js +0 -38
- package/.output/server/node_modules/http2-client/lib/request.js +0 -586
- package/.output/server/node_modules/http2-client/lib/utils.js +0 -67
- package/.output/server/node_modules/http2-client/package.json +0 -38
- package/.output/server/node_modules/is-promise/index.js +0 -6
- package/.output/server/node_modules/is-promise/package.json +0 -23
- package/.output/server/node_modules/js-levenshtein/index.js +0 -105
- package/.output/server/node_modules/js-levenshtein/package.json +0 -49
- package/.output/server/node_modules/js-tokens/index.js +0 -23
- package/.output/server/node_modules/js-tokens/package.json +0 -30
- package/.output/server/node_modules/js-yaml/dist/js-yaml.mjs +0 -3856
- package/.output/server/node_modules/js-yaml/index.js +0 -47
- package/.output/server/node_modules/js-yaml/lib/common.js +0 -59
- package/.output/server/node_modules/js-yaml/lib/dumper.js +0 -965
- package/.output/server/node_modules/js-yaml/lib/exception.js +0 -55
- package/.output/server/node_modules/js-yaml/lib/loader.js +0 -1733
- package/.output/server/node_modules/js-yaml/lib/schema/core.js +0 -11
- package/.output/server/node_modules/js-yaml/lib/schema/default.js +0 -22
- package/.output/server/node_modules/js-yaml/lib/schema/failsafe.js +0 -17
- package/.output/server/node_modules/js-yaml/lib/schema/json.js +0 -19
- package/.output/server/node_modules/js-yaml/lib/schema.js +0 -121
- package/.output/server/node_modules/js-yaml/lib/snippet.js +0 -101
- package/.output/server/node_modules/js-yaml/lib/type/binary.js +0 -125
- package/.output/server/node_modules/js-yaml/lib/type/bool.js +0 -35
- package/.output/server/node_modules/js-yaml/lib/type/float.js +0 -97
- package/.output/server/node_modules/js-yaml/lib/type/int.js +0 -156
- package/.output/server/node_modules/js-yaml/lib/type/map.js +0 -8
- package/.output/server/node_modules/js-yaml/lib/type/merge.js +0 -12
- package/.output/server/node_modules/js-yaml/lib/type/null.js +0 -35
- package/.output/server/node_modules/js-yaml/lib/type/omap.js +0 -44
- package/.output/server/node_modules/js-yaml/lib/type/pairs.js +0 -53
- package/.output/server/node_modules/js-yaml/lib/type/seq.js +0 -8
- package/.output/server/node_modules/js-yaml/lib/type/set.js +0 -29
- package/.output/server/node_modules/js-yaml/lib/type/str.js +0 -8
- package/.output/server/node_modules/js-yaml/lib/type/timestamp.js +0 -88
- package/.output/server/node_modules/js-yaml/lib/type.js +0 -66
- package/.output/server/node_modules/js-yaml/package.json +0 -66
- package/.output/server/node_modules/json-schema-compare/package.json +0 -52
- package/.output/server/node_modules/json-schema-compare/src/index.js +0 -184
- package/.output/server/node_modules/json-schema-merge-allof/package.json +0 -57
- package/.output/server/node_modules/json-schema-merge-allof/src/common.js +0 -45
- package/.output/server/node_modules/json-schema-merge-allof/src/complex-resolvers/items.js +0 -98
- package/.output/server/node_modules/json-schema-merge-allof/src/complex-resolvers/properties.js +0 -80
- package/.output/server/node_modules/json-schema-merge-allof/src/index.js +0 -343
- package/.output/server/node_modules/json-schema-traverse/index.js +0 -93
- package/.output/server/node_modules/json-schema-traverse/package.json +0 -43
- package/.output/server/node_modules/jsonc-parser/lib/umd/impl/edit.js +0 -201
- package/.output/server/node_modules/jsonc-parser/lib/umd/impl/format.js +0 -265
- package/.output/server/node_modules/jsonc-parser/lib/umd/impl/parser.js +0 -655
- package/.output/server/node_modules/jsonc-parser/lib/umd/impl/scanner.js +0 -456
- package/.output/server/node_modules/jsonc-parser/lib/umd/main.js +0 -194
- package/.output/server/node_modules/jsonc-parser/package.json +0 -40
- package/.output/server/node_modules/jsonpointer/jsonpointer.js +0 -100
- package/.output/server/node_modules/jsonpointer/package.json +0 -48
- package/.output/server/node_modules/leven/index.js +0 -77
- package/.output/server/node_modules/leven/package.json +0 -57
- package/.output/server/node_modules/lodash/_DataView.js +0 -7
- package/.output/server/node_modules/lodash/_Hash.js +0 -32
- package/.output/server/node_modules/lodash/_ListCache.js +0 -32
- package/.output/server/node_modules/lodash/_Map.js +0 -7
- package/.output/server/node_modules/lodash/_MapCache.js +0 -32
- package/.output/server/node_modules/lodash/_Promise.js +0 -7
- package/.output/server/node_modules/lodash/_Set.js +0 -7
- package/.output/server/node_modules/lodash/_SetCache.js +0 -27
- package/.output/server/node_modules/lodash/_Stack.js +0 -27
- package/.output/server/node_modules/lodash/_Symbol.js +0 -6
- package/.output/server/node_modules/lodash/_Uint8Array.js +0 -6
- package/.output/server/node_modules/lodash/_WeakMap.js +0 -7
- package/.output/server/node_modules/lodash/_apply.js +0 -21
- package/.output/server/node_modules/lodash/_arrayEach.js +0 -22
- package/.output/server/node_modules/lodash/_arrayFilter.js +0 -25
- package/.output/server/node_modules/lodash/_arrayIncludes.js +0 -17
- package/.output/server/node_modules/lodash/_arrayIncludesWith.js +0 -22
- package/.output/server/node_modules/lodash/_arrayLikeKeys.js +0 -49
- package/.output/server/node_modules/lodash/_arrayMap.js +0 -21
- package/.output/server/node_modules/lodash/_arrayPush.js +0 -20
- package/.output/server/node_modules/lodash/_arraySome.js +0 -23
- package/.output/server/node_modules/lodash/_assignMergeValue.js +0 -20
- package/.output/server/node_modules/lodash/_assignValue.js +0 -28
- package/.output/server/node_modules/lodash/_assocIndexOf.js +0 -21
- package/.output/server/node_modules/lodash/_baseAssign.js +0 -17
- package/.output/server/node_modules/lodash/_baseAssignIn.js +0 -17
- package/.output/server/node_modules/lodash/_baseAssignValue.js +0 -25
- package/.output/server/node_modules/lodash/_baseClone.js +0 -166
- package/.output/server/node_modules/lodash/_baseCreate.js +0 -30
- package/.output/server/node_modules/lodash/_baseDifference.js +0 -67
- package/.output/server/node_modules/lodash/_baseEach.js +0 -14
- package/.output/server/node_modules/lodash/_baseFindIndex.js +0 -24
- package/.output/server/node_modules/lodash/_baseFlatten.js +0 -38
- package/.output/server/node_modules/lodash/_baseFor.js +0 -16
- package/.output/server/node_modules/lodash/_baseForOwn.js +0 -16
- package/.output/server/node_modules/lodash/_baseGet.js +0 -24
- package/.output/server/node_modules/lodash/_baseGetAllKeys.js +0 -20
- package/.output/server/node_modules/lodash/_baseGetTag.js +0 -28
- package/.output/server/node_modules/lodash/_baseHasIn.js +0 -13
- package/.output/server/node_modules/lodash/_baseIndexOf.js +0 -20
- package/.output/server/node_modules/lodash/_baseIndexOfWith.js +0 -23
- package/.output/server/node_modules/lodash/_baseIntersection.js +0 -74
- package/.output/server/node_modules/lodash/_baseIsArguments.js +0 -18
- package/.output/server/node_modules/lodash/_baseIsEqual.js +0 -28
- package/.output/server/node_modules/lodash/_baseIsEqualDeep.js +0 -83
- package/.output/server/node_modules/lodash/_baseIsMap.js +0 -18
- package/.output/server/node_modules/lodash/_baseIsMatch.js +0 -62
- package/.output/server/node_modules/lodash/_baseIsNaN.js +0 -12
- package/.output/server/node_modules/lodash/_baseIsNative.js +0 -47
- package/.output/server/node_modules/lodash/_baseIsSet.js +0 -18
- package/.output/server/node_modules/lodash/_baseIsTypedArray.js +0 -60
- package/.output/server/node_modules/lodash/_baseIteratee.js +0 -31
- package/.output/server/node_modules/lodash/_baseKeys.js +0 -30
- package/.output/server/node_modules/lodash/_baseKeysIn.js +0 -33
- package/.output/server/node_modules/lodash/_baseMap.js +0 -22
- package/.output/server/node_modules/lodash/_baseMatches.js +0 -22
- package/.output/server/node_modules/lodash/_baseMatchesProperty.js +0 -33
- package/.output/server/node_modules/lodash/_baseMerge.js +0 -42
- package/.output/server/node_modules/lodash/_baseMergeDeep.js +0 -94
- package/.output/server/node_modules/lodash/_baseOrderBy.js +0 -49
- package/.output/server/node_modules/lodash/_baseProperty.js +0 -14
- package/.output/server/node_modules/lodash/_basePropertyDeep.js +0 -16
- package/.output/server/node_modules/lodash/_basePullAll.js +0 -51
- package/.output/server/node_modules/lodash/_baseRest.js +0 -17
- package/.output/server/node_modules/lodash/_baseSetToString.js +0 -22
- package/.output/server/node_modules/lodash/_baseSortBy.js +0 -21
- package/.output/server/node_modules/lodash/_baseTimes.js +0 -20
- package/.output/server/node_modules/lodash/_baseToString.js +0 -37
- package/.output/server/node_modules/lodash/_baseUnary.js +0 -14
- package/.output/server/node_modules/lodash/_baseUniq.js +0 -72
- package/.output/server/node_modules/lodash/_cacheHas.js +0 -13
- package/.output/server/node_modules/lodash/_castArrayLikeObject.js +0 -14
- package/.output/server/node_modules/lodash/_castFunction.js +0 -14
- package/.output/server/node_modules/lodash/_castPath.js +0 -21
- package/.output/server/node_modules/lodash/_cloneArrayBuffer.js +0 -16
- package/.output/server/node_modules/lodash/_cloneBuffer.js +0 -35
- package/.output/server/node_modules/lodash/_cloneDataView.js +0 -16
- package/.output/server/node_modules/lodash/_cloneRegExp.js +0 -17
- package/.output/server/node_modules/lodash/_cloneSymbol.js +0 -18
- package/.output/server/node_modules/lodash/_cloneTypedArray.js +0 -16
- package/.output/server/node_modules/lodash/_compareAscending.js +0 -41
- package/.output/server/node_modules/lodash/_compareMultiple.js +0 -44
- package/.output/server/node_modules/lodash/_copyArray.js +0 -20
- package/.output/server/node_modules/lodash/_copyObject.js +0 -40
- package/.output/server/node_modules/lodash/_copySymbols.js +0 -16
- package/.output/server/node_modules/lodash/_copySymbolsIn.js +0 -16
- package/.output/server/node_modules/lodash/_coreJsData.js +0 -6
- package/.output/server/node_modules/lodash/_createAssigner.js +0 -37
- package/.output/server/node_modules/lodash/_createBaseEach.js +0 -32
- package/.output/server/node_modules/lodash/_createBaseFor.js +0 -25
- package/.output/server/node_modules/lodash/_createSet.js +0 -19
- package/.output/server/node_modules/lodash/_customDefaultsMerge.js +0 -28
- package/.output/server/node_modules/lodash/_defineProperty.js +0 -11
- package/.output/server/node_modules/lodash/_equalArrays.js +0 -84
- package/.output/server/node_modules/lodash/_equalByTag.js +0 -112
- package/.output/server/node_modules/lodash/_equalObjects.js +0 -90
- package/.output/server/node_modules/lodash/_freeGlobal.js +0 -4
- package/.output/server/node_modules/lodash/_getAllKeys.js +0 -16
- package/.output/server/node_modules/lodash/_getAllKeysIn.js +0 -17
- package/.output/server/node_modules/lodash/_getMapData.js +0 -18
- package/.output/server/node_modules/lodash/_getMatchData.js +0 -24
- package/.output/server/node_modules/lodash/_getNative.js +0 -17
- package/.output/server/node_modules/lodash/_getPrototype.js +0 -6
- package/.output/server/node_modules/lodash/_getRawTag.js +0 -46
- package/.output/server/node_modules/lodash/_getSymbols.js +0 -30
- package/.output/server/node_modules/lodash/_getSymbolsIn.js +0 -25
- package/.output/server/node_modules/lodash/_getTag.js +0 -58
- package/.output/server/node_modules/lodash/_getValue.js +0 -13
- package/.output/server/node_modules/lodash/_hasPath.js +0 -39
- package/.output/server/node_modules/lodash/_hashClear.js +0 -15
- package/.output/server/node_modules/lodash/_hashDelete.js +0 -17
- package/.output/server/node_modules/lodash/_hashGet.js +0 -30
- package/.output/server/node_modules/lodash/_hashHas.js +0 -23
- package/.output/server/node_modules/lodash/_hashSet.js +0 -23
- package/.output/server/node_modules/lodash/_initCloneArray.js +0 -26
- package/.output/server/node_modules/lodash/_initCloneByTag.js +0 -77
- package/.output/server/node_modules/lodash/_initCloneObject.js +0 -18
- package/.output/server/node_modules/lodash/_isFlattenable.js +0 -20
- package/.output/server/node_modules/lodash/_isIndex.js +0 -25
- package/.output/server/node_modules/lodash/_isIterateeCall.js +0 -30
- package/.output/server/node_modules/lodash/_isKey.js +0 -29
- package/.output/server/node_modules/lodash/_isKeyable.js +0 -15
- package/.output/server/node_modules/lodash/_isMasked.js +0 -20
- package/.output/server/node_modules/lodash/_isPrototype.js +0 -18
- package/.output/server/node_modules/lodash/_isStrictComparable.js +0 -15
- package/.output/server/node_modules/lodash/_listCacheClear.js +0 -13
- package/.output/server/node_modules/lodash/_listCacheDelete.js +0 -35
- package/.output/server/node_modules/lodash/_listCacheGet.js +0 -19
- package/.output/server/node_modules/lodash/_listCacheHas.js +0 -16
- package/.output/server/node_modules/lodash/_listCacheSet.js +0 -26
- package/.output/server/node_modules/lodash/_mapCacheClear.js +0 -21
- package/.output/server/node_modules/lodash/_mapCacheDelete.js +0 -18
- package/.output/server/node_modules/lodash/_mapCacheGet.js +0 -16
- package/.output/server/node_modules/lodash/_mapCacheHas.js +0 -16
- package/.output/server/node_modules/lodash/_mapCacheSet.js +0 -22
- package/.output/server/node_modules/lodash/_mapToArray.js +0 -18
- package/.output/server/node_modules/lodash/_matchesStrictComparable.js +0 -20
- package/.output/server/node_modules/lodash/_memoizeCapped.js +0 -26
- package/.output/server/node_modules/lodash/_nativeCreate.js +0 -6
- package/.output/server/node_modules/lodash/_nativeKeys.js +0 -6
- package/.output/server/node_modules/lodash/_nativeKeysIn.js +0 -20
- package/.output/server/node_modules/lodash/_nodeUtil.js +0 -30
- package/.output/server/node_modules/lodash/_objectToString.js +0 -22
- package/.output/server/node_modules/lodash/_overArg.js +0 -15
- package/.output/server/node_modules/lodash/_overRest.js +0 -36
- package/.output/server/node_modules/lodash/_root.js +0 -9
- package/.output/server/node_modules/lodash/_safeGet.js +0 -21
- package/.output/server/node_modules/lodash/_setCacheAdd.js +0 -19
- package/.output/server/node_modules/lodash/_setCacheHas.js +0 -14
- package/.output/server/node_modules/lodash/_setToArray.js +0 -18
- package/.output/server/node_modules/lodash/_setToString.js +0 -14
- package/.output/server/node_modules/lodash/_shortOut.js +0 -37
- package/.output/server/node_modules/lodash/_stackClear.js +0 -15
- package/.output/server/node_modules/lodash/_stackDelete.js +0 -18
- package/.output/server/node_modules/lodash/_stackGet.js +0 -14
- package/.output/server/node_modules/lodash/_stackHas.js +0 -14
- package/.output/server/node_modules/lodash/_stackSet.js +0 -34
- package/.output/server/node_modules/lodash/_strictIndexOf.js +0 -23
- package/.output/server/node_modules/lodash/_stringToPath.js +0 -27
- package/.output/server/node_modules/lodash/_toKey.js +0 -21
- package/.output/server/node_modules/lodash/_toSource.js +0 -26
- package/.output/server/node_modules/lodash/cloneDeep.js +0 -29
- package/.output/server/node_modules/lodash/constant.js +0 -26
- package/.output/server/node_modules/lodash/defaults.js +0 -64
- package/.output/server/node_modules/lodash/defaultsDeep.js +0 -30
- package/.output/server/node_modules/lodash/eq.js +0 -37
- package/.output/server/node_modules/lodash/flatten.js +0 -22
- package/.output/server/node_modules/lodash/flattenDeep.js +0 -25
- package/.output/server/node_modules/lodash/forEach.js +0 -41
- package/.output/server/node_modules/lodash/get.js +0 -33
- package/.output/server/node_modules/lodash/hasIn.js +0 -34
- package/.output/server/node_modules/lodash/identity.js +0 -21
- package/.output/server/node_modules/lodash/intersection.js +0 -30
- package/.output/server/node_modules/lodash/intersectionWith.js +0 -41
- package/.output/server/node_modules/lodash/isArguments.js +0 -36
- package/.output/server/node_modules/lodash/isArray.js +0 -26
- package/.output/server/node_modules/lodash/isArrayLike.js +0 -33
- package/.output/server/node_modules/lodash/isArrayLikeObject.js +0 -33
- package/.output/server/node_modules/lodash/isBoolean.js +0 -29
- package/.output/server/node_modules/lodash/isBuffer.js +0 -38
- package/.output/server/node_modules/lodash/isEqual.js +0 -35
- package/.output/server/node_modules/lodash/isFunction.js +0 -37
- package/.output/server/node_modules/lodash/isLength.js +0 -35
- package/.output/server/node_modules/lodash/isMap.js +0 -27
- package/.output/server/node_modules/lodash/isObject.js +0 -31
- package/.output/server/node_modules/lodash/isObjectLike.js +0 -29
- package/.output/server/node_modules/lodash/isPlainObject.js +0 -62
- package/.output/server/node_modules/lodash/isSet.js +0 -27
- package/.output/server/node_modules/lodash/isSymbol.js +0 -29
- package/.output/server/node_modules/lodash/isTypedArray.js +0 -27
- package/.output/server/node_modules/lodash/keys.js +0 -37
- package/.output/server/node_modules/lodash/keysIn.js +0 -32
- package/.output/server/node_modules/lodash/last.js +0 -20
- package/.output/server/node_modules/lodash/memoize.js +0 -73
- package/.output/server/node_modules/lodash/mergeWith.js +0 -39
- package/.output/server/node_modules/lodash/noop.js +0 -17
- package/.output/server/node_modules/lodash/package.json +0 -19
- package/.output/server/node_modules/lodash/property.js +0 -32
- package/.output/server/node_modules/lodash/pullAll.js +0 -29
- package/.output/server/node_modules/lodash/sortBy.js +0 -48
- package/.output/server/node_modules/lodash/stubArray.js +0 -23
- package/.output/server/node_modules/lodash/stubFalse.js +0 -18
- package/.output/server/node_modules/lodash/toPlainObject.js +0 -32
- package/.output/server/node_modules/lodash/toString.js +0 -28
- package/.output/server/node_modules/lodash/uniq.js +0 -25
- package/.output/server/node_modules/lodash/uniqWith.js +0 -28
- package/.output/server/node_modules/lodash/without.js +0 -31
- package/.output/server/node_modules/lodash.camelcase/index.js +0 -599
- package/.output/server/node_modules/lodash.camelcase/package.json +0 -19
- package/.output/server/node_modules/lru-queue/index.js +0 -48
- package/.output/server/node_modules/lru-queue/package.json +0 -25
- package/.output/server/node_modules/marked/lib/marked.cjs +0 -2811
- package/.output/server/node_modules/marked/package.json +0 -93
- package/.output/server/node_modules/memoizee/ext/async.js +0 -154
- package/.output/server/node_modules/memoizee/ext/dispose.js +0 -27
- package/.output/server/node_modules/memoizee/ext/max-age.js +0 -90
- package/.output/server/node_modules/memoizee/ext/max.js +0 -32
- package/.output/server/node_modules/memoizee/ext/promise.js +0 -147
- package/.output/server/node_modules/memoizee/ext/ref-counter.js +0 -42
- package/.output/server/node_modules/memoizee/index.js +0 -34
- package/.output/server/node_modules/memoizee/lib/configure-map.js +0 -182
- package/.output/server/node_modules/memoizee/lib/registered-extensions.js +0 -1
- package/.output/server/node_modules/memoizee/lib/resolve-length.js +0 -15
- package/.output/server/node_modules/memoizee/lib/resolve-normalize.js +0 -17
- package/.output/server/node_modules/memoizee/lib/resolve-resolve.js +0 -19
- package/.output/server/node_modules/memoizee/normalizers/get-1.js +0 -29
- package/.output/server/node_modules/memoizee/normalizers/get-fixed.js +0 -71
- package/.output/server/node_modules/memoizee/normalizers/get-primitive-fixed.js +0 -14
- package/.output/server/node_modules/memoizee/normalizers/get.js +0 -90
- package/.output/server/node_modules/memoizee/normalizers/primitive.js +0 -9
- package/.output/server/node_modules/memoizee/package.json +0 -114
- package/.output/server/node_modules/memoizee/plain.js +0 -37
- package/.output/server/node_modules/mustache/mustache.js +0 -772
- package/.output/server/node_modules/mustache/package.json +0 -67
- package/.output/server/node_modules/next-tick/index.js +0 -74
- package/.output/server/node_modules/next-tick/package.json +0 -27
- package/.output/server/node_modules/node-fetch-h2/lib/index.js +0 -1585
- package/.output/server/node_modules/node-fetch-h2/package.json +0 -68
- package/.output/server/node_modules/oas/dist/chunk-5EP6HY2E.js +0 -943
- package/.output/server/node_modules/oas/dist/chunk-7MARUOFZ.js +0 -24
- package/.output/server/node_modules/oas/dist/chunk-HGVFNEKW.js +0 -1684
- package/.output/server/node_modules/oas/dist/chunk-LSH3X5NA.js +0 -822
- package/.output/server/node_modules/oas/dist/chunk-S27IGTVG.js +0 -95
- package/.output/server/node_modules/oas/dist/chunk-VA3NKXX7.js +0 -9
- package/.output/server/node_modules/oas/dist/index.js +0 -12
- package/.output/server/node_modules/oas/dist/types.js +0 -15
- package/.output/server/node_modules/oas/dist/utils.js +0 -19
- package/.output/server/node_modules/oas/package.json +0 -113
- package/.output/server/node_modules/oas-kit-common/index.js +0 -137
- package/.output/server/node_modules/oas-kit-common/package.json +0 -28
- package/.output/server/node_modules/oas-normalize/dist/chunk-45XXAYDL.js +0 -19
- package/.output/server/node_modules/oas-normalize/dist/chunk-SZISBDLH.js +0 -86
- package/.output/server/node_modules/oas-normalize/dist/index.js +0 -248
- package/.output/server/node_modules/oas-normalize/package.json +0 -87
- package/.output/server/node_modules/oas-resolver/index.js +0 -535
- package/.output/server/node_modules/oas-resolver/package.json +0 -40
- package/.output/server/node_modules/oas-schema-walker/index.js +0 -125
- package/.output/server/node_modules/oas-schema-walker/package.json +0 -27
- package/.output/server/node_modules/p-limit/index.js +0 -127
- package/.output/server/node_modules/p-limit/package.json +0 -58
- package/.output/server/node_modules/path-to-regexp/dist/index.js +0 -431
- package/.output/server/node_modules/path-to-regexp/package.json +0 -64
- package/.output/server/node_modules/picocolors/package.json +0 -25
- package/.output/server/node_modules/picocolors/picocolors.js +0 -75
- package/.output/server/node_modules/pluralize/package.json +0 -40
- package/.output/server/node_modules/pluralize/pluralize.js +0 -503
- package/.output/server/node_modules/react-devtools-core/dist/backend.js +0 -18302
- package/.output/server/node_modules/react-devtools-core/package.json +0 -38
- package/.output/server/node_modules/reftools/lib/clone.js +0 -102
- package/.output/server/node_modules/reftools/lib/dereference.js +0 -105
- package/.output/server/node_modules/reftools/lib/isref.js +0 -10
- package/.output/server/node_modules/reftools/lib/jptr.js +0 -97
- package/.output/server/node_modules/reftools/lib/recurse.js +0 -62
- package/.output/server/node_modules/reftools/package.json +0 -37
- package/.output/server/node_modules/remove-undefined-objects/dist/index.mjs +0 -94
- package/.output/server/node_modules/remove-undefined-objects/package.json +0 -47
- package/.output/server/node_modules/semver/classes/comparator.js +0 -143
- package/.output/server/node_modules/semver/classes/range.js +0 -557
- package/.output/server/node_modules/semver/classes/semver.js +0 -333
- package/.output/server/node_modules/semver/functions/clean.js +0 -8
- package/.output/server/node_modules/semver/functions/cmp.js +0 -54
- package/.output/server/node_modules/semver/functions/coerce.js +0 -62
- package/.output/server/node_modules/semver/functions/compare-build.js +0 -9
- package/.output/server/node_modules/semver/functions/compare-loose.js +0 -5
- package/.output/server/node_modules/semver/functions/compare.js +0 -7
- package/.output/server/node_modules/semver/functions/diff.js +0 -60
- package/.output/server/node_modules/semver/functions/eq.js +0 -5
- package/.output/server/node_modules/semver/functions/gt.js +0 -5
- package/.output/server/node_modules/semver/functions/gte.js +0 -5
- package/.output/server/node_modules/semver/functions/inc.js +0 -21
- package/.output/server/node_modules/semver/functions/lt.js +0 -5
- package/.output/server/node_modules/semver/functions/lte.js +0 -5
- package/.output/server/node_modules/semver/functions/major.js +0 -5
- package/.output/server/node_modules/semver/functions/minor.js +0 -5
- package/.output/server/node_modules/semver/functions/neq.js +0 -5
- package/.output/server/node_modules/semver/functions/parse.js +0 -18
- package/.output/server/node_modules/semver/functions/patch.js +0 -5
- package/.output/server/node_modules/semver/functions/prerelease.js +0 -8
- package/.output/server/node_modules/semver/functions/rcompare.js +0 -5
- package/.output/server/node_modules/semver/functions/rsort.js +0 -5
- package/.output/server/node_modules/semver/functions/satisfies.js +0 -12
- package/.output/server/node_modules/semver/functions/sort.js +0 -5
- package/.output/server/node_modules/semver/functions/valid.js +0 -8
- package/.output/server/node_modules/semver/index.js +0 -91
- package/.output/server/node_modules/semver/internal/constants.js +0 -37
- package/.output/server/node_modules/semver/internal/debug.js +0 -11
- package/.output/server/node_modules/semver/internal/identifiers.js +0 -29
- package/.output/server/node_modules/semver/internal/lrucache.js +0 -42
- package/.output/server/node_modules/semver/internal/parse-options.js +0 -17
- package/.output/server/node_modules/semver/internal/re.js +0 -223
- package/.output/server/node_modules/semver/package.json +0 -78
- package/.output/server/node_modules/semver/preload.js +0 -4
- package/.output/server/node_modules/semver/ranges/gtr.js +0 -6
- package/.output/server/node_modules/semver/ranges/intersects.js +0 -9
- package/.output/server/node_modules/semver/ranges/ltr.js +0 -6
- package/.output/server/node_modules/semver/ranges/max-satisfying.js +0 -27
- package/.output/server/node_modules/semver/ranges/min-satisfying.js +0 -26
- package/.output/server/node_modules/semver/ranges/min-version.js +0 -63
- package/.output/server/node_modules/semver/ranges/outside.js +0 -82
- package/.output/server/node_modules/semver/ranges/simplify.js +0 -49
- package/.output/server/node_modules/semver/ranges/subset.js +0 -249
- package/.output/server/node_modules/semver/ranges/to-comparators.js +0 -10
- package/.output/server/node_modules/semver/ranges/valid.js +0 -13
- package/.output/server/node_modules/sisteransi/package.json +0 -34
- package/.output/server/node_modules/sisteransi/src/index.js +0 -58
- package/.output/server/node_modules/source-map/lib/array-set.js +0 -121
- package/.output/server/node_modules/source-map/lib/base64-vlq.js +0 -140
- package/.output/server/node_modules/source-map/lib/base64.js +0 -67
- package/.output/server/node_modules/source-map/lib/binary-search.js +0 -111
- package/.output/server/node_modules/source-map/lib/mapping-list.js +0 -79
- package/.output/server/node_modules/source-map/lib/quick-sort.js +0 -114
- package/.output/server/node_modules/source-map/lib/source-map-consumer.js +0 -1145
- package/.output/server/node_modules/source-map/lib/source-map-generator.js +0 -425
- package/.output/server/node_modules/source-map/lib/source-node.js +0 -413
- package/.output/server/node_modules/source-map/lib/util.js +0 -488
- package/.output/server/node_modules/source-map/package.json +0 -73
- package/.output/server/node_modules/source-map/source-map.js +0 -8
- package/.output/server/node_modules/source-map-support/package.json +0 -31
- package/.output/server/node_modules/source-map-support/source-map-support.js +0 -625
- package/.output/server/node_modules/swagger2openapi/index.js +0 -1666
- package/.output/server/node_modules/swagger2openapi/lib/statusCodes.js +0 -19
- package/.output/server/node_modules/swagger2openapi/package.json +0 -63
- package/.output/server/node_modules/timers-ext/max-timeout.js +0 -3
- package/.output/server/node_modules/timers-ext/package.json +0 -97
- package/.output/server/node_modules/timers-ext/valid-timeout.js +0 -10
- package/.output/server/node_modules/tslib/package.json +0 -47
- package/.output/server/node_modules/tslib/tslib.js +0 -484
- package/.output/server/node_modules/type/function/is.js +0 -19
- package/.output/server/node_modules/type/object/is.js +0 -11
- package/.output/server/node_modules/type/package.json +0 -121
- package/.output/server/node_modules/type/plain-function/is.js +0 -11
- package/.output/server/node_modules/type/prototype/is.js +0 -13
- package/.output/server/node_modules/type/value/is.js +0 -6
- package/.output/server/node_modules/typescript/lib/typescript.js +0 -200276
- package/.output/server/node_modules/typescript/package.json +0 -120
- package/.output/server/node_modules/validate.io-array/lib/index.js +0 -16
- package/.output/server/node_modules/validate.io-array/package.json +0 -51
- package/.output/server/node_modules/validate.io-function/lib/index.js +0 -45
- package/.output/server/node_modules/validate.io-function/package.json +0 -53
- package/.output/server/node_modules/validate.io-integer/lib/index.js +0 -52
- package/.output/server/node_modules/validate.io-integer/package.json +0 -58
- package/.output/server/node_modules/validate.io-integer-array/lib/index.js +0 -66
- package/.output/server/node_modules/validate.io-integer-array/package.json +0 -58
- package/.output/server/node_modules/validate.io-number/lib/index.js +0 -45
- package/.output/server/node_modules/validate.io-number/package.json +0 -55
- package/.output/server/node_modules/yaml/dist/Document-a8d0fbf9.js +0 -637
- package/.output/server/node_modules/yaml/dist/PlainValue-516d5bc2.js +0 -765
- package/.output/server/node_modules/yaml/dist/Schema-bcc6c2d7.js +0 -469
- package/.output/server/node_modules/yaml/dist/index.js +0 -67
- package/.output/server/node_modules/yaml/dist/parse-cst.js +0 -1507
- package/.output/server/node_modules/yaml/dist/resolveSeq-95613e94.js +0 -1859
- package/.output/server/node_modules/yaml/dist/warnings-793925ce.js +0 -359
- package/.output/server/node_modules/yaml/index.js +0 -1
- package/.output/server/node_modules/yaml/package.json +0 -105
- package/.output/server/node_modules/yaml-ast-parser/dist/src/common.js +0 -45
- package/.output/server/node_modules/yaml-ast-parser/dist/src/dumper.js +0 -644
- package/.output/server/node_modules/yaml-ast-parser/dist/src/exception.js +0 -40
- package/.output/server/node_modules/yaml-ast-parser/dist/src/index.js +0 -22
- package/.output/server/node_modules/yaml-ast-parser/dist/src/loader.js +0 -1416
- package/.output/server/node_modules/yaml-ast-parser/dist/src/mark.js +0 -62
- package/.output/server/node_modules/yaml-ast-parser/dist/src/scalarInference.js +0 -82
- package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/core.js +0 -8
- package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/default_full.js +0 -14
- package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/default_safe.js +0 -19
- package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/failsafe.js +0 -10
- package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/json.js +0 -14
- package/.output/server/node_modules/yaml-ast-parser/dist/src/schema.js +0 -78
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/binary.js +0 -92
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/bool.js +0 -32
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/float.js +0 -95
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/int.js +0 -155
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/js/regexp.js +0 -64
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/js/undefined.js +0 -22
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/map.js +0 -7
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/merge.js +0 -10
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/null.js +0 -30
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/omap.js +0 -46
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/pairs.js +0 -55
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/seq.js +0 -7
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/set.js +0 -22
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/str.js +0 -7
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/timestamp.js +0 -70
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type.js +0 -54
- package/.output/server/node_modules/yaml-ast-parser/dist/src/yamlAST.js +0 -82
- package/.output/server/node_modules/yaml-ast-parser/package.json +0 -39
- package/.output/server/node_modules/yocto-queue/index.js +0 -90
- package/.output/server/node_modules/yocto-queue/package.json +0 -48
- /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/index.js +0 -0
- /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/lib/constants.js +0 -0
- /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/lib/parse.js +0 -0
- /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/lib/picomatch.js +0 -0
- /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/lib/scan.js +0 -0
- /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/lib/utils.js +0 -0
- /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/package.json +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/buffer-util.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/lib/constants.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/event-target.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/extension.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/limiter.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/lib/permessage-deflate.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/receiver.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/lib/sender.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/lib/stream.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/subprotocol.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/validation.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/lib/websocket-server.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/lib/websocket.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/package.json +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/wrapper.mjs +0 -0
|
@@ -1,1520 +0,0 @@
|
|
|
1
|
-
import { t as __name } from "./chunk--u3MIqq1.js";
|
|
2
|
-
import { isAllOptional, isOptional } from "@kubb/oas";
|
|
3
|
-
import { getComments, getPathParams } from "@kubb/plugin-oas/utils";
|
|
4
|
-
import { File, Function as Function$1, FunctionParams, Type } from "@kubb/react-fabric";
|
|
5
|
-
import { Fragment, jsx, jsxs } from "@kubb/react-fabric/jsx-runtime";
|
|
6
|
-
import { Client } from "@kubb/plugin-client/components";
|
|
7
|
-
//#region ../../internals/utils/src/casing.ts
|
|
8
|
-
/**
|
|
9
|
-
* Shared implementation for camelCase and PascalCase conversion.
|
|
10
|
-
* Splits on common word boundaries (spaces, hyphens, underscores, dots, slashes, colons)
|
|
11
|
-
* and capitalizes each word according to `pascal`.
|
|
12
|
-
*
|
|
13
|
-
* When `pascal` is `true` the first word is also capitalized (PascalCase), otherwise only subsequent words are.
|
|
14
|
-
*/
|
|
15
|
-
function toCamelOrPascal(text, pascal) {
|
|
16
|
-
return text.trim().replace(/([a-z\d])([A-Z])/g, "$1 $2").replace(/([A-Z]+)([A-Z][a-z])/g, "$1 $2").replace(/(\d)([a-z])/g, "$1 $2").split(/[\s\-_./\\:]+/).filter(Boolean).map((word, i) => {
|
|
17
|
-
if (word.length > 1 && word === word.toUpperCase()) return word;
|
|
18
|
-
if (i === 0 && !pascal) return word.charAt(0).toLowerCase() + word.slice(1);
|
|
19
|
-
return word.charAt(0).toUpperCase() + word.slice(1);
|
|
20
|
-
}).join("").replace(/[^a-zA-Z0-9]/g, "");
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Splits `text` on `.` and applies `transformPart` to each segment.
|
|
24
|
-
* The last segment receives `isLast = true`, all earlier segments receive `false`.
|
|
25
|
-
* Segments are joined with `/` to form a file path.
|
|
26
|
-
*/
|
|
27
|
-
function applyToFileParts(text, transformPart) {
|
|
28
|
-
const parts = text.split(".");
|
|
29
|
-
return parts.map((part, i) => transformPart(part, i === parts.length - 1)).join("/");
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Converts `text` to camelCase.
|
|
33
|
-
* When `isFile` is `true`, dot-separated segments are each cased independently and joined with `/`.
|
|
34
|
-
*
|
|
35
|
-
* @example
|
|
36
|
-
* camelCase('hello-world') // 'helloWorld'
|
|
37
|
-
* camelCase('pet.petId', { isFile: true }) // 'pet/petId'
|
|
38
|
-
*/
|
|
39
|
-
function camelCase(text, { isFile, prefix = "", suffix = "" } = {}) {
|
|
40
|
-
if (isFile) return applyToFileParts(text, (part, isLast) => camelCase(part, isLast ? {
|
|
41
|
-
prefix,
|
|
42
|
-
suffix
|
|
43
|
-
} : {}));
|
|
44
|
-
return toCamelOrPascal(`${prefix} ${text} ${suffix}`, false);
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Converts `text` to PascalCase.
|
|
48
|
-
* When `isFile` is `true`, the last dot-separated segment is PascalCased and earlier segments are camelCased.
|
|
49
|
-
*
|
|
50
|
-
* @example
|
|
51
|
-
* pascalCase('hello-world') // 'HelloWorld'
|
|
52
|
-
* pascalCase('pet.petId', { isFile: true }) // 'pet/PetId'
|
|
53
|
-
*/
|
|
54
|
-
function pascalCase(text, { isFile, prefix = "", suffix = "" } = {}) {
|
|
55
|
-
if (isFile) return applyToFileParts(text, (part, isLast) => isLast ? pascalCase(part, {
|
|
56
|
-
prefix,
|
|
57
|
-
suffix
|
|
58
|
-
}) : camelCase(part));
|
|
59
|
-
return toCamelOrPascal(`${prefix} ${text} ${suffix}`, true);
|
|
60
|
-
}
|
|
61
|
-
//#endregion
|
|
62
|
-
//#region ../../internals/utils/src/object.ts
|
|
63
|
-
/**
|
|
64
|
-
* Converts a dot-notation path or string array into an optional-chaining accessor expression.
|
|
65
|
-
*
|
|
66
|
-
* @example
|
|
67
|
-
* getNestedAccessor('pagination.next.id', 'lastPage')
|
|
68
|
-
* // → "lastPage?.['pagination']?.['next']?.['id']"
|
|
69
|
-
*/
|
|
70
|
-
function getNestedAccessor(param, accessor) {
|
|
71
|
-
const parts = Array.isArray(param) ? param : param.split(".");
|
|
72
|
-
if (parts.length === 0 || parts.length === 1 && parts[0] === "") return void 0;
|
|
73
|
-
return `${accessor}?.['${`${parts.join("']?.['")}']`}`;
|
|
74
|
-
}
|
|
75
|
-
//#endregion
|
|
76
|
-
//#region ../../internals/utils/src/reserved.ts
|
|
77
|
-
/**
|
|
78
|
-
* Returns `true` when `name` is a syntactically valid JavaScript variable name.
|
|
79
|
-
*/
|
|
80
|
-
function isValidVarName(name) {
|
|
81
|
-
try {
|
|
82
|
-
new Function(`var ${name}`);
|
|
83
|
-
} catch {
|
|
84
|
-
return false;
|
|
85
|
-
}
|
|
86
|
-
return true;
|
|
87
|
-
}
|
|
88
|
-
//#endregion
|
|
89
|
-
//#region ../../internals/utils/src/urlPath.ts
|
|
90
|
-
/**
|
|
91
|
-
* Parses and transforms an OpenAPI/Swagger path string into various URL formats.
|
|
92
|
-
*
|
|
93
|
-
* @example
|
|
94
|
-
* const p = new URLPath('/pet/{petId}')
|
|
95
|
-
* p.URL // '/pet/:petId'
|
|
96
|
-
* p.template // '`/pet/${petId}`'
|
|
97
|
-
*/
|
|
98
|
-
var URLPath = class {
|
|
99
|
-
/** The raw OpenAPI/Swagger path string, e.g. `/pet/{petId}`. */
|
|
100
|
-
path;
|
|
101
|
-
#options;
|
|
102
|
-
constructor(path, options = {}) {
|
|
103
|
-
this.path = path;
|
|
104
|
-
this.#options = options;
|
|
105
|
-
}
|
|
106
|
-
/** Converts the OpenAPI path to Express-style colon syntax, e.g. `/pet/{petId}` → `/pet/:petId`. */
|
|
107
|
-
get URL() {
|
|
108
|
-
return this.toURLPath();
|
|
109
|
-
}
|
|
110
|
-
/** Returns `true` when `path` is a fully-qualified URL (e.g. starts with `https://`). */
|
|
111
|
-
get isURL() {
|
|
112
|
-
try {
|
|
113
|
-
return !!new URL(this.path).href;
|
|
114
|
-
} catch {
|
|
115
|
-
return false;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* Converts the OpenAPI path to a TypeScript template literal string.
|
|
120
|
-
*
|
|
121
|
-
* @example
|
|
122
|
-
* new URLPath('/pet/{petId}').template // '`/pet/${petId}`'
|
|
123
|
-
* new URLPath('/account/monetary-accountID').template // '`/account/${monetaryAccountId}`'
|
|
124
|
-
*/
|
|
125
|
-
get template() {
|
|
126
|
-
return this.toTemplateString();
|
|
127
|
-
}
|
|
128
|
-
/** Returns the path and its extracted params as a structured `URLObject`, or as a stringified expression when `stringify` is set. */
|
|
129
|
-
get object() {
|
|
130
|
-
return this.toObject();
|
|
131
|
-
}
|
|
132
|
-
/** Returns a map of path parameter names, or `undefined` when the path has no parameters. */
|
|
133
|
-
get params() {
|
|
134
|
-
return this.getParams();
|
|
135
|
-
}
|
|
136
|
-
#transformParam(raw) {
|
|
137
|
-
const param = isValidVarName(raw) ? raw : camelCase(raw);
|
|
138
|
-
return this.#options.casing === "camelcase" ? camelCase(param) : param;
|
|
139
|
-
}
|
|
140
|
-
/** Iterates over every `{param}` token in `path`, calling `fn` with the raw token and transformed name. */
|
|
141
|
-
#eachParam(fn) {
|
|
142
|
-
for (const match of this.path.matchAll(/\{([^}]+)\}/g)) {
|
|
143
|
-
const raw = match[1];
|
|
144
|
-
fn(raw, this.#transformParam(raw));
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
toObject({ type = "path", replacer, stringify } = {}) {
|
|
148
|
-
const object = {
|
|
149
|
-
url: type === "path" ? this.toURLPath() : this.toTemplateString({ replacer }),
|
|
150
|
-
params: this.getParams()
|
|
151
|
-
};
|
|
152
|
-
if (stringify) {
|
|
153
|
-
if (type === "template") return JSON.stringify(object).replaceAll("'", "").replaceAll(`"`, "");
|
|
154
|
-
if (object.params) return `{ url: '${object.url}', params: ${JSON.stringify(object.params).replaceAll("'", "").replaceAll(`"`, "")} }`;
|
|
155
|
-
return `{ url: '${object.url}' }`;
|
|
156
|
-
}
|
|
157
|
-
return object;
|
|
158
|
-
}
|
|
159
|
-
/**
|
|
160
|
-
* Converts the OpenAPI path to a TypeScript template literal string.
|
|
161
|
-
* An optional `replacer` can transform each extracted parameter name before interpolation.
|
|
162
|
-
*
|
|
163
|
-
* @example
|
|
164
|
-
* new URLPath('/pet/{petId}').toTemplateString() // '`/pet/${petId}`'
|
|
165
|
-
*/
|
|
166
|
-
toTemplateString({ prefix = "", replacer } = {}) {
|
|
167
|
-
return `\`${prefix}${this.path.split(/\{([^}]+)\}/).map((part, i) => {
|
|
168
|
-
if (i % 2 === 0) return part;
|
|
169
|
-
const param = this.#transformParam(part);
|
|
170
|
-
return `\${${replacer ? replacer(param) : param}}`;
|
|
171
|
-
}).join("")}\``;
|
|
172
|
-
}
|
|
173
|
-
/**
|
|
174
|
-
* Extracts all `{param}` segments from the path and returns them as a key-value map.
|
|
175
|
-
* An optional `replacer` transforms each parameter name in both key and value positions.
|
|
176
|
-
* Returns `undefined` when no path parameters are found.
|
|
177
|
-
*/
|
|
178
|
-
getParams(replacer) {
|
|
179
|
-
const params = {};
|
|
180
|
-
this.#eachParam((_raw, param) => {
|
|
181
|
-
const key = replacer ? replacer(param) : param;
|
|
182
|
-
params[key] = key;
|
|
183
|
-
});
|
|
184
|
-
return Object.keys(params).length > 0 ? params : void 0;
|
|
185
|
-
}
|
|
186
|
-
/** Converts the OpenAPI path to Express-style colon syntax, e.g. `/pet/{petId}` → `/pet/:petId`. */
|
|
187
|
-
toURLPath() {
|
|
188
|
-
return this.path.replace(/\{([^}]+)\}/g, ":$1");
|
|
189
|
-
}
|
|
190
|
-
};
|
|
191
|
-
//#endregion
|
|
192
|
-
//#region ../../internals/tanstack-query/src/components/MutationKey.tsx
|
|
193
|
-
function getParams$10({}) {
|
|
194
|
-
return FunctionParams.factory({});
|
|
195
|
-
}
|
|
196
|
-
__name(getParams$10, "getParams");
|
|
197
|
-
const getTransformer$1 = /* @__PURE__ */ __name(({ operation, casing }) => {
|
|
198
|
-
return [`{ url: '${new URLPath(operation.path, { casing }).toURLPath()}' }`];
|
|
199
|
-
}, "getTransformer");
|
|
200
|
-
function MutationKey({ name, typeSchemas, pathParamsType, paramsCasing, operation, typeName, transformer = getTransformer$1 }) {
|
|
201
|
-
const params = getParams$10({
|
|
202
|
-
pathParamsType,
|
|
203
|
-
typeSchemas
|
|
204
|
-
});
|
|
205
|
-
const keys = transformer({
|
|
206
|
-
operation,
|
|
207
|
-
schemas: typeSchemas,
|
|
208
|
-
casing: paramsCasing
|
|
209
|
-
});
|
|
210
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(File.Source, {
|
|
211
|
-
name,
|
|
212
|
-
isExportable: true,
|
|
213
|
-
isIndexable: true,
|
|
214
|
-
children: /* @__PURE__ */ jsx(Function$1.Arrow, {
|
|
215
|
-
name,
|
|
216
|
-
export: true,
|
|
217
|
-
params: params.toConstructor(),
|
|
218
|
-
singleLine: true,
|
|
219
|
-
children: `[${keys.join(", ")}] as const`
|
|
220
|
-
})
|
|
221
|
-
}), /* @__PURE__ */ jsx(File.Source, {
|
|
222
|
-
name: typeName,
|
|
223
|
-
isExportable: true,
|
|
224
|
-
isIndexable: true,
|
|
225
|
-
isTypeOnly: true,
|
|
226
|
-
children: /* @__PURE__ */ jsx(Type, {
|
|
227
|
-
name: typeName,
|
|
228
|
-
export: true,
|
|
229
|
-
children: `ReturnType<typeof ${name}>`
|
|
230
|
-
})
|
|
231
|
-
})] });
|
|
232
|
-
}
|
|
233
|
-
MutationKey.getParams = getParams$10;
|
|
234
|
-
MutationKey.getTransformer = getTransformer$1;
|
|
235
|
-
//#endregion
|
|
236
|
-
//#region ../../internals/tanstack-query/src/components/QueryKey.tsx
|
|
237
|
-
function getParams$9({ pathParamsType, paramsCasing, typeSchemas }) {
|
|
238
|
-
return FunctionParams.factory({
|
|
239
|
-
pathParams: typeSchemas.pathParams?.name ? {
|
|
240
|
-
mode: pathParamsType === "object" ? "object" : "inlineSpread",
|
|
241
|
-
children: getPathParams(typeSchemas.pathParams, {
|
|
242
|
-
typed: true,
|
|
243
|
-
casing: paramsCasing
|
|
244
|
-
})
|
|
245
|
-
} : void 0,
|
|
246
|
-
data: typeSchemas.request?.name ? {
|
|
247
|
-
type: typeSchemas.request?.name,
|
|
248
|
-
optional: isOptional(typeSchemas.request?.schema)
|
|
249
|
-
} : void 0,
|
|
250
|
-
params: typeSchemas.queryParams?.name ? {
|
|
251
|
-
type: typeSchemas.queryParams?.name,
|
|
252
|
-
optional: isOptional(typeSchemas.queryParams?.schema)
|
|
253
|
-
} : void 0
|
|
254
|
-
});
|
|
255
|
-
}
|
|
256
|
-
__name(getParams$9, "getParams");
|
|
257
|
-
const getTransformer = ({ operation, schemas, casing }) => {
|
|
258
|
-
return [
|
|
259
|
-
new URLPath(operation.path, { casing }).toObject({
|
|
260
|
-
type: "path",
|
|
261
|
-
stringify: true
|
|
262
|
-
}),
|
|
263
|
-
schemas.queryParams?.name ? "...(params ? [params] : [])" : void 0,
|
|
264
|
-
schemas.request?.name ? "...(data ? [data] : [])" : void 0
|
|
265
|
-
].filter(Boolean);
|
|
266
|
-
};
|
|
267
|
-
function QueryKey({ name, typeSchemas, paramsCasing, pathParamsType, operation, typeName, transformer = getTransformer }) {
|
|
268
|
-
const params = getParams$9({
|
|
269
|
-
pathParamsType,
|
|
270
|
-
typeSchemas,
|
|
271
|
-
paramsCasing
|
|
272
|
-
});
|
|
273
|
-
const keys = transformer({
|
|
274
|
-
operation,
|
|
275
|
-
schemas: typeSchemas,
|
|
276
|
-
casing: paramsCasing
|
|
277
|
-
});
|
|
278
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(File.Source, {
|
|
279
|
-
name,
|
|
280
|
-
isExportable: true,
|
|
281
|
-
isIndexable: true,
|
|
282
|
-
children: /* @__PURE__ */ jsx(Function$1.Arrow, {
|
|
283
|
-
name,
|
|
284
|
-
export: true,
|
|
285
|
-
params: params.toConstructor(),
|
|
286
|
-
singleLine: true,
|
|
287
|
-
children: `[${keys.join(", ")}] as const`
|
|
288
|
-
})
|
|
289
|
-
}), /* @__PURE__ */ jsx(File.Source, {
|
|
290
|
-
name: typeName,
|
|
291
|
-
isExportable: true,
|
|
292
|
-
isIndexable: true,
|
|
293
|
-
isTypeOnly: true,
|
|
294
|
-
children: /* @__PURE__ */ jsx(Type, {
|
|
295
|
-
name: typeName,
|
|
296
|
-
export: true,
|
|
297
|
-
children: `ReturnType<typeof ${name}>`
|
|
298
|
-
})
|
|
299
|
-
})] });
|
|
300
|
-
}
|
|
301
|
-
QueryKey.getParams = getParams$9;
|
|
302
|
-
QueryKey.getTransformer = getTransformer;
|
|
303
|
-
//#endregion
|
|
304
|
-
//#region src/components/QueryOptions.tsx
|
|
305
|
-
function getParams$8({ paramsType, paramsCasing, pathParamsType, typeSchemas }) {
|
|
306
|
-
if (paramsType === "object") {
|
|
307
|
-
const children = {
|
|
308
|
-
...getPathParams(typeSchemas.pathParams, {
|
|
309
|
-
typed: true,
|
|
310
|
-
casing: paramsCasing
|
|
311
|
-
}),
|
|
312
|
-
data: typeSchemas.request?.name ? {
|
|
313
|
-
type: typeSchemas.request?.name,
|
|
314
|
-
optional: isOptional(typeSchemas.request?.schema)
|
|
315
|
-
} : void 0,
|
|
316
|
-
params: typeSchemas.queryParams?.name ? {
|
|
317
|
-
type: typeSchemas.queryParams?.name,
|
|
318
|
-
optional: isOptional(typeSchemas.queryParams?.schema)
|
|
319
|
-
} : void 0,
|
|
320
|
-
headers: typeSchemas.headerParams?.name ? {
|
|
321
|
-
type: typeSchemas.headerParams?.name,
|
|
322
|
-
optional: isOptional(typeSchemas.headerParams?.schema)
|
|
323
|
-
} : void 0
|
|
324
|
-
};
|
|
325
|
-
const allChildrenAreOptional = Object.values(children).every((child) => !child || child.optional);
|
|
326
|
-
return FunctionParams.factory({
|
|
327
|
-
data: {
|
|
328
|
-
mode: "object",
|
|
329
|
-
children,
|
|
330
|
-
default: allChildrenAreOptional ? "{}" : void 0
|
|
331
|
-
},
|
|
332
|
-
config: {
|
|
333
|
-
type: typeSchemas.request?.name ? `Partial<RequestConfig<${typeSchemas.request?.name}>> & { client?: Client }` : "Partial<RequestConfig> & { client?: Client }",
|
|
334
|
-
default: "{}"
|
|
335
|
-
}
|
|
336
|
-
});
|
|
337
|
-
}
|
|
338
|
-
return FunctionParams.factory({
|
|
339
|
-
pathParams: typeSchemas.pathParams?.name ? {
|
|
340
|
-
mode: pathParamsType === "object" ? "object" : "inlineSpread",
|
|
341
|
-
children: getPathParams(typeSchemas.pathParams, {
|
|
342
|
-
typed: true,
|
|
343
|
-
casing: paramsCasing
|
|
344
|
-
}),
|
|
345
|
-
default: isAllOptional(typeSchemas.pathParams?.schema) ? "{}" : void 0
|
|
346
|
-
} : void 0,
|
|
347
|
-
data: typeSchemas.request?.name ? {
|
|
348
|
-
type: typeSchemas.request?.name,
|
|
349
|
-
optional: isOptional(typeSchemas.request?.schema)
|
|
350
|
-
} : void 0,
|
|
351
|
-
params: typeSchemas.queryParams?.name ? {
|
|
352
|
-
type: typeSchemas.queryParams?.name,
|
|
353
|
-
optional: isOptional(typeSchemas.queryParams?.schema)
|
|
354
|
-
} : void 0,
|
|
355
|
-
headers: typeSchemas.headerParams?.name ? {
|
|
356
|
-
type: typeSchemas.headerParams?.name,
|
|
357
|
-
optional: isOptional(typeSchemas.headerParams?.schema)
|
|
358
|
-
} : void 0,
|
|
359
|
-
config: {
|
|
360
|
-
type: typeSchemas.request?.name ? `Partial<RequestConfig<${typeSchemas.request?.name}>> & { client?: Client }` : "Partial<RequestConfig> & { client?: Client }",
|
|
361
|
-
default: "{}"
|
|
362
|
-
}
|
|
363
|
-
});
|
|
364
|
-
}
|
|
365
|
-
__name(getParams$8, "getParams");
|
|
366
|
-
function QueryOptions({ name, clientName, dataReturnType, typeSchemas, paramsCasing, paramsType, pathParamsType, queryKeyName }) {
|
|
367
|
-
const params = getParams$8({
|
|
368
|
-
paramsType,
|
|
369
|
-
paramsCasing,
|
|
370
|
-
pathParamsType,
|
|
371
|
-
typeSchemas
|
|
372
|
-
});
|
|
373
|
-
const TData = dataReturnType === "data" ? typeSchemas.response.name : `ResponseConfig<${typeSchemas.response.name}>`;
|
|
374
|
-
const TError = typeSchemas.errors?.map((item) => item.name).join(" | ") || "Error";
|
|
375
|
-
const clientParams = Client.getParams({
|
|
376
|
-
typeSchemas,
|
|
377
|
-
paramsCasing,
|
|
378
|
-
paramsType,
|
|
379
|
-
pathParamsType,
|
|
380
|
-
isConfigurable: true
|
|
381
|
-
});
|
|
382
|
-
const queryKeyParams = QueryKey.getParams({
|
|
383
|
-
pathParamsType,
|
|
384
|
-
typeSchemas,
|
|
385
|
-
paramsCasing
|
|
386
|
-
});
|
|
387
|
-
const enabled = Object.entries(queryKeyParams.flatParams).map(([key, item]) => {
|
|
388
|
-
return item && !item.optional && !item.default ? key : void 0;
|
|
389
|
-
}).filter(Boolean).join("&& ");
|
|
390
|
-
const enabledText = enabled ? `enabled: !!(${enabled}),` : "";
|
|
391
|
-
return /* @__PURE__ */ jsx(File.Source, {
|
|
392
|
-
name,
|
|
393
|
-
isExportable: true,
|
|
394
|
-
isIndexable: true,
|
|
395
|
-
children: /* @__PURE__ */ jsx(Function$1, {
|
|
396
|
-
name,
|
|
397
|
-
export: true,
|
|
398
|
-
params: params.toConstructor(),
|
|
399
|
-
children: `
|
|
400
|
-
const queryKey = ${queryKeyName}(${queryKeyParams.toCall()})
|
|
401
|
-
return queryOptions<${TData}, ResponseErrorConfig<${TError}>, ${TData}, typeof queryKey>({
|
|
402
|
-
${enabledText}
|
|
403
|
-
queryKey,
|
|
404
|
-
queryFn: async ({ signal }) => {
|
|
405
|
-
return ${clientName}(${clientParams.toCall({ transformName(name) {
|
|
406
|
-
if (name === "config") return "{ ...config, signal: config.signal ?? signal }";
|
|
407
|
-
return name;
|
|
408
|
-
} })})
|
|
409
|
-
},
|
|
410
|
-
})
|
|
411
|
-
`
|
|
412
|
-
})
|
|
413
|
-
});
|
|
414
|
-
}
|
|
415
|
-
QueryOptions.getParams = getParams$8;
|
|
416
|
-
//#endregion
|
|
417
|
-
//#region src/components/InfiniteQuery.tsx
|
|
418
|
-
function getParams$7({ paramsType, paramsCasing, pathParamsType, typeSchemas, pageParamGeneric }) {
|
|
419
|
-
if (paramsType === "object") {
|
|
420
|
-
const children = {
|
|
421
|
-
...getPathParams(typeSchemas.pathParams, {
|
|
422
|
-
typed: true,
|
|
423
|
-
casing: paramsCasing
|
|
424
|
-
}),
|
|
425
|
-
data: typeSchemas.request?.name ? {
|
|
426
|
-
type: typeSchemas.request?.name,
|
|
427
|
-
optional: isOptional(typeSchemas.request?.schema)
|
|
428
|
-
} : void 0,
|
|
429
|
-
params: typeSchemas.queryParams?.name ? {
|
|
430
|
-
type: typeSchemas.queryParams?.name,
|
|
431
|
-
optional: isOptional(typeSchemas.queryParams?.schema)
|
|
432
|
-
} : void 0,
|
|
433
|
-
headers: typeSchemas.headerParams?.name ? {
|
|
434
|
-
type: typeSchemas.headerParams?.name,
|
|
435
|
-
optional: isOptional(typeSchemas.headerParams?.schema)
|
|
436
|
-
} : void 0
|
|
437
|
-
};
|
|
438
|
-
const allChildrenAreOptional = Object.values(children).every((child) => !child || child.optional);
|
|
439
|
-
return FunctionParams.factory({
|
|
440
|
-
data: {
|
|
441
|
-
mode: "object",
|
|
442
|
-
children,
|
|
443
|
-
default: allChildrenAreOptional ? "{}" : void 0
|
|
444
|
-
},
|
|
445
|
-
options: {
|
|
446
|
-
type: `
|
|
447
|
-
{
|
|
448
|
-
query?: Partial<InfiniteQueryObserverOptions<TQueryFnData, TError, TData, TQueryKey, ${pageParamGeneric}>> & { client?: QueryClient },
|
|
449
|
-
client?: ${typeSchemas.request?.name ? `Partial<RequestConfig<${typeSchemas.request?.name}>> & { client?: Client }` : "Partial<RequestConfig> & { client?: Client }"}
|
|
450
|
-
}
|
|
451
|
-
`,
|
|
452
|
-
default: "{}"
|
|
453
|
-
}
|
|
454
|
-
});
|
|
455
|
-
}
|
|
456
|
-
return FunctionParams.factory({
|
|
457
|
-
pathParams: typeSchemas.pathParams?.name ? {
|
|
458
|
-
mode: pathParamsType === "object" ? "object" : "inlineSpread",
|
|
459
|
-
children: getPathParams(typeSchemas.pathParams, {
|
|
460
|
-
typed: true,
|
|
461
|
-
casing: paramsCasing
|
|
462
|
-
}),
|
|
463
|
-
default: isAllOptional(typeSchemas.pathParams?.schema) ? "{}" : void 0
|
|
464
|
-
} : void 0,
|
|
465
|
-
data: typeSchemas.request?.name ? {
|
|
466
|
-
type: typeSchemas.request?.name,
|
|
467
|
-
optional: isOptional(typeSchemas.request?.schema)
|
|
468
|
-
} : void 0,
|
|
469
|
-
params: typeSchemas.queryParams?.name ? {
|
|
470
|
-
type: typeSchemas.queryParams?.name,
|
|
471
|
-
optional: isOptional(typeSchemas.queryParams?.schema)
|
|
472
|
-
} : void 0,
|
|
473
|
-
headers: typeSchemas.headerParams?.name ? {
|
|
474
|
-
type: typeSchemas.headerParams?.name,
|
|
475
|
-
optional: isOptional(typeSchemas.headerParams?.schema)
|
|
476
|
-
} : void 0,
|
|
477
|
-
options: {
|
|
478
|
-
type: `
|
|
479
|
-
{
|
|
480
|
-
query?: Partial<InfiniteQueryObserverOptions<TQueryFnData, TError, TData, TQueryKey, ${pageParamGeneric}>> & { client?: QueryClient },
|
|
481
|
-
client?: ${typeSchemas.request?.name ? `Partial<RequestConfig<${typeSchemas.request?.name}>> & { client?: Client }` : "Partial<RequestConfig> & { client?: Client }"}
|
|
482
|
-
}
|
|
483
|
-
`,
|
|
484
|
-
default: "{}"
|
|
485
|
-
}
|
|
486
|
-
});
|
|
487
|
-
}
|
|
488
|
-
__name(getParams$7, "getParams");
|
|
489
|
-
function InfiniteQuery({ name, queryKeyTypeName, queryOptionsName, queryKeyName, paramsType, paramsCasing, pathParamsType, dataReturnType, typeSchemas, operation, initialPageParam, queryParam, customOptions }) {
|
|
490
|
-
const responseType = dataReturnType === "data" ? typeSchemas.response.name : `ResponseConfig<${typeSchemas.response.name}>`;
|
|
491
|
-
const errorType = `ResponseErrorConfig<${typeSchemas.errors?.map((item) => item.name).join(" | ") || "Error"}>`;
|
|
492
|
-
const isInitialPageParamDefined = initialPageParam !== void 0 && initialPageParam !== null;
|
|
493
|
-
const fallbackPageParamType = typeof initialPageParam === "number" ? "number" : typeof initialPageParam === "string" ? initialPageParam.includes(" as ") ? (() => {
|
|
494
|
-
const parts = initialPageParam.split(" as ");
|
|
495
|
-
return parts[parts.length - 1] ?? "unknown";
|
|
496
|
-
})() : "string" : typeof initialPageParam === "boolean" ? "boolean" : "unknown";
|
|
497
|
-
const queryParamType = queryParam && typeSchemas.queryParams?.name ? `${typeSchemas.queryParams?.name}['${queryParam}']` : void 0;
|
|
498
|
-
const pageParamType = queryParamType ? isInitialPageParamDefined ? `NonNullable<${queryParamType}>` : queryParamType : fallbackPageParamType;
|
|
499
|
-
const returnType = "UseInfiniteQueryResult<TData, TError> & { queryKey: TQueryKey }";
|
|
500
|
-
const generics = [
|
|
501
|
-
`TQueryFnData = ${responseType}`,
|
|
502
|
-
`TError = ${errorType}`,
|
|
503
|
-
"TData = InfiniteData<TQueryFnData>",
|
|
504
|
-
`TQueryKey extends QueryKey = ${queryKeyTypeName}`,
|
|
505
|
-
`TPageParam = ${pageParamType}`
|
|
506
|
-
];
|
|
507
|
-
const queryKeyParams = QueryKey.getParams({
|
|
508
|
-
pathParamsType,
|
|
509
|
-
typeSchemas,
|
|
510
|
-
paramsCasing
|
|
511
|
-
});
|
|
512
|
-
const queryOptionsParams = QueryOptions.getParams({
|
|
513
|
-
paramsType,
|
|
514
|
-
pathParamsType,
|
|
515
|
-
typeSchemas,
|
|
516
|
-
paramsCasing
|
|
517
|
-
});
|
|
518
|
-
const params = getParams$7({
|
|
519
|
-
paramsCasing,
|
|
520
|
-
paramsType,
|
|
521
|
-
pathParamsType,
|
|
522
|
-
typeSchemas,
|
|
523
|
-
pageParamGeneric: "TPageParam"
|
|
524
|
-
});
|
|
525
|
-
const queryOptions = `${queryOptionsName}(${queryOptionsParams.toCall()})`;
|
|
526
|
-
return /* @__PURE__ */ jsx(File.Source, {
|
|
527
|
-
name,
|
|
528
|
-
isExportable: true,
|
|
529
|
-
isIndexable: true,
|
|
530
|
-
children: /* @__PURE__ */ jsx(Function$1, {
|
|
531
|
-
name,
|
|
532
|
-
export: true,
|
|
533
|
-
generics: generics.join(", "),
|
|
534
|
-
params: params.toConstructor(),
|
|
535
|
-
JSDoc: { comments: getComments(operation) },
|
|
536
|
-
children: `
|
|
537
|
-
const { query: queryConfig = {}, client: config = {} } = options ?? {}
|
|
538
|
-
const { client: queryClient, ...resolvedOptions } = queryConfig
|
|
539
|
-
const queryKey = resolvedOptions?.queryKey ?? ${queryKeyName}(${queryKeyParams.toCall()})
|
|
540
|
-
${customOptions ? `const customOptions = ${customOptions.name}({ hookName: '${name}', operationId: '${operation.getOperationId()}' })` : ""}
|
|
541
|
-
|
|
542
|
-
const query = useInfiniteQuery({
|
|
543
|
-
...${queryOptions},${customOptions ? "\n...customOptions," : ""}
|
|
544
|
-
...resolvedOptions,
|
|
545
|
-
queryKey,
|
|
546
|
-
} as unknown as InfiniteQueryObserverOptions<TQueryFnData, TError, TData, TQueryKey, TPageParam>, queryClient) as ${returnType}
|
|
547
|
-
|
|
548
|
-
query.queryKey = queryKey as TQueryKey
|
|
549
|
-
|
|
550
|
-
return query
|
|
551
|
-
`
|
|
552
|
-
})
|
|
553
|
-
});
|
|
554
|
-
}
|
|
555
|
-
InfiniteQuery.getParams = getParams$7;
|
|
556
|
-
//#endregion
|
|
557
|
-
//#region src/components/InfiniteQueryOptions.tsx
|
|
558
|
-
function getParams$6({ paramsType, paramsCasing, pathParamsType, typeSchemas }) {
|
|
559
|
-
if (paramsType === "object") {
|
|
560
|
-
const children = {
|
|
561
|
-
...getPathParams(typeSchemas.pathParams, {
|
|
562
|
-
typed: true,
|
|
563
|
-
casing: paramsCasing
|
|
564
|
-
}),
|
|
565
|
-
data: typeSchemas.request?.name ? {
|
|
566
|
-
type: typeSchemas.request?.name,
|
|
567
|
-
optional: isOptional(typeSchemas.request?.schema)
|
|
568
|
-
} : void 0,
|
|
569
|
-
params: typeSchemas.queryParams?.name ? {
|
|
570
|
-
type: typeSchemas.queryParams?.name,
|
|
571
|
-
optional: isOptional(typeSchemas.queryParams?.schema)
|
|
572
|
-
} : void 0,
|
|
573
|
-
headers: typeSchemas.headerParams?.name ? {
|
|
574
|
-
type: typeSchemas.headerParams?.name,
|
|
575
|
-
optional: isOptional(typeSchemas.headerParams?.schema)
|
|
576
|
-
} : void 0
|
|
577
|
-
};
|
|
578
|
-
const allChildrenAreOptional = Object.values(children).every((child) => !child || child.optional);
|
|
579
|
-
return FunctionParams.factory({
|
|
580
|
-
data: {
|
|
581
|
-
mode: "object",
|
|
582
|
-
children,
|
|
583
|
-
default: allChildrenAreOptional ? "{}" : void 0
|
|
584
|
-
},
|
|
585
|
-
config: {
|
|
586
|
-
type: typeSchemas.request?.name ? `Partial<RequestConfig<${typeSchemas.request?.name}>> & { client?: Client }` : "Partial<RequestConfig> & { client?: Client }",
|
|
587
|
-
default: "{}"
|
|
588
|
-
}
|
|
589
|
-
});
|
|
590
|
-
}
|
|
591
|
-
return FunctionParams.factory({
|
|
592
|
-
pathParams: typeSchemas.pathParams?.name ? {
|
|
593
|
-
mode: pathParamsType === "object" ? "object" : "inlineSpread",
|
|
594
|
-
children: getPathParams(typeSchemas.pathParams, {
|
|
595
|
-
typed: true,
|
|
596
|
-
casing: paramsCasing
|
|
597
|
-
}),
|
|
598
|
-
default: isAllOptional(typeSchemas.pathParams?.schema) ? "{}" : void 0
|
|
599
|
-
} : void 0,
|
|
600
|
-
data: typeSchemas.request?.name ? {
|
|
601
|
-
type: typeSchemas.request?.name,
|
|
602
|
-
optional: isOptional(typeSchemas.request?.schema)
|
|
603
|
-
} : void 0,
|
|
604
|
-
params: typeSchemas.queryParams?.name ? {
|
|
605
|
-
type: typeSchemas.queryParams?.name,
|
|
606
|
-
optional: isOptional(typeSchemas.queryParams?.schema)
|
|
607
|
-
} : void 0,
|
|
608
|
-
headers: typeSchemas.headerParams?.name ? {
|
|
609
|
-
type: typeSchemas.headerParams?.name,
|
|
610
|
-
optional: isOptional(typeSchemas.headerParams?.schema)
|
|
611
|
-
} : void 0,
|
|
612
|
-
config: {
|
|
613
|
-
type: typeSchemas.request?.name ? `Partial<RequestConfig<${typeSchemas.request?.name}>> & { client?: Client }` : "Partial<RequestConfig> & { client?: Client }",
|
|
614
|
-
default: "{}"
|
|
615
|
-
}
|
|
616
|
-
});
|
|
617
|
-
}
|
|
618
|
-
__name(getParams$6, "getParams");
|
|
619
|
-
function InfiniteQueryOptions({ name, clientName, initialPageParam, cursorParam, nextParam, previousParam, typeSchemas, paramsCasing, paramsType, dataReturnType, pathParamsType, queryParam, queryKeyName }) {
|
|
620
|
-
const queryFnDataType = dataReturnType === "data" ? typeSchemas.response.name : `ResponseConfig<${typeSchemas.response.name}>`;
|
|
621
|
-
const errorType = `ResponseErrorConfig<${typeSchemas.errors?.map((item) => item.name).join(" | ") || "Error"}>`;
|
|
622
|
-
const isInitialPageParamDefined = initialPageParam !== void 0 && initialPageParam !== null;
|
|
623
|
-
const fallbackPageParamType = typeof initialPageParam === "number" ? "number" : typeof initialPageParam === "string" ? initialPageParam.includes(" as ") ? (() => {
|
|
624
|
-
const parts = initialPageParam.split(" as ");
|
|
625
|
-
return parts[parts.length - 1] ?? "unknown";
|
|
626
|
-
})() : "string" : typeof initialPageParam === "boolean" ? "boolean" : "unknown";
|
|
627
|
-
const queryParamType = queryParam && typeSchemas.queryParams?.name ? `${typeSchemas.queryParams?.name}['${queryParam}']` : void 0;
|
|
628
|
-
const pageParamType = queryParamType ? isInitialPageParamDefined ? `NonNullable<${queryParamType}>` : queryParamType : fallbackPageParamType;
|
|
629
|
-
const params = getParams$6({
|
|
630
|
-
paramsType,
|
|
631
|
-
paramsCasing,
|
|
632
|
-
pathParamsType,
|
|
633
|
-
typeSchemas
|
|
634
|
-
});
|
|
635
|
-
const clientParams = Client.getParams({
|
|
636
|
-
paramsCasing,
|
|
637
|
-
typeSchemas,
|
|
638
|
-
paramsType,
|
|
639
|
-
pathParamsType,
|
|
640
|
-
isConfigurable: true
|
|
641
|
-
});
|
|
642
|
-
const queryKeyParams = QueryKey.getParams({
|
|
643
|
-
pathParamsType,
|
|
644
|
-
typeSchemas,
|
|
645
|
-
paramsCasing
|
|
646
|
-
});
|
|
647
|
-
const hasNewParams = nextParam !== void 0 || previousParam !== void 0;
|
|
648
|
-
let getNextPageParamExpr;
|
|
649
|
-
let getPreviousPageParamExpr;
|
|
650
|
-
if (hasNewParams) {
|
|
651
|
-
if (nextParam) {
|
|
652
|
-
const accessor = getNestedAccessor(nextParam, "lastPage");
|
|
653
|
-
if (accessor) getNextPageParamExpr = `getNextPageParam: (lastPage) => ${accessor}`;
|
|
654
|
-
}
|
|
655
|
-
if (previousParam) {
|
|
656
|
-
const accessor = getNestedAccessor(previousParam, "firstPage");
|
|
657
|
-
if (accessor) getPreviousPageParamExpr = `getPreviousPageParam: (firstPage) => ${accessor}`;
|
|
658
|
-
}
|
|
659
|
-
} else if (cursorParam) {
|
|
660
|
-
getNextPageParamExpr = `getNextPageParam: (lastPage) => lastPage['${cursorParam}']`;
|
|
661
|
-
getPreviousPageParamExpr = `getPreviousPageParam: (firstPage) => firstPage['${cursorParam}']`;
|
|
662
|
-
} else {
|
|
663
|
-
if (dataReturnType === "full") getNextPageParamExpr = "getNextPageParam: (lastPage, _allPages, lastPageParam) => Array.isArray(lastPage.data) && lastPage.data.length === 0 ? undefined : lastPageParam + 1";
|
|
664
|
-
else getNextPageParamExpr = "getNextPageParam: (lastPage, _allPages, lastPageParam) => Array.isArray(lastPage) && lastPage.length === 0 ? undefined : lastPageParam + 1";
|
|
665
|
-
getPreviousPageParamExpr = "getPreviousPageParam: (_firstPage, _allPages, firstPageParam) => firstPageParam <= 1 ? undefined : firstPageParam - 1";
|
|
666
|
-
}
|
|
667
|
-
const queryOptions = [
|
|
668
|
-
`initialPageParam: ${typeof initialPageParam === "string" ? JSON.stringify(initialPageParam) : initialPageParam}`,
|
|
669
|
-
getNextPageParamExpr,
|
|
670
|
-
getPreviousPageParamExpr
|
|
671
|
-
].filter(Boolean);
|
|
672
|
-
const infiniteOverrideParams = queryParam && typeSchemas.queryParams?.name ? `
|
|
673
|
-
params = {
|
|
674
|
-
...(params ?? {}),
|
|
675
|
-
['${queryParam}']: pageParam as unknown as ${typeSchemas.queryParams?.name}['${queryParam}'],
|
|
676
|
-
} as ${typeSchemas.queryParams?.name}` : "";
|
|
677
|
-
const enabled = Object.entries(queryKeyParams.flatParams).map(([key, item]) => {
|
|
678
|
-
return item && !item.optional && !item.default ? key : void 0;
|
|
679
|
-
}).filter(Boolean).join("&& ");
|
|
680
|
-
const enabledText = enabled ? `enabled: !!(${enabled}),` : "";
|
|
681
|
-
if (infiniteOverrideParams) return /* @__PURE__ */ jsx(File.Source, {
|
|
682
|
-
name,
|
|
683
|
-
isExportable: true,
|
|
684
|
-
isIndexable: true,
|
|
685
|
-
children: /* @__PURE__ */ jsx(Function$1, {
|
|
686
|
-
name,
|
|
687
|
-
export: true,
|
|
688
|
-
params: params.toConstructor(),
|
|
689
|
-
children: `
|
|
690
|
-
const queryKey = ${queryKeyName}(${queryKeyParams.toCall()})
|
|
691
|
-
return infiniteQueryOptions<${queryFnDataType}, ${errorType}, InfiniteData<${queryFnDataType}>, typeof queryKey, ${pageParamType}>({
|
|
692
|
-
${enabledText}
|
|
693
|
-
queryKey,
|
|
694
|
-
queryFn: async ({ signal, pageParam }) => {
|
|
695
|
-
${infiniteOverrideParams}
|
|
696
|
-
return ${clientName}(${clientParams.toCall({ transformName(name) {
|
|
697
|
-
if (name === "config") return "{ ...config, signal: config.signal ?? signal }";
|
|
698
|
-
return name;
|
|
699
|
-
} })})
|
|
700
|
-
},
|
|
701
|
-
${queryOptions.join(",\n")}
|
|
702
|
-
})
|
|
703
|
-
`
|
|
704
|
-
})
|
|
705
|
-
});
|
|
706
|
-
return /* @__PURE__ */ jsx(File.Source, {
|
|
707
|
-
name,
|
|
708
|
-
isExportable: true,
|
|
709
|
-
isIndexable: true,
|
|
710
|
-
children: /* @__PURE__ */ jsx(Function$1, {
|
|
711
|
-
name,
|
|
712
|
-
export: true,
|
|
713
|
-
params: params.toConstructor(),
|
|
714
|
-
children: `
|
|
715
|
-
const queryKey = ${queryKeyName}(${queryKeyParams.toCall()})
|
|
716
|
-
return infiniteQueryOptions<${queryFnDataType}, ${errorType}, InfiniteData<${queryFnDataType}>, typeof queryKey, ${pageParamType}>({
|
|
717
|
-
${enabledText}
|
|
718
|
-
queryKey,
|
|
719
|
-
queryFn: async ({ signal }) => {
|
|
720
|
-
return ${clientName}(${clientParams.toCall({ transformName(name) {
|
|
721
|
-
if (name === "config") return "{ ...config, signal: config.signal ?? signal }";
|
|
722
|
-
return name;
|
|
723
|
-
} })})
|
|
724
|
-
},
|
|
725
|
-
${queryOptions.join(",\n")}
|
|
726
|
-
})
|
|
727
|
-
`
|
|
728
|
-
})
|
|
729
|
-
});
|
|
730
|
-
}
|
|
731
|
-
InfiniteQueryOptions.getParams = getParams$6;
|
|
732
|
-
//#endregion
|
|
733
|
-
//#region src/components/MutationOptions.tsx
|
|
734
|
-
function getParams$5({ typeSchemas }) {
|
|
735
|
-
return FunctionParams.factory({ config: {
|
|
736
|
-
type: typeSchemas.request?.name ? `Partial<RequestConfig<${typeSchemas.request?.name}>> & { client?: Client }` : "Partial<RequestConfig> & { client?: Client }",
|
|
737
|
-
default: "{}"
|
|
738
|
-
} });
|
|
739
|
-
}
|
|
740
|
-
__name(getParams$5, "getParams");
|
|
741
|
-
function MutationOptions({ name, clientName, dataReturnType, typeSchemas, paramsCasing, paramsType, pathParamsType, mutationKeyName }) {
|
|
742
|
-
const params = getParams$5({ typeSchemas });
|
|
743
|
-
const TData = dataReturnType === "data" ? typeSchemas.response.name : `ResponseConfig<${typeSchemas.response.name}>`;
|
|
744
|
-
const TError = typeSchemas.errors?.map((item) => item.name).join(" | ") || "Error";
|
|
745
|
-
const clientParams = Client.getParams({
|
|
746
|
-
typeSchemas,
|
|
747
|
-
paramsCasing,
|
|
748
|
-
paramsType,
|
|
749
|
-
pathParamsType,
|
|
750
|
-
isConfigurable: true
|
|
751
|
-
});
|
|
752
|
-
const mutationKeyParams = MutationKey.getParams({
|
|
753
|
-
pathParamsType,
|
|
754
|
-
typeSchemas
|
|
755
|
-
});
|
|
756
|
-
const mutationParams = FunctionParams.factory({
|
|
757
|
-
...getPathParams(typeSchemas.pathParams, {
|
|
758
|
-
typed: true,
|
|
759
|
-
casing: paramsCasing
|
|
760
|
-
}),
|
|
761
|
-
data: typeSchemas.request?.name ? {
|
|
762
|
-
type: typeSchemas.request?.name,
|
|
763
|
-
optional: isOptional(typeSchemas.request?.schema)
|
|
764
|
-
} : void 0,
|
|
765
|
-
params: typeSchemas.queryParams?.name ? {
|
|
766
|
-
type: typeSchemas.queryParams?.name,
|
|
767
|
-
optional: isOptional(typeSchemas.queryParams?.schema)
|
|
768
|
-
} : void 0,
|
|
769
|
-
headers: typeSchemas.headerParams?.name ? {
|
|
770
|
-
type: typeSchemas.headerParams?.name,
|
|
771
|
-
optional: isOptional(typeSchemas.headerParams?.schema)
|
|
772
|
-
} : void 0
|
|
773
|
-
});
|
|
774
|
-
const dataParams = FunctionParams.factory({ data: {
|
|
775
|
-
mode: "object",
|
|
776
|
-
children: Object.entries(mutationParams.params).reduce((acc, [key, value]) => {
|
|
777
|
-
if (value) acc[key] = {
|
|
778
|
-
...value,
|
|
779
|
-
type: void 0
|
|
780
|
-
};
|
|
781
|
-
return acc;
|
|
782
|
-
}, {})
|
|
783
|
-
} });
|
|
784
|
-
const TRequest = mutationParams.toConstructor();
|
|
785
|
-
return /* @__PURE__ */ jsx(File.Source, {
|
|
786
|
-
name,
|
|
787
|
-
isExportable: true,
|
|
788
|
-
isIndexable: true,
|
|
789
|
-
children: /* @__PURE__ */ jsx(Function$1, {
|
|
790
|
-
name,
|
|
791
|
-
export: true,
|
|
792
|
-
params: params.toConstructor(),
|
|
793
|
-
generics: ["TContext = unknown"],
|
|
794
|
-
children: `
|
|
795
|
-
const mutationKey = ${mutationKeyName}(${mutationKeyParams.toCall()})
|
|
796
|
-
return mutationOptions<${TData}, ResponseErrorConfig<${TError}>, ${TRequest ? `{${TRequest}}` : "void"}, TContext>({
|
|
797
|
-
mutationKey,
|
|
798
|
-
mutationFn: async(${dataParams.toConstructor()}) => {
|
|
799
|
-
return ${clientName}(${clientParams.toCall()})
|
|
800
|
-
},
|
|
801
|
-
})
|
|
802
|
-
`
|
|
803
|
-
})
|
|
804
|
-
});
|
|
805
|
-
}
|
|
806
|
-
MutationOptions.getParams = getParams$5;
|
|
807
|
-
//#endregion
|
|
808
|
-
//#region src/components/Mutation.tsx
|
|
809
|
-
function getParams$4({ paramsCasing, dataReturnType, typeSchemas }) {
|
|
810
|
-
const TData = dataReturnType === "data" ? typeSchemas.response.name : `ResponseConfig<${typeSchemas.response.name}>`;
|
|
811
|
-
const pathParams = getPathParams(typeSchemas.pathParams, {
|
|
812
|
-
typed: true,
|
|
813
|
-
casing: paramsCasing
|
|
814
|
-
});
|
|
815
|
-
const TRequest = FunctionParams.factory({
|
|
816
|
-
...pathParams,
|
|
817
|
-
data: typeSchemas.request?.name ? {
|
|
818
|
-
type: typeSchemas.request?.name,
|
|
819
|
-
optional: isOptional(typeSchemas.request?.schema)
|
|
820
|
-
} : void 0,
|
|
821
|
-
params: typeSchemas.queryParams?.name ? {
|
|
822
|
-
type: typeSchemas.queryParams?.name,
|
|
823
|
-
optional: isOptional(typeSchemas.queryParams?.schema)
|
|
824
|
-
} : void 0,
|
|
825
|
-
headers: typeSchemas.headerParams?.name ? {
|
|
826
|
-
type: typeSchemas.headerParams?.name,
|
|
827
|
-
optional: isOptional(typeSchemas.headerParams?.schema)
|
|
828
|
-
} : void 0
|
|
829
|
-
}).toConstructor();
|
|
830
|
-
const generics = [
|
|
831
|
-
TData,
|
|
832
|
-
`ResponseErrorConfig<${typeSchemas.errors?.map((item) => item.name).join(" | ") || "Error"}>`,
|
|
833
|
-
TRequest ? `{${TRequest}}` : "void",
|
|
834
|
-
"TContext"
|
|
835
|
-
].join(", ");
|
|
836
|
-
return FunctionParams.factory({ options: {
|
|
837
|
-
type: `
|
|
838
|
-
{
|
|
839
|
-
mutation?: UseMutationOptions<${generics}> & { client?: QueryClient },
|
|
840
|
-
client?: ${typeSchemas.request?.name ? `Partial<RequestConfig<${typeSchemas.request?.name}>> & { client?: Client }` : "Partial<RequestConfig> & { client?: Client }"},
|
|
841
|
-
}
|
|
842
|
-
`,
|
|
843
|
-
default: "{}"
|
|
844
|
-
} });
|
|
845
|
-
}
|
|
846
|
-
__name(getParams$4, "getParams");
|
|
847
|
-
function Mutation({ name, mutationOptionsName, paramsCasing, pathParamsType, dataReturnType, typeSchemas, operation, mutationKeyName, customOptions }) {
|
|
848
|
-
const mutationKeyParams = MutationKey.getParams({
|
|
849
|
-
pathParamsType,
|
|
850
|
-
typeSchemas
|
|
851
|
-
});
|
|
852
|
-
const params = getParams$4({
|
|
853
|
-
paramsCasing,
|
|
854
|
-
pathParamsType,
|
|
855
|
-
dataReturnType,
|
|
856
|
-
typeSchemas
|
|
857
|
-
});
|
|
858
|
-
const mutationParams = FunctionParams.factory({
|
|
859
|
-
...getPathParams(typeSchemas.pathParams, {
|
|
860
|
-
typed: true,
|
|
861
|
-
casing: paramsCasing
|
|
862
|
-
}),
|
|
863
|
-
data: typeSchemas.request?.name ? {
|
|
864
|
-
type: typeSchemas.request?.name,
|
|
865
|
-
optional: isOptional(typeSchemas.request?.schema)
|
|
866
|
-
} : void 0,
|
|
867
|
-
params: typeSchemas.queryParams?.name ? {
|
|
868
|
-
type: typeSchemas.queryParams?.name,
|
|
869
|
-
optional: isOptional(typeSchemas.queryParams?.schema)
|
|
870
|
-
} : void 0,
|
|
871
|
-
headers: typeSchemas.headerParams?.name ? {
|
|
872
|
-
type: typeSchemas.headerParams?.name,
|
|
873
|
-
optional: isOptional(typeSchemas.headerParams?.schema)
|
|
874
|
-
} : void 0
|
|
875
|
-
});
|
|
876
|
-
const mutationOptionsParams = MutationOptions.getParams({ typeSchemas });
|
|
877
|
-
const TRequest = mutationParams.toConstructor();
|
|
878
|
-
const generics = [
|
|
879
|
-
dataReturnType === "data" ? typeSchemas.response.name : `ResponseConfig<${typeSchemas.response.name}>`,
|
|
880
|
-
`ResponseErrorConfig<${typeSchemas.errors?.map((item) => item.name).join(" | ") || "Error"}>`,
|
|
881
|
-
TRequest ? `{${TRequest}}` : "void",
|
|
882
|
-
"TContext"
|
|
883
|
-
].join(", ");
|
|
884
|
-
const returnType = `UseMutationResult<${generics}>`;
|
|
885
|
-
const mutationOptions = `${mutationOptionsName}(${mutationOptionsParams.toCall()})`;
|
|
886
|
-
return /* @__PURE__ */ jsx(File.Source, {
|
|
887
|
-
name,
|
|
888
|
-
isExportable: true,
|
|
889
|
-
isIndexable: true,
|
|
890
|
-
children: /* @__PURE__ */ jsx(Function$1, {
|
|
891
|
-
name,
|
|
892
|
-
export: true,
|
|
893
|
-
params: params.toConstructor(),
|
|
894
|
-
JSDoc: { comments: getComments(operation) },
|
|
895
|
-
generics: ["TContext"],
|
|
896
|
-
children: `
|
|
897
|
-
const { mutation = {}, client: config = {} } = options ?? {}
|
|
898
|
-
const { client: queryClient, ...mutationOptions } = mutation;
|
|
899
|
-
const mutationKey = mutationOptions.mutationKey ?? ${mutationKeyName}(${mutationKeyParams.toCall()})
|
|
900
|
-
|
|
901
|
-
const baseOptions = ${mutationOptions} as UseMutationOptions<${generics}>
|
|
902
|
-
${customOptions ? `const customOptions = ${customOptions.name}({ hookName: '${name}', operationId: '${operation.getOperationId()}' }) as UseMutationOptions<${generics}>` : ""}
|
|
903
|
-
|
|
904
|
-
return useMutation<${generics}>({
|
|
905
|
-
...baseOptions,${customOptions ? "\n...customOptions," : ""}
|
|
906
|
-
mutationKey,
|
|
907
|
-
...mutationOptions,
|
|
908
|
-
}, queryClient) as ${returnType}
|
|
909
|
-
`
|
|
910
|
-
})
|
|
911
|
-
});
|
|
912
|
-
}
|
|
913
|
-
//#endregion
|
|
914
|
-
//#region src/components/Query.tsx
|
|
915
|
-
function getParams$3({ paramsType, paramsCasing, pathParamsType, dataReturnType, typeSchemas }) {
|
|
916
|
-
const TData = dataReturnType === "data" ? typeSchemas.response.name : `ResponseConfig<${typeSchemas.response.name}>`;
|
|
917
|
-
const TError = `ResponseErrorConfig<${typeSchemas.errors?.map((item) => item.name).join(" | ") || "Error"}>`;
|
|
918
|
-
if (paramsType === "object") {
|
|
919
|
-
const children = {
|
|
920
|
-
...getPathParams(typeSchemas.pathParams, {
|
|
921
|
-
typed: true,
|
|
922
|
-
casing: paramsCasing
|
|
923
|
-
}),
|
|
924
|
-
data: typeSchemas.request?.name ? {
|
|
925
|
-
type: typeSchemas.request?.name,
|
|
926
|
-
optional: isOptional(typeSchemas.request?.schema)
|
|
927
|
-
} : void 0,
|
|
928
|
-
params: typeSchemas.queryParams?.name ? {
|
|
929
|
-
type: typeSchemas.queryParams?.name,
|
|
930
|
-
optional: isOptional(typeSchemas.queryParams?.schema)
|
|
931
|
-
} : void 0,
|
|
932
|
-
headers: typeSchemas.headerParams?.name ? {
|
|
933
|
-
type: typeSchemas.headerParams?.name,
|
|
934
|
-
optional: isOptional(typeSchemas.headerParams?.schema)
|
|
935
|
-
} : void 0
|
|
936
|
-
};
|
|
937
|
-
const allChildrenAreOptional = Object.values(children).every((child) => !child || child.optional);
|
|
938
|
-
return FunctionParams.factory({
|
|
939
|
-
data: {
|
|
940
|
-
mode: "object",
|
|
941
|
-
children,
|
|
942
|
-
default: allChildrenAreOptional ? "{}" : void 0
|
|
943
|
-
},
|
|
944
|
-
options: {
|
|
945
|
-
type: `
|
|
946
|
-
{
|
|
947
|
-
query?: Partial<QueryObserverOptions<${[
|
|
948
|
-
TData,
|
|
949
|
-
TError,
|
|
950
|
-
"TData",
|
|
951
|
-
"TQueryData",
|
|
952
|
-
"TQueryKey"
|
|
953
|
-
].join(", ")}>> & { client?: QueryClient },
|
|
954
|
-
client?: ${typeSchemas.request?.name ? `Partial<RequestConfig<${typeSchemas.request?.name}>> & { client?: Client }` : "Partial<RequestConfig> & { client?: Client }"}
|
|
955
|
-
}
|
|
956
|
-
`,
|
|
957
|
-
default: "{}"
|
|
958
|
-
}
|
|
959
|
-
});
|
|
960
|
-
}
|
|
961
|
-
return FunctionParams.factory({
|
|
962
|
-
pathParams: typeSchemas.pathParams?.name ? {
|
|
963
|
-
mode: pathParamsType === "object" ? "object" : "inlineSpread",
|
|
964
|
-
children: getPathParams(typeSchemas.pathParams, {
|
|
965
|
-
typed: true,
|
|
966
|
-
casing: paramsCasing
|
|
967
|
-
}),
|
|
968
|
-
default: isAllOptional(typeSchemas.pathParams?.schema) ? "{}" : void 0
|
|
969
|
-
} : void 0,
|
|
970
|
-
data: typeSchemas.request?.name ? {
|
|
971
|
-
type: typeSchemas.request?.name,
|
|
972
|
-
optional: isOptional(typeSchemas.request?.schema)
|
|
973
|
-
} : void 0,
|
|
974
|
-
params: typeSchemas.queryParams?.name ? {
|
|
975
|
-
type: typeSchemas.queryParams?.name,
|
|
976
|
-
optional: isOptional(typeSchemas.queryParams?.schema)
|
|
977
|
-
} : void 0,
|
|
978
|
-
headers: typeSchemas.headerParams?.name ? {
|
|
979
|
-
type: typeSchemas.headerParams?.name,
|
|
980
|
-
optional: isOptional(typeSchemas.headerParams?.schema)
|
|
981
|
-
} : void 0,
|
|
982
|
-
options: {
|
|
983
|
-
type: `
|
|
984
|
-
{
|
|
985
|
-
query?: Partial<QueryObserverOptions<${[
|
|
986
|
-
TData,
|
|
987
|
-
TError,
|
|
988
|
-
"TData",
|
|
989
|
-
"TQueryData",
|
|
990
|
-
"TQueryKey"
|
|
991
|
-
].join(", ")}>> & { client?: QueryClient },
|
|
992
|
-
client?: ${typeSchemas.request?.name ? `Partial<RequestConfig<${typeSchemas.request?.name}>> & { client?: Client }` : "Partial<RequestConfig> & { client?: Client }"}
|
|
993
|
-
}
|
|
994
|
-
`,
|
|
995
|
-
default: "{}"
|
|
996
|
-
}
|
|
997
|
-
});
|
|
998
|
-
}
|
|
999
|
-
__name(getParams$3, "getParams");
|
|
1000
|
-
function Query({ name, queryKeyTypeName, queryOptionsName, queryKeyName, paramsType, paramsCasing, pathParamsType, dataReturnType, typeSchemas, operation, customOptions }) {
|
|
1001
|
-
const TData = dataReturnType === "data" ? typeSchemas.response.name : `ResponseConfig<${typeSchemas.response.name}>`;
|
|
1002
|
-
const returnType = `UseQueryResult<${["TData", `ResponseErrorConfig<${typeSchemas.errors?.map((item) => item.name).join(" | ") || "Error"}>`].join(", ")}> & { queryKey: TQueryKey }`;
|
|
1003
|
-
const generics = [
|
|
1004
|
-
`TData = ${TData}`,
|
|
1005
|
-
`TQueryData = ${TData}`,
|
|
1006
|
-
`TQueryKey extends QueryKey = ${queryKeyTypeName}`
|
|
1007
|
-
];
|
|
1008
|
-
const queryKeyParams = QueryKey.getParams({
|
|
1009
|
-
pathParamsType,
|
|
1010
|
-
typeSchemas,
|
|
1011
|
-
paramsCasing
|
|
1012
|
-
});
|
|
1013
|
-
const queryOptionsParams = QueryOptions.getParams({
|
|
1014
|
-
paramsType,
|
|
1015
|
-
pathParamsType,
|
|
1016
|
-
typeSchemas,
|
|
1017
|
-
paramsCasing
|
|
1018
|
-
});
|
|
1019
|
-
const params = getParams$3({
|
|
1020
|
-
paramsCasing,
|
|
1021
|
-
paramsType,
|
|
1022
|
-
pathParamsType,
|
|
1023
|
-
dataReturnType,
|
|
1024
|
-
typeSchemas
|
|
1025
|
-
});
|
|
1026
|
-
const queryOptions = `${queryOptionsName}(${queryOptionsParams.toCall()})`;
|
|
1027
|
-
return /* @__PURE__ */ jsx(File.Source, {
|
|
1028
|
-
name,
|
|
1029
|
-
isExportable: true,
|
|
1030
|
-
isIndexable: true,
|
|
1031
|
-
children: /* @__PURE__ */ jsx(Function$1, {
|
|
1032
|
-
name,
|
|
1033
|
-
export: true,
|
|
1034
|
-
generics: generics.join(", "),
|
|
1035
|
-
params: params.toConstructor(),
|
|
1036
|
-
JSDoc: { comments: getComments(operation) },
|
|
1037
|
-
children: `
|
|
1038
|
-
const { query: queryConfig = {}, client: config = {} } = options ?? {}
|
|
1039
|
-
const { client: queryClient, ...resolvedOptions } = queryConfig
|
|
1040
|
-
const queryKey = resolvedOptions?.queryKey ?? ${queryKeyName}(${queryKeyParams.toCall()})
|
|
1041
|
-
${customOptions ? `const customOptions = ${customOptions.name}({ hookName: '${name}', operationId: '${operation.getOperationId()}' })` : ""}
|
|
1042
|
-
|
|
1043
|
-
const query = useQuery({
|
|
1044
|
-
...${queryOptions},${customOptions ? "\n...customOptions," : ""}
|
|
1045
|
-
...resolvedOptions,
|
|
1046
|
-
queryKey,
|
|
1047
|
-
} as unknown as QueryObserverOptions, queryClient) as ${returnType}
|
|
1048
|
-
|
|
1049
|
-
query.queryKey = queryKey as TQueryKey
|
|
1050
|
-
|
|
1051
|
-
return query
|
|
1052
|
-
`
|
|
1053
|
-
})
|
|
1054
|
-
});
|
|
1055
|
-
}
|
|
1056
|
-
Query.getParams = getParams$3;
|
|
1057
|
-
//#endregion
|
|
1058
|
-
//#region src/components/SuspenseInfiniteQuery.tsx
|
|
1059
|
-
function getParams$2({ paramsType, paramsCasing, pathParamsType, typeSchemas, pageParamGeneric }) {
|
|
1060
|
-
if (paramsType === "object") {
|
|
1061
|
-
const children = {
|
|
1062
|
-
...getPathParams(typeSchemas.pathParams, {
|
|
1063
|
-
typed: true,
|
|
1064
|
-
casing: paramsCasing
|
|
1065
|
-
}),
|
|
1066
|
-
data: typeSchemas.request?.name ? {
|
|
1067
|
-
type: typeSchemas.request?.name,
|
|
1068
|
-
optional: isOptional(typeSchemas.request?.schema)
|
|
1069
|
-
} : void 0,
|
|
1070
|
-
params: typeSchemas.queryParams?.name ? {
|
|
1071
|
-
type: typeSchemas.queryParams?.name,
|
|
1072
|
-
optional: isOptional(typeSchemas.queryParams?.schema)
|
|
1073
|
-
} : void 0,
|
|
1074
|
-
headers: typeSchemas.headerParams?.name ? {
|
|
1075
|
-
type: typeSchemas.headerParams?.name,
|
|
1076
|
-
optional: isOptional(typeSchemas.headerParams?.schema)
|
|
1077
|
-
} : void 0
|
|
1078
|
-
};
|
|
1079
|
-
const allChildrenAreOptional = Object.values(children).every((child) => !child || child.optional);
|
|
1080
|
-
return FunctionParams.factory({
|
|
1081
|
-
data: {
|
|
1082
|
-
mode: "object",
|
|
1083
|
-
children,
|
|
1084
|
-
default: allChildrenAreOptional ? "{}" : void 0
|
|
1085
|
-
},
|
|
1086
|
-
options: {
|
|
1087
|
-
type: `
|
|
1088
|
-
{
|
|
1089
|
-
query?: Partial<UseSuspenseInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey, ${pageParamGeneric}>> & { client?: QueryClient },
|
|
1090
|
-
client?: ${typeSchemas.request?.name ? `Partial<RequestConfig<${typeSchemas.request?.name}>> & { client?: Client }` : "Partial<RequestConfig> & { client?: Client }"}
|
|
1091
|
-
}
|
|
1092
|
-
`,
|
|
1093
|
-
default: "{}"
|
|
1094
|
-
}
|
|
1095
|
-
});
|
|
1096
|
-
}
|
|
1097
|
-
return FunctionParams.factory({
|
|
1098
|
-
pathParams: typeSchemas.pathParams?.name ? {
|
|
1099
|
-
mode: pathParamsType === "object" ? "object" : "inlineSpread",
|
|
1100
|
-
children: getPathParams(typeSchemas.pathParams, {
|
|
1101
|
-
typed: true,
|
|
1102
|
-
casing: paramsCasing
|
|
1103
|
-
}),
|
|
1104
|
-
default: isAllOptional(typeSchemas.pathParams?.schema) ? "{}" : void 0
|
|
1105
|
-
} : void 0,
|
|
1106
|
-
data: typeSchemas.request?.name ? {
|
|
1107
|
-
type: typeSchemas.request?.name,
|
|
1108
|
-
optional: isOptional(typeSchemas.request?.schema)
|
|
1109
|
-
} : void 0,
|
|
1110
|
-
params: typeSchemas.queryParams?.name ? {
|
|
1111
|
-
type: typeSchemas.queryParams?.name,
|
|
1112
|
-
optional: isOptional(typeSchemas.queryParams?.schema)
|
|
1113
|
-
} : void 0,
|
|
1114
|
-
headers: typeSchemas.headerParams?.name ? {
|
|
1115
|
-
type: typeSchemas.headerParams?.name,
|
|
1116
|
-
optional: isOptional(typeSchemas.headerParams?.schema)
|
|
1117
|
-
} : void 0,
|
|
1118
|
-
options: {
|
|
1119
|
-
type: `
|
|
1120
|
-
{
|
|
1121
|
-
query?: Partial<UseSuspenseInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey, ${pageParamGeneric}>> & { client?: QueryClient },
|
|
1122
|
-
client?: ${typeSchemas.request?.name ? `Partial<RequestConfig<${typeSchemas.request?.name}>> & { client?: Client }` : "Partial<RequestConfig> & { client?: Client }"}
|
|
1123
|
-
}
|
|
1124
|
-
`,
|
|
1125
|
-
default: "{}"
|
|
1126
|
-
}
|
|
1127
|
-
});
|
|
1128
|
-
}
|
|
1129
|
-
__name(getParams$2, "getParams");
|
|
1130
|
-
function SuspenseInfiniteQuery({ name, queryKeyTypeName, queryOptionsName, queryKeyName, paramsType, paramsCasing, pathParamsType, dataReturnType, typeSchemas, operation, customOptions, initialPageParam, queryParam }) {
|
|
1131
|
-
const responseType = dataReturnType === "data" ? typeSchemas.response.name : `ResponseConfig<${typeSchemas.response.name}>`;
|
|
1132
|
-
const errorType = `ResponseErrorConfig<${typeSchemas.errors?.map((item) => item.name).join(" | ") || "Error"}>`;
|
|
1133
|
-
const isInitialPageParamDefined = initialPageParam !== void 0 && initialPageParam !== null;
|
|
1134
|
-
const fallbackPageParamType = typeof initialPageParam === "number" ? "number" : typeof initialPageParam === "string" ? initialPageParam.includes(" as ") ? (() => {
|
|
1135
|
-
const parts = initialPageParam.split(" as ");
|
|
1136
|
-
return parts[parts.length - 1] ?? "unknown";
|
|
1137
|
-
})() : "string" : typeof initialPageParam === "boolean" ? "boolean" : "unknown";
|
|
1138
|
-
const queryParamType = queryParam && typeSchemas.queryParams?.name ? `${typeSchemas.queryParams?.name}['${queryParam}']` : void 0;
|
|
1139
|
-
const pageParamType = queryParamType ? isInitialPageParamDefined ? `NonNullable<${queryParamType}>` : queryParamType : fallbackPageParamType;
|
|
1140
|
-
const returnType = "UseSuspenseInfiniteQueryResult<TData, TError> & { queryKey: TQueryKey }";
|
|
1141
|
-
const generics = [
|
|
1142
|
-
`TQueryFnData = ${responseType}`,
|
|
1143
|
-
`TError = ${errorType}`,
|
|
1144
|
-
"TData = InfiniteData<TQueryFnData>",
|
|
1145
|
-
`TQueryKey extends QueryKey = ${queryKeyTypeName}`,
|
|
1146
|
-
`TPageParam = ${pageParamType}`
|
|
1147
|
-
];
|
|
1148
|
-
const queryKeyParams = QueryKey.getParams({
|
|
1149
|
-
pathParamsType,
|
|
1150
|
-
typeSchemas,
|
|
1151
|
-
paramsCasing
|
|
1152
|
-
});
|
|
1153
|
-
const queryOptionsParams = QueryOptions.getParams({
|
|
1154
|
-
paramsType,
|
|
1155
|
-
pathParamsType,
|
|
1156
|
-
typeSchemas,
|
|
1157
|
-
paramsCasing
|
|
1158
|
-
});
|
|
1159
|
-
const params = getParams$2({
|
|
1160
|
-
paramsCasing,
|
|
1161
|
-
paramsType,
|
|
1162
|
-
pathParamsType,
|
|
1163
|
-
typeSchemas,
|
|
1164
|
-
pageParamGeneric: "TPageParam"
|
|
1165
|
-
});
|
|
1166
|
-
const queryOptions = `${queryOptionsName}(${queryOptionsParams.toCall()})`;
|
|
1167
|
-
return /* @__PURE__ */ jsx(File.Source, {
|
|
1168
|
-
name,
|
|
1169
|
-
isExportable: true,
|
|
1170
|
-
isIndexable: true,
|
|
1171
|
-
children: /* @__PURE__ */ jsx(Function$1, {
|
|
1172
|
-
name,
|
|
1173
|
-
export: true,
|
|
1174
|
-
generics: generics.join(", "),
|
|
1175
|
-
params: params.toConstructor(),
|
|
1176
|
-
JSDoc: { comments: getComments(operation) },
|
|
1177
|
-
children: `
|
|
1178
|
-
const { query: queryConfig = {}, client: config = {} } = options ?? {}
|
|
1179
|
-
const { client: queryClient, ...resolvedOptions } = queryConfig
|
|
1180
|
-
const queryKey = resolvedOptions?.queryKey ?? ${queryKeyName}(${queryKeyParams.toCall()})
|
|
1181
|
-
${customOptions ? `const customOptions = ${customOptions.name}({ hookName: '${name}', operationId: '${operation.getOperationId()}' })` : ""}
|
|
1182
|
-
|
|
1183
|
-
const query = useSuspenseInfiniteQuery({
|
|
1184
|
-
...${queryOptions},${customOptions ? "\n...customOptions," : ""}
|
|
1185
|
-
...resolvedOptions,
|
|
1186
|
-
queryKey,
|
|
1187
|
-
} as unknown as UseSuspenseInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey, TPageParam>, queryClient) as ${returnType}
|
|
1188
|
-
|
|
1189
|
-
query.queryKey = queryKey as TQueryKey
|
|
1190
|
-
|
|
1191
|
-
return query
|
|
1192
|
-
`
|
|
1193
|
-
})
|
|
1194
|
-
});
|
|
1195
|
-
}
|
|
1196
|
-
SuspenseInfiniteQuery.getParams = getParams$2;
|
|
1197
|
-
//#endregion
|
|
1198
|
-
//#region src/components/SuspenseInfiniteQueryOptions.tsx
|
|
1199
|
-
function getParams$1({ paramsType, paramsCasing, pathParamsType, typeSchemas }) {
|
|
1200
|
-
if (paramsType === "object") {
|
|
1201
|
-
const children = {
|
|
1202
|
-
...getPathParams(typeSchemas.pathParams, {
|
|
1203
|
-
typed: true,
|
|
1204
|
-
casing: paramsCasing
|
|
1205
|
-
}),
|
|
1206
|
-
data: typeSchemas.request?.name ? {
|
|
1207
|
-
type: typeSchemas.request?.name,
|
|
1208
|
-
optional: isOptional(typeSchemas.request?.schema)
|
|
1209
|
-
} : void 0,
|
|
1210
|
-
params: typeSchemas.queryParams?.name ? {
|
|
1211
|
-
type: typeSchemas.queryParams?.name,
|
|
1212
|
-
optional: isOptional(typeSchemas.queryParams?.schema)
|
|
1213
|
-
} : void 0,
|
|
1214
|
-
headers: typeSchemas.headerParams?.name ? {
|
|
1215
|
-
type: typeSchemas.headerParams?.name,
|
|
1216
|
-
optional: isOptional(typeSchemas.headerParams?.schema)
|
|
1217
|
-
} : void 0
|
|
1218
|
-
};
|
|
1219
|
-
const allChildrenAreOptional = Object.values(children).every((child) => !child || child.optional);
|
|
1220
|
-
return FunctionParams.factory({
|
|
1221
|
-
data: {
|
|
1222
|
-
mode: "object",
|
|
1223
|
-
children,
|
|
1224
|
-
default: allChildrenAreOptional ? "{}" : void 0
|
|
1225
|
-
},
|
|
1226
|
-
config: {
|
|
1227
|
-
type: typeSchemas.request?.name ? `Partial<RequestConfig<${typeSchemas.request?.name}>> & { client?: Client }` : "Partial<RequestConfig> & { client?: Client }",
|
|
1228
|
-
default: "{}"
|
|
1229
|
-
}
|
|
1230
|
-
});
|
|
1231
|
-
}
|
|
1232
|
-
return FunctionParams.factory({
|
|
1233
|
-
pathParams: typeSchemas.pathParams?.name ? {
|
|
1234
|
-
mode: pathParamsType === "object" ? "object" : "inlineSpread",
|
|
1235
|
-
children: getPathParams(typeSchemas.pathParams, {
|
|
1236
|
-
typed: true,
|
|
1237
|
-
casing: paramsCasing
|
|
1238
|
-
}),
|
|
1239
|
-
default: isAllOptional(typeSchemas.pathParams?.schema) ? "{}" : void 0
|
|
1240
|
-
} : void 0,
|
|
1241
|
-
data: typeSchemas.request?.name ? {
|
|
1242
|
-
type: typeSchemas.request?.name,
|
|
1243
|
-
optional: isOptional(typeSchemas.request?.schema)
|
|
1244
|
-
} : void 0,
|
|
1245
|
-
params: typeSchemas.queryParams?.name ? {
|
|
1246
|
-
type: typeSchemas.queryParams?.name,
|
|
1247
|
-
optional: isOptional(typeSchemas.queryParams?.schema)
|
|
1248
|
-
} : void 0,
|
|
1249
|
-
headers: typeSchemas.headerParams?.name ? {
|
|
1250
|
-
type: typeSchemas.headerParams?.name,
|
|
1251
|
-
optional: isOptional(typeSchemas.headerParams?.schema)
|
|
1252
|
-
} : void 0,
|
|
1253
|
-
config: {
|
|
1254
|
-
type: typeSchemas.request?.name ? `Partial<RequestConfig<${typeSchemas.request?.name}>> & { client?: Client }` : "Partial<RequestConfig> & { client?: Client }",
|
|
1255
|
-
default: "{}"
|
|
1256
|
-
}
|
|
1257
|
-
});
|
|
1258
|
-
}
|
|
1259
|
-
__name(getParams$1, "getParams");
|
|
1260
|
-
function SuspenseInfiniteQueryOptions({ name, clientName, initialPageParam, cursorParam, nextParam, previousParam, typeSchemas, paramsCasing, paramsType, dataReturnType, pathParamsType, queryParam, queryKeyName }) {
|
|
1261
|
-
const queryFnDataType = dataReturnType === "data" ? typeSchemas.response.name : `ResponseConfig<${typeSchemas.response.name}>`;
|
|
1262
|
-
const errorType = `ResponseErrorConfig<${typeSchemas.errors?.map((item) => item.name).join(" | ") || "Error"}>`;
|
|
1263
|
-
const isInitialPageParamDefined = initialPageParam !== void 0 && initialPageParam !== null;
|
|
1264
|
-
const fallbackPageParamType = typeof initialPageParam === "number" ? "number" : typeof initialPageParam === "string" ? initialPageParam.includes(" as ") ? (() => {
|
|
1265
|
-
const parts = initialPageParam.split(" as ");
|
|
1266
|
-
return parts[parts.length - 1] ?? "unknown";
|
|
1267
|
-
})() : "string" : typeof initialPageParam === "boolean" ? "boolean" : "unknown";
|
|
1268
|
-
const queryParamType = queryParam && typeSchemas.queryParams?.name ? `${typeSchemas.queryParams?.name}['${queryParam}']` : void 0;
|
|
1269
|
-
const pageParamType = queryParamType ? isInitialPageParamDefined ? `NonNullable<${queryParamType}>` : queryParamType : fallbackPageParamType;
|
|
1270
|
-
const params = getParams$1({
|
|
1271
|
-
paramsType,
|
|
1272
|
-
paramsCasing,
|
|
1273
|
-
pathParamsType,
|
|
1274
|
-
typeSchemas
|
|
1275
|
-
});
|
|
1276
|
-
const clientParams = Client.getParams({
|
|
1277
|
-
paramsCasing,
|
|
1278
|
-
typeSchemas,
|
|
1279
|
-
paramsType,
|
|
1280
|
-
pathParamsType,
|
|
1281
|
-
isConfigurable: true
|
|
1282
|
-
});
|
|
1283
|
-
const queryKeyParams = QueryKey.getParams({
|
|
1284
|
-
pathParamsType,
|
|
1285
|
-
typeSchemas,
|
|
1286
|
-
paramsCasing
|
|
1287
|
-
});
|
|
1288
|
-
const hasNewParams = nextParam !== void 0 || previousParam !== void 0;
|
|
1289
|
-
let getNextPageParamExpr;
|
|
1290
|
-
let getPreviousPageParamExpr;
|
|
1291
|
-
if (hasNewParams) {
|
|
1292
|
-
if (nextParam) {
|
|
1293
|
-
const accessor = getNestedAccessor(nextParam, "lastPage");
|
|
1294
|
-
if (accessor) getNextPageParamExpr = `getNextPageParam: (lastPage) => ${accessor}`;
|
|
1295
|
-
}
|
|
1296
|
-
if (previousParam) {
|
|
1297
|
-
const accessor = getNestedAccessor(previousParam, "firstPage");
|
|
1298
|
-
if (accessor) getPreviousPageParamExpr = `getPreviousPageParam: (firstPage) => ${accessor}`;
|
|
1299
|
-
}
|
|
1300
|
-
} else if (cursorParam) {
|
|
1301
|
-
getNextPageParamExpr = `getNextPageParam: (lastPage) => lastPage['${cursorParam}']`;
|
|
1302
|
-
getPreviousPageParamExpr = `getPreviousPageParam: (firstPage) => firstPage['${cursorParam}']`;
|
|
1303
|
-
} else {
|
|
1304
|
-
if (dataReturnType === "full") getNextPageParamExpr = "getNextPageParam: (lastPage, _allPages, lastPageParam) => Array.isArray(lastPage.data) && lastPage.data.length === 0 ? undefined : lastPageParam + 1";
|
|
1305
|
-
else getNextPageParamExpr = "getNextPageParam: (lastPage, _allPages, lastPageParam) => Array.isArray(lastPage) && lastPage.length === 0 ? undefined : lastPageParam + 1";
|
|
1306
|
-
getPreviousPageParamExpr = "getPreviousPageParam: (_firstPage, _allPages, firstPageParam) => firstPageParam <= 1 ? undefined : firstPageParam - 1";
|
|
1307
|
-
}
|
|
1308
|
-
const queryOptions = [
|
|
1309
|
-
`initialPageParam: ${typeof initialPageParam === "string" ? JSON.stringify(initialPageParam) : initialPageParam}`,
|
|
1310
|
-
getNextPageParamExpr,
|
|
1311
|
-
getPreviousPageParamExpr
|
|
1312
|
-
].filter(Boolean);
|
|
1313
|
-
const infiniteOverrideParams = queryParam && typeSchemas.queryParams?.name ? `
|
|
1314
|
-
params = {
|
|
1315
|
-
...(params ?? {}),
|
|
1316
|
-
['${queryParam}']: pageParam as unknown as ${typeSchemas.queryParams?.name}['${queryParam}'],
|
|
1317
|
-
} as ${typeSchemas.queryParams?.name}` : "";
|
|
1318
|
-
const enabled = Object.entries(queryKeyParams.flatParams).map(([key, item]) => {
|
|
1319
|
-
return item && !item.optional && !item.default ? key : void 0;
|
|
1320
|
-
}).filter(Boolean).join("&& ");
|
|
1321
|
-
const enabledText = enabled ? `enabled: !!(${enabled}),` : "";
|
|
1322
|
-
if (infiniteOverrideParams) return /* @__PURE__ */ jsx(File.Source, {
|
|
1323
|
-
name,
|
|
1324
|
-
isExportable: true,
|
|
1325
|
-
isIndexable: true,
|
|
1326
|
-
children: /* @__PURE__ */ jsx(Function$1, {
|
|
1327
|
-
name,
|
|
1328
|
-
export: true,
|
|
1329
|
-
params: params.toConstructor(),
|
|
1330
|
-
children: `
|
|
1331
|
-
const queryKey = ${queryKeyName}(${queryKeyParams.toCall()})
|
|
1332
|
-
return infiniteQueryOptions<${queryFnDataType}, ${errorType}, InfiniteData<${queryFnDataType}>, typeof queryKey, ${pageParamType}>({
|
|
1333
|
-
${enabledText}
|
|
1334
|
-
queryKey,
|
|
1335
|
-
queryFn: async ({ signal, pageParam }) => {
|
|
1336
|
-
${infiniteOverrideParams}
|
|
1337
|
-
return ${clientName}(${clientParams.toCall({ transformName(name) {
|
|
1338
|
-
if (name === "config") return "{ ...config, signal: config.signal ?? signal }";
|
|
1339
|
-
return name;
|
|
1340
|
-
} })})
|
|
1341
|
-
},
|
|
1342
|
-
${queryOptions.join(",\n")}
|
|
1343
|
-
})
|
|
1344
|
-
`
|
|
1345
|
-
})
|
|
1346
|
-
});
|
|
1347
|
-
return /* @__PURE__ */ jsx(File.Source, {
|
|
1348
|
-
name,
|
|
1349
|
-
isExportable: true,
|
|
1350
|
-
isIndexable: true,
|
|
1351
|
-
children: /* @__PURE__ */ jsx(Function$1, {
|
|
1352
|
-
name,
|
|
1353
|
-
export: true,
|
|
1354
|
-
params: params.toConstructor(),
|
|
1355
|
-
children: `
|
|
1356
|
-
const queryKey = ${queryKeyName}(${queryKeyParams.toCall()})
|
|
1357
|
-
return infiniteQueryOptions<${queryFnDataType}, ${errorType}, InfiniteData<${queryFnDataType}>, typeof queryKey, ${pageParamType}>({
|
|
1358
|
-
${enabledText}
|
|
1359
|
-
queryKey,
|
|
1360
|
-
queryFn: async ({ signal }) => {
|
|
1361
|
-
return ${clientName}(${clientParams.toCall({ transformName(name) {
|
|
1362
|
-
if (name === "config") return "{ ...config, signal: config.signal ?? signal }";
|
|
1363
|
-
return name;
|
|
1364
|
-
} })})
|
|
1365
|
-
},
|
|
1366
|
-
${queryOptions.join(",\n")}
|
|
1367
|
-
})
|
|
1368
|
-
`
|
|
1369
|
-
})
|
|
1370
|
-
});
|
|
1371
|
-
}
|
|
1372
|
-
SuspenseInfiniteQueryOptions.getParams = getParams$1;
|
|
1373
|
-
//#endregion
|
|
1374
|
-
//#region src/components/SuspenseQuery.tsx
|
|
1375
|
-
function getParams({ paramsType, paramsCasing, pathParamsType, dataReturnType, typeSchemas }) {
|
|
1376
|
-
const TData = dataReturnType === "data" ? typeSchemas.response.name : `ResponseConfig<${typeSchemas.response.name}>`;
|
|
1377
|
-
const TError = `ResponseErrorConfig<${typeSchemas.errors?.map((item) => item.name).join(" | ") || "Error"}>`;
|
|
1378
|
-
if (paramsType === "object") {
|
|
1379
|
-
const children = {
|
|
1380
|
-
...getPathParams(typeSchemas.pathParams, {
|
|
1381
|
-
typed: true,
|
|
1382
|
-
casing: paramsCasing
|
|
1383
|
-
}),
|
|
1384
|
-
data: typeSchemas.request?.name ? {
|
|
1385
|
-
type: typeSchemas.request?.name,
|
|
1386
|
-
optional: isOptional(typeSchemas.request?.schema)
|
|
1387
|
-
} : void 0,
|
|
1388
|
-
params: typeSchemas.queryParams?.name ? {
|
|
1389
|
-
type: typeSchemas.queryParams?.name,
|
|
1390
|
-
optional: isOptional(typeSchemas.queryParams?.schema)
|
|
1391
|
-
} : void 0,
|
|
1392
|
-
headers: typeSchemas.headerParams?.name ? {
|
|
1393
|
-
type: typeSchemas.headerParams?.name,
|
|
1394
|
-
optional: isOptional(typeSchemas.headerParams?.schema)
|
|
1395
|
-
} : void 0
|
|
1396
|
-
};
|
|
1397
|
-
const allChildrenAreOptional = Object.values(children).every((child) => !child || child.optional);
|
|
1398
|
-
return FunctionParams.factory({
|
|
1399
|
-
data: {
|
|
1400
|
-
mode: "object",
|
|
1401
|
-
children,
|
|
1402
|
-
default: allChildrenAreOptional ? "{}" : void 0
|
|
1403
|
-
},
|
|
1404
|
-
options: {
|
|
1405
|
-
type: `
|
|
1406
|
-
{
|
|
1407
|
-
query?: Partial<UseSuspenseQueryOptions<${[
|
|
1408
|
-
TData,
|
|
1409
|
-
TError,
|
|
1410
|
-
"TData",
|
|
1411
|
-
"TQueryKey"
|
|
1412
|
-
].join(", ")}>> & { client?: QueryClient },
|
|
1413
|
-
client?: ${typeSchemas.request?.name ? `Partial<RequestConfig<${typeSchemas.request?.name}>> & { client?: Client }` : "Partial<RequestConfig> & { client?: Client }"}
|
|
1414
|
-
}
|
|
1415
|
-
`,
|
|
1416
|
-
default: "{}"
|
|
1417
|
-
}
|
|
1418
|
-
});
|
|
1419
|
-
}
|
|
1420
|
-
return FunctionParams.factory({
|
|
1421
|
-
pathParams: typeSchemas.pathParams?.name ? {
|
|
1422
|
-
mode: pathParamsType === "object" ? "object" : "inlineSpread",
|
|
1423
|
-
children: getPathParams(typeSchemas.pathParams, {
|
|
1424
|
-
typed: true,
|
|
1425
|
-
casing: paramsCasing
|
|
1426
|
-
}),
|
|
1427
|
-
default: isAllOptional(typeSchemas.pathParams?.schema) ? "{}" : void 0
|
|
1428
|
-
} : void 0,
|
|
1429
|
-
data: typeSchemas.request?.name ? {
|
|
1430
|
-
type: typeSchemas.request?.name,
|
|
1431
|
-
optional: isOptional(typeSchemas.request?.schema)
|
|
1432
|
-
} : void 0,
|
|
1433
|
-
params: typeSchemas.queryParams?.name ? {
|
|
1434
|
-
type: typeSchemas.queryParams?.name,
|
|
1435
|
-
optional: isOptional(typeSchemas.queryParams?.schema)
|
|
1436
|
-
} : void 0,
|
|
1437
|
-
headers: typeSchemas.headerParams?.name ? {
|
|
1438
|
-
type: typeSchemas.headerParams?.name,
|
|
1439
|
-
optional: isOptional(typeSchemas.headerParams?.schema)
|
|
1440
|
-
} : void 0,
|
|
1441
|
-
options: {
|
|
1442
|
-
type: `
|
|
1443
|
-
{
|
|
1444
|
-
query?: Partial<UseSuspenseQueryOptions<${[
|
|
1445
|
-
TData,
|
|
1446
|
-
TError,
|
|
1447
|
-
"TData",
|
|
1448
|
-
"TQueryKey"
|
|
1449
|
-
].join(", ")}>> & { client?: QueryClient },
|
|
1450
|
-
client?: ${typeSchemas.request?.name ? `Partial<RequestConfig<${typeSchemas.request?.name}>> & { client?: Client }` : "Partial<RequestConfig> & { client?: Client }"}
|
|
1451
|
-
}
|
|
1452
|
-
`,
|
|
1453
|
-
default: "{}"
|
|
1454
|
-
}
|
|
1455
|
-
});
|
|
1456
|
-
}
|
|
1457
|
-
/**
|
|
1458
|
-
* Generates a strongly-typed React Query Suspense hook function for an OpenAPI operation.
|
|
1459
|
-
*
|
|
1460
|
-
* The generated function wraps `useSuspenseQuery`, providing type-safe parameters and return types based on the supplied OpenAPI schemas and configuration.
|
|
1461
|
-
*
|
|
1462
|
-
* @returns A React component source node containing the generated query function.
|
|
1463
|
-
*/
|
|
1464
|
-
function SuspenseQuery({ name, queryKeyTypeName, queryOptionsName, queryKeyName, paramsType, paramsCasing, pathParamsType, dataReturnType, typeSchemas, operation, customOptions }) {
|
|
1465
|
-
const TData = dataReturnType === "data" ? typeSchemas.response.name : `ResponseConfig<${typeSchemas.response.name}>`;
|
|
1466
|
-
const returnType = `UseSuspenseQueryResult<${["TData", `ResponseErrorConfig<${typeSchemas.errors?.map((item) => item.name).join(" | ") || "Error"}>`].join(", ")}> & { queryKey: TQueryKey }`;
|
|
1467
|
-
const generics = [`TData = ${TData}`, `TQueryKey extends QueryKey = ${queryKeyTypeName}`];
|
|
1468
|
-
const queryKeyParams = QueryKey.getParams({
|
|
1469
|
-
pathParamsType,
|
|
1470
|
-
typeSchemas,
|
|
1471
|
-
paramsCasing
|
|
1472
|
-
});
|
|
1473
|
-
const queryOptionsParams = QueryOptions.getParams({
|
|
1474
|
-
paramsCasing,
|
|
1475
|
-
paramsType,
|
|
1476
|
-
pathParamsType,
|
|
1477
|
-
typeSchemas
|
|
1478
|
-
});
|
|
1479
|
-
const params = getParams({
|
|
1480
|
-
paramsCasing,
|
|
1481
|
-
paramsType,
|
|
1482
|
-
pathParamsType,
|
|
1483
|
-
dataReturnType,
|
|
1484
|
-
typeSchemas
|
|
1485
|
-
});
|
|
1486
|
-
const queryOptions = `${queryOptionsName}(${queryOptionsParams.toCall()})`;
|
|
1487
|
-
return /* @__PURE__ */ jsx(File.Source, {
|
|
1488
|
-
name,
|
|
1489
|
-
isExportable: true,
|
|
1490
|
-
isIndexable: true,
|
|
1491
|
-
children: /* @__PURE__ */ jsx(Function$1, {
|
|
1492
|
-
name,
|
|
1493
|
-
export: true,
|
|
1494
|
-
generics: generics.join(", "),
|
|
1495
|
-
params: params.toConstructor(),
|
|
1496
|
-
JSDoc: { comments: getComments(operation) },
|
|
1497
|
-
children: `
|
|
1498
|
-
const { query: queryConfig = {}, client: config = {} } = options ?? {}
|
|
1499
|
-
const { client: queryClient, ...resolvedOptions } = queryConfig
|
|
1500
|
-
const queryKey = resolvedOptions?.queryKey ?? ${queryKeyName}(${queryKeyParams.toCall()})
|
|
1501
|
-
${customOptions ? `const customOptions = ${customOptions.name}({ hookName: '${name}', operationId: '${operation.getOperationId()}' })` : ""}
|
|
1502
|
-
|
|
1503
|
-
const query = useSuspenseQuery({
|
|
1504
|
-
...${queryOptions},${customOptions ? "\n...customOptions," : ""}
|
|
1505
|
-
...resolvedOptions,
|
|
1506
|
-
queryKey,
|
|
1507
|
-
} as unknown as UseSuspenseQueryOptions, queryClient) as ${returnType}
|
|
1508
|
-
|
|
1509
|
-
query.queryKey = queryKey as TQueryKey
|
|
1510
|
-
|
|
1511
|
-
return query
|
|
1512
|
-
`
|
|
1513
|
-
})
|
|
1514
|
-
});
|
|
1515
|
-
}
|
|
1516
|
-
SuspenseQuery.getParams = getParams;
|
|
1517
|
-
//#endregion
|
|
1518
|
-
export { Mutation as a, InfiniteQuery as c, MutationKey as d, camelCase as f, Query as i, QueryOptions as l, SuspenseInfiniteQueryOptions as n, MutationOptions as o, pascalCase as p, SuspenseInfiniteQuery as r, InfiniteQueryOptions as s, SuspenseQuery as t, QueryKey as u };
|
|
1519
|
-
|
|
1520
|
-
//# sourceMappingURL=components-CpyHYGOw.js.map
|