Skip to content

Commit 3e518df

Browse files
committed
feat: added alias and displayMessage for every function
1 parent 7441e3c commit 3e518df

File tree

110 files changed

+1428
-108
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+1428
-108
lines changed

definitions/http/runtime_definition/control/http_control_respond.proto.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,18 @@
4747
"content": "Processes an HTTP response and returns it to the requesting client. This function typically completes the HTTP request–response cycle by delivering the server’s final output, such as headers, status codes, and body content, back to the client."
4848
}
4949
],
50+
"alias": [
51+
{
52+
"code": "en-US",
53+
"content": "respond;control;http"
54+
}
55+
],
56+
"displayMessage": [
57+
{
58+
"code": "en-US",
59+
"content": "Apply respond to ${http_response}"
60+
}
61+
],
5062
"throwsError": false,
5163
"genericKeys": []
52-
}
64+
}

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,5 +127,17 @@
127127
"content": "Generates an HTTP request object that can be sent to a server. The request includes an HTTP method, optional headers, a destination URL, and an optional request body."
128128
}
129129
],
130+
"alias": [
131+
{
132+
"code": "en-US",
133+
"content": "create;request;http"
134+
}
135+
],
136+
"displayMessage": [
137+
{
138+
"code": "en-US",
139+
"content": "Apply create to ${http_method}, ${headers}, ${url}, ${payload}"
140+
}
141+
],
130142
"deprecationMessage": []
131-
}
143+
}

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,5 +102,17 @@
102102
"content": "Creates a complete HTTP response object to be returned from a server. The response includes a status code, headers, and an optional body containing the response content."
103103
}
104104
],
105+
"alias": [
106+
{
107+
"code": "en-US",
108+
"content": "create;response;http"
109+
}
110+
],
111+
"displayMessage": [
112+
{
113+
"code": "en-US",
114+
"content": "Apply create to ${http_status_code}, ${headers}, ${payload}"
115+
}
116+
],
105117
"deprecationMessage": []
106-
}
118+
}

definitions/standard/runtime_definition/array/std_array_at.proto.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,17 @@
9090
"content": "Returns the element located at the given zero-based index within the input array."
9191
}
9292
],
93+
"alias": [
94+
{
95+
"code": "en-US",
96+
"content": "at;array;list;collection;std"
97+
}
98+
],
99+
"displayMessage": [
100+
{
101+
"code": "en-US",
102+
"content": "Get element at ${index} of ${array}"
103+
}
104+
],
93105
"deprecationMessage": []
94-
}
106+
}

definitions/standard/runtime_definition/array/std_array_concat.proto.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,17 @@
116116
"content": "Returns a new array containing all elements of the first array followed by all elements of the second array."
117117
}
118118
],
119+
"alias": [
120+
{
121+
"code": "en-US",
122+
"content": "concat;combine;join;append;array;list;collection;std"
123+
}
124+
],
125+
"displayMessage": [
126+
{
127+
"code": "en-US",
128+
"content": "Combine ${first} with ${second}"
129+
}
130+
],
119131
"deprecationMessage": []
120-
}
132+
}

definitions/standard/runtime_definition/array/std_array_filter.proto.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,17 @@
116116
"content": "Returns a new array containing only the elements from the input array for which the predicate returns true."
117117
}
118118
],
119+
"alias": [
120+
{
121+
"code": "en-US",
122+
"content": "filter;array;list;collection;std"
123+
}
124+
],
125+
"displayMessage": [
126+
{
127+
"code": "en-US",
128+
"content": "Filter out elements in ${array} not matching ${predicate}"
129+
}
130+
],
119131
"deprecationMessage": []
120-
}
132+
}

definitions/standard/runtime_definition/array/std_array_find.proto.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,17 @@
103103
"content": "Returns the first element from the input array for which the predicate returns true. If no element matches, returns null or equivalent."
104104
}
105105
],
106+
"alias": [
107+
{
108+
"code": "en-US",
109+
"content": "find;array;list;collection;std"
110+
}
111+
],
112+
"displayMessage": [
113+
{
114+
"code": "en-US",
115+
"content": "Find first element in ${array} matching ${predicate}"
116+
}
117+
],
106118
"deprecationMessage": []
107-
}
119+
}

definitions/standard/runtime_definition/array/std_array_find_index.proto.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,17 @@
103103
"content": "Returns the zero-based index of the first element for which the predicate returns true. If no element matches, returns -1."
104104
}
105105
],
106+
"alias": [
107+
{
108+
"code": "en-US",
109+
"content": "find index;index of;position;array;list;collection;std;find;index"
110+
}
111+
],
112+
"displayMessage": [
113+
{
114+
"code": "en-US",
115+
"content": "Index of ${array} matching ${predicate}"
116+
}
117+
],
106118
"deprecationMessage": []
107-
}
119+
}

definitions/standard/runtime_definition/array/std_array_find_last.proto.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,17 @@
103103
"content": "Returns the last element from the input array for which the predicate returns true. If no element matches, returns null or equivalent."
104104
}
105105
],
106+
"alias": [
107+
{
108+
"code": "en-US",
109+
"content": "find last;last index;last position;array;list;collection;std;find;last"
110+
}
111+
],
112+
"displayMessage": [
113+
{
114+
"code": "en-US",
115+
"content": "Last element of ${array} matching ${predicate}"
116+
}
117+
],
106118
"deprecationMessage": []
107-
}
119+
}

definitions/standard/runtime_definition/array/std_array_first.proto.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,17 @@
6565
"content": "This runtime returns the first element in the given array, if any."
6666
}
6767
],
68+
"alias": [
69+
{
70+
"code": "en-US",
71+
"content": "first;array;list;collection;std"
72+
}
73+
],
74+
"displayMessage": [
75+
{
76+
"code": "en-US",
77+
"content": "Get first element in ${array}"
78+
}
79+
],
6880
"deprecationMessage": []
69-
}
81+
}

0 commit comments

Comments
 (0)