@scalar/workspace-store 0.15.8 → 0.16.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 (285) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist/client.d.ts +1 -1
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +2 -2
  5. package/dist/client.js.map +2 -2
  6. package/dist/mutators/index.d.ts +6 -24
  7. package/dist/mutators/index.d.ts.map +1 -1
  8. package/dist/mutators/index.js +0 -2
  9. package/dist/mutators/index.js.map +2 -2
  10. package/dist/navigation/helpers/traverse-description.d.ts +1 -1
  11. package/dist/navigation/helpers/traverse-description.d.ts.map +1 -1
  12. package/dist/navigation/helpers/traverse-description.js.map +1 -1
  13. package/dist/navigation/helpers/traverse-document.d.ts +2 -182
  14. package/dist/navigation/helpers/traverse-document.d.ts.map +1 -1
  15. package/dist/navigation/helpers/traverse-document.js.map +2 -2
  16. package/dist/navigation/helpers/traverse-paths.d.ts.map +1 -1
  17. package/dist/navigation/helpers/traverse-paths.js +1 -1
  18. package/dist/navigation/helpers/traverse-paths.js.map +2 -2
  19. package/dist/navigation/helpers/traverse-schemas.d.ts +2 -1
  20. package/dist/navigation/helpers/traverse-schemas.d.ts.map +1 -1
  21. package/dist/navigation/helpers/traverse-schemas.js.map +2 -2
  22. package/dist/navigation/helpers/traverse-tags.d.ts +2 -1
  23. package/dist/navigation/helpers/traverse-tags.d.ts.map +1 -1
  24. package/dist/navigation/helpers/traverse-tags.js +1 -0
  25. package/dist/navigation/helpers/traverse-tags.js.map +2 -2
  26. package/dist/navigation/helpers/traverse-webhooks.d.ts +2 -1
  27. package/dist/navigation/helpers/traverse-webhooks.d.ts.map +1 -1
  28. package/dist/navigation/helpers/traverse-webhooks.js +1 -1
  29. package/dist/navigation/helpers/traverse-webhooks.js.map +2 -2
  30. package/dist/navigation/types.d.ts +2 -1
  31. package/dist/navigation/types.d.ts.map +1 -1
  32. package/dist/schemas/extensions/document/x-internal.d.ts +4 -0
  33. package/dist/schemas/extensions/document/x-internal.d.ts.map +1 -1
  34. package/dist/schemas/extensions/document/x-internal.js.map +1 -1
  35. package/dist/schemas/extensions/document/x-scalar-icon.d.ts +4 -0
  36. package/dist/schemas/extensions/document/x-scalar-icon.d.ts.map +1 -1
  37. package/dist/schemas/extensions/document/x-scalar-icon.js.map +1 -1
  38. package/dist/schemas/extensions/document/x-scalar-ignore.d.ts +4 -0
  39. package/dist/schemas/extensions/document/x-scalar-ignore.d.ts.map +1 -1
  40. package/dist/schemas/extensions/document/x-scalar-ignore.js.map +1 -1
  41. package/dist/schemas/extensions/document/x-scalar-sdk-installation.d.ts +8 -2
  42. package/dist/schemas/extensions/document/x-scalar-sdk-installation.d.ts.map +1 -1
  43. package/dist/schemas/extensions/document/x-scalar-sdk-installation.js.map +2 -2
  44. package/dist/schemas/extensions/document/x-tags.d.ts +3 -0
  45. package/dist/schemas/extensions/document/x-tags.d.ts.map +1 -1
  46. package/dist/schemas/extensions/document/x-tags.js.map +1 -1
  47. package/dist/schemas/extensions/operation/index.d.ts +2 -0
  48. package/dist/schemas/extensions/operation/index.d.ts.map +1 -0
  49. package/dist/schemas/extensions/operation/index.js +1 -0
  50. package/dist/schemas/extensions/operation/x-badge.d.ts +62 -22
  51. package/dist/schemas/extensions/operation/x-badge.d.ts.map +1 -1
  52. package/dist/schemas/extensions/operation/x-badge.js +24 -3
  53. package/dist/schemas/extensions/operation/x-badge.js.map +2 -2
  54. package/dist/schemas/extensions/operation/x-code-samples.d.ts +10 -0
  55. package/dist/schemas/extensions/operation/x-code-samples.d.ts.map +1 -1
  56. package/dist/schemas/extensions/operation/x-code-samples.js.map +1 -1
  57. package/dist/schemas/extensions/operation/x-post-response.d.ts +18 -0
  58. package/dist/schemas/extensions/operation/x-post-response.d.ts.map +1 -1
  59. package/dist/schemas/extensions/operation/x-post-response.js.map +1 -1
  60. package/dist/schemas/extensions/operation/x-scalar-stability.d.ts +11 -0
  61. package/dist/schemas/extensions/operation/x-scalar-stability.d.ts.map +1 -1
  62. package/dist/schemas/extensions/operation/x-scalar-stability.js.map +1 -1
  63. package/dist/schemas/extensions/schema/x-additional-properties-name.d.ts +10 -0
  64. package/dist/schemas/extensions/schema/x-additional-properties-name.d.ts.map +1 -1
  65. package/dist/schemas/extensions/schema/x-additional-properties-name.js.map +1 -1
  66. package/dist/schemas/extensions/schema/x-enum-descriptions.d.ts +30 -0
  67. package/dist/schemas/extensions/schema/x-enum-descriptions.d.ts.map +1 -1
  68. package/dist/schemas/extensions/schema/x-enum-descriptions.js.map +1 -1
  69. package/dist/schemas/extensions/schema/x-enum-varnames.d.ts +38 -0
  70. package/dist/schemas/extensions/schema/x-enum-varnames.d.ts.map +1 -1
  71. package/dist/schemas/extensions/schema/x-enum-varnames.js.map +1 -1
  72. package/dist/schemas/extensions/schema/x-variable.d.ts +3 -0
  73. package/dist/schemas/extensions/schema/x-variable.d.ts.map +1 -1
  74. package/dist/schemas/extensions/schema/x-variable.js.map +1 -1
  75. package/dist/schemas/extensions/security/x-default-scopes.d.ts +33 -0
  76. package/dist/schemas/extensions/security/x-default-scopes.d.ts.map +1 -0
  77. package/dist/schemas/extensions/security/x-default-scopes.js +8 -0
  78. package/dist/schemas/extensions/security/x-default-scopes.js.map +7 -0
  79. package/dist/schemas/extensions/security/x-scalar-credentials-location.d.ts +16 -0
  80. package/dist/schemas/extensions/security/x-scalar-credentials-location.d.ts.map +1 -1
  81. package/dist/schemas/extensions/security/x-scalar-credentials-location.js.map +1 -1
  82. package/dist/schemas/extensions/security/x-scalar-security-body.d.ts +15 -1
  83. package/dist/schemas/extensions/security/x-scalar-security-body.d.ts.map +1 -1
  84. package/dist/schemas/extensions/security/x-scalar-security-body.js +2 -2
  85. package/dist/schemas/extensions/security/x-scalar-security-body.js.map +2 -2
  86. package/dist/schemas/extensions/security/x-scalar-security-query.d.ts +15 -1
  87. package/dist/schemas/extensions/security/x-scalar-security-query.d.ts.map +1 -1
  88. package/dist/schemas/extensions/security/x-scalar-security-query.js +2 -2
  89. package/dist/schemas/extensions/security/x-scalar-security-query.js.map +2 -2
  90. package/dist/schemas/extensions/security/x-scalar-security-secrets.d.ts +68 -3
  91. package/dist/schemas/extensions/security/x-scalar-security-secrets.d.ts.map +1 -1
  92. package/dist/schemas/extensions/security/x-scalar-security-secrets.js +15 -3
  93. package/dist/schemas/extensions/security/x-scalar-security-secrets.js.map +2 -2
  94. package/dist/schemas/extensions/security/x-tokenName.d.ts +12 -1
  95. package/dist/schemas/extensions/security/x-tokenName.d.ts.map +1 -1
  96. package/dist/schemas/extensions/security/x-tokenName.js +2 -2
  97. package/dist/schemas/extensions/security/x-tokenName.js.map +2 -2
  98. package/dist/schemas/extensions/security/x-use-pkce.d.ts +7 -1
  99. package/dist/schemas/extensions/security/x-use-pkce.d.ts.map +1 -1
  100. package/dist/schemas/extensions/security/x-use-pkce.js +1 -3
  101. package/dist/schemas/extensions/security/x-use-pkce.js.map +2 -2
  102. package/dist/schemas/extensions/tag/x-display-name.d.ts +11 -0
  103. package/dist/schemas/extensions/tag/x-display-name.d.ts.map +1 -1
  104. package/dist/schemas/extensions/tag/x-display-name.js.map +1 -1
  105. package/dist/schemas/extensions/tag/x-tag-groups.d.ts +18 -0
  106. package/dist/schemas/extensions/tag/x-tag-groups.d.ts.map +1 -1
  107. package/dist/schemas/extensions/tag/x-tag-groups.js.map +2 -2
  108. package/dist/schemas/inmemory-workspace.d.ts +207 -86
  109. package/dist/schemas/inmemory-workspace.d.ts.map +1 -1
  110. package/dist/schemas/inmemory-workspace.js +4 -1
  111. package/dist/schemas/inmemory-workspace.js.map +2 -2
  112. package/dist/schemas/navigation.d.ts +50 -1
  113. package/dist/schemas/navigation.d.ts.map +1 -1
  114. package/dist/schemas/navigation.js +5 -9
  115. package/dist/schemas/navigation.js.map +2 -2
  116. package/dist/schemas/reference-config/appearance.d.ts +9 -2
  117. package/dist/schemas/reference-config/appearance.d.ts.map +1 -1
  118. package/dist/schemas/reference-config/appearance.js.map +2 -2
  119. package/dist/schemas/reference-config/features.d.ts +11 -2
  120. package/dist/schemas/reference-config/features.d.ts.map +1 -1
  121. package/dist/schemas/reference-config/features.js.map +2 -2
  122. package/dist/schemas/reference-config/index.d.ts +114 -45
  123. package/dist/schemas/reference-config/index.d.ts.map +1 -1
  124. package/dist/schemas/reference-config/index.js +5 -5
  125. package/dist/schemas/reference-config/index.js.map +2 -2
  126. package/dist/schemas/reference-config/meta.d.ts +8 -2
  127. package/dist/schemas/reference-config/meta.d.ts.map +1 -1
  128. package/dist/schemas/reference-config/meta.js.map +2 -2
  129. package/dist/schemas/reference-config/routing.d.ts +4 -2
  130. package/dist/schemas/reference-config/routing.d.ts.map +1 -1
  131. package/dist/schemas/reference-config/routing.js.map +2 -2
  132. package/dist/schemas/reference-config/settings.d.ts +105 -45
  133. package/dist/schemas/reference-config/settings.d.ts.map +1 -1
  134. package/dist/schemas/reference-config/settings.js.map +2 -2
  135. package/dist/schemas/v3.1/strict/callback.d.ts +4 -0
  136. package/dist/schemas/v3.1/strict/callback.d.ts.map +1 -1
  137. package/dist/schemas/v3.1/strict/callback.js +2 -2
  138. package/dist/schemas/v3.1/strict/callback.js.map +2 -2
  139. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts +19 -3
  140. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts.map +1 -1
  141. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.js.map +2 -2
  142. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.d.ts +10 -4
  143. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.d.ts.map +1 -1
  144. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.js.map +2 -2
  145. package/dist/schemas/v3.1/strict/components.d.ts +34 -0
  146. package/dist/schemas/v3.1/strict/components.d.ts.map +1 -1
  147. package/dist/schemas/v3.1/strict/components.js +1 -1
  148. package/dist/schemas/v3.1/strict/components.js.map +2 -2
  149. package/dist/schemas/v3.1/strict/contact.d.ts +9 -0
  150. package/dist/schemas/v3.1/strict/contact.d.ts.map +1 -1
  151. package/dist/schemas/v3.1/strict/contact.js.map +1 -1
  152. package/dist/schemas/v3.1/strict/discriminator.d.ts +11 -0
  153. package/dist/schemas/v3.1/strict/discriminator.d.ts.map +1 -1
  154. package/dist/schemas/v3.1/strict/discriminator.js.map +1 -1
  155. package/dist/schemas/v3.1/strict/encoding.d.ts +15 -0
  156. package/dist/schemas/v3.1/strict/encoding.d.ts.map +1 -1
  157. package/dist/schemas/v3.1/strict/encoding.js +1 -1
  158. package/dist/schemas/v3.1/strict/encoding.js.map +2 -2
  159. package/dist/schemas/v3.1/strict/example.d.ts +15 -0
  160. package/dist/schemas/v3.1/strict/example.d.ts.map +1 -1
  161. package/dist/schemas/v3.1/strict/example.js.map +1 -1
  162. package/dist/schemas/v3.1/strict/external-documentation.d.ts +9 -2
  163. package/dist/schemas/v3.1/strict/external-documentation.d.ts.map +1 -1
  164. package/dist/schemas/v3.1/strict/external-documentation.js +3 -3
  165. package/dist/schemas/v3.1/strict/external-documentation.js.map +2 -2
  166. package/dist/schemas/v3.1/strict/header.d.ts +41 -0
  167. package/dist/schemas/v3.1/strict/header.d.ts.map +1 -1
  168. package/dist/schemas/v3.1/strict/header.js +2 -2
  169. package/dist/schemas/v3.1/strict/header.js.map +2 -2
  170. package/dist/schemas/v3.1/strict/info.d.ts +24 -2
  171. package/dist/schemas/v3.1/strict/info.d.ts.map +1 -1
  172. package/dist/schemas/v3.1/strict/info.js +7 -5
  173. package/dist/schemas/v3.1/strict/info.js.map +2 -2
  174. package/dist/schemas/v3.1/strict/license.d.ts +9 -0
  175. package/dist/schemas/v3.1/strict/license.d.ts.map +1 -1
  176. package/dist/schemas/v3.1/strict/license.js.map +1 -1
  177. package/dist/schemas/v3.1/strict/link.d.ts +22 -0
  178. package/dist/schemas/v3.1/strict/link.d.ts.map +1 -1
  179. package/dist/schemas/v3.1/strict/link.js.map +2 -2
  180. package/dist/schemas/v3.1/strict/media-type.d.ts +19 -0
  181. package/dist/schemas/v3.1/strict/media-type.d.ts.map +1 -1
  182. package/dist/schemas/v3.1/strict/media-type.js +2 -2
  183. package/dist/schemas/v3.1/strict/media-type.js.map +2 -2
  184. package/dist/schemas/v3.1/strict/oauth-flow.d.ts +171 -29
  185. package/dist/schemas/v3.1/strict/oauth-flow.d.ts.map +1 -1
  186. package/dist/schemas/v3.1/strict/oauth-flow.js +43 -15
  187. package/dist/schemas/v3.1/strict/oauth-flow.js.map +2 -2
  188. package/dist/schemas/v3.1/strict/oauthflows.d.ts +78 -12
  189. package/dist/schemas/v3.1/strict/oauthflows.d.ts.map +1 -1
  190. package/dist/schemas/v3.1/strict/oauthflows.js.map +2 -2
  191. package/dist/schemas/v3.1/strict/openapi-document.d.ts +3369 -1476
  192. package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
  193. package/dist/schemas/v3.1/strict/openapi-document.js +45 -44
  194. package/dist/schemas/v3.1/strict/openapi-document.js.map +2 -2
  195. package/dist/schemas/v3.1/strict/operation.d.ts +44 -17
  196. package/dist/schemas/v3.1/strict/operation.d.ts.map +1 -1
  197. package/dist/schemas/v3.1/strict/operation.js +2 -3
  198. package/dist/schemas/v3.1/strict/operation.js.map +2 -2
  199. package/dist/schemas/v3.1/strict/parameter.d.ts +45 -0
  200. package/dist/schemas/v3.1/strict/parameter.d.ts.map +1 -1
  201. package/dist/schemas/v3.1/strict/parameter.js.map +2 -2
  202. package/dist/schemas/v3.1/strict/path-item.d.ts +38 -0
  203. package/dist/schemas/v3.1/strict/path-item.d.ts.map +1 -1
  204. package/dist/schemas/v3.1/strict/path-item.js +1 -1
  205. package/dist/schemas/v3.1/strict/path-item.js.map +2 -2
  206. package/dist/schemas/v3.1/strict/paths.d.ts +5 -0
  207. package/dist/schemas/v3.1/strict/paths.d.ts.map +1 -1
  208. package/dist/schemas/v3.1/strict/paths.js +1 -1
  209. package/dist/schemas/v3.1/strict/paths.js.map +2 -2
  210. package/dist/schemas/v3.1/strict/reference.d.ts +21 -4
  211. package/dist/schemas/v3.1/strict/reference.d.ts.map +1 -1
  212. package/dist/schemas/v3.1/strict/reference.js.map +2 -2
  213. package/dist/schemas/v3.1/strict/request-body.d.ts +10 -0
  214. package/dist/schemas/v3.1/strict/request-body.d.ts.map +1 -1
  215. package/dist/schemas/v3.1/strict/request-body.js +1 -1
  216. package/dist/schemas/v3.1/strict/request-body.js.map +2 -2
  217. package/dist/schemas/v3.1/strict/response.d.ts +17 -0
  218. package/dist/schemas/v3.1/strict/response.d.ts.map +1 -1
  219. package/dist/schemas/v3.1/strict/response.js +1 -1
  220. package/dist/schemas/v3.1/strict/response.js.map +2 -2
  221. package/dist/schemas/v3.1/strict/responses.d.ts +12 -0
  222. package/dist/schemas/v3.1/strict/responses.d.ts.map +1 -1
  223. package/dist/schemas/v3.1/strict/responses.js +1 -1
  224. package/dist/schemas/v3.1/strict/responses.js.map +2 -2
  225. package/dist/schemas/v3.1/strict/schema.d.ts +144 -1
  226. package/dist/schemas/v3.1/strict/schema.d.ts.map +1 -1
  227. package/dist/schemas/v3.1/strict/schema.js +40 -60
  228. package/dist/schemas/v3.1/strict/schema.js.map +2 -2
  229. package/dist/schemas/v3.1/strict/security-requirement.d.ts +12 -0
  230. package/dist/schemas/v3.1/strict/security-requirement.d.ts.map +1 -1
  231. package/dist/schemas/v3.1/strict/security-requirement.js.map +1 -1
  232. package/dist/schemas/v3.1/strict/security-scheme.d.ts +49 -8
  233. package/dist/schemas/v3.1/strict/security-scheme.d.ts.map +1 -1
  234. package/dist/schemas/v3.1/strict/security-scheme.js +3 -1
  235. package/dist/schemas/v3.1/strict/security-scheme.js.map +2 -2
  236. package/dist/schemas/v3.1/strict/server-variable.d.ts +9 -0
  237. package/dist/schemas/v3.1/strict/server-variable.d.ts.map +1 -1
  238. package/dist/schemas/v3.1/strict/server-variable.js.map +1 -1
  239. package/dist/schemas/v3.1/strict/server.d.ts +10 -0
  240. package/dist/schemas/v3.1/strict/server.d.ts.map +1 -1
  241. package/dist/schemas/v3.1/strict/server.js +1 -1
  242. package/dist/schemas/v3.1/strict/server.js.map +2 -2
  243. package/dist/schemas/v3.1/strict/tag.d.ts +13 -0
  244. package/dist/schemas/v3.1/strict/tag.d.ts.map +1 -1
  245. package/dist/schemas/v3.1/strict/tag.js +1 -1
  246. package/dist/schemas/v3.1/strict/tag.js.map +2 -2
  247. package/dist/schemas/v3.1/strict/type-guards.d.ts +1 -1
  248. package/dist/schemas/v3.1/strict/type-guards.d.ts.map +1 -1
  249. package/dist/schemas/v3.1/strict/type-guards.js.map +1 -1
  250. package/dist/schemas/v3.1/strict/xml.d.ts +17 -0
  251. package/dist/schemas/v3.1/strict/xml.d.ts.map +1 -1
  252. package/dist/schemas/v3.1/strict/xml.js.map +1 -1
  253. package/dist/schemas/workspace-specification/config.d.ts +101 -44
  254. package/dist/schemas/workspace-specification/config.d.ts.map +1 -1
  255. package/dist/schemas/workspace-specification/config.js.map +2 -2
  256. package/dist/schemas/workspace-specification/index.d.ts +110 -44
  257. package/dist/schemas/workspace-specification/index.d.ts.map +1 -1
  258. package/dist/schemas/workspace-specification/index.js.map +2 -2
  259. package/dist/schemas/workspace-specification/info.d.ts +4 -0
  260. package/dist/schemas/workspace-specification/info.d.ts.map +1 -1
  261. package/dist/schemas/workspace-specification/info.js.map +1 -1
  262. package/dist/schemas/workspace.d.ts +707 -300
  263. package/dist/schemas/workspace.d.ts.map +1 -1
  264. package/dist/schemas/workspace.js +11 -3
  265. package/dist/schemas/workspace.js.map +2 -2
  266. package/dist/server.d.ts +6 -5
  267. package/dist/server.d.ts.map +1 -1
  268. package/dist/server.js.map +2 -2
  269. package/package.json +9 -14
  270. package/dist/mutators/request-example.d.ts +0 -21
  271. package/dist/mutators/request-example.d.ts.map +0 -1
  272. package/dist/mutators/request-example.js +0 -55
  273. package/dist/mutators/request-example.js.map +0 -7
  274. package/dist/schemas/extensions/security/x-scalar-redirect-uri.d.ts +0 -4
  275. package/dist/schemas/extensions/security/x-scalar-redirect-uri.d.ts.map +0 -1
  276. package/dist/schemas/extensions/security/x-scalar-redirect-uri.js +0 -8
  277. package/dist/schemas/extensions/security/x-scalar-redirect-uri.js.map +0 -7
  278. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.d.ts +0 -38
  279. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.d.ts.map +0 -1
  280. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js +0 -45
  281. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js.map +0 -7
  282. package/dist/types.d.ts +0 -18
  283. package/dist/types.d.ts.map +0 -1
  284. package/dist/types.js +0 -1
  285. /package/dist/{types.js.map → schemas/extensions/operation/index.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/schemas/inmemory-workspace.ts"],
4
- "sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\n\nimport { WorkspaceDocumentSchema, WorkspaceMetaSchema } from '@/schemas/workspace'\nimport { ConfigSchema } from '@/schemas/workspace-specification/config'\n\nconst UnknownObjectSchema = Type.Record(Type.String(), Type.Unknown())\n\nexport const InMemoryWorkspaceSchema = Type.Object({\n meta: WorkspaceMetaSchema,\n documentConfigs: Type.Record(Type.String(), ConfigSchema),\n documents: Type.Record(Type.String(), WorkspaceDocumentSchema),\n originalDocuments: Type.Record(Type.String(), UnknownObjectSchema),\n intermediateDocuments: Type.Record(Type.String(), UnknownObjectSchema),\n overrides: Type.Record(Type.String(), Type.Any()),\n documentMeta: Type.Record(\n Type.String(),\n Type.Partial(\n Type.Object({\n documentSource: Type.Optional(Type.String()),\n }),\n ),\n ),\n})\n\nexport type InMemoryWorkspace = Static<typeof InMemoryWorkspaceSchema>\n"],
5
- "mappings": "AAAA,SAAsB,YAAY;AAElC,SAAS,yBAAyB,2BAA2B;AAC7D,SAAS,oBAAoB;AAE7B,MAAM,sBAAsB,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,QAAQ,CAAC;AAE9D,MAAM,0BAA0B,KAAK,OAAO;AAAA,EACjD,MAAM;AAAA,EACN,iBAAiB,KAAK,OAAO,KAAK,OAAO,GAAG,YAAY;AAAA,EACxD,WAAW,KAAK,OAAO,KAAK,OAAO,GAAG,uBAAuB;AAAA,EAC7D,mBAAmB,KAAK,OAAO,KAAK,OAAO,GAAG,mBAAmB;AAAA,EACjE,uBAAuB,KAAK,OAAO,KAAK,OAAO,GAAG,mBAAmB;AAAA,EACrE,WAAW,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,IAAI,CAAC;AAAA,EAChD,cAAc,KAAK;AAAA,IACjB,KAAK,OAAO;AAAA,IACZ,KAAK;AAAA,MACH,KAAK,OAAO;AAAA,QACV,gBAAgB,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,MAC7C,CAAC;AAAA,IACH;AAAA,EACF;AACF,CAAC;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport {\n type WorkspaceDocument,\n WorkspaceDocumentSchema,\n type WorkspaceMeta,\n WorkspaceMetaSchema,\n} from '@/schemas/workspace'\nimport { type Config, ConfigSchema } from '@/schemas/workspace-specification/config'\n\nconst UnknownObjectSchema = Type.Record(Type.String(), Type.Unknown())\n\nexport const InMemoryWorkspaceSchema = Type.Object({\n meta: WorkspaceMetaSchema,\n documentConfigs: Type.Record(Type.String(), ConfigSchema),\n documents: Type.Record(Type.String(), WorkspaceDocumentSchema),\n originalDocuments: Type.Record(Type.String(), UnknownObjectSchema),\n intermediateDocuments: Type.Record(Type.String(), UnknownObjectSchema),\n overrides: Type.Record(Type.String(), Type.Any()),\n documentMeta: Type.Record(\n Type.String(),\n Type.Partial(\n Type.Object({\n documentSource: Type.Optional(Type.String()),\n }),\n ),\n ),\n})\n\nexport type InMemoryWorkspace = {\n meta: WorkspaceMeta\n documentConfigs: Record<string, Config>\n documents: Record<string, WorkspaceDocument>\n originalDocuments: Record<string, unknown>\n intermediateDocuments: Record<string, unknown>\n overrides: Record<string, any>\n documentMeta: Record<string, { documentSource?: string }>\n}\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAErB;AAAA,EAEE;AAAA,EAEA;AAAA,OACK;AACP,SAAsB,oBAAoB;AAE1C,MAAM,sBAAsB,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,QAAQ,CAAC;AAE9D,MAAM,0BAA0B,KAAK,OAAO;AAAA,EACjD,MAAM;AAAA,EACN,iBAAiB,KAAK,OAAO,KAAK,OAAO,GAAG,YAAY;AAAA,EACxD,WAAW,KAAK,OAAO,KAAK,OAAO,GAAG,uBAAuB;AAAA,EAC7D,mBAAmB,KAAK,OAAO,KAAK,OAAO,GAAG,mBAAmB;AAAA,EACjE,uBAAuB,KAAK,OAAO,KAAK,OAAO,GAAG,mBAAmB;AAAA,EACrE,WAAW,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,IAAI,CAAC;AAAA,EAChD,cAAc,KAAK;AAAA,IACjB,KAAK,OAAO;AAAA,IACZ,KAAK;AAAA,MACH,KAAK,OAAO;AAAA,QACV,gBAAgB,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,MAC7C,CAAC;AAAA,IACH;AAAA,EACF;AACF,CAAC;",
6
6
  "names": []
7
7
  }
@@ -4,6 +4,10 @@ export declare const NavigationBaseSchemaDefinition: import("@scalar/typebox").T
4
4
  id: import("@scalar/typebox").TString;
5
5
  title: import("@scalar/typebox").TString;
6
6
  }>;
7
+ type BaseSchema = {
8
+ id: string;
9
+ title: string;
10
+ };
7
11
  export declare const TraversedDescriptionSchemaDefinition: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
8
12
  id: import("@scalar/typebox").TString;
9
13
  title: import("@scalar/typebox").TString;
@@ -11,6 +15,10 @@ export declare const TraversedDescriptionSchemaDefinition: import("@scalar/typeb
11
15
  type: TLiteral<"text">;
12
16
  children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
13
17
  }>]>;
18
+ export type TraversedDescription = BaseSchema & {
19
+ type: 'text';
20
+ children?: TraversedEntry[];
21
+ };
14
22
  export declare const TraversedOperationSchemaDefinition: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
15
23
  id: import("@scalar/typebox").TString;
16
24
  title: import("@scalar/typebox").TString;
@@ -21,6 +29,13 @@ export declare const TraversedOperationSchemaDefinition: import("@scalar/typebox
21
29
  path: import("@scalar/typebox").TString;
22
30
  isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
23
31
  }>]>;
32
+ export type TraversedOperation = BaseSchema & {
33
+ type: 'operation';
34
+ ref: string;
35
+ method: HttpMethod;
36
+ path: string;
37
+ isDeprecated?: boolean;
38
+ };
24
39
  export declare const TraversedSchemaSchemaDefinition: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
25
40
  id: import("@scalar/typebox").TString;
26
41
  title: import("@scalar/typebox").TString;
@@ -29,6 +44,11 @@ export declare const TraversedSchemaSchemaDefinition: import("@scalar/typebox").
29
44
  ref: import("@scalar/typebox").TString;
30
45
  name: import("@scalar/typebox").TString;
31
46
  }>]>;
47
+ export type TraversedSchema = BaseSchema & {
48
+ type: 'model';
49
+ ref: string;
50
+ name: string;
51
+ };
32
52
  export declare const TraversedWebhookSchemaDefinition: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
33
53
  id: import("@scalar/typebox").TString;
34
54
  title: import("@scalar/typebox").TString;
@@ -39,6 +59,13 @@ export declare const TraversedWebhookSchemaDefinition: import("@scalar/typebox")
39
59
  name: import("@scalar/typebox").TString;
40
60
  isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
41
61
  }>]>;
62
+ export type TraversedWebhook = BaseSchema & {
63
+ type: 'webhook';
64
+ ref: string;
65
+ method: HttpMethod;
66
+ name: string;
67
+ isDeprecated?: boolean;
68
+ };
42
69
  export declare const TraversedTagSchemaDefinition: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
43
70
  id: import("@scalar/typebox").TString;
44
71
  title: import("@scalar/typebox").TString;
@@ -51,7 +78,16 @@ export declare const TraversedTagSchemaDefinition: import("@scalar/typebox").TIn
51
78
  isWebhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
52
79
  xKeys: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnknown>>;
53
80
  }>]>;
54
- export declare const TraversedEntrySchemaDefinition: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"TraversedTagObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
81
+ export type TraversedTag = BaseSchema & {
82
+ type: 'tag';
83
+ name: string;
84
+ description?: string;
85
+ children?: TraversedEntry[];
86
+ isGroup: boolean;
87
+ isWebhooks?: boolean;
88
+ xKeys?: Record<string, unknown>;
89
+ };
90
+ export declare const TraversedEntrySchemaDefinition: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
55
91
  id: import("@scalar/typebox").TString;
56
92
  title: import("@scalar/typebox").TString;
57
93
  }>, import("@scalar/typebox").TObject<{
@@ -76,6 +112,17 @@ export declare const TraversedEntrySchemaDefinition: import("@scalar/typebox").T
76
112
  }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
77
113
  id: import("@scalar/typebox").TString;
78
114
  title: import("@scalar/typebox").TString;
115
+ }>, import("@scalar/typebox").TObject<{
116
+ type: TLiteral<"tag">;
117
+ name: import("@scalar/typebox").TString;
118
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
119
+ children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
120
+ isGroup: import("@scalar/typebox").TBoolean;
121
+ isWebhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
122
+ xKeys: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnknown>>;
123
+ }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
124
+ id: import("@scalar/typebox").TString;
125
+ title: import("@scalar/typebox").TString;
79
126
  }>, import("@scalar/typebox").TObject<{
80
127
  type: TLiteral<"webhook">;
81
128
  ref: import("@scalar/typebox").TString;
@@ -83,4 +130,6 @@ export declare const TraversedEntrySchemaDefinition: import("@scalar/typebox").T
83
130
  name: import("@scalar/typebox").TString;
84
131
  isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
85
132
  }>]>]>;
133
+ export type TraversedEntry = TraversedDescription | TraversedOperation | TraversedSchema | TraversedTag | TraversedWebhook;
134
+ export {};
86
135
  //# sourceMappingURL=navigation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../src/schemas/navigation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAe,MAAM,mCAAmC,CAAA;AAChF,OAAO,EAAE,KAAK,QAAQ,EAAQ,MAAM,iBAAiB,CAAA;AAKrD,eAAO,MAAM,8BAA8B;;;EAGzC,CAAA;AAEF,eAAO,MAAM,oCAAoC;;;;;;IAMhD,CAAA;AAED,eAAO,MAAM,kCAAkC;;;;;;YAO3B,QAAQ,CAAC,UAAU,CAAC;;;IAIvC,CAAA;AAED,eAAO,MAAM,+BAA+B;;;;;;;IAO3C,CAAA;AAED,eAAO,MAAM,gCAAgC;;;;;;YAOzB,QAAQ,CAAC,UAAU,CAAC;;;IAIvC,CAAA;AAED,eAAO,MAAM,4BAA4B;;;;;;;;;;;IAWxC,CAAA;AAED,eAAO,MAAM,8BAA8B;;;;;;;;;;;;YAzCvB,QAAQ,CAAC,UAAU,CAAC;;;;;;;;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MAAM,EAAE,UAAU,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,CAAA;AAED,eAAO,MAAM,4BAA4B;;;;;;;;;;;IAWxC,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG;IACtC,IAAI,EAAE,KAAK,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAA;IAC3B,OAAO,EAAE,OAAO,CAAA;IAChB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAChC,CAAA;AAED,eAAO,MAAM,8BAA8B;;;;;;;;;;;;YAvE8C,QAAQ,CAAC,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;YAkCpB,QAAQ,CAAC,UAAU,CAAC;;;MA2C3G,CAAA;AAEF,MAAM,MAAM,cAAc,GACtB,oBAAoB,GACpB,kBAAkB,GAClB,eAAe,GACf,YAAY,GACZ,gBAAgB,CAAA"}
@@ -1,7 +1,7 @@
1
- import { httpMethods } from "@scalar/helpers/http/http-methods";
1
+ import { HTTP_METHODS } from "@scalar/helpers/http/http-methods";
2
2
  import { Type } from "@scalar/typebox";
3
3
  import { compose } from "../schemas/compose.js";
4
- import { TraversedEntryObjectRef, TraversedTagObjectRef } from "../schemas/v3.1/strict/ref-definitions.js";
4
+ import { TraversedEntryObjectRef } from "../schemas/v3.1/strict/ref-definitions.js";
5
5
  const NavigationBaseSchemaDefinition = Type.Object({
6
6
  id: Type.String(),
7
7
  title: Type.String()
@@ -18,9 +18,7 @@ const TraversedOperationSchemaDefinition = compose(
18
18
  Type.Object({
19
19
  type: Type.Literal("operation"),
20
20
  ref: Type.String(),
21
- method: Type.Union(
22
- Array.from(httpMethods.keys()).map((method) => Type.Literal(method))
23
- ),
21
+ method: Type.Union(HTTP_METHODS.map((method) => Type.Literal(method))),
24
22
  path: Type.String(),
25
23
  isDeprecated: Type.Optional(Type.Boolean())
26
24
  })
@@ -38,9 +36,7 @@ const TraversedWebhookSchemaDefinition = compose(
38
36
  Type.Object({
39
37
  type: Type.Literal("webhook"),
40
38
  ref: Type.String(),
41
- method: Type.Union(
42
- Array.from(httpMethods.keys()).map((method) => Type.Literal(method))
43
- ),
39
+ method: Type.Union(HTTP_METHODS.map((method) => Type.Literal(method))),
44
40
  name: Type.String(),
45
41
  isDeprecated: Type.Optional(Type.Boolean())
46
42
  })
@@ -58,10 +54,10 @@ const TraversedTagSchemaDefinition = compose(
58
54
  })
59
55
  );
60
56
  const TraversedEntrySchemaDefinition = Type.Union([
61
- TraversedTagObjectRef,
62
57
  TraversedDescriptionSchemaDefinition,
63
58
  TraversedOperationSchemaDefinition,
64
59
  TraversedSchemaSchemaDefinition,
60
+ TraversedTagSchemaDefinition,
65
61
  TraversedWebhookSchemaDefinition
66
62
  ]);
67
63
  export {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/schemas/navigation.ts"],
4
- "sourcesContent": ["import { type HttpMethod, httpMethods } from '@scalar/helpers/http/http-methods'\nimport { type TLiteral, Type } from '@scalar/typebox'\n\nimport { compose } from '@/schemas/compose'\nimport { TraversedEntryObjectRef, TraversedTagObjectRef } from '@/schemas/v3.1/strict/ref-definitions'\n\nexport const NavigationBaseSchemaDefinition = Type.Object({\n id: Type.String(),\n title: Type.String(),\n})\n\nexport const TraversedDescriptionSchemaDefinition = compose(\n NavigationBaseSchemaDefinition,\n Type.Object({\n type: Type.Literal('text'),\n children: Type.Optional(Type.Array(TraversedEntryObjectRef)),\n }),\n)\n\nexport const TraversedOperationSchemaDefinition = compose(\n NavigationBaseSchemaDefinition,\n Type.Object({\n type: Type.Literal('operation'),\n ref: Type.String(),\n method: Type.Union(\n Array.from(httpMethods.keys()).map((method) => Type.Literal(method)),\n ) as unknown as TLiteral<HttpMethod>,\n path: Type.String(),\n isDeprecated: Type.Optional(Type.Boolean()),\n }),\n)\n\nexport const TraversedSchemaSchemaDefinition = compose(\n NavigationBaseSchemaDefinition,\n Type.Object({\n type: Type.Literal('model'),\n ref: Type.String(),\n name: Type.String(),\n }),\n)\n\nexport const TraversedWebhookSchemaDefinition = compose(\n NavigationBaseSchemaDefinition,\n Type.Object({\n type: Type.Literal('webhook'),\n ref: Type.String(),\n method: Type.Union(\n Array.from(httpMethods.keys()).map((method) => Type.Literal(method)),\n ) as unknown as TLiteral<HttpMethod>,\n name: Type.String(),\n isDeprecated: Type.Optional(Type.Boolean()),\n }),\n)\n\nexport const TraversedTagSchemaDefinition = compose(\n NavigationBaseSchemaDefinition,\n Type.Object({\n type: Type.Literal('tag'),\n name: Type.String(),\n description: Type.Optional(Type.String()),\n children: Type.Optional(Type.Array(TraversedEntryObjectRef)),\n isGroup: Type.Boolean(),\n isWebhooks: Type.Optional(Type.Boolean()),\n xKeys: Type.Optional(Type.Record(Type.String(), Type.Unknown())),\n }),\n)\n\nexport const TraversedEntrySchemaDefinition = Type.Union([\n TraversedTagObjectRef,\n TraversedDescriptionSchemaDefinition,\n TraversedOperationSchemaDefinition,\n TraversedSchemaSchemaDefinition,\n TraversedWebhookSchemaDefinition,\n])\n"],
5
- "mappings": "AAAA,SAA0B,mBAAmB;AAC7C,SAAwB,YAAY;AAEpC,SAAS,eAAe;AACxB,SAAS,yBAAyB,6BAA6B;AAExD,MAAM,iCAAiC,KAAK,OAAO;AAAA,EACxD,IAAI,KAAK,OAAO;AAAA,EAChB,OAAO,KAAK,OAAO;AACrB,CAAC;AAEM,MAAM,uCAAuC;AAAA,EAClD;AAAA,EACA,KAAK,OAAO;AAAA,IACV,MAAM,KAAK,QAAQ,MAAM;AAAA,IACzB,UAAU,KAAK,SAAS,KAAK,MAAM,uBAAuB,CAAC;AAAA,EAC7D,CAAC;AACH;AAEO,MAAM,qCAAqC;AAAA,EAChD;AAAA,EAC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AAC;AAAA,EACjE,CAAC;AACH;AAEO,MAAM,iCAAiC,KAAK,MAAM;AAAA,EACvD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;",
4
+ "sourcesContent": ["import { HTTP_METHODS, type HttpMethod } from '@scalar/helpers/http/http-methods'\nimport { type TLiteral, Type } from '@scalar/typebox'\n\nimport { compose } from '@/schemas/compose'\nimport { TraversedEntryObjectRef } from '@/schemas/v3.1/strict/ref-definitions'\n\nexport const NavigationBaseSchemaDefinition = Type.Object({\n id: Type.String(),\n title: Type.String(),\n})\n\ntype BaseSchema = {\n id: string\n title: string\n}\n\nexport const TraversedDescriptionSchemaDefinition = compose(\n NavigationBaseSchemaDefinition,\n Type.Object({\n type: Type.Literal('text'),\n children: Type.Optional(Type.Array(TraversedEntryObjectRef)),\n }),\n)\n\nexport type TraversedDescription = BaseSchema & {\n type: 'text'\n children?: TraversedEntry[]\n}\n\nexport const TraversedOperationSchemaDefinition = compose(\n NavigationBaseSchemaDefinition,\n Type.Object({\n type: Type.Literal('operation'),\n ref: Type.String(),\n method: Type.Union(HTTP_METHODS.map((method) => Type.Literal(method))) as unknown as TLiteral<HttpMethod>,\n path: Type.String(),\n isDeprecated: Type.Optional(Type.Boolean()),\n }),\n)\n\nexport type TraversedOperation = BaseSchema & {\n type: 'operation'\n ref: string\n method: HttpMethod\n path: string\n isDeprecated?: boolean\n}\n\nexport const TraversedSchemaSchemaDefinition = compose(\n NavigationBaseSchemaDefinition,\n Type.Object({\n type: Type.Literal('model'),\n ref: Type.String(),\n name: Type.String(),\n }),\n)\n\nexport type TraversedSchema = BaseSchema & {\n type: 'model'\n ref: string\n name: string\n}\n\nexport const TraversedWebhookSchemaDefinition = compose(\n NavigationBaseSchemaDefinition,\n Type.Object({\n type: Type.Literal('webhook'),\n ref: Type.String(),\n method: Type.Union(HTTP_METHODS.map((method) => Type.Literal(method))) as unknown as TLiteral<HttpMethod>,\n name: Type.String(),\n isDeprecated: Type.Optional(Type.Boolean()),\n }),\n)\n\nexport type TraversedWebhook = BaseSchema & {\n type: 'webhook'\n ref: string\n method: HttpMethod\n name: string\n isDeprecated?: boolean\n}\n\nexport const TraversedTagSchemaDefinition = compose(\n NavigationBaseSchemaDefinition,\n Type.Object({\n type: Type.Literal('tag'),\n name: Type.String(),\n description: Type.Optional(Type.String()),\n children: Type.Optional(Type.Array(TraversedEntryObjectRef)),\n isGroup: Type.Boolean(),\n isWebhooks: Type.Optional(Type.Boolean()),\n xKeys: Type.Optional(Type.Record(Type.String(), Type.Unknown())),\n }),\n)\n\nexport type TraversedTag = BaseSchema & {\n type: 'tag'\n name: string\n description?: string\n children?: TraversedEntry[]\n isGroup: boolean\n isWebhooks?: boolean\n xKeys?: Record<string, unknown>\n}\n\nexport const TraversedEntrySchemaDefinition = Type.Union([\n TraversedDescriptionSchemaDefinition,\n TraversedOperationSchemaDefinition,\n TraversedSchemaSchemaDefinition,\n TraversedTagSchemaDefinition,\n TraversedWebhookSchemaDefinition,\n])\n\nexport type TraversedEntry =\n | TraversedDescription\n | TraversedOperation\n | TraversedSchema\n | TraversedTag\n | TraversedWebhook\n"],
5
+ "mappings": "AAAA,SAAS,oBAAqC;AAC9C,SAAwB,YAAY;AAEpC,SAAS,eAAe;AACxB,SAAS,+BAA+B;AAEjC,MAAM,iCAAiC,KAAK,OAAO;AAAA,EACxD,IAAI,KAAK,OAAO;AAAA,EAChB,OAAO,KAAK,OAAO;AACrB,CAAC;AAOM,MAAM,uCAAuC;AAAA,EAClD;AAAA,EACA,KAAK,OAAO;AAAA,IACV,MAAM,KAAK,QAAQ,MAAM;AAAA,IACzB,UAAU,KAAK,SAAS,KAAK,MAAM,uBAAuB,CAAC;AAAA,EAC7D,CAAC;AACH;AAOO,MAAM,qCAAqC;AAAA,EAChD;AAAA,EACA,KAAK,OAAO;AAAA,IACV,MAAM,KAAK,QAAQ,WAAW;AAAA,IAC9B,KAAK,KAAK,OAAO;AAAA,IACjB,QAAQ,KAAK,MAAM,a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2
1
  export declare const AppearanceSchema: import("@scalar/typebox").TObject<{
3
2
  layout: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"modern">, import("@scalar/typebox").TLiteral<"classic">]>>;
4
3
  theme: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -8,6 +7,14 @@ export declare const AppearanceSchema: import("@scalar/typebox").TObject<{
8
7
  css: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
9
8
  loadDefaultFonts: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
10
9
  }>;
11
- export type Appearance = Static<typeof AppearanceSchema>;
10
+ export type Appearance = {
11
+ layout?: 'modern' | 'classic';
12
+ theme?: string;
13
+ favicon?: string;
14
+ initialColorMode?: 'auto' | 'dark' | 'light';
15
+ forceColorMode?: 'dark' | 'light';
16
+ css?: string;
17
+ loadDefaultFonts?: boolean;
18
+ };
12
19
  export declare const defaultAppearance: Required<Appearance>;
13
20
  //# sourceMappingURL=appearance.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"appearance.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/appearance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;AAEnD,eAAO,MAAM,gBAAgB;;;;;;;;EAU5B,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAExD,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CAAC,UAAU,CAQlD,CAAA"}
1
+ {"version":3,"file":"appearance.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/appearance.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB;;;;;;;;EAU5B,CAAA;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;IAC5C,cAAc,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IACjC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CAAC,UAAU,CAQlD,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/schemas/reference-config/appearance.ts"],
4
- "sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\n\nexport const AppearanceSchema = Type.Partial(\n Type.Object({\n layout: Type.Union([Type.Literal('modern'), Type.Literal('classic')]),\n theme: Type.String(),\n favicon: Type.String(),\n initialColorMode: Type.Union([Type.Literal('auto'), Type.Literal('dark'), Type.Literal('light')]),\n forceColorMode: Type.Union([Type.Literal('dark'), Type.Literal('light')]),\n css: Type.String(),\n loadDefaultFonts: Type.Boolean(),\n }),\n)\n\nexport type Appearance = Static<typeof AppearanceSchema>\n\nexport const defaultAppearance: Required<Appearance> = {\n layout: 'modern',\n theme: 'default',\n favicon: '',\n initialColorMode: 'auto',\n forceColorMode: 'dark',\n css: '',\n loadDefaultFonts: true,\n}\n"],
5
- "mappings": "AAAA,SAAsB,YAAY;AAE3B,MAAM,mBAAmB,KAAK;AAAA,EACnC,KAAK,OAAO;AAAA,IACV,QAAQ,KAAK,MAAM,CAAC,KAAK,QAAQ,QAAQ,GAAG,KAAK,QAAQ,SAAS,CAAC,CAAC;AAAA,IACpE,OAAO,KAAK,OAAO;AAAA,IACnB,SAAS,KAAK,OAAO;AAAA,IACrB,kBAAkB,KAAK,MAAM,CAAC,KAAK,QAAQ,MAAM,GAAG,KAAK,QAAQ,MAAM,GAAG,KAAK,QAAQ,OAAO,CAAC,CAAC;AAAA,IAChG,gBAAgB,KAAK,MAAM,CAAC,KAAK,QAAQ,MAAM,GAAG,KAAK,QAAQ,OAAO,CAAC,CAAC;AAAA,IACxE,KAAK,KAAK,OAAO;AAAA,IACjB,kBAAkB,KAAK,QAAQ;AAAA,EACjC,CAAC;AACH;AAIO,MAAM,oBAA0C;AAAA,EACrD,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,SAAS;AAAA,EACT,kBAAkB;AAAA,EAClB,gBAAgB;AAAA,EAChB,KAAK;AAAA,EACL,kBAAkB;AACpB;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nexport const AppearanceSchema = Type.Partial(\n Type.Object({\n layout: Type.Union([Type.Literal('modern'), Type.Literal('classic')]),\n theme: Type.String(),\n favicon: Type.String(),\n initialColorMode: Type.Union([Type.Literal('auto'), Type.Literal('dark'), Type.Literal('light')]),\n forceColorMode: Type.Union([Type.Literal('dark'), Type.Literal('light')]),\n css: Type.String(),\n loadDefaultFonts: Type.Boolean(),\n }),\n)\n\nexport type Appearance = {\n layout?: 'modern' | 'classic'\n theme?: string\n favicon?: string\n initialColorMode?: 'auto' | 'dark' | 'light'\n forceColorMode?: 'dark' | 'light'\n css?: string\n loadDefaultFonts?: boolean\n}\n\nexport const defaultAppearance: Required<Appearance> = {\n layout: 'modern',\n theme: 'default',\n favicon: '',\n initialColorMode: 'auto',\n forceColorMode: 'dark',\n css: '',\n loadDefaultFonts: true,\n}\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAEd,MAAM,mBAAmB,KAAK;AAAA,EACnC,KAAK,OAAO;AAAA,IACV,QAAQ,KAAK,MAAM,CAAC,KAAK,QAAQ,QAAQ,GAAG,KAAK,QAAQ,SAAS,CAAC,CAAC;AAAA,IACpE,OAAO,KAAK,OAAO;AAAA,IACnB,SAAS,KAAK,OAAO;AAAA,IACrB,kBAAkB,KAAK,MAAM,CAAC,KAAK,QAAQ,MAAM,GAAG,KAAK,QAAQ,MAAM,GAAG,KAAK,QAAQ,OAAO,CAAC,CAAC;AAAA,IAChG,gBAAgB,KAAK,MAAM,CAAC,KAAK,QAAQ,MAAM,GAAG,KAAK,QAAQ,OAAO,CAAC,CAAC;AAAA,IACxE,KAAK,KAAK,OAAO;AAAA,IACjB,kBAAkB,KAAK,QAAQ;AAAA,EACjC,CAAC;AACH;AAYO,MAAM,oBAA0C;AAAA,EACrD,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,SAAS;AAAA,EACT,kBAAkB;AAAA,EAClB,gBAAgB;AAAA,EAChB,KAAK;AAAA,EACL,kBAAkB;AACpB;",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,3 @@
1
- import { type Static } from '@scalar/typebox';
2
1
  export declare const FeaturesSchema: import("@scalar/typebox").TObject<{
3
2
  showSidebar: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
4
3
  showModels: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
@@ -10,6 +9,16 @@ export declare const FeaturesSchema: import("@scalar/typebox").TObject<{
10
9
  expandAllTagSections: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
11
10
  persistAuthenticationState: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
12
11
  }>;
13
- export type Features = Static<typeof FeaturesSchema>;
12
+ export type Features = {
13
+ showSidebar?: boolean;
14
+ showModels?: boolean;
15
+ showDownload?: boolean;
16
+ showTestRequestButton?: boolean;
17
+ showSearch?: boolean;
18
+ showApiClientImport?: boolean;
19
+ showDarkModeToggle?: boolean;
20
+ expandAllTagSections?: boolean;
21
+ persistAuthenticationState?: boolean;
22
+ };
14
23
  export declare const defaultFeatures: Required<Features>;
15
24
  //# sourceMappingURL=features.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"features.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/features.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;AAEnD,eAAO,MAAM,cAAc;;;;;;;;;;EAY1B,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,cAAc,CAAC,CAAA;AAEpD,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,QAAQ,CAU9C,CAAA"}
1
+ {"version":3,"file":"features.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/features.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;;;;;;;;EAY1B,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,0BAA0B,CAAC,EAAE,OAAO,CAAA;CACrC,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,QAAQ,CAU9C,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/schemas/reference-config/features.ts"],
4
- "sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\n\nexport const FeaturesSchema = Type.Partial(\n Type.Object({\n showSidebar: Type.Boolean(),\n showModels: Type.Boolean(),\n showDownload: Type.Boolean(),\n showTestRequestButton: Type.Boolean(),\n showSearch: Type.Boolean(),\n showApiClientImport: Type.Boolean(),\n showDarkModeToggle: Type.Boolean(),\n expandAllTagSections: Type.Boolean(),\n persistAuthenticationState: Type.Boolean(),\n }),\n)\n\nexport type Features = Static<typeof FeaturesSchema>\n\nexport const defaultFeatures: Required<Features> = {\n showSidebar: true,\n showModels: true,\n showDownload: true,\n showTestRequestButton: true,\n showSearch: true,\n showApiClientImport: true,\n showDarkModeToggle: true,\n expandAllTagSections: false,\n persistAuthenticationState: false,\n}\n"],
5
- "mappings": "AAAA,SAAsB,YAAY;AAE3B,MAAM,iBAAiB,KAAK;AAAA,EACjC,KAAK,OAAO;AAAA,IACV,aAAa,KAAK,QAAQ;AAAA,IAC1B,YAAY,KAAK,QAAQ;AAAA,IACzB,cAAc,KAAK,QAAQ;AAAA,IAC3B,uBAAuB,KAAK,QAAQ;AAAA,IACpC,YAAY,KAAK,QAAQ;AAAA,IACzB,qBAAqB,KAAK,QAAQ;AAAA,IAClC,oBAAoB,KAAK,QAAQ;AAAA,IACjC,sBAAsB,KAAK,QAAQ;AAAA,IACnC,4BAA4B,KAAK,QAAQ;AAAA,EAC3C,CAAC;AACH;AAIO,MAAM,kBAAsC;AAAA,EACjD,aAAa;AAAA,EACb,YAAY;AAAA,EACZ,cAAc;AAAA,EACd,uBAAuB;AAAA,EACvB,YAAY;AAAA,EACZ,qBAAqB;AAAA,EACrB,oBAAoB;AAAA,EACpB,sBAAsB;AAAA,EACtB,4BAA4B;AAC9B;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nexport const FeaturesSchema = Type.Partial(\n Type.Object({\n showSidebar: Type.Boolean(),\n showModels: Type.Boolean(),\n showDownload: Type.Boolean(),\n showTestRequestButton: Type.Boolean(),\n showSearch: Type.Boolean(),\n showApiClientImport: Type.Boolean(),\n showDarkModeToggle: Type.Boolean(),\n expandAllTagSections: Type.Boolean(),\n persistAuthenticationState: Type.Boolean(),\n }),\n)\n\nexport type Features = {\n showSidebar?: boolean\n showModels?: boolean\n showDownload?: boolean\n showTestRequestButton?: boolean\n showSearch?: boolean\n showApiClientImport?: boolean\n showDarkModeToggle?: boolean\n expandAllTagSections?: boolean\n persistAuthenticationState?: boolean\n}\n\nexport const defaultFeatures: Required<Features> = {\n showSidebar: true,\n showModels: true,\n showDownload: true,\n showTestRequestButton: true,\n showSearch: true,\n showApiClientImport: true,\n showDarkModeToggle: true,\n expandAllTagSections: false,\n persistAuthenticationState: false,\n}\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAEd,MAAM,iBAAiB,KAAK;AAAA,EACjC,KAAK,OAAO;AAAA,IACV,aAAa,KAAK,QAAQ;AAAA,IAC1B,YAAY,KAAK,QAAQ;AAAA,IACzB,cAAc,KAAK,QAAQ;AAAA,IAC3B,uBAAuB,KAAK,QAAQ;AAAA,IACpC,YAAY,KAAK,QAAQ;AAAA,IACzB,qBAAqB,KAAK,QAAQ;AAAA,IAClC,oBAAoB,KAAK,QAAQ;AAAA,IACjC,sBAAsB,KAAK,QAAQ;AAAA,IACnC,4BAA4B,KAAK,QAAQ;AAAA,EAC3C,CAAC;AACH;AAcO,MAAM,kBAAsC;AAAA,EACjD,aAAa;AAAA,EACb,YAAY;AAAA,EACZ,cAAc;AAAA,EACd,uBAAuB;AAAA,EACvB,YAAY;AAAA,EACZ,qBAAqB;AAAA,EACrB,oBAAoB;AAAA,EACpB,sBAAsB;AAAA,EACtB,4BAA4B;AAC9B;",
6
6
  "names": []
7
7
  }
@@ -1,5 +1,10 @@
1
- import { type Static } from '@scalar/typebox';
2
- import type { RequiredDeep } from 'type-fest';
1
+ import { AVAILABLE_CLIENTS, type AvailableClientsArray } from '@scalar/types/snippetz';
2
+ import type { RequiredDeep } from 'type-fest/source/required-deep';
3
+ import { type Appearance } from './appearance.js';
4
+ import { type Features } from './features.js';
5
+ import { type Meta } from './meta.js';
6
+ import { type Routing } from './routing.js';
7
+ import { type Settings } from './settings.js';
3
8
  /**
4
9
  * ReferenceConfigSchema defines the shape of the configuration object
5
10
  * for the API Reference. All properties are optional due to Type.Partial.
@@ -275,23 +280,7 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
275
280
  '$ref-value': import("@scalar/typebox").TRef<"CallbackObject">;
276
281
  }>]>]>>>;
277
282
  }>, import("@scalar/typebox").TObject<{
278
- 'x-scalar-client-config-request-example': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
279
- name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
280
- body: import("@scalar/typebox").TOptional<import("@scalar/typebox").TObject<{
281
- encoding: import("@scalar/typebox").TLiteral<typeof import("../v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js").exampleBodyMime[number]>;
282
- content: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TAny>, import("@scalar/typebox").TString]>;
283
- file: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TObject<{
284
- url: import("@scalar/typebox").TString;
285
- base64: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
286
- }>, import("@scalar/typebox").TNull]>>;
287
- }>>;
288
- parameters: import("@scalar/typebox").TOptional<import("@scalar/typebox").TObject<{
289
- path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
290
- query: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
291
- header: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
292
- cookie: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
293
- }>>;
294
- }>>>;
283
+ 'x-scalar-selected-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
295
284
  }>, import("@scalar/typebox").TObject<{
296
285
  'x-badges': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
297
286
  name: import("@scalar/typebox").TString;
@@ -493,7 +482,7 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
493
482
  'x-tags': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
494
483
  }>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
495
484
  type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"number">, import("@scalar/typebox").TLiteral<"integer">]>;
496
- format: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"int8">, import("@scalar/typebox").TLiteral<"int16">, import("@scalar/typebox").TLiteral<"int32">, import("@scalar/typebox").TLiteral<"int64">, import("@scalar/typebox").TLiteral<"uint8">, import("@scalar/typebox").TLiteral<"uint16">, import("@scalar/typebox").TLiteral<"uint32">, import("@scalar/typebox").TLiteral<"uint64">, import("@scalar/typebox").TLiteral<"double-int">, import("@scalar/typebox").TLiteral<"float">, import("@scalar/typebox").TLiteral<"double">, import("@scalar/typebox").TLiteral<"decimal">, import("@scalar/typebox").TLiteral<"decimal128">, import("@scalar/typebox").TLiteral<"sf-integer">, import("@scalar/typebox").TLiteral<"sf-decimal">]>>;
485
+ format: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
497
486
  multipleOf: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
498
487
  maximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
499
488
  exclusiveMaximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TBoolean, import("@scalar/typebox").TNumber]>>;
@@ -976,17 +965,17 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
976
965
  variables: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"ServerVariableObject">>>;
977
966
  }>;
978
967
  ExternalDocumentationObject: import("@scalar/typebox").TObject<{
979
- description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
980
968
  url: import("@scalar/typebox").TString;
969
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
981
970
  }>;
982
971
  InfoObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
983
972
  title: import("@scalar/typebox").TString;
973
+ version: import("@scalar/typebox").TString;
984
974
  summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
985
975
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
986
976
  termsOfService: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
987
977
  contact: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ContactObject">>;
988
978
  license: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"LicenseObject">>;
989
- version: import("@scalar/typebox").TString;
990
979
  }>, import("@scalar/typebox").TObject<{
991
980
  'x-scalar-sdk-installation': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
992
981
  lang: import("@scalar/typebox").TString;
@@ -1093,7 +1082,7 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
1093
1082
  SecuritySchemeObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1094
1083
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1095
1084
  }>, import("@scalar/typebox").TObject<{
1096
- 'x-scalar-secret-token': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1085
+ 'x-scalar-secret-token': import("@scalar/typebox").TString;
1097
1086
  }>, import("@scalar/typebox").TObject<{
1098
1087
  type: import("@scalar/typebox").TLiteral<"apiKey">;
1099
1088
  name: import("@scalar/typebox").TString;
@@ -1101,10 +1090,10 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
1101
1090
  }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1102
1091
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1103
1092
  }>, import("@scalar/typebox").TObject<{
1104
- 'x-scalar-secret-token': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1093
+ 'x-scalar-secret-token': import("@scalar/typebox").TString;
1105
1094
  }>, import("@scalar/typebox").TObject<{
1106
- 'x-scalar-secret-username': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1107
- 'x-scalar-secret-password': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1095
+ 'x-scalar-secret-username': import("@scalar/typebox").TString;
1096
+ 'x-scalar-secret-password': import("@scalar/typebox").TString;
1108
1097
  }>, import("@scalar/typebox").TObject<{
1109
1098
  type: import("@scalar/typebox").TLiteral<"http">;
1110
1099
  scheme: import("@scalar/typebox").TString;
@@ -1114,6 +1103,8 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
1114
1103
  }>, import("@scalar/typebox").TObject<{
1115
1104
  type: import("@scalar/typebox").TLiteral<"oauth2">;
1116
1105
  flows: import("@scalar/typebox").TRef<"OAuthFlowsObject">;
1106
+ }>, import("@scalar/typebox").TObject<{
1107
+ 'x-default-scopes': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
1117
1108
  }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1118
1109
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1119
1110
  }>, import("@scalar/typebox").TObject<{
@@ -1140,38 +1131,93 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
1140
1131
  mapping: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1141
1132
  }>;
1142
1133
  OAuthFlowsObject: import("@scalar/typebox").TObject<{
1143
- implicit: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1144
- refreshUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1134
+ implicit: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1135
+ refreshUrl: import("@scalar/typebox").TString;
1145
1136
  scopes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>;
1146
1137
  }>, import("@scalar/typebox").TObject<{
1147
- 'x-scalar-secret-token': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1138
+ 'x-scalar-secret-client-id': import("@scalar/typebox").TString;
1148
1139
  }>, import("@scalar/typebox").TObject<{
1140
+ 'x-scalar-secret-token': import("@scalar/typebox").TString;
1141
+ }>, import("@scalar/typebox").TObject<{
1142
+ 'x-scalar-security-query': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1143
+ }>, import("@scalar/typebox").TObject<{
1144
+ 'x-scalar-security-body': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1145
+ }>, import("@scalar/typebox").TObject<{
1146
+ 'x-tokenName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1147
+ }>, import("@scalar/typebox").TObject<{
1148
+ 'x-scalar-credentials-location': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"body">]>>;
1149
+ }>]>, import("@scalar/typebox").TObject<{
1149
1150
  authorizationUrl: import("@scalar/typebox").TString;
1151
+ }>, import("@scalar/typebox").TObject<{
1152
+ 'x-scalar-secret-redirect-uri': import("@scalar/typebox").TString;
1150
1153
  }>]>>;
1151
- password: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1152
- refreshUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1154
+ password: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1155
+ refreshUrl: import("@scalar/typebox").TString;
1153
1156
  scopes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>;
1154
1157
  }>, import("@scalar/typebox").TObject<{
1155
- 'x-scalar-secret-token': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1158
+ 'x-scalar-secret-client-id': import("@scalar/typebox").TString;
1159
+ }>, import("@scalar/typebox").TObject<{
1160
+ 'x-scalar-secret-token': import("@scalar/typebox").TString;
1156
1161
  }>, import("@scalar/typebox").TObject<{
1162
+ 'x-scalar-security-query': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1163
+ }>, import("@scalar/typebox").TObject<{
1164
+ 'x-scalar-security-body': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1165
+ }>, import("@scalar/typebox").TObject<{
1166
+ 'x-tokenName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1167
+ }>, import("@scalar/typebox").TObject<{
1168
+ 'x-scalar-credentials-location': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"body">]>>;
1169
+ }>]>, import("@scalar/typebox").TObject<{
1157
1170
  tokenUrl: import("@scalar/typebox").TString;
1171
+ }>, import("@scalar/typebox").TObject<{
1172
+ 'x-scalar-secret-username': import("@scalar/typebox").TString;
1173
+ 'x-scalar-secret-password': import("@scalar/typebox").TString;
1174
+ }>, import("@scalar/typebox").TObject<{
1175
+ 'x-scalar-secret-client-secret': import("@scalar/typebox").TString;
1158
1176
  }>]>>;
1159
- clientCredentials: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1160
- refreshUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1177
+ clientCredentials: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1178
+ refreshUrl: import("@scalar/typebox").TString;
1161
1179
  scopes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>;
1162
1180
  }>, import("@scalar/typebox").TObject<{
1163
- 'x-scalar-secret-token': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1181
+ 'x-scalar-secret-client-id': import("@scalar/typebox").TString;
1182
+ }>, import("@scalar/typebox").TObject<{
1183
+ 'x-scalar-secret-token': import("@scalar/typebox").TString;
1164
1184
  }>, import("@scalar/typebox").TObject<{
1185
+ 'x-scalar-security-query': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1186
+ }>, import("@scalar/typebox").TObject<{
1187
+ 'x-scalar-security-body': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1188
+ }>, import("@scalar/typebox").TObject<{
1189
+ 'x-tokenName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1190
+ }>, import("@scalar/typebox").TObject<{
1191
+ 'x-scalar-credentials-location': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"body">]>>;
1192
+ }>]>, import("@scalar/typebox").TObject<{
1165
1193
  tokenUrl: import("@scalar/typebox").TString;
1194
+ }>, import("@scalar/typebox").TObject<{
1195
+ 'x-scalar-secret-client-secret': import("@scalar/typebox").TString;
1166
1196
  }>]>>;
1167
- authorizationCode: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1168
- refreshUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1197
+ authorizationCode: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1198
+ refreshUrl: import("@scalar/typebox").TString;
1169
1199
  scopes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>;
1170
1200
  }>, import("@scalar/typebox").TObject<{
1171
- 'x-scalar-secret-token': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1201
+ 'x-scalar-secret-client-id': import("@scalar/typebox").TString;
1202
+ }>, import("@scalar/typebox").TObject<{
1203
+ 'x-scalar-secret-token': import("@scalar/typebox").TString;
1172
1204
  }>, import("@scalar/typebox").TObject<{
1205
+ 'x-scalar-security-query': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1206
+ }>, import("@scalar/typebox").TObject<{
1207
+ 'x-scalar-security-body': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1208
+ }>, import("@scalar/typebox").TObject<{
1209
+ 'x-tokenName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1210
+ }>, import("@scalar/typebox").TObject<{
1211
+ 'x-scalar-credentials-location': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"body">]>>;
1212
+ }>]>, import("@scalar/typebox").TObject<{
1173
1213
  authorizationUrl: import("@scalar/typebox").TString;
1174
1214
  tokenUrl: import("@scalar/typebox").TString;
1215
+ }>, import("@scalar/typebox").TObject<{
1216
+ 'x-scalar-secret-client-secret': import("@scalar/typebox").TString;
1217
+ }>, import("@scalar/typebox").TObject<{
1218
+ 'x-scalar-secret-redirect-uri': import("@scalar/typebox").TString;
1219
+ }>, import("@scalar/typebox").TObject<{
1220
+ 'x-usePkce': import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"SHA-256">, import("@scalar/typebox").TLiteral<"plain">, import("@scalar/typebox").TLiteral<"no">]>;
1175
1221
  }>]>>;
1176
1222
  }>;
1177
1223
  ServerVariableObject: import("@scalar/typebox").TObject<{
@@ -1190,10 +1236,7 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
1190
1236
  security: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
1191
1237
  tags: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TagObject">>>;
1192
1238
  externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
1193
- }>, import("@scalar/typebox").TObject<{
1194
- 'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1195
- tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
1196
- }>, import("@scalar/typebox").TRef<"TagObject">]>>>;
1239
+ }>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1197
1240
  'x-scalar-client-config-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1198
1241
  'x-scalar-client-config-icon': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1199
1242
  'x-scalar-client-config-environments': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
@@ -1211,8 +1254,14 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
1211
1254
  path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1212
1255
  }>>>;
1213
1256
  'x-original-oas-version': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1257
+ 'x-scalar-selected-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
1214
1258
  "x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1215
- }>]>;
1259
+ }>, import("@scalar/typebox").TObject<{
1260
+ 'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
1261
+ name: import("@scalar/typebox").TString;
1262
+ tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
1263
+ }>>>;
1264
+ }>]>]>;
1216
1265
  TraversedDescriptionObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1217
1266
  id: import("@scalar/typebox").TString;
1218
1267
  title: import("@scalar/typebox").TString;
@@ -1260,7 +1309,7 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
1260
1309
  isWebhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1261
1310
  xKeys: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnknown>>;
1262
1311
  }>]>;
1263
- TraversedEntryObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"TraversedTagObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1312
+ TraversedEntryObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1264
1313
  id: import("@scalar/typebox").TString;
1265
1314
  title: import("@scalar/typebox").TString;
1266
1315
  }>, import("@scalar/typebox").TObject<{
@@ -1285,6 +1334,17 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
1285
1334
  }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1286
1335
  id: import("@scalar/typebox").TString;
1287
1336
  title: import("@scalar/typebox").TString;
1337
+ }>, import("@scalar/typebox").TObject<{
1338
+ type: import("@scalar/typebox").TLiteral<"tag">;
1339
+ name: import("@scalar/typebox").TString;
1340
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1341
+ children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1342
+ isGroup: import("@scalar/typebox").TBoolean;
1343
+ isWebhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1344
+ xKeys: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnknown>>;
1345
+ }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1346
+ id: import("@scalar/typebox").TString;
1347
+ title: import("@scalar/typebox").TString;
1288
1348
  }>, import("@scalar/typebox").TObject<{
1289
1349
  type: import("@scalar/typebox").TLiteral<"webhook">;
1290
1350
  ref: import("@scalar/typebox").TString;
@@ -1329,6 +1389,15 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
1329
1389
  }>>;
1330
1390
  httpClients: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TUnion<import("@scalar/typebox").TLiteral<"c/libcurl" | "clojure/clj_http" | "csharp/httpclient" | "csharp/restsharp" | "dart/http" | "go/native" | "http/http1.1" | "java/asynchttp" | "java/nethttp" | "java/okhttp" | "java/unirest" | "js/axios" | "js/fetch" | "js/jquery" | "js/ofetch" | "js/xhr" | "kotlin/okhttp" | "node/axios" | "node/fetch" | "node/ofetch" | "node/undici" | "objc/nsurlsession" | "ocaml/cohttp" | "php/curl" | "php/guzzle" | "powershell/restmethod" | "powershell/webrequest" | "python/python3" | "python/requests" | "python/httpx_sync" | "python/httpx_async" | "r/httr" | "ruby/native" | "rust/reqwest" | "shell/curl" | "shell/httpie" | "shell/wget" | "swift/nsurlsession">[]>>>;
1331
1391
  }>;
1332
- export type ReferenceConfig = Static<typeof ReferenceConfigSchema>;
1392
+ export type ReferenceConfig = {
1393
+ title?: string;
1394
+ slug?: string;
1395
+ settings?: Settings;
1396
+ routing?: Routing;
1397
+ appearance?: Appearance;
1398
+ features?: Features;
1399
+ meta?: Meta;
1400
+ httpClients?: AvailableClientsArray | typeof AVAILABLE_CLIENTS;
1401
+ };
1333
1402
  export declare const defaultReferenceConfig: RequiredDeep<ReferenceConfig>;
1334
1403
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/index.ts"],"names":[],"mappings":"AAAA,O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