shelving 1.254.0 → 1.255.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (864) hide show
  1. package/README.md +1 -1
  2. package/api/cache/APICache.d.ts +9 -9
  3. package/api/cache/APICache.js +8 -8
  4. package/api/cache/EndpointCache.d.ts +10 -10
  5. package/api/cache/EndpointCache.js +10 -10
  6. package/api/endpoint/Endpoint.d.ts +20 -20
  7. package/api/endpoint/Endpoint.js +10 -10
  8. package/api/endpoint/util.d.ts +5 -5
  9. package/api/provider/APIProvider.d.ts +7 -7
  10. package/api/provider/APIProvider.js +2 -2
  11. package/api/provider/CachedAPIProvider.d.ts +7 -7
  12. package/api/provider/CachedAPIProvider.js +7 -7
  13. package/api/provider/ClientAPIProvider.d.ts +10 -10
  14. package/api/provider/ClientAPIProvider.js +9 -9
  15. package/api/provider/DebugAPIProvider.d.ts +4 -4
  16. package/api/provider/DebugAPIProvider.js +4 -4
  17. package/api/provider/JSONAPIProvider.d.ts +2 -2
  18. package/api/provider/JSONAPIProvider.js +2 -2
  19. package/api/provider/LoggingAPIProvider.d.ts +2 -2
  20. package/api/provider/LoggingAPIProvider.js +2 -2
  21. package/api/provider/MockAPIProvider.d.ts +11 -11
  22. package/api/provider/MockAPIProvider.js +8 -8
  23. package/api/provider/MockEndpointAPIProvider.d.ts +1 -1
  24. package/api/provider/MockEndpointAPIProvider.js +1 -1
  25. package/api/provider/ThroughAPIProvider.d.ts +8 -8
  26. package/api/provider/ThroughAPIProvider.js +8 -8
  27. package/api/provider/ValidationAPIProvider.d.ts +3 -3
  28. package/api/provider/ValidationAPIProvider.js +3 -3
  29. package/api/provider/XMLAPIProvider.d.ts +2 -2
  30. package/api/provider/XMLAPIProvider.js +2 -2
  31. package/api/store/EndpointStore.d.ts +3 -3
  32. package/api/store/EndpointStore.js +3 -3
  33. package/bun/BunPostgreSQLProvider.d.ts +4 -4
  34. package/bun/BunPostgreSQLProvider.js +4 -4
  35. package/cloudflare/CloudflareD1Provider.d.ts +3 -3
  36. package/cloudflare/CloudflareD1Provider.js +3 -3
  37. package/cloudflare/CloudflareKVProvider.d.ts +13 -13
  38. package/cloudflare/CloudflareKVProvider.js +13 -13
  39. package/cloudflare/types.d.ts +7 -7
  40. package/db/cache/CollectionCache.d.ts +11 -11
  41. package/db/cache/CollectionCache.js +11 -11
  42. package/db/cache/DBCache.d.ts +11 -11
  43. package/db/cache/DBCache.js +10 -10
  44. package/db/collection/Collection.d.ts +16 -16
  45. package/db/collection/Collection.js +7 -7
  46. package/db/migrate/DBMigrator.d.ts +3 -3
  47. package/db/migrate/DBMigrator.js +2 -2
  48. package/db/migrate/PostgreSQLMigrator.d.ts +1 -1
  49. package/db/migrate/PostgreSQLMigrator.js +1 -1
  50. package/db/migrate/SQLMigrator.d.ts +9 -9
  51. package/db/migrate/SQLMigrator.js +6 -6
  52. package/db/migrate/SQLiteMigrator.d.ts +1 -1
  53. package/db/migrate/SQLiteMigrator.js +1 -1
  54. package/db/provider/CacheDBProvider.d.ts +15 -15
  55. package/db/provider/CacheDBProvider.js +15 -15
  56. package/db/provider/ChangesDBProvider.d.ts +10 -10
  57. package/db/provider/ChangesDBProvider.js +9 -9
  58. package/db/provider/DBProvider.d.ts +16 -16
  59. package/db/provider/DBProvider.js +5 -5
  60. package/db/provider/DebugDBProvider.d.ts +13 -13
  61. package/db/provider/DebugDBProvider.js +13 -13
  62. package/db/provider/MemoryDBProvider.d.ts +31 -31
  63. package/db/provider/MemoryDBProvider.js +31 -31
  64. package/db/provider/MockDBProvider.d.ts +13 -13
  65. package/db/provider/MockDBProvider.js +12 -12
  66. package/db/provider/PostgreSQLProvider.d.ts +4 -4
  67. package/db/provider/PostgreSQLProvider.js +4 -4
  68. package/db/provider/SQLProvider.d.ts +29 -29
  69. package/db/provider/SQLProvider.js +27 -27
  70. package/db/provider/SQLiteProvider.d.ts +5 -5
  71. package/db/provider/SQLiteProvider.js +5 -5
  72. package/db/provider/ThroughDBProvider.d.ts +17 -17
  73. package/db/provider/ThroughDBProvider.js +17 -17
  74. package/db/provider/ValidationDBProvider.d.ts +12 -12
  75. package/db/provider/ValidationDBProvider.js +12 -12
  76. package/db/store/ItemStore.d.ts +5 -5
  77. package/db/store/ItemStore.js +5 -5
  78. package/db/store/QueryStore.d.ts +10 -10
  79. package/db/store/QueryStore.js +10 -10
  80. package/error/BaseError.d.ts +3 -3
  81. package/error/BaseError.js +1 -1
  82. package/error/Errors.d.ts +1 -1
  83. package/error/Errors.js +1 -1
  84. package/error/NetworkError.d.ts +1 -1
  85. package/error/NetworkError.js +1 -1
  86. package/error/RequestError.d.ts +7 -7
  87. package/error/RequestError.js +7 -7
  88. package/error/RequiredError.d.ts +1 -1
  89. package/error/RequiredError.js +1 -1
  90. package/error/ResponseError.d.ts +2 -2
  91. package/error/ResponseError.js +2 -2
  92. package/error/UnexpectedError.d.ts +1 -1
  93. package/error/UnexpectedError.js +1 -1
  94. package/error/UnimplementedError.d.ts +1 -1
  95. package/error/UnimplementedError.js +1 -1
  96. package/error/ValueError.d.ts +1 -1
  97. package/error/ValueError.js +1 -1
  98. package/extract/DirectoryExtractor.d.ts +3 -3
  99. package/extract/DirectoryExtractor.js +2 -2
  100. package/extract/Extractor.d.ts +3 -3
  101. package/extract/Extractor.js +1 -1
  102. package/extract/FileExtractor.d.ts +3 -3
  103. package/extract/FileExtractor.js +3 -3
  104. package/extract/IndexExtractor.d.ts +3 -3
  105. package/extract/IndexExtractor.js +2 -2
  106. package/extract/MarkupExtractor.d.ts +3 -3
  107. package/extract/MarkupExtractor.js +3 -3
  108. package/extract/MergingExtractor.d.ts +3 -3
  109. package/extract/MergingExtractor.js +2 -2
  110. package/extract/ModuleExtractor.d.ts +3 -3
  111. package/extract/ModuleExtractor.js +2 -2
  112. package/extract/PackageExtractor.d.ts +3 -3
  113. package/extract/PackageExtractor.js +2 -2
  114. package/extract/ThroughExtractor.d.ts +4 -4
  115. package/extract/ThroughExtractor.js +4 -4
  116. package/extract/TypescriptExtractor.d.ts +2 -2
  117. package/extract/TypescriptExtractor.js +2 -2
  118. package/firestore/client/FirestoreClientProvider.d.ts +14 -14
  119. package/firestore/client/FirestoreClientProvider.js +14 -14
  120. package/firestore/lite/FirestoreLiteProvider.d.ts +14 -14
  121. package/firestore/lite/FirestoreLiteProvider.js +14 -14
  122. package/firestore/server/FirestoreServerProvider.d.ts +14 -14
  123. package/firestore/server/FirestoreServerProvider.js +14 -14
  124. package/markup/MarkupParser.d.ts +14 -14
  125. package/markup/MarkupParser.js +13 -13
  126. package/markup/MarkupRule.d.ts +4 -4
  127. package/markup/Parser.d.ts +2 -2
  128. package/markup/Parser.js +1 -1
  129. package/markup/rule/blockquote.d.ts +1 -1
  130. package/markup/rule/blockquote.js +1 -1
  131. package/markup/rule/code.d.ts +1 -1
  132. package/markup/rule/code.js +1 -1
  133. package/markup/rule/fenced.d.ts +1 -1
  134. package/markup/rule/fenced.js +1 -1
  135. package/markup/rule/heading.d.ts +1 -1
  136. package/markup/rule/heading.js +1 -1
  137. package/markup/rule/index.d.ts +3 -3
  138. package/markup/rule/index.js +3 -3
  139. package/markup/rule/inline.d.ts +1 -1
  140. package/markup/rule/inline.js +1 -1
  141. package/markup/rule/linebreak.d.ts +1 -1
  142. package/markup/rule/linebreak.js +1 -1
  143. package/markup/rule/link.d.ts +2 -2
  144. package/markup/rule/link.js +2 -2
  145. package/markup/rule/ordered.d.ts +1 -1
  146. package/markup/rule/ordered.js +1 -1
  147. package/markup/rule/paragraph.d.ts +1 -1
  148. package/markup/rule/paragraph.js +1 -1
  149. package/markup/rule/separator.d.ts +1 -1
  150. package/markup/rule/separator.js +1 -1
  151. package/markup/rule/table.d.ts +1 -1
  152. package/markup/rule/table.js +1 -1
  153. package/markup/rule/unordered.d.ts +1 -1
  154. package/markup/rule/unordered.js +1 -1
  155. package/markup/util/regexp.d.ts +14 -14
  156. package/markup/util/regexp.js +11 -11
  157. package/package.json +1 -1
  158. package/react/createAPIContext.d.ts +2 -2
  159. package/react/createAPIContext.js +1 -1
  160. package/react/createDBContext.d.ts +2 -2
  161. package/react/createDBContext.js +1 -1
  162. package/react/useInstance.d.ts +1 -1
  163. package/react/useInstance.js +1 -1
  164. package/react/useLazy.d.ts +1 -1
  165. package/react/useMap.d.ts +1 -1
  166. package/react/useMap.js +1 -1
  167. package/react/useReduce.d.ts +1 -1
  168. package/react/useSequence.d.ts +1 -1
  169. package/react/useSequence.js +1 -1
  170. package/react/useStore.d.ts +1 -1
  171. package/schema/AddressSchema.d.ts +5 -5
  172. package/schema/AddressSchema.js +4 -4
  173. package/schema/ArraySchema.d.ts +5 -5
  174. package/schema/ArraySchema.js +4 -4
  175. package/schema/BooleanSchema.d.ts +5 -5
  176. package/schema/BooleanSchema.js +4 -4
  177. package/schema/ChoiceSchema.d.ts +7 -7
  178. package/schema/ChoiceSchema.js +4 -4
  179. package/schema/ColorSchema.d.ts +5 -5
  180. package/schema/ColorSchema.js +4 -4
  181. package/schema/CountrySchema.d.ts +6 -6
  182. package/schema/CountrySchema.js +5 -5
  183. package/schema/CurrencyAmountSchema.d.ts +14 -14
  184. package/schema/CurrencyAmountSchema.js +12 -12
  185. package/schema/CurrencyCodeSchema.d.ts +8 -8
  186. package/schema/CurrencyCodeSchema.js +7 -7
  187. package/schema/DataSchema.d.ts +10 -10
  188. package/schema/DataSchema.js +8 -8
  189. package/schema/DateSchema.d.ts +8 -8
  190. package/schema/DateSchema.js +6 -6
  191. package/schema/DateTimeSchema.d.ts +5 -5
  192. package/schema/DateTimeSchema.js +5 -5
  193. package/schema/DictionarySchema.d.ts +5 -5
  194. package/schema/DictionarySchema.js +4 -4
  195. package/schema/EmailSchema.d.ts +5 -5
  196. package/schema/EmailSchema.js +4 -4
  197. package/schema/EntitySchema.d.ts +5 -5
  198. package/schema/EntitySchema.js +4 -4
  199. package/schema/FileSchema.d.ts +5 -5
  200. package/schema/FileSchema.js +4 -4
  201. package/schema/KeySchema.d.ts +4 -4
  202. package/schema/KeySchema.js +4 -4
  203. package/schema/NullableSchema.d.ts +5 -5
  204. package/schema/NullableSchema.js +4 -4
  205. package/schema/NumberSchema.d.ts +14 -14
  206. package/schema/NumberSchema.js +13 -13
  207. package/schema/OptionalSchema.d.ts +5 -5
  208. package/schema/OptionalSchema.js +4 -4
  209. package/schema/PasswordSchema.d.ts +3 -3
  210. package/schema/PasswordSchema.js +3 -3
  211. package/schema/PhoneSchema.d.ts +5 -5
  212. package/schema/PhoneSchema.js +4 -4
  213. package/schema/RequiredSchema.d.ts +3 -3
  214. package/schema/RequiredSchema.js +3 -3
  215. package/schema/Schema.d.ts +9 -9
  216. package/schema/Schema.js +5 -5
  217. package/schema/SlugSchema.d.ts +5 -5
  218. package/schema/SlugSchema.js +4 -4
  219. package/schema/StringSchema.d.ts +12 -12
  220. package/schema/StringSchema.js +10 -10
  221. package/schema/ThroughSchema.d.ts +4 -4
  222. package/schema/ThroughSchema.js +3 -3
  223. package/schema/TimeSchema.d.ts +5 -5
  224. package/schema/TimeSchema.js +5 -5
  225. package/schema/URISchema.d.ts +7 -7
  226. package/schema/URISchema.js +6 -6
  227. package/schema/URLSchema.d.ts +7 -7
  228. package/schema/URLSchema.js +6 -6
  229. package/schema/UUIDSchema.d.ts +5 -5
  230. package/schema/UUIDSchema.js +4 -4
  231. package/sequence/DeferredSequence.d.ts +9 -9
  232. package/sequence/DeferredSequence.js +7 -7
  233. package/sequence/InspectSequence.d.ts +9 -9
  234. package/sequence/InspectSequence.js +9 -9
  235. package/sequence/LazySequence.d.ts +4 -4
  236. package/sequence/LazySequence.js +4 -4
  237. package/sequence/Sequence.d.ts +4 -4
  238. package/sequence/Sequence.js +3 -3
  239. package/sequence/ThroughSequence.d.ts +2 -2
  240. package/sequence/ThroughSequence.js +2 -2
  241. package/store/ArrayStore.d.ts +11 -11
  242. package/store/ArrayStore.js +11 -11
  243. package/store/BooleanStore.d.ts +2 -2
  244. package/store/BooleanStore.js +2 -2
  245. package/store/BusyStore.d.ts +2 -2
  246. package/store/BusyStore.js +2 -2
  247. package/store/DataStore.d.ts +15 -15
  248. package/store/DataStore.js +15 -15
  249. package/store/DictionaryStore.d.ts +8 -8
  250. package/store/DictionaryStore.js +8 -8
  251. package/store/FetchStore.d.ts +8 -8
  252. package/store/FetchStore.js +7 -7
  253. package/store/PathStore.d.ts +6 -6
  254. package/store/PathStore.js +6 -6
  255. package/store/PayloadFetchStore.d.ts +3 -3
  256. package/store/PayloadFetchStore.js +2 -2
  257. package/store/Store.d.ts +16 -16
  258. package/store/Store.js +10 -10
  259. package/store/URLStore.d.ts +25 -25
  260. package/store/URLStore.js +25 -25
  261. package/test/basics.d.ts +14 -14
  262. package/test/basics.js +12 -12
  263. package/test/people.d.ts +9 -9
  264. package/test/people.js +7 -7
  265. package/test/util.d.ts +3 -3
  266. package/test/util.js +3 -3
  267. package/ui/README.md +1 -1
  268. package/ui/app/App.d.ts +2 -2
  269. package/ui/app/App.js +1 -1
  270. package/ui/app/App.tsx +2 -2
  271. package/ui/block/Address.d.ts +6 -6
  272. package/ui/block/Address.js +3 -3
  273. package/ui/block/Address.tsx +6 -6
  274. package/ui/block/Block.d.ts +6 -5
  275. package/ui/block/Block.js +4 -3
  276. package/ui/block/Block.module.css +1 -0
  277. package/ui/block/Block.tsx +7 -5
  278. package/ui/block/Blockquote.d.ts +2 -2
  279. package/ui/block/Blockquote.js +1 -1
  280. package/ui/block/Blockquote.tsx +2 -2
  281. package/ui/block/Caption.d.ts +2 -2
  282. package/ui/block/Caption.js +1 -1
  283. package/ui/block/Caption.tsx +2 -2
  284. package/ui/block/Card.d.ts +2 -2
  285. package/ui/block/Card.js +1 -1
  286. package/ui/block/Card.module.css +1 -0
  287. package/ui/block/Card.tsx +2 -2
  288. package/ui/block/Definitions.d.ts +2 -2
  289. package/ui/block/Definitions.js +1 -1
  290. package/ui/block/Definitions.tsx +2 -2
  291. package/ui/block/Divider.d.ts +2 -2
  292. package/ui/block/Divider.js +1 -1
  293. package/ui/block/Divider.tsx +2 -2
  294. package/ui/block/Heading.d.ts +2 -2
  295. package/ui/block/Heading.js +1 -1
  296. package/ui/block/Heading.tsx +2 -2
  297. package/ui/block/Image.d.ts +2 -2
  298. package/ui/block/Image.js +1 -1
  299. package/ui/block/Image.tsx +2 -2
  300. package/ui/block/Label.d.ts +2 -2
  301. package/ui/block/Label.js +1 -1
  302. package/ui/block/Label.tsx +2 -2
  303. package/ui/block/List.d.ts +2 -2
  304. package/ui/block/List.js +1 -1
  305. package/ui/block/List.tsx +2 -2
  306. package/ui/block/Panel.d.ts +4 -3
  307. package/ui/block/Panel.js +3 -2
  308. package/ui/block/Panel.md +4 -2
  309. package/ui/block/Panel.module.css +7 -1
  310. package/ui/block/Panel.tsx +5 -3
  311. package/ui/block/Paragraph.d.ts +3 -3
  312. package/ui/block/Paragraph.js +2 -2
  313. package/ui/block/Paragraph.tsx +3 -3
  314. package/ui/block/Preformatted.d.ts +2 -2
  315. package/ui/block/Preformatted.js +1 -1
  316. package/ui/block/Preformatted.tsx +2 -2
  317. package/ui/block/Prose.d.ts +2 -2
  318. package/ui/block/Prose.js +1 -1
  319. package/ui/block/Prose.tsx +2 -2
  320. package/ui/block/Section.d.ts +9 -8
  321. package/ui/block/Section.js +8 -7
  322. package/ui/block/Section.md +3 -4
  323. package/ui/block/Section.module.css +3 -7
  324. package/ui/block/Section.tsx +10 -8
  325. package/ui/block/Subheading.d.ts +2 -2
  326. package/ui/block/Subheading.js +1 -1
  327. package/ui/block/Subheading.tsx +2 -2
  328. package/ui/block/Title.d.ts +2 -2
  329. package/ui/block/Title.js +1 -1
  330. package/ui/block/Title.tsx +2 -2
  331. package/ui/block/Video.d.ts +8 -8
  332. package/ui/block/Video.js +4 -4
  333. package/ui/block/Video.tsx +8 -8
  334. package/ui/dialog/Dialog.d.ts +4 -4
  335. package/ui/dialog/Dialog.js +2 -2
  336. package/ui/dialog/Dialog.tsx +4 -4
  337. package/ui/dialog/Dialogs.d.ts +8 -8
  338. package/ui/dialog/Dialogs.js +6 -6
  339. package/ui/dialog/Dialogs.tsx +8 -8
  340. package/ui/dialog/Modal.d.ts +2 -2
  341. package/ui/dialog/Modal.js +1 -1
  342. package/ui/dialog/Modal.tsx +2 -2
  343. package/ui/docs/DocumentationButtons.d.ts +1 -1
  344. package/ui/docs/DocumentationButtons.tsx +1 -1
  345. package/ui/docs/DocumentationCard.d.ts +1 -1
  346. package/ui/docs/DocumentationCard.js +1 -1
  347. package/ui/docs/DocumentationCard.tsx +1 -1
  348. package/ui/docs/DocumentationDescription.d.ts +2 -2
  349. package/ui/docs/DocumentationDescription.js +1 -1
  350. package/ui/docs/DocumentationDescription.tsx +2 -2
  351. package/ui/docs/DocumentationHomePage.d.ts +1 -1
  352. package/ui/docs/DocumentationHomePage.js +2 -2
  353. package/ui/docs/DocumentationHomePage.tsx +11 -9
  354. package/ui/docs/DocumentationKind.d.ts +3 -3
  355. package/ui/docs/DocumentationKind.js +2 -2
  356. package/ui/docs/DocumentationKind.tsx +3 -3
  357. package/ui/docs/DocumentationPage.d.ts +1 -1
  358. package/ui/docs/DocumentationPage.js +2 -2
  359. package/ui/docs/DocumentationPage.tsx +29 -27
  360. package/ui/docs/DocumentationParams.d.ts +2 -2
  361. package/ui/docs/DocumentationParams.js +1 -1
  362. package/ui/docs/DocumentationParams.tsx +2 -2
  363. package/ui/docs/DocumentationProperties.d.ts +2 -2
  364. package/ui/docs/DocumentationProperties.js +1 -1
  365. package/ui/docs/DocumentationProperties.tsx +2 -2
  366. package/ui/docs/DocumentationReferences.d.ts +2 -2
  367. package/ui/docs/DocumentationReferences.js +1 -1
  368. package/ui/docs/DocumentationReferences.tsx +2 -2
  369. package/ui/docs/DocumentationReturns.d.ts +2 -2
  370. package/ui/docs/DocumentationReturns.js +1 -1
  371. package/ui/docs/DocumentationReturns.tsx +2 -2
  372. package/ui/docs/DocumentationSignatures.d.ts +2 -2
  373. package/ui/docs/DocumentationSignatures.js +1 -1
  374. package/ui/docs/DocumentationSignatures.tsx +2 -2
  375. package/ui/docs/DocumentationThrows.d.ts +2 -2
  376. package/ui/docs/DocumentationThrows.js +1 -1
  377. package/ui/docs/DocumentationThrows.tsx +2 -2
  378. package/ui/docs/DocumentationType.d.ts +3 -3
  379. package/ui/docs/DocumentationType.js +2 -2
  380. package/ui/docs/DocumentationType.tsx +3 -3
  381. package/ui/form/ArrayInput.d.ts +2 -2
  382. package/ui/form/ArrayInput.tsx +2 -2
  383. package/ui/form/ArrayRadioInputs.d.ts +2 -2
  384. package/ui/form/ArrayRadioInputs.js +1 -1
  385. package/ui/form/ArrayRadioInputs.tsx +2 -2
  386. package/ui/form/Button.d.ts +3 -3
  387. package/ui/form/Button.js +2 -2
  388. package/ui/form/Button.module.css +1 -0
  389. package/ui/form/Button.tsx +3 -3
  390. package/ui/form/ButtonInput.d.ts +2 -2
  391. package/ui/form/ButtonInput.js +1 -1
  392. package/ui/form/ButtonInput.tsx +2 -2
  393. package/ui/form/ButtonInputPopover.d.ts +2 -2
  394. package/ui/form/ButtonInputPopover.js +1 -1
  395. package/ui/form/ButtonInputPopover.tsx +2 -2
  396. package/ui/form/ButtonPopover.d.ts +2 -2
  397. package/ui/form/ButtonPopover.js +1 -1
  398. package/ui/form/ButtonPopover.tsx +2 -2
  399. package/ui/form/CheckboxInput.d.ts +2 -2
  400. package/ui/form/CheckboxInput.js +1 -1
  401. package/ui/form/CheckboxInput.tsx +2 -2
  402. package/ui/form/ChoiceRadioInputs.d.ts +2 -2
  403. package/ui/form/ChoiceRadioInputs.tsx +2 -2
  404. package/ui/form/Clickable.d.ts +7 -7
  405. package/ui/form/Clickable.js +4 -4
  406. package/ui/form/Clickable.tsx +7 -7
  407. package/ui/form/DataInput.d.ts +2 -2
  408. package/ui/form/DataInput.tsx +2 -2
  409. package/ui/form/DateInput.d.ts +2 -2
  410. package/ui/form/DateInput.js +1 -1
  411. package/ui/form/DateInput.tsx +2 -2
  412. package/ui/form/DictionaryInput.d.ts +2 -2
  413. package/ui/form/DictionaryInput.tsx +2 -2
  414. package/ui/form/Field.d.ts +2 -2
  415. package/ui/form/Field.js +1 -1
  416. package/ui/form/Field.tsx +2 -2
  417. package/ui/form/FileInput.d.ts +2 -2
  418. package/ui/form/FileInput.js +1 -1
  419. package/ui/form/FileInput.tsx +2 -2
  420. package/ui/form/Form.d.ts +8 -7
  421. package/ui/form/Form.js +10 -7
  422. package/ui/form/Form.md +1 -1
  423. package/ui/form/Form.module.css +4 -0
  424. package/ui/form/Form.tsx +16 -11
  425. package/ui/form/FormContext.d.ts +3 -3
  426. package/ui/form/FormContext.js +1 -1
  427. package/ui/form/FormContext.tsx +3 -3
  428. package/ui/form/FormFields.d.ts +2 -2
  429. package/ui/form/FormFields.js +2 -2
  430. package/ui/form/FormFields.tsx +2 -2
  431. package/ui/form/FormFooter.d.ts +2 -2
  432. package/ui/form/FormFooter.js +1 -1
  433. package/ui/form/FormFooter.tsx +2 -2
  434. package/ui/form/FormInput.d.ts +3 -3
  435. package/ui/form/FormInput.js +2 -2
  436. package/ui/form/FormInput.tsx +3 -3
  437. package/ui/form/FormMessage.d.ts +1 -1
  438. package/ui/form/FormMessage.js +1 -1
  439. package/ui/form/FormMessage.tsx +1 -1
  440. package/ui/form/FormNotice.d.ts +1 -1
  441. package/ui/form/FormNotice.js +1 -1
  442. package/ui/form/FormNotice.tsx +1 -1
  443. package/ui/form/FormNotify.d.ts +1 -1
  444. package/ui/form/FormNotify.js +1 -1
  445. package/ui/form/FormNotify.tsx +1 -1
  446. package/ui/form/FormStore.d.ts +6 -6
  447. package/ui/form/FormStore.js +6 -6
  448. package/ui/form/FormStore.tsx +6 -6
  449. package/ui/form/Input.d.ts +3 -3
  450. package/ui/form/Input.js +1 -1
  451. package/ui/form/Input.tsx +3 -3
  452. package/ui/form/NumberInput.d.ts +2 -2
  453. package/ui/form/NumberInput.js +1 -1
  454. package/ui/form/NumberInput.tsx +2 -2
  455. package/ui/form/OutputInput.d.ts +2 -2
  456. package/ui/form/OutputInput.js +1 -1
  457. package/ui/form/OutputInput.tsx +2 -2
  458. package/ui/form/Popover.d.ts +3 -3
  459. package/ui/form/Popover.js +1 -1
  460. package/ui/form/Popover.tsx +3 -3
  461. package/ui/form/Progress.d.ts +4 -4
  462. package/ui/form/Progress.js +2 -2
  463. package/ui/form/Progress.tsx +4 -4
  464. package/ui/form/QueryInput.d.ts +2 -2
  465. package/ui/form/QueryInput.js +1 -1
  466. package/ui/form/QueryInput.tsx +2 -2
  467. package/ui/form/RadioInput.d.ts +2 -2
  468. package/ui/form/RadioInput.js +1 -1
  469. package/ui/form/RadioInput.tsx +2 -2
  470. package/ui/form/SchemaInput.d.ts +21 -21
  471. package/ui/form/SchemaInput.js +10 -10
  472. package/ui/form/SchemaInput.tsx +21 -21
  473. package/ui/form/SelectInput.d.ts +2 -2
  474. package/ui/form/SelectInput.tsx +2 -2
  475. package/ui/form/SubmitButton.d.ts +2 -2
  476. package/ui/form/SubmitButton.js +1 -1
  477. package/ui/form/SubmitButton.tsx +2 -2
  478. package/ui/form/TextInput.d.ts +2 -2
  479. package/ui/form/TextInput.js +1 -1
  480. package/ui/form/TextInput.tsx +2 -2
  481. package/ui/inline/Code.d.ts +2 -2
  482. package/ui/inline/Code.js +1 -1
  483. package/ui/inline/Code.tsx +2 -2
  484. package/ui/inline/Deleted.d.ts +2 -2
  485. package/ui/inline/Deleted.js +1 -1
  486. package/ui/inline/Deleted.tsx +2 -2
  487. package/ui/inline/Emphasis.d.ts +2 -2
  488. package/ui/inline/Emphasis.js +1 -1
  489. package/ui/inline/Emphasis.tsx +2 -2
  490. package/ui/inline/Inserted.d.ts +2 -2
  491. package/ui/inline/Inserted.js +1 -1
  492. package/ui/inline/Inserted.tsx +2 -2
  493. package/ui/inline/Link.d.ts +2 -2
  494. package/ui/inline/Link.js +1 -1
  495. package/ui/inline/Link.tsx +2 -2
  496. package/ui/inline/Mark.d.ts +2 -2
  497. package/ui/inline/Mark.js +1 -1
  498. package/ui/inline/Mark.tsx +2 -2
  499. package/ui/inline/Small.d.ts +2 -2
  500. package/ui/inline/Small.js +1 -1
  501. package/ui/inline/Small.tsx +2 -2
  502. package/ui/inline/Strong.d.ts +2 -2
  503. package/ui/inline/Strong.js +1 -1
  504. package/ui/inline/Strong.tsx +2 -2
  505. package/ui/inline/Subscript.d.ts +2 -2
  506. package/ui/inline/Subscript.js +1 -1
  507. package/ui/inline/Subscript.tsx +2 -2
  508. package/ui/inline/Superscript.d.ts +2 -2
  509. package/ui/inline/Superscript.js +1 -1
  510. package/ui/inline/Superscript.tsx +2 -2
  511. package/ui/inline/When.d.ts +6 -6
  512. package/ui/inline/When.js +3 -3
  513. package/ui/inline/When.tsx +6 -6
  514. package/ui/layout/CenteredLayout.d.ts +2 -2
  515. package/ui/layout/CenteredLayout.js +1 -1
  516. package/ui/layout/CenteredLayout.tsx +2 -2
  517. package/ui/layout/Layout.d.ts +1 -1
  518. package/ui/layout/Layout.js +1 -1
  519. package/ui/layout/Layout.ts +1 -1
  520. package/ui/layout/SidebarLayout.d.ts +2 -2
  521. package/ui/layout/SidebarLayout.js +1 -1
  522. package/ui/layout/SidebarLayout.tsx +2 -2
  523. package/ui/menu/Menu.d.ts +4 -4
  524. package/ui/menu/Menu.js +2 -2
  525. package/ui/menu/Menu.tsx +4 -4
  526. package/ui/misc/Catcher.d.ts +11 -11
  527. package/ui/misc/Catcher.js +5 -5
  528. package/ui/misc/Catcher.tsx +11 -11
  529. package/ui/misc/Icon.d.ts +4 -4
  530. package/ui/misc/Icon.js +2 -2
  531. package/ui/misc/Icon.tsx +4 -4
  532. package/ui/misc/Loading.d.ts +3 -3
  533. package/ui/misc/Loading.js +2 -2
  534. package/ui/misc/Loading.tsx +3 -3
  535. package/ui/misc/Mapper.d.ts +4 -4
  536. package/ui/misc/Mapper.js +1 -1
  537. package/ui/misc/Mapper.tsx +4 -4
  538. package/ui/misc/Markup.d.ts +2 -2
  539. package/ui/misc/Markup.js +1 -1
  540. package/ui/misc/Markup.tsx +2 -2
  541. package/ui/misc/MetaContext.d.ts +4 -4
  542. package/ui/misc/MetaContext.js +3 -3
  543. package/ui/misc/MetaContext.tsx +4 -4
  544. package/ui/misc/Tag.d.ts +4 -4
  545. package/ui/misc/Tag.js +2 -2
  546. package/ui/misc/Tag.tsx +4 -4
  547. package/ui/notice/Message.d.ts +3 -3
  548. package/ui/notice/Message.js +2 -2
  549. package/ui/notice/Message.tsx +3 -3
  550. package/ui/notice/Notice.d.ts +3 -3
  551. package/ui/notice/Notice.js +2 -2
  552. package/ui/notice/Notice.tsx +3 -3
  553. package/ui/notice/NoticeStore.d.ts +3 -3
  554. package/ui/notice/NoticeStore.js +3 -3
  555. package/ui/notice/NoticeStore.ts +3 -3
  556. package/ui/notice/Notices.d.ts +2 -2
  557. package/ui/notice/Notices.js +1 -1
  558. package/ui/notice/Notices.tsx +2 -2
  559. package/ui/notice/NoticesStore.d.ts +3 -3
  560. package/ui/notice/NoticesStore.js +3 -3
  561. package/ui/notice/NoticesStore.ts +3 -3
  562. package/ui/page/HTML.d.ts +2 -2
  563. package/ui/page/HTML.js +1 -1
  564. package/ui/page/HTML.tsx +2 -2
  565. package/ui/page/Head.d.ts +1 -1
  566. package/ui/page/Head.js +1 -1
  567. package/ui/page/Head.tsx +1 -1
  568. package/ui/page/Page.d.ts +2 -2
  569. package/ui/page/Page.js +1 -1
  570. package/ui/page/Page.tsx +2 -2
  571. package/ui/router/Navigation.d.ts +2 -2
  572. package/ui/router/Navigation.js +1 -1
  573. package/ui/router/Navigation.tsx +2 -2
  574. package/ui/router/NavigationContext.d.ts +2 -2
  575. package/ui/router/NavigationContext.js +2 -2
  576. package/ui/router/NavigationContext.tsx +2 -2
  577. package/ui/router/NavigationStore.d.ts +3 -3
  578. package/ui/router/NavigationStore.js +3 -3
  579. package/ui/router/NavigationStore.tsx +3 -3
  580. package/ui/router/RouteCache.d.ts +2 -2
  581. package/ui/router/RouteCache.js +1 -1
  582. package/ui/router/RouteCache.tsx +2 -2
  583. package/ui/router/Router.d.ts +2 -2
  584. package/ui/router/Router.js +1 -1
  585. package/ui/router/Router.tsx +2 -2
  586. package/ui/router/Routes.d.ts +4 -4
  587. package/ui/router/Routes.tsx +4 -4
  588. package/ui/style/Color.d.ts +3 -3
  589. package/ui/style/Color.js +1 -1
  590. package/ui/style/Color.tsx +3 -3
  591. package/ui/style/Duration.d.ts +3 -3
  592. package/ui/style/Duration.js +1 -1
  593. package/ui/style/Duration.tsx +3 -3
  594. package/ui/style/Flex.d.ts +6 -6
  595. package/ui/style/Flex.js +3 -3
  596. package/ui/style/Flex.tsx +6 -6
  597. package/ui/style/Gap.d.ts +3 -3
  598. package/ui/style/Gap.js +1 -1
  599. package/ui/style/Gap.tsx +3 -3
  600. package/ui/style/Indent.d.ts +24 -0
  601. package/ui/style/Indent.js +13 -0
  602. package/ui/style/Indent.module.css +62 -0
  603. package/ui/style/Indent.tsx +49 -0
  604. package/ui/style/Padding.d.ts +3 -3
  605. package/ui/style/Padding.js +1 -1
  606. package/ui/style/Padding.tsx +3 -3
  607. package/ui/style/Radius.d.ts +3 -3
  608. package/ui/style/Radius.js +1 -1
  609. package/ui/style/Radius.tsx +3 -3
  610. package/ui/style/Scroll.d.ts +4 -4
  611. package/ui/style/Scroll.js +2 -2
  612. package/ui/style/Scroll.tsx +4 -4
  613. package/ui/style/Shadow.d.ts +3 -3
  614. package/ui/style/Shadow.js +1 -1
  615. package/ui/style/Shadow.tsx +3 -3
  616. package/ui/style/Space.d.ts +3 -3
  617. package/ui/style/Space.js +1 -1
  618. package/ui/style/Space.tsx +3 -3
  619. package/ui/style/Status.d.ts +4 -4
  620. package/ui/style/Status.js +2 -2
  621. package/ui/style/Status.tsx +4 -4
  622. package/ui/style/Stroke.d.ts +3 -3
  623. package/ui/style/Stroke.js +1 -1
  624. package/ui/style/Stroke.tsx +3 -3
  625. package/ui/style/Tint.d.ts +2 -2
  626. package/ui/style/Tint.js +1 -1
  627. package/ui/style/Tint.tsx +2 -2
  628. package/ui/style/Typography.d.ts +6 -6
  629. package/ui/style/Typography.js +1 -1
  630. package/ui/style/Typography.tsx +6 -6
  631. package/ui/style/Width.d.ts +3 -3
  632. package/ui/style/Width.js +1 -1
  633. package/ui/style/Width.tsx +3 -3
  634. package/ui/style/getSpaceClass.md +2 -2
  635. package/ui/style/index.d.ts +1 -0
  636. package/ui/style/index.js +1 -0
  637. package/ui/style/index.tsx +1 -0
  638. package/ui/table/Cell.d.ts +2 -2
  639. package/ui/table/Cell.js +1 -1
  640. package/ui/table/Cell.tsx +2 -2
  641. package/ui/table/Table.d.ts +2 -2
  642. package/ui/table/Table.js +1 -1
  643. package/ui/table/Table.tsx +2 -2
  644. package/ui/transition/CollapseTransition.d.ts +2 -2
  645. package/ui/transition/CollapseTransition.js +1 -1
  646. package/ui/transition/CollapseTransition.tsx +2 -2
  647. package/ui/transition/FadeTransition.d.ts +2 -2
  648. package/ui/transition/FadeTransition.js +1 -1
  649. package/ui/transition/FadeTransition.tsx +2 -2
  650. package/ui/transition/HorizontalTransition.d.ts +2 -2
  651. package/ui/transition/HorizontalTransition.js +1 -1
  652. package/ui/transition/HorizontalTransition.tsx +2 -2
  653. package/ui/transition/Transition.d.ts +2 -2
  654. package/ui/transition/Transition.js +1 -1
  655. package/ui/transition/Transition.tsx +2 -2
  656. package/ui/transition/VerticalTransition.d.ts +2 -2
  657. package/ui/transition/VerticalTransition.js +1 -1
  658. package/ui/transition/VerticalTransition.tsx +2 -2
  659. package/ui/transition/util.d.ts +3 -3
  660. package/ui/transition/util.js +1 -1
  661. package/ui/transition/util.tsx +3 -3
  662. package/ui/tree/TreeApp.d.ts +2 -2
  663. package/ui/tree/TreeApp.js +1 -1
  664. package/ui/tree/TreeApp.tsx +2 -2
  665. package/ui/tree/TreeBreadcrumbs.d.ts +2 -2
  666. package/ui/tree/TreeBreadcrumbs.js +1 -1
  667. package/ui/tree/TreeBreadcrumbs.tsx +2 -2
  668. package/ui/tree/TreeButton.d.ts +2 -2
  669. package/ui/tree/TreeButton.js +1 -1
  670. package/ui/tree/TreeButton.tsx +2 -2
  671. package/ui/tree/TreeCard.d.ts +1 -1
  672. package/ui/tree/TreeCard.js +1 -1
  673. package/ui/tree/TreeCard.tsx +1 -1
  674. package/ui/tree/TreeCards.d.ts +3 -3
  675. package/ui/tree/TreeCards.js +2 -2
  676. package/ui/tree/TreeCards.tsx +3 -3
  677. package/ui/tree/TreeContext.d.ts +4 -4
  678. package/ui/tree/TreeContext.js +4 -4
  679. package/ui/tree/TreeContext.tsx +4 -4
  680. package/ui/tree/TreeIndexPage.d.ts +1 -1
  681. package/ui/tree/TreeIndexPage.js +3 -2
  682. package/ui/tree/TreeIndexPage.tsx +28 -25
  683. package/ui/tree/TreeLink.d.ts +2 -2
  684. package/ui/tree/TreeLink.js +1 -1
  685. package/ui/tree/TreeLink.tsx +2 -2
  686. package/ui/tree/TreeMarkup.d.ts +3 -3
  687. package/ui/tree/TreeMarkup.js +3 -3
  688. package/ui/tree/TreeMarkup.tsx +3 -3
  689. package/ui/tree/TreeMenu.d.ts +5 -5
  690. package/ui/tree/TreeMenu.js +4 -4
  691. package/ui/tree/TreeMenu.tsx +5 -5
  692. package/ui/tree/TreePage.d.ts +1 -1
  693. package/ui/tree/TreePage.js +3 -2
  694. package/ui/tree/TreePage.tsx +17 -14
  695. package/ui/tree/TreeRouter.d.ts +3 -3
  696. package/ui/tree/TreeRouter.js +2 -2
  697. package/ui/tree/TreeRouter.tsx +3 -3
  698. package/ui/tree/TreeSidebar.d.ts +2 -2
  699. package/ui/tree/TreeSidebar.js +1 -1
  700. package/ui/tree/TreeSidebar.tsx +2 -2
  701. package/ui/util/context.d.ts +1 -1
  702. package/ui/util/context.ts +1 -1
  703. package/ui/util/css.d.ts +5 -5
  704. package/ui/util/css.js +2 -2
  705. package/ui/util/css.ts +5 -5
  706. package/ui/util/event.d.ts +1 -1
  707. package/ui/util/event.js +1 -1
  708. package/ui/util/event.ts +1 -1
  709. package/ui/util/focus.d.ts +3 -3
  710. package/ui/util/focus.js +3 -3
  711. package/ui/util/focus.ts +3 -3
  712. package/ui/util/meta.d.ts +16 -16
  713. package/ui/util/meta.js +8 -8
  714. package/ui/util/meta.ts +16 -16
  715. package/ui/util/notice.d.ts +10 -10
  716. package/ui/util/notice.js +9 -9
  717. package/ui/util/notice.ts +10 -10
  718. package/ui/util/props.d.ts +2 -2
  719. package/ui/util/props.ts +2 -2
  720. package/ui/util/refresh.d.ts +1 -1
  721. package/ui/util/refresh.js +1 -1
  722. package/ui/util/refresh.ts +1 -1
  723. package/ui/util/scroll.d.ts +2 -2
  724. package/ui/util/scroll.js +2 -2
  725. package/ui/util/scroll.ts +2 -2
  726. package/ui/util/state.d.ts +2 -2
  727. package/ui/util/state.js +2 -2
  728. package/ui/util/state.ts +2 -2
  729. package/util/ansi.d.ts +24 -24
  730. package/util/ansi.js +23 -23
  731. package/util/array.d.ts +37 -37
  732. package/util/array.js +29 -29
  733. package/util/async.d.ts +15 -15
  734. package/util/async.js +13 -13
  735. package/util/base64.d.ts +6 -6
  736. package/util/base64.js +6 -6
  737. package/util/boolean.d.ts +10 -10
  738. package/util/boolean.js +10 -10
  739. package/util/buffer.d.ts +4 -4
  740. package/util/buffer.js +3 -3
  741. package/util/bytes.d.ts +6 -6
  742. package/util/bytes.js +4 -4
  743. package/util/class.d.ts +8 -8
  744. package/util/class.js +5 -5
  745. package/util/color.d.ts +21 -21
  746. package/util/color.js +20 -20
  747. package/util/constants.d.ts +26 -26
  748. package/util/constants.js +26 -26
  749. package/util/crypto.d.ts +3 -3
  750. package/util/crypto.js +3 -3
  751. package/util/currency.d.ts +6 -6
  752. package/util/currency.js +5 -5
  753. package/util/data.d.ts +26 -26
  754. package/util/data.js +4 -4
  755. package/util/date.d.ts +19 -19
  756. package/util/date.js +18 -18
  757. package/util/debug.d.ts +12 -12
  758. package/util/debug.js +12 -12
  759. package/util/dictionary.d.ts +24 -24
  760. package/util/dictionary.js +17 -17
  761. package/util/diff.d.ts +4 -4
  762. package/util/diff.js +2 -2
  763. package/util/dispose.d.ts +13 -13
  764. package/util/dispose.js +13 -13
  765. package/util/duration.d.ts +31 -31
  766. package/util/duration.js +29 -29
  767. package/util/element.d.ts +10 -10
  768. package/util/element.js +5 -5
  769. package/util/entity.d.ts +6 -6
  770. package/util/entity.js +1 -1
  771. package/util/entry.d.ts +9 -9
  772. package/util/entry.js +4 -4
  773. package/util/env.d.ts +4 -4
  774. package/util/env.js +4 -4
  775. package/util/equal.d.ts +22 -22
  776. package/util/equal.js +22 -22
  777. package/util/error.d.ts +8 -8
  778. package/util/error.js +7 -7
  779. package/util/file.d.ts +4 -4
  780. package/util/file.js +3 -3
  781. package/util/filter.d.ts +4 -4
  782. package/util/filter.js +3 -3
  783. package/util/focus.d.ts +1 -1
  784. package/util/focus.js +1 -1
  785. package/util/format.d.ts +27 -27
  786. package/util/format.js +15 -15
  787. package/util/function.d.ts +11 -11
  788. package/util/function.js +4 -4
  789. package/util/geo.d.ts +8 -8
  790. package/util/geo.js +5 -5
  791. package/util/hash.d.ts +2 -2
  792. package/util/hash.js +2 -2
  793. package/util/http.d.ts +26 -26
  794. package/util/http.js +18 -18
  795. package/util/hydrate.d.ts +4 -4
  796. package/util/hydrate.js +2 -2
  797. package/util/item.d.ts +11 -11
  798. package/util/item.js +4 -4
  799. package/util/iterate.d.ts +13 -13
  800. package/util/iterate.js +10 -10
  801. package/util/jwt.d.ts +9 -9
  802. package/util/jwt.js +7 -7
  803. package/util/lazy.d.ts +2 -2
  804. package/util/link.d.ts +3 -3
  805. package/util/link.js +2 -2
  806. package/util/log.d.ts +3 -3
  807. package/util/log.js +3 -3
  808. package/util/map.d.ts +19 -19
  809. package/util/map.js +11 -11
  810. package/util/merge.d.ts +5 -5
  811. package/util/merge.js +1 -1
  812. package/util/null.d.ts +13 -13
  813. package/util/null.js +11 -11
  814. package/util/number.d.ts +18 -18
  815. package/util/number.js +17 -17
  816. package/util/object.d.ts +35 -35
  817. package/util/object.js +17 -17
  818. package/util/path.d.ts +14 -14
  819. package/util/path.js +8 -8
  820. package/util/query.d.ts +10 -10
  821. package/util/query.js +7 -7
  822. package/util/random.d.ts +5 -5
  823. package/util/random.js +5 -5
  824. package/util/regexp.d.ts +26 -26
  825. package/util/regexp.js +13 -13
  826. package/util/sequence.d.ts +8 -8
  827. package/util/sequence.js +6 -6
  828. package/util/serialise.d.ts +1 -1
  829. package/util/serialise.js +1 -1
  830. package/util/set.d.ts +13 -13
  831. package/util/set.js +9 -9
  832. package/util/sort.d.ts +4 -4
  833. package/util/sort.js +3 -3
  834. package/util/source.d.ts +3 -3
  835. package/util/source.js +2 -2
  836. package/util/start.d.ts +8 -8
  837. package/util/start.js +5 -5
  838. package/util/string.d.ts +28 -28
  839. package/util/string.js +24 -24
  840. package/util/template.d.ts +10 -10
  841. package/util/template.js +7 -7
  842. package/util/timeout.d.ts +5 -5
  843. package/util/timeout.js +5 -5
  844. package/util/transform.d.ts +9 -9
  845. package/util/transform.js +7 -7
  846. package/util/tree.d.ts +12 -12
  847. package/util/tree.js +2 -2
  848. package/util/types.d.ts +2 -2
  849. package/util/undefined.d.ts +6 -6
  850. package/util/undefined.js +6 -6
  851. package/util/units.d.ts +16 -16
  852. package/util/units.js +14 -14
  853. package/util/update.d.ts +4 -4
  854. package/util/update.js +2 -2
  855. package/util/uri.d.ts +26 -26
  856. package/util/uri.js +6 -6
  857. package/util/url.d.ts +16 -16
  858. package/util/url.js +11 -11
  859. package/util/uuid.d.ts +3 -3
  860. package/util/uuid.js +3 -3
  861. package/util/validate.d.ts +11 -11
  862. package/util/validate.js +6 -6
  863. package/util/xml.d.ts +2 -2
  864. package/util/xml.js +2 -2
@@ -10,13 +10,13 @@ import type { Endpoint } from "../endpoint/Endpoint.js";
10
10
  * const provider = new ClientAPIProvider({ url: "https://api.example.com" });
11
11
  * const user = await provider.call(getUser, { id: "abc" });
12
12
  *
13
- * @see https://dhoulb.github.io/shelving/api/provider/APIProvider/APIProvider
13
+ * @see https://shelving.cc/api/APIProvider
14
14
  */
15
15
  export declare abstract class APIProvider<P = unknown, R = unknown> implements AsyncDisposable {
16
16
  /**
17
17
  * The common base URL that every endpoint request is resolved against.
18
18
  *
19
- * @see https://dhoulb.github.io/shelving/api/provider/APIProvider/APIProvider/url
19
+ * @see https://shelving.cc/api/APIProvider/url
20
20
  */
21
21
  abstract readonly url: URL;
22
22
  /**
@@ -30,7 +30,7 @@ export declare abstract class APIProvider<P = unknown, R = unknown> implements A
30
30
  * @throws {RequiredError} if this endpoint's path has `{placeholders}` but `payload` is not a data object.
31
31
  * @throws {RequiredError} if this is a `HEAD` or `GET` request but `payload` is not a data object.
32
32
  * @example provider.renderURL(getUser, { id: "abc" }) // URL("https://api.example.com/users/abc")
33
- * @see https://dhoulb.github.io/shelving/api/provider/APIProvider/APIProvider/renderURL
33
+ * @see https://shelving.cc/api/APIProvider/renderURL
34
34
  */
35
35
  abstract renderURL<PP extends P, RR extends R>(endpoint: Endpoint<PP, RR>, payload: PP, caller?: AnyCaller): URL;
36
36
  /**
@@ -47,7 +47,7 @@ export declare abstract class APIProvider<P = unknown, R = unknown> implements A
47
47
  * @throws {RequiredError} if this endpoint's path has `{placeholders}` but `payload` is not a data object.
48
48
  * @throws {RequiredError} if this is a `HEAD` or `GET` request but `payload` is not a data object.
49
49
  * @example provider.createRequest(getUser, { id: "abc" })
50
- * @see https://dhoulb.github.io/shelving/api/provider/APIProvider/APIProvider/createRequest
50
+ * @see https://shelving.cc/api/APIProvider/createRequest
51
51
  */
52
52
  abstract createRequest<PP extends P, RR extends R>(endpoint: Endpoint<PP, RR>, payload: PP, options?: RequestOptions, caller?: AnyCaller): Request;
53
53
  /**
@@ -56,7 +56,7 @@ export declare abstract class APIProvider<P = unknown, R = unknown> implements A
56
56
  * @param request The `Request` to send.
57
57
  * @returns A promise resolving to the `Response`.
58
58
  * @example const response = await provider.fetch(request);
59
- * @see https://dhoulb.github.io/shelving/api/provider/APIProvider/APIProvider/fetch
59
+ * @see https://shelving.cc/api/APIProvider/fetch
60
60
  */
61
61
  abstract fetch(request: Request): Promise<Response>;
62
62
  /**
@@ -70,7 +70,7 @@ export declare abstract class APIProvider<P = unknown, R = unknown> implements A
70
70
  * @returns A promise resolving to the parsed result.
71
71
  * @throws {ResponseError} if the response status is non-2xx.
72
72
  * @example const result = await provider.parseResponse(getUser, response);
73
- * @see https://dhoulb.github.io/shelving/api/provider/APIProvider/APIProvider/parseResponse
73
+ * @see https://shelving.cc/api/APIProvider/parseResponse
74
74
  */
75
75
  abstract parseResponse<PP extends P, RR extends R>(_endpoint: Endpoint<PP, RR>, response: Response, caller?: AnyCaller): Promise<RR>;
76
76
  /**
@@ -84,7 +84,7 @@ export declare abstract class APIProvider<P = unknown, R = unknown> implements A
84
84
  * @returns A promise resolving to the parsed result.
85
85
  * @throws {ResponseError} if the response status is non-2xx.
86
86
  * @example const user = await provider.call(getUser, { id: "abc" });
87
- * @see https://dhoulb.github.io/shelving/api/provider/APIProvider/APIProvider/call
87
+ * @see https://shelving.cc/api/APIProvider/call
88
88
  */
89
89
  call<PP extends P, RR extends R>(endpoint: Endpoint<PP, RR>, payload: PP, options?: RequestOptions, caller?: AnyCaller): Promise<RR>;
90
90
  [Symbol.asyncDispose](): Promise<void>;
@@ -7,7 +7,7 @@
7
7
  * const provider = new ClientAPIProvider({ url: "https://api.example.com" });
8
8
  * const user = await provider.call(getUser, { id: "abc" });
9
9
  *
10
- * @see https://dhoulb.github.io/shelving/api/provider/APIProvider/APIProvider
10
+ * @see https://shelving.cc/api/APIProvider
11
11
  */
12
12
  export class APIProvider {
13
13
  /**
@@ -21,7 +21,7 @@ export class APIProvider {
21
21
  * @returns A promise resolving to the parsed result.
22
22
  * @throws {ResponseError} if the response status is non-2xx.
23
23
  * @example const user = await provider.call(getUser, { id: "abc" });
24
- * @see https://dhoulb.github.io/shelving/api/provider/APIProvider/APIProvider/call
24
+ * @see https://shelving.cc/api/APIProvider/call
25
25
  */
26
26
  async call(endpoint, payload, options, caller) {
27
27
  const request = this.createRequest(endpoint, payload, options, caller);
@@ -11,13 +11,13 @@ import { ThroughAPIProvider } from "./ThroughAPIProvider.js";
11
11
  * @example
12
12
  * const api = new CachedAPIProvider(source);
13
13
  * const result = await api.call(endpoint, payload);
14
- * @see https://dhoulb.github.io/shelving/api/provider/CachedAPIProvider/CachedAPIProvider
14
+ * @see https://shelving.cc/api/CachedAPIProvider
15
15
  */
16
16
  export declare class CachedAPIProvider<P, R> extends ThroughAPIProvider<P, R> implements AsyncDisposable {
17
17
  /**
18
18
  * The maximum age used when calling `call()`, defaulting to `AVOID_REFRESH` (only refresh if invalidated or still loading).
19
19
  * - Not used for `refresh()` calls, which always refetch immediately.
20
- * @see https://dhoulb.github.io/shelving/api/provider/CachedAPIProvider/CachedAPIProvider/maxAge
20
+ * @see https://shelving.cc/api/CachedAPIProvider/maxAge
21
21
  */
22
22
  readonly maxAge: number | undefined;
23
23
  private readonly _cache;
@@ -38,7 +38,7 @@ export declare class CachedAPIProvider<P, R> extends ThroughAPIProvider<P, R> im
38
38
  * @param caller The calling function used for error stack traces.
39
39
  * @returns Promise resolving to the (possibly cached) result.
40
40
  * @example await api.call(endpoint, payload)
41
- * @see https://dhoulb.github.io/shelving/api/provider/CachedAPIProvider/CachedAPIProvider/call
41
+ * @see https://shelving.cc/api/CachedAPIProvider/call
42
42
  */
43
43
  call<PP extends P, RR extends R>(endpoint: Endpoint<PP, RR>, payload: PP, _options?: RequestOptions, caller?: AnyCaller): Promise<RR>;
44
44
  /**
@@ -47,7 +47,7 @@ export declare class CachedAPIProvider<P, R> extends ThroughAPIProvider<P, R> im
47
47
  * @param endpoint The endpoint whose cached result should be invalidated.
48
48
  * @param payload The payload identifying the cached result.
49
49
  * @example api.invalidate(endpoint, payload)
50
- * @see https://dhoulb.github.io/shelving/api/provider/CachedAPIProvider/CachedAPIProvider/invalidate
50
+ * @see https://shelving.cc/api/CachedAPIProvider/invalidate
51
51
  */
52
52
  invalidate<PP extends P, RR extends R>(endpoint: Endpoint<PP, RR>, payload: PP): void;
53
53
  /**
@@ -55,7 +55,7 @@ export declare class CachedAPIProvider<P, R> extends ThroughAPIProvider<P, R> im
55
55
  *
56
56
  * @param endpoint The endpoint whose cached results should be invalidated.
57
57
  * @example api.invalidateAll(endpoint)
58
- * @see https://dhoulb.github.io/shelving/api/provider/CachedAPIProvider/CachedAPIProvider/invalidateAll
58
+ * @see https://shelving.cc/api/CachedAPIProvider/invalidateAll
59
59
  */
60
60
  invalidateAll<PP extends P, RR extends R>(endpoint: Endpoint<PP, RR>): void;
61
61
  /**
@@ -64,7 +64,7 @@ export declare class CachedAPIProvider<P, R> extends ThroughAPIProvider<P, R> im
64
64
  * @param endpoint The endpoint whose cached result should be refreshed.
65
65
  * @param payload The payload identifying the cached result.
66
66
  * @example api.refresh(endpoint, payload)
67
- * @see https://dhoulb.github.io/shelving/api/provider/CachedAPIProvider/CachedAPIProvider/refresh
67
+ * @see https://shelving.cc/api/CachedAPIProvider/refresh
68
68
  */
69
69
  refresh<PP extends P, RR extends R>(endpoint: Endpoint<PP, RR>, payload: PP): void;
70
70
  /**
@@ -72,7 +72,7 @@ export declare class CachedAPIProvider<P, R> extends ThroughAPIProvider<P, R> im
72
72
  *
73
73
  * @param endpoint The endpoint whose cached results should be refreshed.
74
74
  * @example api.refreshAll(endpoint)
75
- * @see https://dhoulb.github.io/shelving/api/provider/CachedAPIProvider/CachedAPIProvider/refreshAll
75
+ * @see https://shelving.cc/api/CachedAPIProvider/refreshAll
76
76
  */
77
77
  refreshAll<PP extends P, RR extends R>(endpoint: Endpoint<PP, RR>): void;
78
78
  [Symbol.asyncDispose](): Promise<void>;
@@ -10,13 +10,13 @@ import { ThroughAPIProvider } from "./ThroughAPIProvider.js";
10
10
  * @example
11
11
  * const api = new CachedAPIProvider(source);
12
12
  * const result = await api.call(endpoint, payload);
13
- * @see https://dhoulb.github.io/shelving/api/provider/CachedAPIProvider/CachedAPIProvider
13
+ * @see https://shelving.cc/api/CachedAPIProvider
14
14
  */
15
15
  export class CachedAPIProvider extends ThroughAPIProvider {
16
16
  /**
17
17
  * The maximum age used when calling `call()`, defaulting to `AVOID_REFRESH` (only refresh if invalidated or still loading).
18
18
  * - Not used for `refresh()` calls, which always refetch immediately.
19
- * @see https://dhoulb.github.io/shelving/api/provider/CachedAPIProvider/CachedAPIProvider/maxAge
19
+ * @see https://shelving.cc/api/CachedAPIProvider/maxAge
20
20
  */
21
21
  maxAge;
22
22
  _cache;
@@ -41,7 +41,7 @@ export class CachedAPIProvider extends ThroughAPIProvider {
41
41
  * @param caller The calling function used for error stack traces.
42
42
  * @returns Promise resolving to the (possibly cached) result.
43
43
  * @example await api.call(endpoint, payload)
44
- * @see https://dhoulb.github.io/shelving/api/provider/CachedAPIProvider/CachedAPIProvider/call
44
+ * @see https://shelving.cc/api/CachedAPIProvider/call
45
45
  */
46
46
  call(endpoint, payload, _options, caller = this.call) {
47
47
  return this._cache.call(endpoint, payload, this.maxAge, caller);
@@ -52,7 +52,7 @@ export class CachedAPIProvider extends ThroughAPIProvider {
52
52
  * @param endpoint The endpoint whose cached result should be invalidated.
53
53
  * @param payload The payload identifying the cached result.
54
54
  * @example api.invalidate(endpoint, payload)
55
- * @see https://dhoulb.github.io/shelving/api/provider/CachedAPIProvider/CachedAPIProvider/invalidate
55
+ * @see https://shelving.cc/api/CachedAPIProvider/invalidate
56
56
  */
57
57
  invalidate(endpoint, payload) {
58
58
  this._cache.invalidate(endpoint, payload);
@@ -62,7 +62,7 @@ export class CachedAPIProvider extends ThroughAPIProvider {
62
62
  *
63
63
  * @param endpoint The endpoint whose cached results should be invalidated.
64
64
  * @example api.invalidateAll(endpoint)
65
- * @see https://dhoulb.github.io/shelving/api/provider/CachedAPIProvider/CachedAPIProvider/invalidateAll
65
+ * @see https://shelving.cc/api/CachedAPIProvider/invalidateAll
66
66
  */
67
67
  invalidateAll(endpoint) {
68
68
  this._cache.invalidateAll(endpoint);
@@ -73,7 +73,7 @@ export class CachedAPIProvider extends ThroughAPIProvider {
73
73
  * @param endpoint The endpoint whose cached result should be refreshed.
74
74
  * @param payload The payload identifying the cached result.
75
75
  * @example api.refresh(endpoint, payload)
76
- * @see https://dhoulb.github.io/shelving/api/provider/CachedAPIProvider/CachedAPIProvider/refresh
76
+ * @see https://shelving.cc/api/CachedAPIProvider/refresh
77
77
  */
78
78
  refresh(endpoint, payload) {
79
79
  this._cache.refresh(endpoint, payload, this.maxAge);
@@ -83,7 +83,7 @@ export class CachedAPIProvider extends ThroughAPIProvider {
83
83
  *
84
84
  * @param endpoint The endpoint whose cached results should be refreshed.
85
85
  * @example api.refreshAll(endpoint)
86
- * @see https://dhoulb.github.io/shelving/api/provider/CachedAPIProvider/CachedAPIProvider/refreshAll
86
+ * @see https://shelving.cc/api/CachedAPIProvider/refreshAll
87
87
  */
88
88
  refreshAll(endpoint) {
89
89
  this._cache.refreshAll(endpoint, this.maxAge);
@@ -8,7 +8,7 @@ import { APIProvider } from "./APIProvider.js";
8
8
  /**
9
9
  * Options for constructing a `ClientAPIProvider`.
10
10
  *
11
- * @see https://dhoulb.github.io/shelving/api/provider/ClientAPIProvider/ClientAPIProviderOptions
11
+ * @see https://shelving.cc/api/ClientAPIProviderOptions
12
12
  */
13
13
  export interface ClientAPIProviderOptions {
14
14
  /**
@@ -44,25 +44,25 @@ export interface ClientAPIProviderOptions {
44
44
  * const provider = new ClientAPIProvider({ url: "https://api.example.com" });
45
45
  * const user = await provider.call(getUser, { id: "abc" });
46
46
  *
47
- * @see https://dhoulb.github.io/shelving/api/provider/ClientAPIProvider/ClientAPIProvider
47
+ * @see https://shelving.cc/api/ClientAPIProvider
48
48
  */
49
49
  export declare class ClientAPIProvider<P = unknown, R = unknown> extends APIProvider<P, R> {
50
50
  /**
51
51
  * The common base URL for all rendered endpoint requests.
52
52
  *
53
- * @see https://dhoulb.github.io/shelving/api/provider/ClientAPIProvider/ClientAPIProvider/url
53
+ * @see https://shelving.cc/api/ClientAPIProvider/url
54
54
  */
55
55
  readonly url: URL;
56
56
  /**
57
57
  * Default options used for HTTP requests created with `this.createRequest()` and `this.fetch()`
58
58
  *
59
- * @see https://dhoulb.github.io/shelving/api/provider/ClientAPIProvider/ClientAPIProvider/options
59
+ * @see https://shelving.cc/api/ClientAPIProvider/options
60
60
  */
61
61
  readonly options: RequestOptions;
62
62
  /**
63
63
  * Timeout in milliseconds before the request is aborted, or `0` for no timeout.
64
64
  *
65
- * @see https://dhoulb.github.io/shelving/api/provider/ClientAPIProvider/ClientAPIProvider/timeout
65
+ * @see https://shelving.cc/api/ClientAPIProvider/timeout
66
66
  */
67
67
  readonly timeout: number;
68
68
  /**
@@ -70,7 +70,7 @@ export declare class ClientAPIProvider<P = unknown, R = unknown> extends APIProv
70
70
  *
71
71
  * @throws {RequiredError} if `url` cannot be resolved to a valid base URL.
72
72
  * @example new ClientAPIProvider({ url: "https://api.example.com" })
73
- * @see https://dhoulb.github.io/shelving/api/provider/ClientAPIProvider/ClientAPIProvider
73
+ * @see https://shelving.cc/api/ClientAPIProvider
74
74
  */
75
75
  constructor({ url, options, timeout }: ClientAPIProviderOptions);
76
76
  /**
@@ -83,7 +83,7 @@ export declare class ClientAPIProvider<P = unknown, R = unknown> extends APIProv
83
83
  * @throws {RequiredError} if this endpoint's path has `{placeholders}` but `payload` is not a data object.
84
84
  * @throws {RequiredError} if this is a `HEAD` or `GET` request but `payload` is not a data object.
85
85
  * @example provider.renderURL(getUser, { id: "abc" })
86
- * @see https://dhoulb.github.io/shelving/api/provider/ClientAPIProvider/ClientAPIProvider/renderURL
86
+ * @see https://shelving.cc/api/ClientAPIProvider/renderURL
87
87
  */
88
88
  renderURL<PP extends P, RR extends R>(endpoint: Endpoint<PP, RR>, payload: PP, caller?: AnyCaller): URL;
89
89
  /**
@@ -99,7 +99,7 @@ export declare class ClientAPIProvider<P = unknown, R = unknown> extends APIProv
99
99
  * @throws {RequiredError} if this endpoint's path has `{placeholders}` but `payload` is not a data object.
100
100
  * @throws {RequiredError} if this is a `HEAD` or `GET` request but `payload` is not a data object.
101
101
  * @example provider.createRequest(getUser, { id: "abc" })
102
- * @see https://dhoulb.github.io/shelving/api/provider/ClientAPIProvider/ClientAPIProvider/createRequest
102
+ * @see https://shelving.cc/api/ClientAPIProvider/createRequest
103
103
  */
104
104
  createRequest<PP extends P, RR extends R>(endpoint: Endpoint<PP, RR>, payload: PP, options?: RequestOptions, caller?: AnyCaller): Request;
105
105
  /** Internal implementation function for `createRequest()` used for requests that have no body. */
@@ -114,7 +114,7 @@ export declare class ClientAPIProvider<P = unknown, R = unknown> extends APIProv
114
114
  * @param request The `Request` to send.
115
115
  * @returns A promise resolving to the `Response`.
116
116
  * @example await provider.fetch(request)
117
- * @see https://dhoulb.github.io/shelving/api/provider/ClientAPIProvider/ClientAPIProvider/fetch
117
+ * @see https://shelving.cc/api/ClientAPIProvider/fetch
118
118
  */
119
119
  fetch(request: Request): Promise<Response>;
120
120
  /**
@@ -126,7 +126,7 @@ export declare class ClientAPIProvider<P = unknown, R = unknown> extends APIProv
126
126
  * @returns A promise resolving to the parsed result.
127
127
  * @throws {ResponseError} if the response status is non-2xx.
128
128
  * @example await provider.parseResponse(getUser, response)
129
- * @see https://dhoulb.github.io/shelving/api/provider/ClientAPIProvider/ClientAPIProvider/parseResponse
129
+ * @see https://shelving.cc/api/ClientAPIProvider/parseResponse
130
130
  */
131
131
  parseResponse<PP extends P, RR extends R>(_endpoint: Endpoint<PP, RR>, response: Response, caller?: AnyCaller): Promise<RR>;
132
132
  }
@@ -18,25 +18,25 @@ import { APIProvider } from "./APIProvider.js";
18
18
  * const provider = new ClientAPIProvider({ url: "https://api.example.com" });
19
19
  * const user = await provider.call(getUser, { id: "abc" });
20
20
  *
21
- * @see https://dhoulb.github.io/shelving/api/provider/ClientAPIProvider/ClientAPIProvider
21
+ * @see https://shelving.cc/api/ClientAPIProvider
22
22
  */
23
23
  export class ClientAPIProvider extends APIProvider {
24
24
  /**
25
25
  * The common base URL for all rendered endpoint requests.
26
26
  *
27
- * @see https://dhoulb.github.io/shelving/api/provider/ClientAPIProvider/ClientAPIProvider/url
27
+ * @see https://shelving.cc/api/ClientAPIProvider/url
28
28
  */
29
29
  url;
30
30
  /**
31
31
  * Default options used for HTTP requests created with `this.createRequest()` and `this.fetch()`
32
32
  *
33
- * @see https://dhoulb.github.io/shelving/api/provider/ClientAPIProvider/ClientAPIProvider/options
33
+ * @see https://shelving.cc/api/ClientAPIProvider/options
34
34
  */
35
35
  options;
36
36
  /**
37
37
  * Timeout in milliseconds before the request is aborted, or `0` for no timeout.
38
38
  *
39
- * @see https://dhoulb.github.io/shelving/api/provider/ClientAPIProvider/ClientAPIProvider/timeout
39
+ * @see https://shelving.cc/api/ClientAPIProvider/timeout
40
40
  */
41
41
  timeout;
42
42
  /**
@@ -44,7 +44,7 @@ export class ClientAPIProvider extends APIProvider {
44
44
  *
45
45
  * @throws {RequiredError} if `url` cannot be resolved to a valid base URL.
46
46
  * @example new ClientAPIProvider({ url: "https://api.example.com" })
47
- * @see https://dhoulb.github.io/shelving/api/provider/ClientAPIProvider/ClientAPIProvider
47
+ * @see https://shelving.cc/api/ClientAPIProvider
48
48
  */
49
49
  constructor({ url, options = {}, timeout = 20_000 }) {
50
50
  super();
@@ -62,7 +62,7 @@ export class ClientAPIProvider extends APIProvider {
62
62
  * @throws {RequiredError} if this endpoint's path has `{placeholders}` but `payload` is not a data object.
63
63
  * @throws {RequiredError} if this is a `HEAD` or `GET` request but `payload` is not a data object.
64
64
  * @example provider.renderURL(getUser, { id: "abc" })
65
- * @see https://dhoulb.github.io/shelving/api/provider/ClientAPIProvider/ClientAPIProvider/renderURL
65
+ * @see https://shelving.cc/api/ClientAPIProvider/renderURL
66
66
  */
67
67
  renderURL(endpoint, payload, caller = this.renderURL) {
68
68
  // Construct the full URL from `this.url` and the rendered path.
@@ -93,7 +93,7 @@ export class ClientAPIProvider extends APIProvider {
93
93
  * @throws {RequiredError} if this endpoint's path has `{placeholders}` but `payload` is not a data object.
94
94
  * @throws {RequiredError} if this is a `HEAD` or `GET` request but `payload` is not a data object.
95
95
  * @example provider.createRequest(getUser, { id: "abc" })
96
- * @see https://dhoulb.github.io/shelving/api/provider/ClientAPIProvider/ClientAPIProvider/createRequest
96
+ * @see https://shelving.cc/api/ClientAPIProvider/createRequest
97
97
  */
98
98
  createRequest(endpoint, payload, options, caller = this.createRequest) {
99
99
  // Render the path into the base URL.
@@ -125,7 +125,7 @@ export class ClientAPIProvider extends APIProvider {
125
125
  * @param request The `Request` to send.
126
126
  * @returns A promise resolving to the `Response`.
127
127
  * @example await provider.fetch(request)
128
- * @see https://dhoulb.github.io/shelving/api/provider/ClientAPIProvider/ClientAPIProvider/fetch
128
+ * @see https://shelving.cc/api/ClientAPIProvider/fetch
129
129
  */
130
130
  async fetch(request) {
131
131
  return fetch(request);
@@ -139,7 +139,7 @@ export class ClientAPIProvider extends APIProvider {
139
139
  * @returns A promise resolving to the parsed result.
140
140
  * @throws {ResponseError} if the response status is non-2xx.
141
141
  * @example await provider.parseResponse(getUser, response)
142
- * @see https://dhoulb.github.io/shelving/api/provider/ClientAPIProvider/ClientAPIProvider/parseResponse
142
+ * @see https://shelving.cc/api/ClientAPIProvider/parseResponse
143
143
  */
144
144
  async parseResponse(_endpoint, response, caller = this.parseResponse) {
145
145
  const { ok, status } = response;
@@ -8,7 +8,7 @@ import { ThroughAPIProvider } from "./ThroughAPIProvider.js";
8
8
  * @example
9
9
  * const api = new DebugAPIProvider(source);
10
10
  * await api.call(endpoint, payload); // logs request, response, and result
11
- * @see https://dhoulb.github.io/shelving/api/provider/DebugAPIProvider/DebugAPIProvider
11
+ * @see https://shelving.cc/api/DebugAPIProvider
12
12
  */
13
13
  export declare class DebugAPIProvider<P, R> extends ThroughAPIProvider<P, R> {
14
14
  /**
@@ -21,7 +21,7 @@ export declare class DebugAPIProvider<P, R> extends ThroughAPIProvider<P, R> {
21
21
  * @returns The built request.
22
22
  * @throws Rethrows any error thrown while building the request (after logging it).
23
23
  * @example api.createRequest(endpoint, payload)
24
- * @see https://dhoulb.github.io/shelving/api/provider/DebugAPIProvider/DebugAPIProvider/createRequest
24
+ * @see https://shelving.cc/api/DebugAPIProvider/createRequest
25
25
  */
26
26
  createRequest<PP extends P, RR extends R>(endpoint: Endpoint<PP, RR>, payload: PP, options?: RequestOptions, caller?: AnyCaller): Request;
27
27
  /**
@@ -31,7 +31,7 @@ export declare class DebugAPIProvider<P, R> extends ThroughAPIProvider<P, R> {
31
31
  * @returns Promise resolving to the response.
32
32
  * @throws Rethrows any error thrown by the source provider (after logging it).
33
33
  * @example await api.fetch(request)
34
- * @see https://dhoulb.github.io/shelving/api/provider/DebugAPIProvider/DebugAPIProvider/fetch
34
+ * @see https://shelving.cc/api/DebugAPIProvider/fetch
35
35
  */
36
36
  fetch(request: Request): Promise<Response>;
37
37
  /**
@@ -43,7 +43,7 @@ export declare class DebugAPIProvider<P, R> extends ThroughAPIProvider<P, R> {
43
43
  * @returns Promise resolving to the parsed result.
44
44
  * @throws Rethrows any error thrown while parsing (after logging it).
45
45
  * @example await api.parseResponse(endpoint, response)
46
- * @see https://dhoulb.github.io/shelving/api/provider/DebugAPIProvider/DebugAPIProvider/parseResponse
46
+ * @see https://shelving.cc/api/DebugAPIProvider/parseResponse
47
47
  */
48
48
  parseResponse<PP extends P, RR extends R>(endpoint: Endpoint<PP, RR>, response: Response, caller?: AnyCaller): Promise<RR>;
49
49
  }
@@ -7,7 +7,7 @@ import { ThroughAPIProvider } from "./ThroughAPIProvider.js";
7
7
  * @example
8
8
  * const api = new DebugAPIProvider(source);
9
9
  * await api.call(endpoint, payload); // logs request, response, and result
10
- * @see https://dhoulb.github.io/shelving/api/provider/DebugAPIProvider/DebugAPIProvider
10
+ * @see https://shelving.cc/api/DebugAPIProvider
11
11
  */
12
12
  export class DebugAPIProvider extends ThroughAPIProvider {
13
13
  /**
@@ -20,7 +20,7 @@ export class DebugAPIProvider extends ThroughAPIProvider {
20
20
  * @returns The built request.
21
21
  * @throws Rethrows any error thrown while building the request (after logging it).
22
22
  * @example api.createRequest(endpoint, payload)
23
- * @see https://dhoulb.github.io/shelving/api/provider/DebugAPIProvider/DebugAPIProvider/createRequest
23
+ * @see https://shelving.cc/api/DebugAPIProvider/createRequest
24
24
  */
25
25
  createRequest(endpoint, payload, options, caller = this.createRequest) {
26
26
  try {
@@ -40,7 +40,7 @@ export class DebugAPIProvider extends ThroughAPIProvider {
40
40
  * @returns Promise resolving to the response.
41
41
  * @throws Rethrows any error thrown by the source provider (after logging it).
42
42
  * @example await api.fetch(request)
43
- * @see https://dhoulb.github.io/shelving/api/provider/DebugAPIProvider/DebugAPIProvider/fetch
43
+ * @see https://shelving.cc/api/DebugAPIProvider/fetch
44
44
  */
45
45
  async fetch(request) {
46
46
  try {
@@ -63,7 +63,7 @@ export class DebugAPIProvider extends ThroughAPIProvider {
63
63
  * @returns Promise resolving to the parsed result.
64
64
  * @throws Rethrows any error thrown while parsing (after logging it).
65
65
  * @example await api.parseResponse(endpoint, response)
66
- * @see https://dhoulb.github.io/shelving/api/provider/DebugAPIProvider/DebugAPIProvider/parseResponse
66
+ * @see https://shelving.cc/api/DebugAPIProvider/parseResponse
67
67
  */
68
68
  async parseResponse(endpoint, response, caller = this.parseResponse) {
69
69
  try {
@@ -11,7 +11,7 @@ import { ClientAPIProvider } from "./ClientAPIProvider.js";
11
11
  * const provider = new JSONAPIProvider({ url: "https://api.example.com" });
12
12
  * const user = await provider.call(getUser, { id: "abc" });
13
13
  *
14
- * @see https://dhoulb.github.io/shelving/api/provider/JSONAPIProvider/JSONAPIProvider
14
+ * @see https://shelving.cc/api/JSONAPIProvider
15
15
  */
16
16
  export declare class JSONAPIProvider<P = unknown, R = unknown> extends ClientAPIProvider<P, R> {
17
17
  protected _createBodyRequest(method: RequestBodyMethod, url: PossibleURL, payload: P, options: RequestOptions, caller: AnyCaller): Request;
@@ -26,7 +26,7 @@ export declare class JSONAPIProvider<P = unknown, R = unknown> extends ClientAPI
26
26
  * @returns A promise resolving to the parsed JSON result.
27
27
  * @throws {ResponseError} if the response status is non-2xx.
28
28
  * @example await provider.parseResponse(getUser, response)
29
- * @see https://dhoulb.github.io/shelving/api/provider/JSONAPIProvider/JSONAPIProvider/parseResponse
29
+ * @see https://shelving.cc/api/JSONAPIProvider/parseResponse
30
30
  */
31
31
  parseResponse<PP extends P, RR extends R>(_endpoint: Endpoint<PP, RR>, response: Response, caller?: AnyCaller): Promise<RR>;
32
32
  }
@@ -10,7 +10,7 @@ import { ClientAPIProvider } from "./ClientAPIProvider.js";
10
10
  * const provider = new JSONAPIProvider({ url: "https://api.example.com" });
11
11
  * const user = await provider.call(getUser, { id: "abc" });
12
12
  *
13
- * @see https://dhoulb.github.io/shelving/api/provider/JSONAPIProvider/JSONAPIProvider
13
+ * @see https://shelving.cc/api/JSONAPIProvider
14
14
  */
15
15
  export class JSONAPIProvider extends ClientAPIProvider {
16
16
  _createBodyRequest(method, url, payload, options, caller) {
@@ -27,7 +27,7 @@ export class JSONAPIProvider extends ClientAPIProvider {
27
27
  * @returns A promise resolving to the parsed JSON result.
28
28
  * @throws {ResponseError} if the response status is non-2xx.
29
29
  * @example await provider.parseResponse(getUser, response)
30
- * @see https://dhoulb.github.io/shelving/api/provider/JSONAPIProvider/JSONAPIProvider/parseResponse
30
+ * @see https://shelving.cc/api/JSONAPIProvider/parseResponse
31
31
  */
32
32
  async parseResponse(_endpoint, response, caller = this.parseResponse) {
33
33
  const { ok, status } = response;
@@ -8,7 +8,7 @@ import { ThroughAPIProvider } from "./ThroughAPIProvider.js";
8
8
  * @example
9
9
  * const api = new LoggingAPIProvider(source);
10
10
  * await api.fetch(request); // logs request and response
11
- * @see https://dhoulb.github.io/shelving/api/provider/LoggingAPIProvider/LoggingAPIProvider
11
+ * @see https://shelving.cc/api/LoggingAPIProvider
12
12
  */
13
13
  export declare class LoggingAPIProvider<P, R> extends ThroughAPIProvider<P, R> {
14
14
  protected _logRequest: Callback<[Request]>;
@@ -37,7 +37,7 @@ export declare class LoggingAPIProvider<P, R> extends ThroughAPIProvider<P, R> {
37
37
  * @returns Promise resolving to the response.
38
38
  * @throws Rethrows any error thrown by the source provider (after logging it).
39
39
  * @example await api.fetch(request)
40
- * @see https://dhoulb.github.io/shelving/api/provider/LoggingAPIProvider/LoggingAPIProvider/fetch
40
+ * @see https://shelving.cc/api/LoggingAPIProvider/fetch
41
41
  */
42
42
  fetch(request: Request): Promise<Response>;
43
43
  }
@@ -7,7 +7,7 @@ import { ThroughAPIProvider } from "./ThroughAPIProvider.js";
7
7
  * @example
8
8
  * const api = new LoggingAPIProvider(source);
9
9
  * await api.fetch(request); // logs request and response
10
- * @see https://dhoulb.github.io/shelving/api/provider/LoggingAPIProvider/LoggingAPIProvider
10
+ * @see https://shelving.cc/api/LoggingAPIProvider
11
11
  */
12
12
  export class LoggingAPIProvider extends ThroughAPIProvider {
13
13
  _logRequest;
@@ -41,7 +41,7 @@ export class LoggingAPIProvider extends ThroughAPIProvider {
41
41
  * @returns Promise resolving to the response.
42
42
  * @throws Rethrows any error thrown by the source provider (after logging it).
43
43
  * @example await api.fetch(request)
44
- * @see https://dhoulb.github.io/shelving/api/provider/LoggingAPIProvider/LoggingAPIProvider/fetch
44
+ * @see https://shelving.cc/api/LoggingAPIProvider/fetch
45
45
  */
46
46
  async fetch(request) {
47
47
  try {
@@ -5,7 +5,7 @@ import type { APIProvider } from "./APIProvider.js";
5
5
  import { ThroughAPIProvider } from "./ThroughAPIProvider.js";
6
6
  /**
7
7
  * Record of a single mocked fetch, pairing the request with the response the handler returned.
8
- * @see https://dhoulb.github.io/shelving/api/provider/MockAPIProvider/MockAPIFetchCall
8
+ * @see https://shelving.cc/api/MockAPIFetchCall
9
9
  */
10
10
  export type MockAPIFetchCall = {
11
11
  readonly request: Request;
@@ -13,7 +13,7 @@ export type MockAPIFetchCall = {
13
13
  };
14
14
  /**
15
15
  * Record of a single request build, capturing the endpoint, payload, options, and built request.
16
- * @see https://dhoulb.github.io/shelving/api/provider/MockAPIProvider/MockAPIRequestCall
16
+ * @see https://shelving.cc/api/MockAPIRequestCall
17
17
  */
18
18
  export type MockAPIRequestCall = {
19
19
  readonly endpoint: AnyEndpoint;
@@ -23,7 +23,7 @@ export type MockAPIRequestCall = {
23
23
  };
24
24
  /**
25
25
  * Record of a single response parse, capturing the endpoint, response, and parsed result.
26
- * @see https://dhoulb.github.io/shelving/api/provider/MockAPIProvider/MockAPIResponseCall
26
+ * @see https://shelving.cc/api/MockAPIResponseCall
27
27
  */
28
28
  export type MockAPIResponseCall = {
29
29
  readonly endpoint: AnyEndpoint;
@@ -40,27 +40,27 @@ export type MockAPIResponseCall = {
40
40
  * const api = new MockAPIProvider();
41
41
  * const result = await api.call(endpoint, payload);
42
42
  * expect(api.fetchCalls).toHaveLength(1);
43
- * @see https://dhoulb.github.io/shelving/api/provider/MockAPIProvider/MockAPIProvider
43
+ * @see https://shelving.cc/api/MockAPIProvider
44
44
  */
45
45
  export declare class MockAPIProvider<P = unknown, R = unknown> extends ThroughAPIProvider<P, R> {
46
46
  /**
47
47
  * Records of every request built by this provider.
48
- * @see https://dhoulb.github.io/shelving/api/provider/MockAPIProvider/MockAPIProvider/requestCalls
48
+ * @see https://shelving.cc/api/MockAPIProvider/requestCalls
49
49
  */
50
50
  readonly requestCalls: MockAPIRequestCall[];
51
51
  /**
52
52
  * Records of every fetch handled by this provider.
53
- * @see https://dhoulb.github.io/shelving/api/provider/MockAPIProvider/MockAPIProvider/fetchCalls
53
+ * @see https://shelving.cc/api/MockAPIProvider/fetchCalls
54
54
  */
55
55
  readonly fetchCalls: MockAPIFetchCall[];
56
56
  /**
57
57
  * Records of every response parsed by this provider.
58
- * @see https://dhoulb.github.io/shelving/api/provider/MockAPIProvider/MockAPIProvider/responseCalls
58
+ * @see https://shelving.cc/api/MockAPIProvider/responseCalls
59
59
  */
60
60
  readonly responseCalls: MockAPIResponseCall[];
61
61
  /**
62
62
  * The request handler that serves fetches in place of the network.
63
- * @see https://dhoulb.github.io/shelving/api/provider/MockAPIProvider/MockAPIProvider/handler
63
+ * @see https://shelving.cc/api/MockAPIProvider/handler
64
64
  */
65
65
  readonly handler: RequestHandler;
66
66
  /**
@@ -80,7 +80,7 @@ export declare class MockAPIProvider<P = unknown, R = unknown> extends ThroughAP
80
80
  * @param caller The calling function used for error stack traces.
81
81
  * @returns The built request.
82
82
  * @example api.createRequest(endpoint, payload)
83
- * @see https://dhoulb.github.io/shelving/api/provider/MockAPIProvider/MockAPIProvider/createRequest
83
+ * @see https://shelving.cc/api/MockAPIProvider/createRequest
84
84
  */
85
85
  createRequest<PP extends P, RR extends R>(endpoint: Endpoint<PP, RR>, payload: PP, options?: RequestOptions, caller?: AnyCaller): Request;
86
86
  /**
@@ -91,7 +91,7 @@ export declare class MockAPIProvider<P = unknown, R = unknown> extends ThroughAP
91
91
  * @param caller The calling function used for error stack traces.
92
92
  * @returns Promise resolving to the parsed result.
93
93
  * @example await api.parseResponse(endpoint, response)
94
- * @see https://dhoulb.github.io/shelving/api/provider/MockAPIProvider/MockAPIProvider/parseResponse
94
+ * @see https://shelving.cc/api/MockAPIProvider/parseResponse
95
95
  */
96
96
  parseResponse<PP extends P, RR extends R>(endpoint: Endpoint<PP, RR>, response: Response, caller?: AnyCaller): Promise<RR>;
97
97
  /**
@@ -100,7 +100,7 @@ export declare class MockAPIProvider<P = unknown, R = unknown> extends ThroughAP
100
100
  * @param request The request to handle.
101
101
  * @returns Promise resolving to the handler's response.
102
102
  * @example await api.fetch(request)
103
- * @see https://dhoulb.github.io/shelving/api/provider/MockAPIProvider/MockAPIProvider/fetch
103
+ * @see https://shelving.cc/api/MockAPIProvider/fetch
104
104
  */
105
105
  fetch(request: Request): Promise<Response>;
106
106
  }