Skip to content

Commit 28e3375

Browse files
committed
feat: replaced HTTP_HEADER_MAP with OBJECT
1 parent 28a03a5 commit 28e3375

8 files changed

Lines changed: 35 additions & 110 deletions

File tree

definitions/rest/data_type/rest.header_input.proto.json

Lines changed: 0 additions & 24 deletions
This file was deleted.
Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,29 @@
11
{
2-
"identifier": "REST_ADAPTER_INPUT",
3-
"name": [
4-
{
5-
"code": "en-US",
6-
"content": "Rest Adapter Input"
7-
}
8-
],
9-
"alias": [
10-
{
11-
"code": "en-US",
12-
"content": "http;rest;adapter;input"
13-
}
14-
],
15-
"displayMessage": [
16-
{
17-
"code": "en-US",
18-
"content": "Rest Adapter Input"
19-
}
20-
],
21-
"rules": [],
22-
"genericKeys": ["T"],
23-
"linked_data_type_identifiers": [
24-
"REST_HEADER_INPUT"
25-
],
26-
"signature": "{ body: T, headers: REST_HEADER_INPUT }"
2+
"identifier": "REST_ADAPTER_INPUT",
3+
"name": [
4+
{
5+
"code": "en-US",
6+
"content": "Rest Adapter Input"
7+
}
8+
],
9+
"alias": [
10+
{
11+
"code": "en-US",
12+
"content": "http;rest;adapter;input"
13+
}
14+
],
15+
"displayMessage": [
16+
{
17+
"code": "en-US",
18+
"content": "Rest Adapter Input"
19+
}
20+
],
21+
"rules": [],
22+
"genericKeys": [
23+
"T"
24+
],
25+
"linked_data_type_identifiers": [
26+
"OBJECT"
27+
],
28+
"signature": "{ body: T, headers: OBJECT<{}> }"
2729
}

definitions/standard/data_type/array/http_header_map.proto.json

Lines changed: 0 additions & 27 deletions
This file was deleted.

definitions/standard/data_type/object/http_header_entry.proto.json

Lines changed: 0 additions & 26 deletions
This file was deleted.

definitions/standard/data_type/object/http_request.proto.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
"content": "HTTP Request"
1919
}
2020
],
21-
"signature": "{ method: HTTP_METHOD, url: HTTP_URL, body: T, headers: HTTP_HEADER_MAP }",
21+
"signature": "{ method: HTTP_METHOD, url: HTTP_URL, body: T, headers: OBJECT<{}> }",
2222
"genericKeys": ["T"],
2323
"rules": [],
2424
"linked_data_type_identifiers": [
2525
"HTTP_METHOD",
2626
"HTTP_URL",
27-
"HTTP_HEADER_MAP"
27+
"OBJECT"
2828
]
2929
}

definitions/standard/data_type/object/http_response.proto.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
}
2020
],
2121
"genericKeys": ["T"],
22-
"signature": "{ body: T, headers: HTTP_HEADER_MAP, status_code: HTTP_STATUS_CODE }",
22+
"signature": "{ body: T, headers: OBJECT<{}>, status_code: HTTP_STATUS_CODE }",
2323
"linked_data_type_identifiers": [
2424
"HTTP_STATUS_CODE",
25-
"HTTP_HEADER_MAP"
25+
"OBJECT"
2626
],
2727
"rules": []
2828
}

definitions/standard/runtime_definition/http/http_request_create.proto.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@
9898
],
9999
"deprecationMessage": [],
100100
"displayIcon": "tabler:world-www",
101-
"signature": "<T>(http_method: HTTP_METHOD, headers: HTTP_HEADER_MAP, url: HTTP_URL, payload: T) => HTTP_REQUEST",
101+
"signature": "<T>(http_method: HTTP_METHOD, headers: OBJECT<{}>, url: HTTP_URL, payload: T) => HTTP_REQUEST",
102102
"linkedDataTypeIdentifiers": [
103103
"HTTP_URL",
104104
"HTTP_METHOD",
105-
"HTTP_HEADER_MAP",
105+
"OBJECT",
106106
"HTTP_REQUEST"
107107
]
108108
}

definitions/standard/runtime_definition/http/http_response_create.proto.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@
8181
],
8282
"deprecationMessage": [],
8383
"displayIcon": "tabler:world-www",
84-
"signature": "<T>(http_status_code: HTTP_STATUS_CODE, headers: HTTP_HEADER_MAP, payload: T) => HTTP_RESPONSE",
84+
"signature": "<T>(http_status_code: HTTP_STATUS_CODE, headers: OBJECT<{}>, payload: T) => HTTP_RESPONSE",
8585
"linkedDataTypeIdentifiers": [
8686
"HTTP_STATUS_CODE",
87-
"HTTP_HEADER_MAP",
87+
"OBJECT",
8888
"HTTP_RESPONSE"
8989
]
9090
}

0 commit comments

Comments
 (0)