typedrest 0.3.5 → 0.4.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 (70) hide show
  1. package/README.md +2 -2
  2. package/endpoints/Endpoint.js +11 -11
  3. package/endpoints/Endpoint.ts +11 -11
  4. package/endpoints/EntryEndpoint.js +9 -9
  5. package/endpoints/EntryEndpoint.ts +8 -8
  6. package/endpoints/generic/ETagEndpointBase.js +24 -24
  7. package/endpoints/generic/ETagEndpointBase.ts +21 -21
  8. package/endpoints/generic/ElementEndpoint.js +33 -33
  9. package/endpoints/generic/ElementEndpoint.ts +30 -30
  10. package/endpoints/generic/GenericCollectionEndpoint.js +37 -37
  11. package/endpoints/generic/GenericCollectionEndpoint.ts +36 -36
  12. package/endpoints/generic/IndexerEndpoint.js +1 -1
  13. package/endpoints/generic/IndexerEndpoint.ts +1 -1
  14. package/endpoints/index.js +18 -8
  15. package/endpoints/raw/BlobEndpoint.js +23 -20
  16. package/endpoints/raw/BlobEndpoint.test.ts +2 -2
  17. package/endpoints/raw/BlobEndpoint.ts +22 -19
  18. package/endpoints/raw/UploadEndpoint.js +12 -9
  19. package/endpoints/raw/UploadEndpoint.test.ts +17 -5
  20. package/endpoints/raw/UploadEndpoint.ts +12 -8
  21. package/endpoints/rpc/ActionEndpoint.js +4 -4
  22. package/endpoints/rpc/ActionEndpoint.ts +4 -4
  23. package/endpoints/rpc/ConsumerEndpoint.js +4 -4
  24. package/endpoints/rpc/ConsumerEndpoint.ts +4 -4
  25. package/endpoints/rpc/FunctionEndpoint.js +4 -4
  26. package/endpoints/rpc/FunctionEndpoint.ts +4 -4
  27. package/endpoints/rpc/ProducerEndpoint.js +4 -4
  28. package/endpoints/rpc/ProducerEndpoint.ts +4 -4
  29. package/endpoints/rpc/RpcEndpointBase.js +4 -4
  30. package/endpoints/rpc/RpcEndpointBase.ts +4 -4
  31. package/errors/DefaultErrorHandler.js +10 -10
  32. package/errors/DefaultErrorHandler.ts +8 -8
  33. package/errors/ErrorHandler.ts +1 -1
  34. package/errors/Errors.js +8 -9
  35. package/errors/Errors.ts +7 -9
  36. package/http/FetchHttpClient.js +3 -3
  37. package/http/FetchHttpClient.ts +2 -2
  38. package/http/HttpHeader.js +2 -2
  39. package/http/HttpMethod.js +2 -2
  40. package/http/HttpStatusCode.js +2 -2
  41. package/http/ResponseCache.js +2 -2
  42. package/index.js +18 -8
  43. package/jest.config.js +12 -0
  44. package/links/AggregateLinkExtractor.js +2 -2
  45. package/links/AggregateLinkExtractor.ts +1 -1
  46. package/links/HalLinkExtractor.js +2 -2
  47. package/links/HalLinkExtractor.ts +1 -1
  48. package/links/HeaderLinkExtractor.js +3 -3
  49. package/links/HeaderLinkExtractor.ts +1 -1
  50. package/package.json +10 -17
  51. package/serializers/JsonSerializer.js +3 -3
  52. package/serializers/JsonSerializer.ts +3 -3
  53. package/docs/assets/main.js +0 -52
  54. package/docs/assets/search.js +0 -1
  55. package/endpoints/_doc.js +0 -7
  56. package/endpoints/_doc.ts +0 -5
  57. package/endpoints/generic/_doc.js +0 -6
  58. package/endpoints/generic/_doc.ts +0 -4
  59. package/endpoints/raw/_doc.js +0 -6
  60. package/endpoints/raw/_doc.ts +0 -4
  61. package/endpoints/rpc/_doc.js +0 -6
  62. package/endpoints/rpc/_doc.ts +0 -4
  63. package/errors/_doc.js +0 -7
  64. package/errors/_doc.ts +0 -5
  65. package/http/_doc.js +0 -6
  66. package/http/_doc.ts +0 -4
  67. package/links/_doc.js +0 -7
  68. package/links/_doc.ts +0 -5
  69. package/serializers/_doc.js +0 -6
  70. package/serializers/_doc.ts +0 -4
package/http/_doc.js DELETED
@@ -1,6 +0,0 @@
1
- "use strict";
2
- /**
3
- * Helper methods and structures for performing HTTP requests.
4
- * @packageDocumentation
5
- */
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiX2RvYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIl9kb2MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7R0FHRyJ9
package/http/_doc.ts DELETED
@@ -1,4 +0,0 @@
1
- /**
2
- * Helper methods and structures for performing HTTP requests.
3
- * @packageDocumentation
4
- */
package/links/_doc.js DELETED
@@ -1,7 +0,0 @@
1
- "use strict";
2
- /**
3
- * Handling links between HTTP resources.
4
- * See [documentation](https://typedrest.net/link-handling/).
5
- * @packageDocumentation
6
- */
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiX2RvYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIl9kb2MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7O0dBSUcifQ==
package/links/_doc.ts DELETED
@@ -1,5 +0,0 @@
1
- /**
2
- * Handling links between HTTP resources.
3
- * See [documentation](https://typedrest.net/link-handling/).
4
- * @packageDocumentation
5
- */
@@ -1,6 +0,0 @@
1
- "use strict";
2
- /**
3
- * Serialization of entities sent to and received from the server.
4
- * @packageDocumentation
5
- */
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiX2RvYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIl9kb2MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7R0FHRyJ9
@@ -1,4 +0,0 @@
1
- /**
2
- * Serialization of entities sent to and received from the server.
3
- * @packageDocumentation
4
- */