Skip to content

Commit aad47a8

Browse files
committed
feat: requested changes from copilot
1 parent 16b8d0a commit aad47a8

8 files changed

Lines changed: 298 additions & 300 deletions

File tree

crates/cli/src/analyser/flow_type.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ impl Analyser {
8484
name.clone(),
8585
original.clone(),
8686
DiagnosticKind::NullField {
87-
field_name: "input_type_identifier".into(),
87+
field_name: "return_type_identifier".into(),
8888
},
8989
));
9090
}
Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,55 @@
11
{
2-
"runtimeName": "std::list::is_empty",
3-
"runtimeParameterDefinitions": [
4-
{
5-
"runtimeName": "list",
6-
"defaultValue": null,
7-
"name": [
8-
{
9-
"code": "en-US",
10-
"content": "List"
11-
}
12-
],
13-
"description": [
14-
{
15-
"code": "en-US",
16-
"content": "The list to check for emptiness."
17-
}
18-
],
19-
"documentation": []
20-
}
21-
],
22-
"throwsError": false,
23-
"name": [
24-
{
25-
"code": "en-US",
26-
"content": "Is List Empty"
27-
}
28-
],
29-
"description": [
30-
{
31-
"code": "en-US",
32-
"content": "Returns true if the list contains no elements, otherwise returns false."
33-
}
34-
],
35-
"documentation": [],
36-
"alias": [
37-
{
38-
"code": "en-US",
39-
"content": "is_empty;array;list;collection;std;is;empty"
40-
}
41-
],
42-
"displayMessage": [
43-
{
44-
"code": "en-US",
45-
"content": "Check if ${list} is empty"
46-
}
47-
],
48-
"deprecationMessage": [],
49-
"displayIcon": "tabler:list",
50-
"signature": "<R>(list: LIST<T>) => BOOLEAN",
51-
"linkedDataTypeIdentifiers": [
52-
"LIST",
53-
"BOOLEAN"
54-
]
2+
"runtimeName": "std::list::is_empty",
3+
"runtimeParameterDefinitions": [
4+
{
5+
"runtimeName": "list",
6+
"defaultValue": null,
7+
"name": [
8+
{
9+
"code": "en-US",
10+
"content": "List"
11+
}
12+
],
13+
"description": [
14+
{
15+
"code": "en-US",
16+
"content": "The list to check for emptiness."
17+
}
18+
],
19+
"documentation": []
20+
}
21+
],
22+
"throwsError": false,
23+
"name": [
24+
{
25+
"code": "en-US",
26+
"content": "Is List Empty"
27+
}
28+
],
29+
"description": [
30+
{
31+
"code": "en-US",
32+
"content": "Returns true if the list contains no elements, otherwise returns false."
33+
}
34+
],
35+
"documentation": [],
36+
"alias": [
37+
{
38+
"code": "en-US",
39+
"content": "is_empty;array;list;collection;std;is;empty"
40+
}
41+
],
42+
"displayMessage": [
43+
{
44+
"code": "en-US",
45+
"content": "Check if ${list} is empty"
46+
}
47+
],
48+
"deprecationMessage": [],
49+
"displayIcon": "tabler:list",
50+
"signature": "<T>(list: LIST<T>) => BOOLEAN",
51+
"linkedDataTypeIdentifiers": [
52+
"LIST",
53+
"BOOLEAN"
54+
]
5555
}
Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,54 @@
11
{
2-
"runtimeName": "std::list::reverse",
3-
"runtimeParameterDefinitions": [
4-
{
5-
"runtimeName": "list",
6-
"defaultValue": null,
7-
"name": [
8-
{
9-
"code": "en-US",
10-
"content": "List"
11-
}
12-
],
13-
"description": [
14-
{
15-
"code": "en-US",
16-
"content": "The input list to be reversed."
17-
}
18-
],
19-
"documentation": []
20-
}
21-
],
22-
"throwsError": false,
23-
"name": [
24-
{
25-
"code": "en-US",
26-
"content": "Reverse List"
27-
}
28-
],
29-
"description": [
30-
{
31-
"code": "en-US",
32-
"content": "Returns a new list with the elements of the input list in reverse order."
33-
}
34-
],
35-
"documentation": [],
36-
"alias": [
37-
{
38-
"code": "en-US",
39-
"content": "reverse;array;list;collection;std"
40-
}
41-
],
42-
"displayMessage": [
43-
{
44-
"code": "en-US",
45-
"content": "Reverse ${list}"
46-
}
47-
],
48-
"deprecationMessage": [],
49-
"displayIcon": "tabler:list",
50-
"signature": "(list: LIST<T>) => LIST<T>",
51-
"linkedDataTypeIdentifiers": [
52-
"LIST"
53-
]
2+
"runtimeName": "std::list::reverse",
3+
"runtimeParameterDefinitions": [
4+
{
5+
"runtimeName": "list",
6+
"defaultValue": null,
7+
"name": [
8+
{
9+
"code": "en-US",
10+
"content": "List"
11+
}
12+
],
13+
"description": [
14+
{
15+
"code": "en-US",
16+
"content": "The input list to be reversed."
17+
}
18+
],
19+
"documentation": []
20+
}
21+
],
22+
"throwsError": false,
23+
"name": [
24+
{
25+
"code": "en-US",
26+
"content": "Reverse List"
27+
}
28+
],
29+
"description": [
30+
{
31+
"code": "en-US",
32+
"content": "Returns a new list with the elements of the input list in reverse order."
33+
}
34+
],
35+
"documentation": [],
36+
"alias": [
37+
{
38+
"code": "en-US",
39+
"content": "reverse;array;list;collection;std"
40+
}
41+
],
42+
"displayMessage": [
43+
{
44+
"code": "en-US",
45+
"content": "Reverse ${list}"
46+
}
47+
],
48+
"deprecationMessage": [],
49+
"displayIcon": "tabler:list",
50+
"signature": "<T>(list: LIST<T>) => LIST<T>",
51+
"linkedDataTypeIdentifiers": [
52+
"LIST"
53+
]
5454
}

definitions/standard/runtime_definition/boolean/std_boolean_from_text.proto.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"displayIcon": "tabler:toggle-left",
5050
"signature": "(value: TEXT) => BOOLEAN",
5151
"linkedDataTypeIdentifiers": [
52-
"LIST",
53-
"NUMBER"
52+
"TEXT",
53+
"BOOLEAN"
5454
]
5555
}
Lines changed: 32 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,34 @@
11
{
2-
"runtimeName": "std::control::stop",
3-
"runtimeParameterDefinitions": [],
4-
"throwsError": false,
5-
"name": [
6-
{
7-
"code": "en-US",
8-
"content": "Stop"
9-
}
10-
],
11-
"description": [
12-
{
13-
"code": "en-US",
14-
"content": "Terminates the current execution context entirely, halting all ongoing and future iterations. Once invoked, no additional steps or loops within this context will be executed. This node behaves like a global stop or termination signal within the flow."
15-
}
16-
],
17-
"documentation": [],
18-
"alias": [
19-
{
20-
"code": "en-US",
21-
"content": "stop;control;std"
22-
}
23-
],
24-
"displayMessage": [
25-
{
26-
"code": "en-US",
27-
"content": "Stop"
28-
}
29-
],
30-
"deprecationMessage": [],
31-
"displayIcon": "tabler:xbox-x",
32-
"signature": "() => void",
33-
"linkedDataTypeIdentifiers": [
34-
"LIST",
35-
"NUMBER"
36-
]
2+
"runtimeName": "std::control::stop",
3+
"runtimeParameterDefinitions": [],
4+
"throwsError": false,
5+
"name": [
6+
{
7+
"code": "en-US",
8+
"content": "Stop"
9+
}
10+
],
11+
"description": [
12+
{
13+
"code": "en-US",
14+
"content": "Terminates the current execution context entirely, halting all ongoing and future iterations. Once invoked, no additional steps or loops within this context will be executed. This node behaves like a global stop or termination signal within the flow."
15+
}
16+
],
17+
"documentation": [],
18+
"alias": [
19+
{
20+
"code": "en-US",
21+
"content": "stop;control;std"
22+
}
23+
],
24+
"displayMessage": [
25+
{
26+
"code": "en-US",
27+
"content": "Stop"
28+
}
29+
],
30+
"deprecationMessage": [],
31+
"displayIcon": "tabler:xbox-x",
32+
"signature": "() => void",
33+
"linkedDataTypeIdentifiers": []
3734
}

0 commit comments

Comments
 (0)