shelving 1.250.0 → 1.251.1

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 (604) hide show
  1. package/api/cache/APICache.d.ts +6 -6
  2. package/api/cache/APICache.js +5 -5
  3. package/api/cache/EndpointCache.d.ts +5 -5
  4. package/api/cache/EndpointCache.js +5 -5
  5. package/api/endpoint/Endpoint.d.ts +19 -19
  6. package/api/endpoint/Endpoint.js +4 -4
  7. package/api/endpoint/util.d.ts +4 -4
  8. package/api/provider/APIProvider.d.ts +6 -6
  9. package/api/provider/APIProvider.js +3 -3
  10. package/api/provider/CachedAPIProvider.d.ts +3 -3
  11. package/api/provider/CachedAPIProvider.js +3 -3
  12. package/api/provider/ClientAPIProvider.d.ts +5 -5
  13. package/api/provider/ClientAPIProvider.js +4 -4
  14. package/api/provider/JSONAPIProvider.d.ts +1 -1
  15. package/api/provider/JSONAPIProvider.js +1 -1
  16. package/api/provider/MockAPIProvider.d.ts +2 -2
  17. package/api/provider/MockAPIProvider.js +2 -2
  18. package/api/provider/MockEndpointAPIProvider.d.ts +3 -3
  19. package/api/provider/MockEndpointAPIProvider.js +3 -3
  20. package/api/provider/ThroughAPIProvider.d.ts +2 -2
  21. package/api/provider/ThroughAPIProvider.js +2 -2
  22. package/api/provider/ValidationAPIProvider.d.ts +1 -1
  23. package/api/provider/ValidationAPIProvider.js +1 -1
  24. package/api/provider/XMLAPIProvider.d.ts +1 -1
  25. package/api/provider/XMLAPIProvider.js +1 -1
  26. package/api/store/EndpointStore.d.ts +1 -1
  27. package/api/store/EndpointStore.js +1 -1
  28. package/bun/BunPostgreSQLProvider.d.ts +2 -2
  29. package/bun/BunPostgreSQLProvider.js +2 -2
  30. package/cloudflare/CloudflareD1Provider.d.ts +4 -4
  31. package/cloudflare/CloudflareD1Provider.js +4 -4
  32. package/cloudflare/CloudflareKVProvider.d.ts +1 -1
  33. package/cloudflare/CloudflareKVProvider.js +1 -1
  34. package/cloudflare/types.d.ts +3 -3
  35. package/db/cache/CollectionCache.d.ts +3 -3
  36. package/db/cache/CollectionCache.js +3 -3
  37. package/db/cache/DBCache.d.ts +5 -5
  38. package/db/cache/DBCache.js +4 -4
  39. package/db/migrate/DBMigrator.d.ts +1 -1
  40. package/db/migrate/DBMigrator.js +1 -1
  41. package/db/provider/ChangesDBProvider.d.ts +2 -2
  42. package/db/provider/ChangesDBProvider.js +1 -1
  43. package/db/provider/DBProvider.d.ts +3 -3
  44. package/db/provider/DBProvider.js +3 -3
  45. package/db/provider/MemoryDBProvider.d.ts +6 -6
  46. package/db/provider/MemoryDBProvider.js +6 -6
  47. package/db/provider/MockDBProvider.d.ts +2 -2
  48. package/db/provider/MockDBProvider.js +1 -1
  49. package/db/provider/PostgreSQLProvider.d.ts +3 -3
  50. package/db/provider/PostgreSQLProvider.js +3 -3
  51. package/db/provider/SQLProvider.d.ts +18 -18
  52. package/db/provider/SQLProvider.js +18 -18
  53. package/db/provider/SQLiteProvider.d.ts +4 -4
  54. package/db/provider/SQLiteProvider.js +4 -4
  55. package/db/provider/ThroughDBProvider.d.ts +3 -3
  56. package/db/provider/ThroughDBProvider.js +3 -3
  57. package/db/provider/ValidationDBProvider.d.ts +11 -11
  58. package/db/provider/ValidationDBProvider.js +12 -12
  59. package/db/store/ItemStore.d.ts +2 -2
  60. package/db/store/ItemStore.js +2 -2
  61. package/db/store/QueryStore.d.ts +2 -2
  62. package/db/store/QueryStore.js +2 -2
  63. package/error/BaseError.d.ts +4 -4
  64. package/error/BaseError.js +2 -2
  65. package/error/RequestError.d.ts +8 -8
  66. package/error/RequestError.js +7 -7
  67. package/error/ResponseError.d.ts +2 -2
  68. package/error/ResponseError.js +1 -1
  69. package/extract/DirectoryExtractor.d.ts +3 -3
  70. package/extract/DirectoryExtractor.js +3 -3
  71. package/extract/Extractor.d.ts +3 -3
  72. package/extract/Extractor.js +1 -1
  73. package/extract/FileExtractor.d.ts +5 -5
  74. package/extract/FileExtractor.js +5 -5
  75. package/extract/MarkupExtractor.d.ts +1 -1
  76. package/extract/MarkupExtractor.js +1 -1
  77. package/extract/MergingExtractor.d.ts +1 -1
  78. package/extract/MergingExtractor.js +1 -1
  79. package/extract/ModuleExtractor.d.ts +5 -5
  80. package/extract/ModuleExtractor.js +4 -4
  81. package/extract/PackageExtractor.d.ts +2 -2
  82. package/extract/PackageExtractor.js +1 -1
  83. package/extract/ThroughExtractor.d.ts +1 -1
  84. package/extract/ThroughExtractor.js +1 -1
  85. package/firestore/client/FirestoreClientProvider.d.ts +1 -1
  86. package/firestore/client/FirestoreClientProvider.js +1 -1
  87. package/firestore/lite/FirestoreLiteProvider.d.ts +2 -2
  88. package/firestore/lite/FirestoreLiteProvider.js +2 -2
  89. package/firestore/server/FirestoreServerProvider.d.ts +1 -1
  90. package/firestore/server/FirestoreServerProvider.js +1 -1
  91. package/markup/MarkupParser.d.ts +6 -8
  92. package/markup/MarkupParser.js +5 -7
  93. package/markup/MarkupRule.d.ts +4 -4
  94. package/markup/Parser.d.ts +1 -1
  95. package/markup/Parser.js +1 -1
  96. package/markup/rule/index.d.ts +1 -1
  97. package/markup/rule/index.js +1 -1
  98. package/markup/rule/link.d.ts +2 -2
  99. package/markup/rule/link.js +2 -2
  100. package/markup/util/regexp.d.ts +3 -3
  101. package/package.json +1 -1
  102. package/schema/AddressSchema.d.ts +2 -2
  103. package/schema/AddressSchema.js +2 -2
  104. package/schema/ColorSchema.d.ts +1 -1
  105. package/schema/ColorSchema.js +1 -1
  106. package/schema/CountrySchema.d.ts +1 -1
  107. package/schema/CountrySchema.js +1 -1
  108. package/schema/DataSchema.d.ts +5 -5
  109. package/schema/DataSchema.js +3 -3
  110. package/schema/DateSchema.d.ts +1 -1
  111. package/schema/DateSchema.js +1 -1
  112. package/schema/DateTimeSchema.d.ts +2 -2
  113. package/schema/DateTimeSchema.js +2 -2
  114. package/schema/EntitySchema.d.ts +3 -3
  115. package/schema/EntitySchema.js +3 -3
  116. package/schema/FileSchema.d.ts +2 -2
  117. package/schema/FileSchema.js +2 -2
  118. package/schema/OptionalSchema.d.ts +1 -1
  119. package/schema/OptionalSchema.js +1 -1
  120. package/schema/ThroughSchema.d.ts +1 -1
  121. package/schema/ThroughSchema.js +1 -1
  122. package/schema/TimeSchema.d.ts +1 -1
  123. package/schema/TimeSchema.js +1 -1
  124. package/ui/README.md +0 -9
  125. package/ui/app/App.d.ts +2 -2
  126. package/ui/app/App.js +1 -1
  127. package/ui/app/App.md +3 -10
  128. package/ui/app/App.tsx +2 -2
  129. package/ui/block/Address.d.ts +2 -2
  130. package/ui/block/Address.js +2 -3
  131. package/ui/block/Address.tsx +2 -4
  132. package/ui/block/Block.js +2 -2
  133. package/ui/block/Block.tsx +1 -3
  134. package/ui/block/Card.d.ts +1 -1
  135. package/ui/block/Card.md +2 -8
  136. package/ui/block/Card.tsx +1 -1
  137. package/ui/block/Heading.d.ts +3 -3
  138. package/ui/block/Heading.js +1 -1
  139. package/ui/block/Heading.md +4 -10
  140. package/ui/block/Heading.tsx +3 -3
  141. package/ui/block/Label.d.ts +1 -1
  142. package/ui/block/Label.tsx +1 -1
  143. package/ui/block/List.md +1 -8
  144. package/ui/block/Panel.md +0 -7
  145. package/ui/block/Paragraph.md +0 -7
  146. package/ui/block/Prose.js +1 -1
  147. package/ui/block/Prose.md +1 -8
  148. package/ui/block/Prose.tsx +1 -1
  149. package/ui/block/Section.md +1 -8
  150. package/ui/block/Subheading.d.ts +1 -1
  151. package/ui/block/Subheading.md +0 -7
  152. package/ui/block/Subheading.tsx +1 -1
  153. package/ui/block/Title.d.ts +1 -1
  154. package/ui/block/Title.md +1 -8
  155. package/ui/block/Title.tsx +1 -1
  156. package/ui/block/index.d.ts +0 -3
  157. package/ui/block/index.js +0 -3
  158. package/ui/block/index.ts +0 -3
  159. package/ui/dialog/Dialog.md +0 -9
  160. package/ui/dialog/Dialogs.d.ts +1 -1
  161. package/ui/dialog/Dialogs.js +1 -1
  162. package/ui/dialog/Dialogs.tsx +1 -1
  163. package/ui/dialog/Modal.md +0 -5
  164. package/ui/docs/DocumentationButtons.d.ts +1 -1
  165. package/ui/docs/DocumentationButtons.js +1 -1
  166. package/ui/docs/DocumentationButtons.md +2 -9
  167. package/ui/docs/DocumentationButtons.tsx +1 -1
  168. package/ui/docs/DocumentationCard.d.ts +2 -2
  169. package/ui/docs/DocumentationCard.js +2 -2
  170. package/ui/docs/DocumentationCard.md +0 -9
  171. package/ui/docs/DocumentationCard.tsx +2 -2
  172. package/ui/docs/DocumentationHomePage.d.ts +3 -3
  173. package/ui/docs/DocumentationHomePage.js +3 -3
  174. package/ui/docs/DocumentationHomePage.md +1 -9
  175. package/ui/docs/DocumentationHomePage.tsx +3 -3
  176. package/ui/docs/DocumentationKind.d.ts +5 -5
  177. package/ui/docs/DocumentationKind.js +2 -2
  178. package/ui/docs/DocumentationKind.tsx +6 -6
  179. package/ui/docs/DocumentationPage.d.ts +3 -3
  180. package/ui/docs/DocumentationPage.js +8 -22
  181. package/ui/docs/DocumentationPage.md +0 -11
  182. package/ui/docs/DocumentationPage.test.tsx +8 -8
  183. package/ui/docs/DocumentationPage.tsx +12 -145
  184. package/ui/docs/DocumentationParams.d.ts +25 -0
  185. package/ui/docs/DocumentationParams.js +32 -0
  186. package/ui/docs/DocumentationParams.tsx +104 -0
  187. package/ui/docs/DocumentationReferences.d.ts +22 -0
  188. package/ui/docs/DocumentationReferences.js +23 -0
  189. package/ui/docs/DocumentationReferences.tsx +59 -0
  190. package/ui/docs/DocumentationReturns.d.ts +24 -0
  191. package/ui/docs/DocumentationReturns.js +25 -0
  192. package/ui/docs/DocumentationReturns.tsx +63 -0
  193. package/ui/docs/DocumentationSignatures.d.ts +2 -2
  194. package/ui/docs/DocumentationSignatures.js +2 -2
  195. package/ui/docs/DocumentationSignatures.tsx +2 -2
  196. package/ui/docs/DocumentationThrows.d.ts +24 -0
  197. package/ui/docs/DocumentationThrows.js +25 -0
  198. package/ui/docs/DocumentationThrows.tsx +63 -0
  199. package/ui/docs/index.d.ts +4 -0
  200. package/ui/docs/index.js +4 -0
  201. package/ui/docs/index.ts +4 -0
  202. package/ui/form/ArrayInput.d.ts +1 -1
  203. package/ui/form/ArrayInput.tsx +1 -1
  204. package/ui/form/ArrayRadioInputs.d.ts +1 -1
  205. package/ui/form/ArrayRadioInputs.js +1 -1
  206. package/ui/form/ArrayRadioInputs.tsx +1 -1
  207. package/ui/form/Button.d.ts +1 -1
  208. package/ui/form/Button.js +1 -1
  209. package/ui/form/Button.md +2 -8
  210. package/ui/form/Button.tsx +1 -1
  211. package/ui/form/ButtonInput.d.ts +1 -1
  212. package/ui/form/ButtonInput.js +1 -1
  213. package/ui/form/ButtonInput.tsx +1 -1
  214. package/ui/form/ButtonInputPopover.d.ts +1 -1
  215. package/ui/form/ButtonInputPopover.js +1 -1
  216. package/ui/form/ButtonInputPopover.tsx +1 -1
  217. package/ui/form/ButtonPopover.d.ts +1 -1
  218. package/ui/form/ButtonPopover.js +1 -1
  219. package/ui/form/ButtonPopover.tsx +1 -1
  220. package/ui/form/ChoiceRadioInputs.d.ts +3 -3
  221. package/ui/form/ChoiceRadioInputs.tsx +3 -3
  222. package/ui/form/Clickable.d.ts +2 -2
  223. package/ui/form/Clickable.tsx +2 -2
  224. package/ui/form/DataInput.d.ts +1 -1
  225. package/ui/form/DataInput.tsx +1 -1
  226. package/ui/form/DateInput.d.ts +1 -1
  227. package/ui/form/DateInput.js +2 -2
  228. package/ui/form/DateInput.tsx +2 -2
  229. package/ui/form/Field.md +2 -8
  230. package/ui/form/Form.d.ts +6 -6
  231. package/ui/form/Form.js +3 -3
  232. package/ui/form/Form.md +6 -16
  233. package/ui/form/Form.tsx +6 -6
  234. package/ui/form/FormContext.d.ts +3 -3
  235. package/ui/form/FormContext.js +1 -1
  236. package/ui/form/FormContext.tsx +3 -3
  237. package/ui/form/FormFields.d.ts +3 -3
  238. package/ui/form/FormFields.js +3 -3
  239. package/ui/form/FormFields.tsx +3 -3
  240. package/ui/form/FormFooter.d.ts +2 -2
  241. package/ui/form/FormFooter.js +2 -2
  242. package/ui/form/FormFooter.tsx +2 -2
  243. package/ui/form/FormInput.d.ts +4 -4
  244. package/ui/form/FormInput.js +3 -3
  245. package/ui/form/FormInput.tsx +4 -4
  246. package/ui/form/FormMessage.d.ts +1 -1
  247. package/ui/form/FormMessage.js +1 -1
  248. package/ui/form/FormMessage.tsx +1 -1
  249. package/ui/form/FormNotice.d.ts +1 -1
  250. package/ui/form/FormNotice.js +1 -1
  251. package/ui/form/FormNotice.tsx +1 -1
  252. package/ui/form/FormNotify.d.ts +1 -1
  253. package/ui/form/FormNotify.js +1 -1
  254. package/ui/form/FormNotify.tsx +1 -1
  255. package/ui/form/FormStore.d.ts +3 -3
  256. package/ui/form/FormStore.js +3 -3
  257. package/ui/form/FormStore.md +3 -11
  258. package/ui/form/FormStore.tsx +3 -3
  259. package/ui/form/Input.d.ts +1 -1
  260. package/ui/form/Input.module.css +1 -1
  261. package/ui/form/Input.tsx +1 -1
  262. package/ui/form/Popover.d.ts +1 -1
  263. package/ui/form/Popover.tsx +1 -1
  264. package/ui/form/QueryInput.d.ts +1 -1
  265. package/ui/form/QueryInput.js +1 -1
  266. package/ui/form/QueryInput.tsx +1 -1
  267. package/ui/form/SchemaInput.d.ts +21 -21
  268. package/ui/form/SchemaInput.js +12 -12
  269. package/ui/form/SchemaInput.md +11 -18
  270. package/ui/form/SchemaInput.tsx +22 -22
  271. package/ui/index.d.ts +1 -0
  272. package/ui/index.js +1 -0
  273. package/ui/index.ts +1 -0
  274. package/ui/inline/Code.md +0 -7
  275. package/ui/inline/Link.d.ts +2 -2
  276. package/ui/inline/Link.js +1 -1
  277. package/ui/inline/Link.md +1 -8
  278. package/ui/inline/Link.tsx +2 -2
  279. package/ui/inline/Mark.md +0 -7
  280. package/ui/inline/Strong.md +0 -7
  281. package/ui/layout/CenteredLayout.md +0 -6
  282. package/ui/layout/SidebarLayout.d.ts +2 -2
  283. package/ui/layout/SidebarLayout.js +2 -2
  284. package/ui/layout/SidebarLayout.md +1 -8
  285. package/ui/layout/SidebarLayout.tsx +2 -2
  286. package/ui/menu/Menu.d.ts +2 -2
  287. package/ui/menu/Menu.js +1 -1
  288. package/ui/menu/Menu.md +0 -6
  289. package/ui/menu/Menu.tsx +2 -2
  290. package/ui/menu/MenuItem.md +2 -8
  291. package/ui/misc/Catcher.d.ts +5 -5
  292. package/ui/misc/Catcher.js +4 -4
  293. package/ui/misc/Catcher.md +3 -9
  294. package/ui/misc/Catcher.tsx +5 -5
  295. package/ui/misc/Loading.md +0 -5
  296. package/ui/misc/Mapper.md +0 -4
  297. package/ui/misc/Markup.d.ts +3 -3
  298. package/ui/misc/Markup.js +2 -2
  299. package/ui/misc/Markup.md +3 -9
  300. package/ui/misc/Markup.tsx +3 -3
  301. package/ui/misc/MetaContext.d.ts +5 -5
  302. package/ui/misc/MetaContext.js +4 -4
  303. package/ui/misc/MetaContext.tsx +5 -5
  304. package/ui/misc/StatusIcon.d.ts +1 -1
  305. package/ui/misc/StatusIcon.js +1 -1
  306. package/ui/misc/StatusIcon.md +1 -7
  307. package/ui/misc/StatusIcon.tsx +1 -1
  308. package/ui/misc/Tag.d.ts +1 -1
  309. package/ui/misc/Tag.md +1 -7
  310. package/ui/misc/Tag.tsx +1 -1
  311. package/ui/notice/Message.d.ts +1 -1
  312. package/ui/notice/Message.js +1 -1
  313. package/ui/notice/Message.tsx +1 -1
  314. package/ui/notice/Notice.d.ts +2 -2
  315. package/ui/notice/Notice.js +1 -1
  316. package/ui/notice/Notice.md +2 -9
  317. package/ui/notice/Notice.tsx +2 -2
  318. package/ui/notice/NoticeStore.d.ts +3 -3
  319. package/ui/notice/NoticeStore.js +3 -3
  320. package/ui/notice/NoticeStore.ts +3 -3
  321. package/ui/notice/Notices.d.ts +1 -1
  322. package/ui/notice/Notices.js +1 -1
  323. package/ui/notice/Notices.md +2 -8
  324. package/ui/notice/Notices.tsx +1 -1
  325. package/ui/notice/NoticesStore.d.ts +5 -4
  326. package/ui/notice/NoticesStore.js +3 -3
  327. package/ui/notice/NoticesStore.ts +3 -3
  328. package/ui/page/HTML.d.ts +1 -1
  329. package/ui/page/HTML.js +1 -1
  330. package/ui/page/HTML.md +2 -8
  331. package/ui/page/HTML.tsx +1 -1
  332. package/ui/page/Head.d.ts +1 -1
  333. package/ui/page/Head.js +1 -1
  334. package/ui/page/Head.md +1 -6
  335. package/ui/page/Head.tsx +1 -1
  336. package/ui/page/Page.d.ts +1 -1
  337. package/ui/page/Page.js +1 -1
  338. package/ui/page/Page.md +1 -8
  339. package/ui/page/Page.tsx +1 -1
  340. package/ui/router/Navigation.d.ts +2 -2
  341. package/ui/router/Navigation.js +2 -2
  342. package/ui/router/Navigation.md +0 -7
  343. package/ui/router/Navigation.tsx +2 -2
  344. package/ui/router/NavigationContext.d.ts +2 -2
  345. package/ui/router/NavigationContext.js +2 -2
  346. package/ui/router/NavigationContext.tsx +2 -2
  347. package/ui/router/NavigationStore.d.ts +1 -1
  348. package/ui/router/NavigationStore.js +1 -1
  349. package/ui/router/NavigationStore.md +2 -8
  350. package/ui/router/NavigationStore.tsx +1 -1
  351. package/ui/router/RouteCache.md +0 -6
  352. package/ui/router/Router.md +4 -11
  353. package/ui/router/Routes.d.ts +5 -5
  354. package/ui/router/Routes.tsx +5 -5
  355. package/ui/style/Color.d.ts +6 -4
  356. package/ui/style/Color.js +1 -0
  357. package/ui/style/Color.tsx +6 -4
  358. package/ui/style/Duration.d.ts +5 -4
  359. package/ui/style/Duration.js +1 -0
  360. package/ui/style/Duration.tsx +5 -4
  361. package/ui/style/Flex.d.ts +8 -3
  362. package/ui/style/Flex.js +5 -2
  363. package/ui/style/Flex.module.css +3 -0
  364. package/ui/style/Flex.tsx +9 -4
  365. package/ui/style/Font.d.ts +5 -4
  366. package/ui/style/Font.js +1 -0
  367. package/ui/style/Font.tsx +5 -4
  368. package/ui/style/Gap.d.ts +5 -4
  369. package/ui/style/Gap.js +1 -0
  370. package/ui/style/Gap.tsx +5 -4
  371. package/ui/style/Padding.d.ts +5 -4
  372. package/ui/style/Padding.js +1 -0
  373. package/ui/style/Padding.tsx +5 -4
  374. package/ui/style/Radius.d.ts +5 -4
  375. package/ui/style/Radius.js +1 -0
  376. package/ui/style/Radius.tsx +5 -4
  377. package/ui/style/Scroll.d.ts +4 -3
  378. package/ui/style/Scroll.js +1 -0
  379. package/ui/style/Scroll.tsx +4 -4
  380. package/ui/style/Shadow.d.ts +5 -4
  381. package/ui/style/Shadow.js +1 -0
  382. package/ui/style/Shadow.tsx +5 -4
  383. package/ui/style/Size.d.ts +5 -4
  384. package/ui/style/Size.js +1 -0
  385. package/ui/style/Size.tsx +5 -4
  386. package/ui/style/Space.d.ts +8 -7
  387. package/ui/style/Space.js +2 -1
  388. package/ui/style/Space.tsx +8 -7
  389. package/ui/style/Status.d.ts +7 -4
  390. package/ui/style/Status.js +1 -0
  391. package/ui/style/Status.tsx +7 -4
  392. package/ui/style/Stroke.d.ts +6 -5
  393. package/ui/style/Stroke.js +2 -1
  394. package/ui/style/Stroke.module.css +2 -2
  395. package/ui/style/Stroke.tsx +7 -6
  396. package/ui/style/TINT_CLASS.md +0 -7
  397. package/ui/style/Typography.d.ts +20 -7
  398. package/ui/style/Typography.js +1 -0
  399. package/ui/style/Typography.module.css +8 -0
  400. package/ui/style/Typography.tsx +21 -7
  401. package/ui/style/Weight.d.ts +6 -5
  402. package/ui/style/Weight.js +2 -1
  403. package/ui/style/Weight.tsx +6 -5
  404. package/ui/style/Width.d.ts +9 -14
  405. package/ui/style/Width.js +4 -6
  406. package/ui/style/Width.module.css +33 -100
  407. package/ui/style/Width.tsx +10 -49
  408. package/ui/style/getColorClass.md +0 -6
  409. package/ui/style/getDurationClass.md +0 -5
  410. package/ui/style/getFontClass.md +0 -7
  411. package/ui/style/getRadiusClass.md +0 -6
  412. package/ui/style/getShadowClass.md +0 -6
  413. package/ui/style/getSizeClass.md +0 -7
  414. package/ui/style/getSpaceClass.md +0 -6
  415. package/ui/style/getStrokeClass.md +0 -6
  416. package/ui/style/getWeightClass.md +0 -7
  417. package/ui/style/getWidthClass.md +12 -12
  418. package/ui/table/Cell.d.ts +24 -0
  419. package/ui/{block/TableCell.js → table/Cell.js} +8 -5
  420. package/ui/table/Cell.tsx +39 -0
  421. package/ui/{block → table}/Table.md +36 -6
  422. package/ui/table/index.d.ts +2 -0
  423. package/ui/table/index.js +2 -0
  424. package/ui/table/index.ts +2 -0
  425. package/ui/transition/CollapseTransition.d.ts +1 -1
  426. package/ui/transition/CollapseTransition.js +1 -1
  427. package/ui/transition/CollapseTransition.md +0 -6
  428. package/ui/transition/CollapseTransition.tsx +1 -1
  429. package/ui/transition/FadeTransition.d.ts +1 -1
  430. package/ui/transition/FadeTransition.js +1 -1
  431. package/ui/transition/FadeTransition.md +0 -6
  432. package/ui/transition/FadeTransition.tsx +1 -1
  433. package/ui/transition/HorizontalTransition.d.ts +1 -1
  434. package/ui/transition/HorizontalTransition.js +1 -1
  435. package/ui/transition/HorizontalTransition.md +0 -6
  436. package/ui/transition/HorizontalTransition.tsx +1 -1
  437. package/ui/transition/Transition.d.ts +1 -1
  438. package/ui/transition/Transition.js +1 -1
  439. package/ui/transition/Transition.md +1 -8
  440. package/ui/transition/Transition.tsx +1 -1
  441. package/ui/transition/VerticalTransition.d.ts +1 -1
  442. package/ui/transition/VerticalTransition.js +1 -1
  443. package/ui/transition/VerticalTransition.md +0 -6
  444. package/ui/transition/VerticalTransition.tsx +1 -1
  445. package/ui/transition/util.d.ts +2 -2
  446. package/ui/transition/util.js +1 -1
  447. package/ui/transition/util.tsx +2 -2
  448. package/ui/tree/TreeApp.d.ts +6 -6
  449. package/ui/tree/TreeApp.js +6 -6
  450. package/ui/tree/TreeApp.md +6 -14
  451. package/ui/tree/TreeApp.tsx +6 -6
  452. package/ui/tree/TreeBreadcrumbs.d.ts +3 -3
  453. package/ui/tree/TreeBreadcrumbs.js +3 -3
  454. package/ui/tree/TreeBreadcrumbs.tsx +3 -3
  455. package/ui/tree/TreeButton.d.ts +3 -3
  456. package/ui/tree/TreeButton.js +3 -3
  457. package/ui/tree/TreeButton.tsx +3 -3
  458. package/ui/tree/TreeCard.d.ts +1 -1
  459. package/ui/tree/TreeCard.js +1 -1
  460. package/ui/tree/TreeCard.tsx +1 -1
  461. package/ui/tree/TreeCards.d.ts +1 -1
  462. package/ui/tree/TreeCards.js +1 -1
  463. package/ui/tree/TreeCards.tsx +1 -1
  464. package/ui/tree/TreeContext.d.ts +4 -4
  465. package/ui/tree/TreeContext.js +4 -4
  466. package/ui/tree/TreeContext.tsx +4 -4
  467. package/ui/tree/TreeIndexPage.d.ts +5 -5
  468. package/ui/tree/TreeIndexPage.js +6 -6
  469. package/ui/tree/TreeIndexPage.tsx +6 -6
  470. package/ui/tree/TreeLink.d.ts +7 -8
  471. package/ui/tree/TreeLink.js +5 -5
  472. package/ui/tree/TreeLink.tsx +8 -10
  473. package/ui/tree/TreeMenu.d.ts +5 -5
  474. package/ui/tree/TreeMenu.js +4 -4
  475. package/ui/tree/TreeMenu.md +0 -6
  476. package/ui/tree/TreeMenu.tsx +5 -5
  477. package/ui/tree/TreePage.d.ts +1 -1
  478. package/ui/tree/TreePage.js +1 -1
  479. package/ui/tree/TreePage.tsx +1 -1
  480. package/ui/tree/TreeRouter.d.ts +3 -3
  481. package/ui/tree/TreeRouter.js +3 -3
  482. package/ui/tree/TreeRouter.tsx +4 -4
  483. package/ui/tree/TreeSidebar.d.ts +4 -4
  484. package/ui/tree/TreeSidebar.js +4 -4
  485. package/ui/tree/TreeSidebar.md +0 -5
  486. package/ui/tree/TreeSidebar.tsx +4 -4
  487. package/ui/util/context.d.ts +1 -1
  488. package/ui/util/context.ts +1 -1
  489. package/ui/util/getClass.md +2 -7
  490. package/ui/util/meta.d.ts +4 -4
  491. package/ui/util/meta.js +4 -4
  492. package/ui/util/meta.ts +4 -4
  493. package/ui/util/notice.d.ts +7 -7
  494. package/ui/util/notice.js +7 -7
  495. package/ui/util/notice.ts +7 -7
  496. package/ui/util/notify.md +0 -6
  497. package/ui/util/requireContext.md +1 -6
  498. package/util/ansi.d.ts +2 -2
  499. package/util/ansi.js +2 -2
  500. package/util/array.d.ts +3 -3
  501. package/util/async.d.ts +1 -1
  502. package/util/async.js +1 -1
  503. package/util/bytes.d.ts +1 -1
  504. package/util/bytes.js +1 -1
  505. package/util/color.d.ts +2 -2
  506. package/util/color.js +1 -1
  507. package/util/crypto.d.ts +1 -1
  508. package/util/crypto.js +1 -1
  509. package/util/currency.d.ts +3 -3
  510. package/util/currency.js +3 -3
  511. package/util/data.d.ts +2 -2
  512. package/util/data.js +2 -2
  513. package/util/date.d.ts +5 -5
  514. package/util/date.js +5 -5
  515. package/util/dictionary.d.ts +1 -1
  516. package/util/dictionary.js +1 -1
  517. package/util/diff.d.ts +5 -5
  518. package/util/diff.js +1 -1
  519. package/util/dispose.d.ts +3 -3
  520. package/util/dispose.js +3 -3
  521. package/util/duration.d.ts +10 -10
  522. package/util/duration.js +8 -8
  523. package/util/element.d.ts +6 -6
  524. package/util/element.js +3 -3
  525. package/util/entity.d.ts +5 -5
  526. package/util/entity.js +1 -1
  527. package/util/entry.d.ts +3 -3
  528. package/util/env.d.ts +2 -2
  529. package/util/env.js +2 -2
  530. package/util/equal.d.ts +11 -11
  531. package/util/equal.js +11 -11
  532. package/util/error.d.ts +3 -3
  533. package/util/error.js +3 -3
  534. package/util/file.d.ts +1 -1
  535. package/util/file.js +1 -1
  536. package/util/format.d.ts +6 -6
  537. package/util/format.js +5 -5
  538. package/util/function.d.ts +1 -1
  539. package/util/function.js +1 -1
  540. package/util/geo.d.ts +6 -6
  541. package/util/geo.js +4 -4
  542. package/util/http.d.ts +8 -8
  543. package/util/http.js +8 -8
  544. package/util/hydrate.d.ts +4 -4
  545. package/util/hydrate.js +4 -4
  546. package/util/item.d.ts +2 -2
  547. package/util/item.js +2 -2
  548. package/util/jwt.d.ts +10 -10
  549. package/util/jwt.js +9 -9
  550. package/util/link.d.ts +3 -3
  551. package/util/link.js +3 -3
  552. package/util/map.d.ts +3 -3
  553. package/util/map.js +2 -2
  554. package/util/merge.d.ts +2 -2
  555. package/util/null.d.ts +6 -6
  556. package/util/null.js +6 -6
  557. package/util/number.d.ts +8 -8
  558. package/util/number.js +8 -8
  559. package/util/path.d.ts +3 -3
  560. package/util/path.js +2 -2
  561. package/util/query.d.ts +2 -2
  562. package/util/query.js +2 -2
  563. package/util/regexp.d.ts +4 -4
  564. package/util/regexp.js +2 -2
  565. package/util/sequence.d.ts +1 -1
  566. package/util/sort.d.ts +2 -2
  567. package/util/sort.js +2 -2
  568. package/util/source.d.ts +3 -3
  569. package/util/source.js +3 -3
  570. package/util/start.d.ts +4 -4
  571. package/util/start.js +3 -3
  572. package/util/string.d.ts +5 -5
  573. package/util/string.js +5 -5
  574. package/util/template.d.ts +2 -2
  575. package/util/template.js +2 -2
  576. package/util/tree.d.ts +2 -2
  577. package/util/tree.js +1 -1
  578. package/util/undefined.d.ts +3 -3
  579. package/util/undefined.js +3 -3
  580. package/util/units.d.ts +8 -8
  581. package/util/units.js +8 -8
  582. package/util/update.d.ts +4 -4
  583. package/util/update.js +4 -4
  584. package/util/uri.d.ts +3 -3
  585. package/util/uri.js +2 -2
  586. package/util/url.d.ts +4 -4
  587. package/util/url.js +4 -4
  588. package/util/uuid.d.ts +1 -1
  589. package/util/uuid.js +1 -1
  590. package/util/validate.d.ts +2 -2
  591. package/util/validate.js +1 -1
  592. package/util/xml.d.ts +1 -1
  593. package/util/xml.js +1 -1
  594. package/ui/block/TableCell.d.ts +0 -22
  595. package/ui/block/TableCell.md +0 -35
  596. package/ui/block/TableCell.tsx +0 -26
  597. package/ui/block/TableHeader.d.ts +0 -22
  598. package/ui/block/TableHeader.js +0 -17
  599. package/ui/block/TableHeader.md +0 -43
  600. package/ui/block/TableHeader.tsx +0 -26
  601. /package/ui/{block → table}/Table.d.ts +0 -0
  602. /package/ui/{block → table}/Table.js +0 -0
  603. /package/ui/{block → table}/Table.module.css +0 -0
  604. /package/ui/{block → table}/Table.tsx +0 -0
@@ -3,8 +3,8 @@ import type { Endpoint } from "../endpoint/Endpoint.js";
3
3
  import type { APIProvider } from "../provider/APIProvider.js";
4
4
  import { EndpointCache } from "./EndpointCache.js";
5
5
  /**
6
- * Cache of `EndpointCache` objects keyed by `Endpoint`, providing memoised API results across many endpoints.
7
- * - Use `get(endpoint)` to retrieve or create the `EndpointCache` for a given endpoint, then `get(payload)` on that to get a specific `EndpointStore`.
6
+ * Cache of [`EndpointCache`](/api/EndpointCache) objects keyed by [`Endpoint`](/api/Endpoint), providing memoised API results across many endpoints.
7
+ * - Use `get(endpoint)` to retrieve or create the `EndpointCache` for a given endpoint, then `get(payload)` on that to get a specific [`EndpointStore`](/api/EndpointStore).
8
8
  * - Disposing the cache disposes every nested `EndpointCache` and clears the map.
9
9
  *
10
10
  * @example
@@ -16,13 +16,13 @@ import { EndpointCache } from "./EndpointCache.js";
16
16
  export declare class APICache<P, R> implements AsyncDisposable {
17
17
  private readonly _endpoints;
18
18
  /**
19
- * The underlying `APIProvider` that backs every cached endpoint.
19
+ * The underlying [`APIProvider`](/api/APIProvider) that backs every cached endpoint.
20
20
  *
21
21
  * @see https://dhoulb.github.io/shelving/api/cache/APICache/APICache/provider
22
22
  */
23
23
  readonly provider: APIProvider<P, R>;
24
24
  /**
25
- * Create a new `APICache` backed by an `APIProvider`.
25
+ * Create a new `APICache` backed by an [`APIProvider`](/api/APIProvider).
26
26
  *
27
27
  * @param provider The `APIProvider` used to fetch results for every cached endpoint.
28
28
  * @example new APICache(provider)
@@ -31,7 +31,7 @@ export declare class APICache<P, R> implements AsyncDisposable {
31
31
  constructor(provider: APIProvider<P, R>);
32
32
  private _get;
33
33
  /**
34
- * Get (or create) the `EndpointCache` for the given endpoint.
34
+ * Get (or create) the [`EndpointCache`](/api/EndpointCache) for the given endpoint.
35
35
  *
36
36
  * @param endpoint The endpoint whose `EndpointCache` should be returned.
37
37
  * @returns The existing `EndpointCache` for `endpoint`, or a newly created one.
@@ -43,7 +43,7 @@ export declare class APICache<P, R> implements AsyncDisposable {
43
43
  * Fetch (or return a cached result) for the given endpoint and payload.
44
44
  * - Returns the cached value immediately if one exists.
45
45
  * - Waits for the in-flight fetch if the store is loading.
46
- * - Throws if the fetch fails, matching `APIProvider.call` behaviour.
46
+ * - Throws if the fetch fails, matching [`APIProvider.call`](/api/APIProvider/call) behaviour.
47
47
  *
48
48
  * @param endpoint The endpoint to fetch a result for.
49
49
  * @param payload The payload to send to the endpoint.
@@ -3,8 +3,8 @@ import { awaitDispose } from "../../util/dispose.js";
3
3
  import { setMapItem } from "../../util/map.js";
4
4
  import { EndpointCache } from "./EndpointCache.js";
5
5
  /**
6
- * Cache of `EndpointCache` objects keyed by `Endpoint`, providing memoised API results across many endpoints.
7
- * - Use `get(endpoint)` to retrieve or create the `EndpointCache` for a given endpoint, then `get(payload)` on that to get a specific `EndpointStore`.
6
+ * Cache of [`EndpointCache`](/api/EndpointCache) objects keyed by [`Endpoint`](/api/Endpoint), providing memoised API results across many endpoints.
7
+ * - Use `get(endpoint)` to retrieve or create the `EndpointCache` for a given endpoint, then `get(payload)` on that to get a specific [`EndpointStore`](/api/EndpointStore).
8
8
  * - Disposing the cache disposes every nested `EndpointCache` and clears the map.
9
9
  *
10
10
  * @example
@@ -16,13 +16,13 @@ import { EndpointCache } from "./EndpointCache.js";
16
16
  export class APICache {
17
17
  _endpoints = new Map();
18
18
  /**
19
- * The underlying `APIProvider` that backs every cached endpoint.
19
+ * The underlying [`APIProvider`](/api/APIProvider) that backs every cached endpoint.
20
20
  *
21
21
  * @see https://dhoulb.github.io/shelving/api/cache/APICache/APICache/provider
22
22
  */
23
23
  provider;
24
24
  /**
25
- * Create a new `APICache` backed by an `APIProvider`.
25
+ * Create a new `APICache` backed by an [`APIProvider`](/api/APIProvider).
26
26
  *
27
27
  * @param provider The `APIProvider` used to fetch results for every cached endpoint.
28
28
  * @example new APICache(provider)
@@ -41,7 +41,7 @@ export class APICache {
41
41
  * Fetch (or return a cached result) for the given endpoint and payload.
42
42
  * - Returns the cached value immediately if one exists.
43
43
  * - Waits for the in-flight fetch if the store is loading.
44
- * - Throws if the fetch fails, matching `APIProvider.call` behaviour.
44
+ * - Throws if the fetch fails, matching [`APIProvider.call`](/api/APIProvider/call) behaviour.
45
45
  *
46
46
  * @param endpoint The endpoint to fetch a result for.
47
47
  * @param payload The payload to send to the endpoint.
@@ -3,7 +3,7 @@ import type { Endpoint } from "../endpoint/Endpoint.js";
3
3
  import type { APIProvider } from "../provider/APIProvider.js";
4
4
  import { EndpointStore } from "../store/EndpointStore.js";
5
5
  /**
6
- * Cache of `EndpointStore` objects for a single endpoint, keyed by the rendered request URL of each payload.
6
+ * Cache of [`EndpointStore`](/api/EndpointStore) objects for a single endpoint, keyed by the rendered request URL of each payload.
7
7
  * - Use `get(payload)` to retrieve or create the `EndpointStore` for a given payload.
8
8
  * - Disposing the cache disposes every nested `EndpointStore` and clears the map.
9
9
  *
@@ -22,7 +22,7 @@ export declare class EndpointCache<P = unknown, R = unknown> implements AsyncDis
22
22
  */
23
23
  readonly endpoint: Endpoint<P, R>;
24
24
  /**
25
- * The `APIProvider` used to render URLs and fetch results for this endpoint.
25
+ * The [`APIProvider`](/api/APIProvider) used to render URLs and fetch results for this endpoint.
26
26
  *
27
27
  * @see https://dhoulb.github.io/shelving/api/cache/EndpointCache/EndpointCache/provider
28
28
  */
@@ -31,13 +31,13 @@ export declare class EndpointCache<P = unknown, R = unknown> implements AsyncDis
31
31
  * Create a new `EndpointCache` for a single endpoint and provider.
32
32
  *
33
33
  * @param endpoint The endpoint that every cached store fetches from.
34
- * @param provider The `APIProvider` used to render URLs and fetch results.
34
+ * @param provider The [`APIProvider`](/api/APIProvider) used to render URLs and fetch results.
35
35
  * @example new EndpointCache(getUser, provider)
36
36
  * @see https://dhoulb.github.io/shelving/api/cache/EndpointCache/EndpointCache
37
37
  */
38
38
  constructor(endpoint: Endpoint<P, R>, provider: APIProvider<P, R>);
39
39
  /**
40
- * Get (or create) the `EndpointStore` for the given payload.
40
+ * Get (or create) the [`EndpointStore`](/api/EndpointStore) for the given payload.
41
41
  * - Stores are keyed by the rendered request URL, so equivalent payloads share a store.
42
42
  *
43
43
  * @param payload The payload identifying the store to return.
@@ -51,7 +51,7 @@ export declare class EndpointCache<P = unknown, R = unknown> implements AsyncDis
51
51
  * Fetch (or return a cached result) for the given payload.
52
52
  * - Returns the cached value immediately if one exists.
53
53
  * - Waits for the in-flight fetch if the store is loading.
54
- * - Throws if the fetch fails, matching `APIProvider.call` behaviour.
54
+ * - Throws if the fetch fails, matching [`APIProvider.call`](/api/APIProvider/call) behaviour.
55
55
  *
56
56
  * @param payload The payload to send to the endpoint.
57
57
  * @param maxAge The maximum age in milliseconds (defaults to only refreshing if the value is still in a loading state).
@@ -4,7 +4,7 @@ import { awaitDispose } from "../../util/dispose.js";
4
4
  import { setMapItem } from "../../util/map.js";
5
5
  import { EndpointStore } from "../store/EndpointStore.js";
6
6
  /**
7
- * Cache of `EndpointStore` objects for a single endpoint, keyed by the rendered request URL of each payload.
7
+ * Cache of [`EndpointStore`](/api/EndpointStore) objects for a single endpoint, keyed by the rendered request URL of each payload.
8
8
  * - Use `get(payload)` to retrieve or create the `EndpointStore` for a given payload.
9
9
  * - Disposing the cache disposes every nested `EndpointStore` and clears the map.
10
10
  *
@@ -23,7 +23,7 @@ export class EndpointCache {
23
23
  */
24
24
  endpoint;
25
25
  /**
26
- * The `APIProvider` used to render URLs and fetch results for this endpoint.
26
+ * The [`APIProvider`](/api/APIProvider) used to render URLs and fetch results for this endpoint.
27
27
  *
28
28
  * @see https://dhoulb.github.io/shelving/api/cache/EndpointCache/EndpointCache/provider
29
29
  */
@@ -32,7 +32,7 @@ export class EndpointCache {
32
32
  * Create a new `EndpointCache` for a single endpoint and provider.
33
33
  *
34
34
  * @param endpoint The endpoint that every cached store fetches from.
35
- * @param provider The `APIProvider` used to render URLs and fetch results.
35
+ * @param provider The [`APIProvider`](/api/APIProvider) used to render URLs and fetch results.
36
36
  * @example new EndpointCache(getUser, provider)
37
37
  * @see https://dhoulb.github.io/shelving/api/cache/EndpointCache/EndpointCache
38
38
  */
@@ -41,7 +41,7 @@ export class EndpointCache {
41
41
  this.provider = provider;
42
42
  }
43
43
  /**
44
- * Get (or create) the `EndpointStore` for the given payload.
44
+ * Get (or create) the [`EndpointStore`](/api/EndpointStore) for the given payload.
45
45
  * - Stores are keyed by the rendered request URL, so equivalent payloads share a store.
46
46
  *
47
47
  * @param payload The payload identifying the store to return.
@@ -58,7 +58,7 @@ export class EndpointCache {
58
58
  * Fetch (or return a cached result) for the given payload.
59
59
  * - Returns the cached value immediately if one exists.
60
60
  * - Waits for the in-flight fetch if the store is loading.
61
- * - Throws if the fetch fails, matching `APIProvider.call` behaviour.
61
+ * - Throws if the fetch fails, matching [`APIProvider.call`](/api/APIProvider/call) behaviour.
62
62
  *
63
63
  * @param payload The payload to send to the endpoint.
64
64
  * @param maxAge The maximum age in milliseconds (defaults to only refreshing if the value is still in a loading state).
@@ -13,7 +13,7 @@ import type { EndpointCallback, EndpointHandler } from "./util.js";
13
13
  *
14
14
  * @param method The method of the endpoint, e.g. `GET`
15
15
  * @param path Endpoint path, possibly including placeholders e.g. `/users/{id}`
16
- * @param payload A `Schema` for the payload of the endpoint.
16
+ * @param payload A [`Schema`](/schema/Schema) for the payload of the endpoint.
17
17
  * @param result A `Schema` for the result of the endpoint.
18
18
  *
19
19
  * @example
@@ -41,13 +41,13 @@ export declare class Endpoint<P = unknown, R = unknown> {
41
41
  */
42
42
  readonly placeholders: TemplatePlaceholders;
43
43
  /**
44
- * The `Schema` that request payloads are validated against.
44
+ * The [`Schema`](/schema/Schema) that request payloads are validated against.
45
45
  *
46
46
  * @see https://dhoulb.github.io/shelving/api/endpoint/Endpoint/Endpoint/payload
47
47
  */
48
48
  readonly payload: Schema<P>;
49
49
  /**
50
- * The `Schema` that response results are validated against.
50
+ * The [`Schema`](/schema/Schema) that response results are validated against.
51
51
  *
52
52
  * @see https://dhoulb.github.io/shelving/api/endpoint/Endpoint/Endpoint/result
53
53
  */
@@ -80,7 +80,7 @@ export declare class Endpoint<P = unknown, R = unknown> {
80
80
  * Create an endpoint handler pairing for this endpoint.
81
81
  *
82
82
  * @param callback The callback function that implements the logic for this endpoint by receiving the payload and returning the response.
83
- * @returns An `EndpointHandler` object combining this endpoint and the callback into a single typed object.
83
+ * @returns An [`EndpointHandler`](/api/EndpointHandler) object combining this endpoint and the callback into a single typed object.
84
84
  * @example endpoint.handler((payload, request) => ({ ...payload }))
85
85
  * @see https://dhoulb.github.io/shelving/api/endpoint/Endpoint/Endpoint/handler
86
86
  */
@@ -95,7 +95,7 @@ export declare class Endpoint<P = unknown, R = unknown> {
95
95
  toString(): string;
96
96
  }
97
97
  /**
98
- * An `Endpoint` with any payload and result type, for use where the specific types don't matter.
98
+ * An [`Endpoint`](/api/Endpoint) with any payload and result type, for use where the specific types don't matter.
99
99
  *
100
100
  * @see https://dhoulb.github.io/shelving/api/endpoint/Endpoint/AnyEndpoint
101
101
  */
@@ -107,13 +107,13 @@ export type AnyEndpoint = Endpoint<any, any>;
107
107
  */
108
108
  export type Endpoints = ImmutableArray<AnyEndpoint>;
109
109
  /**
110
- * Extract the payload type from an `Endpoint`.
110
+ * Extract the payload type from an [`Endpoint`](/api/Endpoint).
111
111
  *
112
112
  * @see https://dhoulb.github.io/shelving/api/endpoint/Endpoint/PayloadType
113
113
  */
114
114
  export type PayloadType<X extends Endpoint<unknown, unknown>> = X extends Endpoint<infer Y, unknown> ? Y : never;
115
115
  /**
116
- * Extract the result type from an `Endpoint`.
116
+ * Extract the result type from an [`Endpoint`](/api/Endpoint).
117
117
  *
118
118
  * @see https://dhoulb.github.io/shelving/api/endpoint/Endpoint/EndpointType
119
119
  */
@@ -122,10 +122,10 @@ export type EndpointType<X extends Endpoint<unknown, unknown>> = X extends Endpo
122
122
  * Define a `HEAD` endpoint at a path, with validated payload and result types.
123
123
  * - "The HEAD method requests a representation of the specified resource. Requests using HEAD should only retrieve data and should not contain a request content."
124
124
  *
125
- * *Factory for `Endpoint`.*
125
+ * *Factory for [`Endpoint`](/api/Endpoint).*
126
126
  *
127
127
  * @param path The endpoint path, possibly including `{placeholders}`
128
- * @param payload An optional `Schema` validating the request payload.
128
+ * @param payload An optional [`Schema`](/schema/Schema) validating the request payload.
129
129
  * @param result An optional `Schema` validating the response result.
130
130
  * @returns An `Endpoint` configured for the `HEAD` method.
131
131
  * @example HEAD("/users/{id}")
@@ -138,10 +138,10 @@ export declare function HEAD<R>(path: AbsolutePath, payload: undefined, result:
138
138
  * Define a `GET` endpoint at a path, with validated payload and result types.
139
139
  * - "The GET method requests a representation of the specified resource. Requests using GET should only retrieve data and should not contain a request content."
140
140
  *
141
- * *Factory for `Endpoint`.*
141
+ * *Factory for [`Endpoint`](/api/Endpoint).*
142
142
  *
143
143
  * @param path The endpoint path, possibly including `{placeholders}`
144
- * @param payload An optional `Schema` validating the request payload.
144
+ * @param payload An optional [`Schema`](/schema/Schema) validating the request payload.
145
145
  * @param result An optional `Schema` validating the response result.
146
146
  * @returns An `Endpoint` configured for the `GET` method.
147
147
  * @example GET("/users/{id}", undefined, USER)
@@ -154,10 +154,10 @@ export declare function GET<R>(path: AbsolutePath, payload: undefined, result: S
154
154
  * Define a `POST` endpoint at a path, with validated payload and result types.
155
155
  * - "The POST method submits an entity to the specified resource, often causing a change in state or side effects on the server."
156
156
  *
157
- * *Factory for `Endpoint`.*
157
+ * *Factory for [`Endpoint`](/api/Endpoint).*
158
158
  *
159
159
  * @param path The endpoint path, possibly including `{placeholders}`
160
- * @param payload An optional `Schema` validating the request payload.
160
+ * @param payload An optional [`Schema`](/schema/Schema) validating the request payload.
161
161
  * @param result An optional `Schema` validating the response result.
162
162
  * @returns An `Endpoint` configured for the `POST` method.
163
163
  * @example POST("/users", USER, USER_RESULT)
@@ -170,10 +170,10 @@ export declare function POST<R>(path: AbsolutePath, payload: undefined, result:
170
170
  * Define a `PUT` endpoint at a path, with validated payload and result types.
171
171
  * - "The PUT method replaces all current representations of the target resource with the request content."
172
172
  *
173
- * *Factory for `Endpoint`.*
173
+ * *Factory for [`Endpoint`](/api/Endpoint).*
174
174
  *
175
175
  * @param path The endpoint path, possibly including `{placeholders}`
176
- * @param payload An optional `Schema` validating the request payload.
176
+ * @param payload An optional [`Schema`](/schema/Schema) validating the request payload.
177
177
  * @param result An optional `Schema` validating the response result.
178
178
  * @returns An `Endpoint` configured for the `PUT` method.
179
179
  * @example PUT("/users/{id}", USER)
@@ -186,10 +186,10 @@ export declare function PUT<R>(path: AbsolutePath, payload: undefined, result: S
186
186
  * Define a `PATCH` endpoint at a path, with validated payload and result types.
187
187
  * - "The PATCH method applies partial modifications to a resource."
188
188
  *
189
- * *Factory for `Endpoint`.*
189
+ * *Factory for [`Endpoint`](/api/Endpoint).*
190
190
  *
191
191
  * @param path The endpoint path, possibly including `{placeholders}`
192
- * @param payload An optional `Schema` validating the request payload.
192
+ * @param payload An optional [`Schema`](/schema/Schema) validating the request payload.
193
193
  * @param result An optional `Schema` validating the response result.
194
194
  * @returns An `Endpoint` configured for the `PATCH` method.
195
195
  * @example PATCH("/users/{id}", PARTIAL_USER)
@@ -202,10 +202,10 @@ export declare function PATCH<R>(path: AbsolutePath, payload: undefined, result:
202
202
  * Define a `DELETE` endpoint at a path, with validated payload and result types.
203
203
  * - "The DELETE method deletes the specified resource."
204
204
  *
205
- * *Factory for `Endpoint`.*
205
+ * *Factory for [`Endpoint`](/api/Endpoint).*
206
206
  *
207
207
  * @param path The endpoint path, possibly including `{placeholders}`
208
- * @param payload An optional `Schema` validating the request payload.
208
+ * @param payload An optional [`Schema`](/schema/Schema) validating the request payload.
209
209
  * @param result An optional `Schema` validating the response result.
210
210
  * @returns An `Endpoint` configured for the `DELETE` method.
211
211
  * @example DELETE("/users/{id}")
@@ -9,7 +9,7 @@ import { getPlaceholders, matchPathTemplate, renderPathTemplate } from "../../ut
9
9
  *
10
10
  * @param method The method of the endpoint, e.g. `GET`
11
11
  * @param path Endpoint path, possibly including placeholders e.g. `/users/{id}`
12
- * @param payload A `Schema` for the payload of the endpoint.
12
+ * @param payload A [`Schema`](/schema/Schema) for the payload of the endpoint.
13
13
  * @param result A `Schema` for the result of the endpoint.
14
14
  *
15
15
  * @example
@@ -37,13 +37,13 @@ export class Endpoint {
37
37
  */
38
38
  placeholders;
39
39
  /**
40
- * The `Schema` that request payloads are validated against.
40
+ * The [`Schema`](/schema/Schema) that request payloads are validated against.
41
41
  *
42
42
  * @see https://dhoulb.github.io/shelving/api/endpoint/Endpoint/Endpoint/payload
43
43
  */
44
44
  payload;
45
45
  /**
46
- * The `Schema` that response results are validated against.
46
+ * The [`Schema`](/schema/Schema) that response results are validated against.
47
47
  *
48
48
  * @see https://dhoulb.github.io/shelving/api/endpoint/Endpoint/Endpoint/result
49
49
  */
@@ -94,7 +94,7 @@ export class Endpoint {
94
94
  * Create an endpoint handler pairing for this endpoint.
95
95
  *
96
96
  * @param callback The callback function that implements the logic for this endpoint by receiving the payload and returning the response.
97
- * @returns An `EndpointHandler` object combining this endpoint and the callback into a single typed object.
97
+ * @returns An [`EndpointHandler`](/api/EndpointHandler) object combining this endpoint and the callback into a single typed object.
98
98
  * @example endpoint.handler((payload, request) => ({ ...payload }))
99
99
  * @see https://dhoulb.github.io/shelving/api/endpoint/Endpoint/Endpoint/handler
100
100
  */
@@ -16,7 +16,7 @@ import type { Endpoint } from "./Endpoint.js";
16
16
  export type EndpointCallback<P, R, C = void> = (payload: P, request: Request, context: C) => R | Response | Promise<R | Response>;
17
17
  /**
18
18
  * A typed endpoint definition paired with its implementation callback.
19
- * - Created with `Endpoint.handler()`; matched and invoked by `handleEndpoints()`.
19
+ * - Created with [`.handler()`](/api/Endpoint/handler); matched and invoked by [`handleEndpoints()`](/api/handleEndpoints).
20
20
  *
21
21
  * @see https://dhoulb.github.io/shelving/api/endpoint/util/EndpointHandler
22
22
  */
@@ -25,13 +25,13 @@ export interface EndpointHandler<P, R, C = void> {
25
25
  readonly callback: EndpointCallback<P, R, C>;
26
26
  }
27
27
  /**
28
- * An `EndpointHandler` with any payload and result type, for use where the specific types don't matter.
28
+ * An [`EndpointHandler`](/api/EndpointHandler) with any payload and result type, for use where the specific types don't matter.
29
29
  *
30
30
  * @see https://dhoulb.github.io/shelving/api/endpoint/util/AnyEndpointHandler
31
31
  */
32
32
  export type AnyEndpointHandler<C = any> = EndpointHandler<any, any, C>;
33
33
  /**
34
- * A collection of endpoint handlers that can be matched and invoked by `handleEndpoints()`.
34
+ * A collection of endpoint handlers that can be matched and invoked by [`handleEndpoints()`](/api/handleEndpoints).
35
35
  *
36
36
  * @see https://dhoulb.github.io/shelving/api/endpoint/util/EndpointHandlers
37
37
  */
@@ -43,7 +43,7 @@ export type EndpointHandlers<C = void> = Iterable<AnyEndpointHandler<C>>;
43
43
  *
44
44
  * @param base The base URL for the API, e.g. `https://myapi.com/a/b`
45
45
  * - `pathname` of this URL gets trimmed from `request.path` to form the target path when matching against endpoints, e.g. `/a/b/c/d` will produce `/c/d` for matching.
46
- * @param handlers The iterable of `EndpointHandler` objects to match the request against, in order.
46
+ * @param handlers The iterable of [`EndpointHandler`](/api/EndpointHandler) objects to match the request against, in order.
47
47
  * @param request The input request to handle.
48
48
  * @param context The additional context value passed through to the matched handler's callback.
49
49
  * @param caller The function to attribute thrown errors to (defaults to this function).
@@ -2,7 +2,7 @@ import type { AnyCaller } from "../../util/function.js";
2
2
  import type { RequestOptions } from "../../util/http.js";
3
3
  import type { Endpoint } from "../endpoint/Endpoint.js";
4
4
  /**
5
- * Abstract base for API providers that send requests to a set of `Endpoint` definitions rooted at a common base URL.
5
+ * Abstract base for API providers that send requests to a set of [`Endpoint`](/api/Endpoint) definitions rooted at a common base URL.
6
6
  * - Concrete subclasses implement `renderURL()`, `createRequest()`, `fetch()`, and `parseResponse()`; `call()` orchestrates them.
7
7
  * - Implements `AsyncDisposable` so providers can be wrapped and disposed in a chain.
8
8
  *
@@ -41,7 +41,7 @@ export declare abstract class APIProvider<P = unknown, R = unknown> implements A
41
41
  * - Path `{placeholders}` are rendered from `payload`
42
42
  * - For `GET` and `HEAD`, remaining `payload` fields are appended as `?query` params.
43
43
  * - For all other requests, `payload` is sent as the body.
44
- * @param options The `RequestOptions` to use when creating the `Request`, merged over the provider's own options.
44
+ * @param options The [`RequestOptions`](/util/http/RequestOptions) to use when creating the `Request`, merged over the provider's own options.
45
45
  * @param caller The function to attribute thrown errors to (defaults to this method).
46
46
  * @returns The created `Request`, including any timeout `AbortSignal` configured on the provider.
47
47
  * @throws {RequiredError} if this endpoint's path has `{placeholders}` but `payload` is not a data object.
@@ -61,8 +61,8 @@ export declare abstract class APIProvider<P = unknown, R = unknown> implements A
61
61
  abstract fetch(request: Request): Promise<Response>;
62
62
  /**
63
63
  * Parse an HTTP `Response` for this endpoint into a result value.
64
- * - Non-2xx responses become `ResponseError`.
65
- * - Does not validate the result against the endpoint schema — use `ValidationAPIProvider` for that.
64
+ * - Non-2xx responses become [`ResponseError`](/error/ResponseError).
65
+ * - Does not validate the result against the endpoint schema — use [`ValidationAPIProvider`](/api/ValidationAPIProvider) for that.
66
66
  *
67
67
  * @param _endpoint The endpoint the response was produced for.
68
68
  * @param response The `Response` to parse.
@@ -74,12 +74,12 @@ export declare abstract class APIProvider<P = unknown, R = unknown> implements A
74
74
  */
75
75
  abstract parseResponse<PP extends P, RR extends R>(_endpoint: Endpoint<PP, RR>, response: Response, caller?: AnyCaller): Promise<RR>;
76
76
  /**
77
- * Send a payload to an `Endpoint` and retrieve the parsed result.
77
+ * Send a payload to an [`Endpoint`](/api/Endpoint) and retrieve the parsed result.
78
78
  * - Composes `createRequest()`, `fetch()`, and `parseResponse()` into a single round trip.
79
79
  *
80
80
  * @param endpoint The endpoint to call.
81
81
  * @param payload The payload to send to the endpoint.
82
- * @param options The `RequestOptions` to use, merged over the provider's own options.
82
+ * @param options The [`RequestOptions`](/util/http/RequestOptions) to use, merged over the provider's own options.
83
83
  * @param caller The function to attribute thrown errors to.
84
84
  * @returns A promise resolving to the parsed result.
85
85
  * @throws {ResponseError} if the response status is non-2xx.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Abstract base for API providers that send requests to a set of `Endpoint` definitions rooted at a common base URL.
2
+ * Abstract base for API providers that send requests to a set of [`Endpoint`](/api/Endpoint) definitions rooted at a common base URL.
3
3
  * - Concrete subclasses implement `renderURL()`, `createRequest()`, `fetch()`, and `parseResponse()`; `call()` orchestrates them.
4
4
  * - Implements `AsyncDisposable` so providers can be wrapped and disposed in a chain.
5
5
  *
@@ -11,12 +11,12 @@
11
11
  */
12
12
  export class APIProvider {
13
13
  /**
14
- * Send a payload to an `Endpoint` and retrieve the parsed result.
14
+ * Send a payload to an [`Endpoint`](/api/Endpoint) and retrieve the parsed result.
15
15
  * - Composes `createRequest()`, `fetch()`, and `parseResponse()` into a single round trip.
16
16
  *
17
17
  * @param endpoint The endpoint to call.
18
18
  * @param payload The payload to send to the endpoint.
19
- * @param options The `RequestOptions` to use, merged over the provider's own options.
19
+ * @param options The [`RequestOptions`](/util/http/RequestOptions) to use, merged over the provider's own options.
20
20
  * @param caller The function to attribute thrown errors to.
21
21
  * @returns A promise resolving to the parsed result.
22
22
  * @throws {ResponseError} if the response status is non-2xx.
@@ -4,7 +4,7 @@ import type { Endpoint } from "../endpoint/Endpoint.js";
4
4
  import type { APIProvider } from "./APIProvider.js";
5
5
  import { ThroughAPIProvider } from "./ThroughAPIProvider.js";
6
6
  /**
7
- * API provider wrapper that serves requests through an `APICache` so repeated calls reuse cached results.
7
+ * API provider wrapper that serves requests through an [`APICache`](/api/APICache) so repeated calls reuse cached results.
8
8
  * - On `call(...)`, triggers `cache.refresh(maxAge)` for the endpoint+payload before awaiting `cache.call(...)`.
9
9
  * - `invalidate`, `invalidateAll`, `refresh`, and `refreshAll` pass through to the underlying cache and use `this.maxAge` as the default refresh timing.
10
10
  *
@@ -15,7 +15,7 @@ import { ThroughAPIProvider } from "./ThroughAPIProvider.js";
15
15
  */
16
16
  export declare class CachedAPIProvider<P, R> extends ThroughAPIProvider<P, R> implements AsyncDisposable {
17
17
  /**
18
- * The maximum age used when calling `call()`, defaulting to `AVOID_REFRESH` (only refresh if invalidated or still loading).
18
+ * The maximum age used when calling `call()`, defaulting to [`AVOID_REFRESH`](/store/AVOID_REFRESH) (only refresh if invalidated or still loading).
19
19
  * - Not used for `refresh()` calls, which always refetch immediately.
20
20
  * @see https://dhoulb.github.io/shelving/api/provider/CachedAPIProvider/CachedAPIProvider/maxAge
21
21
  */
@@ -25,7 +25,7 @@ export declare class CachedAPIProvider<P, R> extends ThroughAPIProvider<P, R> im
25
25
  * Create a cached provider wrapping a source provider.
26
26
  *
27
27
  * @param source The source provider whose results are cached.
28
- * @param maxAge Default maximum age in milliseconds for `call()` (defaults to `AVOID_REFRESH`).
28
+ * @param maxAge Default maximum age in milliseconds for `call()` (defaults to [`AVOID_REFRESH`](/store/AVOID_REFRESH)).
29
29
  * @example new CachedAPIProvider(source)
30
30
  */
31
31
  constructor(source: APIProvider<P, R>, maxAge?: number);
@@ -3,7 +3,7 @@ import { awaitDispose } from "../../util/dispose.js";
3
3
  import { APICache } from "../cache/APICache.js";
4
4
  import { ThroughAPIProvider } from "./ThroughAPIProvider.js";
5
5
  /**
6
- * API provider wrapper that serves requests through an `APICache` so repeated calls reuse cached results.
6
+ * API provider wrapper that serves requests through an [`APICache`](/api/APICache) so repeated calls reuse cached results.
7
7
  * - On `call(...)`, triggers `cache.refresh(maxAge)` for the endpoint+payload before awaiting `cache.call(...)`.
8
8
  * - `invalidate`, `invalidateAll`, `refresh`, and `refreshAll` pass through to the underlying cache and use `this.maxAge` as the default refresh timing.
9
9
  *
@@ -14,7 +14,7 @@ import { ThroughAPIProvider } from "./ThroughAPIProvider.js";
14
14
  */
15
15
  export class CachedAPIProvider extends ThroughAPIProvider {
16
16
  /**
17
- * The maximum age used when calling `call()`, defaulting to `AVOID_REFRESH` (only refresh if invalidated or still loading).
17
+ * The maximum age used when calling `call()`, defaulting to [`AVOID_REFRESH`](/store/AVOID_REFRESH) (only refresh if invalidated or still loading).
18
18
  * - Not used for `refresh()` calls, which always refetch immediately.
19
19
  * @see https://dhoulb.github.io/shelving/api/provider/CachedAPIProvider/CachedAPIProvider/maxAge
20
20
  */
@@ -24,7 +24,7 @@ export class CachedAPIProvider extends ThroughAPIProvider {
24
24
  * Create a cached provider wrapping a source provider.
25
25
  *
26
26
  * @param source The source provider whose results are cached.
27
- * @param maxAge Default maximum age in milliseconds for `call()` (defaults to `AVOID_REFRESH`).
27
+ * @param maxAge Default maximum age in milliseconds for `call()` (defaults to [`AVOID_REFRESH`](/store/AVOID_REFRESH)).
28
28
  * @example new CachedAPIProvider(source)
29
29
  */
30
30
  constructor(source, maxAge = AVOID_REFRESH) {
@@ -17,7 +17,7 @@ export interface ClientAPIProviderOptions {
17
17
  * Note: When resolving URLs for endpoints this is treated as if it ends in a slash.
18
18
  * - e.g. in `http://p.com/a/b/c` the path will be relative to `c` as if a `/` trailing slash was present.
19
19
  * - This is different to the default behaviour of `new URL()`, but is the more natural expected result
20
- * - This is consistent with our e.g. `getURL()` utilities.
20
+ * - This is consistent with our e.g. [`getURL()`](/util/url/getURL) utilities.
21
21
  */
22
22
  readonly url: PossibleURL;
23
23
  /**
@@ -36,9 +36,9 @@ export interface ClientAPIProviderOptions {
36
36
  * A client-side API provider that sends requests over the network using `fetch()`.
37
37
  * - Can be used on a server environment to make outgoing API calls, or in a browser environment to call a server API.
38
38
  * - Renders endpoint paths and query params into the URL and sends body payloads as JSON.
39
- * - Parses JSON responses and throws `ResponseError` for non-2xx responses.
39
+ * - Parses JSON responses and throws [`ResponseError`](/error/ResponseError) for non-2xx responses.
40
40
  * - Extendable with custom request-building and response-parsing logic by overriding `createRequest()` and `parseResponse()`.
41
- * - Wrap in `ValidationAPIProvider` to add automatic validation of request payloads and response results against endpoint schemas.
41
+ * - Wrap in [`ValidationAPIProvider`](/api/ValidationAPIProvider) to add automatic validation of request payloads and response results against endpoint schemas.
42
42
  *
43
43
  * @example
44
44
  * const provider = new ClientAPIProvider({ url: "https://api.example.com" });
@@ -93,7 +93,7 @@ export declare class ClientAPIProvider<P = unknown, R = unknown> extends APIProv
93
93
  *
94
94
  * @param endpoint The endpoint the request targets.
95
95
  * @param payload The payload to embed into the `Request`.
96
- * @param options Per-call `RequestOptions` merged over the provider's defaults.
96
+ * @param options Per-call [`RequestOptions`](/util/http/RequestOptions) merged over the provider's defaults.
97
97
  * @param caller The function to attribute thrown errors to (defaults to this method).
98
98
  * @returns The created `Request`.
99
99
  * @throws {RequiredError} if this endpoint's path has `{placeholders}` but `payload` is not a data object.
@@ -118,7 +118,7 @@ export declare class ClientAPIProvider<P = unknown, R = unknown> extends APIProv
118
118
  */
119
119
  fetch(request: Request): Promise<Response>;
120
120
  /**
121
- * Parse a response body into a result, throwing `ResponseError` for non-2xx responses.
121
+ * Parse a response body into a result, throwing [`ResponseError`](/error/ResponseError) for non-2xx responses.
122
122
  *
123
123
  * @param _endpoint The endpoint the response was produced for.
124
124
  * @param response The `Response` to parse.
@@ -10,9 +10,9 @@ import { APIProvider } from "./APIProvider.js";
10
10
  * A client-side API provider that sends requests over the network using `fetch()`.
11
11
  * - Can be used on a server environment to make outgoing API calls, or in a browser environment to call a server API.
12
12
  * - Renders endpoint paths and query params into the URL and sends body payloads as JSON.
13
- * - Parses JSON responses and throws `ResponseError` for non-2xx responses.
13
+ * - Parses JSON responses and throws [`ResponseError`](/error/ResponseError) for non-2xx responses.
14
14
  * - Extendable with custom request-building and response-parsing logic by overriding `createRequest()` and `parseResponse()`.
15
- * - Wrap in `ValidationAPIProvider` to add automatic validation of request payloads and response results against endpoint schemas.
15
+ * - Wrap in [`ValidationAPIProvider`](/api/ValidationAPIProvider) to add automatic validation of request payloads and response results against endpoint schemas.
16
16
  *
17
17
  * @example
18
18
  * const provider = new ClientAPIProvider({ url: "https://api.example.com" });
@@ -87,7 +87,7 @@ export class ClientAPIProvider extends APIProvider {
87
87
  *
88
88
  * @param endpoint The endpoint the request targets.
89
89
  * @param payload The payload to embed into the `Request`.
90
- * @param options Per-call `RequestOptions` merged over the provider's defaults.
90
+ * @param options Per-call [`RequestOptions`](/util/http/RequestOptions) merged over the provider's defaults.
91
91
  * @param caller The function to attribute thrown errors to (defaults to this method).
92
92
  * @returns The created `Request`.
93
93
  * @throws {RequiredError} if this endpoint's path has `{placeholders}` but `payload` is not a data object.
@@ -131,7 +131,7 @@ export class ClientAPIProvider extends APIProvider {
131
131
  return fetch(request);
132
132
  }
133
133
  /**
134
- * Parse a response body into a result, throwing `ResponseError` for non-2xx responses.
134
+ * Parse a response body into a result, throwing [`ResponseError`](/error/ResponseError) for non-2xx responses.
135
135
  *
136
136
  * @param _endpoint The endpoint the response was produced for.
137
137
  * @param response The `Response` to parse.
@@ -17,7 +17,7 @@ export declare class JSONAPIProvider<P = unknown, R = unknown> extends ClientAPI
17
17
  protected _createBodyRequest(method: RequestBodyMethod, url: PossibleURL, payload: P, options: RequestOptions, caller: AnyCaller): Request;
18
18
  /**
19
19
  * Parse a JSON `Response` for an endpoint.
20
- * - Non-2xx responses become `ResponseError`.
20
+ * - Non-2xx responses become [`ResponseError`](/error/ResponseError).
21
21
  * - JSON is parsed even if the server omitted or mis-set the response content type.
22
22
  *
23
23
  * @param _endpoint The endpoint the response was produced for.
@@ -18,7 +18,7 @@ export class JSONAPIProvider extends ClientAPIProvider {
18
18
  }
19
19
  /**
20
20
  * Parse a JSON `Response` for an endpoint.
21
- * - Non-2xx responses become `ResponseError`.
21
+ * - Non-2xx responses become [`ResponseError`](/error/ResponseError).
22
22
  * - JSON is parsed even if the server omitted or mis-set the response content type.
23
23
  *
24
24
  * @param _endpoint The endpoint the response was produced for.
@@ -32,8 +32,8 @@ export type MockAPIResponseCall = {
32
32
  };
33
33
  /**
34
34
  * Provider that records API calls and serves them from a handler without sending network requests.
35
- * - Extends `ThroughAPIProvider` to delegate request building and response parsing to a source `APIProvider`.
36
- * - The source provider's `fetch()` is never called — this provider intercepts all fetches and routes them through a `RequestHandler`.
35
+ * - Extends [`ThroughAPIProvider`](/api/ThroughAPIProvider) to delegate request building and response parsing to a source [`APIProvider`](/api/APIProvider).
36
+ * - The source provider's `fetch()` is never called — this provider intercepts all fetches and routes them through a [`RequestHandler`](/util/http/RequestHandler).
37
37
  * - Records `requestCalls`, `fetchCalls`, and `responseCalls` so tests can assert on what happened.
38
38
  *
39
39
  * @example
@@ -7,8 +7,8 @@ async function _mockHandler(request) {
7
7
  }
8
8
  /**
9
9
  * Provider that records API calls and serves them from a handler without sending network requests.
10
- * - Extends `ThroughAPIProvider` to delegate request building and response parsing to a source `APIProvider`.
11
- * - The source provider's `fetch()` is never called — this provider intercepts all fetches and routes them through a `RequestHandler`.
10
+ * - Extends [`ThroughAPIProvider`](/api/ThroughAPIProvider) to delegate request building and response parsing to a source [`APIProvider`](/api/APIProvider).
11
+ * - The source provider's `fetch()` is never called — this provider intercepts all fetches and routes them through a [`RequestHandler`](/util/http/RequestHandler).
12
12
  * - Records `requestCalls`, `fetchCalls`, and `responseCalls` so tests can assert on what happened.
13
13
  *
14
14
  * @example