typedrest 0.3.4 → 0.3.7
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.
- package/endpoints/Endpoint.js +13 -13
- package/endpoints/Endpoint.ts +13 -13
- package/endpoints/EntryEndpoint.js +12 -12
- package/endpoints/EntryEndpoint.ts +9 -9
- package/endpoints/generic/CollectionEndpoint.js +5 -4
- package/endpoints/generic/CollectionEndpoint.ts +2 -1
- package/endpoints/generic/ETagEndpointBase.js +20 -20
- package/endpoints/generic/ETagEndpointBase.ts +21 -21
- package/endpoints/generic/ElementEndpoint.js +33 -33
- package/endpoints/generic/ElementEndpoint.ts +31 -31
- package/endpoints/generic/GenericCollectionEndpoint.js +39 -39
- package/endpoints/generic/GenericCollectionEndpoint.ts +38 -37
- package/endpoints/generic/IndexerEndpoint.js +1 -1
- package/endpoints/generic/IndexerEndpoint.ts +1 -1
- package/endpoints/generic/index.js +6 -2
- package/endpoints/index.js +6 -2
- package/endpoints/raw/BlobEndpoint.js +22 -19
- package/endpoints/raw/BlobEndpoint.ts +21 -18
- package/endpoints/raw/UploadEndpoint.js +9 -6
- package/endpoints/raw/UploadEndpoint.ts +8 -5
- package/endpoints/raw/index.js +6 -2
- package/endpoints/rpc/ActionEndpoint.js +7 -7
- package/endpoints/rpc/ActionEndpoint.ts +5 -5
- package/endpoints/rpc/ConsumerEndpoint.js +7 -7
- package/endpoints/rpc/ConsumerEndpoint.ts +5 -5
- package/endpoints/rpc/FunctionEndpoint.js +7 -7
- package/endpoints/rpc/FunctionEndpoint.ts +5 -5
- package/endpoints/rpc/ProducerEndpoint.js +7 -7
- package/endpoints/rpc/ProducerEndpoint.ts +5 -5
- package/endpoints/rpc/RpcEndpointBase.js +4 -4
- package/endpoints/rpc/RpcEndpointBase.ts +4 -4
- package/endpoints/rpc/index.js +6 -2
- package/errors/DefaultErrorHandler.js +18 -18
- package/errors/DefaultErrorHandler.ts +10 -9
- package/errors/ErrorHandler.ts +1 -1
- package/errors/Errors.js +8 -9
- package/errors/Errors.ts +7 -9
- package/errors/index.js +6 -2
- package/http/FetchHttpClient.js +3 -3
- package/http/FetchHttpClient.ts +4 -3
- package/http/HttpClient.ts +1 -1
- package/http/ResponseCache.js +3 -3
- package/http/ResponseCache.ts +1 -1
- package/http/index.js +6 -2
- package/index.js +6 -2
- package/jest.config.js +12 -0
- package/links/AggregateLinkExtractor.js +2 -2
- package/links/AggregateLinkExtractor.ts +3 -2
- package/links/HalLinkExtractor.js +4 -4
- package/links/HalLinkExtractor.ts +3 -2
- package/links/HeaderLinkExtractor.js +4 -4
- package/links/HeaderLinkExtractor.ts +3 -2
- package/links/LinkExtractor.ts +1 -1
- package/links/index.js +6 -2
- package/package.json +9 -17
- package/serializers/JsonSerializer.js +3 -3
- package/serializers/JsonSerializer.ts +4 -4
- package/serializers/index.js +6 -2
- package/docs/assets/js/main.js +0 -51
- package/endpoints/_doc.js +0 -7
- package/endpoints/_doc.ts +0 -5
- package/endpoints/generic/_doc.js +0 -6
- package/endpoints/generic/_doc.ts +0 -4
- package/endpoints/raw/_doc.js +0 -6
- package/endpoints/raw/_doc.ts +0 -4
- package/endpoints/rpc/_doc.js +0 -6
- package/endpoints/rpc/_doc.ts +0 -4
- package/errors/_doc.js +0 -7
- package/errors/_doc.ts +0 -5
- package/http/_doc.js +0 -6
- package/http/_doc.ts +0 -4
- package/links/_doc.js +0 -7
- package/links/_doc.ts +0 -5
- package/serializers/_doc.js +0 -6
- package/serializers/_doc.ts +0 -4
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Generic endpoints allow you to model collections and elements.
|
|
4
|
-
* @packageDocumentation
|
|
5
|
-
*/
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiX2RvYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIl9kb2MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7R0FHRyJ9
|
package/endpoints/raw/_doc.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Raw endpoints allow you to transmit binary data rather than serialized objects.
|
|
4
|
-
* @packageDocumentation
|
|
5
|
-
*/
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiX2RvYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIl9kb2MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7R0FHRyJ9
|
package/endpoints/raw/_doc.ts
DELETED
package/endpoints/rpc/_doc.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* RPC endpoints allow you to interact with non-RESTful resources that act like callable functions.
|
|
4
|
-
* @packageDocumentation
|
|
5
|
-
*/
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiX2RvYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIl9kb2MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7R0FHRyJ9
|
package/endpoints/rpc/_doc.ts
DELETED
package/errors/_doc.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Handling errors in HTTP responses.
|
|
4
|
-
* See [documentation](https://typedrest.net/error-handling/).
|
|
5
|
-
* @packageDocumentation
|
|
6
|
-
*/
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiX2RvYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIl9kb2MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7O0dBSUcifQ==
|
package/errors/_doc.ts
DELETED
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
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
package/serializers/_doc.js
DELETED
|
@@ -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
|
package/serializers/_doc.ts
DELETED