stable
Clone or download
Read-only
No functional change. All fetch-result current function work as before. Notes: - The target endpoint is the markdown preview endpoint. Actual usage will be added on a next contribution, the review is already big. - Removing the grouping of `ResultFetcher` should result in a more tree-shakeable library. Each function is built by itself now. Implement request #32277: Query a text endpoint with fetch-result Change-Id: I9382887d60fc758859d64682047d1709c24d4b4c
Modified Files
Name | ||||
---|---|---|---|---|
M | lib/frontend/fetch-result/package.json | +0 | −1 | Go to diff View file |
M | lib/frontend/fetch-result/src/AllGetter.test.ts | +3 | −4 | Go to diff View file |
M | lib/frontend/fetch-result/src/AllGetter.ts | +2 | −3 | Go to diff View file |
M | lib/frontend/fetch-result/src/ResponseRetriever.test.ts | +3 | −4 | Go to diff View file |
M | lib/frontend/fetch-result/src/ResponseRetriever.ts | +3 | −9 | Go to diff View file |
D | lib/frontend/fetch-result/src/ResultFetcher.test.ts | +0 | −271 | Go to diff View file |
D | lib/frontend/fetch-result/src/ResultFetcher.ts | +0 | −161 | Go to diff View file |
R | lib/frontend/fetch-result/src/ErrorResponseHandler.ts | Go to diff View file | ||
R | lib/frontend/fetch-result/src/JSONParseFault.test.ts | Go to diff View file | ||
R | lib/frontend/fetch-result/src/JSONParseFault.ts | Go to diff View file | ||
R | lib/frontend/fetch-result/src/NetworkFault.test.ts | Go to diff View file | ||
R | lib/frontend/fetch-result/src/NetworkFault.ts | Go to diff View file | ||
R | lib/frontend/fetch-result/src/RestlerErrorHandler.test.ts | Go to diff View file | ||
R | lib/frontend/fetch-result/src/RestlerErrorHandler.ts | Go to diff View file | ||
A | lib/frontend/fetch-result/src/faults/TextErrorHandler.test.ts | +71 | −0 | Go to diff View file |
R | lib/frontend/fetch-result/tests/helper/ResponseStub.ts | Go to diff View file | ||
A | lib/frontend/fetch-result/src/faults/TextParseFault.test.ts | +37 | −0 | Go to diff View file |
A | lib/frontend/fetch-result/src/faults/TextParseFault.ts | +31 | −0 | Go to diff View file |
R | lib/frontend/fetch-result/src/TuleapAPIFault.test.ts | Go to diff View file | ||
R | lib/frontend/fetch-result/src/TuleapAPIFault.ts | Go to diff View file | ||
A | lib/frontend/fetch-result/src/headers.ts | +22 | −0 | Go to diff View file |
M | lib/frontend/fetch-result/src/json-decoder.test.ts | +5 | −9 | Go to diff View file |
M | lib/frontend/fetch-result/src/json-decoder.ts | +1 | −1 | Go to diff View file |
M | lib/frontend/fetch-result/src/main.ts | +75 | −47 | Go to diff View file |
A | lib/frontend/fetch-result/src/options.ts | +24 | −0 | Go to diff View file |
A | lib/frontend/fetch-result/src/restler-methods.test.ts | +312 | −0 | Go to diff View file |
A | lib/frontend/fetch-result/src/restler-methods.ts | +91 | −0 | Go to diff View file |
A | lib/frontend/fetch-result/src/text-decoder.test.ts | +56 | −0 | Go to diff View file |
A | lib/frontend/fetch-result/src/text-decoder.ts | +25 | −0 | Go to diff View file |
A | lib/frontend/fetch-result/src/text-methods.test.ts | +117 | −0 | Go to diff View file |
A | lib/frontend/fetch-result/src/text-methods.ts | +41 | −0 | Go to diff View file |
M | lib/frontend/fetch-result/tsconfig.json | +1 | −1 | Go to diff View file |
M | plugins/git/scripts/lib/gitlab-api-querier/package.json | +2 | −2 | Go to diff View file |
M | plugins/git/scripts/lib/gitlab-api-querier/src/Querier.test.ts | +3 | −4 | Go to diff View file |
M | plugins/git/scripts/lib/gitlab-api-querier/src/Querier.ts | +11 | −12 | Go to diff View file |
M | plugins/git/scripts/lib/gitlab-api-querier/src/main.ts | +6 | −6 | Go to diff View file |