@trayio/cdk-dsl 3.13.1-unstable → 3.14.0-beta
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.
|
@@ -34,23 +34,16 @@ export declare class HttpOperationRequest {
|
|
|
34
34
|
constructor(path: string, method: HttpMethod, request: HttpRequest, contentType: O.Option<HttpContentType>, body: HttpOperationBody);
|
|
35
35
|
}
|
|
36
36
|
export type HttpOperationRequestHandler<AUTH extends OperationHandlerAuth<unknown, unknown>, IN> = (ctx: OperationHandlerContext<AUTH>, input: IN, request: HttpOperationRequestBuilder) => HttpOperationRequest;
|
|
37
|
-
type
|
|
38
|
-
body: any;
|
|
39
|
-
headers: HttpHeaders;
|
|
40
|
-
statusCode: Number;
|
|
41
|
-
};
|
|
42
|
-
export type HttpOperationResponseErrorHandling<OUT> = (response: HttpOperationErrorHandlingResponse) => OperationHandlerResult<OUT>;
|
|
37
|
+
export type HttpOperationResponseErrorHandling<OUT> = () => OperationHandlerResult<OUT>;
|
|
43
38
|
export type HttpOperationResponseParser<BODY, OUT> = (body: BODY) => OperationHandlerResult<OUT>;
|
|
44
39
|
export declare class HttpOperationResponseBuilder<OUT> {
|
|
45
40
|
private response;
|
|
46
41
|
private errorHandling;
|
|
47
|
-
|
|
48
|
-
constructor(response: HttpResponse, errorHandling: HttpOperationResponseErrorHandling<OUT>, errorContentType: O.Option<HttpContentType>);
|
|
42
|
+
constructor(response: HttpResponse, errorHandling: HttpOperationResponseErrorHandling<OUT>);
|
|
49
43
|
getStatusCode(): number;
|
|
50
44
|
getHeader(name: string): HttpHeaderValue | undefined;
|
|
51
45
|
getHeaders(): HttpHeaders;
|
|
52
46
|
withErrorHandling(errorHandling: HttpOperationResponseErrorHandling<OUT>): HttpOperationResponseBuilder<OUT>;
|
|
53
|
-
withJsonErrorHandling(errorHandling: HttpOperationResponseErrorHandling<OUT>): HttpOperationResponseBuilder<OUT>;
|
|
54
47
|
parseWithoutBody(responseParser: HttpOperationResponseParser<undefined, OUT>): HttpOperationResponse<OUT>;
|
|
55
48
|
parseWithBodyAsText(responseParser: HttpOperationResponseParser<string, OUT>): HttpOperationResponse<OUT>;
|
|
56
49
|
parseWithBodyAsJson<T extends DynamicType>(responseParser?: HttpOperationResponseParser<T, OUT>): HttpOperationResponse<OUT>;
|
|
@@ -61,8 +54,7 @@ export declare class HttpOperationResponse<OUT> {
|
|
|
61
54
|
readonly errorHandling: HttpOperationResponseErrorHandling<OUT>;
|
|
62
55
|
readonly contentType: O.Option<HttpContentType>;
|
|
63
56
|
readonly responseParser: HttpOperationResponseParser<any, OUT>;
|
|
64
|
-
|
|
65
|
-
constructor(response: HttpResponse, errorHandling: HttpOperationResponseErrorHandling<OUT>, errorContentType: O.Option<HttpContentType>, contentType: O.Option<HttpContentType>, responseParser: HttpOperationResponseParser<any, OUT>);
|
|
57
|
+
constructor(response: HttpResponse, errorHandling: HttpOperationResponseErrorHandling<OUT>, contentType: O.Option<HttpContentType>, responseParser: HttpOperationResponseParser<any, OUT>);
|
|
66
58
|
}
|
|
67
59
|
export type HttpOperationResponseHandler<AUTH extends OperationHandlerAuth<unknown, unknown>, IN, OUT> = (ctx: OperationHandlerContext<AUTH>, input: IN, response: HttpOperationResponseBuilder<OUT>) => HttpOperationResponse<OUT>;
|
|
68
60
|
export declare class HttpOperationHandler<AUTH extends OperationHandlerAuth<unknown, unknown>, IN, OUT> {
|
|
@@ -92,5 +84,4 @@ export declare class HttpOperationHandlerConfiguration<AUTH extends OperationHan
|
|
|
92
84
|
private initialRequest;
|
|
93
85
|
}
|
|
94
86
|
export type HttpOperationHandlerSetup<AUTH extends OperationHandlerAuth<unknown, unknown>, IN, OUT> = (http: HttpOperationHandlerConfiguration<AUTH, IN, OUT>) => HttpOperationHandler<AUTH, IN, OUT>;
|
|
95
|
-
export {};
|
|
96
87
|
//# sourceMappingURL=HttpOperationHandler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpOperationHandler.d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A2B,CAAC,IAAI,EAAE,EAAE,CAAC,GACnD,yCAAyC,CAAC,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC;CAM3D;AAED,qBAAa,iCAAiC,CAC7C,IAAI,SAAS,oBAAoB,CAAC,OAAO,EAAE,OAAO,CAAC,EACnD,EAAE,EACF,GAAG;IAEH,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,wCAAwC,CAAC,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC;IAM1E,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,wCAAwC,CAAC,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC;IAM3E,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,wCAAwC,CAAC,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC;IAM1E,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,wCAAwC,CAAC,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC;IAM5E,MAAM,CACL,IAAI,EAAE,MAAM,GACV,wCAAwC,CAAC,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC;IAM1D,OAAO,CAAC,cAAc;CAatB;AAED,MAAM,MAAM,yBAAyB,CACpC,IAAI,SAAS,oBAAoB,CAAC,OAAO,EAAE,OAAO,CAAC,EACnD,EAAE,EACF,GAAG,IACA,CACH,IAAI,EAAE,iCAAiC,CAAC,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC,KAClD,oBAAoB,CAAC,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -132,11 +132,9 @@ exports.HttpOperationRequest = HttpOperationRequest;
|
|
|
132
132
|
class HttpOperationResponseBuilder {
|
|
133
133
|
response;
|
|
134
134
|
errorHandling;
|
|
135
|
-
|
|
136
|
-
constructor(response, errorHandling, errorContentType) {
|
|
135
|
+
constructor(response, errorHandling) {
|
|
137
136
|
this.response = response;
|
|
138
137
|
this.errorHandling = errorHandling;
|
|
139
|
-
this.errorContentType = errorContentType;
|
|
140
138
|
}
|
|
141
139
|
getStatusCode() {
|
|
142
140
|
return this.response.statusCode;
|
|
@@ -148,22 +146,19 @@ class HttpOperationResponseBuilder {
|
|
|
148
146
|
return this.response.headers;
|
|
149
147
|
}
|
|
150
148
|
withErrorHandling(errorHandling) {
|
|
151
|
-
return new HttpOperationResponseBuilder(this.response, errorHandling
|
|
152
|
-
}
|
|
153
|
-
withJsonErrorHandling(errorHandling) {
|
|
154
|
-
return new HttpOperationResponseBuilder(this.response, errorHandling, O.some(Http_1.HttpContentType.Json));
|
|
149
|
+
return new HttpOperationResponseBuilder(this.response, errorHandling);
|
|
155
150
|
}
|
|
156
151
|
parseWithoutBody(responseParser) {
|
|
157
|
-
return new HttpOperationResponse(this.response, this.errorHandling,
|
|
152
|
+
return new HttpOperationResponse(this.response, this.errorHandling, O.none, responseParser);
|
|
158
153
|
}
|
|
159
154
|
parseWithBodyAsText(responseParser) {
|
|
160
|
-
return new HttpOperationResponse(this.response, this.errorHandling,
|
|
155
|
+
return new HttpOperationResponse(this.response, this.errorHandling, O.some(Http_1.HttpContentType.Text), responseParser);
|
|
161
156
|
}
|
|
162
157
|
parseWithBodyAsJson(responseParser = (body) => OperationHandler_1.OperationHandlerResult.success(body)) {
|
|
163
|
-
return new HttpOperationResponse(this.response, this.errorHandling,
|
|
158
|
+
return new HttpOperationResponse(this.response, this.errorHandling, O.some(Http_1.HttpContentType.Json), responseParser);
|
|
164
159
|
}
|
|
165
160
|
parseWithBodyAsFile(responseParser) {
|
|
166
|
-
return new HttpOperationResponse(this.response, this.errorHandling,
|
|
161
|
+
return new HttpOperationResponse(this.response, this.errorHandling, O.some(Http_1.HttpContentType.OctetStream), responseParser);
|
|
167
162
|
}
|
|
168
163
|
}
|
|
169
164
|
exports.HttpOperationResponseBuilder = HttpOperationResponseBuilder;
|
|
@@ -172,9 +167,7 @@ class HttpOperationResponse {
|
|
|
172
167
|
errorHandling;
|
|
173
168
|
contentType;
|
|
174
169
|
responseParser;
|
|
175
|
-
|
|
176
|
-
constructor(response, errorHandling, errorContentType, contentType, responseParser) {
|
|
177
|
-
this.errorContentType = errorContentType;
|
|
170
|
+
constructor(response, errorHandling, contentType, responseParser) {
|
|
178
171
|
this.response = response;
|
|
179
172
|
this.errorHandling = errorHandling;
|
|
180
173
|
this.contentType = contentType;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trayio/cdk-dsl",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.14.0-beta",
|
|
4
4
|
"description": "A DSL for connector development",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./*": "./dist/*.js"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"access": "public"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@trayio/commons": "3.
|
|
17
|
+
"@trayio/commons": "3.14.0-beta"
|
|
18
18
|
},
|
|
19
19
|
"typesVersions": {
|
|
20
20
|
"*": {
|