@kubb/agent 4.33.1 → 4.33.2

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.
Files changed (392) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/server/chunks/nitro/nitro.mjs +18 -87
  3. package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
  4. package/.output/server/chunks/routes/api/health.get.mjs +1 -1
  5. package/.output/server/index.mjs +1 -1
  6. package/.output/server/node_modules/.nitro/picomatch@4.0.3/index.js +17 -0
  7. package/.output/server/node_modules/.nitro/picomatch@4.0.3/lib/constants.js +180 -0
  8. package/.output/server/node_modules/.nitro/picomatch@4.0.3/lib/parse.js +1085 -0
  9. package/.output/server/node_modules/.nitro/picomatch@4.0.3/lib/picomatch.js +341 -0
  10. package/.output/server/node_modules/.nitro/picomatch@4.0.3/lib/scan.js +391 -0
  11. package/.output/server/node_modules/.nitro/picomatch@4.0.3/lib/utils.js +72 -0
  12. package/.output/server/node_modules/.nitro/picomatch@4.0.3/package.json +83 -0
  13. package/.output/server/node_modules/@redocly/ajv/dist/2020.js +55 -0
  14. package/.output/server/node_modules/@redocly/ajv/dist/ajv.js +50 -0
  15. package/.output/server/node_modules/@redocly/ajv/dist/compile/codegen/code.js +156 -0
  16. package/.output/server/node_modules/@redocly/ajv/dist/compile/codegen/index.js +697 -0
  17. package/.output/server/node_modules/@redocly/ajv/dist/compile/codegen/scope.js +143 -0
  18. package/.output/server/node_modules/@redocly/ajv/dist/compile/errors.js +123 -0
  19. package/.output/server/node_modules/@redocly/ajv/dist/compile/index.js +249 -0
  20. package/.output/server/node_modules/@redocly/ajv/dist/compile/names.js +29 -0
  21. package/.output/server/node_modules/@redocly/ajv/dist/compile/ref_error.js +12 -0
  22. package/.output/server/node_modules/@redocly/ajv/dist/compile/resolve.js +155 -0
  23. package/.output/server/node_modules/@redocly/ajv/dist/compile/rules.js +26 -0
  24. package/.output/server/node_modules/@redocly/ajv/dist/compile/util.js +178 -0
  25. package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/applicability.js +19 -0
  26. package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/boolSchema.js +50 -0
  27. package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/dataType.js +203 -0
  28. package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/defaults.js +35 -0
  29. package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/index.js +534 -0
  30. package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/keyword.js +124 -0
  31. package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/subschema.js +81 -0
  32. package/.output/server/node_modules/@redocly/ajv/dist/core.js +632 -0
  33. package/.output/server/node_modules/@redocly/ajv/dist/draft4.js +56 -0
  34. package/.output/server/node_modules/@redocly/ajv/dist/refs/data.json +13 -0
  35. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
  36. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
  37. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
  38. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
  39. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
  40. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
  41. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
  42. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
  43. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
  44. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-draft-04.json +138 -0
  45. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-draft-07.json +151 -0
  46. package/.output/server/node_modules/@redocly/ajv/dist/runtime/equal.js +7 -0
  47. package/.output/server/node_modules/@redocly/ajv/dist/runtime/ucs2length.js +24 -0
  48. package/.output/server/node_modules/@redocly/ajv/dist/runtime/uri.js +6 -0
  49. package/.output/server/node_modules/@redocly/ajv/dist/runtime/validation_error.js +11 -0
  50. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
  51. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/additionalProperties.js +107 -0
  52. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/allOf.js +23 -0
  53. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
  54. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/contains.js +95 -0
  55. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
  56. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
  57. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/if.js +66 -0
  58. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/index.js +44 -0
  59. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/items.js +52 -0
  60. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/items2020.js +30 -0
  61. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/not.js +26 -0
  62. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
  63. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
  64. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
  65. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/properties.js +55 -0
  66. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
  67. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
  68. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/code.js +138 -0
  69. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/core/id.js +10 -0
  70. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/core/index.js +16 -0
  71. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/core/ref.js +132 -0
  72. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/discriminator/index.js +139 -0
  73. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/discriminator/types.js +9 -0
  74. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/draft2020.js +23 -0
  75. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/draft4.js +29 -0
  76. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/draft7.js +17 -0
  77. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
  78. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
  79. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/dynamic/index.js +9 -0
  80. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
  81. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
  82. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/format/format.js +92 -0
  83. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/format/index.js +6 -0
  84. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/metadata.js +26 -0
  85. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/next.js +8 -0
  86. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/oasContext.js +26 -0
  87. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/unevaluated/index.js +7 -0
  88. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
  89. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +84 -0
  90. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/const.js +25 -0
  91. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
  92. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/draft04/limitNumber.js +43 -0
  93. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/draft04/limitNumberExclusive.js +19 -0
  94. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/enum.js +48 -0
  95. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/index.js +37 -0
  96. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/limitContains.js +15 -0
  97. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/limitItems.js +24 -0
  98. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/limitLength.js +27 -0
  99. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
  100. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
  101. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
  102. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/pattern.js +33 -0
  103. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/readOnly.js +20 -0
  104. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/required.js +86 -0
  105. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
  106. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/writeOnly.js +20 -0
  107. package/.output/server/node_modules/@redocly/ajv/package.json +130 -0
  108. package/.output/server/node_modules/@redocly/config/lib/common.js +103 -0
  109. package/.output/server/node_modules/@redocly/config/lib/constants/config.js +17 -0
  110. package/.output/server/node_modules/@redocly/config/lib/constants/entities.js +58 -0
  111. package/.output/server/node_modules/@redocly/config/lib/constants/enum.js +6 -0
  112. package/.output/server/node_modules/@redocly/config/lib/constants/shared.js +22 -0
  113. package/.output/server/node_modules/@redocly/config/lib/default-theme-config-schema.js +54 -0
  114. package/.output/server/node_modules/@redocly/config/lib/entities-catalog-config-schema.js +186 -0
  115. package/.output/server/node_modules/@redocly/config/lib/entities-catalog-entity-file-schema.js +283 -0
  116. package/.output/server/node_modules/@redocly/config/lib/ex-theme-config-schemas.js +682 -0
  117. package/.output/server/node_modules/@redocly/config/lib/feedback-config-schema.js +88 -0
  118. package/.output/server/node_modules/@redocly/config/lib/graphql-config-schema.js +157 -0
  119. package/.output/server/node_modules/@redocly/config/lib/index.js +41 -0
  120. package/.output/server/node_modules/@redocly/config/lib/product-override-schema.js +43 -0
  121. package/.output/server/node_modules/@redocly/config/lib/redoc-config-schema.js +120 -0
  122. package/.output/server/node_modules/@redocly/config/lib/reference-docs-config-schema.js +518 -0
  123. package/.output/server/node_modules/@redocly/config/lib/remove-property-recursively.js +25 -0
  124. package/.output/server/node_modules/@redocly/config/lib/reunite-config-schema.js +103 -0
  125. package/.output/server/node_modules/@redocly/config/lib/root-config-schema.js +558 -0
  126. package/.output/server/node_modules/@redocly/config/lib/scorecards-config-schema.js +242 -0
  127. package/.output/server/node_modules/@redocly/config/lib/types/api-functions-types.js +3 -0
  128. package/.output/server/node_modules/@redocly/config/lib/types/catalog-entity-types.js +3 -0
  129. package/.output/server/node_modules/@redocly/config/lib/types/code-walkthrough-types.js +3 -0
  130. package/.output/server/node_modules/@redocly/config/lib/types/config-types.js +3 -0
  131. package/.output/server/node_modules/@redocly/config/lib/types/index.js +21 -0
  132. package/.output/server/node_modules/@redocly/config/lib/types/portal-shared-types.js +18 -0
  133. package/.output/server/node_modules/@redocly/config/package.json +28 -0
  134. package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle-document.js +85 -0
  135. package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle-visitor.js +257 -0
  136. package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle.js +74 -0
  137. package/.output/server/node_modules/@redocly/openapi-core/lib/config/all.js +310 -0
  138. package/.output/server/node_modules/@redocly/openapi-core/lib/config/builtIn.js +58 -0
  139. package/.output/server/node_modules/@redocly/openapi-core/lib/config/bundle-extends.js +27 -0
  140. package/.output/server/node_modules/@redocly/openapi-core/lib/config/config-resolvers.js +335 -0
  141. package/.output/server/node_modules/@redocly/openapi-core/lib/config/config.js +338 -0
  142. package/.output/server/node_modules/@redocly/openapi-core/lib/config/constants.js +13 -0
  143. package/.output/server/node_modules/@redocly/openapi-core/lib/config/get-resolve-config.js +9 -0
  144. package/.output/server/node_modules/@redocly/openapi-core/lib/config/group-assertion-rules.js +51 -0
  145. package/.output/server/node_modules/@redocly/openapi-core/lib/config/index.js +8 -0
  146. package/.output/server/node_modules/@redocly/openapi-core/lib/config/load.js +98 -0
  147. package/.output/server/node_modules/@redocly/openapi-core/lib/config/minimal.js +289 -0
  148. package/.output/server/node_modules/@redocly/openapi-core/lib/config/recommended-strict.js +289 -0
  149. package/.output/server/node_modules/@redocly/openapi-core/lib/config/recommended.js +289 -0
  150. package/.output/server/node_modules/@redocly/openapi-core/lib/config/rules.js +35 -0
  151. package/.output/server/node_modules/@redocly/openapi-core/lib/config/spec.js +289 -0
  152. package/.output/server/node_modules/@redocly/openapi-core/lib/config/types.js +2 -0
  153. package/.output/server/node_modules/@redocly/openapi-core/lib/config/utils.js +129 -0
  154. package/.output/server/node_modules/@redocly/openapi-core/lib/config/visitors.js +99 -0
  155. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/arazzo/index.js +2 -0
  156. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/async2/index.js +2 -0
  157. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/async3/index.js +2 -0
  158. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-helper.js +65 -0
  159. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-in.js +14 -0
  160. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-out.js +14 -0
  161. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/info-description-override.js +21 -0
  162. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/info-override.js +14 -0
  163. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/media-type-examples-override.js +58 -0
  164. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/operation-description-override.js +27 -0
  165. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/remove-x-internal.js +68 -0
  166. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/tag-description-override.js +23 -0
  167. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas2/index.js +19 -0
  168. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas2/remove-unused-components.js +88 -0
  169. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas3/index.js +21 -0
  170. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas3/remove-unused-components.js +116 -0
  171. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/openrpc/index.js +2 -0
  172. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/overlay1/index.js +2 -0
  173. package/.output/server/node_modules/@redocly/openapi-core/lib/detect-spec.js +79 -0
  174. package/.output/server/node_modules/@redocly/openapi-core/lib/env.js +5 -0
  175. package/.output/server/node_modules/@redocly/openapi-core/lib/errors/yaml-parse-error.js +14 -0
  176. package/.output/server/node_modules/@redocly/openapi-core/lib/format/codeframes.js +177 -0
  177. package/.output/server/node_modules/@redocly/openapi-core/lib/format/format.js +365 -0
  178. package/.output/server/node_modules/@redocly/openapi-core/lib/index.js +49 -0
  179. package/.output/server/node_modules/@redocly/openapi-core/lib/js-yaml/index.js +11 -0
  180. package/.output/server/node_modules/@redocly/openapi-core/lib/lint-entity.js +171 -0
  181. package/.output/server/node_modules/@redocly/openapi-core/lib/lint.js +123 -0
  182. package/.output/server/node_modules/@redocly/openapi-core/lib/logger.js +56 -0
  183. package/.output/server/node_modules/@redocly/openapi-core/lib/oas-types.js +35 -0
  184. package/.output/server/node_modules/@redocly/openapi-core/lib/ref-utils.js +109 -0
  185. package/.output/server/node_modules/@redocly/openapi-core/lib/resolve.js +326 -0
  186. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/ajv.js +106 -0
  187. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/criteria-unique.js +68 -0
  188. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/index.js +52 -0
  189. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/outputs-defined.js +139 -0
  190. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/parameters-unique.js +27 -0
  191. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/requestBody-replacements-unique.js +30 -0
  192. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescription-type.js +19 -0
  193. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescriptions-name-unique.js +21 -0
  194. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescriptions-not-empty.js +15 -0
  195. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/step-onFailure-unique.js +27 -0
  196. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/step-onSuccess-unique.js +27 -0
  197. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/stepId-unique.js +23 -0
  198. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/workflow-dependsOn.js +53 -0
  199. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/workflowId-unique.js +19 -0
  200. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/channels-kebab-case.js +16 -0
  201. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/index.js +32 -0
  202. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/no-channel-trailing-slash.js +13 -0
  203. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/channels-kebab-case.js +16 -0
  204. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/index.js +32 -0
  205. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/no-channel-trailing-slash.js +13 -0
  206. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/catalog-entity/entity-key-valid.js +39 -0
  207. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/asserts.js +269 -0
  208. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/index.js +22 -0
  209. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/utils.js +215 -0
  210. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-contact.js +14 -0
  211. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-license-strict.js +23 -0
  212. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-license.js +14 -0
  213. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-ambiguous-paths.js +42 -0
  214. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-duplicated-tag-names.js +21 -0
  215. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-enum-type-mismatch.js +38 -0
  216. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-http-verbs-in-paths.js +31 -0
  217. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-identical-paths.js +21 -0
  218. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-invalid-parameter-examples.js +32 -0
  219. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-invalid-schema-examples.js +34 -0
  220. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-path-trailing-slash.js +13 -0
  221. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-required-schema-properties-undefined.js +78 -0
  222. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-schema-type-mismatch.js +19 -0
  223. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-unresolved-refs.js +42 -0
  224. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-2xx-response.js +20 -0
  225. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-4xx-response.js +20 -0
  226. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-description.js +9 -0
  227. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId-unique.js +17 -0
  228. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId-url-safe.js +15 -0
  229. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId.js +13 -0
  230. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-parameters-unique.js +37 -0
  231. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-singular-tag.js +13 -0
  232. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-summary.js +9 -0
  233. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-tag-defined.js +27 -0
  234. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/parameter-description.js +19 -0
  235. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-declaration-must-exist.js +13 -0
  236. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-http-verbs-order.js +23 -0
  237. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-not-include-query.js +15 -0
  238. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-params-defined.js +145 -0
  239. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-segment-plural.js +30 -0
  240. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/paths-kebab-case.js +17 -0
  241. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/required-string-property-missing-min-length.js +34 -0
  242. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/response-contains-header.js +26 -0
  243. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/scalar-property-missing-example.js +39 -0
  244. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/security-defined.js +62 -0
  245. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/spec-strict-refs.js +27 -0
  246. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/struct.js +150 -0
  247. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/tag-description.js +9 -0
  248. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/tags-alphabetical.js +18 -0
  249. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/boolean-parameter-prefixes.js +19 -0
  250. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/index.js +93 -0
  251. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/request-mime-type.js +14 -0
  252. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/response-contains-property.js +34 -0
  253. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/response-mime-type.js +14 -0
  254. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/array-parameter-serialization.js +26 -0
  255. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/boolean-parameter-prefixes.js +21 -0
  256. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/component-name-unique.js +130 -0
  257. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/index.js +129 -0
  258. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-empty-servers.js +20 -0
  259. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-example-value-and-externalValue.js +13 -0
  260. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-invalid-media-type-examples.js +59 -0
  261. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-example.com.js +15 -0
  262. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-trailing-slash.js +15 -0
  263. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-variables-empty-enum.js +58 -0
  264. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-undefined-server-variable.js +28 -0
  265. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-unused-components.js +83 -0
  266. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/nullable-type-sibling.js +15 -0
  267. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/operation-4xx-problem-details-rfc7807.js +33 -0
  268. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/request-mime-type.js +28 -0
  269. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/response-contains-property.js +36 -0
  270. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/response-mime-type.js +28 -0
  271. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-components-invalid-map-name.js +59 -0
  272. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-discriminator-defaultMapping.js +32 -0
  273. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-example-values.js +31 -0
  274. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-no-invalid-encoding-combinations.js +16 -0
  275. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-no-invalid-tag-parents.js +38 -0
  276. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-querystring-parameters.js +65 -0
  277. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/index.js +20 -0
  278. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/no-unused-components.js +82 -0
  279. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/spec-no-duplicated-method-params.js +28 -0
  280. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/spec-no-required-params-after-optional.js +31 -0
  281. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/other/stats.js +190 -0
  282. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/overlay1/index.js +12 -0
  283. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-criteria-xpath.js +20 -0
  284. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-x-security-both-scheme-and-scheme-name.js +30 -0
  285. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-x-security-scheme-name-without-openapi.js +25 -0
  286. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/respect-supported-versions.js +18 -0
  287. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/x-security-scheme-name-reference.js +35 -0
  288. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/x-security-scheme-required-values.js +60 -0
  289. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/utils.js +172 -0
  290. package/.output/server/node_modules/@redocly/openapi-core/lib/types/arazzo.js +482 -0
  291. package/.output/server/node_modules/@redocly/openapi-core/lib/types/asyncapi2.js +1157 -0
  292. package/.output/server/node_modules/@redocly/openapi-core/lib/types/asyncapi3.js +511 -0
  293. package/.output/server/node_modules/@redocly/openapi-core/lib/types/entity.js +32 -0
  294. package/.output/server/node_modules/@redocly/openapi-core/lib/types/index.js +90 -0
  295. package/.output/server/node_modules/@redocly/openapi-core/lib/types/json-schema-adapter.js +181 -0
  296. package/.output/server/node_modules/@redocly/openapi-core/lib/types/json-schema-draft7.shared.js +101 -0
  297. package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas2.js +454 -0
  298. package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3.js +828 -0
  299. package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3_1.js +292 -0
  300. package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3_2.js +306 -0
  301. package/.output/server/node_modules/@redocly/openapi-core/lib/types/openrpc.js +360 -0
  302. package/.output/server/node_modules/@redocly/openapi-core/lib/types/overlay.js +61 -0
  303. package/.output/server/node_modules/@redocly/openapi-core/lib/types/redocly-yaml.js +573 -0
  304. package/.output/server/node_modules/@redocly/openapi-core/lib/typings/arazzo.js +3 -0
  305. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/assign-config.js +28 -0
  306. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/dequal.js +36 -0
  307. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/does-yaml-file-exist.js +7 -0
  308. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/error.js +3 -0
  309. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-intersection-length.js +11 -0
  310. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-matching-status-code-range.js +4 -0
  311. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-own.js +4 -0
  312. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/identity.js +4 -0
  313. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-custom-rule-id.js +4 -0
  314. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-defined.js +4 -0
  315. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-empty-array.js +4 -0
  316. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-empty-object.js +5 -0
  317. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-empty-array.js +4 -0
  318. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-empty-object.js +6 -0
  319. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-string.js +5 -0
  320. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-ordered.js +27 -0
  321. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-path-parameter.js +4 -0
  322. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-plain-object.js +4 -0
  323. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-string.js +4 -0
  324. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-truthy.js +4 -0
  325. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/keys-of.js +6 -0
  326. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/make-ref-id.js +4 -0
  327. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/next-tick.js +6 -0
  328. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/oas-has-component.js +4 -0
  329. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/omit.js +8 -0
  330. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/pause.js +4 -0
  331. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/pluralize.js +8 -0
  332. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/read-file-from-url.js +26 -0
  333. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/regex-from-string.js +5 -0
  334. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/scorecards.js +99 -0
  335. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/slash.js +11 -0
  336. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/split-camel-case-into-words.js +13 -0
  337. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/stack.js +7 -0
  338. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/validate-mime-type.js +31 -0
  339. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/yaml-fs-helper.js +23 -0
  340. package/.output/server/node_modules/@redocly/openapi-core/lib/visitors.js +177 -0
  341. package/.output/server/node_modules/@redocly/openapi-core/lib/walk.js +303 -0
  342. package/.output/server/node_modules/@redocly/openapi-core/package.json +74 -0
  343. package/.output/server/node_modules/ajv-formats/dist/formats.js +208 -0
  344. package/.output/server/node_modules/ajv-formats/dist/index.js +37 -0
  345. package/.output/server/node_modules/ajv-formats/dist/limit.js +69 -0
  346. package/.output/server/node_modules/ajv-formats/package.json +74 -0
  347. package/.output/server/node_modules/colorette/index.js +82 -0
  348. package/.output/server/node_modules/colorette/package.json +39 -0
  349. package/.output/server/node_modules/js-levenshtein/index.js +105 -0
  350. package/.output/server/node_modules/js-levenshtein/package.json +49 -0
  351. package/.output/server/node_modules/pluralize/package.json +40 -0
  352. package/.output/server/node_modules/pluralize/pluralize.js +503 -0
  353. package/.output/server/node_modules/yaml-ast-parser/dist/src/common.js +45 -0
  354. package/.output/server/node_modules/yaml-ast-parser/dist/src/dumper.js +644 -0
  355. package/.output/server/node_modules/yaml-ast-parser/dist/src/exception.js +40 -0
  356. package/.output/server/node_modules/yaml-ast-parser/dist/src/index.js +22 -0
  357. package/.output/server/node_modules/yaml-ast-parser/dist/src/loader.js +1416 -0
  358. package/.output/server/node_modules/yaml-ast-parser/dist/src/mark.js +62 -0
  359. package/.output/server/node_modules/yaml-ast-parser/dist/src/scalarInference.js +82 -0
  360. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/core.js +8 -0
  361. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/default_full.js +14 -0
  362. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/default_safe.js +19 -0
  363. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/failsafe.js +10 -0
  364. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/json.js +14 -0
  365. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema.js +78 -0
  366. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/binary.js +92 -0
  367. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/bool.js +32 -0
  368. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/float.js +95 -0
  369. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/int.js +155 -0
  370. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/js/regexp.js +64 -0
  371. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/js/undefined.js +22 -0
  372. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/map.js +7 -0
  373. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/merge.js +10 -0
  374. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/null.js +30 -0
  375. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/omap.js +46 -0
  376. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/pairs.js +55 -0
  377. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/seq.js +7 -0
  378. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/set.js +22 -0
  379. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/str.js +7 -0
  380. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/timestamp.js +70 -0
  381. package/.output/server/node_modules/yaml-ast-parser/dist/src/type.js +54 -0
  382. package/.output/server/node_modules/yaml-ast-parser/dist/src/yamlAST.js +82 -0
  383. package/.output/server/node_modules/yaml-ast-parser/package.json +39 -0
  384. package/.output/server/package.json +9 -1
  385. package/package.json +16 -16
  386. /package/.output/server/node_modules/{picomatch → .nitro/picomatch@2.3.1}/index.js +0 -0
  387. /package/.output/server/node_modules/{picomatch → .nitro/picomatch@2.3.1}/lib/constants.js +0 -0
  388. /package/.output/server/node_modules/{picomatch → .nitro/picomatch@2.3.1}/lib/parse.js +0 -0
  389. /package/.output/server/node_modules/{picomatch → .nitro/picomatch@2.3.1}/lib/picomatch.js +0 -0
  390. /package/.output/server/node_modules/{picomatch → .nitro/picomatch@2.3.1}/lib/scan.js +0 -0
  391. /package/.output/server/node_modules/{picomatch → .nitro/picomatch@2.3.1}/lib/utils.js +0 -0
  392. /package/.output/server/node_modules/{picomatch → .nitro/picomatch@2.3.1}/package.json +0 -0
@@ -0,0 +1,682 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.scorecardConfigSchema = exports.catalogsConfigSchema = exports.catalogSchema = exports.catalogFilterSchema = exports.breadcrumbsConfigSchema = exports.versionPickerConfigSchema = exports.userMenuConfigSchema = exports.analyticsConfigSchema = exports.googleAnalyticsConfigSchema = exports.productGoogleAnalyticsConfigSchema = exports.gtmAnalyticsConfigSchema = exports.segmentAnalyticsConfigSchema = exports.rudderstackAnalyticsConfigSchema = exports.heapAnalyticsConfigSchema = exports.fullstoryAnalyticsConfigSchema = exports.amplitudeAnalyticsConfigSchema = exports.openapiConfigSchema = exports.markdownConfigSchema = exports.codeSnippetConfigSchema = exports.navigationConfigSchema = exports.colorModeConfigSchema = exports.aiAssistantSchema = exports.searchConfigSchema = exports.linksConfigSchema = exports.scriptsConfigSchema = exports.sidebarConfigSchema = exports.footerConfigSchema = exports.productsConfigSchema = exports.navbarConfigSchema = exports.logoConfigSchema = exports.searchFiltersConfigSchema = exports.searchFacetsConfigSchema = exports.aiSearchConfigSchema = exports.productConfigSchema = exports.navItemsSchema = void 0;
4
+ const redoc_config_schema_1 = require("./redoc-config-schema");
5
+ const reference_docs_config_schema_1 = require("./reference-docs-config-schema");
6
+ const common_1 = require("./common");
7
+ const config_1 = require("./constants/config");
8
+ const hideConfigSchema = {
9
+ type: 'object',
10
+ properties: {
11
+ hide: { type: 'boolean' },
12
+ },
13
+ additionalProperties: false,
14
+ };
15
+ const scriptConfigSchema = {
16
+ type: 'object',
17
+ properties: {
18
+ src: { type: 'string' },
19
+ async: { type: 'boolean' },
20
+ crossorigin: { type: 'string' },
21
+ defer: { type: 'boolean' },
22
+ fetchpriority: { type: 'string' },
23
+ integrity: { type: 'string' },
24
+ module: { type: 'boolean' },
25
+ nomodule: { type: 'boolean' },
26
+ nonce: { type: 'string' },
27
+ referrerpolicy: { type: 'string' },
28
+ type: { type: 'string' },
29
+ },
30
+ required: ['src'],
31
+ additionalProperties: true,
32
+ };
33
+ const navItemSchema = {
34
+ type: 'object',
35
+ properties: {
36
+ page: { type: 'string' },
37
+ directory: { type: 'string' },
38
+ disconnect: { type: 'boolean', default: false },
39
+ group: { type: 'string' },
40
+ label: { type: 'string' },
41
+ href: { type: 'string' },
42
+ external: { type: 'boolean' },
43
+ labelTranslationKey: { type: 'string' },
44
+ groupTranslationKey: { type: 'string' },
45
+ icon: {
46
+ oneOf: [
47
+ { type: 'string' },
48
+ { type: 'object', properties: { srcSet: { type: 'string' } }, required: ['srcSet'] },
49
+ ],
50
+ },
51
+ separator: { type: 'string' },
52
+ separatorLine: { type: 'boolean' },
53
+ linePosition: {
54
+ type: 'string',
55
+ enum: ['top', 'bottom'],
56
+ default: 'top',
57
+ },
58
+ version: { type: 'string' },
59
+ menuStyle: { type: 'string', enum: ['drilldown'] },
60
+ expanded: { type: 'string', const: 'always' },
61
+ selectFirstItemOnExpand: { type: 'boolean' },
62
+ flatten: { type: 'boolean' },
63
+ linkedSidebars: {
64
+ type: 'array',
65
+ items: { type: 'string' },
66
+ },
67
+ // Allow users to eject the navbar and implement additional levels of nesting
68
+ items: { type: 'array', items: { type: 'object', additionalProperties: true } },
69
+ rbac: {
70
+ type: 'object',
71
+ additionalProperties: { type: 'string' },
72
+ },
73
+ additionalProps: { type: 'object', additionalProperties: true },
74
+ },
75
+ };
76
+ exports.navItemsSchema = {
77
+ type: 'array',
78
+ items: Object.assign(Object.assign({}, navItemSchema), { properties: Object.assign(Object.assign({}, navItemSchema.properties), { items: { type: 'array', items: navItemSchema } }) }),
79
+ };
80
+ exports.productConfigSchema = {
81
+ type: 'object',
82
+ properties: {
83
+ name: { type: 'string' },
84
+ icon: { type: 'string' },
85
+ folder: { type: 'string' },
86
+ },
87
+ additionalProperties: false,
88
+ required: ['name', 'folder'],
89
+ };
90
+ /**
91
+ * @deprecated Use `aiAssistant` configuration instead of `search.ai`
92
+ */
93
+ exports.aiSearchConfigSchema = {
94
+ type: 'object',
95
+ properties: {
96
+ hide: {
97
+ type: 'boolean',
98
+ default: false,
99
+ },
100
+ suggestions: {
101
+ default: [],
102
+ type: 'array',
103
+ items: {
104
+ type: 'string',
105
+ },
106
+ },
107
+ prompt: {
108
+ type: 'string',
109
+ },
110
+ },
111
+ additionalProperties: false,
112
+ };
113
+ exports.searchFacetsConfigSchema = {
114
+ type: 'array',
115
+ items: {
116
+ type: 'object',
117
+ required: ['name', 'field', 'type'],
118
+ properties: {
119
+ name: { type: 'string' },
120
+ field: { type: 'string' },
121
+ type: {
122
+ type: 'string',
123
+ enum: ['multi-select', 'select', 'tags'],
124
+ },
125
+ },
126
+ additionalProperties: false,
127
+ },
128
+ };
129
+ exports.searchFiltersConfigSchema = {
130
+ type: 'object',
131
+ properties: Object.assign({ facets: exports.searchFacetsConfigSchema }, hideConfigSchema.properties),
132
+ additionalProperties: false,
133
+ };
134
+ const searchSuggestedPageSchema = {
135
+ type: 'object',
136
+ properties: {
137
+ page: { type: 'string' },
138
+ label: { type: 'string' },
139
+ labelTranslationKey: { type: 'string' },
140
+ },
141
+ required: ['page'],
142
+ };
143
+ exports.logoConfigSchema = {
144
+ type: 'object',
145
+ properties: {
146
+ image: { type: 'string' },
147
+ srcSet: { type: 'string' },
148
+ altText: { type: 'string' },
149
+ link: { type: 'string' },
150
+ favicon: { type: 'string' },
151
+ },
152
+ additionalProperties: false,
153
+ };
154
+ exports.navbarConfigSchema = {
155
+ type: 'object',
156
+ properties: Object.assign({ items: exports.navItemsSchema }, hideConfigSchema.properties),
157
+ additionalProperties: false,
158
+ };
159
+ exports.productsConfigSchema = {
160
+ type: 'object',
161
+ additionalProperties: exports.productConfigSchema,
162
+ };
163
+ exports.footerConfigSchema = {
164
+ type: 'object',
165
+ properties: Object.assign({ items: exports.navItemsSchema, copyrightText: { type: 'string' }, logo: hideConfigSchema }, hideConfigSchema.properties),
166
+ additionalProperties: false,
167
+ };
168
+ exports.sidebarConfigSchema = {
169
+ type: 'object',
170
+ properties: Object.assign({ separatorLine: { type: 'boolean' }, linePosition: {
171
+ type: 'string',
172
+ enum: ['top', 'bottom'],
173
+ default: 'bottom',
174
+ } }, hideConfigSchema.properties),
175
+ additionalProperties: false,
176
+ };
177
+ exports.scriptsConfigSchema = {
178
+ type: 'object',
179
+ properties: {
180
+ head: { type: 'array', items: scriptConfigSchema },
181
+ body: { type: 'array', items: scriptConfigSchema },
182
+ },
183
+ additionalProperties: false,
184
+ };
185
+ exports.linksConfigSchema = {
186
+ type: 'array',
187
+ items: {
188
+ type: 'object',
189
+ properties: {
190
+ href: { type: 'string' },
191
+ as: { type: 'string' },
192
+ crossorigin: { type: 'string' },
193
+ fetchpriority: { type: 'string' },
194
+ hreflang: { type: 'string' },
195
+ imagesizes: { type: 'string' },
196
+ imagesrcset: { type: 'string' },
197
+ integrity: { type: 'string' },
198
+ media: { type: 'string' },
199
+ prefetch: { type: 'string' },
200
+ referrerpolicy: { type: 'string' },
201
+ rel: { type: 'string' },
202
+ sizes: { type: 'string' },
203
+ title: { type: 'string' },
204
+ type: { type: 'string' },
205
+ },
206
+ required: ['href'],
207
+ additionalProperties: true,
208
+ },
209
+ };
210
+ exports.searchConfigSchema = {
211
+ type: 'object',
212
+ properties: Object.assign({ engine: {
213
+ type: 'string',
214
+ enum: ['flexsearch', 'typesense'],
215
+ default: 'flexsearch',
216
+ }, ai: exports.aiSearchConfigSchema, filters: exports.searchFiltersConfigSchema, placement: {
217
+ type: 'string',
218
+ default: 'navbar',
219
+ }, shortcuts: {
220
+ type: 'array',
221
+ items: { type: 'string' },
222
+ default: ['⌘+K,ctrl+K'],
223
+ }, suggestedPages: {
224
+ type: 'array',
225
+ items: searchSuggestedPageSchema,
226
+ } }, hideConfigSchema.properties),
227
+ additionalProperties: false,
228
+ };
229
+ exports.aiAssistantSchema = {
230
+ type: 'object',
231
+ properties: {
232
+ hide: {
233
+ type: 'boolean',
234
+ // set default to false when removing search.ai backwards compatibility
235
+ },
236
+ suggestions: {
237
+ default: [],
238
+ type: 'array',
239
+ items: {
240
+ type: 'string',
241
+ },
242
+ },
243
+ prompt: {
244
+ type: 'string',
245
+ },
246
+ trigger: {
247
+ type: 'object',
248
+ properties: {
249
+ hide: {
250
+ type: 'boolean',
251
+ default: false,
252
+ },
253
+ inputType: {
254
+ type: 'string',
255
+ enum: ['button', 'icon'],
256
+ default: 'button',
257
+ },
258
+ inputIcon: {
259
+ type: 'string',
260
+ enum: ['chat', 'sparkles', 'redocly'],
261
+ default: 'sparkles',
262
+ },
263
+ },
264
+ additionalProperties: false,
265
+ },
266
+ },
267
+ additionalProperties: false,
268
+ };
269
+ exports.colorModeConfigSchema = {
270
+ type: 'object',
271
+ properties: Object.assign({ ignoreDetection: { type: 'boolean' }, modes: {
272
+ type: 'array',
273
+ items: { type: 'string' },
274
+ default: ['light', 'dark'],
275
+ } }, hideConfigSchema.properties),
276
+ additionalProperties: false,
277
+ };
278
+ const navigationActionsConfigSchema = {
279
+ type: 'object',
280
+ properties: Object.assign(Object.assign({}, hideConfigSchema.properties), { items: {
281
+ type: 'array',
282
+ items: {
283
+ type: 'string',
284
+ enum: ['copy', 'view', 'chatgpt', 'claude', 'docs-mcp-cursor', 'docs-mcp-vscode'],
285
+ },
286
+ default: ['copy', 'view', 'chatgpt', 'claude', 'docs-mcp-cursor', 'docs-mcp-vscode'],
287
+ } }),
288
+ additionalProperties: false,
289
+ };
290
+ exports.navigationConfigSchema = {
291
+ type: 'object',
292
+ properties: {
293
+ nextButton: {
294
+ type: 'object',
295
+ properties: Object.assign({ text: { type: 'string' } }, hideConfigSchema.properties),
296
+ additionalProperties: false,
297
+ default: {},
298
+ },
299
+ previousButton: {
300
+ type: 'object',
301
+ properties: Object.assign({ text: { type: 'string' } }, hideConfigSchema.properties),
302
+ additionalProperties: false,
303
+ default: {},
304
+ },
305
+ actions: navigationActionsConfigSchema,
306
+ },
307
+ additionalProperties: false,
308
+ };
309
+ exports.codeSnippetConfigSchema = {
310
+ type: 'object',
311
+ properties: {
312
+ elementFormat: { type: 'string', default: 'icon' },
313
+ copy: {
314
+ type: 'object',
315
+ properties: Object.assign({}, hideConfigSchema.properties),
316
+ additionalProperties: false,
317
+ default: { hide: false },
318
+ },
319
+ report: {
320
+ type: 'object',
321
+ properties: Object.assign({ tooltipText: { type: 'string' }, buttonText: { type: 'string' }, label: { type: 'string' } }, hideConfigSchema.properties),
322
+ additionalProperties: false,
323
+ default: { hide: false },
324
+ },
325
+ expand: {
326
+ type: 'object',
327
+ properties: Object.assign({}, hideConfigSchema.properties),
328
+ additionalProperties: false,
329
+ default: { hide: false },
330
+ },
331
+ collapse: {
332
+ type: 'object',
333
+ properties: Object.assign({}, hideConfigSchema.properties),
334
+ additionalProperties: false,
335
+ default: { hide: false },
336
+ },
337
+ },
338
+ additionalProperties: false,
339
+ };
340
+ exports.markdownConfigSchema = {
341
+ type: 'object',
342
+ properties: {
343
+ frontMatterKeysToResolve: {
344
+ type: 'array',
345
+ items: { type: 'string' },
346
+ default: ['image', 'links'],
347
+ },
348
+ partialsFolders: {
349
+ type: 'array',
350
+ items: { type: 'string' },
351
+ default: ['**/_partials/**'],
352
+ },
353
+ lastUpdatedBlock: {
354
+ type: 'object',
355
+ properties: Object.assign({ format: {
356
+ type: 'string',
357
+ enum: ['timeago', 'iso', 'long', 'short'],
358
+ default: 'timeago',
359
+ }, locale: { type: 'string' } }, hideConfigSchema.properties),
360
+ additionalProperties: false,
361
+ default: {},
362
+ },
363
+ toc: {
364
+ type: 'object',
365
+ properties: Object.assign({ header: { type: 'string', default: 'On this page' }, depth: { type: 'integer', default: 3, minimum: 1 } }, hideConfigSchema.properties),
366
+ additionalProperties: false,
367
+ default: {},
368
+ },
369
+ editPage: {
370
+ type: 'object',
371
+ properties: Object.assign({ baseUrl: { type: 'string' } }, hideConfigSchema.properties),
372
+ additionalProperties: false,
373
+ default: {},
374
+ },
375
+ },
376
+ additionalProperties: false,
377
+ default: {},
378
+ };
379
+ exports.openapiConfigSchema = Object.assign(Object.assign({}, redoc_config_schema_1.redocConfigSchema), { properties: Object.assign(Object.assign({}, redoc_config_schema_1.redocConfigSchema.properties), reference_docs_config_schema_1.deprecatedRefDocsSchema.properties) });
380
+ const adobeAnalyticsConfigSchema = {
381
+ type: 'object',
382
+ properties: {
383
+ includeInDevelopment: { type: 'boolean' },
384
+ scriptUrl: { type: 'string' },
385
+ pageViewEventName: { type: 'string' },
386
+ },
387
+ additionalProperties: false,
388
+ required: ['scriptUrl'],
389
+ };
390
+ exports.amplitudeAnalyticsConfigSchema = {
391
+ type: 'object',
392
+ properties: {
393
+ includeInDevelopment: { type: 'boolean' },
394
+ apiKey: { type: 'string' },
395
+ head: { type: 'boolean' },
396
+ respectDNT: { type: 'boolean' },
397
+ exclude: { type: 'array', items: { type: 'string' } },
398
+ outboundClickEventName: { type: 'string' },
399
+ pageViewEventName: { type: 'string' },
400
+ amplitudeConfig: { type: 'object', additionalProperties: true },
401
+ },
402
+ additionalProperties: false,
403
+ required: ['apiKey'],
404
+ };
405
+ exports.fullstoryAnalyticsConfigSchema = {
406
+ type: 'object',
407
+ properties: {
408
+ includeInDevelopment: { type: 'boolean' },
409
+ orgId: { type: 'string' },
410
+ },
411
+ additionalProperties: false,
412
+ required: ['orgId'],
413
+ };
414
+ exports.heapAnalyticsConfigSchema = {
415
+ type: 'object',
416
+ properties: {
417
+ includeInDevelopment: { type: 'boolean' },
418
+ appId: { type: 'string' },
419
+ },
420
+ additionalProperties: false,
421
+ required: ['appId'],
422
+ };
423
+ exports.rudderstackAnalyticsConfigSchema = {
424
+ type: 'object',
425
+ properties: {
426
+ includeInDevelopment: { type: 'boolean' },
427
+ writeKey: { type: 'string', minLength: 10 },
428
+ trackPage: { type: 'boolean' },
429
+ dataPlaneUrl: { type: 'string' },
430
+ controlPlaneUrl: { type: 'string' },
431
+ sdkUrl: { type: 'string' },
432
+ loadOptions: { type: 'object', additionalProperties: true },
433
+ },
434
+ additionalProperties: false,
435
+ required: ['writeKey'],
436
+ };
437
+ exports.segmentAnalyticsConfigSchema = {
438
+ type: 'object',
439
+ properties: {
440
+ includeInDevelopment: { type: 'boolean' },
441
+ writeKey: { type: 'string', minLength: 10 },
442
+ trackPage: { type: 'boolean' },
443
+ includeTitleInPageCall: { type: 'boolean' },
444
+ host: { type: 'string' },
445
+ },
446
+ additionalProperties: false,
447
+ required: ['writeKey'],
448
+ };
449
+ exports.gtmAnalyticsConfigSchema = {
450
+ type: 'object',
451
+ properties: {
452
+ includeInDevelopment: { type: 'boolean' },
453
+ trackingId: { type: 'string' },
454
+ gtmAuth: { type: 'string' },
455
+ gtmPreview: { type: 'string' },
456
+ defaultDataLayer: {},
457
+ dataLayerName: { type: 'string' },
458
+ enableWebVitalsTracking: { type: 'boolean' },
459
+ selfHostedOrigin: { type: 'string' },
460
+ pageViewEventName: { type: 'string' },
461
+ },
462
+ additionalProperties: false,
463
+ required: ['trackingId'],
464
+ };
465
+ exports.productGoogleAnalyticsConfigSchema = {
466
+ type: 'object',
467
+ properties: {
468
+ includeInDevelopment: { type: 'boolean' },
469
+ trackingId: { type: 'string' },
470
+ conversionId: { type: 'string' },
471
+ floodlightId: { type: 'string' },
472
+ optimizeId: { type: 'string' },
473
+ exclude: { type: 'array', items: { type: 'string' } },
474
+ },
475
+ additionalProperties: false,
476
+ required: ['trackingId'],
477
+ };
478
+ exports.googleAnalyticsConfigSchema = {
479
+ type: 'object',
480
+ properties: {
481
+ includeInDevelopment: { type: 'boolean' },
482
+ trackingId: { type: 'string' },
483
+ conversionId: { type: 'string' },
484
+ floodlightId: { type: 'string' },
485
+ head: { type: 'boolean' },
486
+ respectDNT: { type: 'boolean' },
487
+ exclude: { type: 'array', items: { type: 'string' } },
488
+ optimizeId: { type: 'string' },
489
+ anonymizeIp: { type: 'boolean' },
490
+ cookieExpires: { type: 'number' },
491
+ // All enabled tracking configs
492
+ trackers: {
493
+ type: 'object',
494
+ additionalProperties: exports.productGoogleAnalyticsConfigSchema,
495
+ },
496
+ },
497
+ additionalProperties: false,
498
+ required: ['trackingId'],
499
+ };
500
+ exports.analyticsConfigSchema = {
501
+ type: 'object',
502
+ properties: {
503
+ adobe: adobeAnalyticsConfigSchema,
504
+ amplitude: exports.amplitudeAnalyticsConfigSchema,
505
+ fullstory: exports.fullstoryAnalyticsConfigSchema,
506
+ heap: exports.heapAnalyticsConfigSchema,
507
+ rudderstack: exports.rudderstackAnalyticsConfigSchema,
508
+ segment: exports.segmentAnalyticsConfigSchema,
509
+ gtm: exports.gtmAnalyticsConfigSchema,
510
+ ga: exports.googleAnalyticsConfigSchema,
511
+ },
512
+ };
513
+ exports.userMenuConfigSchema = {
514
+ type: 'object',
515
+ properties: Object.assign({ items: {
516
+ type: 'array',
517
+ items: {
518
+ type: 'object',
519
+ properties: {
520
+ label: { type: 'string' },
521
+ external: { type: 'boolean' },
522
+ link: { type: 'string' },
523
+ separatorLine: { type: 'boolean' },
524
+ },
525
+ additionalProperties: true,
526
+ },
527
+ default: [],
528
+ }, hideLoginButton: { type: 'boolean' } }, hideConfigSchema.properties),
529
+ additionalProperties: false,
530
+ };
531
+ exports.versionPickerConfigSchema = {
532
+ type: 'object',
533
+ properties: {
534
+ hide: { type: 'boolean' },
535
+ showForUnversioned: {
536
+ type: 'boolean',
537
+ },
538
+ },
539
+ };
540
+ exports.breadcrumbsConfigSchema = {
541
+ type: 'object',
542
+ properties: {
543
+ hide: { type: 'boolean' },
544
+ prefixItems: {
545
+ type: 'array',
546
+ items: {
547
+ type: 'object',
548
+ properties: {
549
+ label: { type: 'string' },
550
+ labelTranslationKey: { type: 'string' },
551
+ page: { type: 'string' },
552
+ icon: { type: 'string' },
553
+ },
554
+ additionalProperties: false,
555
+ default: {},
556
+ },
557
+ },
558
+ },
559
+ additionalProperties: false,
560
+ };
561
+ exports.catalogFilterSchema = {
562
+ type: 'object',
563
+ additionalProperties: false,
564
+ required: ['title', 'property'],
565
+ properties: {
566
+ type: {
567
+ type: 'string',
568
+ enum: ['select', 'checkboxes', 'date-range'],
569
+ default: 'checkboxes',
570
+ },
571
+ title: { type: 'string' },
572
+ titleTranslationKey: { type: 'string' },
573
+ property: { type: 'string' },
574
+ parentFilter: { type: 'string' },
575
+ valuesMapping: { type: 'object', additionalProperties: { type: 'string' } },
576
+ missingCategoryName: { type: 'string' },
577
+ missingCategoryNameTranslationKey: { type: 'string' },
578
+ options: { type: 'array', items: { type: 'string' } },
579
+ },
580
+ };
581
+ exports.catalogSchema = {
582
+ type: 'object',
583
+ additionalProperties: true,
584
+ required: ['slug', 'items'],
585
+ properties: {
586
+ show: { type: 'boolean' },
587
+ slug: { type: 'string' },
588
+ filters: { type: 'array', items: exports.catalogFilterSchema },
589
+ groupByFirstFilter: { type: 'boolean' },
590
+ filterValuesCasing: {
591
+ type: 'string',
592
+ enum: ['sentence', 'original', 'lowercase', 'uppercase'],
593
+ },
594
+ items: exports.navItemsSchema,
595
+ requiredPermission: { type: 'string' },
596
+ separateVersions: { type: 'boolean' },
597
+ title: { type: 'string' },
598
+ titleTranslationKey: { type: 'string' },
599
+ description: { type: 'string' },
600
+ descriptionTranslationKey: { type: 'string' },
601
+ },
602
+ };
603
+ exports.catalogsConfigSchema = {
604
+ type: 'object',
605
+ patternProperties: {
606
+ '.*': exports.catalogSchema,
607
+ },
608
+ };
609
+ exports.scorecardConfigSchema = {
610
+ nodeTypeName: config_1.CONFIG_NODE_TYPE_NAMES.ScorecardClassic,
611
+ description: 'Add and create sets of rules and test your API description files against them. With these rules you can maintain quality across your existing APIs and ensure that newly-added or updated APIs match your criteria. An API scorecard can include multiple sets of rules, corresponding to different quality levels.',
612
+ documentationLink: 'https://redocly.com/docs/realm/config/scorecard-classic',
613
+ type: 'object',
614
+ additionalProperties: true,
615
+ required: [],
616
+ properties: {
617
+ /**
618
+ * @deprecated Should use `reunite.ignoreLint` instead
619
+ */
620
+ ignoreNonCompliant: { type: 'boolean', default: false },
621
+ teamMetadataProperty: {
622
+ nodeTypeName: config_1.CONFIG_NODE_TYPE_NAMES.ScorecardClassicTeamMetadataProperty,
623
+ description: 'Provide custom team label and team metadata property.',
624
+ documentationLink: 'https://redocly.com/docs/realm/config/scorecard-classic#team-metadata-object',
625
+ type: 'object',
626
+ properties: {
627
+ property: { type: 'string' },
628
+ label: { type: 'string' },
629
+ default: { type: 'string' },
630
+ },
631
+ },
632
+ levels: {
633
+ nodeTypeName: config_1.CONFIG_NODE_TYPE_NAMES.ScorecardClassicLevelList,
634
+ description: 'List of levels to score against.',
635
+ type: 'array',
636
+ items: {
637
+ nodeTypeName: config_1.CONFIG_NODE_TYPE_NAMES.ScorecardClassicLevel,
638
+ documentationLink: 'https://redocly.com/docs/realm/config/scorecard-classic#level-object',
639
+ type: 'object',
640
+ required: ['name'],
641
+ properties: Object.assign({ name: { type: 'string' }, color: { type: 'string' } }, common_1.configGovernanceSchema),
642
+ additionalProperties: false,
643
+ },
644
+ },
645
+ targets: {
646
+ nodeTypeName: config_1.CONFIG_NODE_TYPE_NAMES.ScorecardClassicTargetList,
647
+ description: 'Provide custom `minimumLevel` for specific targets.',
648
+ type: 'array',
649
+ items: {
650
+ nodeTypeName: config_1.CONFIG_NODE_TYPE_NAMES.ScorecardClassicTarget,
651
+ type: 'object',
652
+ required: ['where'],
653
+ properties: {
654
+ minimumLevel: { type: 'string' },
655
+ rules: { type: 'object', additionalProperties: true },
656
+ where: {
657
+ nodeTypeName: config_1.CONFIG_NODE_TYPE_NAMES.ScorecardClassicTargetWhere,
658
+ description: 'Specify which API descriptions to apply the `minimumLevel` to based on the metadata.',
659
+ documentationLink: 'https://redocly.com/docs/realm/config/scorecard-classic#where-object',
660
+ type: 'object',
661
+ required: ['metadata'],
662
+ properties: {
663
+ metadata: {
664
+ nodeTypeName: config_1.CONFIG_NODE_TYPE_NAMES.ScorecardClassicTargetWhereMetadata,
665
+ type: 'object',
666
+ additionalProperties: { type: 'string' },
667
+ },
668
+ },
669
+ additionalProperties: false,
670
+ },
671
+ },
672
+ additionalProperties: false,
673
+ },
674
+ },
675
+ ignore: {
676
+ type: 'array',
677
+ items: { type: 'string' },
678
+ },
679
+ fromProjectUrl: { type: 'string', format: 'uri' },
680
+ },
681
+ };
682
+ //# sourceMappingURL=ex-theme-config-schemas.js.map