@kubb/agent 4.27.2 → 4.28.0

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